﻿/*
CTC Separate Stylesheet
Updated: 2018-02-16 09:19:00
Theme Name: WPA Italia Digitale Child
Template: theme-wpaitaliadigitale-full
Author: Inpolitics
Description: Wordpress Theme for Italian PA
Version: 3.20.728
Text Domain: TD
*/

/* RICERCA */
div#header-search div.Form-field input{
  padding: 0.1em;
}

/* Burger più piccolo in chiusura */
@media screen and (max-width: 992px) and (min-width: 768px), screen and (max-width: 1440px) and (min-width: 992px), screen and (min-width: 1440px){
  header.Headroom--not-top .Hamburger-toggle, header.Headroom--not-top .Hamburger-toggle:before, header.Headroom--not-top .Hamburger-toggle:after {
    width: 3.7rem;
  }
  header.Headroom--not-top .Hamburger-toggle:before {
    top: -1rem;
  }
  header.Headroom--not-top .Hamburger-toggle:after {
    bottom: -0.6rem;
  }
}

 /* PADDING CALENDARI */
/*.padSideML {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

@media screen and (min-width: 992px) {
  .padSideML {
    padding-right: 2.4rem !important;
    padding-left: 2.4rem !important;
  }
} */

/* Centrare immagine news thumbnail */
/* div.centerThumbnail img, img.centerThumbnail{
  display: block;
  margin:0 auto;
  max-width: 100%;
  max-height: 300px;
} */

.bandSection {
  overflow: auto;
}

/* div#entrypoint h2, div#news h2, div#events h2, div#map h2, div#sticky h2 {
  border-bottom: 1px solid lightgrey;
  padding-bottom: 0.7rem;
  margin-bottom: 2.0rem!important;
}

div#events h3{
  border-bottom: 1px solid lightgrey;
  padding-bottom: 0.5rem;
} */

.Header-titleLink a {
  line-height: 1.1 !important;
}

.Header-logo {
  text-align: left !important;
}

@media screen and (min-width: 768px) and (max-width: 992px){
  .Header-logo {
    width: 10.66667% !important;
  }
  .Header-titleLink {
    padding-left: 0 !important;
}
  .Header-title {
    width: 38.33333% !important;
  }
  /* .Header-titleLink a {
    line-height: 1.1 !important;
  } */
  
  .Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
    font-size:1.8rem !important;    
  }
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  .Header-logo {
    width: 6.66667% !important;
  }
  .Header-titleLink {
    padding-left: 0 !important;
}
	.Header-titleLink a {
	  font-size: 3rem !important;
	}

  .Header-title {
    width: 43.33333% !important;
  }

	.Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
		font-size:1.9rem !important;
  }

}

@media screen and (min-width: 1440px){
  .Header-logo {
    width: 5.66667% !important;
  }
  .Header-titleLink {
    padding-left: 0 !important;
}
.Header-titleLink a {
  font-size: 3rem !important;
}
  .Header-title {
    width: 48.3333% !important;
  }
  
  .Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
    font-size:1.9rem !important;

  }

}

div#mapMonumento{
  height: 250px;
  width: 100%;
}

div#map{
  height: 340px;
  width: 100%;
}

/* pezzo di stile ridefinito per esempio Alessandro */
/* .Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
  font-size:1.9rem !important;
  letter-spacing:0.005em !important;
} */

@media screen and (min-width: 768px) and (max-width: 992px){
  div#map{
    height: 390px;
  }

  /* .Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
    font-size:1.9rem !important;
    letter-spacing:0.005em !important;
  } */
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  div#map{
    height: 400px;
  }

  /* .Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
    font-size:1.9rem !important;
    letter-spacing:0.005em !important;
  } */
}

@media screen and (min-width: 1440px){
  div#map{
    height: 450px;
  }

  /* .Megamenu--styled .Megamenu-item > a, .Megamenu--styled .Megamenu-subnavGroup > li > a{
    font-size:1.9rem !important;
    letter-spacing:0.005em !important;
  } */
}






article.Masonry-item div.Card-image{
  overflow: hidden;
  max-height: 300px;
  border-bottom: 1px solid lightgrey;
}

div.centerThumbnail img, img.centerThumbnail{
  display: block;
  margin:0 auto;
  max-width: 100%;
  width:100%;
}

div.centerThumbnailNews img, img.centerThumbnailNews{
  display: block;
  margin:0 auto;
  max-width: 100%;
  /* width:100%; */
}

div#news article{
  /* height:100%; */
  min-height: 65%;
}

div#news article > div.NewsImg{
  border-bottom: 1px solid lightgrey;
  overflow: hidden;
  /* max-height: 320px; */
}

@media screen and (min-width: 768px) and (max-width: 992px){
  div#news article > div.NewsImg{
    max-height: 500px;
  }
 
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  div#news article > div.NewsImg{
    max-height: 300px;
  }

  div#news div.u-md-size4of12 article > div.NewsImg{
    max-height: 270px;
  }
}

@media screen and (min-width: 1440px){
  div#news article > div.NewsImg{
    max-height: 340px;
  }

  div#news div.u-md-size4of12 article > div.NewsImg{
    max-height: 310px;
  }
}


/* CSS COMUNI PER TEMPLATE */
.Table tr{
    text-align: left;
  }

.Table.Table--flip th:first-child, .Table.Table--flip td:first-child {
  padding-left:0.5em!important;
}

.Table.TabellaBandi tbody tr{
  cursor: pointer;
}

.Table.TabellaBandi td:first-child, .Table.TabellaBandi  th:first-child, .Table.TabellaOrarix td:first-child, .Table.TabellaOrarix  th:first-child{
  padding-left: 0.5em!important;
}

.Table.TabellaOrari td, .Table.TabellaOrari th{
  padding-top: 0!important;
  padding-bottom: 0!important;
  padding-left: 0!important;
}

