body {
	color: #404040;
	font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
	height:100%;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}

/* --- Titre en haut de page et bouton aide --- */
.global {
	overflow:auto;
	width:100%;
	border-bottom: 2px solid #ffffff;
	font-weight: bold;
	font-size: 18px;
	color:#ffffff;
	background-color:#404040; /*#e34a33;*/
	text-align:center;
	}
.global .titre_inspq {
	position: relative;
	width:60px;
	background-color:#404040;
	padding-bottom:4px;
	padding-top:5px;
	color:#ef7516;
	float:left;
}
.global .titre_inspq a {
	color:#ef7516;         /* #dadbc8; */
}
.global .titre_inspq a:hover{
	color:#cc4f02; /*#32aee3; #e34a33;*/
}
.global .titre_page {
	position: relative;
	background-color:#404040;
	padding-bottom:4px;
	padding-top:5px;
	margin-left:60px;
	
}
.global .titre_page a {
	color:#ef7516;         /* #dadbc8; */
	font-style:italic;
	font-size:16px;
}
.global .titre_page a:hover{
	color:#cc4f02; /*#32aee3; #e34a33;*/
}

.imageresponsive {
	max-width: 100%;
	max-height: 100%;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.box-2 {
	position:absolute;
	margin-top: -28px;
	margin-left: 97%;
	}

/* --- Fin style CSS pour titre et bouton aide --- */

/* --- Loader --- */
#loader {
	position: absolute;
	left: 52%;
	top: 45%;
	z-index: 1;
	width: 80px;
	height: 80px;
	margin: -75px 0 0 -75px;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #544747;
	width: 100px;
	height: 100px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.hide-loader{
	display:none;
}
/* --- Fin loader --- */

/* --- Overlay pour le message d'accueil --- */
#overlay {
	position: fixed;
	display: block; 
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0,0,0,0.6);
	z-index: 2;
}

#overlay a:hover, #overlay a:focus {
	color: #f1f1f1;
	box-shadow:0px 0px 0px black;
}

#textoverlay {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 20px;
	color: white;
	transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	padding: 20px;
	border: 3px #ffffff solid;
	background-color: rgba(255,51,51,0.5);
	text-align:center;
	max-width:700px;
}

#textoverlay .closebtn {
	position: absolute;
	top: -15px;
	right: -15px;
  	background-color:#000000;
	border-radius:42px;
	border:3px solid #ffffff;
	color:#ffffff;
	font-family:Comic Sans MS;
	font-size:35px;
	font-style:normal;
	height:30px;
	line-height:18px;
	width:30px;
	box-shadow:0px 3px 15px black;
}
/* --- Fin style CSS pour overlay --- */

/* --- CSS pour la map --- */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

h1 {
	font-size: 22px;
	margin: 0;
	font-weight: 400;
	line-height: 20px;
	padding: 20px 2px;
}

a {
	color: #404040;
	text-decoration: none;
}

a:hover {
	color: #101010;
}

.map {
	position: absolute;
	width: 100%;
	height:93.5%;
	z-index:-1;
}

/* --- Fin style map --- */

/* --- Style CSS pour les pop-up --- */
.leaflet-popup-close-button {
	top:-10px;
}

.leaflet-popup-content {
	font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
	padding: 0;
	width: 180px;
	margin:-3px;
}

.leaflet-popup-content-wrapper {
	padding: 1%;
	width: 180px;
	border-radius:0px;
	margin:0px;
}

.leaflet-popup-content h2 {
	background: #cc4f02; 
	color: #fff;
	margin: 0;
	display: block;
	padding: 10px;
	border-radius: 3px 3px 0 0;
	font-weight: 700;
	margin-top: -15px;
}

.leaflet-popup-content h3 {
	background: #cc4f02;
	color: #fff;
	margin: 0;
	display: block;
	padding: 10px;
	border-radius: 3px 3px 0 0;
	font-weight: 700;
	margin-top: -15px;
	font-size:16px;
	text-align:center;
}

.leaflet-popup-content h4 {
	margin: 0;
	display: block;
	padding: 10px;
	font-weight: 400;
}

.leaflet-popup-content div {
	padding: 10px;
}

.leaflet-container .leaflet-marker-icon {
	cursor: pointer;
}

