  .pure-img-responsive {
      max-width: 100%;
      height: auto;
  }
  
  #nav-bar {
      height: 100%;
      width: 250px;
      position: fixed;
      top: 0;
      bottom: 0;
      background: rgb(250,250,250);
      -webkit-overflow-scrolling: touch;
      /*border-right: 1px solid #eee;*/
  }
  #nav-bar ul{
      height: auto;
      list-style: none;
      padding: 0;
      background: #4877CF;
      -moz-transition:opacity .25s linear, visibility .1s linear .1s;
      -webkit-transition:opacity .25s linear, visibility .1s linear .1s;
      -o-transition:opacity .25s linear, visibility .1s linear .1s;
      transition:opacity .25s linear, visibility .1s linear .1s;

  }
  #nav-bar li{
      width: 100%;
      border: none;
      text-align: start;
      display: block;/*CAMBIARE PER MENU ORIZZONTALE*/
      position: relative;
  }
  #nav-bar li a {
      color: #000;
      text-decoration: none;
      padding: 1em;
      display: block;
  }
  #nav-bar li i {
    background: url('../../../cdn-image.spaggiari.eu/www/img/down-arrow.png') no-repeat;
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
    width: 17px;
    height: 13px;
    transition: transform 0.4s linear;
  }
  #nav-bar li i.active{
    transform: rotate(-180deg);
  }
  #nav-bar ul li:hover{
      background-color: rgb(238,238,238);
  }
  /*2 LIVELLO*/
  /*#nav-bar ul li:hover > ul {display: block}*/
  @media only screen and (max-width:87.5em){
    #nav-bar ul li:hover > ul {display: block}
  }
  #nav-bar ul li ul {background: #fff;border-top: 1px solid rgba(203,203,203,0.61);}
  #nav-bar ul li ul li{
    width: 182px;
    font-size: 0.875em;
    height: 48px;
    border-bottom: 1px solid rgba(203,203,203,0.61);
  }
  #nav-bar ul li ul li:hover{background: rgb(204, 204, 204);}
  #nav-bar li ul { margin:0;position:absolute;z-index:1000;display: none;left: 100%;top: 0;}
  .palla_menu{
      width: 20px;
      height: 20px;
      float: left;
      background-position: center center;
      background-repeat: no-repeat;
      background-size: 82px 22px;
      cursor: pointer;
      transition: all 0.3s ease-out 0s;
      margin-right: 5px;
  }
  .menu-link:hover, .menu-link:focus {
      background: #4877CF;
  }
  .active{
    display: block !important;
    visibility: visible;
  }
  .rotate_out {
      transition: all 0.5s;
      transform: rotate(-180deg);
      -webkit-transform: rotate(-180deg);
  }
  .custom_header{
    margin: 0 auto;
    display: block;
    top: -33px;
    position: relative;
  }
   
  @media only  screen and (max-width: 35.5em){
    #nav-bar {
      display: none;
      height: 100%;
    } 
    .icon-bar {
        display: block;
        width: 18px;
        height: 2px;
        margin: 5px;
        background-color: #f5f5f5;
        -webkit-border-radius: 1px;
        -moz-border-radius: 1px;
        border-radius: 1px;
        -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    }
    .btn-responsive-menu {
        float: left;
        padding: 3px 0px 0px 0px;
        cursor: pointer;
        color: #ffffff;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
        background: transparent;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    #header{

        padding: 10px 10px 10px 10px;
        background: #4877CF;
        margin: 0 auto;
        height: 37px;
        display: block;
    }
  }
  @media only screen and (max-width: 890px){ 
    #logo{
      display: none !important;
    }
    #nav-bar{
      width: 100% !important;
      margin-left: 0px !important;
      position: relative !important;
      background: #fff !important;
      padding-left: 0 !important;
      display: none;
      height: 100%;
    }
    #nav-bar ul {
      background: #fff;
    }
    #nav-bar ul li ul{
      background: #eee;
      margin-top: 15px;
    }
    #nav-bar li i {
      display: block;
    }
    #nav-bar li {
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box; 
      width: 100% !important;
      padding: 1em;
      border: none;
      text-align: start !important;
      display: block !important;
      position: relative !important;
    }
    #nav-bar ul li:hover {
      background-color:#fff;
    }
    #nav-bar ul li:hover > ul {display: none;}
    #nav-bar li a {
      color: #000;
      padding: 0px;
      display: inline !important;
    }
    #nav-bar ul li ul li {
      width: 100% !important;
      border-bottom: 1px solid #fff;
    }
    #nav-bar li ul{
      margin-top: 10px;
      position: relative !important;
      top: 0 !important;
      padding: 0 !important;
      left: 0 !important;
    }
    #header {
      padding: 10px 10px 10px 10px;
      background: #4877CF;
      margin: 0 auto;
      height: 45px;
      display: block;
    }
    .btn-responsive-menu {
      min-width: 28px;
      float: left;
      padding: 3px 0px 0px 0px;
      cursor: pointer;
      color: #ffffff;
      text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
      background: transparent;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius: 4px;
    }
    .icon-bar {
      display: block;
      width: 18px;
      height: 2px;
      margin: 5px;
      background-color: #f5f5f5;
      -webkit-border-radius: 1px;
      -moz-border-radius: 1px;
      border-radius: 1px;
      -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
      -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    } 
  } 
  /*MENU ORIZZONTALE*/
  @media only screen and (max-width: 1200px) and (min-width: 890px){
    #nav-bar li i {
      display: none;
    }
  }
 
  @media only screen and (max-width: 1200px){
    #nav-bar { 
      width: 75%;
      position: relative;
      left: 0;
      margin-left: 0;
      background: #fff;
      border-top-right-radius: 5px;
      border-top-left-radius: 5px;
      z-index: 6;
      margin-left: 25%;
      height: fit-content;
    }
     
    #nav-bar ul {
      margin: 0;
      background: #fff;
      border-top-right-radius: 10px;
    }
    #nav-bar li {
      width: auto;
      border: none;
      text-align: start;
      display: inline-block;
      position: relative;
    }
    #nav-bar li ul {
      margin: 0;
      position: absolute;
      z-index: 1000;
      display: none;
      left: 0;
      top: 100%;
    }
    #nav-bar ul li ul li {
      width: 213px;
      font-size: 0.75em;
      height: 45px;
      border-bottom: 1px solid rgba(203,203,203,0.61);
    }
  }
  @media only screen and (min-width: 1200px){

    #nav-bar {
        left: 150px;
        
    } 
    #nav-bar {  
      width: 100%;
      position: relative;
      left: 0; 
      margin-left: 0;
      background: #fff;
      border-top-right-radius: 5px;
      border-top-left-radius: 5px;
      z-index: 6;
      padding-left: 26.086956521739130434782608695652%;
    }
    #nav-bar ul {
        margin: 0;
        background: #fff;
    }
    #nav-bar li{
        /*width: 16%;*/
        width: auto;
        display: inline-block;;/*CAMBIARE PER MENU ORIZZONTALE*/
        text-align: start;
        vertical-align: top;
    }
    #nav-bar li a {
        color: #000;
        text-decoration: none;
        padding: 15px 25px 35px 10px ;     
        display: block;
        font-size: 0.875em;
    }
    #nav-bar li ul li a {
      padding-top: 1.59em;
    }
    #nav-bar li ul {
        margin: 0;
        position: absolute;
        z-index: 1000;
        display: none;
        left: 0;
        top: initial;
    }
    .menu-container{
      overflow-y: scroll;
      height:100%;
      max-width: 100%;
      overflow: hidden;
    }
    #logo{
      display: none !important;
    }
    #nav-bar{ 
      position: fixed; 
      background: #f9f9f9; 
      margin-top: 35px;
      padding-left: 0px;
      z-index: 6;
      width: 16.6%;
      height: 100%;
    }
    #nav-bar ul {
      height: auto;
      list-style: none;
      padding: 0;
      background: #f9f9f9;
    }
    #nav-bar li {
      width: 100%;
      border: none;
      text-align: start;
      display: block;
      position: relative;
    }
    #nav-bar li a {
      color: #000;
      text-decoration: none;
      padding: 1em;
      padding-left: 33px;
      display: inline-block;
    }
    #nav-bar li ul li a {
      color: #000;
      text-decoration: none;
      padding: 1.3em 1.3em 1.3em 3em;
      display: block;
    }
    #nav-bar li ul {
      margin: 0;
      position: relative;
      z-index: 1000; 
      width: 100%; 
    }
    #nav-bar ul {
      height: auto;
      list-style: none;
      padding: 0;
      background: rgb(250,250,250); 
    }
    #nav-bar ul li ul li {
      width: 100%; 
      background: #f0f0f0;
    }  
  }

