@font-face {
    font-family: 'faehblack';
    src: url('fonts/faeh-black-webfont.woff2') format('woff2'),
         url('fonts/faeh-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
   background: #2a92d6;
   /*background: transparent linear-gradient(150deg, #0073C0 0%, #48A8E6 86%, #48A8E6 100%) 0% 0% no-repeat padding-box;*/
   color: #fff;
   font-family: 'Lato', sans-serif;
   font-size: 24px;
   line-height: 28px;
   max-width: 100vw;
   margin: 0;
}

.fullPage {
	height: calc(100vh - 120px);
	min-height: 742px;
}
h1 {
font-family: 'faehblack';
	color: #ffed62;
	font-size: 70px;
  line-height: 70px;
	margin: 0 0 45px 0;
}

.quiz-start-state #quiz-header h1, .quiz-start-state #quiz-header img {
display: none;
}

#quiz-start-screen h1 {
  font-size:81px;
  line-height: 81px;
  text-align: center;
  font-weight: 500;
  max-width: 610px;
  margin: 0 auto;
}

#quiz-header img {
  float: right;
  max-height: 100px;
  width: auto;
}

.footer {
  background: #fff;
  margin: 0;
  height: 90px;
  bottom: 0;
  left: 0;
  width: 100vw;
	position: relative;
  border-top: 10px solid #2a92d6;
}

.footerIn {
  width: 100vw;
  max-width: 674px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footerIn img {
  padding-top: 20px;
  display: table-cell;
  vertical-align: middle;
  width: auto;
  height: auto;
  max-height: 47px;
  max-width: 160px;
  float: left;
}

.footerIn img:nth-child(1) {
  padding-left: 0;
}

.footerIn img:nth-child(3) {
  padding-right: 0;
  float: right;
}

.faded {
  color: #777;
}
#quiz-counter {
  color: #ffed62;
}
.quiz-container {
    padding: 0;
    width: 100vw;
    max-width: 674px;
    margin: 20px auto 40px;

}

.quiz-container a {
    text-decoration: none;
    color: #fff;
    font-size: 21px;
    line-height: 30px;
}

#quiz-header,
#quiz-start-screen,
#quiz-results-screen,
#quiz-counter {
    text-align: left;transform: translateY(15%);
}

#quiz-start-screen img {
  margin-left: 230px;
  text-align: center;
  margin-bottom: 30px;
}

#quiz-counter {
  height: 40px;
  width: 100%;
}

#quiz-start-btn {
  text-align: center;
  margin-left: 256px;
  background: #ffed62;
  color: #0264a5;
  border-radius: 9px;
	margin-top: 30px;
}

.question {
    font-size: 38px;
    line-height: 44px;
  font-family: 'lato';
  margin-top: 15px;
  font-weight: 700;
}

.answers {
    list-style: none;
    padding: 0 0 40px;
}

.answers a {
    display: block;
    padding: 10px 0 22px;
    margin-bottom: 0;
    font-size: 27px;
}

.answers a::before {
  content: '';
  width: 45px;
  height: 45px;
  display: inline-block;
  background: #FFED62;
  margin: -5px 10px 0 0;
  border-radius: 9px;
  float: left;
}

.answers a.correct::before  {
  background-image: url(img/queSign.png);
  background-repeat: no-repeat;
  background-position: center;
}
.answers a.incorrect::before {
  background-image: url(img/queSign.png);
  background-repeat: no-repeat;
  background-position: center;
}

.answers a.correct,
.answers a.incorrect {
    color: #fff;
}

#quiz-controls {
  color: #0264a5;
  padding: 0;
  text-align: left;
  /*background: url(img/answerBack.png) no-repeat top left;
  background: transparent linear-gradient(150deg, #218cd2 0%, #3c9fe0 100%) 0% 0% no-repeat padding-box;*/
  background: #2a92d6;
  height: 303px;
  position: absolute;
  top: 570px;
  max-width: 674px;
}

@media (max-height: 1115px) {
#quiz-controls {
  /*background: transparent linear-gradient(150deg, #228cd2 0%, #47a8e6 100%) 0% 0% no-repeat padding-box;*/
}
}

