/* @import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700); */

/* MENU 

BORDO_BARRA
BOOOO
BORDO_TASTO_ARROW_MOBILE
EVIDENZIATORE_TASTO

*/

.sm-blue {
  background: transparent;
/* border-radius: 8px;   BORDO CELLULARE E DESKTOP 
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); BORDO_BARRA  */ 
}
.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active {
  padding: 10px 20px;
  /* make room for the toggle button (sub indicator) */
  padding-right: 58px;
  background: var(--FondoMobile);
 /*  background-image: linear-gradient(to bottom, #3298c8, #2e8cb8); */
  color: var( --colore ); 
  font-family: "PT Sans Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 23px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}


.sm-blue  a:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  transition: width 0s ease, background .35s ease;
}
.sm-blue  a:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #000;
  transition: width .35s ease;
}







.sm-blue a.current {
  background: var(--FondoCurrent);
 /* background-image: linear-gradient(to bottom, #006188, #006f9c); */
  color: #fff;
}
.sm-blue a.disabled {
  color: #a1d1e8; 
}
.sm-blue a .sub-arrow { /* BORDO MOBILEE TASTO APERTURA */
  position: absolute;
  top: 50%;
  margin-top: -17px;
  left: auto;
 
/*  right: 4px;
 width: 34px;
  height: 34px;
  */
  right: 0;
  width: 38px;
  height: 38px;
  border: 3px solid #ddd;
  
  overflow: hidden;
  font: bold 16px/34px monospace !important;
  text-align:  center;
  text-shadow: none;
  background: var(--ArrowMobile);  /* rgba(0, 0, 0, 0.1); */
   border-radius: 4px;   /*  BORDO_TASTO_ARROW_MOBILE */
}
.sm-blue a .sub-arrow::before {
 /*  content: '+'; */
  font-family: FontAwesome;
  content: '\f0d7';
  font-size:22px;
}
.sm-blue a.highlighted .sub-arrow::before {
  /* content: '-'; */
  
  font-family: FontAwesome;
  content: '\f0d9'; 
}
.sm-blue > li:first-child > a, .sm-blue > li:first-child > :not(ul) a {
   /*  border-radius: 8px 8px 0 0;  BORDO ARROTONDATO  MENU CELLULARE */ 
   
}
.sm-blue > li:last-child > a, .sm-blue > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul {
 /*  border-radius: 0 0 8px 8px;    BORDO ARROTONDATO MENU CELLULARE */ 

}
.sm-blue > li:last-child > a.highlighted, .sm-blue > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .sm-blue > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
  border-radius: 0; 
 
}
.sm-blue ul {
  background:var( --FondoSubMenu1  ); /* #fff */
}
.sm-blue ul ul {
  background: var(--FondoSubMenu2); /* rgba(102, 102, 102, 0.1); */
}
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
  background: transparent;
  /* color:  #2b82ac; STO QUI  */
  color:#fff; 
  font-size: 16px;
  text-shadow: none;
  border-left: 8px solid transparent; 

}
.sm-blue ul a.current {
  background: var(--FondoCurrent);
 /* background-image: linear-gradient(to bottom, #006188, #006f9c); */
  color: #fff;
}
.sm-blue ul a.disabled {
  color: #b3b3b3;
}
.sm-blue ul ul a,
.sm-blue ul ul a:hover,
.sm-blue ul ul a:focus,
.sm-blue ul ul a:active {
  border-left: 16px solid transparent;
}
.sm-blue ul ul ul a,
.sm-blue ul ul ul a:hover,
.sm-blue ul ul ul a:focus,
.sm-blue ul ul ul a:active {
  border-left: 24px solid transparent;
}
.sm-blue ul ul ul ul a,
.sm-blue ul ul ul ul a:hover,
.sm-blue ul ul ul ul a:focus,
.sm-blue ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.sm-blue ul ul ul ul ul a,
.sm-blue ul ul ul ul ul a:hover,
.sm-blue ul ul ul ul ul a:focus,
.sm-blue ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
.sm-blue ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.sm-blue ul li:first-child {
  border-top: 0;
}

