.scarf {
	position: absolute;
	display: block;
	top: 0px;
	right: 0px;
	width: 240px;
	overflow: hidden;
	height: 240px;
}  
.scarf a, .scarf div {
	width: 340px;
	height: 45px;
	position: absolute;
	top: 45px;
	right: -105px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	box-shadow: 4px 4px 10px rgba(0,0,0,0.8);
	background: #fff;
	background-color: #005688;
	color: #fff;
	text-decoration: none;
	font-family: arial,sans-serif;
	text-align: center;
	font-weight: bold;
	padding: 5px 40px;
	font-size: 12px;
	//line-height: 24px;
	transiction: 1.5s;
	z-index: 100;
	border-top: 1px SOLID #fff;
	border-bottom: 1px SOLID #fff;
}

.container {
	max-width: 1600px;
}

.navbar-custom {
	border-bottom: 1px solid #808080;
	background-color: #f0f0f0;
	padding: 4px;
}

.striped-separator {
	padding: 0px;
	background: repeating-linear-gradient( 45deg, transparent, transparent 2px, #ccc 2px, #ccc 4px );
}

 input[type="range"]::-webkit-slider-runnable-track {
	background: gray;
	height: 0.8rem;
} 
/* For Firefox */
 input[type="range"]::-moz-range-track {
	background: gray;
	height: 0.8rem;
} 

input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; /* Rimuove lo stile di default */
	appearance: none;
	width: 15px; /* Larghezza del cursore */
	height: 25px; /* Altezza del cursore (rettangolare) */
	background: orange; /* Colore del cursore */
	border-radius: 0; /* Rendi il cursore rettangolare */
	cursor: pointer;
	border: none; /* Rimuove il bordo */
	margin-top: -5px; /* Per allinearlo correttamente */
	
}

/* Per Firefox */
input[type=range]::-moz-range-thumb {
	width: 15px;
	height: 25px;
	background: orange; /* Colore del cursore */
	border: none;
	border-radius: 0; /* Rettangolare */
	cursor: pointer;
	
}


.bottom_footer {
	position: fixed;
	bottom: 10px;
	width: 100%;
	padding: 18px;
	border-top: 1px SOLID #808080;
	background-color: #f0f0f0;
}

.check-custom {
	-ms-transform: scale(3);
	-moz-transform: scale(3);
	-webkit-transform: scale(3);
	-o-transform: scale(3);
	transform: scale(3);
	padding: 10px;
	margin-right: 10px;
	margin-left: 4px;
	background-color: transparent !important;
	border: 0px;
	accent-color: #000 !important;
}

.modal-header {
	background-color: #006698;
	color: #fff;
}

.nav{
    margin-top: 6px;
	padding: 0px;
}

 .nav-tabs {
	 border-bottom: 1px SOLID #000;
	 height: 44px;
 }

[data-bs-theme="dark"] .nav-tabs {
	border-bottom: 1px SOLID #fff;
	height: 44px;
}

.nav-pills button {
	width: 200px;
}

.nav-pills button.active {
		background-color: #800000 !important;
		color: #fff;
	}

.nav-pills  {
	border: 1px SOLID #c0c0c0;
	padding: 8px;
}

[data-bs-theme="dark"] .navbar-custom {
	border-bottom: 1px solid #808080;
	background-color: #202020;
	padding: 4px;
}
[data-bs-theme="dark"] .custom-footer
{
	background-color: #202020;
}

.custom-footer {
	background-color: #fff;
}

[data-bs-theme="dark"] .navbar-brand,
[data-bs-theme="dark"] .dropdown-item,
[data-bs-theme="dark"] .btn-outline-dark {
	color: #fff;
}

[data-bs-theme="dark"] select,
[data-bs-theme="dark"] edit,
[data-bs-theme="dark"] textarea,
[data-bs-theme="dark"] input {
	border-color: #c0c0c0;
}

[data-bs-theme="dark"] .btn,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] hr,
[data-bs-theme="dark"] .nav-pills button.active {
	border: 1px solid #fff;
}

[data-bs-theme="dark"] small {
	color: #c0c0c0;
}

[data-bs-theme="dark"] .dropdown-menu {
	border: 1px solid #fff;
}
/* Personalizza i tab in modalità dark */
[data-bs-theme="dark"] .nav-tabs .nav-link,
[data-bs-theme="dark"] .nav-link {
	border-color: #b0b0b0 #b0b0b0 #fff #b0b0b0; /* Colore del bordo dei tab in dark */
	color: #ffffff; /* Colore del testo in dark */
}

	[data-bs-theme="dark"] .nav-tabs .nav-link.active,
	[data-bs-theme="dark"] .nav-link .active {
		background-color: #777; /* Sfondo del tab attivo in dark */
		border-color: #fff #fff #777 #fff; /* Bordo del tab attivo in dark */
		color: #fff; /* Testo del tab attivo in dark */
	}

