@charset "UTF-8";

/*
 * Organizzazione del documento
 *
 * -FONTS
 * -RESET
 * -MEDIA
 * -SPECIAL
 * -selettori per tag
 * -selettori per Classi
 * -selettori per Id
 */
/*  FONTS  */

@font-face {
	font-family: 'FontAwesome';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/FontAwesome.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/FontAwesome.otf') format('opentype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'LiberationSerif';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationSerif-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'LiberationSerif';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationSerif-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'LiberationSerif';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationSerif-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'LiberationSerif';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationSerif-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'LiberationMono';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationMono-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'LiberationMono';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationMono-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'LiberationMono';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationMono-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'LiberationMono';
	src: url('http://srvsviluppo.bicnet.it/weblib/fonts/LiberationMono-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}
/*  RESET  */
* {
	padding: 0;
	margin: 0;
}

ol,ul {
	margin: 10px 0px 10px 27px;
}

li {
	margin-top: 10px;
}

/*  MEDIA  */
@media screen {
	body {
		margin: 0 10mm 0 10mm;
	}
}
@media print {
	* {
		page-break-inside: auto;
	}

	ol,ul,li,h1,h2,h3,h4,h5,h6,dl {
		page-break-before: auto;
	}

	ol,ul,li,dl,table {
		page-break-inside: auto;
	}

	div.sezione{
		page-break-before: always;
	}
}

/*  SPECIAL  */
@page {
	font-family: "LiberationSerif" !important;
	margin: 10mm 10mm 10mm 10mm;
	@bottom-left {
		content: "Pag." counter(page) "/" counter(pages);
		font-style: italic;
		font-size: 0.5em;
		padding-bottom: 5mm;
		padding-left: 10mm;
	}
	@bottom {
		content: flow(docfooter);
		padding-bottom: 5mm;
		font-size: 0.5em;
	}
	@left {
		content: flow(wm);
	}
	@right {
		content: flow(fg);
		margin-left: -148mm;
	}
}

/*  ------------------------------ selettori per tag ------------------------------  */
body {
	color: #000;
	background-color: #FFF !important;
	font-size: 10pt;
	z-index: 1;
}

div {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
}

p {
	text-align: justify;
}

pre {
	font-family: "LiberationMono" !important;
	font-size: 1em;
	text-align: justify;
	white-space: pre-wrap;
	word-wrap: break-word;
}

em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

/* intestazioni */
h1 {
	border: 0.2mm solid #000;
	font-weight: bold;
	font-size: 1.5em;
	padding: 1mm;
}

h2 {
	padding: 0.5mm;
	margin-top: 5mm;
	margin-bottom: 12mm;
	border: 0.2mm solid #000;
	font-weight: bold;
	font-size: 1.1em;
	color: white;
	background-color: #145eaf;
	text-align: center;
	text-transform: uppercase;
}

h3 {
	padding: 0.5mm 1.5mm;
	margin-top: 5mm;
	margin-bottom: 4mm;
	border: 1px solid #000;
	font-weight: bold;
	font-size: 1em;
	text-align: left;
	text-transform: uppercase;
	background-color: #b0b0b0;
}

h4 {
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	padding:3mm;
}

h5 {
	margin-top: 5mm;
	margin-bottom: 4mm;
	font-weight: bold;
	font-size: 1.1em;
}

h6 {

}

/* Liste */
ul {
	list-style-type: none;
}

/* Tabelle */
table {
	margin-top: 2mm;
	width: 100%;
	border: 1px solid #838383;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0;
}

caption {
	background-color: #349;
	color: white;
	font-weight: bold;
	font-size: 1.1em;
	padding: 2px;
	text-transform: uppercase;
}

th {
	background-color: #e6e6e6;
	text-align: justify;
	font-weight: normal;
}

thead th {
	text-align: center;
	font-weight: bold;
}

th,td {
	border-bottom: 1px solid #838383;
	border-right: 1px solid #838383;
	padding: 0.15em;
}

/* Definizioni */
dl {}

dt {
	display: inline-block;
	padding: 1mm 1mm 1mm 0;
	font-weight: bold;
	width: 54mm;
	vertical-align: top;
	text-align: left;
	border-top: 1px dashed #eee;
}

dt:after {
	content: ":";
}

dd {
	display: inline-block;
	padding: 1mm 0 1mm 0.8mm;
	width: 133mm;
	text-align: justify;
	vertical-align: top;
	border-top: 1px dashed #EEE;
}


/*  ------------------------------ selettori per Classe ------------------------------  */
div.frontespizio {
	margin-bottom: 2mm;
	color: white;
	text-align: center;
	font-weight: bold;
	background-color: #00008a;
	white-space: pre-line;
}

p.anagrafica,p.indirizzo {
	padding-top: 5px;
	padding-bottom: 5px;
}

p.descrizione {
	padding-top: 5px;
	padding-bottom: 5px;
	white-space: pre-line;
}

div.frontespizio p {
	text-align: center;
}

div.frontespizio h1 {
	border: 0;
	margin: 0;
	padding: 0;
	font-size: 2.5em;
	text-transform: uppercase;
}

div.frontespizio *:first-child {
	font-size: 2.5em;
}

div.frontespizio strong {
	text-decoration: underline;
}

div.ente_competente {
	margin-top: 2mm;
	margin-bottom: 2mm;
	width: 100%;
	text-align: right;
	font-size: 1.1em;
	white-space: pre-line;
}

div.ente_competente span {
	display: block;
}

.input {
	margin-left: 1mm;
	margin-right: 1mm;
	font-style: italic;
}

.nota {
	color: red;
}

.area_testo {
	padding: 3px;
	border: 1px solid black;
	margin: 4mm 0mm 3mm 0mm;
	text-align: justify;
}

.area_testo .input {
	display: block;
	white-space: pre-wrap;
}

.titolo_area {
	display: block;
	font-weight: bold;
}

.check_off,.check_on,.radio_off,.radio_on,.upload {
	font-family: "FontAwesome", "LiberationSerif" !important;
	padding-left: 17px;
	margin-right: 3px;
	vertical-align: middle;
}
.check_off:before {content:"";font-size: 1.5em;}
.check_on:before {content: "";font-size: 1.5em;}
.radio_off:before {content: "";font-size: 1.5em;}
.radio_on:before {content: "";font-size: 1.5em;}
.upload:before {content: "";font-size: 1.5em;}

.modificato {
	background-color: #FFF3C6;
}

/* Tabelle */
table.cronoprogramma {
	font-size: 0.8em;
}

tr.totale,td.totale,th.totale {
	background-color: #e6e6e6;
}

tr.parziale td:first-child{
	background-color: #9e9e9e;
	font-weight: bold;
}

tr.parziale,td.parziale {
	background-color: #9e9e9e;
}

tr.sottosezione {
	background-color: #FF6;
}

tr.sottosezione th {
	background-color: #FF6;
}

tr.sottosezione td:first-child {
	text-align: center;
	font-weight: bold;
}

td.money {
	text-align: right;
}

td.numeric,td.unita_misura {
	text-align: center;
}

td.off {
	content: '';
	background-color: #000 !important;
}

/*  Liste  */
ol.dichiarazioni>li>span.dichiara {
	text-decoration: underline;
}

ol.elenco{
	list-style-type: lower-alpha;
}

ol.note li{
	font-size:0.8em;
}

ul.disc {
	list-style-type: disc;
}

ul.disc>li>ul {
	list-style-type: circle;
}

ul.legenda  li {
	margin: 0px;
	font-size: 0.9em;
}

ul.upload {
	background-image: none;
	padding-left: 0px;
}

ul.upload li {
	padding-left: 17px;
}

/*  ------------------------------ selettori per Id ------------------------------  */
#footer, #watermark, #filigrana {
	display: none;
}

#footer {
	flow: static(docfooter);
	text-align: center;
}

#filigrana {
	flow: static(fg);
	font-family: "LiberationMono";
	font-size: 0.5em;
	color: #fff;
	background-color: #AAA;
	width: 299mm;
	height: 2mm;
	overflow: hidden;
	white-space: nowrap;
	transform: rotate(90deg);
	text-align: center;
}

#watermark {
	flow: static(wm);
	font-size: 10em;
	width: 210mm;
	left: auto;
	right: auto;
	/*color: rgba(255,0,0,0.3);*/
	color: #F00;
	/*border: 3px dashed rgba(255,0,0,0.3);*/
	border: 3px dashed #F00;
	text-align: center;
	transform: rotate(303deg) scale(1.3);
}

@media print {
	body.definitivo #filigrana {display: block}
	body.facsimile #watermark {display: block}
}

* {
	font-family: "LiberationSerif" !important;
}