/* AON CSS UPDATES */
#page_survey{
  height: 100vh;
}
#page_survey #container,
#page_survey #container .full{
  height: 100%;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 850px;
  position: relative;
}
#page_survey .redbtn{
  font-size: 20px;
  padding: 7px 12px 9px 12px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  cursor: pointer;
}
#page_survey .redbtn img{
  margin-bottom: -6px;
}
#page_survey .redbtn.disabled{
  background-color: grey;
}
/* FORM */
form#aonhub_survey{
  height: 100%;
  position: relative;
}
/*OPENING*/
.survey_con{
  width: 100%;
  margin: 30px 0;
  box-sizing: border-box;
}
.opening h2{
  font-size:  18px;
  line-height: 1.5em;
  font-weight: bold;
  color: #000;
}
.logos{
  padding: 0 15px;
  box-sizing: border-box;
  position: fixed;
  max-width: 850px;
  width: 100%;
  top: 40px;
}
.logos img{
  max-width: 32%;
  max-height: 100px;
}
.logos img:last-of-type{
  max-width: 55%;
}
#page_survey h1{
  font-weight: bold;
  font-size: 22px;
  color: #000;
  margin-bottom: 15px;
}
#page_survey h2{
  font-size: 16px;
}
#page_survey{
  color: #000;
  font-size: 14px;
  line-height: 1.3em;
}
/* QUESTIONS */
.question_outer_wrap{
  display: none;
}
.question_outer_wrap:first-of-type .prev {
  display: none !important;
}
.question_outer_wrap.open{
  display: block;
}
.question_outer_wrap .question_text{
  color: #000;
  font-size: 18px;
  line-height: 1.5em;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}
.question_outer_wrap .error{
  font-size: 12px;
  margin-top: 20px;
  margin-bottom: -15px;
}
.question_outer_wrap .prev img{
  margin-left: 0;
  margin-right: 6px;
  transform: rotate(180deg);
}
.question_outer_wrap .next{
  float: none;
  display: inline-block;
  margin-left: 20px;
}

/* FORM STYLE */
input[type="radio"]{
  display: none;
}
input[type="radio"] + label{
  display: block;
  font-size: 16px;
  line-height: 1.8em;
  position: relative;
  padding-left: 40px;
  color: #000;
}

input[type="radio"] + label:before{
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  position: absolute;
  left: 0;
  top: 4px;
  background-color: #EDEDED;
  border-radius: 100%;
  border: 1px solid #ddd;
}

input[type="radio"]:checked + label:after{
  content: "";
  display: block;
  height: 10px;
  width: 10px;
  position: absolute;
  left: 4px;
  top: 8px;
  border-radius: 100%;
  background-color: #47a3da;
}

.contact {
  display: none;
  background-color: #008EB3;
  color: #fff;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}
.contact.open {
  display: block;
}
.contact .naw_form img{
  display: inline-block;
}
.contact .naw_form h1{
  font-size: 18px;
  color: #fff !important;
  padding-bottom: 10px;
  font-family: 'prelo_slab_mediummedium';
}
#page_survey .contact .naw_form .redbtn{
  margin-top: 20px;
}
.contact .naw_form p{
  font-size: 14px;
  line-height: 1.5em;
}
.contact .naw_form table{
  width: 100%;
  margin-bottom: 20px;
}
.contact .naw_form table td{
  padding-right: 2%;
  padding-left: 0;
  font-size: 14px;
}
.contact .naw_form table td:nth-of-type(2){
  padding-right: 0;
  padding-left: 2%;
}
.contact .naw_form table td input,
.contact .naw_form table td select{
  display: block;
  width: 100%;
  margin: 5px 0 10px !important;
  box-sizing: border-box;
  background-color: #fff;
  border: none;
  border-radius: 4px;
  height: 50px;
  line-height: 25px;
  font-size: 17px;
  padding-left: 15px;
}

@media screen and (max-height: 820px) {
  .survey_con{
    position: relative;
    top: 0;
    transform: none;
  }
  .logos{
    top: 0;
    position: relative;
    margin: 40px 0;
  }
  .logos img{
    width: 150px;
    max-width: 45% !important;
    max-height: none;
  }
  .logos img:last-of-type{
    position: absolute;
    top: 50%;
    -ms-transform: translate(0,-50%);
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    right: 15px;
  }
  #page_survey{
    height: auto;
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 820px) {
  .naw_form table tr,
  .naw_form table tr td{
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
  }
}

form#aonhub_survey select,
form#aonhub_survey input[type=text],
form#aonhub_survey input[type=email],
form#aonhub_survey input[type=number]{
  display: block;
  padding: 7px 10px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid grey;
  margin: 5px 0;
  box-sizing: border-box;
    height: 34px;
    background-color: #fff;
}
form#aonhub_survey select + label,
form#aonhub_survey input[type=text] + label,
form#aonhub_survey input[type=email] + label,
form#aonhub_survey input[type=number] + label{
  display: block;
  margin-top: 10px;
}
.smaller.redbtn{
  font-size: 16px !important;
}
.smaller.redbtn img{
  height: 22px !important;
}
.barometer{
  height: 160px;
  overflow: hidden;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}
.barometer:after{
  display: block;
  content: '';
  width: 170px;
  height: 170px;
  bottom: -85px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  border-radius: 100%;
}
.barometer .arrow{
  height: 100px;
  width: 2px;
  background-color: #000;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: 10px;
  z-index: 2;
}
.barometer .arrow.red{
  transform: translate(39px) rotate(55deg);
  bottom: -11px;
}
.barometer .arrow.green{
  transform: translate(-41px) rotate(-55deg);
  bottom: -11px;
}
.barometer .arrow .arrow-end{
  display: block;
  width: 21px;
  height: 17px;
  background-color: #000;
  position: relative;
  left: -10px;
  top: -10px;
}
.barometer .arrow .arrow-end:before{
  content: '';
  display: block;
  width: 15px;
  height: 30px;
  background-color: #ffb441;
  transform: rotate(20deg);
  left: -6px;
  position: relative;
  top: -9px;
}
.barometer .arrow .arrow-end:after{
  content: '';
  display: block;
  width: 15px;
  height: 30px;
  background-color: #ffb441;
  transform: rotate(-20deg);
  right: -7px;
  position: absolute;
  top: -9px;
}
.barometer .arrow.green .arrow-end:after,
.barometer .arrow.green .arrow-end:before{
  background-color: #54b6a0;
}
.barometer .arrow.red .arrow-end:after,
.barometer .arrow.red .arrow-end:before{
  background-color: #ee4647;
}
