/**************
Logo
**************/

#header-logo {
    padding-top: calc(3 / 100 * var(--vwmax));
    padding-bottom: calc(3 / 100 * var(--vwmax));
    width: calc(50 / 100 * var(--vwmax));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#header-logo .logo-upper,
.header-logo .logo-bottom {
    height: calc(0.5 * var(--header-height));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.header-logo .logo-bottom {
    height: 0;
}

#header-logo .logo-upper {
    background-image: url('./images/logo-upperhalf.png');
}

#header-logo .logo-bottom {
    background-image: url('./images/logo-bottomhalf.png');
}

.first_menu {
    display: block;
}

.first_menu a {
    display: block;
    height: 100%;
    font-size: calc(2.25 * var(--font-size));
}

.first_menu #logo {
    color: var(--theme-color);
}

/**************
Menus
**************/

#access {
    display: none;
}

ul.sf-menu {
    display: inline-block;
    margin: 0px;
    height: 100%;
    background-color: transparent;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

ul.sf-menu li  {
    position: static;
    display: inline-block;
    background-color: transparent;
    height: 100%;
}

ul.sf-menu a {
    border: 0;
    color: var(--text-color);
    font-size: var(--menu-font-size);
    font-family: var(--sans-family), serif;
    font-variation-settings: 'wdth' 200, 'wght' 100;
    text-transform: uppercase;
    padding-left: calc(1 / 100 * var(--vwmax));
    padding-right: calc(1 / 100 * var(--vwmax));
}

ul.sf-menu a.active {
    text-decoration: none;
    background-color: var(--dual-theme-color);
}

.sf-arrows .sf-with-ul {
    padding-right: 0.1em;
}

.sf-arrows .sf-with-ul:after {
    right: -0.85em;
    margin-top: -0.1em;
    margin-right: 0.25em;
    border: .3em solid transparent;
    border-top-color: #a1a2a3;
}

ul.sf-menu .current-menu-item {
}

#access ul.sf-menu li:hover,
#access ul.sf-menu li.sfHover {
    background-color: transparent;
}

#access ul.sf-menu > li > a:hover {
    color: var(--theme-alternate-color);
    background-color: transparent;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

#access ul.sub-menu {
    background-color: white;
    box-shadow: none;
    padding-bottom: calc(1.25 / 100 * var(--vwmax));
    width: 100%;
    transition: all 1.75s;
}

#access ul.sub-menu li {
    display: block;
}

#access ul.sub-menu a,
#access ul.sub-menu li a.hover {
    background-color: white;
    transform: none;
    color: var(--grey-alt);
    margin-top: calc(1.25/100 * var(--vwmax));
    margin-bottom: calc(1.25/100 * var(--vwmax));
}

#access ul.sub-menu {
    border: 1px solid lightgrey;
}

#menu-more-items {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    height: 100%;
    margin: 0;
}

#menu-more-items img {
    width: calc(1.25vh + 1.0 / 100 * var(--vwmax));
}

.menu-cart-wrapper,
.menu-hamburguer-wrapper {
    position: absolute;
    top: calc(3.25 / 100 * var(--vwmax));
    right: calc(1.25 / 100 * var(--vwmax));
}

.menu-cart-count-red {
    position: absolute;
    left: 50%;
    font-family: Helvetica, sans-serif;
    font-size: calc(0.75 * var(--font-size));
    background-color: black;
    color: var(--text-color);
    font-weight: 600;
    width: calc(0.45vh + 1.0 / 100 * var(--vwmax));
    height: calc(0.45vh + 1.0 / 100 * var(--vwmax));
    border-radius: calc(0.35vh + 0.5 / 100 * var(--vwmax));
    text-align: center;
    line-height: 1.2;
}

.menu-cart-link {
    display: block;
}

.menu-cart-count {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Helvetica, sans-serif;
    font-size: calc(0.5 * var(--font-size));
    color: black;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

#menu-more-items a {
    display: inline-block;
}

#menu-more-items-mobile {
    display: none;
}

/* ul.sf-menu li .active {
    border-bottom-style: solid;
    border-bottom-width: 1px;
} */

@media (min-width: 768px) {

    #access {
        display: inline-block;
        width: 100%;
        font-size: 14px;
    }
    
}

/*** MOBILE ****/

.mm-navbar, .mm-panel {
    background-color: rgba(6, 3, 4, 1);
}

.mm-listitem {
    color: #ffffff;
    font-size: 6vw;
    border: 0;
    border-image-width: 0;
    padding-top: 4vw!important;
    padding-bottom: 4vw!important;
}

.mm-btn_close {
    position: absolute;
    right: 0;
    background-image:url('images/menu-close.svg');
    background-repeat: no-repeat;
    background-position: 6px 20px;
    float: right;
}

.mm-btn_close::after, .mm-btn_close::before {
    border-color: #ffffff;
    border-width: 0px;
    width: 12px;
    height: 12px;
}

.mm-navbars_top {
    border-bottom-width: 0px;
    height: 70px;
}

.mm-navbars_top > .mm-navbar {
    height: 50px;
}

.mm-listitem:after {
    border-width: 0px!important;
}

.mm-menu_navbar_top-2 .mm-panels {
    top: 90px;
}


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

    .mm-menu_opened {
        width: 200px;
    }

    .mm-btn_close {
        padding-right: 50px;
        padding-top: 20px;
    }

    .mm-navbars_top > .mm-navbar + .mm-navbar {
        height: 50px;
    }
}

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

    #accessmob {
        display: block;
    }

    #menu-more-items {
        display:none;
    }
    
    #menu-more-items-mobile {
        display:block;
    }

    /* #accessmob .navbar-toggle { */
    /*     position: absolute; */
    /*     bottom: 3.25vw; */
    /*     right: 0; */
    /* } */
    
    #accessmob .menu-hamburguer-wrapper,
    #accessmob .menu-cart-wrapper {
        position: absolute;
        display: block;
        top: auto;
        bottom: 2vw;
        right: 15vw;
        margin: 0;
    }

    #accessmob .menu-hamburguer-wrapper {
        right: 3vw;
    }

    #accessmob .menu-cart-count {
        font-size: calc(0.5 * var(--font-size));
        width: calc(3 / 100 * var(--vwmax));
        height: calc(3 / 100 * var(--vwmax));
        border-radius: calc(1.5 / 100 * var(--vwmax));
        line-height: 1.4;
    }
    
    #accessmob .menu-hamburguer-wrapper img,
    #accessmob .menu-cart-wrapper img {
        margin-top: calc(1.0vh + calc(0.1 / 100 * var(--vwmax)));
        width: calc(6 / 100 * var(--vwmax));
    }
    
    #mobmenu-title img {   
        width: 100px;
    }

    .mobmenu-icon img {
        padding-top: 2vw;
        padding-bottom: 1vw;
    }

    .mobmenu-icon img {
        height: 10vw;
        width: 10vw;
    }

    .mm-navbars_top #logo {
        color: var(--text-color);
    }

    .mm-menu_navbar_top-3 .mm-panels {
        height: calc(var(--mm-navbar-size) * 3 + 18px);
    }

    #mob-menu {
        background-colod: black;
    }

    .mm-menu a,
    .mm-menu a:active,
    .mm-menu a:hover, 
    .mm-menu a:link, 
    .mm-menu a:visited {
        color: var(--text-color);
        text-decoration: none;
        background-color: black;
    }

    .mm-btn_prev:before,
    .mm-btn_next:after {
        border-color: white;
    }
}

@media only screen and (min-width: 767px) {
    #menu-r, #mob-menu, .mm-wrapper__blocker.mm-slideout {
        display: none;
    }
}
