.box-area-box-doppio {
	height: unset;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid-notizie-home-sizer, .grid-notizie-home-item  { width: 48%; }
	.grid-notizie-home-item .notizia-orizzontale { width: 48%; }

	.grid-notizie-elenco-sizer, .grid-notizie-elenco-item  { width: 48%; }
	.grid-notizie-elenco-item .notizia-orizzontale { width: 48%; }

	.grid-area-sizer-4, .grid-area-item-4,
	.grid-area-sizer, .grid-area-item  { width: 48%; }
	.grid-area-item .box-area-box-doppio { width: 48%; }

	.box-area-box-doppio {
		height: unset;
	}
	.governo-assessori-item .img-prev img {
		height: 350px;
	}

}
@media (max-width: 767px) {
	.grid-notizie-home-sizer, .grid-notizie-home-item  { width: 100%; }
	.grid-notizie-home-item .notizia-orizzontale { width: 100%; }

	.grid-notizie-elenco-sizer, .grid-notizie-elenco-item  { width: 100%; }
	.grid-notizie-elenco-item .notizia-orizzontale { width: 100%; }

	.grid-area-sizer-4, .grid-area-item-4,
    .grid-area-sizer, .grid-area-item,
	.grid-area-item .box-area-box-doppio { width: 100%; }

	.card-preview-governo-wide img {
		height: unset;
	}
	.card-preview-governo-wide-content {
		-ms-flex: 1 1 auto;
		flex: 1 1 auto;
		padding: 1.25rem;
	}
	.governo-assessori-item .img-prev img {
		height: unset;
	}

}


.gototop {
	display: none;
}
body.onscroll .gototop {
	display: block;
    position: fixed;
    bottom: 56px;
    right: 30px;
    z-index: 999999;
    width: 44px;
    height: 44px;
    background-color: #003399;
    color: #FFFFFF;
    text-align: center;
    line-height: 36px;
    font-size: 1.3em;
	border: 2px solid #fff;
    border-radius: 22px;
    cursor: pointer;
}
.cont-sfondo-bianco .card {
	background-color: #F0F1EC;
}
.cont-sfondo-grigio .card {
	background-color: #FFFFFF;
}

.menu-home-li.dropdown .desc-menu-home {
  visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.5s linear;
	width: 100%;
	word-wrap: break-word;
  font-weight: 300;
}
.menu-home-li.dropdown:hover .desc-menu-home {
    visibility: visible;
	opacity: 1;
}
.card-preview-governo-wide img {
	height: 100%;
}
.card-preview-governo-wide {
	min-height: 160px;
}
.card-governo-wide-subtitle {
    font-size: 14px;
    bottom: -3px;
    position: relative;
}

.line-clamp-2 {
      position: relative;
      height: 54px; /* exactly 2 lines */
	    overflow: hidden;
}
.line-clamp-2:after {
      content: "";
      text-align: right;
      position: absolute;
      bottom: 0;
      right: 0;
      width: 20%;
      height: 27px;
      background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
}
.line-clamp-3 {
      position: relative;
      height: 31px; /* exactly 3 lines */
      overflow: hidden;
}
.line-clamp-3:after {
      content: "";
      text-align: right;
      position: absolute;
      bottom: 0;
      right: 0;
      width: 20%;
      height: 27px;
      background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
}
.line-clamp-5 {
      position: relative;
      height: 135px; /* exactly 5 lines */
	  overflow: hidden;
}
.line-clamp-5:after {
      content: "";
      text-align: right;
      position: absolute;
      bottom: 0;
      right: 0;
      width: 20%;
      height: 27px;
      background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
}
.cont-sfondo-bianco .card .line-clamp-2:after ,
.cont-sfondo-bianco .card .line-clamp-3:after ,
.cont-sfondo-bianco .card .line-clamp-5:after {
	background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(240, 241, 236, 1) 100%);
}

@supports (-webkit-line-clamp: 2) {
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        max-height: 54px; /* I needed this to get it to work */
        height: auto;
    }
    .line-clamp-2:after {
        display: none;
    }
}
@supports (-webkit-line-clamp: 3) {
    .line-clamp-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        max-height: 81px; /* I needed this to get it to work */
        height: auto;
    }
    .line-clamp-3:after {
        display: none;
    }
}
@supports (-webkit-line-clamp: 5) {
    .line-clamp-5 {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        max-height: 135px; /* I needed this to get it to work */
        height: auto;
    }
    .line-clamp-5:after {
        display: none;
    }
}

