html {
  position: relative;
  min-height: 100%;
  min-width: 360px;
  font-size: 15px;
}
body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 0.8em;
  /* Set the fixed height of the footer here */
  height: 30px;
  line-height: 30px; /* Vertically center the text there */
  background-color: #f5f5f5;
}


body > .container-fluid, body > .container  {
  /*padding: 135px 15px 0;*/
 padding: 65px 15px 0;
}


/* Hide number filed arrows Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide number filed arrows Firefox */
input[type=number] {
  -moz-appearance:textfield;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
          color: #cccccc;
          opacity: 1; /* Firefox */
        }
        
.navbar {
	background-color: #ffffff;
	min-width: 360px;
}

.navbar-brand {
	max-width: 80%;
	
}

.navbar-collapse {
	background-color: #ffffff;
}

.minitable {
	border-bottom: 1px solid #dee2e6;
}

.minitable td {
	font-size: 0.8em;
	padding: 0 10px 0 0;
	vertical-align: middle;
}

.midtable td, .minitable th {
	font-size: 0.95em;
	padding: 0.4em;
	vertical-align: middle;
}

.table_seasondata {
	border: 1px solid #d0d0d0;
}

.table_seasondata td {
	font-size: 0.8em;
	padding: 2px 10px 2px 0;
	vertical-align: middle;
	border-top: 1px solid #d0d0d0;
	border-right: 1px solid #d0d0d0;
	text-align: right;
}

.table_seasondata th {
	font-size: 0.95em;
	padding: 0.4em;
	vertical-align: middle;
	text-align: center;
	border-right: 1px solid #d0d0d0;
}

.table_stagionalita {
	width:100%;
	margin: 15px 0;
	 
	border-top: 1px solid #ddd;
}

.table_stagionalita tr {
	height:21px;
	border-bottom: 1px solid #f0f0f0;
}

.table_stagionalita th {
	padding: 2px;
	text-align: center;
	border-left: 1px solid #f0f0f0;
}


.table_stagionalita td {
	font-size: 1em;
	border-left: 1px solid #f0f0f0;
}

.analisystable {
	border-bottom: 1px solid #dee2e6;
	
}

.analisystable td {
	vertical-align: middle;
}


tr.trade_line select,tr.trade_line input, tr.stock_line select,tr.stock_line input  {
	padding-top:1px;
	padding-bottom:1px;
	height:26px !important;
} 

.green-gradient {
	background: rgb(99,195,132);
	background: linear-gradient(90deg, rgba(99,195,132,1) 0%, rgba(99,195,132,0.3) 100%);
	border: 1px solid rgb(99,195,132);
}

.red-gradient {
	background: rgb(255,0,0);
	background: linear-gradient(90deg, rgba(255,0,0,0.3) 0%, rgba(255,0,0,1) 100%);
	border: 1px solid rgb(255,0,0);
}

.gray-gradient-negative {
	background: rgb(200,200,200);
	background: linear-gradient(90deg, rgba(200,200,200,0.3) 0%, rgba(200,200,200,1) 100%);
	border: 1px solid rgb(200,200,200);
}

.gray-gradient-positive {
	background: rgb(200,200,200);
	background: linear-gradient(90deg, rgba(200,200,200,1) 0%, rgba(200,200,200,0.3) 100%);
	border: 1px solid rgb(200,200,200);
}

.bg-green {
	background-color: #c6efc6;
}

.bg-red {
	background-color: #ffc7c7;
}

.bg-yellow {
	background-color: #ffeb9c;
}

.bg-blue {
	background-color: #007bff;
}

.bg-white {
	background-color: #ffffff;
}

.bg-light {
	background-color: #fafafa;
}

.bg-gray {
	background-color: #eeeeee;
}

.bg-green-sa {
	background-color: #daeed5;
}

.bg-red-sa {
	background-color: #f2dada;
}

.txt-on-green {
	color: #006100;
}

.txt-on-red {
	color: #9c0006;
}
.txt-on-yellow {
	color: #9c5700;
}
.txt-on-green-sa {
	color: #348b00;
	font-weight: 600;
}

.txt-on-red-sa {
	color: #c10016;
	font-weight: 600;
}

.txt-on-light-sa {
	color: #ccc;
	font-weight: 600;
}

.red-green-triagle {
	position: relative;
    display: inline-block;
    height: 0.9em;
    width: 0.88em;
    overflow: hidden;
    background-color: #d12c2c;
    border-radius: 2px;
}

.red-green-triagle:before {
    content: '';
      position: absolute;
      left: 20%;
      width: 100%; 
      height: 200%; 
      /*background-color: rgb(255, 255, 255); 
      background-color: rgba(255, 255, 255, 0.5);*/
      background-color: #54a235;
      top: 0px;
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      transform: rotate(45deg);
}

.page-item.active .page-link {
	background-color: #334a7a;
	border-color: #334a7a;
}
.page-item.active .page-link:hover {
	background-color: #293a61;
	border-color: #293a61;
}

.text-warning2 {
	color: #ed7d31;
}

.text-success2 {
	color: #92d050;
}
.optimized-value {
	color: #b0b0b0;
	text-decoration: line-through;
}

a {
	color: #a5741e;
}

.btn-primary {
	background-color: #334a7a;
	border-color: #334a7a;
}

