:root {
    --sNav-RLNavHeight: 0px;
    --sNav-sNavHeight: 0px;
    --sNav-thumbHeight: 0px;
}

#rlc-stickynav-special,
#rlc-stickynav-special .rlc-wrap {
    position: relative;
    z-index: 99;
    width: 90em;
}

#rlc-stickynav-special .rlc-wrap {
    top: 0;
}

#rlc-stickynav-special.rlc-fixed .rlc-wrap,
#rlc-stickynav-special.rlc-fixed-always .rlc-wrap {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--sNav-RLNavHeight));
}

#rlc-stickynav-special.rlc-fixed.rlc-hide-tnav .rlc-wrap,
#rlc-stickynav-special.rlc-fixed-always.rlc-hide-tnav .rlc-wrap {
    top: 0;
}

#rlc-stickynav-special.rlc-fixed-always {
    height: auto;
}

#rlc-stickynav-special .rlc-in {
    height: calc(100% - 0.250em);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#rlc-stickynavjumps {
    color: #fff;
    margin: 0 0 0 2.188em;
    height: 100%;
}

#rlc-stickynavjumps .rlc-li {
    list-style: none;
    display: inline-block;
    margin: 0 1.563em;
}

#rlc-stickynavjumps .rlc-li .rlc-jumplink {
    display: inline-block;
}

#rlc-stickynav-special .rlc-active {
    color: #fff;
}

/* Images visible in expanded nav */
#rlc-stickynav-special .rlc-jumplink .rlc-image {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Fade images out when nav becomes fixed */
#rlc-stickynav-special.rlc-fixed .rlc-jumplink .rlc-image {
    opacity: 0;
}

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

    #rlc-stickynav-special,
    #rlc-stickynav-special .rlc-wrap {
        height: 3.625em;
        width: 90em;
        max-width: 100%;
    }

    #rlc-stickynavjumps {
        display: flex;
        align-items: center;
    }

    /* begin sticky nav with thumbs */
    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed .rlc-wrap {
        top: calc(var(--sNav-RLNavHeight) - (1.875em + var(--sNav-thumbHeight)) - 2px);
    }

    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed.rlc-hide-tnav .rlc-wrap {
        top: calc((1.875em + var(--sNav-thumbHeight)) * -1);
    }

    /* end sticky nav with thumbs */

    #rlc-stickynav-special:not(.rlc-hasthumbs) #rlc-stickynavjumps .rlc-ul {
        display: flex;
        align-items: center;
    }

    [lang^=ar] #rlc-stickynavjumps {
        margin: 0 2.188em 0 0;
    }
}

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

    #rlc-stickynav-special,
    #rlc-stickynav-special .rlc-wrap {
        width: 23.438em;
    }

    #rlc-stickynav-special.rlc-hasthumbs,
    #rlc-stickynav-special.rlc-hasthumbs .rlc-wrap {
        height: calc(5em - 1px);
    }

    #rlc-stickynav-special .rlc-wrap {
        top: 18em;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-ul {
        display: flex;
        justify-content: center;
        margin: 0;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-ul .rlc-li {
        flex: 1;
        margin: 0 0.313em;
        text-align: center;
        width: 5em;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-image {
        width: 5em;
        height: 3.063em;
        border-radius: 12px;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-cta {
        height: 1.875em;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-cta span {
        font-family: var(--sackersMed);
        font-size: 0.625em;
        letter-spacing: 0em;
        line-height: 1.25em;
        text-transform: uppercase;
        display: inline-block;
    }

    #rlc-stickynav-special.rlc-hasthumbs #rlc-stickynavjumps {
        margin: 0;
    }

    #rlc-stickynav-special.rlc-hasthumbs #rlc-stickynavjumps .rlc-li .rlc-jumplink {
        padding: 0;
    }
}


/* For sticky navs with Thumbnails */

@media only screen and (min-width: 768px) {
    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed .rlc-wrap {
        top: calc(var(--sNav-RLNavHeight) - (1.875em + var(--sNav-thumbHeight)) - 1px);
    }

    #rlc-stickynav-special.rlc-hasthumbs,
    #rlc-stickynav-special.rlc-hasthumbs .rlc-wrap {
        height: calc(15.313em - 1px);
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-ul {
        display: flex;
        margin: 0;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-ul .rlc-li {
        flex: 1;
        margin: 0 1.625em;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-image {
        width: 14.625em;
        height: 9.75em;
        border-radius: 24px;
        margin-top: 1.875em;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-cta {
        height: 3.688em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-cta span {
        font-family: var(--sackersMed);
        font-size: 0.688em;
        letter-spacing: 0em;
        line-height: 1em;
        text-transform: uppercase;
        display: inline-block;
    }

    #rlc-stickynav-special.rlc-hasthumbs #rlc-stickynavjumps {
        margin: 0;
    }

    #rlc-stickynav-special.rlc-hasthumbs #rlc-stickynavjumps .rlc-li .rlc-jumplink {
        padding: 0;
    }
}

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

    #rlc-stickynav-special.rlc-hasthumbs,
    #rlc-stickynav-special.rlc-hasthumbs .rlc-wrap {
        height: 4.938em;
    }
}



/* ==========================================
   STICKY NAV POSITIONING FIXES
   ========================================== */

#rlc-stickynav-special {
    position: relative;
    z-index: 99;
    margin: 0 auto;
}

