/*** MOBILE MENU ***/

.mm-navbars_top {
    border-bottom-width: 0px;
    height: var(--mmenu-header-height);
}

.mm-menu_navbar_top-2 .mm-panels {
    top: calc(var(--mmenu-header-height) + var(--mmenu-header-border-height));
    height: 100%;
}

.mm-navbars_top > .mm-navbar + .mm-navbar {
    height: var(--mmenu-header-second-row-height);
}

.mm-navbars_top > .mm-navbar:first-child {
    height: var(--mmenu-header-first-row-height);
}

.mm-navbars_bottom > .mm-navbar {
    height: var(--mmenu-header-second-row-height);
}

#mobile_menu, #accessmob {
    display: none;
}

#mobmenu-tel, #mobmenu-contact {
  width: 10%;
}

#mobmenu-title {
  width:80%;
}

#accessmob .navbar-toggle {
    padding-left: 2vw;
}

#mobmenu-title img {
    width: 100%;
}

/* .mm-navbars_bottom>.mm-navbar:not(.mm-navbar_has-btns),
.mm-navbars_top>.mm-navbar:not(.mm-navbar_has-btns) {
    background-color: var(--mm-background-color);
} */

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

    #accessmob {
        display: block;
    }

    #mobile_menu {
        z-index: 999;
    }

    #menu-r, #mob-menu {
        z-index: 999;
        background-color: white;
    }

    #menu-more-items {
        display:none;
    }
    
    /* .mm-close {
        position: absolute;
        cursor: pointer;
        right: calc(2.25 / 100 * var(--vwmax));
        top: calc(2.25 / 100 * var(--vwmax));
        width: calc(4.5 / 100 * var(--vwmax));
        height: calc(4.5 / 100 * var(--vwmax));
        background-image:url('images/cross.png');
        background-repeat: no-repeat;
        background-size: contain;
    } */

    #menu-more-items-mobile {
        display:block;
    }
    
    #mobmenu-tel, #mobmenu-contact {
        padding-top: 5vh;
    }
/*
    #access {
        height: 30px;
        padding-top: 0px;
        padding-left:30px;
    }
    
    #access li {
	      margin-right:10px;
	      background-color: #ffffff;
	      height:3em;
    }
    
    .menu-item {
        font-size:18px;
    }

    #access {
        displayy: none;
    }
*/
    .mm-panel {
        padding-right: 0;
    }

    .mm-menu>.mm-panel>.mm-listview {
        margin:0px;
    }

    .menu {
        width: 100%;
        padding: 1px 10px 8px 3px;
    }

    #mobile_menu {
        padding-top:0px;
    }
    #mobile_menu ul {
        margin-top:6px;
    }

    .mm-navbar {
        text-align: center;
        height: var(--mmenu-header-first-row-height);
        position: relative;
    }
    .mm-navbar-top {
        height: 110px;
        position: relative;
    }
    .mm-hasnavbar-top-1 .mm-panel {
        top: 150px;
    }
    .mm-navbar:before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        height: 100%;
        width: 1px;
    }
    .mm-navbar > * {
        display: inline-block;
        vertical-align: middle;
    }

    ul.language-flags li {
        display: inline;
    }

    .mm-navbar a {
        color: rgba(0, 0, 0, 0.6) !important;
        font-size: 32px;
        height: 100%;
        padding-top: 0;
    }

    .mm-navbar .mm-navbar__breadcrumbs a,
    .mm-navbar .mm-navbar__title {
        color: rgba(221, 221, 221, 0.6) !important;
        background-color: transparent;
        margin-top: 20px;
        margin-left: 30px;
        font-size: 24px;
    }

    .mm-navbar-top a {
        color: rgba(0, 0, 0, 0.6) !important;
        font-size: 24px !important;
        line-height: 120px;
        /*    width: 33%; */
        height: 80px;
        padding: 0;
    }
    .mm-navbar a:hover {
        border-color: #fff;
        color: #666 !important;
    }
    .mm-menu > .mm-panel.mm-hasnavbar {
        top:60px;
    }

    .mm-menu_opened {
        width: 100vw;
        max-width: none;
    }

    .mm-menu > .mm-panel > .mm-listview.mm-first {
        margin-top: 0px;
    }

    .mm-panels>.mm-panel>.mm-listview:first-child, 
    .mm-panels>.mm-panel>.mm-navbar+.mm-listview {
        margin: 0;
        padding-right: 0;
    }
    
    .mm-listview li:last-child:after {
        content: none;
        display: none;
    }
    .mm-listview li:after {
        left: 20px !important;
        right: 20px !important;
    }
    .mm-listview a {
    }
    .mm-listitem__text {
        padding-right: 0;
        padding-left: 7.5%;
    }

    .mm-menu a, 
    .mm-menu a:active, 
    .mm-menu a:hover, 
    .mm-menu a:link, 
    .mm-menu a:visited {
        max-width: 85%;
        border: 0;
    }

    /* .mm-listview a, */
    .mm-menu .mm-listview>li .mm-prev:before, 
    .mm-menu .mm-listview>li .mm-next:after, 
    .mm-menu .mm-listview>li .mm-arrow:after {
        display: none;
        color: rgba(255, 255, 255, 0.6);
        border-color: rgba(255, 10, 10, 0.6);
    }
    .mm-listview a:hover,
    .mm-listview a:hover .fa {
        color: #777;
    }
    .mm-prev:before, .mm-next:after, .mm-arrow:after {
        border-color: #33ccff;
    }
    .mm-listview .fa {
        position: absolute;
        left: 20px;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    .fa {
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    .menu-item img {
        vertical-algn: baseline;
    }

    .mm-navbar > * {
        padding: 0;
    }
}
