/* With keyframe animations from animate.css */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v16/mem8YaGs126MiZpBA-UFVZ0e.ttf) format('truetype');
}
body {
  padding-top: 1.5em;
  font-family: 'Open Sans', sans-serif;
    height: 100%;
    background: #0f3356;
}
.quiz {
  margin-top: 1em;
  min-height: 60vh;
}

.quiz h1, .quiz p, .quiz p {color: #fd712d;}
.text-center {
  text-align: center;
}
.quiz .question img {
  display: block;
  margin: 0 auto;
}
.quiz button {
  margin-top: 2em;
  user-select: none;
  outline: 0!important;
}
.quiz .btn {
  font-size: 1.6rem;
  height: auto;
  transition: all 0.25s ease;
}
.quiz .btn-primary,
.quiz .btn-success {
  opacity: 0.9;
  background: #4c9cff;
  border-radius: 0;
  border: 0;
  padding: 11px 40px;
    border-radius: 100px;
  text-align: center;
  color: #fff;
}
.quiz .btn-primary:hover {
  opacity: 1;
  color: #fff;
}
.quiz .btn-success {
    background: #ff314a;
    color: #fff;max-width: 100%;
    margin: 10px auto;transition: background 0.5s ease;
}
.quiz .btn-success:hover,
.quiz .btn-success:active {
  background: #ff5b6f !important;transition: background 0.5s ease;border:none;box-shadow: none !important;
}
.quiz .btn-primary:disabled,
.quiz .btn-primary:disabled:hover {
  background: #ccc;
}
.quiz .content {
    color: #222;    position: relative;
    padding: 0.25em 3em 2em 3em;
    margin-bottom: 1em;    
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.quiz .intro {
  margin-top: 2em;
}
.quiz .intro p {
  font-size: 2rem;
}
.quiz aside {
  color: #777;
  font-size: 1.5rem;
  padding-top: 0.25em;
}
.quiz .question {
  margin-top: 0em;
  position: relative;
}
.quiz .question img {
  box-shadow: -2px 0px 21px -2px rgba(0, 0, 0, 0.4);
}
.quiz .question p,
.quiz .intro p {
  font-size: 38px;    font-weight: bold;
  line-height: 1.5;text-align: center;
  margin: 1em 0;    color: #fff;
}
.quiz .intro p:last-of-type {
  padding-bottom: 0;
}
.quiz .question-content {
  min-height: 50px;
}
.quiz .question-options {
      width: 80%;
    margin: 0 auto;
    display: block;
}
.quiz .feedback {
  padding-bottom: 0.75em;
  margin: -0.5em 1em 0 2em;
  animation: 0.75s roll-in ease;
}
.quiz .progress {
   position: absolute;
    background: #ef4438;
    width: 100%;
    top: 0px;
    left: 0px;
    margin: 0 auto;
}
}
.quiz .progress-bar {
  background: #4c9cff;
  height: 100%;
  transition: width 0.4s ease;
}
.quiz .progress .counter {
  position: absolute;
  right: 5px;
  top: 0;
  font-weight: normal;
  color: #fff;
}
.quiz .get-my-results {
  font-size: 2.4rem;
  margin-bottom: 1em;
}
.quiz button .fa {
  margin-right: 0.5em;
}
.quiz .start-over {
  margin-top: 20%;
}
.quiz .results {
        padding: 0px;
    margin-top: 2em;
    color: #fff;
    max-width: 550px;
    margin: 0 auto;
    border-radius: 10px;
    
}
.quiz .results h1 {
  font-size: 2.8rem;
}
.quiz .results h2 {
 font-size: 2.4rem;
    margin-bottom: 30px;
    color: #abd0ff;
    text-align: center;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: bold;
    letter-spacing: 0px;
}
.quiz .dim {
  opacity: 0.5;
}
.quiz .dim [type="radio"]:checked + label,
.quiz .dim [type="radio"]:not(:checked) + label {
  cursor: initial;
}

.quiz .results p {    
    display: block;
    width: 90%;
    margin: 15px auto 0px auto;
    font-size: 14px;
    padding: 0;
    max-width: 350px;
}
    }

.quiz .results .taca {
    max-width: 85px;
}

.quiz .results .logo {
    position: absolute;
    max-width: 50px;
    left: 40px;
}

.quiz .results #oferta {    
    display: block;
    width: 100%;
    margin: 25px auto 10px auto;
    max-width: 500px;}

.quiz . results form {text-align: center;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    position: relative;}

.quiz .results form input[type="text"], .quiz .results form input[type="tel"], .quiz .results form input[type="email"] {    
        border-radius: 17px;
    border: none;
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 250px;
    color: #999;
    font-size: 13px;
    padding: 6px 0px 6px 20px;}
.quiz .results form select {    
        border-radius: 12px;
    border: none;
    display: block;
    margin: 10px auto 10px auto;
    width: 100%;
    max-width: 250px;
    color: #222;
        background-image: url(https://image.flaticon.com/icons/svg/60/60781.svg);
    background-position: 90% 50%;
    background-repeat: no-repeat;
    background-size: 11px;
    background-color: #fff;
    font-size: 13px;
    padding: 6px 0px 6px 20px;
    height: 32px;}
.quiz .results .oferta {color:#dcf033;}
.quiz .results .btn-success {    
        font-size: 18px;
    background: #dcf034;
    margin: 30px auto 10px auto;;
    max-width: 300px;
    display: block;
    width: 100%;}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #0dc5c1;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader {
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  margin-top: 15em;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 1em #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #0dc5c1;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
.quiz .loading {
  margin-top: 0em;
}
/* custom radio controls */
.quiz .option {
  margin-bottom: 0.75em;
  transition: all 0.25s ease;
}
.quiz [type="radio"]:checked,
.quiz [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
.quiz [type="radio"]:checked + label,
.quiz [type="radio"]:not(:checked) + label {
  position: relative;
  font-weight: normal;
  padding-left: 28px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #fff;
}
.quiz [type="radio"]:checked + label:before,
.quiz [type="radio"]:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #b9bdc1;
    border-radius: 100%;
    background: #013866;
}
.quiz .correct [type="radio"] + label::before,
.quiz .wrong [type="radio"] + label::before {
  border: 0;
  font-size: 1.2rem;
  animation: 0.25s roll-in ease;
}
.quiz .correct [type="radio"] + label::after,
.quiz .wrong [type="radio"] + label::after {
  display: none;
}
.quiz .correct [type="radio"] + label:before {
  content: '\f00C';
  font-family: "FontAwesome" !important;
  color: #09b39c;text-align: center;
}
.quiz .wrong [type="radio"] + label:before {
  content: '\f00d';
  font-family: "FontAwesome" !important;
  color: #b05747;text-align: center;
}
.quiz [type="radio"]:checked + label:after,
.quiz [type="radio"]:not(:checked) + label:after {
  content: '';
  width: 12px;
  height: 12px;
  background: #ea7373;
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.quiz [type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}
.quiz [type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.pulse {
  -webkit-animation-name: pulse;
  animation: pulse 1s infinite;
}
.fade-in {
  animation: fade 0.75s ease;
}
.question-animate {
  animation: fade 0.7s ease;
}
.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: #4a99fb;
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader {
  font-size: 11px;
  text-indent: -99999em;
  margin: 55px auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 0em #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: #4a99fb;
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes roll-in {
  0% {
    top: 10px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}
