@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic);
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic);

@font-face {
  font-family: 'AvenirNextLTPro-Regular';
  src: url('../font/AvenirNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),  url('../font/AvenirNextLTPro-Regular.otf')  format('opentype'),
         url('../font/AvenirNextLTPro-Regular.woff') format('woff'), url('../font/AvenirNextLTPro-Regular.ttf')  format('truetype'), url('../font/AvenirNextLTPro-Regular.svg#AvenirNextLTPro-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextLTPro-Demi';
  src: url('../font/AvenirNextLTPro-Demi.eot?#iefix') format('embedded-opentype'),  url('../font/AvenirNextLTPro-Demi.otf')  format('opentype'),
         url('../font/AvenirNextLTPro-Demi.woff') format('woff'), url('../font/AvenirNextLTPro-Demi.ttf')  format('truetype'), url('../font/AvenirNextLTPro-Demi.svg#AvenirNextLTPro-Demi') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextLTPro-It';
  src: url('../font/AvenirNextLTPro-It.eot?#iefix') format('embedded-opentype'),  url('../font/AvenirNextLTPro-It.otf')  format('opentype'),
         url('../font/AvenirNextLTPro-It.woff') format('woff'), url('../font/AvenirNextLTPro-It.ttf')  format('truetype'), url('../font/AvenirNextLTPro-It.svg#AvenirNextLTPro-It') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'AvenirNextLTPro-Bold';
  src: url('../font/AvenirNextLTPro-Bold.eot?#iefix') format('embedded-opentype'),  url('../font/AvenirNextLTPro-Bold.otf')  format('opentype'),
         url('../font/AvenirNextLTPro-Bold.woff') format('woff'), url('../font/AvenirNextLTPro-Bold.ttf')  format('truetype'), url('../font/AvenirNextLTPro-Bold.svg#AvenirNextLTPro-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}


body.poupuphidden , html.poupuphidden{overflow:hidden !important;}
.thank-you-bar{
    position: absolute;
    top:0;
    left:0;
    text-align: center;
    font-size: 24px;
    font-family: 'AvenirNextLTPro-Demi';
    background: #2097a4;
    color:#fff;
    width:100%;
    padding: 30px 0;
    z-index:9999;
}
.thank-you-bar .close-bar{
   background: #137b86;
   border-radius: 50%;
   border:none;
   color:#fff;
   width:32px;
   height:32px;
   text-align: center;;
   line-height: normal;
   padding: 0;
   position: absolute;
   right: 10px;
   top:22px;
   font-size: 14px;
   text-transform: uppercase;

}
.thank-you-bar br{
  display: none !important;
}


#popup-form input.button, #popup-form button.button {
    background: #e7482f none repeat scroll 0 0;
    border-radius: 2px;
    font-family: "Droid Sans",arial,sans-serif;
    font-size: 16px;
    overflow: hidden;
    padding: 5px 20px;
    text-transform: none;
    color:#fff;
    margin-top: 15px;
    border:none;
}

#popup-form{background-size: cover; }
.popup-form-block * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.popup-form-block{background-image: url(../images/fat-summit-bg.jpg) !important;width:100%;height:110%;background-color:#8c8c8c;background-repeat: no-repeat;background-position: center; font-family: 'AvenirNextLTPro-Regular' , sans-serif; position: absolute;top: 0; left: 0;z-index: 9999; visibility:hidden;opacity:0;transition: opacity 0.4s ease-out 0s;-webkit-transition: opacity 0.4s ease-out 0s;-moz-transition: opacity 0.4s ease-out 0s;}
.popup-form-block.active{visibility:visible;opacity:1;overflow-y:scroll; }
.popup-form-block .popup-form-header-close-btn{ position: absolute;top: 60px; right: 12px; width:27px;height: 27px;  background: url(../images/closepoup-infusion.png) no-repeat right center; background-size:27px 27px;float: left;}


.popup-form-main{max-width: 830px;padding:65px 70px; margin:110px auto 0 auto; background: #fff;}
.popup-heading-content{text-align: center; margin: 0 0 50px 0;}
.popup-heading-content h2{font-family: 'AvenirNextLTPro-Demi'; color:#464646; font-weight: normal;font-size: 60px; margin: 0 0 10px 0;}
.popup-heading-content h4{font-family: 'AvenirNextLTPro-Demi'; color:#214975; font-weight: normal;font-size: 32px;}
.popup-container{ overflow: hidden;}
.popup-container .popup-video-main{float: left; width: 50%;}
.popup-container .popup-video-main .videoimg{ text-align: center; }
.popup-container .popup-video-main .videoimg img{ max-width: 100%; }
.popup-container .popup-video-main .videoplayer {
    position: relative;
    padding-bottom: 51.25%;
    padding-top:25px;
    height: 0;
    border: 1px solid #e1e1e1;
    margin-right: auto;
    margin-left: auto;
}
.popup-container .popup-video-main .videoplayer iframe {
    position: absolute !important;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    vertical-align: top;
}

.popup-container .popup-form-content{float: right; width: 45%; margin:10px 0 0 0}
.popup-form-main .gform_wrapper .top_label .gfield_label,
.popup-form-main .gform_wrapper .ginput_complex label{ display: none !important; }
.popup-form-main .form input[type="email"] , .popup-form-main .form input[type="text"],
.popup-form-main .form input[type="password"] , .popup-form-main .form input[type="search"],
.popup-form-main .form input[type="url"] , .popup-form-main .form input[type="number"]
{
  border-radius: 0;
    height: 44px;
    width: 100% !important;
    border: 2px solid #e1e1e1;
    color: #464646;
    box-shadow: none;
    text-shadow: none;
    background-color: transparent;
    font-family: 'AvenirNextLTPro-Regular';
    font-size: 18px;
    line-height: 30px;
    padding: 0px 15px !important;
    font-weight: 400;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.popup-form-main .gform_wrapper .gform_footer input[type=submit] , .popup-form-main .form input[type="submit"] {
    transition: background-color 0.3s ease;
    height: auto;
    width: auto;
    padding:4px 24px 0 24px !important;
    border-radius: 50px;
    font-size: 20px;
    line-height: 44px;
    font-weight: 600;
    font-family: 'AvenirNextLTPro-Demi';
    cursor: pointer;
    background-color: #3cb862;
    z-index: 1;
    display: inline-block;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    color: #fff;
    font-weight:normal;
    text-transform: unset;
    border:none;
    margin-top:20px;
}
.popup-form-main .gform_wrapper{
    margin: 0px;
    max-width: 100%;
}

.popup-form-main .gform_wrapper .gform_footer input[type=submit]:hover , .popup-form-main .form input[type="submit"]:hover {
  background: #2f924e;
  border:none;
}
.popup-form-main .gform_wrapper .gform_footer{
    padding:0;
    margin:0;
    text-align: center;
}
.popup-form-main .gform_wrapper .top_label .gfield_error .ginput_container{
    width: 100%
}
.popup-form-main .gform_wrapper div.validation_error{
  color:#f44336;
  border:none;
  padding:0 0 10px 0;
  margin:0;
  font-size: 13px;
  font-weight: normal;
}
.popup-form-main .gform_wrapper li.gfield.gfield_error{
    background: #fff;
    border:none;
    margin:0;
    width: 100%;
}
.popup-form-main .gform_wrapper .gfield_error input[type=text],
.popup-form-main .gform_wrapper .gfield_error input[type=email]  {
    border:2px solid #f44336 !important;
    margin:0;
}
.popup-form-main .gform_wrapper .top_label .gfield_error .ginput_container{
  max-width: 100%;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_wrapper li.gfield_html{
    margin:0 !important;
    max-width: 100% !important;
}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description{
    margin:0 !important;
    max-width: 100% !important;
}
.popup-form-main .gform_wrapper .ginput_container + .gfield_description.validation_message {
    background-color: #f44336 !important;
    font-size: 13px;
    color:#fff;
    text-align: center;
    margin: 0;
    width: 100%;
    padding: 5px 0 !important;
}
@media only screen and (max-width: 1024px) {
      .popup-form-main{ padding: 50px 30px }
      .popup-container .popup-video-main .videoplayer { padding-bottom: 49.25%;}
      .popup-heading-content h2{ font-size:42px;}
      .popup-heading-content h4{ font-size: 26px;}
      .popup-form-main .gform_wrapper .gform_footer input[type=submit] , 
      .popup-form-main .form input[type="submit"]{
          font-size:16px;
      }
      .thank-you-bar{
        font-size:22px;
      }
}
@media only screen and (max-width: 767px) {
  .popup-form-main{ padding: 30px 20px }
  .popup-heading-content{ margin: 0 0 20px 0}
  .popup-heading-content h2{ font-size:30px;}
  .popup-heading-content h4{ font-size: 20px;}
  .popup-container .popup-video-main{float: none; width: 100%;}
  .popup-container .popup-form-content{float: none; width: 100%; margin: 40px 0 80px 0;}
  .popup-container .popup-video-main .videoplayer { padding-bottom: 49.25%;}
  .popup-form-main .form input[type="submit"]{
          font-size:14px;
          padding:4px 15px 0 15px !important;
  }
  .thank-you-bar{
      font-size:18px;
  }
  .thank-you-bar .close-bar{
    width:20px;
    height:20px;
    font-size:10px;
    top:4px;
    right:10px;
  }
}
