/* Layout */

body, html{
	height: 100%;
}

#mainContainer{
	height: 100%;
	padding-top: 50px;
	padding-bottom: 50px;
}

.main {
	padding-left:0px;
	height: 100%;
}

.sidebar {
	display: none;
	overflow-x: scroll;
	position: fixed;
	width: 220px;
	height: 100%;
	padding: 5px;
	/*overflow-x: hidden;
	overflow-y: auto;*/
	background-color: #f5f5f5;
	border-right: 1px solid #ddd;
	z-index: 1000;
}

@media (min-width: 768px) {
	.sidebar {
		display: block;
		position: fixed;
		width: 220px;
		height: 100%;
		padding: 5px;
		/*overflow-x: hidden;
		overflow-y: auto;*/
		background-color: #f5f5f5;
		border-right: 1px solid #ddd;
		z-index: 1000;
	}
	
	.main{
		margin-left: 235px;
	}
}

.clear{
	clear: both;
}

.modal-hidden{
	display:none;
}

#timeButtons {
	margin-bottom: 50px;
}

div#loadingPanel {
	height: 25em; 
	background-repeat: no-repeat;
	background-position: 50% 45%;
	text-align: center; 
	padding-top: 13em; 
}

div#loadingPanel span {
	font-size: 1.5em; 
	font-weight: bold; 
}

div#loadingPanel.primoPiano {
	background-image: url(../images/loader.gif);
	height: 100%; 
	width: 100%; 
	position: absolute; 
	background-color: rgba(245, 245, 245, 0.4);
	z-index: 1000; 
	padding: 0; 
}

#showFilterButton{
	height: 34px;
	width: 35px;
}

.errorMessage{
	text-align: center;
    font-size: 150%;
    font-weight: bold;
}

/* TableView */

#tableView_filterAzienda{
	max-height: 109px;
	overflow-x:hidden;	
}

#tableView_tableContainer{
	padding-top: 10px;
}

#tableView_table caption{
	text-align: center;
	font-weight: bold;
	font-size: 17px;
	color: #343434;
}

/* BarChartView */

#barChartView_filterGruppoMAPS{
	max-height: 136px;
	overflow-x:hidden;	
}

#barChartView_chartContainer{
	padding-top: 10px;
	padding-left: 0px;
	height: 100%;
	min-height: 450px;
}

#barChartView{
	height:100%;
    width:100%;
}

#barChartView_fixedButton{
	position: fixed;
	bottom: 15px;
	right: 15px;
	height: 50px;
	width: 50px;
	z-index: 1000;
	border-radius: 100%;
	border: none;
	background-color: #258cd1;
	color: #fff;
	font-size: 25px;
}

#buttonM, #buttonT{
	display: none;
}

.barChartLabel_RG{
	font-size: 17px;
	font-weight: bold;
}

.barChartLabel_AV{
	font-size: 13px;
	font-weight: bold;
}

.barChartLabel_AZ{
	font-size: 11px;
}

.nota{
	font-size: 12px;
	font-style: italic;
}

.modal .list-group{
	max-height: 217px;
	overflow-x: hidden;
}

/* Barra */

.stackedBarChartContainer{
	width: 100%;
	position: relative;
}

.stackedBar{
	/*float:left;*/
	height: 8px;
	position: absolute;
	top: 0px;
	border-radius: 10px;
	z-index: 10;
}

.stackedBarFull{
	/*float:left;*/
	height: 8px;
	border-radius: 10px;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
	z-index: 5;
}

.stackedBarText{
	font-weight: bold;
	font-size: 11px;
}

/* Colori */

.bg_red{
	background: #CC000F;
}

.tx_red{
	color: #670007;
}

.bg_orange{
	background: #FFA155;
}

.tx_orange{
	color: #6E3100;
}

.bg_yellow{
	background: #FCDD62;
}

.tx_yellow{
	color: #6C5600;
}

.bg_green{
	background: #57C743;
}

.tx_green{
	color: #0A4D00;
}

.bg_darkgreen{
	background: #1D7D3D;
}

.tx_darkgreen{
	color: #A6DEB9;
}

/* Override Bootstrap */

/* Sidebar */

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    color: #fff;
    background-color: #174889;
    border-color: #174889;
}

.list-group-item {
	padding-top: 3px;
	padding-bottom: 3px;
}

.btn-primary {
    color: #fff;
    background-color: #174889;
    border-color: #357ebd;
}

.btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #174889;
    border-color: #285e8e;
}

/* Navbar */

.navbar-default {
	background-color: #174889;
}

.navbar-default .navbar-nav > li > a{
	color: #FFF;
}

.navbar-default .navbar-nav > li > a:hover{
	color: #FFF;
}

.navbar-brand{
	padding: 5px;
	padding-right: 24px;	
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle {
    color: white;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #2774db;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: #2774db;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
}

.navbar-toggle {
    padding: 9px 6px;
}