
table,form,textarea,select,input,option {
	font-family: arial, helvetica, sans-serif;
	font-size: 8pt;
}

.cover {
	display:none;
	overflow:hidden;
	position:absolute;
	left:0px;
	top:0px;
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	z-index:10000;
	background:lightgrey;
	filter:alpha(Opacity=50);
	opacity:0.5;
	-moz-opacity:0.5;
	-khtml-opacity:0.5;
}

a:active {
/* 	color: #006400; */
	color: var(--bs-btn-active-color); 
}

a:visited {
/* 	color: #006400; 
	color: var(--bs-btn-visited-color);
	background-color: var(--bs-btn-visited-bg);
	border-color: var(--bs-btn-active-border-color);*/
	color: #0d6efd;
	
}
a:hover {
/* 	color: #D42E12;
	color: var(--bs-btn-active-color); */
	color: var(--bs-btn-hover-color);
	background-color: var(--bs-btn-hover-bg);
	border-color: var(--bs-btn-hover-border-color);
}

/*testo bottoni bianco anche visitato/attivo*/
a.btn-primary:visited {
	color: #fff;
}
a.btn-primary:active {
	color: #fff;
}
	
table.formBox {
	font-size: 8pt;
	border: solid 1px #D42E12;
}


form.formBoxe {
	font-size: 8pt;
	display: block;
}

table.formBoxe {
	font-size: 8pt;
	border: solid 1px #D42E12;
	display: block;
}

.formHeader,.formSubHeader,.formSubHeaderHighLight {
	/*background-color: white; #8F8F8C;*/ /* #D42E12 */
	background-image: url("header-bg.jpg");
	border-width: 0px 0px 0px 0px;
	color: #2F4F4F;
	font-family: arial, helvetica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	text-align: center;
}

/*.formSubHeader {
	 background-color: #8F8F8C;
	color: #2F4F4F;
} */

.formSubHeaderHighLight {
	background-color: #E6E6FA;
	color: #739CE1;
}

.formBody, .formBodyAlternate {
	background-color: #DFDFDF; /*white;*/ /*#E6E6FA;*/
	border: none;
}

.formBodyAlternate {
background-color: white;
}


.formBodySummary {
	background-color: white;
	text-align: left;
}




.formButton {
	font-size: 8pt;
	font-weight: bold;
}

.sectionBox {
	border: 1px solid #D42E12;
	display: table;
	font-size: 8pt;
	margin: 5px 0px 2px 0px;
	padding: 2px 2px 2px 2px;
	text-align: center;
}

.sectionHeader {
	color: #006400;
	font-size: 10pt;
	font-weight: bold;
	text-align: left;
}
.formMessageBox {
/* 	background-color: #E6E6FA; */
/* 	color: #739CE1; */
	background-color: aliceblue;
	color: navy;
	font-size: 8pt;
	font-weight: bold;
}
.formErrorBox {
	background-color: #E6E6FA;
	color: #004080;
}

.inputLabel {
	color: #2F4F4F;
	font-size: 8pt;
	text-align: right;
	font-weight: bold;
}
.outputLabel {
	/*color: #3C8080;*/
 	/*color: #9B4F56; */
	color: #004080;
	
	font-size: 8pt;
	text-align: right;
	font-weight: bold;
}
.outputLabelHeader {
	/*color: #3C8080;*/
 	/*color: #9B4F56; */
	color: #004080;
	
/* 	text-align: right; */
	font-weight: bolder;
	margin-left: 5px;
}


.inputLabelCenter {
	color: #2F4F4F;
	font-size: 8pt;
	text-align: center;
	font-weight: bold;
}

.inputLabelLeft {
	color: #2F4F4F;
	font-size: 8pt;
	text-align: left;
	font-weight: bold;
}


.inputField {
	font-size: 8pt;
	text-align: left;
}

.inputHintLabel {
	color: #696969;
	text-align: left;
}

.inputDisabled {
	color: black;
	background-color: #E6E6FA;
	border-color: #A9A9A9;
	border-style: solid;
	border-width: 1px;
}

.listTable , .listFixedHeaderTable , .tikcetTable{
	border: none;
	font-size: 8pt;
	margin: 0px 0px 0px 0px;
	padding: 1px 1px 1px 1px;
}

