/***************/
/* X. MESURES  */
/***************/
#mesures h1 {
	background-color: #1a3989;
    color: #fff;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
    padding: 10px 0;
	border-radius: 5px 5px 0 0;
	margin-bottom: 0;
}
#mesures > span {
	display: block;
    text-align: center;
    background: #fff;
    padding: 20px 0;
    border-left: 2px solid #1a3989;
	border-right: 2px solid #1a3989;
}
#mesures .nav-tabs {
	margin:0px;
	background: white;
}
#mesures .nav-tabs .nav-link.active{
	color: #ffffff;
    background-color: #1a3989;
	border:0;
}

#mesures .nav-tabs .nav-link.active:hover{
	background-color:#1a3989;
}
#mesures .nav-tabs .nav-link{
    border-radius: 0.5rem 0.5rem 0 0;
    text-transform: uppercase;
    color: #1a3989;
    border:0;
	text-align: center;
    font-size: 0.9rem;
    padding: .5rem .5rem;
	background: #fff;
}
#mesures .nav-tabs .nav-link:first-child{
	border-radius:0 .5rem 0 0;
	border-left:2px solid #1a3989;
}
#mesures .nav-tabs .nav-link:last-child{
	border-radius:.5rem 0 0 0;
	border-right: 2px solid #1A3989;
}
#mesures .nav-tabs .nav-link:hover{
	background-color:#eee;
}
#mesures .col-md-4 {
    float: left;
	text-align: center;
	padding: 0px;
}
#mesures .col-md-4.first {
	background-color: #1a3989;
	border-top: 2px solid #1a3989;
}
#mesures .col-md-4.second {
	background-color: #fff;
	border-left: 2px solid #1a3989;
	border-right: 2px solid #1a3989;
	border-top: 2px solid #1a3989;
}
#mesures .col-md-4.third {
	background-color: #fff;
	border-right: 2px solid #1a3989;
	border-top: 2px solid #1a3989;
}
#mesures .col-md-4.first a {
	color: #fff;
}
#mesures .col-md-4 a {
    color: #1a3989;
	text-decoration: underline;
	text-transform: uppercase;
	display: block;
	padding: 10px;
	font-weight: 600;
	font-size: 14px;
}
#mesures tr {
	background-color: #fff;
	/*border: 2px solid #fff;*/
}
#mesures tr.white {
	background-color: #dedede;
    color: #333;
}
#mesures .container-table{
	border: 1px solid #1a3989;
	margin-bottom: 15px;
	padding:1px;
	overflow-x: auto;
}
#mesures table {
	width:100%;
	border:2px solid #fff
}
#mesures td {
	text-align: center;
	border: 2px solid #fff;
	padding: 3px 15px;
}
#mesures td:first-child{
	border-left:0;
}
#mesures td:last-child{
	border-right:0;
}
#mesures td.left {
	text-align: left;
}
/*COULEUR AQI - BELAQI TABLEAUX*/
#mesures td.level-0 {
	background-color: #eeeeee;
    color: #000;
}
#mesures td.level-1 {
	background-color: #0000FF;
	color: #fff;
}
#mesures td.level-2 {
	background-color: #0099FF;
	color: #fff;
}
#mesures td.level-3 {
	background-color: #009900;
	color: #fff;
}
#mesures td.level-4 {
	background-color: #00FF00;
	color: #fff;
}
#mesures td.level-5 {
	background-color: #FFFF00;
    color: #000;
}
#mesures td.level-6 {
	background-color: #FFBB00;
	color: #fff;
}
#mesures td.level-7 {
	background-color: #FF6600;
	color: #fff;
}
#mesures td.level-8 {
	background-color: #FF0000;
	color: #fff;
}
#mesures td.level-9 {
	background-color: #CC0000;
	color: #fff;
}
#mesures td.level-10 {
	background-color: #990099;
	color: #fff;
}
#mesures .provinces {
	font-style: italic;
	font-weight: 600;
}
#mesures .polluant {
	font-weight: 600;
	text-align: center;
	font-size: 12px;
	padding: 10px 0;
}

#moyenne-demi-heure table th.polluant{	width:8.5%;}
#agregation-legale table th.polluant{	width:13%;}
#annee-en-cours table th.polluant{		width:25%;}
#annee-precedente table th.polluant{	width:25%;}


#mesures .super-tab-pane .unit {
	font-weight: 600;
    text-align: center;
    font-size: 11px;
    font-style: italic;
}
#mesures .super-tab-pane .container-table{
	padding:10px 0px 0;	
}
#mesures .super-tab-pane .nav-tabs {
	margin:0px;
	border-bottom: 0px;
	background-color: #1a3989;
}
#mesures .super-tab-pane .nav-tabs .nav-link.active{
	color: #1a3989;
    background-color: #ffffff;
}
#mesures .super-tab-pane .nav-tabs .nav-link{
	border-radius: .5rem .5rem 0 0;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid #1a3989;
    text-align: center;
    font-size: 0.8rem;
    padding: .5rem 1rem;
    margin-top: .5rem;
    margin-right: -1px;
    background: #1a3989;
	border-bottom:0;
}
#mesures .super-tab-pane .nav-tabs .nav-link.active:hover{
	background-color:#ffffff;
}
#mesures .super-tab-pane .nav-tabs .nav-link:hover{
	background-color:#ffffff3d;
}
#mesures .super-tab-pane .nav-tabs .nav-link:last-child{
	border-right: 1px solid #1A3989;
}
#mesures .super-tab-pane .tab-content{
    border: 1px solid #1a3989;
    border-top: 0px;
    padding: 1px;
	overflow-x: auto;
}
#mesures .super-tab-pane .nav-tabs .nav-link:first-child{
	border-radius:0.5rem .5rem 0 0;
	border-left:2px solid #1a3989;
}
#mesures .super-tab-pane .nav-tabs .nav-link:last-child{
	border-radius:0.5rem .5rem 0 0;
	border-right: 2px solid #1A3989;
}
/*DEPASSEMENTS CURRENT*/
.depassements_pm .province{
	width : 30%;
} 
.depassements_pm .polluant{
	width : 35%;
}
.depassements_ozone .province{
	width : 30%;
} 
.depassements_ozone .polluant{
	width : 16%;
} 
.depassements_no2 .province{
	width : 30%;
}
.depassements_no2 .polluant{
	width : 35%;
} 
.depassements_co .province{
	width : 30%;
} 
.depassements_co .polluant{
	width : 35%;
} 
.depassements_so2 .province{
	width : 30%;
} 
.depassements_so2 .polluant{
	width : 16%;
} 

.tab-content>.active{
	background-color:#1a3989;
}
#mesures .white td{ border-top-width: 3px;}
#mesures .tab-pane td.event{background-color:#f7f7f7;border-bottom-color:#f7f7f7;}
#mesures .tab-pane td.odd{background-color:#eee;border-bottom-color:#eee;}

#mesures-help {
	position: fixed;
	bottom: 10px;
	right: 10px;
}
/**************/
/* SMARTPHONE */
/**************/
@media (max-width: 767px) {
	#mesures .nav-tabs .nav-link:first-child,
	#mesures .nav-tabs .nav-link:last-child,
	#mesures .nav-tabs .nav-link{
		border-left:2px solid #1a3989;
		border-right:2px solid #1a3989;
		border-radius: 0px;
	}
	
}