/* QUIZ STYLES - Styles to prettify the quiz page */
/*text styles*/



.quizTitle {
    font-family: "DINPro", Helvetica, Arial, sans-serif !important
}
.quizQ, .quizScore, .quizLevel, .questionCount, .qlabel, a.suggested-info {
   font-family: "DINPro", Helvetica, Arial, sans-serif !important
}
h2.quizTitle{margin: 0;}
h2.quizTitle, h3.quizScore, h3.quizLevel, h3.quizQ { 
  color: #000000 !important
}
h2.quizTitle{
font-size: 1.6em;
font-weight: normal;
}
h3.quizScore, h3.quizLevel {
  font-size: 100%;
  font-weight: 400;
  line-height: 1.4rem;
}
.ainfo{
  padding:0;
  margin:0;
}
.quizQ{
font-weight: 300;
}
button >span {  
 font-family: "DINPro", Helvetica, Arial, sans-serif !important
}
ol.questions,
ul.answers,
ul.responses,
ol.questions li,
ul.answers li,
ul.responses li {
    font-size: 100%;
    list-style-type: none;
	   padding:0;
} 
/*link styling*/
a.suggested-info, a.answer-link {
  font-size: 100%;
  text-decoration: none;
  border-bottom: 1px dotted #0069B4;
}
/*quiz block styling*/
#ourquiz{
 min-width: 350px;
 max-width: 643px;
 margin: auto;
}
.hkquiz{
  border: 1px solid rgba(106, 114, 119, .3);
  padding-bottom: 1rem;
  text-align: center;
  font-size: 100%;
  min-height: 350px;
}