.Table.TabellaOrari td:first-child, .Table.TabellaOrari th:first-child{
  width: 50px;
}

@media screen and (min-width: 768px){
  .Table.TabellaOrari td:first-child, .Table.TabellaOrari th:first-child{
    width: 150px;
  }
}


.Table.TabellaBandi td:last-child, .Table.TabellaBandi  th:last-child{
  padding-right: 0.5em!important;
}

.Table.TabellaBandi td, .Table.TabellaBandi  th{
  vertical-align: top;
}

.tablesaw-stack td .tablesaw-cell-label{
  vertical-align: middle;
}

@media (max-width: 39.9375em){
  .tablesaw-cell-content{
    vertical-align: middle;
  }

  .Table.TabellaBandi.tablesaw-stack td .tablesaw-cell-label{
      width: 35%;
  }

  .Table.TabellaBandi .tablesaw-cell-content {
    /* display: inline-block; */
    max-width: 63%;
}

  .tablesaw-stack tbody td, .tablesaw-stack tbody th{
    border:none;
  }

  .tablesaw-stack tbody td b, .tablesaw-stack tbody th b{
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* STILE PER ACCORCIARE BREADCRUMB */
.Breadcrumb-link span[itemprop="name"] {
  display: inline-block;
  padding: 0;
  margin-top: -3px;
  vertical-align: middle;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Alleggerimento briciole da indicazioni Viada del 23-06-2020 */
.Breadcrumb-item, .Breadcrumb-link {
  font-weight: 400 !important;
}

/* Link verdini sul footer */
.Footer .Footer-block a, .Footer .Footer-otherinfo a {
  color: #65dcdf!important;
  font-weight: bold;
}

/* Modifica elemento di "Torna in testa" rotondo e ombra */
.ScrollTop{
  border-radius: 25px;
  -webkit-box-shadow: 8px 8px 21px -9px rgba(0,0,0,0.75);
  -moz-box-shadow: 8px 8px 21px -9px rgba(0,0,0,0.75);
  box-shadow: 8px 8px 21px -9px rgba(0,0,0,0.75);
}

/* fix dimensione container del burger per "focus" */
@media screen and (min-width: 768px){
    .Headroom--top .Hamburger-toggleContainer{
      height: 53px;
    }
    .Headroom--not-top .Hamburger-toggleContainer{
      height: unset;
  }
}


/* Caselloni */
.Entrypoint-item.Entrypoint--rounded{
  border-radius: 4px;
} 

.Entrypoint-item.Entrypoint--custom{
  text-decoration: none !important;
  padding: 0.8em !important;
}

/* .Entrypoint-item.Entrypoint--custom:hover{
  text-decoration: underline !important;
} */

.Entrypoint-item.Entrypoint--custom p {
  /* font-weight: 700 !important; */
  color:#fff !important;
}

.Entrypoint-item.Entrypoint--custom p{
  /* font-size:2.3rem !important; */
  font-size:2.2rem !important;
  letter-spacing:0.007em !important;
}

@media screen and (min-width: 768px) and (max-width: 992px){
  .Entrypoint-item.Entrypoint--custom p{
    /* font-size:2.1rem !important; */
    font-size:2.2rem !important;
    letter-spacing:0.007em !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  .Entrypoint-item.Entrypoint--custom p{
    /* font-size:2.1rem !important; */
    font-size:2.2rem !important;
    letter-spacing: 0.007em !important;
  }
}

@media screen and (min-width: 1440px){
  .Entrypoint-item.Entrypoint--custom p{
    /* font-size:2.3rem !important; */
    font-size:2.2rem !important;
    letter-spacing:0.007em !important;
  }
}




 /* a:focus {
  outline: #ff7a00 solid 3px;
  text-decoration: underline;
} */

a:focus {
  outline: none;
  text-decoration: underline;
}

.lb-nav:focus, .lb-nav *:focus, .owl-prev:focus, .owl-next:focus {
  outline: none;
  text-decoration: unset;
}

.u-text-center {
  text-align: center !important;
}

.u-text-left {
  text-align: left !important;
}

.u-text-right {
  text-align: right !important;
}

/** Utilità responsive su allineamento testo */

@media screen and (min-width: 768px) and (max-width: 991px) {
  .u-text-sm-center {
    text-align: center !important;
  }

  .u-text-sm-left {
    text-align: left !important;
  }

  .u-text-sm-right {
    text-align: right !important;
  }
}

/** @define utilities; */

@media screen and (min-width: 992px) and (max-width: 1365px) {
  .u-text-md-center {
    text-align: center !important;
  }

  .u-text-md-left {
    text-align: left !important;
  }

  .u-text-md-right {
    text-align: right !important;
  }
}

/** @define utilities; */

@media screen and (min-width: 1366px) {
  .u-text-lg-center {
    text-align: center !important;
  }

  .u-text-lg-left {
    text-align: left !important;
  }

  .u-text-lg-right {
    text-align: right !important;
  }
}


/* WRAP TESTO INTORNO IMMAGINI DI WORDPRESS */
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }


/* H1 2 3 4 5 */
/* h2{
  font-size:2.8rem !important;
  font-weight:700 !important;
  margin-bottom:1.6rem !important;
} */

h2{
  font-size:2.2rem !important;
  font-weight:700 !important;
  margin-bottom:1.6rem !important;
}

h3{
  font-size:2rem !important;
  font-weight:700 !important;
  letter-spacing:0.007em !important;
  margin-bottom:1.6rem !important;
}

#accordion h3, #accordion h4{
  margin-bottom:0.2rem !important;
}

h4{
  font-size:1.8rem !important;
  letter-spacing:0.005em !important;
  font-weight:700 !important;
  margin-bottom:1.6rem !important;
}

@media screen and (min-width: 768px) and (max-width: 992px){
/* 
  h2{
  font-size:3rem !important;
  } */

  h2{
    font-size:2.4rem !important;
  }
  h3{
    font-size:2.1rem !important;
    letter-spacing:0.007em !important;
  }
  h4{
    font-size:2rem !important;
    letter-spacing:0.005em !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1440px){

  /* h2{
    font-size:3.6rem !important;
  } */

  h2{
    font-size:2.8rem !important;
  }
  h3{
    font-size:2.4rem !important;
    letter-spacing:0.007em !important;
  }
  h4{
    font-size:2.1rem !important;
    letter-spacing:0.005em !important;
  }
}

@media screen and (min-width: 1440px){

  /* h2{
    font-size:4rem !important;
  } */
  h2{
    font-size:3.2rem !important;
  }
  h3{
    font-size:2.3rem !important;
    letter-spacing:0.007em !important;
  }
  h4{
    font-size:2.1rem !important;
    letter-spacing:0.005em !important;
  }
}

/* ERROR PAGE */
.ErrorPage-title {
  font-size: 11.2em;
  font-weight: 400;
}

.ErrorPage-title, .ErrorPage-subtitle {
  line-height: 1 !important;
}

.ErrorPage-subtitle {
  font-size: 3.3em;
}

#beforeFooter img{
  max-width: 100%;
  width: auto;
  height: auto;
}


/* Columns con shortcode */
.su-row{
  margin-bottom:0!important;
}

.Prose  .su-column-inner img{
  /* width: 100%; */
  max-width: 100%;
  height: auto;
}

.Prose .su-column-inner::content,.Prose .su-column-inner p{
  margin-bottom:3.2rem !important;
  font-size:1.6rem !important;
  letter-spacing:0.01em !important;
  line-height:1.55 !important;
  color:#1c2024;
}

@media screen and (min-width: 768px) and (max-width: 992px){
  .Prose .su-column-inner::content,.Prose .su-column-inner p{
    font-size:1.8rem !important;
    letter-spacing:0.01em !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  .Prose .su-column-inner::content,.Prose .su-column-inner p{
    font-size:1.8rem !important;
    letter-spacing:0.01em !important;
  }
}

@media screen and (min-width: 1440px){
  .Prose .su-column-inner::content,.Prose .su-column-inner p {
    font-size:1.8rem !important;
    letter-spacing:0.01em !important;
  }
}

/* Correzione CSS article liste */
.Grid-AreaTematica.Prose article p {
  /* padding-bottom: 15px; */
  margin-bottom: 1.9rem!important;
}

.Grid-AreaTematica.Prose div.Prose p {
  /* padding-bottom: 15px; */
  margin-bottom: 1.9rem!important;
}

.Prose article ul:not(.spid-idp-button-menu), .Prose article ol{
  list-style: disc;
  line-height: 1.55 !important;
  margin-left: 2rem !important;
}

.Prose article ul > li::before {
    content: "\25CF";
}

.Prose article ul ul > li::before, .Prose article ul ul ul > li::before {
  content: "\25FD";
}

.Prose article ul > li::before, .Prose article ul ul > li::before, .Prose article ul ul ul > li::before {
    /*color: #117cbf;
     color: #000000; */
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
}

.Prose article ol{
  line-height: 1.55 !important;
  list-style-position: inside;
}

.Prose article ul > li{
  padding-bottom: 5px;
  list-style: none!important;
}

.Prose article ol > li{
  padding-bottom: 5px;
  /* list-style: decimal; */
}

/* GALLERIE WORDPRESS */
.gallery { margin: 0 auto 18px; }
.gallery .gallery-item {
	display: inline-block;
	margin-top: 0;
  text-align: center;
  padding: 0 5px;
}

.gallery  .gallery-item {
  width: 100%;
  padding-bottom: 5px;
} 

.gallery  .gallery-item  img{
  display: block;
  margin:0 auto;
  max-width: 100%;
  height: auto;
  width: auto;
  text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 992px){
  .gallery  .gallery-item { width: 50%; }
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  .gallery-columns-2 .gallery-item { width: 50%; }
  .gallery-columns-3 .gallery-item, .gallery-columns-6 .gallery-item, .gallery-columns-9 .gallery-item { width: 33%; }
  .gallery-columns-4 .gallery-item,.gallery-columns-7 .gallery-item,.gallery-columns-8 .gallery-item { width: 25%; }
  .gallery-columns-5 .gallery-item { width: 20%; }
}

@media screen and (min-width: 1440px){
  .gallery-columns-2 .gallery-item { width: 50%; }
  .gallery-columns-3 .gallery-item { width: 33%; }
  .gallery-columns-4 .gallery-item { width: 25%; }
  .gallery-columns-5 .gallery-item { width: 20%; }
  .gallery-columns-6 .gallery-item { width: 16.666%; }
  .gallery-columns-7 .gallery-item { width: 14.27%; }
  .gallery-columns-8 .gallery-item { width: 12.5%; }
  .gallery-columns-9 .gallery-item { width: 11.1%; }
}

/* CALENDAR */
div.em-calendar-wrapper {
  position: relative;
}
table.em-calendar { 
  width:100%;
  max-width: 100%;
  border-collapse: collapse;
  background:white;
}
table.em-calendar .em-calnav { 
  font-weight: bold;
  text-decoration: none;
}
table.em-calendar td,table.em-calendar th {
  border: none;
  padding: 6px 6px;
  text-align: center;
  border: 1px solid #e9ecef;
}

table.em-calendar thead td{
  border:none;
}

table.em-calendar thead td:last-child{
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
  border-top-right-radius: 4px;
}

table.em-calendar thead td:first-child{
  -webkit-border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
  border-top-left-radius: 4px;
}

table.em-calendar tr.days-names td{
  border-bottom:2px solid #e9ecef;
  font-weight: bold;
}
table.em-calendar thead{
  background-color: #e0e0e0;
  font-size: 120%;
  font-weight: bold;
}
table.em-calendar td.month_name{
  text-align: center
}
table.em-calendar td{
  width:14.28%;
}
table.em-calendar td.eventful ul, table.em-calendar td.eventful-today ul, table.em-calendar td.eventful-post ul, table.em-calendar td.eventful-pre ul{
  display:none
}
table.em-calendar td.eventless-today,table.em-calendar td.eventful-today{
  background-color: #e0e0e0;
}
table.em-calendar td.eventless-pre,table.em-calendar td.eventless-post{
  color: #EEEEEE;
}
table.em-calendar td.eventful a, table.em-calendar td.eventful-today a {
  display: block;
  font-weight: bold;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
table.em-calendar td.eventful-pre a, table.em-calendar td.eventful-post a {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
}
aside .Linklist table.em-calendar a{
  padding:6px!important;
}
aside .Linklist table.em-calendar a:hover{
  background-color: inherit!important;
  color:inherit!important;
}
aside table.em-calendar thead{
  font-size: 100%;
}

/* CATEGORIE in visualizzazione evento: da lista a elenco con virgole */
ul.event-categories{
  padding: 0;
  margin-left: 0!important;
  display: inline;
}
ul.event-categories li{
  display: inline;
}
ul.event-categories li a{
  font-weight: bold;
}
ul.event-categories li:after {
  content: ", ";
  }
ul.event-categories li:last-child:after {
  content: "";
  }


/* Ridurre la distanza degli elenchi puntati dal paragrafo che li precede */
article > p + ul, article > p + ol, div#Main-Container p + ol, div#Main-Container p + ul{
  margin-top: -10px;
  margin-left: 3.2rem !important;
}

/* Modifica stile pagina AT */
div.Prose div.at-tableclass {
  padding: 0px 0px 0px 0px;
  position: relative;
  min-width: 200px;
}

div.Prose div.at-tableclass h2{
    border: none;
    padding: 28px 0px 0px 0px;
    background: none;
    margin-bottom: 5px!important;
}

div.Prose div.at-number{
  display:none;
}

div.Prose div.at-tableclass h2 a {
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}

div.Prose div.at-tableclass h2 a:hover {
  pointer-events: none;
  cursor: default;
  text-decoration:none!important;
  color: inherit!important;
}

/* Modifica distanza titoli nei footer */
.Footer-blockTitle {
  padding-bottom: 0.8rem!important;
}

/* Dimensione testo homepage */
div#content p{
  font-size: 2.0rem!important;
}

/* RIDIMENSIONO IMMAGINI CAROUSEL */
article.Carousel-item figure > a{
  overflow: hidden;
  max-height: 280px;
}

@media screen and (min-width: 768px) and (max-width: 992px){
  article.Carousel-item figure > a{
    height: 270px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  article.Carousel-item figure > a{
    height: 230px;
  }
}

@media screen and (min-width: 1440px){
  article.Carousel-item figure > a{
    height: 250px;
  }
}

/* BANDELLA */
a.BandaItem{
  color: white;
  text-decoration: none!important;
  border-bottom: none !important;
  border-top: none !important;
}

a.BandaItem:hover{
  text-decoration: underline!important;
}

.BandaItem .BandaItem--icon{
  margin-bottom: 0.2rem;
  /* margin-bottom: 0.8rem; */
  /* margin-right: 0.8rem; */
}

.BandaItem .BandaItem--icon img{
  width: 74px!important;
  height: 74px!important;
  max-width: 74px!important;
  max-height: 74px!important;
  margin: 0 auto;
}

.BandaItem .BandaItem--icon.lightTD img{
  width: 40px!important;
  height: 40px!important;
  max-width: 40px!important;
  max-height: 40px!important;
  margin: 0 auto;
}

@media screen and (min-width: 992px){
  a.BandaItem,a.BandaItem:hover{
    border-right: 0.1rem solid currentColor !important;
  }
  a.BandaItem:last-of-type{
    border-right: none !important;
  }
}

.BandaItem .BandaItem--icon > div {
    font-size: 3.62em;
}

@media screen and (max-width: 991px){
  .BandaItem .BandaItem--icon{
    padding-top: 0.4rem!important;
    padding-bottom: 0.4rem!important;
  }

  .BandaItem .BandaItem--icon > div{
    width: 1.28571429em;
    font-size: 4em;
    max-height: 53px;
    height: 53px;
  }

  .BandaItem .BandaItem--icon > div > div{
    font-size: 0.67em;
    padding-left: 15px;
  }

  .BandaItem .BandaItem--text{
    padding-left: 0.4rem;
  }

  .BandaItem .BandaItem--icon img{
    width: 53px!important;
    height: 53px!important;
    margin: 0 auto;
  }
  a.BandaItem,a.BandaItem:hover{
    border-bottom: 0.1rem solid currentColor !important;
  }
  a.BandaItem:first-of-type{
    border-top: 0.1rem solid currentColor !important;
  }

}

@media screen and (min-width: 1366px){
  .BandaItem .BandaItem--icon img {
    width: 79px!important;
    height: 79px!important;
    max-width: 79px!important;
    max-height: 79px!important;
    margin: 0 auto;
  }

  .BandaItem .BandaItem--icon > div{
    font-size: 3.9em;
    /* font-size: 3.5em; */
  }
}

/* .BandaItem .BandaItem--text{
  height: 100%;
  vertical-align: middle;
  width: 60%;
}

@media screen and (max-width: 767px){
  .BandaItem .BandaItem--text{
    width: 60%;
  }
} */

/* Testo nel balloon mappa eventi */
.em-map-balloon-content {
  font-size: 14px
}

@media screen and (max-width: 767px){
  .em-map-balloon-content {
    font-size: 16px
  }
}

/* aggiusta spaziatura in icone fontawesome in share */
#shareOptions .fa {
  margin-bottom: 4px;
}

/* SEZIONE NOTIZIE IN EVIDENZA */
.Sticky .Sticky-Img {
  max-height: 380px; 
  overflow: hidden
}

@media screen and (min-width: 700px) and (max-width: 992px){
  .Sticky .Sticky-Img {
    max-height: 450px; 
    overflow: hidden
  }
}

.grecaptcha-badge{
	display:none;
}

.Grid-ListaAreetematiche ul li.sottosezione a:hover {
  background-color: #eee !important;
}

.flexslider {
  margin-bottom: 0 !important; 
}

/* correzione offcanvas mauro*/
.Treeview--default ul a{
  background-color: #fff !important;
}

.Footer-block li{
  padding-bottom: 1.3rem !important;
  padding-top: 1.3rem !important;
}

/* .Treeview--default li[aria-expanded=false] > a{
  background-color: #fff !important;
} */

.homepage h1, .homepage h2, .homepage h3, .homepage h4, .homepage h5{
  color: #444e57 !important;
}

.homepage h1.u-color-white, .homepage h2.u-color-white{
  color: #fff !important;
}

.homepage h1.u-color-black, .homepage h2.u-color-black{
  color:#000 !important;
}

/* submenu aperto allineamento x Mauro */
.Megamenu--styled .Megamenu-subnavGroup{
  min-width:10%;
  max-width: 32%;
}

.Megamenu-subnav.is-open{
  text-align: left;
  padding-left: 2.4em!important;
}

.Megamenu-item > a{
  padding-left:3rem !important;
  padding-right:3rem !important;
}

.Megamenu--styled .Megamenu-list > li:not(.current-menu-item) > a[aria-expanded=false]:after {
  right: 0.2em;
}


.Megamenu--styled .Megamenu-subnavGroup > li > ul > li a{
  text-decoration: none;
}

.Megamenu--styled .Megamenu-subnavGroup > li > a:hover{
  text-decoration: underline!important;
}

@media screen and (min-width: 992px){
  /* .Header-toggle{
    text-align: left !important;
    padding-left: 2.4em!important;
  } */

  /* .Header-navbar, .Masonry-item {
    padding-left: 0!important;
  } */

  .Megamenu--styled{
    padding-left: 2em!important;
    padding-right: 2em!important;
    background-color: #30373D;
    border-color: #30373D;
  }

}

 /* @media screen and (min-width: 700px) and (max-width: 992px){
  .Header-toggle{
    text-align: left !important;
    padding-left: 2.4em!important;
  }
  .Header-navbar, .Masonry-item {
    padding-left: 0!important;
  }
}  */

.login #login_error {
  color: #000000!important;
}
/* 
#bandella i.fa{
  height: 64px;
  max-height: 64px;
} */

div.ElUff > ul.ElUff > li {
  padding-top: 0!important;
  padding-bottom: 0!important;
}

div.ElUff > ul.ElUff {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 2.2rem !important;
}


/* test paginazione eventi */
.em-pagination {
  display: inline-block;
  margin-bottom: 2.4rem !important;
  margin-top: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-top: 2.6rem !important;
}

.em-pagination .page-numbers {
  padding-right: 2rem !important;
  padding-left: 2rem !important;
  padding-bottom: 1.6rem !important;
  padding-top: 1.6rem !important;
  text-decoration: none !important;
}

.em-pagination .page-numbers:hover {
  background-color: #ddd !important;
}

.em-pagination .page-numbers.current {
 color: white;
}

.em-pagination .page-numbers.next, .em-pagination .page-numbers.prev {
  font-size: 2.1rem !important;
  letter-spacing: 0.005em !important;
  font-weight: bold;
 }

 /* polylang */
 .Header-languages-pll {
  /* display: inline; */
  width: auto;
  float: right !important;
  
}

/* app */
.App.Header-title {
  width: 75%!important;  
}

.App.Header-title .Header-titleLink{
  padding-left: 25px;
}

.App.Header-title .Header-titleLink a{
  font-size: 2.2rem!important;
}

.Entrypoint-item.Entrypoint--custom.Entrypoint--app{
  margin: 0!important;
  padding: 0!important;
}

.Entrypoint-item.Entrypoint--custom.Entrypoint--app.u-color-black p{
  color: black !important;
}

.Card-content p{
  overflow: hidden;
}

.Prose > ul.fa-ul{
  list-style-type: none;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.Prose > ul.fa-ul > li {
  padding-bottom: 0rem !important;
  padding-top: 0rem !important;
}

.Prose article ul.fa-ul{
  padding-left: 0;
}

/* CSS PER STAMPA */
.u-printOnly {
  display : none;
}

@media print{
  /* html, body {
    width: 210mm;
    height: 297mm;
  } */

  body{
    padding-top: 0!important;
    -webkit-print-color-adjust: exact;
  }

  div.Accordion-panel{
    height: auto!important;
    visibility: visible!important;
  }

  

  /* HACK PER FIREFOX, non gli piacciono le Grid */
  @-moz-document url-prefix() {
    div.Grid{
      display: block!important;
    }

    /* div#galleria div.Grid{
      display: flex!important;
    } */
  }
  
  h2.u-text-h4.u-background-40.u-color-white{
    -webkit-print-color-adjust: exact;
  }

  .u-printOnly {
    display : block;
  }
}

/* GALLERIA */
.u-border-galleria {
  border: 0.45rem solid currentColor !important;
}

/* OMBRE PICCOLE */
.u-borderShadow-s{
  -webkit-box-shadow: 2px 2px 4px #aaa !important;
  box-shadow: 2px 2px 6px #aaa !important;
}

/* COMPONENTE ACCORDION */
.Accordion{
  border-bottom: 0 !important;
}

.Accordion-link{
  padding-left: 1.6rem !important;
  padding-right: 1.6rem !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.Accordion-header{
  margin-bottom: 0 !important;
  /* border-top: 0 solid currentColor !important; */
  border-bottom: 0.1rem solid currentColor !important;
}

/* .Accordion-panel p{
  padding-top: 1.6rem!important;
} */

.Accordion--default .Accordion-header:first-child{
  border-top: none!important;
}

/* BORDI ANNULLATI */
.u-border-top-none{
  border-top: none!important;
}

.u-border-bottom-none{
  border-bottom: none!important;
}

.u-border-left-none{
  border-left: none!important;
}

.u-border-right-none{
  border-right: none!important;
}

h2.u-text-h4.u-background-40.u-color-white + div.u-inlineBlock.u-background-grey-20.u-borderRadius-l.u-padding-all-s.u-borderShadow-s.u-margin-bottom-s.u-margin-top-s{
  margin-top: 0!important;
}

/* .u-layout-app {
  max-width: 25em !important;
} */

/* Box in area laterale */
#box-laterale div.u-margin-top-s.u-margin-bottom-s.u-inlineBlock.u-background-grey-20.u-borderRadius-l{
  margin-top: 0!important;
}

/* Box in corpo del testo DOPO un <p> */
article p + div.u-margin-top-s.u-margin-bottom-s.u-inlineBlock.u-background-grey-20.u-borderRadius-l{
  margin-top: -20px!important;
}

/* Banner fondopagina */
#bannerFondopagina a{
  text-decoration: none;
}

#bannerFondopagina a:hover{
  text-decoration: underline;
}

