/* The side navigation menu */
.mf-nav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 30px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* Sposto a destra i vari livelli */
.mf-nav ul{
    padding-left: 10px;
}

.mf-nav ul ul{
    padding-left: 20px;
}

.mf-nav ul ul ul{
    padding-left: 30px;
}

.mf-nav ul ul ul ul{
    padding-left: 40px;
}

.mf-nav ul ul ul ul ul{
    padding-left: 50px;
}

/* The navigation menu links */
.mf-nav a {
    padding: 5px 5px 5px 5px;
    text-decoration: none;
    font-size: 1em;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* Se aperto allora espando il width */
.mf-nav-opened{
    width: 250px;
}

/* When you mouse over the navigation links, change their color */
.mf-nav a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.mf-nav .mf-nav-closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}


.mf-nav ul{
    list-style-type: none;
}

/* Nascondo i sottomenu e lascio solo i principali */
.mf-menu-list ul{
    display: none;
}

.mf-menu-expanded {
    display: block !important;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}