.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;
}

.bottom_footer {
	position: fixed;
	bottom: 10px;
	width: 100%;
	padding: 18px;
	border-top: 1px SOLID #808080;
}

.modal-header {
	background-color: #006698;
	color: #fff;
}

.nav{
    margin-top: 6px;
	padding: 0px;
}

 .nav-tabs {
	 border-bottom: 1px SOLID #000;
	 height: 42px;
 }

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
	color: #006698;
    background-color: #fff;
    border-color: #000 #000 #fff #000;
	
	height: 42px;
	border-radius: 10px 10px 0px 0px;
}

.nav-tabs .nav-link,
.nav-tabs .nav-item .nav-link {
	color: #404040;
    background-color: #f0f0f0;
    border-color: #c0c0c0 #c0c0c0 #000 #c0c0c0;
	font-weight: normal;
	height: 42px;
	border-radius: 10px 10px 0px 0px;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #c0c0c0;
    opacity: 1; /* Firefox */
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #c0c0c0;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #c0c0c0;
 }
 
/* .btn { 
    transition: 0.2s all; 
} 
          
.btn:active { 
	transform: scale(0.90);
}*/

/*.client_chart {
	width: 100%;
	height: 400px;
}*/

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;
	/*border: 0px SOLID #404040;
	padding: 8px;*/
	width: auto;
	font-size: 1.0em;
}

.list-group-item {
	padding: 4px;
}

/*fieldset {
    border:1px solid #404040;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;	
    border-radius:8px; 
	padding: 8px;
}*/

/*.table thead tr th {
	background-color: #1A4C59;
	color: #fff;
}

/*.table {
	margin-top: 10px;
	
	-webkit-box-shadow: 0px 1px 35px 4px #141414;
	-moz-box-shadow: 0px 1px 35px 4px #141414;
	-o-box-shadow: 0px 1px 35px 4px #141414;
	box-shadow: 0px 1px 35px 4px #141414;
}*/

/*.table {
	border-collapse: collapse;
	border-radius: 5px;
	overflow: hidden;
} */

/*.table thead tr th {
	background-color: #FF6347;
	color: #fff;
}*/

/*.table tbody tr td {
	border: 1px SOLID #c0c0c0;
}*/

.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 {
    /*border: 1px SOLID #000;*/
	--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);
}

.popover .popover-title {
	color: #FF0000;
}

/*.popover .arrow::before, .popover .arrow::after {
    border-color: transparent !important; 
    border-left-color: #000 !important;
    border-right-color: #fff !important;
}*/

small {
	color: #808080;
}

/*.tree li {
  list-style-type: none;
  margin: 10px 0 10px 10px;
  position: relative;
}
.tree li:before {
  content: "";
  position: absolute;
  top: -11px;
  left: -20px;
  border-left: 1px solid #808080;
  border-bottom: 1px solid #808080;
  width: 20px;
  height: 15px;
}
.tree li:after {
  position: absolute;
  content: "";
  top: 5px;
  left: -20px;
  border-left: 1px solid #808080;
  border-top: 1px solid #808080;
  width: 20px;
  height: 100%;
}
.tree li:last-child:after {
  display: none;
}
.tree li code {
  display: block;
  border: 1px solid #808080;
  border-radius: 4px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
  color: #888;
  text-decoration: none;
  width: inherit;
  max-width: 400px;
}

.tree li code:hover, 
.tree li code:focus {
  background: #eee;
  color: #000;
  border: 1px solid #aaa;
}
.tree li code:hover + ul li code, 
.tree li code:focus + ul li code {
  background: #eee;
  color: #000;
  border: 1px solid #aaa;
}
.tree li code:hover + ul li:after, 
.tree li code:hover + ul li:before, 
.tree li code:focus + ul li:after, 
.tree li code:focus + ul li:before {
  border-color: #aaa;
} */

.tree ul {
  margin: 0 0 0 15em;  /* 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: #0096C8; /* white;  */
  background-color:  #fff; 
  /* color: #369; */
  color: #404040;
  /*font-weight: bold; */
}

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;
}


/* 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 {
	/*centering*/
	display: inline-block;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
	overflow: hidden;
	border-radius: 5px;
	/*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
	counter-reset: flag; 
	text-align: center;
}

.breadcrumb a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 12px;
	line-height: 36px;
	color: white;
	/*need more margin on the left of links to accomodate the numbers*/
	padding: 0 10px 0 60px;
	background: #666;
	background: linear-gradient(#666, #333);
	position: relative;
}

.breadcrumb a:first-child {
	padding-left: 46px;
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumb a:first-child:before {
	left: 14px;
}
.breadcrumb a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}

/*hover/active styles*/
.breadcrumb a.active, .breadcrumb a:hover{
	background: #333;
	background: linear-gradient(#333, #000);
}
.breadcrumb a.active:after, .breadcrumb a:hover:after {
	background: #333;
	background: linear-gradient(135deg, #333, #000);
}

.breadcrumb a:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 36px; 
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: #666;
	background: linear-gradient(135deg, #666, #333);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
}
/*we dont need an arrow after the last link*/
.breadcrumb a:last-child:after {
	content: none;
}
/*we will use the :before element to show numbers*/
.breadcrumb a:before {
	content: counter(flag);
	counter-increment: flag;
	/*some styles now*/
	border-radius: 100%;
	width: 22px;
	height: 21px;
	line-height: 20px;
	margin: 8px 0;
	position: absolute;
	top: 0;
	left: 30px;
	background: #fff; /*#444;*/
	color: #000;
	/*background: linear-gradient(#444, #222);*/
	background: linear-gradient(#f0f0f0, #a0a0a0);
	font-weight: bold;
}

.flat a, .flat a:after {
	background: white;
	color: black;
	transition: all 0.5s;
}
.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;
}

@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 (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-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;
	}
		
}