/* Declaration pour les couleurs, mais ne fonctionne pas sous ie */
:root {
  --couleur-texte-liste-pharmacie-naloxone: #cc4f02;  /*#992e00;*/
  --couleur-texte-liste-pharmacie-naloxone-hover: #f6be94; /*#cc4f02;*/
  --couleur-fond-liste-pharmacie-naloxone-active: #fff5eb; /*#fff5eb;*/
  
  --couleur-texte-liste-autre-pharmacie: #f0883a;
  --couleur-texte-liste-autre-pharmacie-hover: #f6be94;
  --couleur-fond-liste-autre-pharmacie-active: #fff5eb;
  --couleur-fond-popup-autre-pharmacie-h3: #f0883a;
}

body {
color: #404040;
font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
height:100%;
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
}
.global {
	overflow:auto;
	width:100%;
	border-bottom: 2px solid #ffffff;
	font-weight: bold;
	font-size: 18px;
	color:#ffffff;
	background-color:#e34a33;
	text-align:center;
	}
.global .menu_retour_site_opoide {
	position: relative;
	float:left;
	width:40px;
	background-color:#404040;
	padding-left:10px;
	padding-top:5px;
	z-index:1;
	/*height:20px;
	left:10px;
	*/
	
	
}

.global .titre_page {
	position: relative;
	float:left;
	width:70%;
	padding-left:40px;
	margin-left:-40px;
	background-color:#404040;
	padding-bottom:4px;
	padding-top:5px;
	/*left:0px;*/
	
	/*height:35px;
	font-weight: bold;
	font-size: 18px;
	color:#ffffff;
	background-color:#404040;  /*#8cc63f*/
	/*border-bottom: 2px solid #ffffff;*/
	/*padding-bottom:4px;
	padding-top:5px;
	text-align:center;*/
	
	
}
.global .titre_urgence {
	 overflow:auto;
	 background-color:#e34a33;  /*#8cc63f*/
	 padding-bottom:4px;
	padding-top:5px;
	/*position: relative;
	width:30%;
	float:left;
	margin-left:70%;*/
	/*height:35px;
	font-weight: bold;
	font-size: 18px;
	color:#ffffff;
	
	/*border-bottom: 2px solid #ffffff;
	padding-bottom:4px;*/
	/*padding-left:50px;
	padding-top:5px;
	text-align:center;
	padding-left:5px;
	padding-right:5px;*/
	
}




/* --- The page is split between map and sidebar - the sidebar gets 1/3, map gets 2/3 of the page. You can adjust this to your personal liking. --- */
* {
-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;
}