/* fondino rosso */ 
.u-color-fondino{
  background-color: #FF0066;
  color: white;
}

/* allerta meteo */
div#allertaIdro img#alertBell{
  max-height: 185px;
}

.u-color-green{
  color: #36e600;
}

.u-color-red{
  color: #E30613;
}

.u-color-orange{
  color: #F39200;
}

.u-color-yellow{
  color: #FFDD00;
}

table#allertaMeteo{
  border-collapse:collapse;
}

@media screen and (min-width: 992px){
  table#allertaMeteo{
    margin: 0 auto;
  }
}

table#allertaMeteo thead th, table#allertaMeteo tbody td{
  text-align: center;
  font-weight: 600;
}

table#allertaMeteo thead th:first-of-type, table#allertaMeteo tbody td:first-of-type{
  text-align: left;
}

table#allertaMeteo thead tr:first-child{
  border-bottom: 1px solid white;
}

table#allertaMeteo tbody tr td{
  padding-right: 20px;
  padding-left: 20px;
}

table#allertaMeteo tbody tr td:first-of-type{
  padding-right: 20px;
  padding-left: 0px;
  font-weight: 400;
}

table#allertaMeteo tbody tr td:last-of-type{
  padding-right: 0px;
  padding-left: 2px;
  font-weight: 600;
}

