.header{
    background: var(--white);
}
.header-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.header-left{
    display: flex;
    align-items: center;
}
.cb-logo{
    display: flex;
}
.header-right{
    display: flex;
}
.header-right .header-btn{
    min-width: auto;
    margin-left: 20px;
}

.navigation{
    background: #d6dbea;
}
.navigation-inner{
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 600;
}
.navigation-inner.search-expanded .nav{
    opacity: .2;
    transition: opacity .2s linear;
    pointer-events: none;
}
.nav > ul{
    display: flex;
    align-items: center;
    list-style: none;
    height: 64px;
    margin: 0 0 0 -15px;
    padding: 0;
}
.nav ul > li{
    position: relative;
}

.nav > ul > li > a{
    color: #212121;
    font-family: var(--font-family-base-v1);
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 32px;
}
.nav > ul > li:hover > a{
    color: #287ab9;
    text-decoration: none;
}
.nav .sub-menu{
    background: var(--white);
    box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    border-radius: 0 5px 5px 5px;
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 30px;
    width: 250px;
    z-index: 2;
}
.nav .sub-menu > li a{
    color: var(--blue-magenta);
    display: block;
    padding: 10px;
    border-bottom: 1px solid #f2f2f2;
}
.nav .sub-menu > li:last-child a{
    border: none;
}
.nav .sub-menu > li a:hover{
    color: #287ab9
}
.search-social-container{
    display: flex;
    align-items: center;
    font-family: var(--font-family-base-v1);
}
.search-open-close,
.share-icon-dropdown,
.nav-search-container form button{
    background: var(--c-brand-02);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.search-open-close::before,
.share-icon-dropdown::before,
.nav-search-container form button::before{
    background: url(/assets/advice/wp-content/uploads/theme-img/search.svg) no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 22px;
    height: 22px;
}
.navigation-inner.search-expanded .search-open-close{
    background: transparent;
}
.navigation-inner.search-expanded .search-open-close::before{
    background: url(/assets/advice/wp-content/uploads/theme-img/close.svg) no-repeat;
    background-size: contain;
}
.share-icon-dropdown{
    margin-left: 10px;
}
.share-icon-dropdown::before{
    background: url(/assets/advice/wp-content/uploads/theme-img/share.svg) no-repeat;
    background-size: contain;
}
.nav-search-container{
    position: relative;
}
.nav-search-container form{
    display: flex;
    position: absolute;
    right: -100px;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: .3s ease;
}
.navigation-inner.search-expanded .nav-search-container form{
    width: auto;
    height: auto;
    opacity: 1;
    overflow: visible;
    right: 40px;
}
.nav-search-container form input{
    background: none;
    border: none;
    color: #212121;
    font-size: 1.6rem;
    height: 40px;
    outline: none;
    padding: 0 8px;
    width: 200px;
}
.nav-search-container form button{
    outline: none;
    border: none;
}
.nav-search-container form button::before{
    background: url(/assets/advice/wp-content/uploads/theme-img/search-white.svg) no-repeat;
    background-size: contain;
}
.recent-search-container{
    background: var(--white);
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .1);
    border: 1px solid #d5d5d5;
    position: absolute;
    left: 0;
    top: 58px;
    width: calc(100% + 48px);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}