#quiz-response {
  background: rgba(0,0,0,.051);
  color: #FFED62;
  margin-top: 0;
}

#quiz-response .rightbox, #quiz-response .wrongbox {
  border: 3px solid #68FF62;
  padding: 25px 40px;
  border-radius: 9px;
  background: #0264A54D;
  color: #FFED62;
  display: block;
}

#quiz-response .wrongbox {
  border: 3px solid #c00;
}

#quiz-response {

}

#quiz-results {
  font-size: 28px;
  line-height: 34px;
}

#quiz-buttons #quiz-next-btn, #quiz-buttons #quiz-finish-btn {
  position: absolute;
  top: 215px;
}

#quiz-buttons a, .quiz-container .quiz-button {
  display: inline-block;
  padding: 9px 20px 9px;
  background: #88449a;
  color: #fff;
  border-radius: 9px;
}

#quiz-buttons a {
  background: #ffed62;
  color: #0264a5;
  font-size: 24px;
}

#quiz-restart-btnNeu {
	position: absolute;
	float: left;
	bottom: 0;
}

/* Quiz State Overrides */
.imagesblock {
  position: absolute;
  top: 570px;
  z-index: -1;
}

.quiz-results-state #quiz-controls {
    background: none;
    padding: 0;
}
.quiz-results-state #quiz-buttons a {
	margin-top: 40px;
}

.imageframe1, .imageframe2, .imageframe3 {
  width: 200px;
  height: 263px;
  border-radius: 9px;
  margin: 0 35px 0 0;
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.question-container:nth-child(1) .imageframe2, .question-container:nth-child(1) .imageframe3,
.question-container:nth-child(4) .imageframe2, .question-container:nth-child(4) .imageframe3,
.question-container:nth-child(6) .imageframe2, .question-container:nth-child(6) .imageframe3,
.question-container:nth-child(7) .imageframe2, .question-container:nth-child(7) .imageframe3 {
  display: none;
}


.question-container:nth-child(1) .imageframe1 {
  background-image: url(img/quiz-image-1.png);
  width: 674px;
}


.question-container:nth-child(2) .imageframe1 {
  background-image: url(img/quiz-image-2.png);
  width: 674px;
}
.question-container:nth-child(2) .imageframe2, .question-container:nth-child(2) .imageframe3 {
  display: none;
}

.question-container:nth-child(3) .imageframe1 {
  background-image: url(img/quiz-image-3-1.png);
}
.question-container:nth-child(3) .imageframe2 {
  background-image: url(img/quiz-image-3-2.png);
}
.question-container:nth-child(3) .imageframe3 {
  background-image: url(img/quiz-image-3-3.png);
}


.question-container:nth-child(4) .imageframe1 {
  background-image: url(img/quiz-image-4.jpg);
    width: 674px;
}

.question-container:nth-child(5) .imageframe1 {
  background-image: url(img/quiz-image-5-2.jpg);
}
.question-container:nth-child(5) .imageframe2 {
  background-image: url(img/quiz-image-5-1.jpg);
}
.question-container:nth-child(5) .imageframe3 {
  background-image: url(img/quiz-image-5-3.jpg);
}

.question-container:nth-child(6) .imageframe1 {
  background-image: url(img/quiz-image-6.png);
  width: 674px;
}

.question-container:nth-child(7) .imageframe1 {
  background-image: url(img/quiz-image-7.jpg);
  width: 674px;
}


#quiz-results span {
  border: 3px solid;
  width: 100%;
  max-width: 666px;
  display: block;
  height: 140px;
  border-radius: 9px;
  font-size: 80px;
  line-height: 140px;
  text-align: center;
  margin-top: 20px;
  color: #68FF62;
}

#quiz-results img {
	display: block;
	max-height: 300px;
	margin-top: -110px;
	margin-left: calc(50% - 150px);
}