/*IPAD pro*/
@media only screen and (min-device-width: 1200px) and (orientation: landscape){

   #nav-bar {
      left: 150px;
    } 
    #nav-bar {  
      width: 100%;
      overflow: hidden;
      position: relative;
      left: 0; 
      margin-left: 0;
      background: #fff;
      border-top-right-radius: 5px;
      border-top-left-radius: 5px;
      z-index: 6;
    }
    #nav-bar ul {
        margin: 0;
        background: #fff;
    }
    #nav-bar li{
        /*width: 16%;*/
        width: auto;
        display: inline-block;;/*CAMBIARE PER MENU ORIZZONTALE*/
        text-align: start;
        vertical-align: top;
    }
    #nav-bar li a {
        color: #000;
        text-decoration: none;
        padding: 15px 25px 35px 10px ;     
        display: block;
        font-size: 0.875em;
    }
    #nav-bar li ul li a {
      padding-top: 1.59em;
    }
    #nav-bar li ul {
        margin: 0;
        position: absolute;
        z-index: 1000;
        display: none;
        left: 0;
        top: initial;
	}
    .menu-container{
      overflow-y: scroll;
      height:100%;
      max-width: 100%;
      overflow: scroll;
    }
    #logo{
      display: none !important;
    }
    #nav-bar{ 
      position: fixed; 
      background: #f9f9f9; 
      z-index: 6;
      height: 100%;
      width: 22%;
      overflow: hidden;
    }
    #nav-bar ul {
      height: auto;
      list-style: none;
      padding: 0;
      background: #f9f9f9;
    }
    #nav-bar li {
      width: 100%;
      border: none;
      text-align: start;
      display: block;
      position: relative;
    }
    #nav-bar li a {
      color: #000;
      text-decoration: none;
      padding: 1em;
      padding-left: 33px;
      display: inline-block;
    }
    #nav-bar li ul li a {
      color: #000;
      text-decoration: none;
      padding: 1.3em 1.3em 1.3em 3em;
      display: block;
    }
    #nav-bar li ul {
      margin: 0;
      position: relative;
      z-index: 1000; 
      width: 100%; 
    }
    #nav-bar ul {
      height: auto;
      list-style: none;
      padding: 0;
      background: rgb(250,250,250); 
    }
    #nav-bar ul li ul li {
      width: 100%; 
      background: #f0f0f0;
    }  
    #nav-bar li i {
      background: url('../../../cdn-image.spaggiari.eu/www/img/down-arrow.png') no-repeat;
      position: absolute;
      top: 20px;
      right: 25px;
      cursor: pointer;
      width: 17px;
      height: 13px;
      transition: transform 0.4s linear;
    }
    #nav-bar li i.active{
      transform: rotate(-180deg);
    }
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1200px) 
and (orientation : landscape){  


}