.listHeader, .listTable th, .listFixedHeaderTable thead th {
	 /*background-color: #BDBDBD;
    color: #2F4F4F;*/
/* 	background-color: transparent; */
	background-color: #FBF9EE;
    color: #004080;
    font-family: arial,helvetica,sans-serif;
    font-size: 8pt;
    font-weight: bold;
    text-align: center;
}



.listTable td {
	color: black;
	text-align: center;
}


.listSubHeader {
	background-color: #BABAFF;
	color: #08427B;
	text-align: center;
}

.listDetail,.listDetailAlternate,.listTable tr.odd,.listFixedHeaderTable tr.odd, .ticketTable tr.odd	{
	/*background-color: #DFDFDF;  #E6E6FA #8F8F8C */
	background-color:#f9f9f9;
	text-align: center;
}

.listDetailAlternate,.listTable tr.even,.listFixedHeaderTable tr, .ticketTable tr.even {
	background-color: white; /*#AFCFAF; #90EE90;*/
	text-align: center;
}

.listTable .sorted a, .listTable .sortable a {
	/*color: #2F4F4F;*/
	color: #004080;
	background-position: right;
	background-repeat: no-repeat;
	padding-right: 12px;
}

.listTable .sortable a {
	background-image: url(../images/order_off.gif);
}

.listTable .order1 a {
	background-image: url(../images/down.gif);
}

.listTable .order2 a {
	background-image: url(../images/up.gif);
}

.listTable .empty {
	color: gray;
	font-size: 8pt;
	font-weight: bold;
	text-align: center;
}

/* Fixed header tables */
div.fixedHeaderTableContainer {
	width: 100%;
	overflow: auto;
	margin: 0 auto;
}

table.listFixedHeaderTable {
	width: 99%; /*100% of container produces horiz. scroll in Mozilla */
	border: none;
}

table.listFixedHeaderTable tbody { /* tbody overflow in Mozilla */
	overflow: auto;
	overflow-x: hidden;
}

/* table.listFixedHeaderTable thead tr { tbody overflow in IE */
/* 	position: relative; */
/* 	top: expression(this.offsetParent.scrollTop); */
/* } */

table.listFixedHeaderTable td:last-child {
	padding-right: 20px;
}  /* prevent Mozilla scrollbar from hiding cell content*/

.title {
	color: white;
	font-size: 12pt;
}

.titleHeader {
	background-color: #739CE1;
}

.subtitleHeader {
	background-color: #E0EBFB;
	height: 20px;
}

img.actionIcon {
	border: none;
	cursor: pointer;
	padding-left: 2px;
	padding-right: 2px;
}

img.calendarIcon {
	border: none;
	cursor: pointer;
	vertical-align: baseline;
}


table  #filterfabcom, #pulsantiera, #filtrifabcom2, #filtrifabcom3{
   
    background-color: #B0C7C3;
    border-top: 1px dotted  #0B3861;
    border-bottom: 1px dotted  #0B3861;
    margin: 3px;
}

input.button_delete {
    background-image: url(images/icona_elimina.gif); /* 16px x 16px */
    background-color: transparent; /* make the button transparent */
    background-repeat: no-repeat;  /* make the background image appear only once */
    background-position: 0px 0px;  /* equivalent to 'top left' */
    border: 1px;           /* assuming we don't want any borders */
    cursor: pointer;        /* make the cursor like hovering over an <a> element */
    height:20px;           /* make this the size of your image */
    padding-left: 16px;     /* make text start to the right of the image */
    vertical-align: middle; /* align the text vertically centered */
    
}

div .padt5 { 
 padding-top: 5px;
}


.hidden {
 display: none;
}
.row-header {
	margin-top: 18px;
	margin-bottom: 8px;
}
.row-header  >h3 {
    color: #004080;
	font-weight: bold;
    /*border-bottom: 1px solid #004080;*/
}
.row-header  >span {
    color: #004080;
	font-size: 15px;
/* 	font-weight: bold; */
/* 	border-bottom: 1px solid #004080; */
}
.row-margin0 {
	margin-left: 0;
	margin-right: 0;
}

