#top #main i,
#top #main em{
  font-style: italic;
}

#top #header .logo a img{
  height: auto;
  max-width: 100%;
  padding: 25px 0;
}

.responsive-iframe{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.desktop-block{
  display: block;
}

#top img.av-preloading-logo{ width: 270px; height: auto; max-width: 100%; margin-bottom: 30px; }
#top .av-subheading.av_custom_color {
    opacity: 1;
}

#top .av-subheading.av-subheading_below{
  margin-top: 10px;
}

#top #main b,
#top #main strong{
color: inherit;
}


#top #scroll-top-link{
  width: 50px;
  height: 50px;
  right: 15px;
  bottom: 30px;
  border-radius: 100%;
  background-color: #e7ecf2;
  border-color: #e7ecf2;
  opacity: .9;
  box-shadow: 0 0 5px rgba(0,0,0,.3);
  color: #000;
}

#top #scroll-top-link:hover{
  opacity: .9;
}

#av-burger-menu-ul .avia-menu-subtext{
padding-top: 10px;
}

#header_main{
padding: 0;
}


#top #main .special_amp {
  font-family: inherit;
  font-style: normal;
  font-size: 100%;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

#top #main .avia-size-medium{
  padding: 18px 25px;
}

#top #main .av-subheading{
  line-height: 150%;
}

#top #main .av-special-heading .av-subheading_above{
  margin-bottom: 10px;
}

#top #main h3.avia-form-success{
  background: #25a162;
  color: #fff;
  border: 1px solid #25a162;
}

#top #main .underline-none a{
  text-decoration: none;
}

#top #main .text-bold,
#top #main .text-bold .av-special-heading-tag{
  font-weight: 700;
}



#top #main .wpcf7-form-control.wpcf7-submit{
  margin-top: 5px;
  padding: 10px 20px;
  background: rgba(100,146,81,1);
  border: none;
  text-transform: uppercase;
  letter-spacing: .2px;
  border-radius: 2px;
  font-size: 17px;
  font-weight: 500;
  line-height: 150%;
}

#top #main .wpcf7-response-output{
  margin: 30px 0 0 0;
  padding: 15px;
  background: rgba(57,126,255,1);
  border: none;
  color: #fff;
}

#top #footer .widgettitle{
  font-size: 18px;
  line-height: 150%;
  color: #fff;
  margin-top: 0;
}

#top #main .line-height-130 .av-special-heading-tag{
  line-height: 130%;
}

#top #main .color-white{
  color: #fff;
}

#top .avia_ajax_form .button{
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 12px;
  min-width: 120px;
  border: none;
  border-radius: 3px;
}

#top .avia_ajax_form input.text_input,
#top .avia_ajax_form .button{
 font-family: 'Montserrat', sans-serif;
}

#top .contact-form-style-one input.text_input{
  border: 1px solid #40c89a;
  font-size: 18px;
  font-weight: 600;

}

#top .contact-form-style-one input.text_input::placeholder{
  color: #acb7bd;
}

#top .btn-align-right input[type="submit"]{
  float: right;
}

#top #footer{
  padding-bottom: 0;
}

#top #footer .container {
    background: #0f4d96;
    color: #fff;
    width: inherit;
    padding-bottom: 50px;

    max-width: 1600px;
  margin: 0 auto;
  display: block;
}

#footer .flex_column.av_one_half:first-child{
  width: 20%;
}

#footer .flex_column.av_one_half:last-child{
  display: flex;
  flex-wrap: wrap;
  width: 74%;
flex-direction: column;
align-items: flex-end;
}

#footer .flex_column.av_one_half:last-child .widget{
margin-bottom: 0;
}

#footer .widget_nav_menu li a{
 color: #fff;
}

#footer .flex_column.av_one_half:last-child .widget_nav_menu ul.menu{
  display: flex;
flex-wrap: wrap;
}

#footer .flex_column.av_one_half:last-child .widget_nav_menu ul.menu > li{
padding: 0 5px;
text-transform: uppercase;
font-size: 17px;
font-weight: 600;
}

#footer .flex_column.av_one_half:last-child .widget_nav_menu ul.menu > li a{
    padding: 10px 10px;
    letter-spacing: .2px;
}

#footer .widget_nav_menu ul.menu .btn-colored a{
  background: #fff;
  color: #0f4d96;
  border-radius: 4px;
}