.navigation-inner.search-expanded .recent-search-container{
    animation: recentSearch .3s .5s forwards;
}
.recent-search-container::before{
    background: #fff;
    border-top: 1px solid #d5d5d5;
    border-left: 1px solid #d5d5d5;
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    position: absolute;
    top: -15px;
    left: 26px;
    transform: rotate(45deg);
}
.recent-search-title{
    display: block;
    font-size: 1.6rem;
    text-transform: uppercase;
    padding: 12px 18px 10px;
}
.recent-search-list a{
    color: #777;
    display: flex;
    font-weight: 400;
    position: relative;
    padding: 6px 10px 6px 40px;
}
.recent-search-list a:hover{
    background: #777;
    color: var(--white);
    text-decoration: none;
}
.recent-search-list a::before{
    background: url(/assets/advice/wp-content/uploads/theme-img/search.svg) no-repeat;
    background-size: contain;
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 18px;
    top: 8px;
}
.recent-search-list a:hover::before{
    background-image: url(/assets/advice/wp-content/uploads/theme-img/search-white.svg);
}
.nav-social-container{
    position: relative;
}
.share-drop-down{
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
    background: var(--white);
    display: none;
    position: absolute;
    right: 0;
    top: 48px;
    width: 190px;
}
.share-icon-dropdown:hover .share-drop-down{
    display: block;
}
.share-drop-down::before{
    content: "";
    position: absolute;
    top: -1rem;
    right: 1.8rem;
    width: 0;
    height: 1rem;
    border-left: .5rem solid transparent;
    border-right: .5rem solid transparent;
    border-bottom: .5rem solid #cacaca;
}
.share-drop-down::after{
    content: "";
    background: transparent;
    display: block;
    height: 8px;
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
}
.nav-share-text{
    background-color: #cacaca;
    color: #000;
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin: 0;
    padding: 2px  5px;
    text-transform: uppercase;
    text-align: center;
}
.nav-share-icons{
    display: flex;
}
.nav-share-icons a{
    background: var(--white);
    display: flex;
    justify-content: center;
    flex-basis: 25%;
    padding: 9px 0;
}
.nav-share-icons a:hover{
    background: #efefef;
}
.nav-share-icons a::before{
    width: 24px;
    height: 24px;
    content: "";
    display: block;
}
.nav-share-icons .nav-facebook::before{
    background: url("/assets/advice/wp-content/uploads/theme-img/nav-facebook.svg") no-repeat;
    background-size: contain;
}
.nav-share-icons .nav-x::before{
    background: url("/assets/advice/wp-content/uploads/theme-img/nav-x.svg") no-repeat;
    background-size: contain;
}
.nav-share-icons .nav-linkedin::before{
    background: url("/assets/advice/wp-content/uploads/theme-img/nav-linkedin.svg") no-repeat;
    background-size: contain;
}
.nav-share-icons .nav-email::before{
    background: url("/assets/advice/wp-content/uploads/theme-img/nav-email.svg") no-repeat;
    background-size: contain;
}
.cb-hamburger-wrapper{
    display: none;
}

.header-top-banner{
    background: var(--c-accent-07);
    height: 68px;
    display: none;
}
.header-top-banner.active{
    display: flex;
}
.header-top-banner-inner{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    height: 100%;
    font-size: 14px;
    position: relative;
}
.h-top-text{
    border-right: 1px solid #000;
    padding-right: 16px;
}
.h-top-link{
    color: #212121;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.h-top-link:visited{
    color: #089a98;
}
.h-top-link::after{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f4aa0'%3E%3Cpath d='M4 12.9374H17.604L13.289 17.2964C12.9 17.6884 12.904 18.3224 13.297 18.7104C13.688 19.0994 14.323 19.0954 14.711 18.7034L20.711 12.6414C20.897 12.4524 21.001 12.1974 21 11.9324C20.999 11.6664 20.892 11.4134 20.703 11.2264L14.703 5.2894C14.509 5.0964 14.254 5.0004 14 5.0004C13.742 5.0004 13.484 5.0994 13.289 5.2964C12.9 5.6884 12.904 6.3224 13.297 6.7104L17.568 10.9374H4C3.447 10.9374 3 11.3854 3 11.9374C3 12.4894 3.447 12.9374 4 12.9374Z'/%3E%3C/svg%3E") no-repeat center;
    display: inline-block;
    content: "";
    width: 20px;
    height: 20px;
}
.h-banner-close{
    cursor: pointer;
    position: absolute;
    right: 20px;
    padding: 10px;
}
.h-banner-close::before{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M13.414 12L19.707 5.707C20.098 5.316 20.098 4.684 19.707 4.293C19.316 3.902 18.684 3.902 18.293 4.293L12 10.586L5.70701 4.293C5.31601 3.902 4.68401 3.902 4.29301 4.293C3.90201 4.684 3.90201 5.316 4.29301 5.707L10.586 12L4.29301 18.293C3.90201 18.684 3.90201 19.316 4.29301 19.707C4.48801 19.902 4.74401 20 5.00001 20C5.25601 20 5.51201 19.902 5.70701 19.707L12 13.414L18.293 19.707C18.488 19.902 18.744 20 19 20C19.256 20 19.512 19.902 19.707 19.707C20.098 19.316 20.098 18.683 19.707 18.292L13.414 12Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}

