/* ==========================================================================
   Print styles.
   Fork of HTML5 Boilerplate print stylesheet - https://html5boilerplate.com/
   License MIT - Copyright (c) HTML5 Boilerplate
   ========================================================================== */

:root {
  --Print-font-family: Georgia, "Times New Roman", Times, serif;
  --Print-line-height: 1.5;
  --Print-max-width: 960px;
  --Print-font-size: 11pt !important;
}

@page {
	size: 210mm 297mm; 
	margin: 10mm;
}

@media print {
/*
	*, *::before, *::after {
		background-color: transparent !important;
		box-shadow: none !important;
		color: #000 !important;
		text-shadow: none !important;
	}*/
	
	/*
	a, a:visited {
		text-decoration: underline;
	}
	*/
	
	a[href]:after{
		/*content: "(" attr(href) ")";*/
		content:"" !important;
	}

  	img {
    	max-width: 100% !important;
    	page-break-after: auto;
    	page-break-before: auto;
    	page-break-inside: avoid;
  	}

  	pre {
    	white-space: pre-wrap !important;
    	word-wrap: break-word;
  	}

  	pre, blockquote {
    	border: 1px solid #999;
    	page-break-inside: avoid;
  	}

  	thead {
    	display: table-header-group;
  	}

  	table, blockquote, pre, code, figure, li, hr, ul, ol, a, tr {
    	page-break-inside: avoid;
  	}
/*
  	a, p, h2, h3 {
    	orphans: 3;
    	widows: 3;
  	}
*/
  	h1, h2, h3, h4, h5, h6 {
    	page-break-after: avoid;
  	}
	
	/* su richiesta di Turella 20-05-19*/
	.u-text-xxl, .u-text-r-xxl, .u-text-h1, .Forward[aria-hidden], .Footer-block, .Prose > h1 {
	    font-size: 2.4rem !important;
	}
	
  	/* Custom styles
    ================= */
	
	a.box-image:before{
		/*test content: "&#60;img src&#61;&#34;" attr(data-image) "&#34;&#62;";*/
		content: "";
	}
	
	.u-text-p {
		font-size:1em !important;
	}
	
	.sub-item-in-row p,.sub-item-in-row h4{
		min-height:auto !important;
	}
	
	.box-image {
		height:auto !important;
	}

	.ScrollTop, .link-esterno-portale{
		display:none !important;
	}

	#colonna_destra{
		display:none !important;
	}

	.box-news-esterno {
		width: 100%;
    	margin-top: 0 !important;
	}
	.altezza-box-news{
		min-height:auto !important;
		box-shadow:none !important;
	}
	.box-news-sub{
		max-width:none !important;
	}

	html, body {
    	font-family: var(--Print-font-family) !important;
    	font-size: var(--Print-font-size) !important;
    	line-height: var(--Print-line-height) !important;
    	max-width: var(--Print-max-width) !important;
    	padding-top: 0 !important;
  	}
  	
  	
  	 
}