.root-menu{
    background: #893333;
    margin-bottom: 10px;
}
.root-multilevel-menu{
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    position: relative;
    flex-basis: 100%;
}

.root-multilevel-menu > li{
    position: relative;

    /* margin: 0 2px; */
    padding-right: 2px;
}
.root-multilevel-menu > li:first-child{
    border-radius: 5px 0 0 5px;
}

.root-multilevel-menu > li:last-child{
    margin-right: 0px;
}

.root-multilevel-menu > li:last-child > a{
    padding-right: 0px;
}


.root-multilevel-menu > li > a{
    font-size: 12px;
    color: #FFE5DB;
    opacity: 1;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 15px;
    -webkit-transition: opacity 300ms ease;
    -moz-transition: opacity 300ms ease;
    -ms-transition: opacity 300ms ease;
    -o-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
    position: relative;
    z-index: 5;
    margin-right:5px;
}
.root-multilevel-menu > li > a:last-child{
    margin-right:0px;
}

.root-multilevel-menu > li.parent > a{
    background: url('images/menu-arrow.png') right center no-repeat;
}


.root-multilevel-menu > li:hover{
    background-color: #793131;

    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.root-multilevel-menu > li > ul{
    display: none;
    min-width: 250px;
    max-height: 600px;
    background-color: rgb(255 255 255);
    position: absolute;
    top: 35px;
    left: 0px;
    z-index: 6;
    padding: 0px;
    padding-top: 0;
    transition: all 1s ease;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 15px 0 #c85f5f;
}

.root-multilevel-menu > li.active > a{
    /*	background-color: #FFF;
        opacity: 1;
        color: #333;*/
}

.root-multilevel-menu > li.active ul{
    display: block;
}

.root-multilevel-menu > li > ul > li > a{
    color: #000;
    background-color: transparent;
    display: block;
    text-decoration: none;
    padding: 5px 15px;
    font-size: 12px;
    -webkit-transition: background 300ms ease;
    -moz-transition: background 300ms ease;
    -ms-transition: background 300ms ease;
    -o-transition: background 300ms ease;
    transition: background 300ms ease;
}

.root-multilevel-menu > li > ul > li > a:hover{
    background: #f2e9e9;
    color: #733540;
    -webkit-transition: background 300ms ease;
    -moz-transition: background 300ms ease;
    -ms-transition: background 300ms ease;
    -o-transition: background 300ms ease;
    transition: background 300ms ease;
}

.root-multilevel-menu > li.search{
    margin: 0 12px;
}

.root-multilevel-menu > li.search > a{
    content: '';
    width: 16px;
    background: url('images/search-icon.png') center no-repeat;
}

.root-multilevel-menu > li.online > a:before{
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    line-height: 59px;
    background: url('images/online-icon.png') center no-repeat;
    margin-right: 3px;
}
.root-multilevel-menu > li.user > a:before{
    content: '';
    content: '';
    display: inline-block;
    width: 10px;
    height: 11px;
    line-height: 59px;
    background: url('images/user.svg') center no-repeat;
    margin-right: 5px;
}

.root-multilevel-menu > li.parent .right-button {
    display: none;
}

@media screen and (max-width: 920px) {
.rates-wrapper{
    margin-top:20px;
}
    .header .root-multilevel-menu > li.parent .right-button {
        display: block;
        height: 51px;
        width: 60px;

        position: absolute;
        right: 0;
        top: 0;

        background: url("images/right-arrow.png") no-repeat center center;
        z-index: 25;
        cursor: pointer;
    }

    .root-multilevel-menu > li.parent .right-button.active {
        background: url("images/close-menu.png") no-repeat center center;
        background-color: #0c0c0c;
    }

    .root-multilevel-menu > li.parent .right-button:hover {
        background-color: #0c0c0c;
    }

    .header .root-multilevel-menu.wrapper{
        display: block;

        position: absolute;
        padding: 0 !important;
        top: 49px;
        left: -1000px;

        width: 100vw;
        height: 100vh;

        /*max-height: 500px;*/

        padding: 0;
        margin: 0;

        background-color: #212121;
        z-index: 20;
        overflow: hidden;
        transition: 0.5s;
    }

    .menu-wrapper.open .root-multilevel-menu{
        left: 0px;
    }

    .menu-wrapper.open .root-multilevel-menu > li{
        display: block;
    }

    .menu-wrapper.open .root-multilevel-menu > li a{
        font-size: 14px;
        line-height: 40px;
        height: 50px;
        color: #FFF;
        border-bottom: 1px solid #353535;
        opacity: 1;
        position: relative;
    }

    .menu-wrapper.open .root-multilevel-menu > li a:hover {
        background: rgba(255, 255, 255, 0.89);;
    }

    .root-multilevel-menu > li.parent > a{
        background-image: none;
    }

    .menu-wrapper.open .root-multilevel-menu > li.search{
        display: none;
    }

    .menu-wrapper.open .root-multilevel-menu > li.online a::before{
        display: none;
    }

    .root-multilevel-menu > li > ul {
        display: block;
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        box-shadow: none;
        background-color: #0c0c0c;
        position: absolute;
        top: 51px;
        left: -1000px;
        z-index: 30;
        padding: 0px;
        padding-top: 0;
        white-space: nowrap;
        overflow: hidden;
        transition: .5s;
    }

    .root-multilevel-menu > li.active ul {
        left: 0px;
    }
    .root-multilevel-menu > li.active ul li a{
        border-bottom: 1px solid #1f1e1e;
    }
}
