* {
	background: transparent !important;
	background-image: none !important;
	color: #000000 !important; /* Black prints faster:*/
	box-shadow: none !important;
	text-shadow: none !important;
}
@page{
	size: 210mm 297mm;
	margin: 5mm;
}
html, body {
    height: auto; 
    min-height: 100%;
}
body {
	/* font-family: Verdana, Arial, Helvetica, sans-serif; */
	font-size: 10pt;
	line-height:1.1;
	padding-top: 0 !important;
	margin:0;
	min-width: 992px !important;
}
.container {
    min-width: 992px !important;
}
.cornicefattura{
	min-height: 100%;
	padding-bottom:170px;
}
header .logo{
	max-width: 120px;
	height: auto;
	margin-left: 15px;
	display:inline-block;
	margin-right:30px;
}
footer {
	width:100%;
	height: auto;
	padding:10mm 0 50mm;
	font-size: 10pt;
	height:150px;
	width:100%;
	position: absolute;
	bottom: 0;
}
a, a:visited {
	text-decoration: none;
}
/*a[href]:after {
content: " (" attr(href) ")";
}
a[href^="javascript:"]:after,
    a[href^="#"]:after {
	content: "";
}*/
a[href]:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
	display: none;
}
abbr[title]:after {
	/* display: none; */
	content: " (" attr(title) ")";
}
h1,h2, h3, h4, h5, h6 {
	page-break-after: avoid;
}
p, h2, h3 {
	orphans: 3;
	widows: 3;
}
h1 {
	font-size:1.75rem;
}
.grande {
	font-size:1.1rem;
}
.text-center{
	text-align: center;
}
.gallery-cont, .gallery-img{
	max-width: 100% !important;
	height:auto!important;
    page-break-inside: avoid!important; 
}
img{
	max-width: 100% !important;
	height:auto!important;
	page-break-before: auto; 
    page-break-after: auto;
    page-break-inside: avoid; 
	object-fit: contain !important;
}
pre, blockquote {
	border: 1px solid #999999;
	page-break-inside: avoid;
}

.print-nobreak {
	break-inside: avoid;
	page-break-inside: avoid;
}
/* FORM */
.input-group,
.form-group{
	page-break-inside: avoid; 
}
/* Select: mostra solo l'opzione scelta */
select,
.form-select {
	appearance: none;
	-webkit-appearance: none;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0;
}
select option,
.form-select option { display: none!important; }
select option:checked,
.form-select option:checked { display: block !important; }

/* Input: stampali come testo */
input, textarea, select {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
    pointer-events: none;
}

.form-control, .form-control, .form-select, .form-control-static {
	border: none !important;
}
/* Il clone testuale del select */
.print-select {
	display: inline-block !important;
	white-space: normal !important; /* va a capo se serve */
	border: none !important;
	background: transparent !important;
}

/* Di sicurezza: se per qualche motivo il JS non gira */
select.form-select {
	-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
}
/* TABLE */
table {
    max-width: 100%;
	margin-bottom: 20px;
	border:solid #808080 !important;
    border-width:1px 0 0 1px !important;
	border-collapse: collapse !important;
}
th, td {
    border:solid #808080 !important;
    border-width:0 1px 1px 0 !important;
}
thead {
	display: table-header-group;
}
tr, img, iframe {
	page-break-inside: avoid;
	page-break-before: auto; 
    page-break-after: auto;
}
.scheda-mappa{
	page-break-inside: avoid;
	page-break-before: auto; 
    page-break-after: auto;
}
.table-bordered {
	border: 1px solid #DDD;
}
.table-bordered > tbody > tr > td{
	padding: 10px 5px;
}
.table {
    border-collapse: collapse !important;
}
.table td,
.table th {
background-color: #fff !important;
}
.table-bordered th,
.table-bordered td {
border: 1px solid #dee2e6 !important;
}
.table-dark {
color: inherit;
}
.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
border-color: #dee2e6;
}


.boxoverlay .boxcontent {
	position: relative;
	z-index: 1;
	top: unset;
	left: unset;
	height: auto;
	width: 100%;
}
.tab-content > .tab-pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.slidetop-cont .titolohover {
	position: relative;
	
  }
/* NASCONDI SEZIONI INUTILI X STAMPA */
.noprint, .d-print-none {
	display: none !important;
}
#print, .only4print{
	display: block !important;
}
.socialbar, .parallaxBg, .segnapagine, .boxlink{
	display: none;
}
.owl-next, .owl-prev{
	display: none;
}
/* BOOTSTRAP X STAMPA */
.d-print-block{
	display:block!important
}
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4,
.col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8,
.col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, 
.col-md-5, .col-md-6, .col-md-7, .col-md-8, 
.col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-md, .col-auto, div[class*="col-"]{
	float: left;
}
.col-sm-12,
.col-md-12 {
   width: 100%;
}
.col-sm-11,
.col-md-11 {
   width: 91.66666667%;
}
.col-sm-10,
.col-md-10 {
	width: 83.33333333%;
}
.col-sm-9,
.col-md-9 {
   width: 75%;
}
.col-sm-8,
.col-md-8 {
   width: 66.66666667%;
}
.col-sm-7,
.col-md-7 {
   width: 58.33333333%;
}
.col-sm-6,
.col-md-6,
.grid-item {
   width: 50%;
}
.col-sm-5,
.col-md-5 {
   width: 41.66666667%;
}
.col-sm-4,
.col-md-4, .col-md {
   width: 33.33333333%;
}
.col-sm-3,
.col-md-3 {
   width: 25%;
}
.col-sm-2,
.col-md-2 {
   width: 16.66666667%;
}
.col-sm-1,
.col-md-1 {
   width: 8.33333333%;
}