@media (max-width:767px) {
  body {
  font-size: 18px;
  line-height: 20px;
  }

  .fullPage {
    min-height: unset;
    min-height: calc(100vh - 90px);
    margin-bottom: 0px;
  }

  .footer {
    height: 70px;
    top: auto;
    left: 0;
    position: relative;
  }
  .footerIn {
    width: calc(100vw - 40px);
    margin: 0px 20px;
  }

  #quiz-header, #quiz-start-screen, #quiz-results-screen, #quiz-counter {
    transform: translateY(6%);
  }
  .quiz-container {
    width: 90vw;
    max-width: 90vh;
  }
  #quiz-header img {
    max-height: 75px;
  }
  #quiz-start-screen img {
    margin-left: calc(50% - 60px);
    max-width: 120px;
    height: auto;
  }
  h1 {
    font-size: 48px;
    line-height: 48px;
  }
  #quiz-start-screen h1 {
    font-size: 41px;
    line-height: 41px;
    max-width: 100%;
  }

  .quiz-container a {
  font-size: 19px;
  line-height: 19px;
  }

  #quiz-buttons #quiz-next-btn, #quiz-buttons #quiz-finish-btn {
    position: absolute;
    top: 165px;
    font-size: 18px;
  }

  #quiz-start-btn {
    margin-left: calc(50% - 80px);
  }

  .question {
    font-size: 24px;
    line-height: 29px;
    margin-top: 5px;
  }

  .answers {
  margin: -10px 0 0;
}

  .answers a::before {
    width: 35px;
    height: 35px;
  }

  .imagesblock, #quiz-controls {
    top: 455px;
    max-width: 90vw;
    height: 204px;
    width: 100vw;
  }

  .imageframe1, .imageframe2, .imageframe3 {
    width: 30%;
    height: 203px;
    margin-right: 16px;
  }

  .imageframe3 {
    margin-right: 0;
  }

  .question-container:nth-child(1) .imageframe1,
  .question-container:nth-child(2) .imageframe1,
  .question-container:nth-child(4) .imageframe1,
  .question-container:nth-child(6) .imageframe1,
  .question-container:nth-child(7) .imageframe1 {
    width: 334px;
  }

  #quiz-response .rightbox, #quiz-response .wrongbox {
    padding: 15px 20px;
  }

  #quiz-results {
    font-size: 18px;
    line-height: 24px;
  }

  #quiz-results span {
    height: 120px;
    font-size: 70px;
    line-height: 120px;
  }

  .footerIn img {
    max-height: 27px;
    max-width: 90px;
    padding-top: 20px;
  }
	#quiz-restart-btnNeu {
	bottom: 30px;
	}
	#quiz-results img {
	max-height: 190px;
	margin-left: calc(50% - 60px);
	width: auto;
	margin-top:-50px;
	}
	#quiz-buttons a {
	font-size: 19px;
	}
}

@media (max-height:670px) {
	body {
		font-size: 16px;
		line-height: 19px;
	}
	h1 {
		margin-bottom: 10px;
	}
		.question {
		font-size: 21px;
		line-height: 24px;
		margin-top: 5px;
	}
	.imagesblock, #quiz-controls {
		top: 395px;	
		height: 174px;
	}
	.imageframe1, .imageframe2, .imageframe3 {
		height: 163px;
	}
	#quiz-buttons #quiz-next-btn, #quiz-buttons #quiz-finish-btn {
		font-size: 16px;
	}
	#quiz-results span {
		height: 100px;
		font-size: 70px;
		line-height: 100px;
	}
	#quiz-results img {
		max-height: 150px;
		margin-left: calc(50% - 40px);
		margin-top: -20px;
	}
	#quiz-restart-btnNeu {
		bottom: 20px;
	}
}

@media only screen and (min-height : 740px) and (max-height : 768px)  {
	 #quiz-controls, .imagesblock {
		 top:490px;
	 }
	.question {
		 font-size: 32px;
		 line-height: 39px;
	 }
	 
	 .answers {
		 margin-top: -20px;
	 }
	 
	 .answers a {
		 padding-bottom: 12px;
	 }
	 .answers a::before {
		width: 35px;
		height: 35px;
	}
	 #quiz-results img {
		 max-height: 240px;
		 margin-left: calc(50% - 90px);
		 width: auto;
	 }
	 #quiz-restart-btnNeu {
		bottom: 60px;
	}
}

@media only screen and (max-width : 320px)  {
	.allPage {
		display: none;
	}
}


#showCounter {
	position: absolute;
	font-size: 12px;
	display: none;
}