.hr-10 { 
	margin-top: 0;
    margin-left: 0;
    text-align: left;
    width: 10%;
	border-bottom: 1px solid #004080;
}
i.fa-asterisk {color:#004080;}
i.fa-info-circle {color:#004080;} 
span.fa-info-circle {color:#004080;}
a.disabled {
  pointer-events: none;
  cursor: default;
  color: gray;
}

.boxtop20 {
    border-radius: 3px;
    box-shadow: 0 0px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 10px 25px;
    display: block;
    margin-top: 20px;
}
input.form-control-100 {
	width: 100%!important;
}
/*
.navbar-inverse {
	background-color: #004080;
}*/
.navbar, .bg-custom{
  background-color: #004080;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
/* 	background-color: #1a1a1a; */
 	/*background-color: #004080;   blu TIM*/
	background-color: #003668;  /* blu TIM piÃ¹ scuro*/
	
}
a span.fa-gears {
	padding: 0px 5px 0px 5px;
}
a {
/* 	color: #004080!important;  */
	color: #004080;
}


/* riga intestazione datatable*/
table.dataTable th {
  /*color: inherit;  o un altro colore che vuoi usare*/
  color: #004080;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* padding riga datatable*/
table.dataTable tbody th, table.dataTable tbody td {
	padding-top: 5px;
	padding-bottom: 5px;
}
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
	border-top: 1px solid #ddd;
}

/* Escludi gli <a> nei <th> di una .dataTable */
table.dataTable th a {
  color: inherit; 
}

.breadcrumb {
	padding: 8px 15px;
	margin-bottom: 12pt;
	list-style: none;
	background-color: #f5f5f5;
	border-radius: 4px;
}

.btn {
	padding: 4px 12px;
	--bs-btn-line-height: 1.1;
}

.btn-primary {
	color: #fff;
	background-color: #004080;
	border-color: #004080;
}

.btn-red {
	--bs-btn-color: #fff;					/* color */
	--bs-btn-bg: #d14836;         			/* background */
	--bs-btn-border-color: #c13e2c; 		/* bordo */
	--bs-btn-hover-bg: #c13e2c;     		/* background hover */
	--bs-btn-hover-border-color: #a83224; 	/* bordo hover */
	--bs-btn-active-bg: #a83224;    		/* background active */
	--bs-btn-active-border-color: #91271f; 	/* bordo active */
}

.btn-blue {
	--bs-btn-color: #fff;
	--bs-btn-bg: #004080;
	--bs-btn-border-color: #0d6efd;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #0b5ed7;
	--bs-btn-hover-border-color: #0a58ca;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #0a58ca;
	--bs-btn-active-border-color: #0a53be;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #0d6efd;
	--bs-btn-disabled-border-color: #0d6efd;
}


.btn-default {
/* Mappa dei token BS5 -> aspetto BS3  */
  --bs-btn-color: #333;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #ccc;

  --bs-btn-hover-color: #333;
  --bs-btn-hover-bg: #e6e6e6;
  --bs-btn-hover-border-color: #adadad;

  --bs-btn-focus-shadow-rgb: 0, 0, 0;  /*grigio/nero molto tenue*/
/*   Focus ring piu soft  */
  box-shadow: 0 0 0 .25rem rgba(--bs-btn-focus-shadow-rgb, .075);

  --bs-btn-active-color: #333;
  --bs-btn-active-bg: #d4d4d4;
  --bs-btn-active-border-color: #8c8c8c;

  --bs-btn-disabled-color: #777;
  --bs-btn-disabled-bg: #fff;
  --bs-btn-disabled-border-color: #ccc;

/*    Lascia il resto (spaziatura, radius, font) alla classe .btn  */
}
.form-label {
/* 	margin-bottom: .5rem; */
	margin-top: 5px;
	margin-top: 10px;
	font-weight: bold;
}

/* Ricrea btn-default di Bootstrap 3 in Bootstrap 5 
.btn-default {
  color: #333;                  // testo scuro come BS3 
  background-color: #fff;       // sfondo bianco 
  border: 1px solid #ccc;       // bordo grigio 
}

.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;    // hover grigio chiaro BS3
  border-color: #adadad;
}

.btn-default:focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
  outline: 0;
  // focus ring â€œsoftâ€� come BS5 ma con tinta grigia 
  box-shadow: 0 0 0 .25rem rgba(0,0,0,.075);
}

.btn-default:active,
.btn-default.active,
.show > .btn-default.dropdown-toggle {
  color: #333;
  background-color: #d4d4d4;    //active un poâ€™ piÃ¹ scuro
  border-color: #8c8c8c;
}

.btn-default:disabled,
.btn-default.disabled,
fieldset:disabled .btn-default {
  color: #777;                  // testo disattivato 
  background-color: #fff;
  border-color: #ccc;
  opacity: .65;                 // stile BS3 
  pointer-events: none;
}
*/

/* definzioni per tutto  */
:root, [data-bs-theme="light"] {
	/*
	--bs-blue: #0d6efd;
	--bs-indigo: #6610f2;
	--bs-purple: #6f42c1;
	--bs-pink: #d63384;
	--bs-red: #dc3545;
	--bs-orange: #fd7e14;
	--bs-yellow: #ffc107;
	--bs-green: #198754;
	--bs-teal: #20c997;
	--bs-cyan: #0dcaf0;
	--bs-black: #000;
	--bs-white: #fff;
	--bs-gray: #6c757d;
	--bs-gray-dark: #343a40;
	--bs-gray-100: #f8f9fa;
	--bs-gray-200: #e9ecef;
	--bs-gray-300: #dee2e6;
	--bs-gray-400: #ced4da;
	--bs-gray-500: #adb5bd;
	--bs-gray-600: #6c757d;
	--bs-gray-700: #495057;
	--bs-gray-800: #343a40;
	--bs-gray-900: #212529;
	--bs-primary: #0d6efd;
	--bs-secondary: #6c757d;
	--bs-success: #198754;
	--bs-info: #0dcaf0;
	--bs-warning: #ffc107;
	--bs-danger: #dc3545;
	--bs-light: #f8f9fa;
	--bs-dark: #212529;
	--bs-primary-rgb: 13,110,253;
	--bs-secondary-rgb: 108,117,125;
	--bs-success-rgb: 25,135,84;
	--bs-info-rgb: 13,202,240;
	--bs-warning-rgb: 255,193,7;
	--bs-danger-rgb: 220,53,69;
	--bs-light-rgb: 248,249,250;
	--bs-dark-rgb: 33,37,41;
	--bs-primary-text-emphasis: #052c65;
	--bs-secondary-text-emphasis: #2b2f32;
	--bs-success-text-emphasis: #0a3622;
	--bs-info-text-emphasis: #055160;
	--bs-warning-text-emphasis: #664d03;
	--bs-danger-text-emphasis: #58151c;
	--bs-light-text-emphasis: #495057;
	--bs-dark-text-emphasis: #495057;
	--bs-primary-bg-subtle: #cfe2ff;
	--bs-secondary-bg-subtle: #e2e3e5;
	--bs-success-bg-subtle: #d1e7dd;
	--bs-info-bg-subtle: #cff4fc;
	--bs-warning-bg-subtle: #fff3cd;
	--bs-danger-bg-subtle: #f8d7da;
	--bs-light-bg-subtle: #fcfcfd;
	--bs-dark-bg-subtle: #ced4da;
	--bs-primary-border-subtle: #9ec5fe;
	--bs-secondary-border-subtle: #c4c8cb;
	--bs-success-border-subtle: #a3cfbb;
	--bs-info-border-subtle: #9eeaf9;
	--bs-warning-border-subtle: #ffe69c;
	--bs-danger-border-subtle: #f1aeb5;
	--bs-light-border-subtle: #e9ecef;
	--bs-dark-border-subtle: #adb5bd;
	--bs-white-rgb: 255,255,255;
	--bs-black-rgb: 0,0,0;
	--bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	--bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
	--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
	--bs-body-font-family: var(--bs-font-sans-serif);
	--bs-body-font-size: 1rem;
	--bs-body-font-weight: 400;
	--bs-body-line-height: 1.5;
*/	
	--bs-body-color: #004080;
	--bs-btn-visited-color: #006400;
/*	
	--bs-body-color-rgb: 33,37,41;
	--bs-body-bg: #fff;
	--bs-body-bg-rgb: 255,255,255;
	--bs-emphasis-color: #000;
	--bs-emphasis-color-rgb: 0,0,0;
	--bs-secondary-color: rgba(33, 37, 41, 0.75);
	--bs-secondary-color-rgb: 33,37,41;
	--bs-secondary-color:#6c757d;
	
	--bs-secondary-bg: #e9ecef;
	--bs-secondary-bg-rgb: 233,236,239;
	--bs-tertiary-color: rgba(33, 37, 41, 0.5);
	--bs-tertiary-color-rgb: 33,37,41;
	--bs-tertiary-bg: #f8f9fa;
	--bs-tertiary-bg-rgb: 248,249,250;
	--bs-heading-color: inherit;
	--bs-link-color: #0d6efd;
	--bs-link-color-rgb: 13,110,253;
	--bs-link-decoration: underline;
	--bs-link-hover-color: #0a58ca;
	--bs-link-hover-color-rgb: 10,88,202;
	--bs-code-color: #d63384;
	--bs-highlight-color: #212529;
	--bs-highlight-bg: #fff3cd;
	--bs-border-width: 1px;
	--bs-border-style: solid;
	--bs-border-color: #dee2e6;
	--bs-border-color-translucent: rgba(0, 0, 0, 0.175);
	--bs-border-radius: 0.375rem;
	--bs-border-radius-sm: 0.25rem;
	--bs-border-radius-lg: 0.5rem;
	--bs-border-radius-xl: 1rem;
	--bs-border-radius-xxl: 2rem;
	--bs-border-radius-2xl: var(--bs-border-radius-xxl);
	--bs-border-radius-pill: 50rem;
	--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
	--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
	--bs-focus-ring-width: 0.25rem;
	--bs-focus-ring-opacity: 0.25;
	--bs-focus-ring-color: rgba(13, 110, 253, 0.25);
	--bs-form-valid-color: #198754;
	--bs-form-valid-border-color: #198754;
	--bs-form-invalid-color: #dc3545;
	--bs-form-invalid-border-color: #dc3545;
*/	
}
.form-control {
	font-size: 10pt;
	color: #555;
/* 	display: block; 
	width: 100%;
	height: 23pt;
	padding: 6px 12px;
	line-height: 1.2;*/
/* 	background-color: #fff; 
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;*/
}
.row-new {
	margin-left: 0;
	margin-right: 0;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
	background-color: #eee;
	opacity: 1;
}

/* Aggiungi il comportamento zebra per tutte le tabelle */
table.dataTable tbody tr.odd {
 	background-color: #f9f9f9 !important; 
/*	background-color: var(--bs-table-striped-bg) !important;*/
}

table.dataTable tbody tr.even {
	background-color: #ffffff !important;
}

table.dataTable tbody tr:hover {
/*	background-color: var(--bs-table-hover-bg) !important; */
 	background-color: #e6e6e6 !important;
}

/* Aggiungi il comportamento zebra per tutte le tabelle*/ 
.table-striped > tbody > tr:nth-child(odd) {
/* 	background-color: var(--bs-table-striped-bg) !important; */
	background-color: #f9f9f9 !important; 
}

/* Aggiungi il comportamento hover */
.table-striped > tbody > tr:hover {
/*   background-color: var(--bs-table-hover-bg) !important; */
 	background-color: #e6e6e6 !important;
}

/* Sovrascrivi il comportamento generico con !important */
.table > :not(caption) > * > * {
  background-color: transparent !important; /* Sovrascrivi la regola globale */
}

.jumbotron {
	margin-bottom:0; 
	padding: 10px 10px 10px 10px;
	color: inherit;
	background-color: #eee;
	margin-top: 0px;
}
.jumbotron .bs-docs-booticon-lg {
    font-size: 30px;
}

.jumbotron h1, .jumbotron .h1 {
    font-size: 20pt;
}
.dropdown{
	font-size: 13pt;
}
/*.dropdown-menu .show: hover{
	
}
.dropdown-menu  .show :hover {
	color: var(--bs-btn-hover-color);
	background-color: var(--bs-btn-hover-bg);
	border-color: var(--bs-btn-hover-border-color);
}*/

.nav-item:hover{
	background-color: #0b5ed7;;
	
}
.dropdown-item:hover {
	color: #fff;
	background-color: #0b5ed7;;
}
a.dropdown-item {
	color: #333;
}

.navbar {
	padding: 0
}

/******** DataTable *********/
/* Separiamo "i" dalla riga che contiene "B" e "p" */
.top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px; /* Spazio tra informazioni e la parte inferiore */
	margin-top: 10px; /* Spazio tra informazioni e la parte inferiore */
}

/* Top2 contiene i bottoni e la paginazione sulla stessa riga */
.top2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Rimuoviamo il margine della paginazione e dei bottoni per allinearli bene */
.top2 .dt-buttons {
    margin-right: 10px;
}

/* La parte inferiore con il filtro */
.bottom .dataTables_filter {
    margin-right: 20px;
}	