/* 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, #page_survey .bluebtn1{
  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, #page_survey .bluebtn1 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 h2{
  font-size: 16px;
}
#page_survey{
  color: #000;
  font-size: 13px;
  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: 13px;
  line-height: 1.8em;
  position: relative;
  padding-left: 40px;
  color: #4a4a4a;
}

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;
  }
}