/* DESTOP */
@media (min-width: 768px) {
  /* Switch to desktop layout
  -----------------------------------------------
     These transform the menu tree from
     collapsible to desktop (navbar + dropdowns)
  -----------------------------------------------*/
  /* start... (it's not recommended editing these rules) */
  .sm-blue ul {
    position: absolute;
    width: 12em;
  }

  .sm-blue li {
    float: left;
  }

  .sm-blue.sm-rtl li {
    float: right;
  }

  .sm-blue ul li, .sm-blue.sm-rtl ul li, .sm-blue.sm-vertical li {
    float: none;
  }

  .sm-blue a {
    white-space: nowrap;
  }

  .sm-blue ul a, .sm-blue.sm-vertical a {
    white-space: normal;
  }

  .sm-blue .sm-nowrap > li > a, .sm-blue .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  /* ...end */

/* BUTTON DESKTOP */
  .sm-blue {
    background: var( --FondoDesk01  ); /* #3092c0; */
    /*  background-image: linear-gradient(to bottom, #3298c8, #2e8cb8); */  /* BARRA RIGHT ALLUNGATA 100% */
    /*  border-radius: 8px;   BORDO ARROTONDATO */ 
    /*  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); */
	
  }
  .sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    padding: 13px 24px;
	background:  var(--FondoDesk); /* #3092c0; */
    /* background-image: linear-gradient(to bottom, #3298c8, #2e8cb8); */
    color: var(--ColoreFontDesk);  
  }
  
  
 
  
  
  .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
    background:  var(--FondoDeskHover); /* #2b82ac; */
    /* background-image: linear-gradient(to bottom, #2d89b4, #297ca3); */
	
	 
	
 /*	border-bottom : 4px solid red; EVIDENZIATORE_TASTO */ 
	 
  }
  
  .sm-blue a.current {
    background: var(--FondoCurrent);
    background-image: linear-gradient(to bottom, #006188, #006f9c);
    color: #fff;
  }
  .sm-blue a.disabled {
    background:  var(--FondoMobile); /* #3092c0; */
    background-image: linear-gradient(to bottom, #3298c8, #2e8cb8);
    color: #a1d1e8;
 
  }
  .sm-blue a .sub-arrow {
    top: auto;
    margin-top: 0;
    bottom: 2px;
    left: 50%;
    margin-left: -5px;
    right: auto;
    width: 0;
    height: 0;
    border-width: 5px;
    border-style: solid dashed dashed dashed;
    border-color: var(--ArrowTendina ) transparent transparent transparent; /* #a1d1e8  */
    background: transparent;
    border-radius: 0;
  }
  .sm-blue a .sub-arrow::before {
    display: none;
  }
  .sm-blue > li:first-child > a, .sm-blue > li:first-child > :not(ul) a {
  /*   border-radius: 8px 0 0 8px;    BORDO ARROTONDATO SINISTRA MENU DESKTOP */ 
	
  }
  .sm-blue > li:last-child > a, .sm-blue > li:last-child > :not(ul) a {
    /* border-radius: 0 8px 8px 0 !important;  BORDO ARROTONDATO RIGHT */ 
	 
  }
  .sm-blue > li {
    border-left: 1px solid var(--LineaSeparazione);
  }
  .sm-blue > li:first-child {
    border-left: 0;
  }
  .sm-blue ul {
    border: 1px solid var(--BordoTendina); /* #a8a8a8; */
    padding: 7px 0;
    background: var(--FondoTendina);  /* #fff; */
   /* border-radius: 0 0 4px 4px !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); */ /* BOOOO */
  }
  .sm-blue ul ul {
  /*  border-radius: 4px !important;     */
    background: var(--FondoTendinaSubMenu); /* #fff; */
  }
  .sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
    border: 0 !important;
    padding: 9px 23px;
    background: transparent;
    /*color: #2b82ac; */
    border-radius: 0 !important;
	color: var(--TestoTendinaBASE); 
  }
  .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active, .sm-blue ul a.highlighted {
    background: var(--FondoTendinaHover);  /* #3092c0; */
   /* background-image: linear-gradient(to bottom, #3298c8, #2e8cb8); */
    /* color: #fff; */
	color: var(--TestoTendinaHover); 
  }
  .sm-blue ul a.current {
    background: var(--FondoCurrent);
    background-image: linear-gradient(to bottom, #006188, #006f9c);
    
  }
  .sm-blue ul a.disabled {
    background: #fff;
   color:  #b3b3b3; 
  
  }
  .sm-blue ul a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent var(--ArrowTendina); /* Right  #a1d1e8; */
  }
  .sm-blue ul li {
    border: 0;
  }
  
 
  
  .sm-blue .scroll-up,
  .sm-blue .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: var(--FondoSubMenuScrolUpDown); /* #fff; */
    height: 20px;
  }
  .sm-blue .scroll-up-arrow,
  .sm-blue .scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #2b82ac transparent;
  }
  .sm-blue .scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #2b82ac transparent transparent transparent;
  }
  .sm-blue.sm-rtl.sm-vertical a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .sm-blue.sm-rtl > li:first-child > a, .sm-blue.sm-rtl > li:first-child > :not(ul) a {
  /*  border-radius: 0 8px 8px 0;   */
  }
  .sm-blue.sm-rtl > li:last-child > a, .sm-blue.sm-rtl > li:last-child > :not(ul) a {
  /*  border-radius: 8px 0 0 8px !important;   */
  }
  .sm-blue.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }
  .sm-blue.sm-rtl > li:last-child {
    border-left: 0;
  }
  .sm-blue.sm-rtl ul a .sub-arrow {
    right: auto;
    left: 10px;
	
	 
    border-style: dashed solid dashed dashed;
    border-color: transparent #000;  transparent transparent; /* #a1d1e8;*/ 
	
  }

  .sm-blue.sm-vertical {
   /*  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); BOOOO */ 
  }
  .sm-blue.sm-vertical a {
    padding: 9px 23px;
  }
  .sm-blue.sm-vertical a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent  #000; /* #a1d1e8;*/ 
  }
  .sm-blue.sm-vertical > li:first-child > a, .sm-blue.sm-vertical > li:first-child > :not(ul) a {
  /*  border-radius: 8px 8px 0 0;    */
  }
  .sm-blue.sm-vertical > li:last-child > a, .sm-blue.sm-vertical > li:last-child > :not(ul) a {
    /*  border-radius: 0 0 8px 8px !important; */
  }
  .sm-blue.sm-vertical > li {
    border-left: 0 !important;
  }
  .sm-blue.sm-vertical ul {
   /*  border-radius: 4px !important;  */
  }
  .sm-blue.sm-vertical ul a {
    padding: 9px 23px;
  }
}

/*# sourceMappingURL=sm-blue.css.map */

/* AGGIUNGERE SE SI VUOLE NASCONDERE MENU */

.main-menu-btn {
  position: relative;
  display: inline-block;
   left: 20px;
  width: 32px; /* 28 */
  height: 32px; /* 28 */
  text-indent: 28px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color:  rgba(0,0,0,0); 
  background-color: var(--FondoTastoMobile ); /* #3092c0;*/
  }
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: var(--TrattiniTastoMobile ); /* #bbb; */
  -webkit-transition: all 0.25s;
  transition: all 0.25s;

}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;	
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;

}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}
#main-menu-state:checked ~ #main-menu {
  display: block;
}
@media (min-width: 768px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;

  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}