/**
 * Rolex header — migrated from rolex.min.css (landing / section nav).
 * Scope: .rolex-wrapper (on #category-view-container).
 */

.rolex-wrapper :focus-visible {
    outline: 2px solid #127749;
    outline-style: solid;
}

.rolex-wrapper .rolex-header :focus-visible {
    outline-color: #9bf9ce;
}

.rolex-wrapper .rolex-headerWrapper {
    background-image: linear-gradient(90deg, #0b3e27, #197149);
}

@media only screen and (max-width: 1023px) {
    /* Clip slide-up animation so nav does not paint over .page-header above */
    .rolex-wrapper .rolex-headerWrapper:not(.is-menu-open) {
        overflow: hidden;
    }

    .rolex-wrapper .rolex-headerWrapper.is-menu-open {
        overflow: visible;
    }
}

.rolex-wrapper .rolex-header {
    position: relative;
    max-width: 90%;
    height: 100px;
    margin: 0 auto;
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-header {
        display: flex;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header {
        max-width: 100%;
        height: 80px;
        overflow: hidden;
    }

    .rolex-wrapper .rolex-header.active {
        height: auto;
        overflow: visible;
    }

    .rolex-wrapper .rolex-header.active .rolex-headerBar .rolex-menuBtn .icon {
        transform: rotate3d(1, 0, 0, 180deg);
    }

    .rolex-wrapper .rolex-header:not(.active) .rolex-navigation {
        pointer-events: none;
    }

    .rolex-wrapper .rolex-header.active .rolex-navigation {
        pointer-events: auto;
        transform: none;
    }
}

.rolex-wrapper .rolex-header .rolex-headerBar {
    position: relative;
    padding: 20px 0;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-headerBar {
        z-index: 4;
        width: 100%;
        margin: 0 auto;
        padding: 15px 5%;
        background-image: linear-gradient(90deg, #0b3e27, #197149);
    }
}

.rolex-wrapper .rolex-header .rolex-headerBar .rolex-logo {
    display: block;
    width: 120px;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-headerBar .rolex-logo {
        width: 100px;
    }
}

.rolex-wrapper .rolex-header .rolex-headerBar .rolex-logo img {
    display: block;
    width: 100%;
}

.rolex-wrapper .rolex-header .rolex-headerBar .rolex-menuBtn {
    display: none;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-headerBar .rolex-menuBtn {
        display: block;
        position: absolute;
        top: 33px;
        right: 5%;
        padding-right: 20px;
        color: #fff;
        font-size: 16px;
        line-height: 1.1em;
    }

    .rolex-wrapper .rolex-header .rolex-headerBar .rolex-menuBtn .icon {
        position: absolute;
        right: 0;
        width: 12px;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100%;
        transition: all 0.2s ease-out;
    }
}

.rolex-wrapper .rolex-header .rolex-navigation {
    margin-top: 0;
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-header .rolex-navigation {
        align-self: center;
        max-width: calc(100% - 140px);
    }
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-navigation {
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 3;
        width: 100%;
        transform: translate3d(0, -80px, 0) translate3d(0, -100%, 0);
        transition: transform 0.2s ease-out;
    }
}

.rolex-wrapper .rolex-header .rolex-navigation ul {
    display: flex;
    margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-header .rolex-navigation ul {
        padding-left: 0;
    }
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-navigation ul {
        display: block;
        padding: 24px 0;
        background-image: linear-gradient(90deg, #0b3e27, #197149);
    }
}

.rolex-wrapper .rolex-header .rolex-navigation ul li {
    margin-bottom: 0;
}

@media only screen and (min-width: 1024px) {
    .rolex-wrapper .rolex-header .rolex-navigation ul li {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-navigation ul li {
        display: block;
        margin: 16px 0;
        padding: 0 5%;
        text-align: left;
    }
}

.rolex-wrapper .rolex-header .rolex-navigation ul li a {
    display: block;
    margin-left: 30px;
    color: #fff;
    font-size: 16px;
    line-height: 1.1em;
    transition: all 0.2s ease-out;
}

@media only screen and (max-width: 1023px) {
    .rolex-wrapper .rolex-header .rolex-navigation ul li a {
        margin-left: 0;
        font-size: 22px;
        line-height: 1.6em;
    }
}

.rolex-wrapper .rolex-header .rolex-navigation ul li a.active,
.rolex-wrapper .rolex-header .rolex-navigation ul li a.selected,
.rolex-wrapper .rolex-header .rolex-navigation ul li a:hover {
    color: #9bf9ce;
    text-decoration: none;
}

.rolex-wrapper .rolex-header .rolex-navigation ul li:first-child a {
    margin-left: 0;
}
