.footer-banner-ad > div {
    display: inline-block;
}
.frontend-wrapper{/* background image */
  background-image: url(/wp-content/uploads/2018/02/interior-3012218_1280.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
  background-attachment: fixed;
}
.frontend-wrapper:after{/* background image overlay */
  content: '';
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.frontend-container{
  padding-top: 180px!important;
}
.page-heading{
  text-align: center;
  color: #fff;
  margin: 0 0 5px 0;
  font-weight: bold;
  font-size: 40px;
  line-height: 40px;
}
.page-description {
  text-align: center;
  color: #fff;
  margin: 0 0 30px;
  font-size: 16px;
}
.question-container-slide {
  margin: 0 auto 50px!important;
  width: 900px;
  box-shadow: 0 5px 20px #333;
}
.question-container-slide .swiper-slide {
  /*height: 600px;*/
  display: flex;
  flex-direction: column;
  background-color: #fff;
}
.question-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.question-wrapper{  
  padding: 20px 40px;
  /*flex: 1;
  margin-top: 20px;
  margin-bottom: 20px;*/
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: auto;
  flex: 1;
}
.question-options {
  /*flex: 1;
  overflow: auto;*/
  margin-top: 5px;
  margin-bottom: 25px;
  position: relative;
}
.question-heading {
  font-size: 20px;
  color: #000;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: initial;
  /*padding: 0 0 25px;*/
}
.question-footer-btn {
  padding: 20px;
  background-color: #f3f3f3;
  border-top: 1px solid #ccc;
}

.inputGroup {
  background-color: #fff;
  display: block;
  margin: 0 0 10px;
  position: relative;
  width: 70%;
}
.inputGroup label {
  padding: 15px 55px 15px 15px;
  width: 100%;
  display: block;
  text-align: left;
  color: #3C454C;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: color 200ms ease-in;
  overflow: hidden;
  border: 1px solid #ccc;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inputGroup label:before {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) scale3d(1, 1, 1);
  transform: translate(-50%, -50%) scale3d(1, 1, 1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  z-index: -1;
  background-color: #8cc63e;
}
.inputGroup label:after {
  width: 25px;
  height: 25px;
  content: '';
  border: 2px solid #D1D7DC;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23fff' fill-rule='nonzero'/%3E%3C/svg%3E ");
  background-repeat: no-repeat;
  background-position: -1px 0px;
  border-radius: 50%;
  z-index: 2;
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 200ms ease-in;
}
.inputGroup input:checked ~ label {
  color: #fff;
  border: 1px solid #8cc63e;
  box-shadow: 0 0 10px #bbbbbb;
}
.inputGroup input:checked ~ label:before {
  -webkit-transform: translate(-50%, -50%) scale3d(56, 56, 1);
  transform: translate(-50%, -50%) scale3d(56, 56, 1);
  opacity: 1;
}
.inputGroup input:checked ~ label:after {
  background-color: #8cc63e;
  border-color: #8cc63e;
}
.inputGroup input {
  width: 32px;
  height: 32px;
  order: 1;
  z-index: 2;
  position: absolute;
  right: 30px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
  visibility: hidden;
}
.inputGroup input[type="checkbox"] ~ label:after{
  border-radius: 0;
}
.question-options > input[type="text"] {
  width: 70%;
  font-size: 16px;
  padding: 15px;
  color: #333;
}
.form-heading{  
  font-size: 20px;
  color: #000;
}
.form-heading, .form-description{
  text-align: center;
}
.form-description {
  padding: 0 40px;
  font-size: 16px;
  color: #333;
}
.form-options .form-group{
  margin-left: 0!important;
  margin-right: 0!important;
}
.form-options input[type="text"],
.form-options input[type="email"],
.form-options input[type="tel"]{
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}
.form-options .bootstrap-select .btn {
  border-radius: 0!important;
  padding: 12px;
  border: 1px solid #e2e2e2;
}
.form-options .bootstrap-select .dropdown-menu {
  border-radius: 0;
  margin-top: -2px;
  width: 100%;
}
.bootstrap-select-searchbox input[type="text"] {
  margin: 0 5px 5px;
  width: 98%;
}
.form-options .bootstrap-select .dropdown-menu .selectpicker li a {
  padding: 5px 10px;
  border-top: 1px solid #ececec;
  white-space: normal;
}
.form-options .bootstrap-select .dropdown-menu .selectpicker li a:focus, 
.form-options .bootstrap-select .dropdown-menu .selectpicker li.selected a,
.form-options .bootstrap-select .dropdown-menu .selectpicker li a:hover{
  color: #fff;
  background-color: #8cc63f;
}
.form-options .bootstrap-select.btn-group .dropdown-menu li a i.check-mark {
  display: none;
  position: absolute;
  right: 15px;
  margin-top: 7px;
}
.form-options .bootstrap-select.btn-group .dropdown-menu li.selected a i.check-mark {
  display: inline-block;
}
.form-options .bootstrap-select {
  height: auto!important;
}
.form-options .control-label{
  font-weight: bold;
}

.question-footer-btn a {
  width: 100px;
  display: inline-block;
  background-color: #ffffff;
  padding: 12px;
  margin: 0 5px;
  border: 1px solid #ccc;
  color: #333;
  font-weight: 500;
}
.question-footer-btn a.btn-success{
  background-color: #8cc63e;
  border-color: #6aa020;
  color:#fff;
}
.question-footer-btn a.btn-success:hover{
  color:#fff;
  background-color: #7eb533;
  border-color: #629818;
}

.front-checkbox label:after, 
.front-radio label:after {
  content: '';
  display: table;
  clear: both;
}
.front-checkbox .cr,
.front-radio .cr {
  position: relative;
  display: inline-block;
  border: 1px solid #a9a9a9;
  width: 1.3em;
  height: 1.3em;
  float: left;
  margin-right: .5em;
}
.front-radio .cr {
  border-radius: 50%;
}
.front-checkbox .cr .cr-icon,
.front-radio .cr .cr-icon {
  position: absolute;
  font-size: .8em;
  line-height: 0;
  top: 50%;
  left: 20%;
}
.front-radio .cr .cr-icon {
  margin-left: 0.04em;
}
.front-checkbox label input[type="checkbox"],
.front-radio label input[type="radio"] {
  display: none;
}
.front-checkbox label input[type="checkbox"] + .cr > .cr-icon,
.front-radio label input[type="radio"] + .cr > .cr-icon {
  transform: scale(3) rotateZ(-20deg);
  opacity: 0;
  transition: all .3s ease-in;
}
.front-checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.front-radio label input[type="radio"]:checked + .cr > .cr-icon {
  transform: scale(1) rotateZ(0deg);
  opacity: 1;
  color: #8cc63e;
}
.front-checkbox label input[type="checkbox"]:disabled + .cr,
.front-radio label input[type="radio"]:disabled + .cr {
  opacity: .5;
}
.front-radio label, .front-checkbox label {
  line-height: 20px;
  font-size: 15px;
  cursor: pointer;
}
/* The container */
.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 13px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #999;
}
/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 1px;
  height: 25px;
  width: 25px;
  background-color: #eee;
}
/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  background-color: #ccc;
}
/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: #388cc8;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 9px;
  top: 3px;
  width: 8px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.thankyou-page {
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 30px;
  overflow: auto;
}
.thankyou-heading{
  font-size: 44px;
  text-align: center;
  font-weight: bold;
  margin: 15px;
  color: #8ec742;
}
.thankyou-description {
  padding: 0 40px;
  text-align: center;
  font-size: 24px;
  line-height: 22px;
  color: #333;
}
.thankyou-wait-msg{
  text-align: center;
  padding: 30px 15px;
}
.thank-you-banner {
  margin-top: 30px;
  text-align: center;
}
.loader-image{
  text-align: center;
}
.footer-banner-ad{
  text-align: center;
}
.footer-banner-ad img{
  max-width: 100%;
  margin-bottom: 40px;
}

