/**
* File CSS generale
* 
* 1rem = 16px
* 
*/


/* GENERALI */

body {
	line-height: 0 !important;
}

h4, h6, p {
	margin: 0;
}

form {
	margin: 0;
	line-height: 1;
}

label {
	font-size: 0.75rem;
	color: #828899;
	margin-bottom: 0.375rem;
}

hr {
	height: 1px;
	width: 100%;
	color: #828899;
}

li {
	margin-bottom: 0.2rem;
}

.modal-body {
	line-height: 1 !important;
}




/* TABELLE */
fieldset {
	margin-top: 1rem;
}

fieldset > div.form-row:last-of-type, fieldset > div.form-row:only-of-type,
fieldset > div.form-group:last-of-type, fieldset > div.form-group:only-of-type {
	margin-bottom: 0;
}

legend {
	font-size: 0.75rem;
	color: #828899;
	font-weight: bold;
}

.no-overflow-x {
	overflow-x: unset !important;
}

table.table {
	margin: 0;
}

.table tbody + tbody {
	border-top: 1px solid #dee2e6;
}
/* riga titoli */
th, td {
	font-size: 0.75rem;
	color: #828899;
	font-weight: 400;
	border: 0 !important;
	padding: 0.375rem !important;
}
/* altre righe */
td {
	border-top: 0;
	color: black;
	border-bottom: 1px solid #dee2e6 !important;
	padding: 0.625rem !important;
}
/* ultima riga + right dentro .storico*/
.storico table.table > tbody td, table.table > tbody > tr:last-of-type > td {
	
	padding: 0.5625rem !important;
}
/* solo ultima riga */
table.table > tbody > tr:last-of-type > td {
	border-bottom: 0 !important;
}

.no-overflow {
	overflow: unset;
}

/* pagina 'Documenti' colonna 'Tipo documento' */
.documenti th:nth-child(1), .documenti tr > td:nth-child(1) {
	width: 25vw;
}
/* pagina 'Documenti' colonna 'Descrizione' */
.documenti th:nth-child(2), .documenti tr > td:nth-child(2) {
	width: 30vw;
}
/* pagina 'Documenti' colonna 'Firma' */
.documenti th:nth-child(3), .documenti tr > td:nth-child(3) {
	width: 15vw;
}

.dati-personali thead th:nth-child(1) {
	width: 10vw;
}

.dati-personali div.form-check {
	margin-bottom: 0.4rem;
}

.dati-personali .float-right {
	width: 8.75rem;
}

.archivio, .pagina, .line-height-one-half {
	line-height: 1.5 !important;
}

.line-height-20 {
	line-height: 1.25rem !important;
}

/* CONTAINER */
.container-fluid {
	padding: 0;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

div[class^="col-"] {
	padding: 0;
	
}

#main {
	width: 100%;
}

#main > div:first-of-type {
	width: 11.75rem;

	
}

#main > div.col-2 > div {
	width: 11.75rem;
	position: fixed;
}

#menu {
	padding-top: 2.1875rem;
	padding-right: 0;
}

#section {
	max-width: 73.6875rem;
	padding: 2.1875rem 2.5rem 0 3.75rem;
}




/* NAV */
nav.nav {
	height: 90vh;
}

a.nav-link {
	border-left: 5px solid white;
	color: #828899;
	padding: 0.3rem 1rem;
}

nav.nav > a.nav-link, nav.nav > a.nav-link.active {
	font-weight: 700 !important;
}

a.nav-link.active {
	border-left-color: #3F5AA6;
	background-color: #EBEEF7;
	color: #3F5AA6;
}
/* 'Esci' */
nav.nav > a.nav-link:last-of-type {
	position: fixed;
	bottom: 1rem;
}

.custom-file {
	height: unset;
}

.form-check {
	margin-right: 1rem;
	height: 1.5rem;
}

label.form-check-label {
	margin-top: 0.35rem;
}

label.custom-file-label {
	height: 1.75rem;
}

.custom-file-label::after {
	height: 1.625rem;
}






/* SEZIONI */
.sezione {
	width: 100%;
	margin: 0 1rem 1rem 0;
	padding: 0.75rem;
}

.sezione-min {
	max-width: 21.25rem;
}

.sezione-md {
	/* max-width: 26.875rem; */
	max-width: 32.4rem;
}

.sezione-lg {
	max-width: 38rem;
}

.sezione-xl {
	max-width: 43.75rem;
}

.sezione-max {
	max-width: 65.75rem;
}

.questionario {
	padding: 1rem 7.5rem;
}




/* SFONDI */
.bg-blue {
	background-color: #3F5AA6;
}

.bg-light-blue {
	background-color: #EBEEF7;
}

.bg-grey {
	background-color: #F2F3F7;
}

.bg-second-grey {
	background-color: #EBEEF7;
}





/* ELEMENTI FORM */
.form-group {
	margin-bottom: 0.75rem;
}

.form-control, select.form-control:not([size]):not([multiple]) {
	height: 1.75rem;
	font-size: 0.75rem;
	color: #445EA8;
}

.form-no-visible {
	height: 1.35rem;
}

select.form-control, button.btn {
	padding: 0.275rem;
}

.form-row {
	margin: 0 0 0.5rem 0;
}
/* 
#ricerca {
	max-width: 8.5rem;
}
 */
#filtro-ascendente {
	max-width: 9.625rem;
}
/* 
#filtro-intermediario, #filtro-stato {
	max-width: 6.625rem;
}
 */



.intro > p {
	margin-bottom: 0.5rem;
}





/* GRANDEZZA FONT */
.text-16 {
	font-size: 1rem;
}
.text-14 {
	font-size: 0.875rem;
}

