/**
 *
 * =======================================================================
 * HEADER
 * =======================================================================
 */
.header-container-wrapper {
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
    z-index: 999;
}
@media (max-width:767px) {
    .header-container-wrapper {
        top: 10px;
    }
}

#header-white {
    height: 75px;
    margin-top: -25px;
    background-color: transparent;
    padding: 20px 70px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    webkit-transition: background-color 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    transition: background-color 0.5s cubic-bezier(0.28, 0.11, 0.32, 1)
}
/*.is-sticky #header {
    background: #003649;
    /*box-shadow: 0px 1px 4px rgba(0,0,0,0.5);*/
}
#header-white .hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-item-has-children ul.hs-menu-children-wrapper {
    display: block!important;
    position: relative!important;
    float: none!important;
    padding-left: 15px!important;
    visibility: visible!important;
    opacity: 1!important;
}
@media (max-width:767px) {
    #header-white {
        height: 68px;
        padding: 20px 30px;
    }
}

/* Logo */
#header-white .logo {
    
}
#header-white .logo img {
    max-width: 160px;
}

/* ===============================================
 *  Mobile Menu
 * ============================================ */

.mobile-button {
    position: relative;
    z-index: 999999!important;
    text-align: right;
}
.flyout-toggle {
    position: relative;
    z-index: 99999;
    transition: all linear 300ms;
}
.nav-toggle {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}
.nav-toggle span {
    display: inline-block;
}
.nav-toggle span:after {
    content: "\f0c9";
    font-family: fontawesome;
    font-size: 28px;
    color: #1393A7;
}
.nav-toggle.active span:after {
    content: "\f00d";
}
@media (max-width:767px) {
    .mobile-button {
        position: absolute;
        top: -5px;
        right: 40px;
    }    
}

/* Flyout Navigation */
#header-white .flyout-navigation {
    height: 100vh;
    width: 100%;
    max-width: 450px;
    padding: 80px 30px 30px;
    position: fixed!important;
    background: rgba(0,0,0,0.85)!important;
    top: 0;
    right: -100%;
    z-index: 99999;
    transition: all linear 300ms;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    transition: 0.8s;
    overflow-y: scroll!important;
}
#header-white .flyout-navigation.active {
    right: -15px;
}
#header-white .flyout-navigation .hs-menu-wrapper ul > li {
    display: inline-block;
    width: 100%!important;
    border: 0px!important;
    border-bottom: 1px solid #212121;
    margin: 0 !important;
}
#header-white .flyout-navigation .hs-menu-wrapper ul > li > a {
    color: #FFF!important;
}
#header-white .flyout-navigation .hs-menu-wrapper ul li a {
    width: auto!important;
    max-width: none!important;
    padding-bottom: 2px;
    font-family: 'Open Sans',sans-serif;
}
#header-white .flyout-navigation .hs-menu-wrapper ul li a:hover {
    opacity: 0.5;
}
#header-white .flyout-navigation .hs-menu-wrapper ul li ul li a {
    font-size: 14px;
}   



/*Custom header*/
#header-sticky-wrapper-white .logo img{
    /*display: none;*/
}

#header-sticky-wrapper-white.is-sticky .logo img{
    display: block;
}

#header-white{
    padding-top: 18px !important;
}

@media (max-width: 480px) {
    #header-white {
        padding-top: 15px !important;
        margin-top: -10px;
    }
    
    .cta-header {
        display: none;
    }
}

#header-white .logo img{
    max-width: 140px !important;
}

#header-white .cmn-toggle-switch{
    margin-top: 3px !important;
}

@media (max-width: 480px) {
    #header-white .cmn-toggle-switch{
        margin-top: 13px !important;
    }
    
    .is-sticky #header .cmn-toggle-switch {
        margin-top: 13px !important;
    }
    
     .is-sticky #header .cmn-toggle-switch__htx {
        margin-top: 13px !important;
    }
}

.is-sticky #header-white{
    background-color: #fff !important;
    margin-top: 0;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    -webkit-animation: fadeInDown 0.5s;
    -moz-animation: fadeInDown 0.5s;
    -o-animation: fadeInDown 0.5s;
    animation: fadeInDown 0.5s;
}