/*** Navigation ***/

#mobile_navigation {
    display: none;
}
#navigation_tray {
    display: none;
}
#desktop_navigation {
    display: block;
}

/*** -------------------- DESKTOP -------------------- ***/
header {
    /*overflow-x: hidden;*/
}

#desktop_navigation {
    background-color: var(--white);
    width: 100%;
    max-width: 100%;
}
#desktop_navigation .desktop_menu_flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    transition: ease all .4s;
    padding-left: 0;
    padding-right: 0;
    /* before sticky */
    padding-top: 40px;
    padding-bottom: 40px;
}

@media(max-width: 1599.98px) {
    #desktop_navigation .desktop_menu_flex {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

/*** --------- Transparent Nav ---------- ***/
header.transparent_nav #desktop_navigation {
    background-color: transparent;
}

/***  Desktop Sticky  ***/
header.sticky #desktop_navigation {
    background-color: #FFFFFF;
}





/* Logo */
#desktop_navigation .main_logo {
    background-image: url('../assets/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}
#desktop_navigation .main_logo img {
    opacity: 0;
    width: 300px;
    min-width: 300px;
    height: auto;
}

/* Main Links */
#desktop_navigation .main_links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 30px;
}
#desktop_navigation .main_links a {
    margin-right: 15px;
    margin-left: 15px;
    font-family: Outfit, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none !important;
    transition: ease all .3s;
}
#desktop_navigation .main_links a:hover {
    color: var(--labour-red);
}
#desktop_navigation .main_links li:first-of-type a {
    margin-left: 0;
}
#desktop_navigation .main_links li:last-of-type a {
    margin-right: 0;
}



#desktop_navigation .right_section {
    display: flex;
    align-items: center;
}



#desktop_navigation .translation_section {
    position: relative;
}

#desktop_navigation .button_translation {
    border: none;
    background: transparent;
    outline: 0;
    padding: 10px;
    cursor: pointer;
    margin-left: 10px;
    position: relative;
    padding-right: 15px;
}

#desktop_navigation .button_translation::after {
    content: '';
    position: absolute;
    height: 10px;
    width: 10px;
    display: block;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../assets/arrow_translation.svg');
    transition: ease all .3s;
}

#desktop_navigation .button_translation.active::after {
    transform: translateY(-50%) rotate(180deg);
}

#desktop_navigation .translation_options {
    position: absolute;
    right: 0;
    padding: 0;
    background: white;
    top: 40px;
    border: 1px solid #f5f5f5;
    border-radius: 5px;
}

#desktop_navigation .translation_options a {
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 20px;
    display: block;
}
#desktop_navigation .translation_options a:hover {
    color: var(--labour-red);
}

#desktop_navigation .right_of_nav {
    display: flex;
    align-items: center;
}



/*** ------------------ NAVIGATION TRAY ---------------- ***/

/* No Scroll Class When Tray is Open */
html.no_scroll {
    overflow-y: hidden!important;
    overflow-x: hidden!important;
}

/*** Nav Tray Backdrop ***/
.navigation_tray_backdrop {
    z-index: 5000000;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.navigation_tray_backdrop::before { /* For backdrop compatibility */
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: #000000;
    opacity: 0.4;
}
.navigation_tray_backdrop.open {
    opacity: 1;
    visibility: visible;
}

/*** Tray Styles - Open/Close ***/
#navigation_tray {
    z-index: 50000001;
    position: fixed;
    top: 0;
    right: -570px;
    width: 570px;
    max-width: calc(100% - 30px);
    height: 100%;
    background-color: #FFFFFF;
    opacity: 0.4;
    transition-delay: 0.2s;
    transition-timing-function: ease;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    padding: 50px 40px;
    padding-top: 25px;

    -webkit-box-shadow: -30px 1px 100px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: -30px 1px 100px 0px rgba(0,0,0,0.15);
    box-shadow: -30px 1px 100px 0px rgba(0,0,0,0.15);
}
#navigation_tray.open {
    right: 0;
    opacity: 1;
}

/*** Tray Sections ***/
#navigation_tray .tray_top .tray_buttons {
    margin-bottom: 80px;
}
#navigation_tray .tray_center ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

#navigation_tray .tray_center a {
    font-size: 30px;
    font-family: Outfit, sans-serif;
    color: var(--black);
    display: block;
    margin-bottom: 25px;
    font-weight: 500;
    text-decoration: none !important;
    transition: ease all .3s;
    text-align: center;
}

#navigation_tray .tray_center a:hover {
    color: var(--labour-red);
}


#navigation_tray button.close_tray {
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    width: 20px;
    height: 20px;
    margin-right: -11px;
}

#navigation_tray button.close_tray img {
    width: 100%;
    height: 100%;
}

#navigation_tray .lang_select {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


#navigation_tray .lang_select p.seperator,
#navigation_tray .lang_select a {
    font-size: 17px;
    color: var(--dark-grey);
    line-height: 1;
    margin-bottom: 0;
    text-decoration: none;
}

#navigation_tray .lang_select p.seperator {
    margin-left: 15px;
    margin-right: 15px;
}

#navigation_tray a.button.social {
    margin-right: 28px;
}
#navigation_tray a.button.social:last-of-type {
    margin-right: 0px;
}

#navigation_tray .tray_top .tray_buttons {
    text-align: right;
}

/*** -------------------- MOBILE -------------------- ***/
@media(max-width: 1199.98px) {
    #desktop_navigation {
        display: none;
    }
    #mobile_navigation {
        display: block;
    }


    #mobile_navigation {
        background-color: var(--white);
        width: 100%;
    }
    #mobile_navigation .mobile_menu_flex {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        transition: ease all .4s;
        padding-left: 0px;
        padding-right: 0px;
        /* before sticky */
        padding-top: 20px;
        padding-bottom: 20px;
    }


    /* Logo */
    #mobile_navigation .main_logo {
        background-image: url('../assets/logo.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
        width: 260px;
    }
    #mobile_navigation .main_logo img {
        opacity: 0;
        width: 180px;
        min-width: 180px;
        height: auto;
    }


    #mobile_navigation button.open_tray {
        background: transparent;
        border: none;
        outline: none;
        padding: 0;
        width: 30px;
        height: 30px;
    }

    #mobile_navigation button.open_tray img {
        height: 100%;
        width: 100%;
    }
}

@media(max-width: 575.98px) {
    /* Logo */
    #mobile_navigation .main_logo {
        width: 200px;
    }

    #navigation_tray {
        padding: 40px 30px;
        padding-top: 20px;
    }
}