@charset "UTF-8";

/*
 * Organizzazione del documento
 *
 * -RESET
 * -MEDIA
 * -SPECIAL
 * -selettori per tag
 * -selettori per Classi
 * -selettori per Id
 */ /*  RESET  */
* {
	padding: 0;
	margin: 0;
}

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

li {
	margin-top: 10px;
}

/*  MEDIA  */
@media screen {
	#footer {
		display: none;
	}
	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 {
	margin: 10mm;
	prince-shrink-to-fit: auto;
	@bottom-left {
		content: "Pag." counter(page) "/" counter(pages);
		font-style: italic;
		padding-bottom: 5mm;
		padding-left: 10mm;
		font-size: 0.5em;
	}
	@bottom {
		content: flow(docfooter);
		padding-bottom: 5mm;
		font-size: 0.5em;
	}
}

/*  ------------------------------ selettori per tag ------------------------------  */
body {
	color: #000;
	background-color: #fff !important;
	font-family: "Times New Roman", serif;
	font-size: 10pt;
	background-repeat: repeat-y;
}

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

p {
	text-align: justify;
}

pre {
	font-family: "Times New Roman", serif;
	font-size: 1em;
	text-align: justify;
}

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 black;
	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 black;
	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-size: 1.1em;
	font-weight: bold;
}

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 ------------------------------  */
body.definitivo {
	/* filigrana.png */
	background-image:
		url('data:image/png;base64,<?=$png_base64['filigrana.png']?>');
}

body.facsimile{
	background-image:
		url('data:image/png;base64,<?=$png_base64['facsimile.png']?>');
	background-repeat: repeat;
}

body.anteprima{
	background-image:
		url('data:image/png;base64,<?=$png_base64['anteprima.png']?>');
	background-repeat: repeat;
}

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 {
	padding-left: 17px;
	background-repeat: no-repeat;
/*	background-position: left top;*/
}

.check_off {
	/* check_off.png */
	background-image:
		url('data:image/png;base64,<?=$png_base64['check_off.png']?>');
}

.check_on {
	/* check_on.png */
	background-image:
		url('data:image/png;base64,<?=$png_base64['check_on.png']?>');
}

.radio_off {
	/* radio_off.png */
	background-image:
		url('data:image/png;base64,<?=$png_base64['radio_off.png']?>');
}

.radio_on {
	/* radio_on.png */
	background-image:
		url('data:image/png;base64,<?=$png_base64['radio_on.png']?>');
}

.upload,ul.upload li {
	/* upload.png */
	background-image:
		url('data:image/png;base64,<?=$png_base64['upload.png']?>');
}

.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: #ffff66;
}

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

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;
	background-repeat: no-repeat;
/*	background-position: left top;*/
}

div.loghi {
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	border: 1px solid #00008a;
	text-align: center;
}

div.unione_europea {
	background-image:
		url('data:image/png;base64,<?=$png_base64['unione_europea.png']?>');
	background-repeat: no-repeat;
	display: inline-block;
	width: 114px;
	height: 89px;
}

div.repubblica_italiana {
	background-image:
		url('data:image/png;base64,<?=$png_base64['repubblica_italiana.png']?>');
	background-repeat: no-repeat;
	display: inline-block;
	width: 118px;
	height: 89px;
}

div.regione_toscana {
	background-image:
		url('data:image/png;base64,<?=$png_base64['regione_toscana.png']?>');
	background-repeat: no-repeat;
	display: inline-block;
	width: 225px;
	height: 89px;
}

div.por_fse2020 {
	background-image:
		url('data:image/png;base64,<?=$png_base64['por_fse2020.png']?>');
	background-repeat: no-repeat;
	display: inline-block;
	width: 168px;
	height: 89px;
}

div.tirocini2015 {
	background-image:
		url('data:image/png;base64,<?=$png_base64['tirocini2015.png']?>');
	background-repeat: no-repeat;
	display: inline-block;
	width: 625px;
	height: 65px;
}

div.tirocini2016 {
	background-image:
		url('data:image/png;base64,<?=$png_base64['tirocini2016.png']?>');
	background-repeat: no-repeat;
	display: inline-block;
	width: 625px;
	height: 59px;
}

/*  ------------------------------ selettori per Id ------------------------------  */
#footer {
	text-align: center;
	flow: static(docfooter);
}