/* The side navigation menu */
body{
       overflow-x: hidden !important;
}
.sidenav {
   height: 100vh;
    width: 0; /* 0 width - change this with JavaScript */
    position: absolute; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #F2F2F2; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */    
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
     font-family: 'Montserrat';
    text-transform: uppercase;
    -webkit-box-shadow: 5px 0px 5px -2px rgba(0,0,0,0.15);
    -moz-box-shadow: 5px 0px 5px -2px rgba(0,0,0,0.15);
    box-shadow: 5px 0px 5px -2px rgba(0,0,0,0.15);
}

.pointer-menu{
    cursor: pointer;
    height: 60px;
}
.gr-fr{
    
    background-color: #006937;
}
 
/* The navigation menu links */
.sidenav a{
    padding: 8px 8px 8px 8px;
    text-decoration: none;
    font-size: 16px;
    color: #2C2D2E;
    transition: 0.3s;
    
}
.sidenav a.blo{
    display: block;
}

.sidenav .field{
    border-bottom: 1px solid #707070;
    text-align: center;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 0;

}
 
/* When you mouse over the navigation links, change their color */
.sidenav .field:hover, .offcanvas a:focus{
    color: #fff;
    background-color: #006937;
}
.active-l
{
     color: #fff !important;
    background-color: #006937;
}
 
/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
 
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    overflow:hidden;
    width:100%;
}
body {
  overflow-x: hidden;
}
 
/* Add a black background color to the top navigation */
.topnav {
    background-color:#F2F2F2 ;
    overflow: hidden;
    width: 250px;
    opacity: 1;
      filter: alpha(opacity=30);
   transition:all .5s ease;
}

.topnav2 {
    background-color:#F2F2F2 ;
    overflow: hidden;
    width: 250px;
    
}
.topnav:hover{
   
    opacity: 1;
      filter: alpha(opacity=100);
   transition:all .5s ease;
}
 
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #2C2D2E;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav2 a{
    float: left;
    display: block;
    color: #2C2D2E;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    
}
 
/* Change the color of links on hover */
/*topnav a:hover {
    background-color: #ddd;
    color: black;
}*/
 
/* Add a color to the active/current link */
.topnav a.active {
    background-color: #4CAF50;
    color: white;
}
.men-text{
       float: left;
    display: block;
    color: #2C2D2E;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
    width: 180px;
}
.men-text2{
          float: left;
    display: block;
    color: #fff;
    text-align: center;
    
    padding: 18px 16px;
    text-decoration: none;
    font-size: 18px;
    width: 180px;
}
.bottom-nav{
   background-color: #006937;
    height: 60px;
    overflow: hidden;
}

