html {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 20px;
}

body {
	margin: 0;
	padding: 0;
}


nav {
	width: 100%;
	background-color: #EEEEEE;
	padding-top: 0.5rem;
	font-size: 0.80rem;
}

header {
	width: 100%;
	margin-bottom: 1.0rem;
}

main {
	width: 100%;
	margin-top: 1.0rem;
	margin-bottom: 1.0rem;
}

footer {
	width: 100%;
	border-top: solid 1px #666666;
	padding-top: 1.0rem;
	padding-bottom: 1.0rem;
	margin-top: 1.0rem;
}


h3 {
	border-bottom: solid 1px #CCCCCC;
	padding-bottom: 0.5rem;
	margin-bottom: 1.0rem;
}



/* CSS LISTA PULSANTI PANNELLO */

ul.listaPulsantiPannello {
	list-style: none;
	margin: 0;
	padding: 0;
	
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -moz-box;     /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */

	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-ms-flex-pack: start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	box-sizing: border-box;
}

ul.listaPulsantiPannello li {
	min-width: 200px;
	text-align: center;
}

ul.listaPulsantiPannello li a:link,
ul.listaPulsantiPannello li a:visited {
	display: block;
	width: 100%;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	padding-top: 128px;
	padding-bottom: 16px;
	border-radius: 8px;
}

ul.listaPulsantiPannello li a:hover,
ul.listaPulsantiPannello li a:active {
	color: #000000;
	text-decoration: none;
	background-color: #EEEEEE;
}

.pulsanteCartella {
	background-image: url('../Immagini/cartella.png');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 128px 128px;
}

.pulsanteImpostazioni {
	background-image: url('../Immagini/impostazioni.png');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 128px 128px;
}

.pulsanteStrumento {
	background-image: url('../Immagini/strumento.png');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 128px 128px;
}

.pulsanteElabora {
	background-image: url('../Immagini/elabora.png');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 128px 128px;
}

.pulsanteDatabase {
	background-image: url('../Immagini/database.png');
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 128px 128px;
}



ul.listaToolbarDatabase {
	list-style: none;
	margin: 0;
	padding-top: 5px;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -moz-box;     /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */

	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-ms-flex-pack: start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
	
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	box-sizing: border-box;
}

ul.listaToolbarDatabase li {
	width: 72px;
	height: 64px;
	padding: 0;
	margin: 0;
	font-size: 0.80rem;
	line-height: 1.0rem;
}

ul.listaToolbarDatabase li img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

ul.listaToolbarDatabase li a:link,
ul.listaToolbarDatabase li a:visited {
	display: block;
	width: 100%;
	height: 60px;
	padding-top: 4px;
	text-decoration: none;
	color: #000000;
	text-align: center;
	border-radius: 4px;
	overflow: hidden;
}

ul.listaToolbarDatabase li a:hover,
ul.listaToolbarDatabase li a:active {
	text-decoration: none;
	color: #000000;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.25);
	background-color: #EEEEEE;
}



.pubblicaScheda_Si {
	background-color: #FFFFFF;
}

.pubblicaScheda_No {
	background-color: #FAC0C0;
}


.textSchedaHashCode {
	font-size: 0.75rem;
	font-weight: normal;
	top: -1.0rem;
	position: relative;
}


.miniaturaPerElenco {
	max-width: 120px;
}

.textSmall {
	font-size: 0.80rem;
}

.dateField {
	text-align: right;
}

.numberField {
	text-align: right;
}

.textToRight {
	text-align: right;
}

.spazioIstruzioni {
	width: 100%;
}

.spazioIstruzioni ul li {
	margin-left: 0.5rem;
	margin-bottom: 0.25rem;
}

.cellaNumeroOrdinamento {
	cursor: pointer;
	background-color: #EDEDED;
	text-align: center;
	border-radius: 4px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.cellaNumeroOrdinamento:hover {
	background-color: #DDDDDD;
}



/* CSS ELENCO RECORDS */

.infoConteggioRecords {
	text-align: left;
}

table.elencoRecords {
	width: 100%;
}

table.elencoRecords thead {
	position: sticky;
	top: 0;
}

table.elencoRecords tbody > tr:hover {
	background-color: rgba(0,0,0,0.03);
}

table.elencoRecords th {
	text-align: left;
	padding-top: 1.0rem;
	padding-bottom: 1.0rem;
	padding-left: 0.50rem;
	padding-right: 0.50rem;
	background-color: #EEEEEE;
	box-sizing: border-box;
	border-top: solid 5px #EEEEEE;
	border-bottom: solid 5px #EEEEEE;
}

table.elencoRecords td {
	border-bottom: solid 1px #CCCCCC;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 0.50rem;
	padding-right: 0.50rem;
}

th.colonnaOrdinamentoAscendente {
	border-bottom: solid 5px #666666 !important;
}

th.colonnaOrdinamentoDiscendente {
	border-top: solid 5px #666666 !important;
}


.tipoPagina_Principale {
	border-left: solid 5px transparent !important;
	padding-left: 10px !important;
}

.tipoPagina_Secondario {
	border-left: solid 5px transparent !important;
	padding-left: 30px !important;
}

.tipoPagina_Riservata {
	border-left: solid 5px lightskyblue;
	padding-left: 10px !important;
}

.tipoPagina_Extra {
	border-left: solid 5px transparent !important;
	padding-left: 10px !important;
}

.tipoPagina_Dinamica {
	border-left: solid 5px transparent !important;
	padding-left: 10px !important;
}



/* CSS PORTALE */



.fieldsetPortaleRecordCorrelati {
	border: solid 1px #CCCCCC;
	padding-top: 1.0rem;
	padding-bottom: 1.0rem;
	margin-top: 1.0rem;
	margin-bottom: 1.0rem;
	border-radius: 0.4rem;
}

.fieldsetPortaleRecordCorrelati legend {
	font-size: 1.25rem;
	line-height: 1.50rem;
	padding: 0.5rem 1.0rem;
	background-color: #EEEEEE;
	border-radius: 2.0rem;
}


.portaleRecordCorrelati {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 1.0rem;
}

.portaleRecordCorrelati td,
.portaleRecordCorrelati th {
	padding: 0;
}

.portaleRecordCorrelati td:first-child,
.portaleRecordCorrelati th:first-child {
	padding-left: 0;
}

.portaleRecordCorrelati td:last-child,
.portaleRecordCorrelati th:last-child {
	padding-right: 0;
}

.portaleRecordCorrelati th,
.portaleRecordCorrelati td {
	padding: 0.5rem 0.5rem;
	border-bottom: 1px solid #EEEEEE;
}


.percentField {
	margin-right: 8px;
}


ul.checkbox-list {
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.checkbox-list li {
	width: 100%;
	margin: 0;
	padding: 0;
}

ul.checkbox-list li input[type='checkbox'] {
	margin-bottom: 0;
	padding: 0;
}

ul.checkbox-list li label {
	display: inline-block;
	font-weight: normal;
	font-size: 1.0rem;
	margin-left: 0.25rem;
	margin-right: 0.5rem;
	margin-top: 0.15rem;
	margin-bottom: 0.15rem;
	cursor: pointer;
	border: solid 1px transparent;
}

ul.checkbox-list li label:hover {
	border: solid 1px #CCCCCC;
}