.text-12 {
	font-size: 0.75rem;
}

.text-11 {
	font-size: 0.6875rem;
}

label.error {
	color: #dc3545;
}



/* COLORI FONT */
.text-blue {
	color: #3F5AA6;
}

.text-dark-blue {
	color: #455278;
}

.text-light-blue {
	color: #828899;
}


/* DECORAZIONI FONT */
.text-decoration-none  {
	text-decoration: none !important;
}

.letter-spacing-6 {
	letter-spacing: 0.375rem !important;
}


/* BUTTON */
.btn {
	font-size: 0.75rem;
	width: 6.5625rem;
	height: 1.75rem;
}
.btn-big {
	font-size: 0.75rem;
	width: 10.5625rem;
	height: 2.00rem;
}
.btn-big2 {
	font-size: 0.75rem;
	width: 12.5625rem;
	height: 2.75rem;
}

.btn-primary {
	background-color: #3F5AA6;
	border-color: #3F5AA6;
}

.btn-primary:hover {
	background-color: #324884;
	border-color: #324884;
}

#goToPageButton {
	background-color: #EBEEF7;
	color: #455278;
}

#goToPageButton:hover {
	background-color: #d3d6de;
	color: #ffffff;
}

#resetButton, #btnSalva, #btnProcedi, #nextButton, #btnAggiungiAzienda, #modificaProfiloButton {
	height: 2rem;
}
/* centratura simboli +/- patrimonio hardware */
.line-height-4 {
	line-height: 0.25rem !important;
}


.badge {
	font-size: 0.75rem !important;
}



#copiaDatiSede, 
#goToPageButton, 
#aggiungiSoggetto, 
#aggiungiRigaStruttura, 
#aggiungiRigaMandati, 
#btnUpload, 
#nextButton, 
#testoSiWebsite, 
#testoFormWebsiteSi,
#informativaSitoAltroTesto {
	width: unset !important;
}

.addRemove {
	width: 1.75rem;
	border-radius: 1rem;
}




/* WIDTH / HEIGHT DELLE IMMAGINI DA SOSTITUIRE */
.w165h45 {
	width: 165px !important;
	height: 45px !important;
}

.w100h35 {
	width: 6.25rem !important;
	height: 2.4rem !important;
}

.w100h32 {
	width: 6.25rem !important;
	height: 2rem !important;
}

.w42h42 {
	width: 42px !important;
	height: 42px !important;
}

.w66h54 {
	width: 66px !important;
	height: 54px !important;
}

.w23h23 {
	width: 23px !important;
	height: 23px !important;
}

.w16h16 {
	width: 1rem !important;
	height: 1rem !important;
}

.w10h10 {
	width: 0.625rem !important;
	height: 0.625rem !important;
}





/* lunghezze max campi questionario */
.w50 {
	width: 3.125rem;
}
.w100 {
	width: 6.25rem;
}
.w115 {
	width: 7.1875rem;
}
.w197 {
	width: 12.3125rem;
}
.w214 {
	width: 13.375rem;
}
.w245 {
	width: 15.375rem;
}
.w342 {
	width: 21.4rem;
}
.w400 {
	width: 25rem;
}
.w440 {
	width: 27.5rem !important;
}
.w500 {
	width: 31.25rem;
}


/* Altezze max */
.h50 {
	height: 3.125rem !important;
}
.h400 {
	height: 25rem !important;
}
.h500 {
	height: 31.25rem !important;
}
.h-unset {
	height: unset !important;
}







/* MARGINI E PADDING */

.mb-half {
	margin-bottom: 0.5rem !important;
}
.mb-35 {
	margin-bottom: 2.1875rem !important;
}
.mb-38 {
	margin-bottom: 2.375rem !important;
}
.mb-100 {
	margin-bottom: 6.25rem !important;
}
.mr-16 {
	margin-right: 1rem !important;
}
.mr-24 {
	margin-right: 1.5rem !important;
}
.mt-42 {
	margin-top: 2.6rem !important;
}
.pt-12 {
	padding-top: 0.75rem !important;
}


.archivio li.page-item > a.page-link {
	border-radius: 0.25rem;
	width: 2.4375rem;
	text-align: center;
}
/* #filtro-ascendente, #filtro-intermediario, #email  NON PIU' NECESSARI */
.archivio li.page-item > .numero, #filtro-ascendente, #filtro-intermediario, #filtro-stato, #nome-cognome, #ricerca, #filtro, #filt_nav_report {
	height: 2.375rem;
	line-height: 1.8;
}

.page-item.active .page-link {
	color: white;
	background-color: #3F5AA6;
	border-color: #3F5AA6;
}







/* GRAFICI */
.grafico-container {
	box-sizing: border-box;
	width: 9.625rem;
	/* width: 6rem; */
	height: 9.625rem;
	/* height: 6rem; */
}

.grafico-container-questionario {
	box-sizing: border-box;
	/* width: 9.625rem; */
	width: 6rem;
	/* height: 9.625rem; */
	height: 6rem;
}

.grafico-placeholder {
	width: 100%;
	height: 100%;
	font-size: 0.875rem;
	line-height: 1.2em;
}

p.legendPlaceholder {
	position: absolute;
	font-size: smaller;
	font-weight: bold;
	display: none;
	z-index: 2;
}

div.legend td {
	border-bottom: 0 !important;
}

.legendColorBox {
	display: none;
}




.hidden *, .hide {
	display: none;
}



.flip {
	transform: rotate(180deg);
}


.width-max-content {
	width: max-content !important;
}



#form_sezioneInfrastruttureForm div.align-self-center > label  {
	margin: 0;
}



/* .page-item:last-child > .page-link { */
#last-child {
    margin-right: 0 !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}