/* form error msg */
.form-error, .question-error {
  position: absolute;
  border: 1px solid red;
  padding: 5px 10px;
  left: 16px;
  display: block;
  background-color: #fee8e5;
  border-radius: 3px;
  color: red;
  font-size: 12px;
  font-weight: normal;
  z-index: 9;
  bottom: -30px;
}
.form-error:before, .form-error:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-color: #ccc transparent;
  display: block;
  left: 15px;
  right: auto;
  border-width: 0 11px 11px;
  width: 0;
}
.form-error:before {
  border-width: 0 8px 8px;
  top: -8px;
  border-color: #f00 transparent;
}
.form-error:after {
  border-width: 0 8px 8px;
  top: -7px;
  border-color: #fee8e5 transparent;
}
.question-error {
  top: -18px;
  left: 0px;
  bottom: auto;
}
.question-error:before, .question-error:after {
  content: '';
  transform: rotate(180deg);
  bottom: -8px;
  top: initial;
}
.question-error:after {
  bottom: -7px;
}
.left-40 {
  left: 40px;
}
.max-fields .inputGroup {
    display: inline-block;
    margin: 0 5px 10px 0;
    width: 49%;
}
@media (max-width:1100px){
  .frontend-container {
    padding-top: 40px!important;
  }
}
@media (max-width:991px){
  .question-container-slide {
    width: 100%;
  }
}
@media (max-width:767px){
  .inputGroup {
    width: 100%;
  }
  .question-options input[type="text"] {
    font-size: 13px;
    padding: 10px;
  }
  .form-options .bootstrap-select {
    width: 100%!important;
  }
  .page-heading {
    font-size: 30px;
    line-height: 30px;
  }
  .question-container-slide .swiper-slide {
    height: 500px;
  }
  .front-radio, .front-checkbox {
    display: inline-block;
    margin-right: 20px;
  }
  .thankyou-page {
    justify-content: end;
  }
  .inputGroup label {
    padding: 10px 50px 10px 10px;
    font-size: 13px;
  }
  .inputGroup label:after {
    right: 8px;
  }
  .front-radio label, .front-checkbox label {
    line-height: 16px;
    font-size: 13px;
  }
}
@media (max-width:480px){  
  .question-wrapper {
    padding: 20px;
  }
  .question-footer-btn {
    padding: 10px;
  }
  .form-description {
    padding: 0 20px;
  }
  .question-error {
    left: 20px;
  }
}

.search-image-loader {
  position: absolute;
  top: 16px;
  z-index: 9;
  right: 255px;
}