.btn-primary:hover {
	background-color: #293a61;
	border-color: #293a61;
}

.btn-outline-primary {
color: #334a7a;
background-color: transparent;
background-image: none;
border-color: #334a7a;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #293a61;
    border-color: #293a61;
}

.btn-outline-secondary {
color: #6c757d;
background-color: transparent;
background-image: none;
border-color: #9ca5ad;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}


.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .5rem;
    font-size: .8rem;
    line-height: 1.2;
    border-radius: .2rem;
}

.cursor-pointer {
	cursor: pointer;
}

.st-column-1 {
	flex: 0 0 560px;
}

.st-column-2 {
	flex: 0 0 315px;
}

.st-column-3 {
	flex: 0 0 200px;
}

/**
 * 	Password strenght meter
 */

.password-strength-addon {
	min-width: 180px;
}

/** 
 * Password viewer	
 */

.password-viewer-addon i {
	color: #444444;
	cursor: pointer;
}

/* Reset the default appearance */
meter.password-strength-meter {
 
 	/* -webkit-appearance: none;*/ /* nuovo comportamento di chrome che non visualizza i colori se questo è impostato */
    -moz-appearance: none;
    appearance: none;
	margin: 0 1em;
	/* Applicable only to Firefox */
    background: none;
    background-color: rgba(0, 0, 0, 0.1);
}

meter.password-strength-meter::-webkit-meter-bar {
  background: none;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Webkit based browsers */
meter.password-strength-meter[value="1"]::-webkit-meter-optimum-value { background: red; }
meter.password-strength-meter[value="2"]::-webkit-meter-optimum-value { background: yellow; }
meter.password-strength-meter[value="3"]::-webkit-meter-optimum-value { background: orange; }
meter.password-strength-meter[value="4"]::-webkit-meter-optimum-value { background: green; }
meter.password-strength-meter[value="5"]::-webkit-meter-optimum-value { background: green; }

/* Gecko based browsers */
meter.password-strength-meter[value="1"]::-moz-meter-bar { background: red; }
meter.password-strength-meter[value="2"]::-moz-meter-bar { background: yellow; }
meter.password-strength-meter[value="3"]::-moz-meter-bar { background: orange; }
meter.password-strength-meter[value="4"]::-moz-meter-bar { background: green; }
meter.password-strength-meter[value="5"]::-moz-meter-bar { background: green; }


.dropdown-item {
	position: relative;
}

.dropdown-icon {
	position: absolute;
	top:9px;
}

.dropdown-text {
	margin-left: 25px;
}

.dropdown-header {
    padding: 0 1.5rem;
}

.menuitemicon {
    width: 25px;
    display: inline-block;
}


[class*="nav-tabs"] 
  {
	margin-top: 6px;
  }

#modal-background {
	 position:fixed; 
	 top:0; 
	 bottom:0; 
	 left:0; 
	 right:0; 
	 background-color: rgba(0,0,0,.5);
	 z-index:9998
}

#modal-window {
	 position:fixed; 
	 top:50%; 
	 left:50%; 
	 margin:-100px 0 0 -200px; 
	 height:200px; 
	 width:400px; 
	 z-index:9999
}

#modal-close {
	float: right;
	cursor:pointer;
	margin-right:5px;
}
  
@media
only screen and (min-width: 900px)
{
 [class*="nav-tabs"] 
  {
  	padding-top:34px;
    position: fixed;
    z-index: 9;
    background-color: #fff;
    /*margin-top: -34px;*/
    margin-top: -28px;
	left: 15px;
	right: 15px;
  }

  [class*="tab-content"] 
  {
    margin-top: 34px;
  } 
  /*
  .seasontarget-main-tabs {
	margin-top: -51px;
  }*/
}

@media 
only screen and (min-width: 991px) {
	#myChartBestWorstDrawdown {
		min-height:500px;
		max-height:560px;
	}
	
	#myChartBestWorstDrawdownCardBody {
		 padding-top:26px;min-height:784px;
	}
}

@media 
only screen and (max-width: 991px) {
	table.table-pivot, 
	table.table-pivot thead, 
	table.table-pivot tbody, 
	table.table-pivot th, 
	table.table-pivot td, 
	table.table-pivot tr { 
		display: block; 
	}
	
	table.table-pivot thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.table-pivot tr { border: 1px solid #ccc; }
	
	table.table-pivot td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		text-align: right;
	}
	
	table.table-pivot td:first-child {
		padding-left:6px;
		
		text-align: left;
	} 
	
	table.table-pivot td:before { 
		position: absolute;

		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	#volatilita_attuale_table td:nth-of-type(1):before { content: ""; }
	#volatilita_attuale_table td:nth-of-type(2):before { content: "VS(x) Spread"; }
	#volatilita_attuale_table td:nth-of-type(3):before { content: "Scostamento (DS)"; }
	#volatilita_attuale_table td:nth-of-type(4):before { content: "Estr. inf. spread"; }
	#volatilita_attuale_table td:nth-of-type(5):before { content: "Val. Attuale Spread"; }
	#volatilita_attuale_table td:nth-of-type(6):before { content: "Estr. sup. spread"; }
	#volatilita_attuale_table td:nth-of-type(7):before { content: "Estensione scostamento"; }
	#volatilita_attuale_table td:nth-of-type(8):before { content: "Estensione % spread"; }
}
