/* custom css per creare la sottolineatura sui link negli articoli, ma non nelle voci di menu (anche nell'off-canvas)! */
a:hover {
    text-decoration: underline !important;
}
.sp-megamenu-parent > li:hover > a {
    text-decoration: none !important;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li a:hover, .offcanvas-menu .offcanvas-inner .sp-module ul > li span:hover, .offcanvas-menu .offcanvas-inner .sp-module ul > li a:focus, .offcanvas-menu .offcanvas-inner .sp-module ul > li span:focus {
    text-decoration: none !important;
}

/* == TIPOGRAPHY == */
/* da 2.5 a 2 */
.h1, h1 {
    font-size: 2rem;
}
/* da 2 a 1.6 */
.h2, h2 {
    font-size: 1.6rem;
}
/* da 1.75 a 1.4 */
.h3, h3 {
    font-size: 1.4rem;
}
@media only screen and (max-width: 576px) {
  .h1, h1 {
    font-size: 1.6rem;
}
.h2, h2 {
    font-size: 1.4rem;
}
.h3, h3 {
    font-size: 1.2rem;
}
}
/* == FINE TIPOGRAPHY == */
/* Ridotto a 30px il solito padding top e bottom del container che di default è di 100px! */
#sp-main-body {
    padding: 10px 0 20px;
}
@media only screen and (max-width: 576px) {
  #sp-main-body {
    padding: 0px 0px 20px 0px;
}
}
.breadcrumb {
    background-color: transparent !important;
    border-bottom: solid 1px lightgray !important;
}




/* == custom css per header in overlay sull'immagine == */
#sp-header { 
background: rgba(255,255,255,0.6)	
; 
height: 60px; 
box-shadow: 0 0px 0px; 
}
#sp-header.header-sticky { 
position: fixed; 
z-index: 9999; 
background: #ffffff; 
box-shadow: 0 3px 3px rgba(0,0,0,0.05);
transition: all ease-out 0.6s;
-webkit-transition: all ease-out 0.6s;
}
#sp-title { 
min-height: 0; 
margin-top: -60px; 
}
/* == FINE custom css per header in overlay sull'immagine == */
/* == CSS PER LA SOTTOLINEATURA DELLE VOCI DI MENU == */

.sp-megamenu-parent > li > a {
  text-decoration: none;
  display: inline-table;
}

.sp-megamenu-parent > li > a:hover:after {
  content: "";
  border-bottom: 0.2em solid gray;
  display: table-caption;
  caption-side: bottom;
  position: relative;
  margin-top: -0.1em;
  margin-left: 0.4em;
  margin-right: 0.4em;
}

.sp-megamenu-parent > li > a:hover {
  color: #000 !important;
}

.sp-megamenu-parent > li.active > a:after {
  content: "";
  border-bottom: 0.2em solid gray;
  display: table-caption;
  caption-side: bottom;
  position: relative;
  margin-top: -0.1em;
  margin-left: 0.4em;
  margin-right: 0.4em;
}

.sp-megamenu-parent > li.active > a {
  color: #000 !important;
}
/* == FINE CSS PER LA SOTTOLINEATURA DELLE VOCI DI MENU == */

/* == CUSTOM CSS OFFCANVAS == */
/* immagine di sfondo */
.offcanvas-menu {
    background-color: #fff;
    color: #252525;
    background-image: url('/../images/offcanvas-background.jpg');
    background-repeat:no-repeat;
    background-size:cover;
    border-left: solid 1px #000;
}
/* aumentato il margine dal bordo superiore dell'offcanvas */
.offcanvas-menu .offcanvas-inner {
    margin-top: 10%;
}
/* == FINE CUSTOM CSS OFFCANVAS == */

/* dopo l'aggiornamento di HU alla 1.1 comparivano due righe/border con ampio padding sotto il titolo dell'articolo anche se non sono attivate le icone social...! Tolto il tutto...! */
.article-details .article-ratings-social-share {
    padding: 0;
    border-top: 0px solid #f5f5f5;
    border-bottom: 0px solid #f5f5f5;
    margin-bottom: 0rem;
}