@media (min-width: 992px) {
    .nav > ul > li:hover{
        box-shadow: 0 0 5px rgba(0, 0, 0, .15);
        border-radius: 3px;
        background: var(--white);
    }
    .nav > ul > li:hover .sub-menu{
        display: block;
    }
}
@media (max-width: 1440px) {
    .header-top-banner{
        height: 44px;
    }
}
@media (max-width: 991px) {
    .navigation-inner.search-expanded .nav-search-container{
        background: #2f4ba0;
        display: flex;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        padding: 10px 20px 10px 10px;
        z-index: 9;
    }
    .navigation-inner.search-expanded .nav-search-container form{
        position: static;
        width: calc(100% - 40px);
        transition: none;
    }
    .navigation-inner.search-expanded .search-open-close,
    .navigation-inner.search-expanded .nav-search-container form button{
        background: none;
        margin-right: 10px;
    }
    .navigation-inner.search-expanded .search-open-close::before{
        background: url(/assets/advice/wp-content/uploads/theme-img/close-white.svg) no-repeat;
        background-size: contain;
    }
    .navigation-inner.search-expanded .nav-search-container form input{
        background: #fff;
        border-radius: 5px;
        color: #333;
        width: 100%;
    }
    .navigation-inner.search-expanded .search-open-close{
        margin-left: 6px;
        margin-right: 0;
    }
    .navigation-inner.search-expanded .recent-search-container{
        width: 100%;
        height: calc(100vh - 58px);
    }
    .navigation-inner.search-expanded .recent-search-container::before{
        display: none;
    }
    .navigation{
        display: flex;
        align-items: center;
        height: 64px;
    }
    .nav{
        display: none;
    }
    .cb-hamburger-wrapper{
        display: block;
    }
    .cb-hamburger{
        background: var(--c-brand-02);
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px;
        height: 48px;
        width: 48px;
    }
    .cb-hamburger span{
        background: #cfcfcf;
        display: block;
        height: 2px;
        width: 20px;
        position: relative;
    }
    .cb-hamburger span::before,
    .cb-hamburger span::after{
        content: "";
        background: #cfcfcf;
        display: block;
        height: 2px;
        width: 20px;
        position: absolute;
        top: -5px;
    }
    .cb-hamburger span::after{
        top: auto;
        bottom: -5px;
    }
    .cb-hamburger-wrapper img{
        display: none;
    }
    .navigation-inner.menu-open .cb-hamburger-wrapper{
        background: var(--blue);
        display: flex;
        max-width: 360px;
        width: 100%;
        height: 64px;
        position: fixed;
        align-items: center;
        justify-content: center;
        left: 0;
        top: 0;
        padding: 10px;
    }
    .navigation-inner.menu-open .cb-hamburger{
        position: absolute;
        left: 10px;
    }
    .navigation-inner.menu-open .cb-hamburger span{
        background: none;
    }
    .navigation-inner.menu-open .cb-hamburger span::before{
        transform: rotate(-45deg);
        top: 0px;
    }
    .navigation-inner.menu-open .cb-hamburger span::after{
        transform: rotate(45deg);
        top: 0;
    }
    .navigation-inner.menu-open .cb-hamburger-wrapper img{
        display: block;
        width: 170px;
    }
    .navigation-inner.menu-open .nav{
        background: var(--c-brand-02);
        display: block;
        position: fixed;
        left: 0;
        top: 64px;
        max-width: 360px;
        width: 100%;
        height: calc(100vh - 64px);
        z-index: 9;
        overflow-y: auto;
    }
    .navigation-inner.menu-open .nav > ul{
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
    }
    .navigation-inner .nav > ul > li{
        border-radius: 0;
        width: 100%;
    }
    .navigation-inner .nav > ul > li > a{
        color: var(--white);
        background: var(--c-brand-02);
        border-bottom: 1px solid #999;
        padding: 12px 20px;
        height: auto;
    }
    .nav .sub-menu{
        border-radius: 0;
        position: static;
        width: 100%;
    }
    .nav .sub-menu > li a{
        padding: 10px 20px;
    }
    .navigation-inner .nav > ul > li.active > a,
    .navigation-inner .nav > ul > li:hover > a{
        color: #fff;
    }
    .navigation-inner .nav > ul > li.active .sub-menu{
        display: block;
    }
}
@media (max-width: 767px) {
    .header-inner{
        height: 70px;
    }
    .cb-logo{
        width: 180px;
    }
    .header-right{
        display: none;
    }
    .header-top-banner{
        height: auto;
    }
    .header-top-banner-inner{
        flex-direction: column;
        gap: 0;
        padding: 14px 0;
    }
    .h-top-text{
        border: none;
        margin: 0;
        padding: 0;
    }
    .h-banner-close{
        display: block;
        top: 6px;
    }

}

@keyframes recentSearch {
    0% {
        opacity: 0;
        visibility: visible;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}