@media (max-width: 767px) {
  .line-clamp-sm-2 {
      position: relative;
      height: 54px; /* exactly 2 lines */
      overflow: hidden;
  }
  .line-clamp-sm-2:after {
        content: "";
        text-align: right;
        position: absolute;
        bottom: 0;
        right: 0;
        width: 20%;
        height: 27px;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%);
  }
  .cont-sfondo-bianco .card .line-clamp-sm-2:after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(240, 241, 236, 1) 100%);
  }
  @supports (-webkit-line-clamp: 2) {
      .line-clamp-sm-2 {
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          max-height: 54px; /* I needed this to get it to work */
          height: auto;
      }
      .line-clamp-sm-2:after {
          display: none;
      }
  }
}

.jumptarget::before {
  content:"";
  display:block;
  height: 10px; /* fixed header height*/
  margin: -10px 0 0; /* negative fixed header height */
  padding-top:0px;
}

.jumptarget-tpl3::before {
  content:"";
  display:inline-block;
  height: 110px; /* fixed header height*/
  margin: -110px 0 0; /* negative fixed header height */
  visibility: hidden;
}

.cont_share_testata {
	position: absolute;
	right: 10px;
	top: 40px;
	background: rgb(255, 255, 255);
	box-shadow: rgba(142, 142, 142, 0.55) 5px 2px 5px 0px;
	padding: 10px 10px;
	border: 1px solid rgb(242, 242, 242);
	width: 50px;
    z-index: 9999;
}
.cont_share_testata .addthis_toolbox {
    font-size: 0.7em;
}
.etichettaShare {
    font-size: 1.2em;
    float: left;
    margin-right: 15px;
}
.cont_share .addthis_toolbox {
    margin: 10px 0px 0px 0px;
    font-size: 0.85em;
}
a.social-condividi {
    display: inline-block;
    color: #ffffff !important;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-right: 5px;
    background-color: #1f3f65;
    text-decoration: none !important;
    border-radius: 100%;
	margin-bottom: 10px;
}
.social-condividi.facebook {
	background:#3A589B !important;
}
.social-condividi.gplus {
	background:#D6492F !important;
}
.social-condividi.linkedin {
	background:#007AB9 !important;
}
.social-condividi.twitter {
	background:#598DCA !important;
}
.servizi-ico {
	position: relative;
}

form label {
	display: block;
}
form select {
	max-width: 100%;
}

