/*CSS-file with custom styles - don't delete this comment */

.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

.fw {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.top_panel_image_hover {
  background-color: rgba(62, 153, 193, 0.5);
}

.page_top_wrap {
  background-color: #18568A;
}

.partners__title {
  display: block;
  padding-bottom: 1rem;
  font-size: 2rem;
  border-bottom: 1px solid #12B0E2;
  color: #222;
}

.footer__logos {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
  background-color: #FFF;
  max-width: 300px;
}

.footer__logos--fixed {
  width: 250px;
}

.footer__logos-logo {
  flex: 1;
  /*width: 00%;*/
  /*height: 200px;*/
  padding: 1rem;
}

.footer__logos-logo img { 
  display: block;
  width: 100%;
  /*height: 100px;*/
}

@media all and (max-width: 768px) {
  .hide-xs {
    display: none;
  }
  
}

@media (min-width: 958px) { 
  .menu_main_wrap .container {
    width: 90%;
  }
}

.post_featured {
  max-width: 500px; 
  margin: 0 auto;
}



/**
 * Top Header (home page)
 */

.topHeader {
  width: 100%;
  position: relative;
  /*margin-top:210px;*/
  height: 500px;
}

.topHeader__bg {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  overflow: hidden;
  width: 100%;
}


.topHeader__video {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.topHeader__bg img {
  display: block;
  height: 500px;
  width: 100%;
  max-width: 200%;
  object-fit: cover;
}

.topHeader__content {
  display: flex;  
  justify-content: center;
  align-items: center;
  flex-direction: column; 
  margin: 0 auto;
  position: absolute; 
  left: 100px;
  top: 0;
  z-index: 99;
  overflow: hidden; 
  background: rgba(95,102,110,0.6);
  border: 1px solid #a9a9aa;
  width: 700px;
  height: 500px;
  padding: 30px;
}

.topHeader__content h2 {
  font-size: 4rem;
  line-height: 1.5em;
  /*text-align: center;*/
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
  padding-bottom: 1rem;
  padding-left: 20px;
}

.topHeader__content a {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 17px;
  color: #fff;
  background: #18568A;
  width: 167px;
  text-align: center;
  letter-spacing: 1px;
  padding: 14px 0;
  font-weight: 700;
  margin-left: 20px;
  border: 2px solid transparent;
}
.topHeader__content a:hover {
  text-decoration: none;
  background: #fff;
  color: #18568A;
}

@media all and (max-width: 1000px) {
  .topHeader {
    height: 500px;
    /*margin-top: 185px;*/
  }
  
  .topHeader__content {
    width: auto;
    left: 30px;
    top: 50px;
    right: 30px;
    height: 400px;
  }
  
  .topHeader__bg img {
    display: block;
    height: 400px;
  }
  
  .topHeader__content h2 {
    padding-bottom: .6em;
  }
}

@media all and (max-width: 750px) {
  .topHeader__content h2 {
    font-size: 3rem;
  }
}


@media all and (max-width: 450px) {
  .topHeader {
    height: 400px;
  }
  
  .topHeader__video,
  .topHeader__bg {
    height: 400px;  
  }
  
  .topHeader__content {
    height: 300px;
    left: 0;
    right: 0;
  }
  
  .topHeader__content h2 {
    font-size: 2rem;
  }

}
  
.sc_title.sc_title--normalCase {
  text-transform: none;
}

section:not(.copyright_wrap):not(.slider_wrap):not(.no_padding_top_container):not(.no_padding_container):not(.user_header_wrap):not(.testimonals_section) > [class*="container"].container-fluid--smallPadding {
  padding-top: 50px;  
  padding-bottom: 50px;  
}

.sc_section--border {
  padding: 4rem 0;
  border-top: 1px solid #18568A;
  border-bottom: 1px solid #18568A;
} 

/**
 * SERVICES NAV
 */

.menu-categories--horizontal {
  
}

.menu-categories--horizontal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-categories--horizontal li {
  display: block;
  padding: .5rem 1rem;
}

/* Safari flex-wrap fix */
.row [class*=col-]{
    margin:0 -.3px;
}

.flex.container:before,
.flex.container:after,
.flex.row:before,
.flex.row:after {
   content: normal;
}
 

.container-fluid--smallPadding .sc_section .container {
  display: flex; 
  flex-wrap: wrap;
  align-items: center;
}
.container-fluid--smallPadding .sc_section .post_content p:last-of-type:not(:first-of-type) {
  margin-bottom: 0;
}

.sc_contact_form_fixed_field {
  display: inline-block;
  min-width: 70px;
}

.sc_contact_form_address_label {
  display: inline-block;
  min-width: 84px;
}