/* comunicati stampa homepage */
div#comunicati h3{
  margin:0!important;
  padding: 0!important;
}

/* Layout prose più ampio (90 caratteri) */
.u-layout-prose-td{
  /*max-width: 36em!important;*/
  /*max-width: 50em!important;*/
  max-width: 42em!important;
}

/* previsioni meteo */
.meteoBlock .meteoIcon{
  font-size:64px;
  height: 90px;
}

/* Alleggerimento titoli da indicazioni Viada del 23-06-2020 */
.u-text-h1, .u-text-h2, .u-text-h3, .u-text-h4, .u-text-h6{
  font-weight:600 !important;
}
/* menu laterale stile per div senza anchor */
.Linklist div{
  background-color: transparent;
  color: #000 !important;
  /* rimossi perchè spanano il sito */
  /* padding-top: 1em !important;
  padding-bottom: 1em !important;
  padding-left: 1.6rem !important; */
}

/* Visualizzazione icona wait su ricerche, ...  */
.Overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  height: 100%;  
  z-index: 10000;
}

div.Wait {
    top: 50%;
    left: 50%;
    margin-top: -32px;
    margin-left: -32px;
    width: 75px;
    height: 75px;
    position: fixed;
    z-index: 1000;
}

body.Wait{
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.6;   
    z-index: 1;
}