.leaflet-popup-anchor-top > .leaflet-popup-content {
	margin-top: 15px;
}

.leaflet-popup-anchor-top > .leaflet-popup-tip {
	border-bottom-color: #91c949; /* #cc4f02*/
}

/* A ajouter si on utilise des markers personnalises */
.leaflet-popup {
	padding-bottom: 5px;
}

.leaflet-container a.leaflet-popup-close-button  {
	padding:0 0 0 0;
	font-size:20px;
	top:-22px;
	right:-8px;
	color:#d23d27;
	border-radius:100%;
	width:20px;
	height:20px;
	background:#ffffff;
	line-height:18px;
	box-shadow:2px 2px rgba(0, 0, 0, 0.1);
}
/* --- Fin style CSS pour les pop-up --- */

/* --- CSS pour label couche adm0 et adm1 --- */
.ToolTipLabeladm1{
    font-size: 8px;
    font-weight:900;
	padding: 0px;
    background: none;
    border: none;
    color: #732e19;/* #210f0f; */
    box-shadow: none;
    outline: none;
	display: none;
	text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
	text-transform: uppercase;
	/*-webkit-text-stroke: 0.1px white;*/
}
.ToolTipLabeladm1_asie{
    font-size: 8px;
    font-weight:900;
	padding: 0px;
    background: none;
    border: none;
    color: #732e19;/* #210f0f; */
    box-shadow: none;
    outline: none;
	display: none;
	text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
	text-transform: uppercase;
	/*-webkit-text-stroke: 0.1px white;*/
}
.ToolTipLabeladm0{
    font-size: 10px;
    font-weight:900;
	padding: 0px;
    background: none;
    border: none;
    color: #282220;/* #210f0f; */
    box-shadow: none;
    outline: none;
	display: none;
	text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
	text-transform: uppercase;
	/*-webkit-text-stroke: 0.1px white;*/
}
/* --- Fin style CSS pour label couche adm1 --- */

/* --- Texte en bas de la carte --- */
.texte_bas_de_page {
	position:absolute;
	bottom:0px;
	Width:100%;
	font-size:14px;
	color:#ffffff;
	background-color:#404040;
	border-top: 3px solid #ffffff;
	padding-bottom:5px;
	font-weight:bold;
	text-align:center;
	-moz-opacity:0.9;
	opacity: 0.9;
	filter:alpha(opacity=90);
}

.texte_bas_de_page a {
	color:#ffffff;
	text-decoration:underline;
}

.texte_bas_de_page a:hover{
	color:#32aee3; /*#e34a33;*/
}

.text_info_panel {
	font-weight:normal;
	font-style:italic;
	text-align:left;
	padding-left:30px;
	padding-right:30px;
	font-size:13px;
	float:left;
    width:65%;
	max-width:850px;
	margin-top:-25px;
}

.logo_inspq_biesp {
	margin-left:70%;
	margin-top:36px;
}
/* --- Fin style CSS texte en bas de la carte --- */

/* --- Code CSS pour la légende --- */
.legend {
    text-align: left;
    line-height: 18px;
    color: #555;
	background:#ffffff;
	padding:5px;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.85;
}

.legend .circle {
  border-color:#ffffff;
  width: 18px;
  height: 12px;
  margin-top: 3px;
}

.lienpopup {
	width:100%;
	height:10px;
	text-align:center;
	margin-bottom:13px;
	margin-top:6px;
	font-size:14px;
}

.adressepopup {
	font-size: 14px;
	margin-top:-15px;
	margin-left:-10px;
	margin-bottom:-10px;
	width:113%;
}
/* --- Fin style CSS pour la légende --- */


/* --- CSS pour mobile --- */
@media screen and (max-width: 769px) {
   	.map {
		left: 0%;
		width: 100%;
		height:96%;
	}
	.leaflet-popup-content h3 {
		font-size:14px;
		line-height:15px;
	}
	.adressepopup {
		font-size: 12px;
		line-height:14px;
		margin-bottom:0px;
	}
	.lienpopup {
		height:6px;
		font-size:12px;
	}
	.legend {
		line-height: 15px;
		font-size:10px;
	}
	.legend .circle {
		width: 10px;
		height: 10px;
	}
}
/* --- Fin CSS pour mobile --- */