#footer .footer-accr-cer{
  max-width: 100%;
  width: auto;
  height: 80px;
  margin: 0 5px;
}

#top .avia-buttonrow-wrap .avia-button{
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2px;
}

#top #header-banner{
  background: #f2f6f9;
}

#top #header_main .av-logo-container,
#top #header-banner .flex_cell.av_one_full,
#top #header-cta .flex_cell.av_one_full{
   max-width: 1600px;
  margin: 0 auto;
  display: block;
}




#top .fw-medium{
  font-weight: 500;
}

#top .fw-semibold{
  font-weight: 600;
}


@media only screen and (max-width: 1680px) {

#top #header_main .av-logo-container,
#top #header-banner .flex_cell.av_one_full,
#top #header-cta .flex_cell.av_one_full,
#top #footer .container{
  max-width: 1400px;
}



.desktop-small-inline{
  display: inline;
}



}


@media only screen and (max-width: 1480px) {

body{

}


#top #footer .container{
  max-width: 1210px;
}

.html_header_top #top .av_header_stretch .container{
    width: 100%;
}

#top #header_main .av-logo-container,
#top #header-banner .flex_cell.av_one_full,
#top #header-cta .flex_cell.av_one_full{
  max-width: 1310px;
  padding: 0 50px !important;
}

}




@media only screen and (max-width: 1000px) {

#top #main .h1{
  font-size: 36px;
  line-height: 120%;
}

}



@media only screen and (max-width: 767px) {

.desktop-block{
  display: inline;
}

#top .avia-section-huge .content,
#top .avia-section-huge .sidebar {
    padding-top: 60px;
    padding-bottom: 60px;
}

#top #wrap_all #header,
#header_main{
  background: #f2f6f9;
}



#top #wrap_all #header_main .av-logo-container{
  padding: 0 5px !important;
}

#top #main .flex_column.margin-mobile{ margin-bottom: 0 !important; }


  #top #wrap_all .page-subheadline h1{
    line-height: 130%;
  }

.responsive #top #wrap_all #footer .container {
    width: 100%;
    max-width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

#footer .flex_column.av_one_half{
  margin: 0 !important;
}

#footer .flex_column.av_one_half:last-child {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    align-items: start;
}

#footer .flex_column.av_one_half:last-child .widget{
  width: 30%;
}

#footer .flex_column.av_one_half:last-child .widget:last-child{
  width: 70%;
}

#footer .flex_column.av_one_half:last-child .widget_nav_menu{
  margin-top: 0;
  margin-left: -15px;
  margin-right: 15px;
}

#footer .flex_column.av_one_half:last-child .widget_text{
  margin-top: 10px;
}

#footer .flex_column.av_one_half:last-child .widget:last-child .textwidget{
  text-align: right;
}



#footer #menu-footer-navigation li{
  width: 100%;
  margin-bottom: 10px;
}

#footer #menu-footer-navigation li a{
  font-size: 14px;
  padding: 0 10px;
  line-height: 145%;
}

#footer{
  position: relative;
}

#footer .flex_column.av_one_half:last-child,
#footer #menu-footer-navigation,
#footer .menu-footer-navigation-container,
#footer .flex_column.av_one_half:last-child .widget_nav_menu{
  position: unset;
}

#footer #menu-footer-navigation li.footer-contact-btn{
  position: absolute;
  top: 30px;
  right: 50px;
  text-align: center;
  width: 160px;
  z-index: 1;

}

#footer #menu-footer-navigation li.footer-contact-btn a{
  font-size: 17px;
  padding: 8px;
}

#top .mobile-mb-30{
  margin-bottom: 30px;
}

#top .mobile-block{
  display: block;
}


}




@media only screen and (max-width: 500px){
  .block-mobile{
    display: block;
  }

#footer .footer-accr-cer {
    max-width: 100%;
    width: auto;
    height: 55px;
    margin: 0 3px;
}

.responsive #top #wrap_all #footer .container {
    padding-left: 40px;
    padding-right: 40px;
}

}


@media only screen and (max-width: 440px){

.responsive #top #wrap_all #footer .container {
    padding-left: 30px;
    padding-right: 30px;
}

#footer #menu-footer-navigation li.footer-contact-btn{
  right: 30px;
  width: unset;
}

#footer #menu-footer-navigation li.footer-contact-btn a{
  font-size: 16px;
}

}