.sidebar {
position: absolute;
width: 20%;
height: 93.5%;

left: 0;
overflow: hidden;
border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.pad2 {
padding: 0px;
}

.map {
position: absolute;
left: 20%;
width: 80%;
/*top: 35px;
bottom: 0;*/
height:93.5%;
z-index:-1;
}

.heading {
background: #fff;
border-bottom: 1px solid #eee;
height: 60px;
line-height: 60px;
padding: 0 10px;
}

.listings {
height: 93%;
overflow: auto;
padding-bottom: 60px;
}

.listings .item {
display: block;
border-bottom: 1px solid #eee;
padding: 10px;
text-decoration: none;
}

.listings .item:last-child { border-bottom: none; }

.listings .item .title {
display: block;
color: #d78047; /*#f0883a;*/
font-weight: 700;
}

.listings .item .title small { font-weight: 400; }

.listings .item.active .title,
.listings .item .title:hover { color: #985932; }   /*#f6be94*/

.listings .item.active {
background-color: #fff6ee; /*#deb490; /*#fff6ee;*/
}

.listings .item2 {
display: block;
border-bottom: 1px solid #eee;
padding: 10px;
text-decoration: none;
}

.listings .item2:last-child { border-bottom: none; }

.listings .item2 .title {
display: block;
color: #1c9099; /* 992e00; */
font-weight: 700;
}

.listings .item2 .title small { font-weight: 400; }

.listings .item2.active .title,
.listings .item2 .title:hover { color: #115c61; } /*cc4f02*/

.listings .item2.active {
background-color: #eefffe; /*#def3f3;*/
}

.listings .item3 {
display: block;
border-bottom: 1px solid #eee;
padding: 10px;
text-decoration: none;
}

.listings .item3:last-child { border-bottom: none; }

.listings .item3 .title {
display: block;
color: #ce0c5b; /* 992e00; */
font-weight: 700;
}

.listings .item3 .title small { font-weight: 400; }

.listings .item3.active .title,
.listings .item3 .title:hover { color: #8c073f; } /*cc4f02*/

.listings .item3.active {
background-color: #ffeef5;
}

.listings .item4 {
display: block;
border-bottom: 1px solid #eee;
padding: 10px;
text-decoration: none;
}

.listings .item4:last-child { border-bottom: none; }

.listings .item4 .title {
display: block;
color: #835835; /* 992e00; */
font-weight: 700;
}

.listings .item4 .title small { font-weight: 400; }

.listings .item4.active .title,
.listings .item4 .title:hover { color: #3e1d00; } /*cc4f02*/

.listings .item4.active {
background-color: #dcc8b4;
}

.listings .item5 {
display: block;
border-bottom: 1px solid #eee;
padding: 10px;
text-decoration: none;
}

.listings .item5:last-child { border-bottom: none; }

.listings .item5 .title {
display: block;
color: #756bb1; /* 992e00; */
font-weight: 700;
}

.listings .item5 .title small { font-weight: 400; }

.listings .item5.active .title,
.listings .item5 .title:hover { color: #54278f; } /*cc4f02*/

.listings .item5.active {
background-color: #e9e7f8;
}

::-webkit-scrollbar {
width: 6px;
height: 3px;
border-left: 0;
background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
background: none;
}

::-webkit-scrollbar-thumb {
background: #908e8e;
border-radius: 0;
}

.clearfix { display: block; }

.clearfix::after {
content: '.';
display: block;
height: 0;
clear: both;
visibility: hidden;
}

/* --- Fin style liste et map --- */

/* --- Style CSS pour les pop-up --- */
.leaflet-popup-close-button {
/*display: none;*/
top:-10px;
}

.leaflet-popup-content {
font: 400 15px/22px 'Source Sans Pro', 'Helvetica Neue', Sans-serif;
padding: 0;
width: 180px;
}

.leaflet-popup-content-wrapper {
padding: 1%;
}

.leaflet-popup-content h2 {
background: #cc4f02; /*#91c949;*/
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; /* 91c949;*/
color: #fff;
margin: 0;
display: block;
padding: 10px;
border-radius: 3px 3px 0 0;
font-weight: 700;
margin-top: -15px;
}

.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: #cc4f02; /* 91c949;*/
}

/* A ajouter si on utilise des markers personnalises */
.leaflet-popup {
padding-bottom: 5px;
}

/* --- Fin style CSS pour les pop-up --- */

/* --- Style CSS pour les markers personnalises --- */
/*.marker {
border: none;
cursor: pointer;
height: 56px; /*56px*/
/*width: 56px;  /*56px*/
/*background-image: url(../img/marker1.png);
background-color: rgba(0, 0, 0, 0);
transform: translate(28px, 56px, 0);
}*/

/* Texte en bas de la carte*/
.texte_bas_de_page {
position:absolute;
bottom:0px;
/*Height:75px;*/
Width:100%;
font-size:14px;
color:#ffffff;
background-color:#404040;  /*#8cc63f*/
border-top: 3px solid #ffffff;

padding-bottom:5px;
font-weight:bold;
text-align:center;
-moz-opacity:0.85;
opacity: 0.85;
filter:alpha(opacity=85);
}

.texte_bas_de_page a {
	color:#ffffff;
	text-decoration:underline;
}
.texte_bas_de_page a:hover{
	color:#32aee3; /*#e34a33;*/
}
.info-panel {
	font-weight:normal;
	font-style:italic;
	text-align:left;
	padding-top:10px;
	padding-left:30px;
padding-right:30px;
	font-size:13px;
	
}

/* Code css ajouter par la suite */
/* --- Style CSS pour les pop-up --- */
.leaflet-container a.leaflet-popup-close-button  {
/*display: none;*/
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);
}

.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; /*#91c949;*/
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; /* f0883a; */
color: #fff;
margin: 0;
display: block;
padding: 10px;
border-radius: 3px 3px 0 0;
font-weight: 700;
margin-top: -15px;
margin-left:1px;
font-size:16px;
width:100%;
}

.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;
}

/* A ajouter si on utilise des markers personnalises */
.leaflet-popup {
padding-bottom: 5px;
}

.legend {
    text-align: left;
    line-height: 18px;
    color: #555;
	/*top:550px;*/
	background:#ffffff;
	padding:5px;
}
.legend i {
        width: 18px;
        height: 18px;
        float: left;
        margin-right: 8px;
        opacity: 0.85;
		
    }
.legend .circle {
  border-radius: 50%;
  border-color:#ffffff;
  width: 12px;
  height: 12px;
  margin-top: 3px;
}

.adressepopup {
	font-size: 14px;
	margin-top:-15px;
	margin-left:-10px;
	margin-bottom:-10px;
	width:113%;
}
#tablehorairepopup {
	margin-left:-5px;
	margin-top:5px;
	margin-bottom:-20px;
	padding-right:0px;
	padding-left:0px;
	}
#wrapper {
	height: 100%;
	overflow: hidden;
	margin-top:-30px;
	font-size:14px;
	padding-right:0px;
	}
