#masthead {
    padding: 15px 0;
}

#masthead .polestar-container {
    max-width: 1844px;
}

body[class*=overlap-] #content #section-1 {
    padding-top: var(--header-height);
}

#site-navigation .menu-item a {
    font-family: 'Brandon Grotesque';
    font-size: 1.333rem;
    font-weight: 400;
    color: #1b1b1b;
    position: relative;
}

.site-header .site-branding img,
.site-header .site-branding svg {
    width: 116px !important;
    height: 58px !important;
    object-fit: contain;
}


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

    #masthead .site-branding img {
        width: 60px;
    }
}


@media screen and (min-width: 769px) {

    .site-header:not(.custom-sticky) .site-branding img,
    .site-header:not(.custom-sticky) .site-branding svg {
        width: 206px !important;
        height: 103px !important;
    }

    #site-navigation .menu-item a:after {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 0;
        width: 100%;
        height: 1px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: all .3s;
    }

    #site-navigation .menu-item a:hover:after,
    #site-navigation .menu-item.current-menu-item a:after {
        transform: scaleX(1);
    }
}


/*custom sticky header*/
#masthead.custom-sticky {
    position: fixed;
    background: #fff !important;
    padding: 5px 0;
}

#masthead.custom-sticky .site-branding img {
    width: 60px;
}


@media screen and (min-width: 769px) {

    #masthead.custom-sticky {
        transform: translateY(-110%);
        animation: 400ms custom-stickyHeader linear 1s forwards;
        z-index: 1000;
    }

}


@-webkit-keyframes custom-stickyHeader {

    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        transform: translateY(-50%);
        opacity: .5;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}


@keyframes custom-stickyHeader {

    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        transform: translateY(-50%);
        opacity: .5;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

/*custom sticky header*/


/*hambuger icon*/
#hamburger-menu-icon {
    text-align: right;
}

#hamburger-menu-icon button {
    background: var(--header-bg-color);
}

#hamburger-menu-icon .hamburger {
    border: none;
    pointer-events: auto;
    padding: 0;
}

#hamburger-menu-icon .hamburger__flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hamburger-menu-icon .hamburger__line {
    border: none;
    height: 1px;
    background: #676461;
    margin: 4px 0;
    width: 32px;
    flex-shrink: 0;
    display: block;
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
    transition: .8s ease;
}

#page.active #hamburger-menu-icon .hamburger__line {
    transform: scaleX(1);
}

#hamburger-menu-icon .hamburger__line:nth-child(1) {
    transition-delay: .5s;
}

#hamburger-menu-icon .hamburger__line:nth-child(2) {
    transition-delay: .7s;
}

#hamburger-menu-icon .hamburger__line:nth-child(3) {
    transition-delay: .9s;
}

#page.active #hamburger-menu-icon button.animation-done .hamburger__line {
    transition-delay: 0s;
}

.menu-opened #hamburger-menu-icon .hamburger__line:first-child {
    transform: translate(7px) skewY(45deg) scaleX(.5625) !important;
}

.menu-opened #hamburger-menu-icon .hamburger__line:nth-child(2) {
    transform: scale(0) !important;
}

.menu-opened #hamburger-menu-icon .hamburger__line:nth-child(3) {
    transform: translate(7px) skewY(-45deg) scaleX(.5625) !important;
}

/*hambuger icon*/


/*mobile menu*/
#mobile-menu-button {
    right: 0;
    top: -6px;
    width: auto;
    height: auto;
}

#mobile-navigation {
    padding: 0;
    background: transparent;
}

#mobile-navigation #mobile-navigation-row {
    height: calc( 100vh - var(--header-height) );
    overflow-y: auto;
}

#mobile-navigation a {
    border: 0 !important;
}

#mobile-navigation .header-mobile-nav a {
    font-size: 3.733rem;
    line-height: normal
}

#mobile-navigation .header-txt-1 p {
    margin-bottom: 0;
    font-size: 1.067rem;
}

.header-mobile-social .menu {
    display: flex;
}

.header-mobile-social .menu a {
    font-size: 1.067rem;    
}
/*mobile menu*/