.u-background-alert-red{
  background-color: #dd3333;
}

.u-background-alert-orange{
  background-color: #ff8100;
}

.u-background-alert-yellow{
  background-color: #ffe000;
}

.Dot.Dot-large {
  height: 1.5em;
  width: 1.5em;
}

h2.Accordion-header:focus, div.Accordion-panel:focus{
	outline: none;
}

.Accordion.Accordion--small .Accordion-link {
  padding-left: 1.6rem !important;
  padding-right: 1.6rem !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  font-weight: 600;
}

.Accordion.Accordion--small .Accordion-header {
  font-size:1.9rem !important;
  letter-spacing:0.006em !important;
  
}

.Accordion.Accordion--small .Accordion-header[aria-expanded=true] {
  border-bottom: none !important;
}


.Accordion.Accordion--small .Accordion-panel {
    padding-left: 1.6rem !important;
    /*padding-right: 1.6rem !important;
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;*/
}

.Accordion.Accordion--small .Accordion-panel div.Prose{
  padding-bottom: 0.8rem !important;
}

@media screen and (min-width: 768px) and (max-width: 992px){
  .Accordion.Accordion--small .Accordion-header {
    font-size:1.9rem !important;
    letter-spacing:0.007em !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1440px){
  .Accordion.Accordion--small .Accordion-header {
    font-size:1.9rem !important;
    letter-spacing:0.007em !important;
  }
}

@media screen and (min-width: 1440px){
  .Accordion.Accordion--small .Accordion-header {
    font-size:1.9rem !important;
    letter-spacing:0.007em !important;
  }
}



/* Per Regione Piemonte: logo largo */
.Header-navbar.Big .Header-logo {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 18.66667% !important;
    text-align: right !important;
}

.Header-navbar.Big .Header-logo img {
    /* width: 7.5rem; */
    max-width: 100%;
    height: auto;
    max-height: 90px;
    padding-right: 1.2rem!important;
}

.Header-navbar.Big .Header-title p.Header-titleLink {
  padding-left: 0.8rem !important;
  /* border-left: 1px solid black; */
}

@media screen and (max-width: 560px){
	.Header-navbar.Big .Header-logo img {
		width: 100%;
    border-right: none;
	}
}

@media screen and (min-width: 561px) and (max-width: 767px){
	.Header-navbar.Big .Header-logo img {
		width: 100%;
    border-right: 1px solid black;
	}
}

@media screen and (min-width: 768px) and (max-width: 992px){
	.Header-navbar.Big .Header-logo {
		width: 15.66667% !important;
    border-right: 1px solid black;
	}
	
	.Header-navbar.Big .Header-logo img {
    width: unset;
    max-width: 100%;
    height: auto;
    /* border-right: 1px solid black; */
	}
	
	.Header-navbar.Big .Header-toggle {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 13.66667% !important;
    padding-top: 7px;
}
	
	.Header-navbar.Big .Header-utils  {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 31.33333% !important;
	}
}

@media screen and (min-width: 992px) and (max-width: 1440px){
	.Header-navbar.Big .Header-logo {
		width: 14.66667% !important;
    border-right: 1px solid black;
	}
	
	.Header-navbar.Big .Header-title {
    width: 46.33333% !important;
	}
	
		.Header-navbar.Big .Header-toggle {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 12.66667% !important;
    padding-top: 7px;
	}
	
		.Header-navbar.Big .Header-logo img {
    width: unset;
    max-width: 100%;
    height: auto;
    /* border-right: 1px solid black; */
	}
	
		.Header-navbar.Big .Header-utils  {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 26.33333% !important;
	}
}

@media screen and (min-width: 1440px){
	.Header-navbar.Big .Header-logo {
		width: 12.66667% !important;
    border-right: 1px solid black;
	}
	
		.Header-navbar.Big .Header-toggle {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 12.66667% !important;
    padding-top: 7px;
}

		.Header-navbar.Big .Header-logo img {
    width: unset;
    max-width: 100%;
    height: auto;
    /* border-right: 1px solid black; */
	}
	
		.Header-navbar.Big .Header-utils  {
    -webkit-flex-basis: auto !important;
    -ms-flex-preferred-size: auto !important;
    flex-basis: auto !important;
    width: 26.33333% !important;
	}
}



.Prose article ul:not(.spid-idp-button-menu), .Prose > ul:not(.spid-idp-button-menu), .Prose ul:not(.spid-idp-button-menu){
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 2.2rem !important;
    padding-left: 1.5rem!important;
}

.Prose article ul.wpfd-breadcrumbs-table, .Prose > ul.wpfd-breadcrumbs-table, .Prose ul.wpfd-breadcrumbs-table,
.Prose article ul.jaofiletree, .Prose > ul.jaofiletree, .Prose ul.jaofiletree {
    list-style-type: disc;
    list-style-position: outside;
    margin-left: 0 !important;
    padding-left: 0!important;
}


.Prose article ol, .Prose > ol, .Prose ol {
    list-style-type: decimal ;
	list-style-position: outside;
    margin-left: 2.2rem !important;
    padding-left: 1.5rem!important;
}

.Prose article ol ul, .Prose > ol ul, .Prose ol ul {
    margin-left: 2.2rem !important;
    padding-left: 1.5rem!important;
}

.Prose article ol ul > li, .Prose > ol ul > li, .Prose ol ul > li{
    padding-bottom: 5px;
    list-style: circle!important;
}

.Prose article ul ul, .Prose > ul ul, .Prose ul ul {
    list-style-type: square;
}

.Prose article ul ul, .Prose > ul ul, .Prose ul ul {
    list-style-type: square;
}

.Prose article ul:not(.jaofiletree) > li, .Prose > ul:not(.jaofiletree) > li, .Prose  ul:not(.jaofiletree) > li {
    padding-bottom: 5px;
    list-style: disc!important;
}

.Prose article ul ul:not(.jaofiletree) > li, .Prose > ul ul:not(.jaofiletree) > li, .Prose ol ul:not(.jaofiletree) > li{
    padding-bottom: 5px;
    list-style: circle!important;
}

.Prose article ul ul ul:not(.jaofiletree) > li, .Prose > ul ul ul:not(.jaofiletree) > li, .Prose  ul ul ul:not(.jaofiletree) > li{
    padding-bottom: 5px;
    list-style: circle!important;
}

.Prose article ul > li::before, .Prose > ul > li::before, .Prose > ul ul ul > li::before, .Prose  ul ul ul > li::before {
    content: unset;
}


.Prose article ul ul > li::before, .Prose article ul ul ul > li::before, .Prose > ul ul > li::before, .Prose  ul ul > li::before{
    content: unset;
}

.u-border-bottom-s {
    border-bottom: .5rem solid currentColor !important;
}


h1.titleProc{
	padding-bottom: 5px;
}

h1.titleProcModello{
	padding-bottom: 6px;
}

@media screen and (min-width: 768px){
h1.titleProc{
	min-height: 60px!important;
	}
}

div#fattispecie a{
	/* padding-left: 0.8rem !important; */
  font-weight: 600 !important;
}

