/* Strip the ul of padding and list styling*/
.menumobile ul {
    list-style-type: none;
    margin: 0em;
    padding: 0em;
    position: absolute;
}

/* Create a horizontal list with spacing*/
.menumobile li {
    display: inline-block;
    text-align: left;
    line-height: 1.6em;
}

/* Style for menu links*/
.menumobile li a {
    text-decoration: none;
}
/* Hover state for top level links*/
/*
.menumobile li:hover a {
}
*/

/* Style for dropdown links*/
/*
.menumobile li:hover ul a {
    color: #202020;
    height: 40px;
    line-height: 40px;
}
*/
/* Hover state for dropdown links*/
/*
.menumobile li:hover ul a:hover {
    color: #fff;
}
*/
/* Hide dropdown links until they are needed*/
.menumobile li ul {
    display: none;
    top: 3.3em;
}

/* Make dropdown links vertical*/
.menumobile li ul li {
    background-color: #f4f4f4;
    border-bottom: 0.2em #9B0014 solid;
    padding: 0.5em 1em 0px 1em;
    min-height: 1.9em;
    float: left;
    line-height: normal;
    width: 11em;
    position: relative;
    z-index: 1000;
    text-align: left;
}
.menumobile li ul li:first-child {
    border-top: 0.2em #9B0014 solid;
}
/* Prevent text wrapping*/
.menumobile li ul li a {
    width: auto;
    min-width: 12em;
}
/* Display the dropdown on hover*/
.menumobile ul li a:hover + .hidden, .hidden:hover {
    display: block;
}
/* DOPO MILLE PROVE PER NASCONDERE IL DROPDOWN MENU DOPO IL CLICK MI SONO ARRESO */

/* Desktop default menu */
.menudesktop {
    width: 160px;
    position: absolute;
}
.menudesktop a {
    display: none;
    text-decoration: none;
}
.menudesktop ul li a {
    display: block;
}
.menudesktop ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menudesktop ul li ul li {
    background-color: #f4f4f4;
    border-bottom: 2px #9B0014 solid;
    padding: 6px 6px 0px;
    min-height: 1.9em;
    float: left;
    line-height: normal;
    width: 160px;
    position: relative;
    z-index: 1000;
    text-align: left;
}

/*
.menudesktop ul li ul li:first-child {
    border-top: 2px #9B0014 solid;
}
*/

#hamburger {
    position: absolute;
    left: 0.4em;
    top: 0.4em;
    cursor: pointer;
    padding: 1.2em 2.5em 1.5em 0.4em;
    border: 0.1em solid #9B0014;
    border-radius: 0.6em;
    background: white;
}

#hamburger span, #hamburger span:before, #hamburger span:after {
    border-radius: 0.3em;
    height: 0.3em;
    width: 2.1em;
    background: #9B0014;
    position: absolute;
    display: block;
    content: '';
}

#hamburger span:before {
    top: -0.6em; 
}
#hamburger span:after {
    bottom: -0.6em;
}
