/* RunFit global header */
#header,
.penci-header-wrap,
#navigation.header-layout-bottom {
    background: #fff !important;
}

.penci-header-wrap,
#header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

#header.header-header-6 {
    border: 0 !important;
}

#navigation.header-layout-bottom {
    min-height: 84px !important;
    height: 84px !important;
    border-bottom: 1px solid #E8EDF4 !important;
    box-shadow: none !important;
}

#navigation.header-layout-bottom > .container {
    min-height: 84px !important;
    height: 84px !important;
    max-width: none !important;
    padding: 0 clamp(34px, 5vw, 96px) !important;
    display: flex !important;
    align-items: center !important;
}

#navigation #logo {
    flex: 0 0 122px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

#navigation #logo a {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    min-width: 112px;
    min-height: 34px;
}

#navigation #logo img.penci-mainlogo {
    display: none !important;
}

#navigation #logo a::before {
    content: "RUN";
    color: #2A4DC0;
    font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

#navigation #logo a::after {
    content: "FIT";
    color: #171C24;
    font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

#navigation ul.menu {
    flex: 1 1 auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(14px, 1.45vw, 28px);
    text-align: center !important;
}

#navigation ul.menu > li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

#navigation ul.menu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    height: 84px !important;
    line-height: 84px !important;
    white-space: nowrap !important;
    color: #171C24 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .55px !important;
    text-transform: uppercase !important;
}

#navigation ul.menu > li > a:hover,
#navigation ul.menu > li.current-menu-item > a,
#navigation ul.menu > li.current-menu-ancestor > a,
#navigation ul.menu > li.current-menu-parent > a {
    color: #171C24 !important;
}

#navigation ul.menu > li.menu-item-has-children > a::after {
    content: "" !important;
    display: inline-block !important;
    width: 7px;
    height: 7px;
    margin-left: 2px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

#navigation ul.menu > li.menu-item-has-children:hover > a::after {
    transform: rotate(45deg) translate(1px, -1px);
}

#navigation ul.menu > li > ul.sub-menu,
#navigation ul.menu > li > .sub-menu {
    top: 84px !important;
    text-align: left !important;
}

#navigation ul.menu > li > ul.sub-menu li,
#navigation ul.menu > li > .sub-menu li {
    display: block !important;
}

#top-search {
    display: none !important;
}

#navigation .button-menu-mobile {
    margin-left: 0 !important;
}

@media (min-width: 1181px) {
    #navigation .button-menu-mobile {
        display: none !important;
    }
}

@media (max-width: 1180px) {
    #navigation.header-layout-bottom,
    #navigation.header-layout-bottom > .container {
        min-height: 74px !important;
        height: 74px !important;
    }

    #navigation.header-layout-bottom > .container {
        position: relative !important;
        justify-content: space-between !important;
        padding: 0 22px !important;
    }

    #navigation #logo {
        flex: 0 0 auto;
        position: absolute !important;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    #navigation #logo a {
        min-width: 104px;
        justify-content: center !important;
    }

    #navigation #logo a::before,
    #navigation #logo a::after {
        font-size: 25px;
    }

    #navigation ul.menu {
        display: none !important;
    }

    #navigation .button-menu-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px;
        height: 42px;
        z-index: 3;
    }

    #top-search {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px;
        height: 42px;
        z-index: 3;
    }

    #top-search a,
    #top-search i {
        color: #171C24 !important;
        line-height: 42px !important;
    }
}
