/* ==========================================
   BSFW MENU PRO V8.1 FINAL
========================================== */

/* ==========================================
   GLOBAL HEADER
========================================== */

.bsfw-menu-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;

    position:fixed;
    top:0;
    left:0;

    width:100%;

    padding:25px 50px;

    background:transparent;

    z-index:99999;

    transition:all .3s ease;
}

body{
    padding-top:0;
}

/* ==========================================
   LEFT / RIGHT MENU AREAS
========================================== */

.bsfw-menu-left,
.bsfw-menu-right{
    flex:1;
    display:flex;
    align-items:center;
}

.bsfw-menu-left{
    justify-content:flex-end;
}

.bsfw-menu-right{
    justify-content:flex-start;
}

/* ==========================================
   LOGO
========================================== */

.bsfw-menu-logo{
    width:300px;
    text-align:center;
    flex-shrink:0;
}

.bsfw-menu-logo img{
    display:block;
    margin:auto;
    max-width:100%;
    height:auto;
}

/* ==========================================
   MAIN MENU
========================================== */

.bsfw-nav-menu{
    display:flex;
    align-items:center;
    gap:40px;

    margin:0;
    padding:0;
    list-style:none;
}

.bsfw-nav-menu li{
    position:relative;
    list-style:none;

    /* prevents hover flicker */
    padding-bottom:20px;
}

.bsfw-nav-menu a{
    color:#ffffff;
    text-decoration:none;

    font-size:16px;
    font-weight:inherit;
    text-transform:uppercase;

    transition:.25s ease;
}

.bsfw-nav-menu a:hover{
    color:#d4a437;
}

/* ==========================================
   DESKTOP DROPDOWNS
========================================== */

.bsfw-nav-menu .sub-menu{

    display:block;

    opacity:0;
    visibility:hidden;

    transform:translateY(15px);

    position:absolute;
    top:100%;
    left:0;

    min-width:320px;

    background:rgba(0,0,0,0.70);

    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

    border:1px solid rgba(212,164,55,.25);

    border-radius:12px;

    padding:12px 0;

    margin-top:-5px;

    box-shadow:0 10px 35px rgba(0,0,0,.40);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index:999999;

    pointer-events:none;
}

.bsfw-nav-menu li:hover > .sub-menu{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

    pointer-events:auto;
}

.bsfw-nav-menu li:hover{
    z-index:999999;
}

.bsfw-nav-menu .sub-menu li{
    width:100%;
    padding:0;
}

.bsfw-nav-menu .sub-menu a{

    display:block;

    padding:14px 24px;

    color:#ffffff;

    white-space:nowrap;

    transition:.25s ease;
}

.bsfw-nav-menu .sub-menu a:hover{

    background:rgba(212,164,55,.12);

    color:#d4a437;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width:1024px){

    .bsfw-menu-wrapper{
        padding:20px;
    }

    .bsfw-nav-menu{
        gap:20px;
    }

    .bsfw-menu-logo{
        width:220px;
    }

    .bsfw-nav-menu a{
        font-size:14px;
    }
}

/* ==========================================
   MOBILE PLACEHOLDER
   V8.2 HAMBURGER DRAWER COMING NEXT
========================================== */

@media (max-width:767px){

    .bsfw-menu-wrapper{
        padding:15px 20px;
    }

}

/* ==========================================
   V8.2 MOBILE DRAWER SYSTEM
========================================== */

/* Hidden on desktop */

.bsfw-mobile-toggle,
.bsfw-mobile-overlay,
.bsfw-mobile-drawer{
    display:none;
}

/* ==========================================
   TABLET + MOBILE
========================================== */

@media (max-width:1024px){

    /* Hide desktop menus */

    .bsfw-menu-left,
    .bsfw-menu-right{
        display:none;
    }

    /* Center logo + hamburger */

    .bsfw-menu-wrapper{
        justify-content:space-between;
    }

    .bsfw-menu-logo{
        width:auto;
    }

    /* Hamburger */

    .bsfw-mobile-toggle{

        display:flex;

        flex-direction:column;

        justify-content:center;

        gap:5px;

        width:40px;
        height:40px;

        background:none;
        border:none;

        cursor:pointer;

        z-index:100001;
    }

    .bsfw-mobile-toggle span{

        display:block;

        width:28px;
        height:3px;

        background:#ffffff;

        border-radius:2px;
    }

    /* Overlay */

    .bsfw-mobile-overlay{

        display:block;

        position:fixed;

        inset:0;

        background:rgba(0,0,0,.7);

        opacity:0;

        visibility:hidden;

        transition:.3s ease;

        z-index:99998;
    }

    /* Drawer */

    .bsfw-mobile-drawer{

        display:block;

        position:fixed;

        top:0;
        right:-350px;

        width:320px;
        max-width:90vw;

        height:100vh;

        background:#000;

        overflow-y:auto;

        transition:.35s ease;

        z-index:99999;
    }

    /* Drawer Header */

    .bsfw-mobile-header{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    padding:20px 25px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

    .bsfw-mobile-close{

    background:none;

    border:none;

    color:#ffffff;

    font-size:38px;

    line-height:1;

    cursor:pointer;

    transition:.25s ease;

}

.bsfw-mobile-close:hover{

    color:#d4a437;

}
    }

    /* Mobile Menu */

    .bsfw-mobile-menu{

        list-style:none;

        margin:0;
        padding:0 25px 40px;
    }

    .bsfw-mobile-menu li{

        list-style:none;

        margin-bottom:10px;
    }

    .bsfw-mobile-menu a{

        color:#fff;

        text-decoration:none;

        text-transform:uppercase;

        font-size:18px;

        display:block;

        padding:10px 0;
    }

    .bsfw-mobile-menu .sub-menu{

        margin-top:10px;
        margin-left:20px;
    }

    .bsfw-mobile-menu .sub-menu a{

        font-size:15px;

        color:#d4a437;
    }

    /* OPEN STATE */

    .bsfw-mobile-overlay.active{

        opacity:1;

        visibility:visible;
    }

    .bsfw-mobile-drawer.active{

        right:0;
    }


/* ==========================================
   V8.4 MOBILE ACCORDION
========================================== */

.bsfw-mobile-menu .sub-menu{
    max-height:0;
    overflow:hidden;
    margin:0;
    transition:max-height .35s ease;
}

.bsfw-mobile-menu .sub-menu.open{
    max-height:500px;
}

.bsfw-mobile-menu .sydney-dropdown-link{
    position:relative;
    padding-right:35px;
}

.bsfw-mobile-menu .sydney-dropdown-link::after{
    content:"+";
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    color:#d4a437;
    font-size:22px;
    font-weight:600;
    width:20px;
    text-align:center;
    transition:.25s ease;
}

.bsfw-mobile-menu li.open > .sydney-dropdown-link::after{
    content:"×";
}

.bsfw-mobile-menu
li:not(.menu-item-has-children)
> .sydney-dropdown-link::after{
    display:none;
}

.bsfw-mobile-menu li.open > .sydney-dropdown-link::after{
    content:"×";class.module
}
/* CHANGE + TO × WHEN OPEN */



/* NO ICON ON NORMAL LINKS */

.bsfw-mobile-menu
li:not(.menu-item-has-children)
> .sydney-dropdown-link:after{

    display:none;

}