#wrapper .colonnejourpopup {
	float: left;
	text-align:right;
    width: 52%;
	margin-top:-10px;
	margin-left:-10px;
	padding-left:0px;
	padding-right:5px;
    /*margin-bottom: -9999999px;
    padding-bottom: 9999999px;*/
	}
#wrapper .colonneheurepopup {
	/*left:25%;*/
	width:60%;
	float: left;
	margin-top:-10px;
	text-align:left;
	font-weight:bold;
	margin-left:-10px;
	padding-right:0px;
    /*margin-bottom: -9999999px;
    padding-bottom: 9999999px; */
}
#wrapper .heurefermee {
	margin-left:-10px;
	text-align:center;
	padding:0px;
}
.horaire24_7 {
	width:100%;
	text-align:center;
	font-weight:bold;
	margin-top:-30px;
	font-size: 14px;
}
.jourferie {
	width:110%;
	font-style:italic;
	color:#6f6d6d;
	font-size:12px;
	line-height:12px;
	margin-left:-10px;
	margin-bottom:-10px;
	text-align:center;
}
.horairenondisponible {
	width:110%;
	color:#6f6d6d;
	font-weight:bold;
	font-size:13px;
	line-height:13px;
	margin-left:-5px;
	margin-top:-20px;
	margin-bottom:10px;
	text-align:center;
}
.espacetel2 {
	width:100%;
	margin-left:20px;
	margin-top:-5px;
	line-height:10px;
}
.pasinventaire {
	width:110%;
	font-style:italic;
	color:#6f6d6d;
	font-size:12px;
	line-height:12px;
	margin-left:-10px;
	margin-bottom:-10px;
	text-align:center;
}
.pasinventaireliste {
	width:100%;
	font-style:italic;
	color:#6f6d6d;
	font-size:12px;
	line-height:12px;
	margin-top:5px;
	/*margin-left:-10px;
	margin-bottom:-10px;
	text-align:center;*/
}
.lienpopup {
	width:100%;
	height:10px;
	text-align:center;
	/*margin-bottom:8px;*/
	font-size:14px;
}
.espaceblanc {
	margin-top:-10px;
}
.logoinspq {
	width:150px;
	height:50px;
	}
/* --- Fin style CSS pour les pop-up --- */




/* --- CSS pour mobile --- */
@media screen and (max-width: 727px) {
    .sidebar {
		display: none;
     }
	.map {
		left: 0%;
		width: 100%;
		height:92.5%
		/*top:40px;*/
	}
	.global .menu_retour_site_opoide {
	padding-left:5px;
}

.global .titre_page {
	line-height:15px;
	font-size: 13px;
	padding-top:2px;
	
}
.global .titre_urgence {
	line-height:15px;
	font-size: 13px;
	padding-top:2px;
	
}
	
	.leaflet-popup-content h3 {
		font-size:14px;
		line-height:15px;
	}
	.adressepopup {
		font-size: 12px;
		line-height:14px;
		margin-bottom:0px;
	}
	#tablehorairepopup {
		margin-left:-5px;
		margin-top:-5px;
		margin-bottom:-30px;
		padding-right:0px;
		padding-left:0px;
	}
	#wrapper {
		font-size:12px;
		margin-top:-40px;
	}
	#wrapper .colonnejourpopup {
		margin-top:-6px;
    }
	#wrapper .colonneheurepopup {
		margin-top:-2px;
		line-height:13px;
	}
	#wrapper .heurefermee {
		margin-top:0px;
		margin-left:-13px;
		line-height:13px;
	}
	.horaire24_7 {
		margin-top:-30px;
		font-size: 12px;
		line-height:14px;
		margin-bottom:10px;
	}
	.lienpopup {
		height:6px;
		font-size:12px;
	}
	.legend {
		line-height: 15px;
		font-size:10px;
	}
	.legend .circle {
		width: 10px;
		height: 10px;
	}
	.espacetel2 {
		margin-left:16.5px;
	}
	.texte_bas_de_page {
		font-size:13px;
	}
	.info-panel {
		font-size:12px;
	}
	.logoinspq {
		display: none;
	}
	.leaflet-control-scale {
		display: none;
	}
}

/* --- Fin CSS pour mobile --- */

