/* Toogle menu */
#toogle_menu {
    color: #fff;
    display: block;
    padding: 1em;
    text-transform: uppercase;
    z-index: 2;
    cursor: pointer;
}
#toogle_menu i {
    margin-right: .5em;
    transition: linear .3s;
}
/* Main menu */
.menu_main ul {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu_main ul ul {
    background: #20222d;
    border-top: 3px solid #eee;
    display: none;
    left: 0;
    margin-top: -3px;
    padding-left: 1em;
    position: initial;
    z-index: 1;
}
.menu_main ul li {
    display: block;
    position: relative;
}
.menu_main ul li:hover > ul {
    display: block;
}
.menu_main ul li.active > a {
    color: #fff;
}
.menu_main ul li.parent > a:after {
    background-color: #fff;
    content: '';
    float: right;
    height: 8px;
    margin-left: 1em;
    opacity: 1;
    position: relative;
    top: 13px;
    transform: none;
    vertical-align: middle;
    width: 8px;
}
.menu_main ul a {
    color: #fff;
    display: block;
    padding: 0.5em;
    text-decoration: none;
}

/* Sous menu */
.menu_main ul ul a {
    display: block;
    float: none;
    padding: 10px;
    text-transform: none;
    white-space: normal;
    width: auto;
    min-width: 200px;
}
.menu_main ul ul ul {
    left: 100%;
    top: 0;
}
.menu_main ul ul li {
    border: 0;
    display: block;
    float: none;
}
.menu_main ul ul li.active > a {
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
}
.menu_main ul li.active.parent > a:after {
    background-color: #fff;
}
@media (min-width: 768px) {
    .menu_main ul {
        display: block;
    }
    .menu_main ul li {
        display: inline-block;
    }
    .menu_main ul ul {
        padding-left: 0;
        position: absolute;
    }
    #toogle_menu {
        display: none;
    }
}

#wrapper_navigation .menu_main ul ul {
    left: auto;
    right: 0;
}
#wrapper_navigation .menu_main ul ul ul {
    right: 100%;
    top: 0;
}
#wrapper_navigation .menu_main {
    margin-bottom: -1px;
}
#wrapper_navigation .menu_main ul ul li:hover > a {
    background-color: rgba(255, 255, 255, .1);
}
#wrapper_navigation .menu_main ul li.depth-1.active > a {
    border-bottom: 3px solid #fff;
}
#wrapper_navigation.lite .menu_main ul li.parent > a::after {
    background-color: #333;
}
#wrapper_navigation.lite .menu_main ul ul li.parent > a::after {
    background-color: #fff;
}
#wrapper_navigation.lite .menu_main ul a {
    color: #333;
}
#wrapper_navigation.lite .menu_main ul ul a {
    color: #fff;
}
#wrapper_navigation.lite .menu_main ul li.depth-1.active > a {
    border-bottom: 3px solid #333;
}
#wrapper_navigation.lite #toogle_menu {
    color: #333;
}

/* User menu */
.menu_user ul {
    padding: 0;
}
.menu_user li {
    display: inline-block;
}
.menu_user li a {
    padding: 1em;
}

/* Menu drawer */
.navbar-nav ul {
    padding: 0;
}
.navbar-nav ul ul a {
    padding-left: 1.5em;
}
.navbar-nav ul ul ul a {
    padding-left: 3em;
}
.navbar-nav li {
    list-style: none;
}
.navbar-nav li a {
    display: block;
    overflow: hidden;
    padding: 1em;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar-nav li a:hover {
    background-color: #eee;
}
.navbar-nav li a i {
    margin-right: 5px;
}
.navbar-nav li.active > a {
    background-color: #e6e6e6;
}

/* Dark */
.dark .navbar-nav li a {
    color: #9baec8;
}
.dark .navbar-nav li.active a {
    color: #fff;
}
.dark .navbar-nav li.active > a {
    background-color: #2185d0;
}
.dark .navbar-nav li.active a:hover {
    background-color: #1678c2;
}
.dark .navbar-nav li a:hover {
    background-color: #1f232b;
    color: #fff;
}