/* Layout */
@-ms-viewport {
	width: device-width; 
	zoom: 1.0; 
}
@-o-viewport {
	width: device-width; 
	zoom: 1.0; 
}
@viewport {
	width: device-width; 
	zoom: 1.0; 
}
	
html, body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica;		
}	
#logo img {
	max-width: 190px;
	height: auto;
	float: left;
	margin: 2px 0 3px 0;
}
#ancre-menu {
	float: right;
	margin: 13px 5px 0 0;
	display:none;
}
#header {
	box-sizing: border-box;
	height: auto;
	-webkit-box-flex:0;
	-webkit-flex:none;
	    -ms-flex:none;
	        flex:none;
	max-width: 100%;
	background: -webkit-linear-gradient(top, #e2e2e2 0%,#ffffff 100%);
	background: linear-gradient(to bottom, #e2e2e2 0%,#ffffff 100%);
	border-bottom: 3px solid #0E67A3;
	border-top : 4px solid #93CD17;
}
#wheader {
	background: transparent url(../images/fond-entete-vs.svg) no-repeat top 0px right 0px;
	max-width: 972px;
	background-size: 77% auto;
	margin: 0 auto;
}	
#menu {
	min-height:46px;
	-webkit-box-flex:0;
	-webkit-flex:none;
	    -ms-flex:none;
	        flex:none;
	background: #0E67A3;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;	
	font-size:14px;
	color: #fff;
}
#menu div {
	width: 972px;
	margin: 0 auto 0 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-webkit-justify-content: flex-start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: center;
	-webkit-align-items: stretch;
	    -ms-flex-align: stretch;	        
			align-items: stretch; /* 🔥 toutes les cases même hauteur */
}
#menu div a {
	display: flex; /* 🔥 permet gestion icône + texte */
	align-items: center; /* 🔥 centre verticalement */
	gap:8px;

	background: rgba(255,255,255,0.1);
	color: #fff;
	padding: 8px 5px;
	margin: 0 3px 3px 0;

	text-decoration: none;

	flex: 0 1 auto; /* laisse les items s’adapter */
	max-width: 100%;
}

#menu div a:hover {
	text-decoration: none;
	background:rgba(255,255,255,0.7);
	color:rgba(0,0,0,0.8);
}
#menu div a i {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 18px; /* 🔥 largeur fixe pour alignement */
}

#menu div a span {
	display: block;	
}
#wrap {
	width: 100%;
	background: #e0e0e0 url(../images/fondpage.png) no-repeat 98% 90%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: column;
	    -ms-flex-flow: column;
	        flex-flow: column;
	min-height: 100%;
	box-sizing: border-box;
}	
#corps {
	max-width: 1018px;
	background: #fff;
	margin: 0 auto;
	-webkit-box-flex: 1;
	-webkit-flex: auto;
	    -ms-flex: auto;
	        flex: auto;
	width:100%;
	box-sizing: border-box;
	border: 4px solid #f2f2f2;
	border-top:0;
	border-bottom:0;
	font-family:'Trebuchet MS', sans-serif;
	font-size: 15px;
}
#footer {
	width: 100%;
	margin: 0 auto;
	height: 53px;
	-webkit-box-flex: 0;
	-webkit-flex: none;
	    -ms-flex: none;
	        flex: none;
	background: #727272;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	color: #fff;
	font-variant: small-caps;
	font-size: 12px;
	text-align: center;
}
a {
	color: #0E67A3;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
#infocookies {
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
	min-height: 35px;
	background: rgba(0,0,0,0.8);
	color: #ccc;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-flex-flow: row;
	    -ms-flex-flow: row;
	        flex-flow: row;
	font-size: 12px;	
}
#infocookies p {
	margin: 5px;
}
a#acceptecookies {
	display: block;
	padding: 5px;
	text-decoration: none;
	color: #000;
	border: 1px solid #fff;
	background: #ccc;
}
a#acceptecookies:hover {
	background-color: #727272;
	color: #fff;
}

@media screen and (max-width: 860px) {
	#wheader {	
		background-size: 70% auto;
	}
}

@media screen and (max-width: 640px) {
	html, body {
		/*overflow-x: hidden;*/
	}
	#wheader {
		background-image:none;
	}
	#header {
		position: fixed;
		z-index:100;
		height: 55px;
		width: 100%
	}
	#logo img {
		height: 45px;
	}
	#menu {
		display: none;
		position: fixed;
		z-index:100;
		top: 56px;
		width: 100%;
		height: auto;
	}
	#menu div {
		width: 100%;
		display: block;
	}	

	#ancre-menu {
		display: block;
	}
	#corps {
		padding-top: 55px;
	}
}
@media screen and (max-width: 400px) {
	.mHide {
		display: none;
	}
}
/* Mise en forme générale */
#menu div #mselect {
	background:rgba(255,255,255,0.7);
	color:rgba(0,0,0,0.8);	
}
h1 {
	font-size: 17px;
	font-weight: lighter;
	color: #79B200;
}
h2 {
	font-size:15px;
	font-weight: bold;
	border-left: 8px solid #79B200;
	padding-left: 5px;
	color: #727272;
}
h3{
	font-size: 14px;
	font-weight: bold;	
	padding-left: 4px;
	color: #727272;
}
ul {margin:0;}
li {
	padding: 5px 2px;
	list-style-image: url(../images/puce.png);
}
li li {list-style-image: none;}
.section {
	display: block;	
	border-radius: 5px;
	background-color: #f2f2f2;
	margin-bottom: 30px;
}
/* magnifying glass icon */
.zoom:after {
	content:'';
	display:block; 
	width:33px; 
	height:33px; 
	position:absolute; 
	top:0;
	right:0;
	background:url(../images/zoom-icon.png);
}
.capture {
	box-sizing: border-box;
	margin: 5px;
	border: 1px dotted #727272;
	border-radius: 3px;	
}

label,input {
	font-size: 14px;
}
label{
	display: inline-block;
	font-family:'Trebuchet MS', sans-serif;
	width: 300px;	
}
input {
	font-family: Arial, Helvetica, Sans-serif;
	border: 1px solid #ccc;
	border-radius: 3px;
	background-color:#fff;	
	box-shadow: 0px 0px 3px rgba(14, 103, 163,0.3);
	height: 25px;		
}
input:focus,input:hover{
	border-color: #808080;
	box-shadow: 0px 0px 7px rgba(20,152,241,0.7);
}
input[type=submit],input[type=button],input[type=reset]{
	background-color: #0E67A3;
	border: 1px solid #0E67A3;
	border-radius: 2px;
	box-shadow: none;
	cursor: pointer;
	height: 28px;
	font-weight: bold;
	font-variant: small-caps;
	color: #fff;
}
input[type=submit]:hover,input[type=button]:hover,input[type=reset]:hover{
	background-color: #1498F1;
	border: 1px solid #1498F1;	
}
input[type=submit]:focus,input[type=button]:focus,input[type=reset]:focus{	
	box-shadow: 2px 2px 10px 2px rgba(14, 103, 163,0.7) inset;
}
input[type=checkbox].cbx {
	position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;	
}

input[type=checkbox].cbx + label.cbx {
	padding-left:24px;
	height:19px; 
	display:inline-block;
	line-height:19px;
	background-repeat:no-repeat;
	background-position: 0 0;	
	vertical-align:middle;
	cursor:pointer;
}

input[type=checkbox].cbx:checked + label.cbx {
	background-position: 0 -19px;
}
label.cbx {
	width: auto;
	background-image:url(../images/checkbox.png);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* Print */
@media print {
	#menu, #ancre-menu, #infocookies {
		display: none;
	}
}