/* Personalizza i tab in modalità light */
[data-bs-theme="light"] .nav-tabs .nav-link {
	background-color: #e0e0e0;
	border-color: #c0c0c0 #c0c0c0 #000 #c0c0c0; /* Colore del bordo dei tab in light */
	color: #000; /* Colore del testo in light */
}

	[data-bs-theme="light"] .nav-tabs .nav-link.active {
		background-color: #fff; /* Sfondo del tab attivo in light */
		border-color: #000 #000 #fff #000; /* Bordo del tab attivo in light */
		color: #000; /* Testo del tab attivo in light */
	}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #a0a0a0;
    opacity: 1; /* Firefox */
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #a0a0a0;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
	color: #a0a0a0;
}

pre.codice {
	display: block;
	white-space: nowrap;
	background-color: #f0f0f0;
	font-family: monospace;
	border: 1px SOLID #808080;
	padding: 0px;
	margin: 0px;
	overflow: auto;
	color: #000;
	max-height: 400px;
	width: 100%;
}

pre.codice::before {
	counter-reset: listing;
}

pre.codice code {
	counter-increment: listing;
}

pre.codice code::before {
	content: counter(listing) ". ";
	display: inline-block;
	width: 4em;         
	margin-right: 6px;
	margin-top: 0px;
	text-align: right; 	
	border-bottom: 1px SOLID #c0c0c0;
	background-color: #c0c0c0;
}

.dropdown-item:hover {
    background-color: #006698;
    color: #ffffff;
}

iframe.windowsFrameData {
	position: relative;
    width: 100%;
    height: 97%; 
    overflow: auto;
	margin: 0px;
	padding: 0px;
}

legend {
	color: #800000;
	width: auto;
	font-size: 1.0em;
}

.list-group-item {
	padding: 4px;
}

.table {
	border-color: #808080;
}

.input-group-text {
	background-color: #FAEBD7;
}

.menulink {
	cursor: pointer;
}

.shadow {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-webkit-box-shadow: 0px 0px 32px 2px #000000;
	-moz-box-shadow: 0px 0px 32px 2px #000000;
	-o-box-shadow: 0px 0px 32px 2px #000000;
	box-shadow: 0px 0px 32px 2px #000000; 
}

.home-menu {
	color: #fff;
}

.popover {
	--bs-popover-border-color: #000;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	max-width: 600px;
	min-width: 300px;
}

[data-bs-theme="dark"] .popover {
	border: 1px solid #fff;
}

.popover .popover-title {
	color: #FF0000;
}

small {
	color: #808080;
}

.tree ul {
  margin: 0 0 0 10em;  /* 15 */
  padding: 0;
  list-style: none;
  color: #369;
  position: relative;
  list-style-type: none;
}

 .tree:before, .tree ul:before {
  content: "";
  display: block;
  width: 0px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-left: 1px solid;
  background: white;
  z-index: -1;
} 
.tree li {
  font-weight: bold;
  line-height: 2em;
  margin: 0;
  padding: 1.5em 0 0 2em;
  position: relative;
  font-size: 14px; 
  list-style-type: none;
}
.tree li:before {
  border-top: 1px solid;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  margin-top: 1em;
  position: absolute;
  top: 1.5em;
  width: 2em;
  cursor: pointer;
}
.tree li:last-child:before {
  bottom: 0;
  height: auto;
  top: 1.5em;
}
.tree > li:before {
  border-top: none !important;
}
.tree li div {
  border-radius: 5px; 
  border: 1px solid #000; 
  margin: 0px;
  max-width: 25em;  
  min-width: 10em;
  padding: 0.25em 0.5em;
  background-color:  #fff; 
  color: #404040;
}

ul.tree {
  margin-left: 0px;
}
ul.tree:before {
  border-left: none;
} 

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  width: 100%;
  font-size: 14px;
  padding: 4px; 
} 

div.distanziatore {
	height: 20px;
}

.full-page {
	position: absolute;
	background: transparent !important;
	left: 50%;
	top: 50%;
	justify-content: center; /* centra orizzontalmente */
	align-items: center; /* centra verticalmente */
	background-color: #f8f9fa; 
}

/* Definisce gli stili per il calendario */
/* .datepicker {
    border: 1px SOLID #808080;
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0 0 24px rgba(200,200,200,1.976), inset 1px 1px 1px #f0f0f0;
	min-width: 280px;
}

.datepicker td {
	min-width: 40px;
} */