.pulsante{
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	border-width: 1.8px;
    font-weight: 900;
	margin: 10px 0;
	margin-right: 10px;
}
.pulsante:first-letter{
    text-transform: capitalize;
}
.pulsante:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.pulsante { color:#fff;background-color:#003399; border-color:#003399; }
.pulsante:hover{color:#fff;background-color:#002676;border-color:#002676}
.pulsante:focus,.pulsante.focus{box-shadow:none;color:#002676;background-color:#fff;border-color:#002676;outline: none;}
.pulsante.disabled,.pulsante:disabled{color:#657a8d;background-color:rgba(101, 122, 141, 0.2);border-color:rgba(101, 122, 141, 0.2);background-clip: padding-box;}
.pulsante:not(:disabled):not(.disabled):active,.pulsante:not(:disabled):not(.disabled).active,.show>.pulsante.dropdown-toggle{color:#fff;background-color: rgba(0, 51, 153, 0.9);border-color: rgba(0, 51, 153, 0.90) !important;background-clip: padding-box;}
.pulsante:not(:disabled):not(.disabled):active:focus,.pulsante:not(:disabled):not(.disabled).active:focus,.show>.pulsante.dropdown-toggle:focus{box-shadow:none;outline: none;}


.crediti-is-footer {
	text-align: center;
	margin: 30px 0 10px 0;
	font-size: 0.9em;
}

.paragrafo11:after {
	content: "."; 
	visibility: hidden; 
	display: block; 
	height: 0; 
	clear: both;
}

.layer-video-ico {
	position: absolute;
	top: 40%;
	bottom: 0;
	left: 40%;
	right: 0;
	margin: 0 !important;
	color: #FFFFFF;
    padding-left: 11px !important;
	opacity: 0.9;
}

.ui-autocomplete-loading {
	background-color: #C5C5C5 !important;
	background-image: url('../../grafica/spin.gif');
    background-size: 16px 16px;
    background-position: right center;
    background-repeat: no-repeat;
}

.modulisticaCFP .editor-documento-ico {
  padding-right: 10px;
  float:left;
}

@media print {
	.img-prev, .img-prev-radius {display:none !important;}
    footer, 
	.cont-banner-vota,
	.cont-header-home-bread,
	.btn-success,
	.cont-header-home-sezione-5,
	.cont-header-home-1,
	.md-step-circle,
	.servizi-ico {
        display: none !important;
    }	
	.col-md-8 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
    .accordion .collapsed {
         height: auto !important;
    }	
    .accordion .collapse {
         height: auto !important;
		 display: block !important;
    }	
	.tab-pane,
	.fade,
	.titoloArea,
	.collapse {
		opacity: 1 !important;
		display: block !important;
    }
.md-stepper-horizontal .md-step .md-step-title {
  text-align: left;
}
	.md-step { display: list-item !important;
  list-style-position: inside !important;
  text-align: left !important;
  margin: 0px !important;
  line-height: normal !important;
  }

details {
  display: block !important;
}
summary {
  display: block !important;
}
details div.pre-content {
  display: block !important;
}
	.qrcode_print {display: block !important;}
	.tab-pane .d-md-none {display: block !important;}
	.titolo-tab-mobile {color:#000000 !important;opacity: 1 !important;font-weight:bolder !important;border-bottom:2px solid #333333 !important;padding-bottom:5px !important;}
}	


/*****************************************************/

/** Classi css per l'ottimizzazione della stampa  ***/

/*****************************************************/

/* Foglio A4 con margini di 3cm su tutti i lati. */

@page {
    size: 210mm 297mm;
    margin: 10mm;
}

/*CSS solo per la stampa*/

@media print {
    * {
        background: transparent !important;
        color: black !important;
    }

    @page{
        size: A4;
        size: auto;
        margin: 10mm 10mm 10mm 10mm;  
    }

    body {
        font-size: 12pt;
        background: none #FFF;
        color: #000
    }

    #wrapper, 
    #content { 
        width: auto; 
        border: 0; 
        margin: 0 5%; 
        padding: 0; 
        float: none !important; 
    }
	
	#contenuto_automatico p, .paragrafo0 p {
	  font-size: 13px;
	  line-height: 18px;
	}	
	
	#contenuto_automatico ul li, .paragrafo0 ul li {
	  font-size: 13px;
	  margin: 4px 0;
	}	

    .visible-print  { 
        display: inherit !important; 
    }

    .hidden-print   { 
        display: none !important; 
    }

    p,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }

    h2
     {
      page-break-after: avoid;
	 margin-top:20px !important;
    }
	
    .cont-header-home-3,
	.cont-header-home-1,
	.cont-banner-vota, 
	footer {
        display: none !important;
    }
	footer.bgc-grigioScuro,
	footer .container ,
	footer .container  section{
        display: none !important;
    }	
	.bgc-grigioScuro {display: none !important;}	
    
    .logoNomeHeaderContainer {
        display: block;
        width: 100%;
        text-align: left;
        page-break-after: always;
    }
    div#container {
        width: auto;
    }
    #nome-sito {
        position: relative;
        left: -60px;
        top: 10px;
    }
    .nomeHeader {
        font-size: 18pt !important;
    }
    .fixed-top.cont-header-home-2 {
        border-bottom: none !important;
    }
    .grid-notizie-home {
        height: auto !important;
        max-width: 100%;
        text-align: center;
    }
    .grid-notizie-home-item {
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        float: none !important;
        display: inline-block !important;
        padding: 0;
        margin-bottom: 3pt;
        margin-left: 3pt;
        margin-top: 3px;
        margin-right: 3pt;
        page-break-after: inherit;
    }
    .intestazione-card-servizi-ico {
        display: none !important;
    }
    .vedi-all {
        display: none;
    }
    .slider-portali-mono-out {
        display: block;
        height: 180px !important;
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
    select {
        background: #fff !important;
    }
    .navbar {
        display: none;
    }
    .btn>.caret, .dropup>.btn>.caret {
        border-top-color: #000 !important;
    }
    .label {
        border: 1px solid #000;
    }
    .table {
        border-collapse: collapse !important;
    }
    .table td, .table th {
        background-color: #fff !important;
    }
    .table-bordered th, .table-bordered td {
        border: 1px solid #ddd !important;
    }
    .slider-portali-home {
        display: none;
        height: 150px;
    }
    .fascia-margin-40, .fascia-margin-60 {
        padding-top: 0px;
        padding-bottom: 0px;
        page-break-after: always;
    }

    .link-sup-ente{
        display: none !important;
    }

    /* MediaLogo pagine interne */
    .head-stretta .mediaLogo{
        margin: 0px;
        padding: 0px;
        position: relative;
        left: -200px;
        top: -15px;
    }

    #nome-sito .nomeHeader{
        margin: 0px;
        padding: 0px;
        position: relative;
        left: -125px;
        top: -21px;
    }

    .card {
        display: block;
        float: none !important;
        width: 100% !important;
        height: auto  !important;
    }

    .card .flex-fil{
        display: block !important;
        float: none !important;
        width: 100% !important;
        height: auto  !important;
    }

    .grid-area,
    .grid-area-item{
        display: block !important;
        float: none !important;
        position:  static !important;
    }

    .grid-area .box-bordo,
    .grid-area .box-area-box-doppio{
        border: none !important;
    }

    .grid-area-item{
        height: auto;
        border: none !important;
        position: static !important;
        float: none !important;
        clear: both;
    }

    .grid-area-item::after{
        height: auto;
        border: none !important;
        position: static !important;
        float: none !important;
        clear: both;
    }

    .flex-fill .img-prev {
        display: none;
        /*height: 300px;
        width: auto;
        position: relative !important;
        clear: both;
        page-break-after: always;*/
    }

    .flex-fill .my-md-3{
        display: block;
        position: static !important;
        page-break-before: always;
        page-break-after: always;
    }

    .atti-home-governo-box{
        display: none;
    }
    
    .fascia-margin-40 .titolo-sezione{
        width: auto;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        margin-top: 30px;
        left: -5%;
    }
    
    .box-bordo .d-none, 
    .box-bordo .d-sm-none, 
    .box-bordo .d-md-block{ 
        display: block !important;
        visibility: visible;
    }
    
    .box-bordo .ico-position,
    .box-bordo .my-md-3,
    .box-bordo .my-md-3 a,
    .box-bordo .my-md-3 strong{
        display: none !important;
    }
    
    .text-center h3{
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        left: -5%;
    }

    .cont-sfondo-grigio .fascia-margin-60{
        page-break-after: always;
        page-break-before: always;
        float: none;
        clear: both;
    }

    .card img{
        display: block;
        position: static !important;
        visibility: visible !important;
        float: none;
        clear: both;
    }

    .card .grid-area-item-197{
        display: block;
        visibility: visible;
        position: static !important;
        float: none;
        clear: both !important;
    }

    .grid-area-item-197 .card-img-top,
    .grid-area-item-197 .ard-body{
        display: block;
        position: static !important;
        visibility: visible;
        float: none;
        clear: both !important;
    }

    footer{
        display: none !important;
        /*page-break-after: always;
        page-break-before: always;
        clear: both !important;
        position: static !important;
        float: none;*/
    }

    .bgc-grigioScuro,
    .cont-banner-vota{
        clear: both !important;
        float: none;
    }

    .cont-banner-vota .fascia-margin-20{
        display: none !important;
    }

    .inner_oggetto0{
        clear: both !important;
        float: none;
        /*page-break-before: always;*/
        position: static !important;
    }

    .menu-sticky-sezione-js-5,
    .container-fluid,
    .sticky-int,
    .noArrowDesk {
        display: none !important;
    }

    .cont-banner-vota{
        display: none !important;
    }

    .oggetto_1_1_155::after,
    .regolaInfo_el1_pos1::after
    {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }

    .grid-area article{
        display: block !important;;
        position: relative !important;;
        float: none !important;;
        clear: both;
        left: 0 !important;
        top: 0px !important;
        margin-top: 10px !important;
    }

    .grid-area article::after{
        float: none;
        clear: both;
    }

    .grid-area-item .card-body{
        flex: none !important;
        position: static !important;
        float: none !important;
        clear: both !important;
    }

    .square-content{
        position: relative !important;
    }

    .square:after {
        content: "";
        display: block;
        padding-bottom: 10px !important;
    }

    .grid-areq,
    .grid-area-197{
        position: static !important;
        float: none !important;
        clear: both !important;
        height: 100% !important;
    }

    .collapse{
        display: block !important;
        visibility: visible !important;
    }

    .tab-pane{
        display: block !important;
        visibility: visible !important;
    }
	
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: none !important;
  }	

    /*
    a[href]:after {
        font-size: 8pt;
        content: "(" attr(href) ")";
    }*/
}

