/* MENU STYLES */

.mobileNav,
.Menu_holder {
    width: 100%;
    height: 230px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
}

.mobileNav {
    display: flex;
    height: 50px;
    background-color: var(--white);
}

.faq .Menu_holder,
.squadmember .Menu_holder,
.matchcontroller .Menu_holder {
    background-color: var(--black);
}


.Menu_holder.fixed {
    position: fixed;
    animation: fadeUp 1s ease-in forwards;
    background-color: var(--darkblue);
    height: 65px;
}

.LogonHide {
    display: none;
}


/* TOPMOST NAVIGATION ELEMENTS */
@media screen {


    nav.top_nav {
        height: 50px;
        width: 100%;
        position: fixed;
        display: flex;
        flex-direction: row;
        align-items: center;
        align-content: flex-start;
        justify-content: flex-start;
        background: var(--white);
        border-bottom: solid 2px var(--lightgrey);
        padding: 0;
        z-index: 10;
    }

    .Menu_holder.fixed nav.top_nav {
        display: none;
    }

    .top_nav_link {
        padding: 0;
        margin: 0;
        margin-right: 4px;
        width: 50%;
        border-right: solid 1px var(--grey);
    }


    .top_nav_link.button {
        border-radius: 0;
    }


    .top_nav_link:hover {
        text-decoration: none;
        background-color: var(--black);
        color: var(--white);
        border-right: solid 1px var(--black);
    }

    .top_nav_link:first-child {
        background-color: var(--blue);
        color: var(--white);
        text-align: center;
        width: 300px;
        padding: 0 25px;
        border-right: solid 1px var(--transparent);
    }


    .top_nav_link:first-child img {
        height: 90%;
    }

    .top_nav_link:first-child span {
        display: none;
    }

    .top_nav_link:first-child:hover {
        text-decoration: none;
        background-color: var(--highlight);
        color: var(--white);
        border-right: solid 1px var(--transparent);
    }



    @media screen and (min-width: 760px) {
        /* .top_nav_link {
            padding: 0 30px;
            font-size: 13px
        } */

        .top_nav_link:first-child span {
            display: block;
        }

        .top_nav_link:first-child img {
            display: none;
        }

    }

    @media screen and (min-width: 1440px) {
        /* .top_nav_link {
           min-width: 12%;
           max-width: 15%;
           text-align: left;
        } */


    }


    @media screen and (min-width: 1980px) {
        /* .top_nav_link {
            width: 8%;
        } */


    }

    .top_nav_login {
        position: relative;
        font-size: 15px;
        cursor: pointer;
        line-height: 40px;
        padding-right: 10px;
        font-weight: 700;
        width: 100%;
        text-align: right;
    }

    .top_nav_login:hover {
        color: var(--green);
    }



}