div#fattispecie span{
	padding-left: 1.6rem !important;
  font-weight: 600 !important;
}

.Header-top-TD a {
  color: #f5f5f0 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1.6rem !important;
  letter-spacing: 0.01em !important;
}

.Header-top-TD .Header-socialIcons {
  display: inline;
  width: auto;
}

.Header-top-TD .Header-socialIcons {
  float: right !important;
}

.Header-top-TD p {
  white-space: nowrap;
  overflow: hidden;
}

#divDestra{
  display: flex;
  align-self: stretch;
  justify-content: flex-end;
  align-items: center;
}

.buttonHeader{
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.buttonHeader.Accesso, .buttonHeader.Esci, .buttonHeader.Accesso:focus, .buttonHeader.Esci:focus{
  background-color: #0065cb;
}

/* .buttonHeader.Scrivania{
  background-color: #0065cb;
} */

.buttonHeader i{
  font-size: 30px;
  line-height: 0;
}

@media screen and (max-width: 768px){
  .Header-top-TD a {
    font-size: 1.3rem !important;
  }

  .buttonHeader i{
    font-size: 27px;
    padding-top: 1px;
  }
  
  .buttonHeader.Accesso img{
    max-width: 44px;
  }

}

.Form-input.Form-inputTD {
  padding: 0.5em;
  font-size: 16px !important;
  height: 40px;
}

.Form-input.Form-inputTD:focus, .tablesorter-filter:focus, .gotoPage:focus, .pagesize:focus {
  outline: none;
  box-shadow: 0px 0px 6px 1px #67c9ea !important;
}

.Footer-logo {
    max-width: 175px;
    height: auto;
}

@media screen and (max-width: 768px){
	.Footer-logo {
    max-width: 140px;
	}
	
}

.Form-label {
    padding-bottom: 4px;
}


.Cursor--pointer{
  cursor: pointer;
}

table.tablesorter thead tr .header {
  vertical-align: middle;
}


.ui-dialog-titlebar-close {
  visibility: hidden;
}

.u-color-error{
  color: red;
}

.u-color-ok{
  color: green;
}

.u-color-warning{
  color: #e78f22;
}

.jquery-modal.blocker{
	z-index: 9998;
}

.jquery-modal .modal{
	z-index: 9999;
	max-width: 85%;
}

.u-overflow-hidden{
  overflow: hidden;
}

/* cambio colore link negli elenchi puntati */
.Red .Grid-cell .Prose ul li a, .Red .Prose p > a, .RedRiva .Grid-cell .Prose ul li a, .RedRiva .Prose p > a{
  color: #8f001d !important;
}

.BlueSaluzzo .Grid-cell .Prose ul li a, .BlueSaluzzo .Prose p > a, .BlueSondrio .Grid-cell .Prose ul li a, .BlueSondrio .Prose p > a, .Blue .Grid-cell .Prose ul li a, .Blue .Prose p > a{
  color: #0073b8 !important;
}




  .Alert--error.Alert--withBg {
    background-color: #ffcbcb;
  }

  .Alert--error {
    border-left-color: red;
    color: #1e1212;
  }
  
  .Alert--warning.Alert--withBg {
    background-color: #ffef9f;
}

.Alert--success.Alert--withBg {
  background-color: #a8cf9a; 
}

.Grid-AreaTematica.Prose div.Prose p.CaselloniIcon {
  margin-bottom: 0px!important;
}

.Grid-AreaTematica.Prose div.Prose p.CaselloniIcon:hover {
  text-decoration: underline;
}


.bandellaBottom {
    border-bottom-style: inset;
    border-bottom-width: thin;
    border-color: white;
}

.leaflet-map {
	z-index: 35;
}

.fa-spin-td {
  -webkit-animation: fa-spin 1.5s infinite linear;
          animation: fa-spin 1.5s infinite linear; }

.em-osm-map {
  z-index: 15;
}

div.xu-padding-bottom-s.NewsImg a img{
  height: 225px;
  object-fit: cover;
}

div.Card-image a img{
  height: 225px;
  object-fit: cover;
}

.wpfd-content-tree ul li.directory a.catlink span {
  margin: 0 0 0 15px !important;
  position: relative !important;
  text-transform: none !important;
  font-size: 15px !important;
  font-weight: normal !important;
  font-stretch: normal !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  text-align: left !important;
  vertical-align: baseline !important;
  display: block !important;
  line-height: 11.5px !important;
  height: 36px !important;
  float: left !important;
  max-width: 90% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin-bottom: 1px !important;
  margin-top: 1px !important;
}

#et-boc .wpfd-content-tree ul .wpfd-file.ext a.wpfd-file-link,
#et-boc .wpfd-content-tree ul li.directory a.catlink, .wpfd-content-tree ul .wpfd-file.ext a.wpfd-file-link,
.wpfd-content-tree ul li.directory a.catlink {
  font-size: 1em;
  line-height: 28px;
  height: 32px !important;
  display: block;
  color: #666666;
}

.Prose article ul:not(.jaofiletree) > li, .Prose > ul:not(.jaofiletree) > li, .Prose ul:not(.jaofiletree) > li {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.IconFooterFontawesome {
  font-size: 37px;
  vertical-align: sub;
  color: white;
}

.IconHeaderFontawesome {
  font-size: 32px;
  vertical-align: sub;
  padding-left: 5px !important;
}

.overflow-wrap-anywhere{
  overflow-wrap: anywhere !important;
}

.ricercaproc{
  background-color: lightgoldenrodyellow !important;
  border: 2px solid gold;
}

.ricercaprocmod{
  background-color: lightgoldenrodyellow !important;
  font-weight: 600;
}

.endoprocedimento .Form-field .select2-container--default .select2-selection--single .select2-selection__rendered
{
    font-size:16px !important;
}

.fontweight700{
  font-weight: 700;
}

.justifySB{
  display: flex;
  justify-content: space-between;
}