#rlc-stickynav-special .rlc-wrap {
    position: relative;
    top: 0;
    left: auto;
    transform: none;
}

/* Fixed navigation */
#rlc-stickynav-special.rlc-fixed .rlc-wrap {
    position: fixed;
    left: 50%;
    top: var(--sNav-RLNavHeight);
    transform: translateX(-50%);
    z-index: 99;
}

/* Main header hidden */
#rlc-stickynav-special.rlc-fixed.rlc-hide-tnav .rlc-wrap {
    top: 0;
}

/* Avoid animating top during the fixed-position switch */
#rlc-stickynav-special.rlc-fixed .rlc-wrap {
    transition: none;
    will-change: top;
}

/* Keep the thumbnails visible until they scroll away naturally */
#rlc-stickynav-special.rlc-hasthumbs .rlc-wrap {
    overflow: visible;
}

/* DESKTOP */
@media (min-width: 768px) {

    /* Move the thumbnail portion above the viewport,
       leaving the label row below the main header. */
    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed .rlc-wrap {
        top: calc(var(--sNav-RLNavHeight) - var(--sNav-thumbHeight));
    }

    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed.rlc-hide-tnav .rlc-wrap {
        top: calc(var(--sNav-thumbHeight) * -1);
    }
}

@media (max-width: 767px) {

    /* Keep the original starting position */
    #rlc-stickynav-special {
        margin-top: 18em;
    }

    /* No offset on the inner wrapper */
    #rlc-stickynav-special .rlc-wrap {
        top: 0;
    }

    /* Fixed navigation, with thumbnails collapsed */
    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed .rlc-wrap {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);

        top: calc(var(--sNav-RLNavHeight) - var(--sNav-thumbHeight));
    }

    /* When main header disappears */
    #rlc-stickynav-special.rlc-hasthumbs.rlc-fixed.rlc-hide-tnav .rlc-wrap {
        top: calc(var(--sNav-thumbHeight) * -1);
    }
}



/* Arabic font overrides */
[lang^=ar] #rlc-stickynavjumps .rlc-li .rlc-jumplink,
[lang^=ar] #rlc-stickynav-special.rlc-hasthumbs .rlc-jumplink .rlc-cta span,
[lang^=ar] #rlc-stickynav-special.rlc-hasthumbs #rlc-stickynavjumps .rlc-li .rlc-jumplink {
    font-family: RL_DroidKufi, Founders Grotesk text Regular, Helvetica, Arial, sans-serif !important;
}