/* ================================================================================
   COMWEB 2016
	 (c) 2016-17 ePublic Srl - www.epublic.it
   Basato sulle Linee guida di design per i servizi web della PA - design.italia.it
   ================================================================================ */

/* -------------------------------------------------------------------------
		STILI per la STAMPA
   ------------------------------------------------------------------------- */
	 
@media print {

/* --- STILI GENERICI --- */

html, body {
  font-family: 'Titillium Web', sans-serif;
	font-size: 13.5pt;
	color: black !important;
  height: auto;
}

header { border-bottom: 1px solid gray; }
.container { padding: 0; }
.section-row, .home-content .section-row { padding: 2rem 0 1rem; }
.home-content .section-row:first-of-type { border: 0; }

/* --- COLONNE --- */

.col-print-12 { max-width: 100% !important; }

/* --- ELEMENTI BLOCCO --- */

#content .row, .collapse { display: block; }
.row-print-flex { display: flex !important; } /* ripristina la visualizzazione come a schermo nei casi necesari */

/* --- ELEMENTI NASCOSTI --- */
/* gli altri elementi nascosti qui non presenti sono definiti con la classe .d-print-none */

aside, #briciole, .fa-chevron-down, #list-filter { display: none; }

/* --- COLORI e SFONDI --- */

.sfondoscuro, .sfondocolore { background-color: #ccc; }
.sfondoscuro h2, .sfondocolore h2, .sfondoscuro h3.section-title, .sfondocolore h3.section-title { color: black !important; }

/* --- HOME PAGE --- */

.home-news, .home-event {
	background-color: transparent;
}
.grid { 
  height: auto !important;
}
.grid-sizer { display: none; }
.grid-item {
  position: static !important;
  display: block !important;
  height: auto !important;
  left: 0 !important;
  width: 100% !important;
}
.home-news-grid, .home-event-grid { border: 0; }
.home-news-grid .home-news-body, .home-event-grid .home-event-body { padding: .5rem 0; }
.grid-item figure { max-width: 360px; }

/* --- ELENCHI --- */

.inner-list figure, .inner-news figure, .inner-event figure, .detail-card figure {
  max-height: unset;
	margin-right: 1rem;
  padding-top: .1rem; /* per allineare meglio al testo */
	float: left;
}
.inner-list figure img, .inner-news figure img, .inner-event figure img {
  width: 200px;
  max-height: unset !important;
}
.table-md-float { width: auto; } /* evita che la tabella vada a capo */


/* --- FOOTER --- */

footer { 
  background-color: #fff;
	color: black !important;
  border-top: 1px solid gray;
}
footer a { color: black !important }

#footer-bottom { border: 0; }

} /* chiusura @media */