/* GENERAL */
body {
  background: #f7f9ff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #555;
}
h1, h2, h3, h4, h5, h6 {
  color: #00011c;
}
p {
  margin-bottom: 24px;
  line-height: 1.9;
}
label {
  font-size: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00011c;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#steps-container {
  position: relative;
  width: 100%;
  padding: 0;
  /* countdown */
}

#steps-container h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#steps-container .countdown h2 {
  color: #eee;
  margin-bottom: 40px;
  font-size: 22px;
}

#steps-container .countdown {
  margin-bottom: 80px;
}

#steps-container .countdown div {
  text-align: center;
  margin: 10px;
  width: 100px;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.12);
  border-top: 5px solid #ff0000;
}

#steps-container .countdown div h3 {
  font-weight: 700;
  font-size: 44px;
  margin-bottom: 15px;
}

#steps-container .countdown div h4 {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 575px) {
  #steps-container .countdown div {
    width: 70px;
    padding: 10px 0;
    margin: 10px 8px;
  }
  #steps-container .countdown div h3 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  #steps-container .countdown div h4 {
    font-size: 14px;
    font-weight: 500;
  }
}




/* TITLE */
#title-container {
  /*min-height: 460px;*/
  height: 100%;
  color: #fff;
  background-color: #02a1e5;
  text-align: center;
  padding: 28px 28px 28px 28px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
}
#title-container h2 {
  font-size: 35px;
  font-weight: 800;
  color: #fff;
  padding: 0;
  margin-bottom: 0px;
}
#title-container h3 {
  font-size: 20px;
  font-weight: 600;
  color: #CCCCCC;
  padding: 0;
}
#title-container p {
  font-size: 24px;
  padding: 0 25px;
  line-height: 20px;
}
.afgnv-image {
  width: 214px;
  margin-bottom: 15px;
}

/* FORMS */
#qbox-container {
  background: #EEE;
  background-repeat: repeat;
  position: relative;
  padding: 31px 62px;
  /*min-height: 630px;*/
  box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
}
#qbox-container h3{
  font-size: 1.1rem;
}
#steps-container {
  margin: 0 auto;
  width: 100%;
  /*min-height: 420px;*/
  display: flex;
  vertical-align: middle;
  align-items: center;
}
.step {
  display: none;
  width: 100%;
}
.step h4 {
  margin: 0 0 0px 0;
  padding: 0;
  font-size: 23px;
  line-height: 1.6;
}
.q-box__question{
  display:inline-block;
}
button#prev-btn, button#next-btn, button#submit-btn {
  font-size: 17px;
  font-weight: bold;
  position: relative;
  width: 130px;
  height: 50px;
  background: #1faae1;
  margin: 0 auto;
  margin-top: 40px;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  transition: color .3s;
  text-align: center;
  color: #fff;
  border: 0;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
button#prev-btn:after, button#next-btn:after, button#submit-btn:after {
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e0004d;
  content: "";
  z-index: -2;
  transition: transform .3s;
}
button#prev-btn:hover::after, button#next-btn:hover::after, button#submit-btn:hover::after {
  transform: translateY(-80%);
  transition: transform .3s;
}
.q__question {
  position: relative;
}
.q__question:not(:last-child) {
  margin-bottom: 10px;
}
.question__input {
  position: absolute;
  left: -9999px;
}
.question__label {
  position: relative;
  display: block;
  line-height: 40px;
  /*border: 1px solid #ced4da;*/
  border-radius: 5px;
  background-color: #fff;
  padding: 5px 10px 5px 40px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.question__label:hover {
  border-color: #DC3545;
}
.question__label:before, .question__label:after {
  position: absolute;
  content: "";
}
.question__label:before {
  top: 12px;
  left: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px #ced4da;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.question__input:checked+.question__label:before {
  background-color: #DC3545;
  box-shadow: 0 0 0 0;
}
.question__input:checked+.question__label:after {
  top: 22px;
  left: 18px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.form-check-input:checked, .form-check-input:focus {
  background-color: #DC3545 !important;
  outline: none !important;
  border: none !important;
}
.q-box{
text-align: center;
}
input:focus {
  outline: none;
}
#input-container {
  display: inline-block;
  box-shadow: none !important;
  margin-top: 36px !important;
}
label.form-check-label.radio-lb {
  margin-right: 15px;
}
#q-box__buttons {
  text-align: center;
}
input[type="text"], input[type="email"] {
  padding: 8px 14px;
}
input[type="text"]:focus, input[type="email"]:focus {
  border: 1px solid #DC3545;
  border-radius: 5px;
  outline: 0px !important;
  -webkit-appearance: none;
  box-shadow: none !important;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.form-check-input:checked[type=radio], .form-check-input:checked[type=radio]:hover, .form-check-input:checked[type=radio]:focus, .form-check-input:checked[type=radio]:active {
  border: none !important;
  -webkit-outline: 0px !important;
  box-shadow: none !important;
}
.form-check-input:focus, input[type="radio"]:hover {
  box-shadow: none;
  cursor: pointer !important;
}
#success {
  display: none;
}
#success h4 {
  color: #DC3545;
}
.back-link {
  font-weight: 700;
  color: #DC3545;
  text-decoration: none;
  font-size: 18px;
}
.back-link:hover {
  color: #82000a;
}


/* MEDIA QUERIES */
@media (min-width: 990px) and (max-width: 1199px) {
  #title-container {
    padding: 80px 28px 28px 28px;
  }
  #steps-container {
    width: 85%;
  }
}
@media (max-width: 991px) {
  #title-container {
    padding: 20px;
    min-height: inherit;
  }
}
@media (max-width: 767px) {
  #qbox-container {
    padding: 20px;
  }
  #steps-container {
    width: 100%;
    min-height: 400px;
  }
  #title-container {
    padding-top: 50px;
  }
}
@media (max-width: 560px) {
  #qbox-container {
    padding: 20px;
  }
  #title-container {
    padding-top: 45px;
  }
}
