.r_topbar .mitem:first-of-type {
    border-left: none;
}

.r_header_mbackdrop {
    display: block;
    position: fixed;
    z-index: 150;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ===============================
    MENUS
   =============================== */

.usemobilemenu .r_header .nav.desktopmenu {
    display: none;
}

/*@media screen and (min-width: 768px)*/
@media screen and (max-width: 1003px) {
    .usemobilemenu .r_header .nav.desktopmenu .level1 {
        display: none;
    }
}

@media screen and (min-width: 1004px) {
    .usemobilemenu .r_header .nav.desktopmenu {
        display: block;
    }
}


/* ===============================
    DESKTOP MAIN MENU
   =============================== */
.desktopmenu .level0 > li {
    position: relative;
    z-index: 151;
}

/*
    Descendants list items
*/
.desktopmenu .haschildren > ul {
    /*display: none;*/
    position: absolute;
    background-color:transparent;;
    box-shadow: 2px 2px 5px #888888;
    width: 200px;
    z-index: 158;
    
    opacity: 0;
    max-height: 0;
    overflow-y: hidden;
    
    -webkit-transition: opacity 0.4s linear, max-height 0.4s linear, overflow-y 0.4s linear;
    -moz-transition: opacity 0.4s linear, max-height 0.4s linear, overflow-y 0.4s linear;
    -ms-transition: opacity 0.4s linear, max-height 0.4s linear, overflow-y 0.4s linear;
    -o-transition: opacity 0.4s linear, max-height 0.4s linear, overflow-y 0.4s linear;
    transition: opacity 0.4s linear, max-height 0.4s linear, overflow-y 0.4s linear;
}

.desktopmenu .haschildren.open > ul {
    /*display: block;*/
    opacity: 1;
    max-height: 600px;
    overflow-y: visible;
}

.desktopmenu.nav .level1 {
    top: 100%;
    left: 0;
}

.desktopmenu.nav .level1 .haschildren > ul {
    top: 0;
    left: 100%;
}

.desktopmenu.nav .level1 li {
    display: list-item;
    text-align: left;
    clear: both;
    position: relative;
    margin: 0;
}

.desktopmenu.nav .level1 li:before,
.desktopmenu.nav .level1 li:after {
    content: '';
}

.desktopmenu.nav .level1 a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 6px 8px;
    color:#000000;
}

.desktopmenu.nav .level1 .haschildren > a {
	background-image:url('img/atc_000000__icon_right_arrow_FF0000.png');
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 0.9em 0.9em;
    padding-right: 20px;
}

body.touch .desktopmenu.nav .level1 .haschildren > .childhandle,
.mobilemenu_container .haschildren > .childhandle {
    display: block;
    box-sizing: border-box;
    width: 20%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

body.no_touch .desktopmenu.nav .level1 .haschildren > .childhandle,
.desktopmenu .level0 > .haschildren > .childhandle {
    display: none;
}

@media screen and (max-width: 1003px) {
    .r_header .nav.desktopmenu.nav .level1 {
        display: none;
    }
}
