/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	font-family:Arial;
}
ol, ul {
	list-style-position: inside;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*fin reset*/
.clear{clear:both;}
.bold{font-weight:bold;}
.italic{font-style:italic;}
.bordure{border:2px double #b53c7e; padding:10px;}
.minus{font-size:0.85em;}
.vert{color:#00734a;}
.floatleft{float:left;}
.flex{display:flex;}
.flex {display:flex; align-items:center;}
body {
    background: #0f8a9d url("../img/dolore.jpg") no-repeat center center / cover;
	color:#000;
}
.content{max-width:1380px; margin:20px auto 0;}
a, .intro a,.intro h1 a:hover{color:#b53c7e;}
h1{
	font-size:2em;
	text-transform:uppercase;
	text-align:center;
	margin:10px auto;
	font-family: 'instantlent', sans-serif;
	padding:10px;
	display:block;
	color:#0f8a9d;
}
.intro h1 a {text-decoration:#0f8a9d; color:inherit;}
h2{font-size:1.5em;margin:10px;padding:5px;text-align:center; border:1px solid #0d2454;font-family: 'instantrapide', sans-serif;}
h3{font-size:1.25em; text-decoration:underline; margin:20px 0; color:#8ba221; }
.intro{background:#fff; padding:2em;}
p{margin:13px 0;line-height:1.5;font-family: 'instantregulier', sans-serif;}
ul li{line-height:1.35;}
.site-main{
	align-items:stretch;
	display:flex;
	margin:10px 0;
}
#mapid { height: 90vh; width:90vw; max-width:1000px; margin:0 auto;}


#closebutton{
	background:#0d2454;
	border:none;
	border-radius:5px;
	color:#fff;
	cursor:pointer;
	padding:5px 10px;
}

#malegende{
	display:none;
	margin:0;
	width:0;
}

div#malegende.open{	
	background:#eee;
	display:inline-block;
	max-height:calc(90vh - 20px); 
	min-width:250px;
	overflow:auto;
	padding:10px;
	-webkit-transition: width 3s ease;
	width:calc(20vw - 20px);
}

#malegende label{background:url("../img/icone_eau.png") no-repeat left center;padding:10px 0px 10px 20px; line-height:2;}
#malegende label:hover{cursor:help;}
.communes{height:0px; overflow:hidden; list-style-image:url("../img/pin.png");padding-left:15px; -webkit-transition: all 3s ease;}
.infos_sage:not(.vueepci){margin-bottom:20px;}
.trait{width:50%; border-bottom:1px dashed #0d2454; display:block; margin:15px auto;}
.infos_sage.vueepci{height:0px; overflow:hidden; -webkit-transition: all 3s ease;}
.communes li {line-height:1.8;}
#malegende input{display:none;}
#malegende input:checked + .infos_sage.vueepci ,#malegende input:checked + .infos_sage.vueepci +.communes ,#malegende input:checked + .communes{height:auto;}
.infos_sage img{
	display:block;
	margin:5px auto;
}
.infos_sage p span{	text-decoration:underline;}


footer{background:#fff; display:flex; justify-content:center;margin-top:20px; align-items:flex-end;}
footer p{padding:10px;}
footer p img{height:40px; padding:0 5px;}


.info.legend {
  padding:8px;
  background: white;
}

.info.legend i {
	width: 18px;
	height: 2px;
	float: left;
	margin:8px;
}

.intro p:nth-of-type(2){font-size:1.2em;}

@media (max-width: 550px) {
  .site-main{display:block;}
  div#malegende.open{display:block; margin:5px auto; width:90%;}
}