
/* -------------------------------------------   Definizioni per il Menu Principale */


#menu-top{ 
  position:relative; /* servono per l'ombra, non togliere */
  z-index:2;
  width:100%; 
  background:#212121;
  box-sizing:border-box;
  box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.4); 
  padding:10px 20px 2px 20px;
}

#menu-sx {
    box-sizing:border-box;
    width:12%;
    max-width:100px;
    float:left;
}

#menu-sx img { width:100%; border-radius:50%;}

#menu-dx{
    box-sizing:border-box;
    width:78%;
    float:right;
    list-style-type: none;
    text-align:right;
}


#menu-dx a {
    display:inline-block;
    color: #ccc;
    text-align: center;
    font: bold 75% Arial;	
    text-decoration: none;  
    transition: 0.3s;
}

#menu-dx a.normal {
    padding:0 .5em;
    height:40px;
    line-height:70px;
}

#menu-dx a:hover {color:#fff;}

.linea {height:1px;border-width:0;color:#ccc;background:#555;}

@media only screen and (max-width: 830px) {
#menu-sx {width:20%; max-width:120px;}
#menu-dx {width:80%; padding-left:10px; padding-bottom:10px;}
.linea { margin-bottom: 10px; }
#menu-dx a.normal {height:1em; width:100%; line-height:100%; padding:0; text-align: right;}
}

@media only screen and (max-width: 450px) {
#menu-sx { width:30%; }
#menu-dx { width:70%; }
}

@media only screen and (max-width: 300px) {
#menu-sx img {width:auto;}
#menu-sx,  #menu-dx {float:none; width:100%;  text-align: center; padding-left:0; }
#menu-dx a.normal { text-align: center; }
#menu-top { padding:10px 0 2px 0; }
}



/* ------------------------------------- NOTE --- */

.nota {
    position: relative;
    display: inline-block;
    font: 12px Arial; 
    color:#8CAD16;
}

.testo-nota {
    visibility: hidden;
    width:160px;
    background-color: #212121;
    font:10px Arial;
    color: #8CAD16;
    border-right:1px solid #555;
    border-left:1px solid #555;
    border-top:1px solid #555;
    text-align: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 2px;

    /* Posizionamento */
    position: absolute;
    top:-3px; 
    right:0px;
    z-index: 1;
}

.nota:hover .testo-nota {
    visibility: visible;
}

@media only screen and (max-width: 300px) {
.testo-nota { right:-35px; }
}
/* ---------------------------------------- patch clearfix */

.clearfix:after{
content:".";
clear:both;
display:block;
height:0;
visibility:hidden;
}

*:first-child+html .clearfix {min-height:0;}
* html .clearfix {height:1%;}
.clearfix:before, .clearfix:after {
content:"";
display:table;}

.clearfix:after {clear:both;}
.clearfix {zoom:1;}