/* MIDDLE NAVIGATION ELEMENTS */
@media screen {

    nav.middle_nav {
        position: fixed;
        top: 0px;
        padding-bottom: 10px;
        padding-top: 60px;
        padding-left: 10%;
        width: 100%;
        color: var(--white);
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .midNavCover {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: var(--black);
        background-image: url('/Images/Backgrounds/background_black.jpg');
        background-size: cover;
        opacity: 0.85;
    }


    .Menu_holder.fixed nav.middle_nav {
        width: 100%;
        margin-left: 0;
        top: -55px;
        padding-left: 0;
    }

    .Menu_holder.fixed .siteLogo {
        display: none;
    }

    .middle_nav_section {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .middle_nav_section a {
        margin-left: 0 !important;
    }

    .siteLogoSmall {
        float: left;
        width: auto;
        margin-right: 10px;
        ;
    }

    img.siteLogoHead {
        height: 60px;
        margin-left: 0;
    }

    img.logosmall {
        height: 50px;

    }



    .nav-items {
        display: block;
    }

    .lower_wrap {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        float: left;
    }


    .hamburger {
        cursor: pointer;
        height: 40px;
        margin: 0;
        padding-left: 5px;
        padding-top: 2px;
        min-width: 45px;
        float: left;
    }

    .hamburger._top {
        width: 60px;
    }

    .hamburger:hover {
        color: var(--highlight);
    }

    .hamburger:hover>svg {
        fill: var(--highlight)
    }

    .hamburger i {
        margin: 0;
        font-size: 33px;
    }

    .nav_link {
        float: left;
        margin-right: 20px;
        padding: 5px;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.8em;
        text-decoration: none;
        text-transform: uppercase;
        border-bottom: 2px solid var(--blue);
        transition: border .5s ease-out;
        color: var(--white);
        white-space: nowrap;
        overflow: visible;
        width: auto;
    }

    .nav_link:hover {
        border-bottom-color: var(--highlight);
        color: var(--highlight);
    }



}

/* MENU OVERLAY */
@media screen {


    @keyframes menuDown {
        0% {
            opacity: 0;
            transform: translateY(-100%)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }


    @keyframes menuFade {
        0% {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    .main-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        z-index: 200;
        color: var(--white);
        background-color: var(--black);
        overflow-y: auto;
        display: none;
        background: url("/Images/Backgrounds/background_black.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 30px;
    }

    .menu_title {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        /* justify-content: flex-end; */
        /* align-content: flex-end; */
        padding-bottom: 10px;
        border-bottom: solid 1px var(--white);
    }

    .menu_close {
        margin-right: 0;
        margin-left: 0;
        float: right;
        width: 100%;
        text-align: right;
    }

    .menu_close i {
        font-size: 40px;
        cursor: pointer;
        color: var(--blue);
        font-weight: bold;
        transition: all ease-in-out 1s;
    }

    /* .menu_close:hover {
        transform: rotate(90deg);
    } */

    .menu_close i:hover {
        color: var(--highlight);
        transform: rotate(90deg);

    }

    .menu_title a {
        margin-left: 5px;
        margin-top: 5px
    }

    .main-menu-container {
        height: 90%;
        overflow: hidden;
    }


    .menu_head,
    .menu_content {
        opacity: 0;
        padding: 0;
        margin-bottom: 25px;
        display: block;
        float: left;
    }

    .menu_head {
        width: 49%;
        margin-right: 1%;
        border-right: solid 1px var(--white);
    }

    .menu_content {
        width:50%;
        padding-left: 25px;
        overflow-y: scroll;
        height: 85vh;
    }

        .menu_content::-webkit-scrollbar {
        width: 13px;
    }

    .menu_content::-webkit-scrollbar-track {
        background: var(--scrollbarBG);
    }

    .menu_content::-webkit-scrollbar-thumb {
        background-color: var(--thumbBG);
        border: 3px solid var(--scrollbarBG);
    }


    .is-open_s_1 {
        animation-name: menuDown;
        animation-delay: .4s;
        animation-duration: .3s;
        animation-fill-mode: forwards;
        animation-timing-function: cubic-bezier(.075, .82, .165, 1)
    }

    .is-open_s_2 {
        animation-name: menuFade;
        animation-delay: .9s;
        animation-duration: .3s;
        animation-fill-mode: forwards;
        animation-timing-function: cubic-bezier(.075, .82, .165, 1)
    }




    ul.side-nav,
    ul.site-nav {
        margin: 0;
        padding: 0;
        height: 100vh;
        width: 100%;
    }

    ul.site-nav {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        width: 99%;
        padding: 0;
    }


    ul.side-nav {
        padding-top: 10px;
    }

    .side-nav-link {
        color: var(--white);
        text-transform: uppercase;
        margin-bottom: 20px;
    }


    .side-nav-link a {
        color: var(--whte);
    }

    .side-nav-link a:hover {
        color: var(--highlight)
    }

    div.sn0Head {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .sn0Head:before {
        content: "";
        position: absolute;
        height: 5px;
        background-image: var(--lineargrad);
        width: 70%;
        left: 15px;
        bottom: 0;
    }

    span.toggleSub {
        display: none;
    }

    li.sn0 {
        margin-bottom: 20px;
        padding: 5px 0;
        font-weight: 800;
        text-transform: uppercase;
        position: relative;
        width: 98%;
        font-size: 15px;
        margin-bottom: 25px;
        margin-right: 1%;
    }

    ul.site-nav-content {
        padding: 0;
        margin: 0;
        padding-left: 5%;
        width: 90%;
    }

    ul.site-nav-content li {
        font-size: 10px;
        line-height: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    a.nav_main_l2 {
        display: inline-block;
        font-weight: 400;
        font-size: 15px;
        text-transform: none;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.3;
        letter-spacing: normal;
        color: var(--white);
    }

    a.nav_main_l2.admin {
        color: var(--red);
        font-weight: bold;

    }

    .sn0Head_link {
        color: var(--white);
    }

    .sn0Head_link:hover,
    a.nav_main_l2:hover {
        color: var(--highlight);
    }


}

/* PAGE NAVIGATION ELEMENTS */
@media screen {

    .page-nav {
        width: 100%;
        color: #fff;
        min-height: 60px;
        z-index: 10;
        background-color: var(--black);
    }

    .page-nav.fixed {
        position: fixed;
        top: 50px;
    }



    .top-nav-block {
        display: block;
        float: left;
        width: 100%;
        text-align: left;
        zoom: 0.9
    }

    .top-nav-items {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-content: flex-start;
        width: 100%;
    }

    .top-nav-item {
        float: left;
        margin: 5px;
        padding: 0px;
        padding-right: 5px;
        margin-right: 20px;
        height: 40px;
        white-space: nowrap;
        line-height: 40px;
        font-size: 0.9em;
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: var(--blue);
        cursor: pointer;
    }

    .top-nav-item.seperator {
        width: 3px;
        border-right: solid 3px var(--grey);
        border-bottom: none;
    }



    .top-nav-block.right .top-nav-items {
        justify-content: flex-end;
    }


    .top-nav-item.current,
    .top-nav-item:hover {
        border-bottom-color: var(--highlight);
    }

    .top-nav-item a {
        height: 100%;
        width: 100%;
        max-width: 100%;
        display: block;
        margin-left: 1%;
        color: var(--white);
    }


}

@media screen and (min-width:765px) {

    .menu_head {
        width: 30%;
    }

    .menu_content {
        width: 68%;
        padding-left: 25px;
    }

    a.nav_main_l2 {
        font-size: 20px;
    }

    .top-nav-block {
        width: 50%;
    }
}

@media screen and (min-width:1080px) {}

@media screen and (min-width:1024px) {


    .Menu_holder {
        display: block;
    }

    .mobileNav {
        display: none;
    }

    .page-nav.fixed {

        top: 65px;
    }

    .main-menu-container {
        flex-direction: row;
    }

    .menu_head {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 19%;
        margin-right: 35px;
    }

    .menu_content {
        min-width: 75%;
        max-width: 75%;
        padding: 0;
    }

    ul.site_nav {
        flex-wrap: wrap;
    }

    li.sn0 {
        width: 48%;

    }
}

@media screen and (min-width:1400px) {
    li.sn0 {
        width: 32%;
    }

    .top_nav_link {
        width: 300px;
    }

    .top-nav-block {
        zoom: 0.8
    }

     .menu_content {
        overflow-y: unset;
        height: auto;
    }

}