/*Quiz title and background image*/
.quizTitle{
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.8rem;
  padding:.75rem;
  margin-bottom: .5rem;
  background-image: url("https://www.ethz.ch/content/dam/ethz/associates/services/Service/kommunikation/Website/aem-manual/Misc/test-images/quiz-visual2.svg");
  overflow: hidden;
  background-color: #f2f2f3;
  border-bottom: 1px solid #f2f2f2;
}
/*image and video sizing within div QuizVis*/
img.quizVis {
  border-top: 1px solid rgba(106, 114, 119, .3);
  border-bottom: 1px solid rgba(106, 114, 119, .3);
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
img.quizVis2 {  width: 100%; border: none; margin: 0;}
.qiframe-container{
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.qiframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}
/* 4x3 Aspect Ratio */
.qiframe-container-4x3 {
  padding-top: 75%;
}

/*quiz button styling*/
button.startQuiz {bottom: -6rem;}
button.startQuiz, button.checkAnswer {
  background-color: #0069B4;
  color: #fff;
  border: 0px;
  border-radius: 3px;
  cursor: pointer;
  height: 40px;
  width: 200px;
  margin:0 auto;
  font-size: 100%;
  font-weight: 400;
  position: relative;
}
button.nextQuestion, button.backToQuestion {
  background-color: #0069B4;
  color: #fff;
  border: 0px;
  border-radius: 3px;
  cursor: pointer;
  height: 40px;
  width: 200px;
  margin: 0 auto;
  font-size: 100%;
  font-weight: 400;
}
.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
.checkAnswer span{
    line-height: 1.4;
    vertical-align: top;
}
.nextQuestion span{
    line-height: 1.4;
    vertical-align: top;
}
.startQuiz span{
  display: inline-block;
  position: relative;
  transition: 0.3s;
}
.startQuiz span:after{
  content: url(https://www.ethz.ch/etc/designs/ethz/img/icons/svg/icon-arrow-right-white.svg);
  position: absolute;
  opacity: 0;
  top: 0;
  right: -40px;
  transition: 0.3s;
}
button.startQuiz:hover span{
padding-right: 25px;
}
button.startQuiz:hover span:after{
  opacity: 1;
  right: 0;
}
/*Question count display*/
.questionCount {
    font-size: 90%;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5rem;
    padding-bottom: .3rem;
}
.questionCount span {
    font-weight: 600;
}
/*Question styling*/
.quizQ{
  text-align: left;
  margin: 2% 5% 2% 5%; 
}
/*Answer area dipslay*/
.answerGroup{
  text-align: left;
  margin-top: 10px;
  margin-bottom: 0;
  margin-left: 2.5%;
  margin-right: 2.5%;
  padding: 0 10px 5px 10px;
}
/*for not displaying checkboxes in order to customize look*/
 li.quizChoice > input[type=radio] {
  opacity: 0;
  position: absolute;
}
  li.quizChoice > input[type=checkbox] {
  opacity: 0;
  position: absolute;
}
.qlabel{
  color: #000;
  border: 0px;
  border-radius: 3px;
  cursor: pointer;
  background-color: #f2f2f2;
  display: block;
  margin: 0 auto 1.5% auto;
  min-height: 30px;
  border: 1px solid #a6a6a6;
  padding: 10px 10px 5px 10px;
}
.qoption{
   display: inline-block; 
   min-height: 40px;
   font-size: 100%;
   line-height: 1.4rem;
   margin:auto;
}
input[type="checkbox"]:focus + label.qlabel{
  background-color: #595959;
  color: #fff;
}
input[type="radio"]:focus+ label.qlabel{
  background-color: #595959;
  color: #fff;
}
input[type="checkbox"]:checked + label.qlabel{
  background-color: #595959;
  color: #fff;
}
input[type="radio"]:checked + label.qlabel{
  background-color: #595959;
  color: #fff;
}
input
/*results and responses css*/
ul.answers.a {
  padding-right: 1rem;
}
ul.responses li p span {
    display: block;
}
li.correct >p, li.incorrect >p{
font-size: 100%;
color: #6f6f6f;
 font-family: "DINPro", Helvetica, Arial, sans-serif !important
}
.complete ul.answers li.correct, ul.responses li.correct p span.answerc {
    color: #72791c;
}
ul.responses li.incorrect p span.answerf {
    color: #a8322d;
}
.correct, .incorrect{
margin-bottom: 1rem;
}
.quizResults {
    margin: 2rem 0 0 0;
}
.quizResults span {
    font-size: 100%;
    font-weight: 400;
}
.quizResultsCopy {
    clear: both;
    margin-top: 20px;
} 
.correct{
  text-align: left;
  margin-left: 5%;
  margin-right: 5%;
}
.correct span{
  text-align: center;
  margin-bottom: .5rem;
}
.incorrect{
  text-align: left;
  margin-left: 5%;
  margin-right: 5%;
}
.incorrect span{
  text-align: center;
  margin-bottom: .5rem;
}
/* clearfix */
.quizArea, .quizResults {
  zoom: 1;
}
.quizArea:before, .quizArea:after, .quizResults:before, .quizResults:after {
    content: "\0020";
    height: 0;
    visibility: hidden;
    font-size: 0;
}
.quizArea:after, .quizResults:after {
  clear: both;
  display: block;
  overflow: hidden;
  width: 0;
  height: 0;
}
span.quiz-par{padding-bottom: .5rem; color: #6f6f6f; text-align: left;}
p.quiz-message{padding-bottom: 0px;}

.quizLevel{padding: 1.5rem; text-align: left;}
  
 /* BASE QUIZ STYLES */
/* These styles ensure that the necessary elements are hidden for toggling */

/* DO NOT EDIT UNLESS YOU KNOW WHAT YOU ARE DOING!! */

/*.startQuiz,*/
.nextQuestion,
.backToQuestion,
ol.questions li.question,
ol.questions li.question .responses,
ol.questions li.question .responses .correct,
ol.questions li.question .responses .incorrect,
.quizResults {
    display: none;
}

/* If response messages are disabled or only shown on quiz completion,
   nextQuestion button IS checkAnswer button - so it must be displayed 
.nextQuestion.checkAnswer {    
/*added the following for styling
  background-color: #0069B4;
	color: #fff;
	border: 0px;
	border-radius: 3px;
	padding: 10px;
	cursor: pointer;
  height: 50px;
  margin: auto;
  display: block;
  font-size: 1rem;
}
*/

/*custom alert box styling*/
.swal-footer{
    text-align: center;
}
.swal-button, .swal-text, .swal-title {
    font-family: "DINPro", Helvetica, Arial, sans-serif !important
}
.swal-button{
     line-height: 0;
     font-weight: 400;  
     background-color: #0069B4;
     border: 0px;
     border-radius: 3px;
     cursor: pointer;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.swal-button:not([disabled]):hover {
   background-color: #0069B4;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
    color: #ffffff;
}