.logo-menu{
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.svg-block{
       width: 70px; 
}

.field-sub{
    font-size: 14px !important;   
    border-bottom: 1px solid #B3B3B3;
    margin-left: 20px;
    margin-right: 20px; 
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    text-align: center;   
}
.field-sub:last-child{
    border-bottom: none;
}
.sub1,
.sub2,
.sub3,
.sub4,
.sub5,
.sub6{
    display: none;
    transition: 0.6s;
}
.select-sub{
    color: #006937 !important;
    text-decoration: underline !important;
}
.shadoww{
-webkit-box-shadow: inset 0px -6px 5px -2px rgba(0,0,0,0.12);
-moz-box-shadow: inset 0px -6px 5px -2px rgba(0,0,0,0.12);
box-shadow: inset 0px -6px 5px -2px rgba(0,0,0,0.12);

    border-bottom: 1px solid #707070;
     
}
.shadoww2{
    -webkit-box-shadow: 0px 6px 5px -2px rgba(0,0,0,0.12);
-moz-box-shadow: 0px 6px 5px -2px rgba(0,0,0,0.12);
box-shadow: 0px 6px 5px -2px rgba(0,0,0,0.12);
}

.visible-link{
    display: block;
}

   .mobile-show{
        display: none;
    }
    .mobile-hide{
   
    display: flow-root;

    }

.freccia-men{
    text-align: center;
    width: 100%;
    position: relative;
    padding-bottom: 10px;
    cursor: pointer;
}

  @media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {


    .topnav {

    width: 100%;

}
    .all-content-menu{
        position: fixed;
       width: 100%;
        overflow-y: scroll;
        
        /*DA CAPIRE QUESTO CREA PROBLEMI*/
        height: auto;
        transition:all .5s ease;
        
    }
    
    .full-heigth-men{
        
        height: 100%;
    }
    
    nav.topnav {
    top: 0;
    position: fixed;

}   
    .topnav2 {
    background-color: #F2F2F2;
    overflow: hidden;
    width: 100%;
}
    .bottom-nav {
        background-color: #F2F2F2;
    }
    path {
    stroke: #2C2D2E;
}
    .men-text2 {
    float: left;
    display: block;
        color: #2C2D2E;
        display: none;
    }
   .logo-container{
        width: 200px;
       float: right;
       padding-right: 30px;
    }
    .freccia-men{
         display: none;
    }
    .topnav a {
    padding: 24px 16px;
    }
    .men-text{
        display: none;
        padding: 24px 16px;
    }
}

    @media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {


    .topnav {

    width: 100%;

}
  .all-content-menu{
        position: fixed;
       width: 100%;
        overflow-y: scroll;
        
        /*DA CAPIRE QUESTO CREA PROBLEMI*/
        height: auto;
        transition:all .5s ease;
        
    }
    
    .full-heigth-men{
        
        height: 100%;
    }
    
    nav.topnav {
    top: 0;
        left: 0;
    position: fixed;

}   
    .topnav2 {
    background-color: #F2F2F2;
    overflow: hidden;
    width: 100%;
}
    .bottom-nav {
        background-color: #F2F2F2;
    }
    path {
    stroke: #2C2D2E;
}
    .men-text2 {
    float: left;
    display: block;
        color: #2C2D2E;
        display: none;
    }
   .logo-container{
        width: 200px;
       float: right;
       padding-right: 30px;
    }
    .freccia-men{
         display: none;
    }
    .topnav a {
    padding: 24px 16px;
    }
    .men-text{
        display: none;
        padding: 24px 16px;
    }
}
/* 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;}
}
 
a svg{
  transition:all .5s ease;
 
  &:hover{
    #transform:rotate(180deg);
  }
}
 
#ico{
  display: none;
}
.all-content-menu{
      position: absolute;
    z-index: 100;
}

 
.menu{
  background: #000;
  display: none;
  padding: 5px;
  width: 320px;
   
  @include border-radius(5px);
 
  #transition: all 0.5s ease;
 
  a{
    display: block;
    color: #fff;
    text-align: center;
    padding: 10px 2px;
    margin: 3px 0;
    text-decoration: none;
    background: #444;
 
    &:nth-child(1){
      margin-top: 0;
      @include border-radius(3px 3px 0 0 );
    }
    &:nth-child(5){
      margin-bottom: 0;
      @include border-radius(0 0 3px 3px);
    }
 
    &:hover{
      background: #555;
    }
  }
}



@media (min-width: 320px) and (max-width: 480px) and (orientation : portrait) {
        path {
            stroke: #2C2D2E;
        }
    .all-content-menu{
        position: fixed;
       width: 100%;
        overflow-y: scroll;
        height: unset;
        /*DA CAPIRE QUESTO CREA PROBLEMI*/
    
        transition:all .5s ease;
        
    }
    
    .full-heigth-men{
        
        height: 100%;
    }
    
    

    nav.topnav {
    top: 0;
        left: 0;
    position: fixed;

}
    .topnav,
    .topnav:focus,
     .topnav:active{
        width: 100%;
        opacity: 1;
      filter: alpha(opacity=100);

    }
    .topnav2{
        width: 100%;
    
    }
    .topnav:hover{
        opacity: 1;
    }
    .men-text{
        
    }
    .logo-container{
      display: none;
    }
    .mobile-show{
        display: block;
    }
    .mobile-hide{
        display: none;
    }
    img.logo-mob.mobile-show {

    width: 200px;
    float: right;
    padding-right: 30px;
        padding-top: 10px;
}

    .bottom-nav{
      background-color: #F2F2F2;
    }
    #main{
      
    }
    .sidenav{
        z-index: 10;
        top: 0;
        bottom:0;
        overflow-y:scroll !important;
        overflow-x:hidden !important;
    }
    .pointer-menu{
        width: 100%;
        height: auto;
       
    }

}