.breadcrumb {
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	border-radius: 5px;
	counter-reset: flag;
	text-align: center;
	list-style-type: none;
	background-color: #FFF;
}


.breadcrumb li {
	border-right: 1px SOLID #c0c0c0; 
}

.breadcrumb a {
	text-decoration: none;
	outline: hidden;
	display: block;
	/*float: left;*/
	font-size: 14px;
	line-height: 36px;
	color: #404040;
	padding: 0 30px 0px 60px;
	background: #FFF;
	position: relative;
}

[data-bs-theme="dark"] .breadcrumb {
	background: #202020;
	border: 1px solid #fff;
}

.breadcrumb a:last-child {
	border-radius: 0 5px 5px 0;
	padding-right: 20px;
}

.breadcrumb li.active a {
	font-weight: bold;
	background-color: #800000; /* #FAEBD7 */;
	padding-bottom: 0;
	color: #fff;
}

.breadcrumb li a {
	background-color: #f0f0f0;
	color: #000;
}

[data-bs-theme="dark"] .breadcrumb li.active a {
	background-color: #909090;
	color: #000;
}

[data-bs-theme="dark"] .breadcrumb li a {
	background-color: #202020;
	color: #fff;
}

.breadcrumb a.active:after, .breadcrumb a:hover:after {
	background: #333;
	background: linear-gradient(135deg, #333, #000);
	color: white;
}

.breadcrumb a:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -18px; 
	width: 36px; 
	height: 36px;
	transform: scale(0.707) rotate(45deg);
	z-index: 1;
	background: #666;
	background: linear-gradient(135deg, #666, #333);
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	border-radius: 0 5px 0 50px;
	
}
.breadcrumb a:last-child:after {
	content: none;
}
.breadcrumb a:before {
	content: counter(flag);
	counter-increment: flag;
	border-radius: 100%;
	width: 22px;
	height: 21px;
	line-height: 20px;
	margin: 8px 0;
	position: absolute;
	top: 0;
	left: 30px;
	background: #fff; 
	color: #000;
	background: linear-gradient(#f0f0f0, #a0a0a0);
	font-weight: bold;
}

.flat a, .flat a:after {
	background: white;
	color: black;
	transition: all 0.5s;
	clip-path: polygon(50% 50%, -50% -50%, 0 100%);
}
.flat a:before {
	background: white;
	box-shadow: 0 0 0 1px #ccc;
}
.flat a:hover, .flat a.active, 
.flat a:hover:after, .flat a.active:after{
	background: #F0E68C; /*#9EEB62; */
	color: #000;
}

.chartdiv {
  width: 100%;
  height: 400px;
}

.ml-2 {
	margin-left: 4px;
}

@media screen and (max-width: 800px) {
	div .distanziatore {
		height: 60px;
	}
	
	table.responsive {
		border: 0;
	}

	table.responsive caption {
		font-size: 1.3em;
	}
  
	table.responsive thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
  
	table.responsive tr {
		border-bottom: 3px solid #ddd;
		display: block;
		margin-bottom: .625em;
	}

	table.responsive td {
		border-bottom: 1px solid #ddd;
		display: block;
		font-size: .8em;
		text-align: right;
	}
  
	table.responsive td::before {
		/*
		* aria-label has no advantage, it won't be read inside a table
		content: attr(aria-label);
		*/
		content: attr(data-label);
		float: left;
		font-weight: bold;
		/*text-transform: uppercase;*/
	}

	table.responsive td:last-child {
		border-bottom: 0;
	}
	
}

/* @media screen and (min-width:992px) {
	.navbar .container-fluid,
	.navbar-expand-lg .navbar-collapse,
	.navbar-expand-lg .navbar-nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.navbar {
		width: 18%;
		height: 92vh;
		align-items: flex-start;
		border-right: 1px solid #808080;
	}

	
} */

@media screen and (max-width: 1100px) {
	
	div.distanziatore {
		height: 60px;
	}
	
	table.responsive-sm {
		border: 0;
	}

	table.responsive-sm caption {
		font-size: 1.3em;
	}
  
	table.responsive-sm thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	
	table.responsive tbody tr th {
		display: none;
	}
	
	table.responsive-sm tr {
		border-bottom: 3px solid #ddd;
		display: block;
		margin-bottom: .625em;
	}

	table.responsive-sm td {
		border-bottom: 1px solid #ddd;
		display: block;
		font-size: .8em;
		text-align: right;
	}
  
	table.responsive-sm td::before {
		/*
		* aria-label has no advantage, it won't be read inside a table
		content: attr(aria-label);
		*/
		content: attr(data-label);
		float: left;
		font-weight: bold;
		/*text-transform: uppercase;*/
	}

	table.responsive-sm td:last-child {
		border-bottom: 0;
	}
		
}