/* MALAFRETAZ - feuille unifiee v1.3 - general + responsive */
/* GENERAL */
html { width: 100%; height: 100%; padding: 0; margin: 0; }
body { width: 100%; height: 100%; padding: 0; margin: 0 auto; font-size : 14px; font-family: 'Ubuntu', sans-serif; }

/*
font-family: 'Roboto', sans-serif;
font-family: 'Sen', sans-serif;
*/

input { font-family: 'Ubuntu', sans-serif; }

h1 { font-size: 40px; color: #333; font-weight: normal; margin-top: 0; margin-bottom: 15px; }
h2 { font-size: 18px; color: #555; font-weight: normal; margin-top: 0; line-height: 26px; }
h3 { font-size: 16px; color: #000; }
p { font-size: 14px; color: #000; }

form { width: 96%; margin: 0px auto 30px auto; display: block; }
form input[type=text] { display: block; width: 96%; margin: 10px auto 5px auto; }
form input[type=password] { display: block; width: 96%; margin: 10px auto 5px auto; }
form input[type=submit] { display: block; width: 100%; margin: 10px auto; text-align: center; font-weight: bold; }
form textarea { display: block; width: 100%; margin: 10px auto 5px auto; height: 250px; }

.hide { display: none; }

#header h1 { width: 100%; text-align: left; color: #555; margin: 50px 20px 0px 20px; display: block; padding: 10px 0px; min-height: 30px; font-weight: normal; font-size: 47px; }
#header h2 { width: 100%; text-align: left; color: #555; margin: 0px 20px; display: block; padding: 10px 0px; min-height: 30px; font-weight: normal; }



a.article { display: block; width: 100%; text-decoration: none; color: #000; padding: 10px 5px; border-top: 1px solid #555; overflow: hidden; min-height: 12px; margin-left: -5px; }
a.article:nth-child(odd) { background: #ccc; }

#chemin { width: 100%; padding: 15px 10px; background: orange; display: block; margin-left: -10px; margin-top: 0px; }
.chemin { background: #fff; padding: 5px; border: 1px solid #0004c1; text-decoration: none; color: #000; border-radius: 8px; }
.chemin:first-child { margin-left: 10px; }

/* DESKTOP >= 1024px */
@media screen and (min-width: 1024px) {
/*

html { width: 100%; height: 100%; padding: 0; margin: 0; }
body { width: 100%; height: 100%; padding: 0; margin: 0 auto; font-size : 14px; font-family: 'Dosis', sans-serif; }

#header { width: 100%; margin: 0 auto; }
#footer { width: 100%; margin: 0 auto; }
#page { width: 100%; margin: 0 auto; }
#central { width: 96%; margin: 0 auto; padding: 10px 2%; }

h1 { font-size: 27px; color: #000; }
h2 { font-size: 18px; color: #333; }
p { font-size: 14px; color: #000; }

form { width: 100%; }
form input { width: 96%; margin: 10px auto 5px auto; }
form textarea { width: 100%; margin: 10px auto 5px auto; height: 250px; }
form input[type=submit] { width: 96%; margin: 10px auto; text-align: center; }

	.m1 { background: rgba(58, 170, 53, 1); } Vert
	.m2 { background: rgba(104, 60, 17, 1); } Marron
	.m3 { background: rgba(2, 63, 134, 1); }  Bleu


*/

#header { width: 100%; margin: 0px auto; display: block; overflow: hidden; min-height: 200px; clear: both; border-bottom: 1px solid #000; background-image: url(../Zimg/ph02.jpg); background-size: cover; background-position: center; background-repeat: no-repeat;}
#footer { width: 100%; margin: 0 auto; background: #000; height: 40px; display: block; margin-top: 50px; clear: both; position: relative; }
#page { width: 100%; margin: 0px auto; padding: 0px; overflow: hidden; }
#central { display: block; width: 1024px; margin: 0 auto; padding: 0px 20px 60px 20px; overflow: hidden; }
#container { display: block; max-width: 1024px; min-height: 100px; margin: 20px auto; clear: both; }

#head_logo { display: block; padding: 10px 50px 10px 20px; max-width: 250px; height: 180px; border-top-right-radius: 125px; border-bottom-right-radius: 125px; background: rgba(255, 255, 255, .8); }
#head_logo img { width: 95%; }
#head_photo { display: block; width: calc(100% - 310px); float: right; min-height: 200px; background-image: url(../Zimg/ph01.jpg); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
#head_titraille { display: block; padding: 10px 20px 10px 20px; width: 280px; height: 180px; border-top-left-radius: 125px; border-bottom-left-radius: 125px; position: absolute; top: 0px; right: 0px; text-align: right; }
	#head_titraille h1 { font-size: 30px; margin: 20px 0px 0px 0px; text-align: right; padding: 0; color: rgba(255, 255, 255, .5); }
	#head_titraille h2 { font-size: 40px; font-family: 'Qwigley', cursive; margin: -5px 0px 5px 0px; padding: 0px; color: #fff; text-align: right; }
	#head_titraille h3 { font-size: 21px; margin-bottom: 5px; margin-top: 15px; font-weight: normal; text-align: right; padding: 0; }
	#head_titraille h4 { font-size: 18px; margin-bottom: 0px; margin-top: 5px; font-weight: normal; text-align: right; padding: 0; color: #fff; }
	.m1 { background: rgba(130, 188, 72, 1); }
	.m2 { background: rgba(119, 31, 47, 1); }
	.m3 { background: rgba(20, 76, 129, 1); }
	
#footer img { display: block; width: 70px; position: absolute; bottom: 10px; right: 10px; z-index: 10; }
#footer p { color: #fff; padding: 10px; }

#balise_menu_small { display: none; }

#balise_menu_large { display: block; width: 100%; min-height: 30px; text-align: center; margin: 0px auto; }
	#menu_principal { display: block; min-height: 25px; width: 100%; background: #fff; border-bottom: 1px solid #000; }
	.menu1 { display: inline-block; padding: 5px 12px; color: #000; text-align: center; text-decoration: none; cursor: pointer; min-height: 10px; }
	.menu1 h1 { font-size: 16px; margin: 0px; padding: 0px; }
	.menu1 img { height: 15px; }
	.bloc_menu { max-width: 984px; min-height: 50px; overflow: hidden; display: none; padding: 0px 20px; border-bottom: 1px solid #000; margin: 0px auto; box-shadow: 10px 10px 25px rgba(0, 0, 0, .75); }
	.bloc_menu input[type=text] { width: calc(100% - 79px); height: 20px; display: block; padding: 5px 10px; background: #fff; border: 1px solid #000; float: left; font-size: 18px; margin-top: 8px; }
	.bloc_menu input[type=image] { width: 24px; height: 22px; padding: 5px 8px 5px 5px; display: block; background: #000; float: right; margin-top: 8px; margin-right: 20px; border-top-right-radius: 15px; border-bottom-right-radius: 15px; }
	.bloc_menu_col { width: calc((100% / 4) - 25px); padding: 5px 10px; display: block; float: left; border-left: 1px solid #000; text-align: left; }
	.bloc_menu_col h2, .bloc_menu_col h2 a { margin: 10px 0px 0px 0px; padding: 5px 0px 0px 0px; color: #c00000; font-size: 18px; }
	.bloc_menu_col a { text-decoration: none; color: #000; width: 100%; display: block; padding: 2px 0px; }
	#m0:hover, #m4:hover { background: rgba(130, 188, 72, 1); }
	#m1:hover { background: rgba(130, 188, 72, 1); }
	#m2:hover { background: rgba(119, 31, 47, 1); }
	#m3:hover { background: rgba(20, 76, 129, 1); }
	#m1:hover h1 { color: #fff; }
	#m2:hover h1 { color: #fff; }
	#m3:hover h1 { color: #fff; }
	#sm1 { background: #fff; /*rgba(130, 188, 72, 1);*/ }
	#sm2 { background: #fff; /*rgba(119, 31, 47, 1);*/ }
	#sm3 { background: #fff; /*rgba(20, 76, 129, 1);*/ }
	#sm4 { background: rgba(20, 76, 129, 1); }

.titraille { display: block; width: 100%; text-align: center; margin-bottom: 0px; }
.titraille h1 { font-size: 45px; }
.titraille h2 { font-size: 100px; font-family: 'Qwigley', cursive; margin-bottom: 35px; margin-top: -5px; color: rgba(130, 188, 72, 1); }

#actu { display: block; max-width: 1366px; height: 620px; margin: 30px auto; padding: 0px; overflow: hidden; clear: both; }
	.bloc_actu { display: inline-block; text-decoration: none; height: 473px; width: calc((100% / 3) - 63px); padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; border-left: 30px solid #fff; border-right: 30px solid #fff; margin: 0px; overflow: hidden; position: relative; }
	.lire { display: none; position: absolute; top: 220px; left: 0px; width: 100%; background: orange; color: #fff; padding: 0px 15px; font-size: 30px; text-align: center; z-index: 10; }
	.bloc_actu:hover .lire { display: block; }
	.bloc_actu_img { display: block; height: 300px; margin-bottom: 15px; width: 100%; overflow: hidden; }
	.bloc_actu_img img { height: 100%; }
	.bloc_actu:hover .bloc_actu_img img {
		animation-duration: 1s;
		animation-name: diapo;
		animation-fill-mode: forwards;
	}
	@keyframes diapo {
		0% { height: 300px; }
		100% { margin-left: -50px; margin-top: -50px; height: 400px; }
	}
	.bloc_actu h1 { font-size: 25px; margin-top: 10px; }
	.bloc_actu h2 { font-size: 16px; }
	.bloc_actu h3 { font-size: 14px; font-weight: normal; }
	
	#diapo_compteur {display: block; width: 100%; margin: 20px auto; overflow: hidden; text-align: center; }
	.compteur_diapo_point { display: inline-block; width: 8px; height: 8px; border-radius: 4px; margin: 3px; background: #ccc; }
	
#info { display: block; max-width: 1366px; min-height: 100px; margin: 20px auto; padding: 0px; overflow: hidden; }
	#info .bloc_info { display: inline-block; text-decoration: none; height: 473px; width: calc((100% / 3) - 63px); padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; border-left: 30px solid #fff; border-right: 30px solid #fff; margin: 0px; overflow: hidden; position: relative; }
	.bloc_info h1 { font-size: 25px; text-align: center; width: 100%; background-image: url(../Zimg/h1_fin_4.png); background-size: contain; background-position: right; background-repeat: no-repeat; background-color: rgba(184, 24, 103, 1); color: #fff; padding: 8px 0px; margin-bottom: 15px; }
	.agenda { display: block; width: 100%; min-height: 20px; clear: both; padding: 0px; margin-bottom: 10px; overflow: hidden; }
	.agenda_date { width: 30%; float: left; color: rgba(20, 76, 129, 1); font-size: 14px; text-align: left; }
	.agenda_texte { width: 65%; float: right; color: #000; font-size: 14px; text-align: left; }
	.bloc_info p { text-align: left; border-bottom: 1px solid #000; padding: 0px 0px 10px 0px; }
	.clic_bulle_g { display: block; width: calc(100% - 10px); padding: 5px; height: 36px; border-radius: 23px; margin-left: 0; clear: both; margin-bottom: 15px; }
	.clic_bulle_img_g { width: 36px; height: 36px; border-radius: 18px; margin-right: 10px; float: left; background: #fff; }
	.clic_bulle_g h2 { font-size: 16px; color: #000; float: left; line-height: 36px; }
	.clic_bulle_d { display: block; width: calc(100% - 10px); padding: 5px; height: 36px; border-radius: 23px; margin-left: 0; clear: both; margin-bottom: 15px; }
	.clic_bulle_img_d { width: 36px; height: 36px; border-radius: 18px; margin-left: 10px; float: right; background: #fff; }
	.clic_bulle_d h2 { font-size: 16px; color: #000; float: right; line-height: 36px; }
	
	.bloc_info input[type="text"] { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; }
	.bloc_info textarea { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; height: 250px; font-family: 'Ubuntu', sans-serif; }
	.bloc_info input[type="submit"] { text-align: center; padding: 3px; font-size: 16px; color: #000; width: 100%; cursor: pointer; border-radius: 10px; }
	.bloc_info input[type="submit"]:hover { background: rgba(20, 76, 129, 1); color: #fff; }
	
#mairie { display: block; max-width: 1366px; min-height: 100px; margin: 20px auto; padding: 0px; overflow: hidden; background: rgba(20, 76, 129, 1); }
	#mairie h1 { color: #fff; padding: 10px; }
	.mairie_col1 { display: block; margin-left: 10px; padding: 10px; width: 27%; overflow: hidden; background: rgba(0, 0, 0, .3); float: left; margin-right: 10px; margin-left: -10px; }
	.mairie_col1 h2 { color: #fff; text-align: right; width: 100%; font-size: 21px; border-bottom: thin solid #fff; }
	.mairie_col1 p { font-size: 18px; color: #fff; text-align: right; width: 100%; line-height: 26px; }
	
	.mairie_col2 { display: block; margin-left: 5px; padding: 10px 5px; width: 45%; overflow: hidden; float: left; margin-right: 0px; }
	.mairie_col2 .clic_bulle_g { display: block; width: calc(100% - 10px); padding: 5px; height: 24px; border-radius: 17px; margin-left: 0; clear: both; margin-bottom: 10px; font-size: 18px; line-height: 24px; color: #fff; text-decoration: none; }
	.mairie_col2 .clic_bulle_img_g { width: 24px; height: 24px; border-radius: 12px; margin-right: 10px; float: left; background: #fff; }
	/*.mairie_col2 a { display: block; font-size: 18px; color: #fff; text-align: left; width: 100%; line-height: 36px; text-decoration: none; }*/
	
	.mairie_col3 { display: block; margin-left: 10px; padding: 10px; overflow: hidden; float: right; margin-left: 15px; }
	
.separation { display: block; width: 100%; height: 10px; border-bottom: 1px solid #000; margin-bottom: 20px; }

#col_gauche { display: block; width: calc(100% - 357px); min-height: 100px; padding: 0px 20px 0px 10px; float: left; overflow: hidden; border-right: 1px solid #000; }
	#col_gauche input[type="text"] { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; }
	#col_gauche textarea { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; height: 250px; font-family: 'Ubuntu', sans-serif; }
	#col_gauche input[type="submit"] { text-align: center; padding: 3px; font-size: 16px; color: #000; width: 100%; cursor: pointer; border-radius: 10px; }
	#col_gauche input[type="submit"]:hover { background: rgba(20, 76, 129, 1); color: #fff; }

#videoo { position: absolute; top: 0; right: 0; z-index: 200000;}

#col_g { display: block; min-width: 600px; max-width: calc(100% - 357px); min-height: 100px; padding: 0px 20px 0px 10px; float: left; overflow: hidden; border-right: 1px solid #000; }
#article1 { display: block; width: 100%; min-height: 10px; overflow: hidden; margin: 0px; position: relative; }
	#article1 img { display: block; width: 100%; margin: 15px 0px 25px 0px; }
	#article1 h1 { font-size: 40px; color: #333; font-weight: normal; margin-top: 20px ; margin-bottom: 15px; }
	#article1 h2 { font-size: 18px; color: #555; font-weight: normal; margin-top: 0; line-height: 26px; }
	#article1 p { font-size: 14px; color: #000; }
	#article1 iframe { width: 100%; display: block; margin: 15px 0px 25px 0px; }
	
	.bloc_image { width: 100%; display: block; margin-bottom: 20px; border-top: 1px solid #000; border-bottom: 1px solid #000; overflow: hidden; height: 304px; position: relative; }
	.bloc_image_titre { display: block; width: calc(75% - 2px); float: left; height: 306px; border-right: 2px solid #fff; }
	.bloc_image_titre img { width: 100%; }
	.ph_accompagnement { width: 25%; float: left; max-height: 100px; overflow: hidden; border-bottom: 2px solid #fff; }
	.ph_accompagnement img {width: 100%; }
	.texte { display: block; font-size: 14px; margin-top: 20px; line-height: 18px; }
	.bloc_image .zoom_accomp { cursor: pointer; position: absolute; top: 125px; left: 75%; width: 25%; text-align: center; font-size: 50px; z-index: 10; color: rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .5); }

	.zoomgeneral { display: none; background: #000; width: 96%; padding: 10px 2%; height: 600px; position: absolute; top: 0px; left: 0px; z-index: 100; overflow: auto; }
	.zoomgeneral img { width: 100%; }
	
#article100 { display: block; width: 100%; min-height: 10px; overflow: hidden; margin: 20px 0px; }
	.bloc_rub { display: block; text-decoration: none; padding: 10px 0px; border-bottom: 1px solid #000; width: 100%; margin-top: 0px; }
	.bloc_rub h1 { color: #000; font-size: 18px; margin-bottom: 5px; }
	.bloc_rub h2 { color: #555; font-size: 14px; line-height: 17px; }	
	.bloc_rub .partie1 { display: inline-block; width: calc(100% - 78px); position: relative; }
	.slide_lecture {display: none; position: absolute; right: 10px; top: 5px; width: 200px; padding: 10px 0px; background: rgba(130, 188, 72, 1); color: #fff; text-align: center; font-size: 20px; z-index: 1000; border-radius: 8px; }
	.bloc_rub:hover .slide_lecture {
		display: block;
		animation-duration: .5s;
		animation-name: slidein;
	}

	@keyframes slidein {
		from { margin-right: -210px; }
		to { margin-right: 0px; }
	}
	
	.bloc_rub .partie2 { display: inline-block; width: 72px; }
	.pub_mois_annee { display: block; width: 70px; padding: 4px 0px; text-align: center; color: #fff; font-size: 12px; background: #c00000; border: 1px solid #000; }
	.pub_jour { display: block; width: 70px; padding: 4px 0px; text-align: center; color: #000; background: #fff; border: 1px solid #000; font-size: 27px; line-height: 27px; }
	
	#col_g .titraille { display: block; width: 100%; text-align: center; margin-bottom: 0px; margin-top: 35px; padding: 10px 0px; background-image: url(../Zimg/h1_fin_6.png); background-size: contain; background-position: right; background-repeat: no-repeat; background-color: rgba(20, 76, 129, 1); }
	#col_g .titraille h1 { font-size: 30px; color: rgba(255, 255, 255, .5); }
	#col_g .titraille h2 { font-size: 50px; font-family: 'Qwigley', cursive; margin-top: -10px; margin-bottom: 10px; color: #fff; }

	

#col_d { display: block; width: 295px; min-height: 100px; margin: 20px 10px 0px 20px; float: right; }
	#col_d .bloc_info { display: block; text-decoration: none; overflow: hidden; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; position: relative; }
	#col_d .bloc_info_plan { display: block; text-decoration: none; overflow: hidden; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; position: fixed; top: 250px;}
	


#recherche_resultat { display: block; width: 96%; padding: 5px 2%; margin-top: 10px; background: #fff; min-width: 1px; overflow: hidden; clear: both; }











#droite_ms { width: 344px; padding: 10px; background: #ccc; margin-top: 0px; float: right; }
.reservation_visio { display: block; width: 254px; margin: 20px auto; padding: 15px; box-shadow: rgba(0, 0, 0, 0.34902) 0px 0px 20px; background: #fff; }
.reservation_visio h1 { font-size: 26px; text-align: center; color: rgb(89, 91, 97); margin-bottom: 5px; }
.reservation_visio h2 { color: rgb(0, 0, 0); font-size: 16px; padding: 30px 0px; text-align: justify; font-weight: 400; margin: 0px; }
#cal_perpetuel { display: block; width: 100%; }
#cal_perpetuel a { display: inline-block; width: 20px; height: 20px; padding: 5px 8px; text-align: center; color: #000; text-decoration: none; }
.reservation_visio h3 { color: #888; margin: 0; padding: 3px 0; width: 100%; font-size: 18px; }
.reservation_visio h3 a { float: right; text-decoration: none; color: #000; padding: 0px 4px 4px 4px; border: 1px solid #555; border-radius: 16px; width: 21px; text-align: center; margin-top: -2px; margin-left: 5px; }
.reservation_visio h3 a:hover { background: #888; }

#calendrier { display: block; width: 250px; height: 100%; background: #fff; overflow: auto; float: left; }
#horaire { display: block; width: 30px; padding: 44px 10px 0px 10px; float: left; position: relative; color: #fff; }
#horaire p { display: block; width: 100%; line-height: 30px; }
#cal { display: block; width: 200px; float: left; overflow: hidden; }
.jour { position: relative; width: 100%; margin: 30px 0px 0px 0px; padding: 0; border-left: 1px solid #000; background: #ccc; display: inline-block; height: 1056px; border-bottom: 1px solid #000; }
.heure { display: block; width: 100%; height: 43px; border-top: 1px solid #000; }
.quart { display: block; width: 100%; height: 10px; border-bottom: 1px dotted #000; }

.jour_j { position: relative; width: 100%; margin: 30px 0px 0px 0px; padding: 0; border-left: 1px solid #000; background: #ccc; display: inline-block; height: 1056px; border-bottom: 1px solid #000; }

#calendrier h1 { display: block; width: 100%; height: 30px; color: #fff; background: #222; padding: 0; font-size: 21px; text-align: center; }
#lu	{ left: calc(((((100% - 360px) / 7)) * 0) + 50px); }
#ma	{ left: calc(((((100% - 360px) / 7)) * 1) + 50px); }
#me	{ left: calc(((((100% - 360px) / 7)) * 2) + 50px); }
#je	{ left: calc(((((100% - 360px) / 7)) * 3) + 50px); }
#ve	{ left: calc(((((100% - 360px) / 7)) * 4) + 50px); }
#sa	{ left: calc(((((100% - 360px) / 7)) * 5) + 50px); }
#di	{ left: calc(((((100% - 360px) / 7)) * 6) + 50px); }

#cal .travail { display: block; width: 180px; position: absolute; left: 10px; z-index: 10; border-radius: 8px; text-align: center; color: #fff; }
#cal .travail h2 { font-size: 16px; margin: 0; padding: 0; color: rgba(255, 255, 255, .4); }
#cal .travail p { font-size: 14px; margin: 0; padding: 0; color: #fff; }
#cal .travail img { display: none; }

#now { height: 1px; width: 100%; background: #c00000; position: absolute; z-index: 20; left: 0;}
#visio_formulaire { display: block; width: 340px; float: right; overflow: hidden; margin-left: 20px; margin-top: 35px; }
#visio_form span { margin-right: 8px; }
#visio_form input[type="text"], #article_form input[type="text"] { padding: 8px; font-size: 14px; width: 290px; border-radius: 5px; margin-left: 0; }
#visio_form input[type="submit"], #article_form input[type="submit"] { padding: 8px 0px; background: #eee; font-size: 14px; width: 308px; border-radius: 5px; margin-left: 0; }
#visio_form_annuler { display: block; padding: 8px 0px; background: #eee; font-size: 14px; width: 308px; border-radius: 5px; margin-left: 0; text-decoration: none; color: #000; margin-top: 20px; text-align: center; font-weight: bold; }
#visio_form input[type="text"].chiffre { width: 20px; display: inline-block; }
#visio_form input[type="text"].chiffre4 { width: 35px; margin-right: 12px; display: inline-block; text-align: center; }

.icone a { display: inline-block; margin-right: 15px; }
.icone a img { height: 50px; }

#burger { display: none; }

#bloc_qui a { text-decoration: none; }
.bouton_qui { display: block; padding: 15px; text-align: center; font-size: 24px; color: rgba(255, 255, 255, .6); border-radius: 5px; margin: 20px auto; border: 1px solid #000; }
.bouton_qui span { font-size: 14px; color: #fff; }
.bouton_qui:hover span { color: rgba(0, 0, 0, .82); }

#article_form textarea { margin: 20px 0px 0px -10px; font-family: 'Ubuntu', sans-serif; padding: 10px; }
#artTitre_TA { font-size: 40px; color: #333; font-weight: normal; height: 50px; }
#artChapeau_TA { font-size: 18px; color: #555; font-weight: normal; line-height: 26px; height: 100px; }
#artTexte_TA { font-size: 14px; color: #000; font-weight: normal; height: 500px; }
#article_form input[type="text"] { width: 100%; margin: 20px 0px 0px -10px; }
#article_form input[type="submit"] { width: 100%; margin: 20px 0px 0px 0px; }

}


/* TABLET 768-1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
/*

html { width: 100%; height: 100%; padding: 0; margin: 0; }
body { width: 100%; height: 100%; padding: 0; margin: 0 auto; font-size : 14px; font-family: 'Dosis', sans-serif; }

#header { width: 100%; margin: 0 auto; }
#footer { width: 100%; margin: 0 auto; }
#page { width: 100%; margin: 0 auto; }
#central { width: 96%; margin: 0 auto; padding: 10px 2%; }

h1 { font-size: 27px; color: #000; }
h2 { font-size: 18px; color: #333; }
p { font-size: 14px; color: #000; }

form { width: 100%; }
form input { width: 96%; margin: 10px auto 5px auto; }
form textarea { width: 100%; margin: 10px auto 5px auto; height: 250px; }
form input[type=submit] { width: 96%; margin: 10px auto; text-align: center; }

*/

#header { display: block; width: 100%; margin: 0px auto; min-height: 30px; overflow: hidden; border-bottom: 1px solid #000; }
#footer { width: 100%; margin: 0 auto; background: #000; position: fixed; bottom: 0px; height: 50px; z-index: 100; }
#page { width: 100%; margin: 0px auto; padding: 0px; overflow: hidden; }
#central { width: 96%; margin: 0 auto; padding: 0px 2% 60px 2%; }
#burger { display: block; width: 100%; text-align: center; }
#burger img { height: 30px; margin: 10px 20px; }
#footer p { display: none; }
#footer .logo_court { display: none; }

#header img { width: calc(30% - 20px); margin: 10px 10px; float: left; }
#header .header_titre { display: block; width: 70%; float: left; overflow: hidden; }
#header span { display: none; }
#header h1 { width: 100%; text-align: left; color: #555; margin: 15px 10px 0px 10px; padding: 12px 0px 0px 0px; min-height: 30px; font-weight: normal; font-size: 21px; }
#header h2 { width: 100%; text-align: left; color: #555; margin: 0px 10px; padding: 0px; min-height: 15px; font-weight: normal; font-size: 12px; }

#head_titraille { display: none; }
	#head_titraille h1 { font-size: 30px; margin: 20px 0px 0px 0px; text-align: right; padding: 0; color: rgba(255, 255, 255, .5); }
	#head_titraille h2 { font-size: 40px; font-family: 'Qwigley', cursive; margin: -5px 0px 5px 0px; padding: 0px; color: #fff; text-align: right; }
	#head_titraille h3 { font-size: 21px; margin-bottom: 5px; margin-top: 15px; font-weight: normal; text-align: right; padding: 0; }
	#head_titraille h4 { font-size: 18px; margin-bottom: 0px; margin-top: 5px; font-weight: normal; text-align: right; padding: 0; color: #fff; }


#balise_menu_large { display: none; }
#balise_menu { display: none; }

#balise_menu_small { display: none; width: 100%; min-height: 30px; text-align: center; margin: 0px auto; }
	#menu_principal { display: block; min-height: 25px; width: 100%; background: #fff; border-bottom: 1px solid #000; }
	.menu1 { display: block; padding: 15px 0px; color: #000; text-align: center; text-decoration: none; cursor: pointer; min-height: 10px; }
	.menu1 h1 { font-size: 16px; margin: 0px; padding: 0px; }
	.menu1 img { height: 30px; }
	.bloc_menu_small { width: 100%; min-height: 50px; overflow: hidden; display: none; padding: 0px 2%; border-bottom: 1px solid #000; margin: 0px auto; }
	.bloc_menu_col { width: 100%; padding: 5px; display: block; border-left: 1px solid #000; text-align: left; }
	.bloc_menu_col h2, .bloc_menu_col h2 a { margin: 10px 0px 0px 0px; padding: 5px 0px 0px 0px; color: #c00000; font-size: 18px; }
	.bloc_menu_col a { text-decoration: none; color: #000; width: 100%; display: block; padding: 2px 0px; }
	#m4_small { display: none; }
	#m0_small { width: 100%; text-align: center; }
	#m0_small:hover, #m4_small:hover { background: rgba(130, 188, 72, 1); }
	#m1_small:hover { background: rgba(130, 188, 72, 1); }
	#m2_small:hover { background: rgba(119, 31, 47, 1); }
	#m3_small:hover { background: rgba(20, 76, 129, 1); }
	#m1_small:hover h1 { color: #fff; }
	#m2_small:hover h1 { color: #fff; }
	#m3_small:hover h1 { color: #fff; }
	
	#m4 { display: none; }
	#m0 { width: 100%; text-align: center; }
	#m0:hover, #m4:hover { background: rgba(130, 188, 72, 1); }
	#m1:hover { background: rgba(130, 188, 72, 1); }
	#m2:hover { background: rgba(119, 31, 47, 1); }
	#m3:hover { background: rgba(20, 76, 129, 1); }
	#m1:hover h1 { color: #fff; }
	#m2:hover h1 { color: #fff; }
	#m3:hover h1 { color: #fff; }
	
	#sm1, #sm1_small { background: #fff; /*rgba(130, 188, 72, 1);*/ }
	#sm2, #sm2_small { background: #fff; /*rgba(119, 31, 47, 1);*/ }
	#sm3, #sm3_small { background: #fff; /*rgba(20, 76, 129, 1);*/ }
	#sm4, #sm4_small { display: none; }


.titraille { display: block; width: 100%; text-align: center; margin-bottom: 0px; }
.titraille h1 { font-size: 25px; }
.titraille h2 { font-size: 50px; font-family: 'Qwigley', cursive; margin-bottom: 15px; margin-top: -5px; color: rgba(130, 188, 72, 1); }

#actu { display: block; width: 100%; height: 400px; margin: 30px auto; padding: 0px; overflow: hidden; clear: both; }
	.bloc_actu { display: block; text-decoration: none; height: 473px; width: 96%; padding: 2%; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; overflow: hidden; position: relative; }
	.lire { display: none; position: absolute; top: 220px; left: 0px; width: 100%; background: orange; color: #fff; padding: 0px 15px; font-size: 30px; text-align: center; z-index: 10; }
	.bloc_actu:hover .lire { display: block; }
	.bloc_actu_img { display: block; height: 150px; margin-bottom: 15px; width: 100%; margin: 0px auto; overflow: hidden; text-align: center;}
	.bloc_actu_img img { height: 100%; }
	.bloc_actu:hover .bloc_actu_img img {
		animation-duration: 1s;
		animation-name: diapo;
		animation-fill-mode: forwards;
	}
	@keyframes diapo {
		0% { height: 300px; }
		100% { margin-left: -50px; margin-top: -50px; height: 400px; }
	}
	.bloc_actu h1 { font-size: 25px; margin-top: 10px; text-align: center; }
	.bloc_actu h2 { font-size: 16px;  text-align: center; }
	.bloc_actu h3 { font-size: 14px; font-weight: normal;  text-align: center; }


	#info { display: block; width: 96%; min-height: 100px; margin: 20px auto; padding: 2%; overflow: hidden; }
		#info .bloc_info { display: block; text-decoration: none; max-height: 400px; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; overflow: hidden; position: relative; }
		.bloc_info h1 { font-size: 25px; text-align: center; width: 100%; background-image: url(../Zimg/h1_fin_4.png); background-size: contain; background-position: right; background-repeat: no-repeat; background-color: rgba(184, 24, 103, 1); color: #fff; padding: 8px 0px; margin-bottom: 15px; }
		.agenda { display: block; width: 100%; min-height: 20px; clear: both; padding: 0px; margin-bottom: 10px; overflow: hidden; }
		.agenda_date { width: 30%; float: left; color: rgba(20, 76, 129, 1); font-size: 14px; text-align: left; }
		.agenda_texte { width: 65%; float: right; color: #000; font-size: 14px; text-align: left; }
		.bloc_info p { text-align: left; border-bottom: 1px solid #000; padding: 0px 0px 10px 0px; }
		.clic_bulle_g { display: block; width: calc(100% - 10px); padding: 5px; height: 36px; border-radius: 23px; margin-left: 0; clear: both; margin-bottom: 15px; }
		.clic_bulle_img_g { width: 36px; height: 36px; border-radius: 18px; margin-right: 10px; float: left; background: #fff; }
		.clic_bulle_g h2 { font-size: 16px; color: #000; float: left; line-height: 36px; }
		.clic_bulle_d { display: block; width: calc(100% - 10px); padding: 5px; height: 36px; border-radius: 23px; margin-left: 0; clear: both; margin-bottom: 15px; }
		.clic_bulle_img_d { width: 36px; height: 36px; border-radius: 18px; margin-left: 10px; float: right; background: #fff; }
		.clic_bulle_d h2 { font-size: 16px; color: #000; float: right; line-height: 36px; }
	
		.bloc_info input[type="text"] { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; }
		.bloc_info textarea { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; height: 250px; font-family: 'Ubuntu', sans-serif; }
		.bloc_info input[type="submit"] { text-align: center; padding: 3px; font-size: 16px; color: #000; width: 100%; cursor: pointer; border-radius: 10px; }
		.bloc_info input[type="submit"]:hover { background: rgba(20, 76, 129, 1); color: #fff; }
	
	#mairie { display: block; width: 96%; min-height: 100px; margin: 20px auto 50px auto; padding: 2%; overflow: hidden; background: rgba(20, 76, 129, 1); }
		#mairie h1 { color: #fff; padding: 10px; }
		.mairie_col1 { display: block; padding: 2%; width: 100%; overflow: hidden; background: rgba(0, 0, 0, .3); }
		.mairie_col1 h2 { color: #fff; text-align: left; width: 100%; font-size: 21px; border-bottom: thin solid #fff; }
		.mairie_col1 p { font-size: 18px; color: #fff; text-align: left; width: 100%; line-height: 26px; }
	
		.mairie_col2 { display: block; padding: 2%; width: 100%; overflow: hidden; background: rgba(0, 0, 0, .3); }
		.mairie_col2 .clic_bulle_g { display: block; width: calc(100% - 20px); padding: 5px; height: 24px; border-radius: 17px; margin-left: 0; clear: both; margin-bottom: 10px; font-size: 14px; line-height: 24px; color: #fff; text-decoration: none; }
		.mairie_col2 .clic_bulle_img_g { width: 24px; height: 24px; border-radius: 12px; margin-right: 10px; float: left; background: #fff; }
		/*.mairie_col2 a { display: block; font-size: 18px; color: #fff; text-align: left; width: 100%; line-height: 36px; text-decoration: none; }*/
	
		.mairie_col3 { display: none; }
	
	.separation { display: block; width: 100%; height: 10px; border-bottom: 1px solid #000; margin-bottom: 20px; }

	#col_g { display: block; width: 96%; min-height: 100px; padding: 0px 2% 0px 2%; overflow: hidden; }
	#article1 { display: block; width: 100%; min-height: 10px; overflow: hidden; margin: 0px; position: relative; }
		#article1 img { display: block; width: 100%; margin: 15px 0px 25px 0px; }
		#article1 h1 { font-size: 30px; color: #333; font-weight: normal; margin-top: 20px ; margin-bottom: 15px; }
		#article1 h2 { font-size: 18px; color: #555; font-weight: normal; margin-top: 0; line-height: 26px; }
		#article1 p { font-size: 14px; color: #000; }
		#article1 iframe { width: 100%; display: block; margin: 15px 0px 25px 0px; }
	
		.bloc_image { width: 100%; display: block; margin-bottom: 20px; border-top: 1px solid #000; border-bottom: 1px solid #000; overflow: hidden; height: 304px; position: relative; }
		.bloc_image_titre { display: block; width: calc(75% - 2px); float: left; height: 306px; border-right: 2px solid #fff; }
		.bloc_image_titre img { width: 100%; }
		.ph_accompagnement { width: 25%; float: left; max-height: 100px; overflow: hidden; border-bottom: 2px solid #fff; }
		.ph_accompagnement img {width: 100%; }
		.texte { display: block; font-size: 14px; margin-top: 20px; line-height: 18px; }
		.bloc_image .zoom_accomp { cursor: pointer; position: absolute; top: 125px; left: 75%; width: 25%; text-align: center; font-size: 50px; z-index: 10; color: rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .5); }

		.zoomgeneral { display: none; background: #000; width: 96%; padding: 10px 2%; height: 600px; position: absolute; top: 0px; left: 0px; z-index: 100; overflow: auto; }
		.zoomgeneral img { width: 100%; }
	
	#article100 { display: block; width: 100%; min-height: 10px; overflow: hidden; margin: 20px 0px; }
		.bloc_rub { display: block; text-decoration: none; padding: 10px 0px; border-bottom: 1px solid #000; width: 100%; margin-top: 0px; }
		.bloc_rub h1 { color: #000; font-size: 18px; margin-bottom: 5px; }
		.bloc_rub h2 { color: #555; font-size: 14px; line-height: 17px; }	
		.bloc_rub .partie1 { display: inline-block; width: calc(100% - 78px); position: relative; }
		.slide_lecture {display: none; position: absolute; right: 10px; top: 5px; width: 200px; padding: 10px 0px; background: rgba(130, 188, 72, 1); color: #fff; text-align: center; font-size: 20px; z-index: 1000; border-radius: 8px; }


		.bloc_rub .partie2 { display: inline-block; width: 72px; }
		.pub_mois_annee { display: block; width: 70px; padding: 4px 0px; text-align: center; color: #fff; font-size: 12px; background: #c00000; border: 1px solid #000; }
		.pub_jour { display: block; width: 70px; padding: 4px 0px; text-align: center; color: #000; background: #fff; border: 1px solid #000; font-size: 27px; line-height: 27px; }
	
		#col_g .titraille { display: block; width: 100%; text-align: center; margin-bottom: 0px; margin-top: 35px; padding: 10px 0px; background-image: url(../Zimg/h1_fin_6.png); background-size: contain; background-position: right; background-repeat: no-repeat; background-color: rgba(20, 76, 129, 1); }
		#col_g .titraille h1 { font-size: 30px; color: rgba(255, 255, 255, .5); }
		#col_g .titraille h2 { font-size: 50px; font-family: 'Qwigley', cursive; margin-top: -10px; margin-bottom: 10px; color: #fff; }

	

	#col_d { display: block; width: 96%; min-height: 100px; padding: 2%; margin: 20px 0px 10px 0px; }
		#col_d .bloc_info { display: block; text-decoration: none; overflow: hidden; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; position: relative; }
		#col_d .bloc_info_plan { display: block; text-decoration: none; overflow: hidden; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; position: fixed; top: 250px;}



#bloc_article { display: block; min-height: 10px; overflow: hidden; margin-bottom: 60px; }
.article { border-bottom: 3px solid rgba(58, 170, 53, 1); padding: 15px 0px; width: 100%; margin-top: 20px; overflow: hidden;}

#bloc_qui a { text-decoration: none; }
.bouton_qui { display: block; padding: 15px; text-align: center; font-size: 24px; color: rgba(255, 255, 255, .6); border-radius: 5px; margin: 20px auto; border: 1px solid #000; }
.bouton_qui span { font-size: 14px; color: #fff; }
.bouton_qui:hover span { color: rgba(0, 0, 0, .82); }



#menu { display: none; height: calc(100% - 50px); width: 100%; background: #fff; position: fixed; top: 0; left: 0; z-index: 20; overflow: auto; }
.menu_principal { display: inline-block; min-height: 50px; padding: 10px; border-radius: 8px; background: rgba(2, 63, 134, 1); width: 40%; margin: 8px; color: #fff; text-align: center; text-decoration: none; color: #fff; cursor: pointer; position: relative; }
.menu_zone_secondaire { display: none; }
.menu_secondaire { display: block; width: calc(100%-10px); padding: 10px 5px; text-decoration: none; color: #fff; border-radius: 8px; border: thin solid #fff; background: rgba(0, 0, 0, .2); margin: 10px auto; position: relative; z-index: 6;}
.menu_principal h2 { color: #fff; text-decoration: none; }
.pastille, .pastille_rub { position: absolute; top: -5px; right: -5px; font-size: 16px; width: 20px; height: 20px; border-radius: 10px; background: #c00000; color: #fff; z-index: 10; }
.pastille_new { font-size: 13px; height: 20px; border-radius: 10px; background: #c00000; color: #fff; padding: 0 5px; float: right; }

#profil { display: none; height: calc(100% - 50px); width: 100%; background: #fff; position: fixed; top: 0; left: 0; z-index: 20; overflow: auto; }

.ics { width: 100%; border-top: 1px solid #ccc; display: block; clear: both; overflow: hidden; }
.ics p { display: block; float: left; }
.ics .rdv_txt { max-width: calc(100% - 90px); }
.ics a img { height: 30px; display: block; float: left; cursor: pointer; margin-right: 20px; margin-top: 12px; }
.ics_ok { display: block; height: 30px; float: right; margin-top: 12px; }

.article img { width: 100%; }



#droite_ms { width: 100%; padding: 10px; background: #ccc; margin-top: 2px; margin-left: -10px; }
.reservation_visio { display: block; width: 75%; margin: 20px auto; padding: 15px 20px; box-shadow: rgba(0, 0, 0, 0.34902) 0px 0px 20px; background: #fff; }
.reservation_visio h1 { font-size: 26px; text-align: center; color: rgb(89, 91, 97); margin-bottom: 5px; }
.reservation_visio h2 { color: rgb(0, 0, 0); font-size: 16px; padding: 30px 0px; text-align: justify; font-weight: 400; margin: 0px; }
#cal_perpetuel { display: block; width: 100%; }
#cal_perpetuel a { display: inline-block; width: calc(100% / 7); height: 20px; padding: 5px 0px; text-align: center; color: #000; text-decoration: none; }
.reservation_visio h3 { color: #888; margin: 0; padding: 3px 0; width: 100%; font-size: 18px; }
.reservation_visio h3 a { float: right; text-decoration: none; color: #000; padding: 0px 4px 4px 4px; border: 1px solid #555; border-radius: 16px; width: 21px; text-align: center; margin-top: -2px; margin-left: 5px; }
.reservation_visio h3 a:hover { background: #888; }

#calendrier { display: block; width: 92px; height: 100%; background: #fff; overflow: auto; float: left; }
#horaire { display: block; width: 30px; padding: 44px 10px 0px 10px; float: left; position: relative; color: #fff; }
#horaire p { display: block; width: 100%; line-height: 30px; }
#cal { display: block; width: 40px; float: left; overflow: hidden; }
.jour { position: relative; width: 100%; margin: 30px 0px 0px 0px; padding: 0; border-left: 1px solid #000; background: #ccc; display: inline-block; height: 1056px; border-bottom: 1px solid #000; }
.heure { display: block; width: 100%; height: 43px; border-top: 1px solid #000; }
.quart { display: block; width: 100%; height: 10px; border-bottom: 1px dotted #000; }
.jour_j { position: relative; width: 100%; margin: 30px 0px 0px 0px; padding: 0; border-left: 1px solid #000; background: #ccc; display: inline-block; height: 1056px; border-bottom: 1px solid #000; }

#calendrier h1 { display: block; width: 100%; height: 30px; color: #fff; background: #222; padding: 0; font-size: 11px; text-align: center; }
#lu	{ left: calc(((((100% - 360px) / 7)) * 0) + 50px); }
#ma	{ left: calc(((((100% - 360px) / 7)) * 1) + 50px); }
#me	{ left: calc(((((100% - 360px) / 7)) * 2) + 50px); }
#je	{ left: calc(((((100% - 360px) / 7)) * 3) + 50px); }
#ve	{ left: calc(((((100% - 360px) / 7)) * 4) + 50px); }
#sa	{ left: calc(((((100% - 360px) / 7)) * 5) + 50px); }
#di	{ left: calc(((((100% - 360px) / 7)) * 6) + 50px); }

#cal hr { display: none; }
#cal p { display: none; }
#cal .travail { display: block; width: 100%; position: absolute; left: 0px; z-index: 10; text-align: center; color: #fff; }
#cal .travail::before { content: "R"; color: #fff; font-size: 18px; line-height: 20px; }

#cal .travail h2 { display: none; font-size: 16px; margin: 0; padding: 0; color: rgba(255, 255, 255, .4); }
#cal .travail p { display: none; font-size: 10px; margin: 0; padding: 0; color: #fff; }
#cal .travail img { display: none; }

#now { height: 1px; width: 100%; background: #c00000; position: absolute; z-index: 20; left: 0;}

#visio_formulaire { display: block; width: calc(100% - 100px); float: right; overflow: hidden; margin-top: 35px; }

#visio_form span { margin-right: 5px; }
#visio_form input[type="text"], #article_form input[type="text"] { padding: 8px; font-size: 14px; width: calc(100% - 16px); border-radius: 5px; margin-left: 0; }
#visio_form input[type="submit"], #article_form input[type="submit"] { padding: 8px 0px; background: #eee; font-size: 14px; width: 100%; border-radius: 5px; margin-left: 0; }
#visio_form_annuler { display: block; padding: 8px 0px; background: #eee; font-size: 14px; width: 100%; border-radius: 5px; margin-left: 0; text-decoration: none; color: #000; margin-top: 20px; text-align: center; font-weight: bold; }
#visio_form input[type="text"].chiffre { width: 21px; display: inline-block; padding: 8px 2.5px; text-align: center; }
#visio_form input[type="text"].chiffre4 { width: 35px; margin-right: 5px; padding: 8px 2.5px; display: inline-block; text-align: center; }

.icone a { display: inline-block; margin-right: 15px; }
.icone a img { height: 40px; }

.zoom_accomp { display: none; }

#article_form textarea { margin: 20px auto; font-family: 'Ubuntu', sans-serif; padding: 10px; width: calc(94% - 22px); }
#artTitre_TA { font-size: 30px; color: #333; font-weight: normal; height: 50px; margin-left: -10px; }
#artChapeau_TA { font-size: 18px; color: #555; font-weight: normal; line-height: 26px; height: 100px; width: calc(94% - 22px); margin-left: -10px; }
#artTexte_TA { font-size: 16px; color: #000; font-weight: normal; height: 500px; width: calc(94% - 22px); padding: 10px; margin-left: -10px; }
#article_form input[type="text"] { width: calc(94% - 22px); margin: 20px auto; padding: 10px; }
#article_form input[type="submit"] { width: calc(94% - 22px); margin: 20px auto; padding: 10px; }

}


/* MOBILE <= 767px */
@media screen and (max-width: 767px) {
/*

html { width: 100%; height: 100%; padding: 0; margin: 0; }
body { width: 100%; height: 100%; padding: 0; margin: 0 auto; font-size : 14px; font-family: 'Dosis', sans-serif; }

#header { width: 100%; margin: 0 auto; }
#footer { width: 100%; margin: 0 auto; }
#page { width: 100%; margin: 0 auto; }
#central { width: 96%; margin: 0 auto; padding: 10px 2%; }

h1 { font-size: 27px; color: #000; }
h2 { font-size: 18px; color: #333; }
p { font-size: 14px; color: #000; }

form { width: 100%; }
form input { width: 96%; margin: 10px auto 5px auto; }
form textarea { width: 100%; margin: 10px auto 5px auto; height: 250px; }
form input[type=submit] { width: 96%; margin: 10px auto; text-align: center; }

*/

#header { display: block; width: 100%; margin: 0px auto; min-height: 30px; overflow: hidden; border-bottom: 1px solid #000; }
#footer { width: 100%; margin: 0 auto; background: #000; position: fixed; bottom: 0px; height: 50px; z-index: 100; }
#page { width: 100%; margin: 0px auto; padding: 0px; overflow: hidden; }
#central { width: 96%; margin: 0 auto; padding: 0px 2% 60px 2%; }
#burger { display: block; width: 100%; text-align: center; }
#burger img { height: 30px; margin: 10px 20px; }
#footer p { display: none; }
#footer .logo_court { display: none; }

#header img { width: calc(30% - 20px); margin: 10px 10px; float: left; }
#header .header_titre { display: block; width: 70%; float: left; overflow: hidden; }
#header span { display: none; }
#header h1 { width: 100%; text-align: left; color: #555; margin: 15px 10px 0px 10px; padding: 12px 0px 0px 0px; min-height: 30px; font-weight: normal; font-size: 21px; }
#header h2 { width: 100%; text-align: left; color: #555; margin: 0px 10px; padding: 0px; min-height: 15px; font-weight: normal; font-size: 12px; }

#head_titraille { display: none; }
	#head_titraille h1 { font-size: 30px; margin: 20px 0px 0px 0px; text-align: right; padding: 0; color: rgba(255, 255, 255, .5); }
	#head_titraille h2 { font-size: 40px; font-family: 'Qwigley', cursive; margin: -5px 0px 5px 0px; padding: 0px; color: #fff; text-align: right; }
	#head_titraille h3 { font-size: 21px; margin-bottom: 5px; margin-top: 15px; font-weight: normal; text-align: right; padding: 0; }
	#head_titraille h4 { font-size: 18px; margin-bottom: 0px; margin-top: 5px; font-weight: normal; text-align: right; padding: 0; color: #fff; }


#balise_menu_large { display: none; }
#balise_menu { display: none; }

#balise_menu_small { display: none; width: 100%; min-height: 30px; text-align: center; margin: 0px auto; }
	#menu_principal { display: block; min-height: 25px; width: 100%; background: #fff; border-bottom: 1px solid #000; }
	.menu1 { display: block; padding: 15px 0px; color: #000; text-align: center; text-decoration: none; cursor: pointer; min-height: 10px; }
	.menu1 h1 { font-size: 16px; margin: 0px; padding: 0px; }
	.menu1 img { height: 30px; }
	.bloc_menu_small { width: 100%; min-height: 50px; overflow: hidden; display: none; padding: 0px 2%; border-bottom: 1px solid #000; margin: 0px auto; }
	.bloc_menu_col { width: 100%; padding: 5px; display: block; border-left: 1px solid #000; text-align: left; }
	.bloc_menu_col h2, .bloc_menu_col h2 a { margin: 10px 0px 0px 0px; padding: 5px 0px 0px 0px; color: #c00000; font-size: 18px; }
	.bloc_menu_col a { text-decoration: none; color: #000; width: 100%; display: block; padding: 2px 0px; }
	#m4_small { display: none; }
	#m0_small { width: 100%; text-align: center; }
	#m0_small:hover, #m4_small:hover { background: rgba(130, 188, 72, 1); }
	#m1_small:hover { background: rgba(130, 188, 72, 1); }
	#m2_small:hover { background: rgba(119, 31, 47, 1); }
	#m3_small:hover { background: rgba(20, 76, 129, 1); }
	#m1_small:hover h1 { color: #fff; }
	#m2_small:hover h1 { color: #fff; }
	#m3_small:hover h1 { color: #fff; }
	
	#m4 { display: none; }
	#m0 { width: 100%; text-align: center; }
	#m0:hover, #m4:hover { background: rgba(130, 188, 72, 1); }
	#m1:hover { background: rgba(130, 188, 72, 1); }
	#m2:hover { background: rgba(119, 31, 47, 1); }
	#m3:hover { background: rgba(20, 76, 129, 1); }
	#m1:hover h1 { color: #fff; }
	#m2:hover h1 { color: #fff; }
	#m3:hover h1 { color: #fff; }
	
	#sm1, #sm1_small { background: #fff; /*rgba(130, 188, 72, 1);*/ }
	#sm2, #sm2_small { background: #fff; /*rgba(119, 31, 47, 1);*/ }
	#sm3, #sm3_small { background: #fff; /*rgba(20, 76, 129, 1);*/ }
	#sm4, #sm4_small { display: none; }


.titraille { display: block; width: 100%; text-align: center; margin-bottom: 0px; }
.titraille h1 { font-size: 25px; }
.titraille h2 { font-size: 50px; font-family: 'Qwigley', cursive; margin-bottom: 15px; margin-top: -5px; color: rgba(130, 188, 72, 1); }

#actu2 { display: block; width: 100%; margin: 30px auto; padding: 0px; overflow: hidden; clear: both; }
#actu { display: block; width: 100%; height: 400px; margin: 30px auto; padding: 0px; overflow: hidden; clear: both; }
	.bloc_actu { display: block; text-decoration: none; height: 473px; width: 96%; padding: 2%; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; overflow: hidden; position: relative; }
	.lire { display: none; position: absolute; top: 220px; left: 0px; width: 100%; background: orange; color: #fff; padding: 0px 15px; font-size: 30px; text-align: center; z-index: 10; }
	.bloc_actu:hover .lire { display: block; }
	.bloc_actu_img { display: block; height: 150px; margin-bottom: 15px; width: 100%; margin: 0px auto; overflow: hidden; text-align: center;}
	.bloc_actu_img img { height: 100%; }
	.bloc_actu:hover .bloc_actu_img img {
		animation-duration: 1s;
		animation-name: diapo;
		animation-fill-mode: forwards;
	}
	@keyframes diapo {
		0% { height: 300px; }
		100% { margin-left: -50px; margin-top: -50px; height: 400px; }
	}
	.bloc_actu h1 { font-size: 25px; margin-top: 10px; text-align: center; }
	.bloc_actu h2 { font-size: 16px;  text-align: center; }
	.bloc_actu h3 { font-size: 14px; font-weight: normal;  text-align: center; }

	#info2 { display: block; max-width: 94%; margin: 0px auto; overflow: hidden; }
	
	#info { display: block; width: 96%; min-height: 100px; margin: 20px auto; padding: 2%; overflow: hidden; }
		#info .bloc_info { display: block; text-decoration: none; max-height: 400px; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; overflow: hidden; position: relative; }
		.bloc_info h1 { font-size: 25px; text-align: center; width: 100%; background-image: url(../Zimg/h1_fin_4.png); background-size: contain; background-position: right; background-repeat: no-repeat; background-color: rgba(184, 24, 103, 1); color: #fff; padding: 8px 0px; margin-bottom: 15px; }
		.agenda { display: block; width: 100%; min-height: 20px; clear: both; padding: 0px; margin-bottom: 10px; overflow: hidden; }
		.agenda_date { width: 30%; float: left; color: rgba(20, 76, 129, 1); font-size: 14px; text-align: left; }
		.agenda_texte { width: 65%; float: right; color: #000; font-size: 14px; text-align: left; }
		.bloc_info p { text-align: left; border-bottom: 1px solid #000; padding: 0px 0px 10px 0px; }
		.clic_bulle_g { display: block; width: calc(100% - 10px); padding: 5px; height: 36px; border-radius: 23px; margin-left: 0; clear: both; margin-bottom: 15px; }
		.clic_bulle_img_g { width: 36px; height: 36px; border-radius: 18px; margin-right: 10px; float: left; background: #fff; }
		.clic_bulle_g h2 { font-size: 16px; color: #000; float: left; line-height: 36px; }
		.clic_bulle_d { display: block; width: calc(100% - 10px); padding: 5px; height: 36px; border-radius: 23px; margin-left: 0; clear: both; margin-bottom: 15px; }
		.clic_bulle_img_d { width: 36px; height: 36px; border-radius: 18px; margin-left: 10px; float: right; background: #fff; }
		.clic_bulle_d h2 { font-size: 16px; color: #000; float: right; line-height: 36px; }
	
		.bloc_info input[type="text"] { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; }
		.bloc_info textarea { text-align: left; padding: 3px; font-size: 16px; color: #000; width: 96%; height: 250px; font-family: 'Ubuntu', sans-serif; }
		.bloc_info input[type="submit"] { text-align: center; padding: 3px; font-size: 16px; color: #000; width: 100%; cursor: pointer; border-radius: 10px; }
		.bloc_info input[type="submit"]:hover { background: rgba(20, 76, 129, 1); color: #fff; }
	
	#mairie { display: block; width: 96%; min-height: 100px; margin: 20px auto 50px auto; padding: 2%; overflow: hidden; background: rgba(20, 76, 129, 1); }
		#mairie h1 { color: #fff; padding: 10px; }
		.mairie_col1 { display: block; padding: 2%; width: 100%; overflow: hidden; background: rgba(0, 0, 0, .3); }
		.mairie_col1 h2 { color: #fff; text-align: left; width: 100%; font-size: 21px; border-bottom: thin solid #fff; }
		.mairie_col1 p { font-size: 18px; color: #fff; text-align: left; width: 100%; line-height: 26px; }
	
		.mairie_col2 { display: block; padding: 2%; width: 100%; overflow: hidden; background: rgba(0, 0, 0, .3); }
		.mairie_col2 .clic_bulle_g { display: block; width: calc(100% - 20px); padding: 5px; height: 24px; border-radius: 17px; margin-left: 0; clear: both; margin-bottom: 10px; font-size: 14px; line-height: 24px; color: #fff; text-decoration: none; }
		.mairie_col2 .clic_bulle_img_g { width: 24px; height: 24px; border-radius: 12px; margin-right: 10px; float: left; background: #fff; }
		/*.mairie_col2 a { display: block; font-size: 18px; color: #fff; text-align: left; width: 100%; line-height: 36px; text-decoration: none; }*/
	
		.mairie_col3 { display: none; }
	
	.separation { display: block; width: 100%; height: 10px; border-bottom: 1px solid #000; margin-bottom: 20px; }

	#col_g { display: block; width: 96%; min-height: 100px; padding: 0px 2% 0px 2%; overflow: hidden; }
	#article1 { display: block; width: 100%; min-height: 10px; overflow: hidden; margin: 0px; position: relative; }
		#article1 img { display: block; width: 100%; margin: 15px 0px 25px 0px; }
		#article1 h1 { font-size: 30px; color: #333; font-weight: normal; margin-top: 20px ; margin-bottom: 15px; }
		#article1 h2 { font-size: 18px; color: #555; font-weight: normal; margin-top: 0; line-height: 26px; }
		#article1 p { font-size: 14px; color: #000; }
		#article1 iframe { width: 100%; display: block; margin: 15px 0px 25px 0px; }
	
		.bloc_image { width: 100%; display: block; margin-bottom: 20px; border-top: 1px solid #000; border-bottom: 1px solid #000; overflow: hidden; height: 304px; position: relative; }
		.bloc_image_titre { display: block; width: calc(75% - 2px); float: left; height: 306px; border-right: 2px solid #fff; }
		.bloc_image_titre img { width: 100%; }
		.ph_accompagnement { width: 25%; float: left; max-height: 100px; overflow: hidden; border-bottom: 2px solid #fff; }
		.ph_accompagnement img {width: 100%; }
		.texte { display: block; font-size: 14px; margin-top: 20px; line-height: 18px; }
		.bloc_image .zoom_accomp { cursor: pointer; position: absolute; top: 125px; left: 75%; width: 25%; text-align: center; font-size: 50px; z-index: 10; color: rgba(255, 255, 255, .8); background: rgba(0, 0, 0, .5); }

		.zoomgeneral { display: none; background: #000; width: 96%; padding: 10px 2%; height: 600px; position: absolute; top: 0px; left: 0px; z-index: 100; overflow: auto; }
		.zoomgeneral img { width: 100%; }
	
	#article100 { display: block; width: 100%; min-height: 10px; overflow: hidden; margin: 20px 0px; }
		.bloc_rub { display: block; text-decoration: none; padding: 10px 0px; border-bottom: 1px solid #000; width: 100%; margin-top: 0px; }
		.bloc_rub h1 { color: #000; font-size: 18px; margin-bottom: 5px; }
		.bloc_rub h2 { color: #555; font-size: 14px; line-height: 17px; }	
		.bloc_rub .partie1 { display: inline-block; width: calc(100% - 78px); position: relative; }
		.slide_lecture {display: none; position: absolute; right: 10px; top: 5px; width: 200px; padding: 10px 0px; background: rgba(130, 188, 72, 1); color: #fff; text-align: center; font-size: 20px; z-index: 1000; border-radius: 8px; }


		.bloc_rub .partie2 { display: inline-block; width: 72px; }
		.pub_mois_annee { display: block; width: 70px; padding: 4px 0px; text-align: center; color: #fff; font-size: 12px; background: #c00000; border: 1px solid #000; }
		.pub_jour { display: block; width: 70px; padding: 4px 0px; text-align: center; color: #000; background: #fff; border: 1px solid #000; font-size: 27px; line-height: 27px; }
	
		#col_g .titraille { display: block; width: 100%; text-align: center; margin-bottom: 0px; margin-top: 35px; padding: 10px 0px; background-image: url(../Zimg/h1_fin_6.png); background-size: contain; background-position: right; background-repeat: no-repeat; background-color: rgba(20, 76, 129, 1); }
		#col_g .titraille h1 { font-size: 30px; color: rgba(255, 255, 255, .5); }
		#col_g .titraille h2 { font-size: 50px; font-family: 'Qwigley', cursive; margin-top: -10px; margin-bottom: 10px; color: #fff; }

	

	#col_d { display: block; width: 96%; min-height: 100px; padding: 2%; margin: 20px 0px 10px 0px; }
		#col_d .bloc_info { display: block; text-decoration: none; overflow: hidden; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; position: relative; }
		#col_d .bloc_info_plan { display: block; text-decoration: none; overflow: hidden; width: 100%; padding: 0px; border-top: 10px solid #fff; border-bottom: 10px solid #fff; margin: 0px; position: fixed; top: 250px;}



#bloc_article { display: block; min-height: 10px; overflow: hidden; margin-bottom: 60px; }
.article { border-bottom: 3px solid rgba(58, 170, 53, 1); padding: 15px 0px; width: 100%; margin-top: 20px; overflow: hidden;}

#bloc_qui a { text-decoration: none; }
.bouton_qui { display: block; padding: 15px; text-align: center; font-size: 24px; color: rgba(255, 255, 255, .6); border-radius: 5px; margin: 20px auto; border: 1px solid #000; }
.bouton_qui span { font-size: 14px; color: #fff; }
.bouton_qui:hover span { color: rgba(0, 0, 0, .82); }



#menu { display: none; height: calc(100% - 50px); width: 100%; background: #fff; position: fixed; top: 0; left: 0; z-index: 20; overflow: auto; }
.menu_principal { display: inline-block; min-height: 50px; padding: 10px; border-radius: 8px; background: rgba(2, 63, 134, 1); width: 40%; margin: 8px; color: #fff; text-align: center; text-decoration: none; color: #fff; cursor: pointer; position: relative; }
.menu_zone_secondaire { display: none; }
.menu_secondaire { display: block; width: calc(100%-10px); padding: 10px 5px; text-decoration: none; color: #fff; border-radius: 8px; border: thin solid #fff; background: rgba(0, 0, 0, .2); margin: 10px auto; position: relative; z-index: 6;}
.menu_principal h2 { color: #fff; text-decoration: none; }
.pastille, .pastille_rub { position: absolute; top: -5px; right: -5px; font-size: 16px; width: 20px; height: 20px; border-radius: 10px; background: #c00000; color: #fff; z-index: 10; }
.pastille_new { font-size: 13px; height: 20px; border-radius: 10px; background: #c00000; color: #fff; padding: 0 5px; float: right; }

#profil { display: none; height: calc(100% - 50px); width: 100%; background: #fff; position: fixed; top: 0; left: 0; z-index: 20; overflow: auto; }

.ics { width: 100%; border-top: 1px solid #ccc; display: block; clear: both; overflow: hidden; }
.ics p { display: block; float: left; }
.ics .rdv_txt { max-width: calc(100% - 90px); }
.ics a img { height: 30px; display: block; float: left; cursor: pointer; margin-right: 20px; margin-top: 12px; }
.ics_ok { display: block; height: 30px; float: right; margin-top: 12px; }

.article img { width: 100%; }



#droite_ms { width: 100%; padding: 10px; background: #ccc; margin-top: 2px; margin-left: -10px; }
.reservation_visio { display: block; width: 75%; margin: 20px auto; padding: 15px 20px; box-shadow: rgba(0, 0, 0, 0.34902) 0px 0px 20px; background: #fff; }
.reservation_visio h1 { font-size: 26px; text-align: center; color: rgb(89, 91, 97); margin-bottom: 5px; }
.reservation_visio h2 { color: rgb(0, 0, 0); font-size: 16px; padding: 30px 0px; text-align: justify; font-weight: 400; margin: 0px; }
#cal_perpetuel { display: block; width: 100%; }
#cal_perpetuel a { display: inline-block; width: calc(100% / 7); height: 20px; padding: 5px 0px; text-align: center; color: #000; text-decoration: none; }
.reservation_visio h3 { color: #888; margin: 0; padding: 3px 0; width: 100%; font-size: 18px; }
.reservation_visio h3 a { float: right; text-decoration: none; color: #000; padding: 0px 4px 4px 4px; border: 1px solid #555; border-radius: 16px; width: 21px; text-align: center; margin-top: -2px; margin-left: 5px; }
.reservation_visio h3 a:hover { background: #888; }

#calendrier { display: block; width: 92px; height: 100%; background: #fff; overflow: auto; float: left; }
#horaire { display: block; width: 30px; padding: 44px 10px 0px 10px; float: left; position: relative; color: #fff; }
#horaire p { display: block; width: 100%; line-height: 30px; }
#cal { display: block; width: 40px; float: left; overflow: hidden; }
.jour { position: relative; width: 100%; margin: 30px 0px 0px 0px; padding: 0; border-left: 1px solid #000; background: #ccc; display: inline-block; height: 1056px; border-bottom: 1px solid #000; }
.heure { display: block; width: 100%; height: 43px; border-top: 1px solid #000; }
.quart { display: block; width: 100%; height: 10px; border-bottom: 1px dotted #000; }
.jour_j { position: relative; width: 100%; margin: 30px 0px 0px 0px; padding: 0; border-left: 1px solid #000; background: #ccc; display: inline-block; height: 1056px; border-bottom: 1px solid #000; }

#calendrier h1 { display: block; width: 100%; height: 30px; color: #fff; background: #222; padding: 0; font-size: 11px; text-align: center; }
#lu	{ left: calc(((((100% - 360px) / 7)) * 0) + 50px); }
#ma	{ left: calc(((((100% - 360px) / 7)) * 1) + 50px); }
#me	{ left: calc(((((100% - 360px) / 7)) * 2) + 50px); }
#je	{ left: calc(((((100% - 360px) / 7)) * 3) + 50px); }
#ve	{ left: calc(((((100% - 360px) / 7)) * 4) + 50px); }
#sa	{ left: calc(((((100% - 360px) / 7)) * 5) + 50px); }
#di	{ left: calc(((((100% - 360px) / 7)) * 6) + 50px); }

#cal hr { display: none; }
#cal p { display: none; }
#cal .travail { display: block; width: 100%; position: absolute; left: 0px; z-index: 10; text-align: center; color: #fff; }
#cal .travail::before { content: "R"; color: #fff; font-size: 18px; line-height: 20px; }

#cal .travail h2 { display: none; font-size: 16px; margin: 0; padding: 0; color: rgba(255, 255, 255, .4); }
#cal .travail p { display: none; font-size: 10px; margin: 0; padding: 0; color: #fff; }
#cal .travail img { display: none; }

#now { height: 1px; width: 100%; background: #c00000; position: absolute; z-index: 20; left: 0;}

#visio_formulaire { display: block; width: calc(100% - 100px); float: right; overflow: hidden; margin-top: 35px; }

#visio_form span { margin-right: 5px; }
#visio_form input[type="text"], #article_form input[type="text"] { padding: 8px; font-size: 14px; width: calc(100% - 16px); border-radius: 5px; margin-left: 0; }
#visio_form input[type="submit"], #article_form input[type="submit"] { padding: 8px 0px; background: #eee; font-size: 14px; width: 100%; border-radius: 5px; margin-left: 0; }
#visio_form_annuler { display: block; padding: 8px 0px; background: #eee; font-size: 14px; width: 100%; border-radius: 5px; margin-left: 0; text-decoration: none; color: #000; margin-top: 20px; text-align: center; font-weight: bold; }
#visio_form input[type="text"].chiffre { width: 21px; display: inline-block; padding: 8px 2.5px; text-align: center; }
#visio_form input[type="text"].chiffre4 { width: 35px; margin-right: 5px; padding: 8px 2.5px; display: inline-block; text-align: center; }

.icone a { display: inline-block; margin-right: 15px; }
.icone a img { height: 40px; }

.zoom_accomp { display: none; }

#article_form textarea { margin: 20px auto; font-family: 'Ubuntu', sans-serif; padding: 10px; width: calc(94% - 22px); }
#artTitre_TA { font-size: 30px; color: #333; font-weight: normal; height: 50px; margin-left: -10px; }
#artChapeau_TA { font-size: 18px; color: #555; font-weight: normal; line-height: 26px; height: 100px; width: calc(94% - 22px); margin-left: -10px; }
#artTexte_TA { font-size: 16px; color: #000; font-weight: normal; height: 500px; width: calc(94% - 22px); padding: 10px; margin-left: -10px; }
#article_form input[type="text"] { width: calc(94% - 22px); margin: 20px auto; padding: 10px; }
#article_form input[type="submit"] { width: calc(94% - 22px); margin: 20px auto; padding: 10px; }

#inter_form input[type="text"] { width: calc(94% - 22px); margin: 20px auto; padding: 10px; font-size: 16px; }
#inter_form input[type="submit"] { width: calc(94% - 22px); margin: 20px auto; padding: 10px; font-size: 16px; }
#inter_form select { width: calc(94% - 22px); margin: 0px auto; padding: 10px; font-size: 16px; }
#inter_form h2 { margin-top: 20px }
#inter_form textarea { width: calc(94% - 22px); margin: 0px auto; padding: 10px; font-size: 16px; font-family: sans-serif; height: 200px; }


#histo { display: block; margin-bottom: 50px; }
.intervention { display: block; margin: 10px 0px 0px 0px; padding: 0px 0px 0px 10px; font-size: 16px; position: relative; }
.intervention a { display: inline-block; margin: 10px 20px 10px 0px; padding: 5px; text-decoration: none; color: #000; border: 1px solid #000; border-radius: 10px; font-size: 18px; }
.intervention .inter_qd { display: block; background: #eee; margin-bottom: 0px; font-size: 16px; padding: 2px 4px; }
.objId { display: none; margin-top: 20px; margin-bottom: 20px; width: 100%; }

.toutes { display: block; width: 90%; text-align: center; text-decoration: none; color: #000; padding: 5px; font-size: 18px; background: #ccc; border-radius: 10px; margin: 0px auto; margin-top: 10px; }

.bloc_urgence { display: none; position: absolute; top: 0px; left: 0px; background: #fff; width: 100%; text-align: center; z-index: 100; }

#liste_type p { color: #fff; padding: 5px; }
#liste_type p a { float: right; text-decoration: none; padding: 3px; text-align: center; color: #fff; background: #000; }


.bouton_sms { font-size: 20px; padding: 5px 3%; width: 100%; color: #fff; background: #c00000; margin: 20px auto; text-decoration: none; display: block; }
}


/* ========================================================================== */
/* MALAFRETAZ PUBLIC CAHIER 4 - VISIONNEUSE v1.6                              */
/* Visionneuse modale, navigation clavier/tactile et bandeau de miniatures.    */
/* ========================================================================== */
.bloc_image .ph_titre,
.bloc_image .ph_accompagnement img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
}
.bloc_image .ph_accompagnement {
    height: 100px;
    max-height: 100px;
}
.bloc_image .zoom_accomp {
    border: 0;
    padding: 0;
    font-family: inherit;
    line-height: 1.2;
}
body.mf-gallery-open {
    overflow: hidden;
}
.zoomgeneral.mf-gallery {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 18px !important;
    margin: 0 !important;
    background: rgba(9, 12, 16, .88) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 200000 !important;
    overflow: hidden !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.mf-gallery-dialog {
    position: relative;
    width: min(1280px, 100%);
    height: min(900px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    background: #11151a;
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 58px minmax(0, 1fr) auto;
    overflow: hidden;
    outline: none;
}
.mf-gallery-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 70px;
    background: rgba(17,21,26,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-sizing: border-box;
    z-index: 6;
}
.mf-gallery-counter {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.mf-gallery-close {
    position: absolute;
    top: 9px;
    right: 12px;
    z-index: 8;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 31px;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.mf-gallery-close:hover,
.mf-gallery-close:focus-visible {
    background: rgba(255,255,255,.22);
    transform: scale(1.06);
    outline: 2px solid rgba(255,255,255,.75);
    outline-offset: 2px;
}
.mf-gallery-stage {
    position: relative;
    min-height: 0;
    width: 100%;
    height: 100%;
    padding: 20px 84px;
    box-sizing: border-box;
    overflow: hidden;
}
.mf-gallery-item {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    animation: mfGalleryFade .18s ease-out;
}
.mf-gallery-item.is-active { display: flex; }
.mf-gallery-media {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#article1 .mf-gallery-item img,
.mf-gallery-item img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    margin: auto !important;
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,.28);
}
.mf-gallery-caption {
    flex: 0 0 auto;
    color: rgba(255,255,255,.92);
    text-align: center;
    font-size: 15px;
    line-height: 1.4;
    padding: 7px 14px;
    max-width: 920px;
    border-radius: 9px;
    background: rgba(0,0,0,.28);
}
.mf-gallery-prev,
.mf-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    padding: 0;
    background: rgba(17,21,26,.68);
    color: #fff;
    font-size: 30px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0,0,0,.28);
    transition: background .18s ease, transform .18s ease;
}
.mf-gallery-prev { left: 20px; }
.mf-gallery-next { right: 20px; }
.mf-gallery-prev:hover,
.mf-gallery-next:hover,
.mf-gallery-prev:focus-visible,
.mf-gallery-next:focus-visible {
    background: rgba(255,255,255,.18);
    transform: translateY(-50%) scale(1.06);
    outline: 2px solid rgba(255,255,255,.72);
    outline-offset: 2px;
}
.mf-gallery-thumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    min-height: 82px;
    padding: 9px 16px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    background: rgba(8,11,14,.96);
    border-top: 1px solid rgba(255,255,255,.08);
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.mf-gallery-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 56px;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    opacity: .58;
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.mf-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 !important;
    box-shadow: none;
}
.mf-gallery-thumb:hover,
.mf-gallery-thumb:focus-visible {
    opacity: .9;
    transform: translateY(-1px);
    outline: none;
}
.mf-gallery-thumb.is-active {
    opacity: 1;
    border-color: #fff;
}
@keyframes mfGalleryFade {
    from { opacity: .35; transform: scale(.992); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 700px) {
    .zoomgeneral.mf-gallery { padding: 0 !important; }
    .mf-gallery-dialog {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        grid-template-rows: 52px minmax(0, 1fr) auto;
    }
    .mf-gallery-toolbar { min-height: 52px; }
    .mf-gallery-close {
        top: 6px;
        right: 8px;
        width: 40px;
        height: 40px;
    }
    .mf-gallery-stage { padding: 12px 44px; }
    .mf-gallery-prev,
    .mf-gallery-next {
        width: 38px;
        height: 38px;
        font-size: 24px;
        line-height: 34px;
    }
    .mf-gallery-prev { left: 5px; }
    .mf-gallery-next { right: 5px; }
    .mf-gallery-thumbs {
        min-height: 72px;
        padding: 8px 10px 10px;
    }
    .mf-gallery-thumb {
        flex-basis: 62px;
        width: 62px;
        height: 48px;
    }
    .mf-gallery-caption {
        font-size: 13px;
        padding: 5px 9px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mf-gallery-item,
    .mf-gallery-close,
    .mf-gallery-prev,
    .mf-gallery-next,
    .mf-gallery-thumb {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* ========================================================================== */
/* Agenda des manifestations — Bopsi Reservation                              */
/* ========================================================================== */
.agenda_event {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0 14px;
    border-bottom: 1px solid rgba(20, 76, 129, .18);
}
.agenda_event:last-child { border-bottom: 0; }
.agenda_dates {
    color: rgba(20, 76, 129, 1);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}
.agenda_name {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
}
.agenda_comment {
    color: #444;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.agenda_empty {
    color: #666;
    font-size: 14px;
    line-height: 1.45;
    margin: 8px 0 0;
}


/* ========================================================================== */
/* Agenda : défilement interne de la liste                                    */
/* ========================================================================== */
#info .agenda_bloc {
    height: 473px;
}

#info .agenda_scroll {
    height: calc(100% - 64px);
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(184, 24, 103, .70) rgba(20, 76, 129, .08);
}

#info .agenda_scroll::-webkit-scrollbar {
    width: 8px;
}
#info .agenda_scroll::-webkit-scrollbar-track {
    background: rgba(20, 76, 129, .08);
    border-radius: 4px;
}
#info .agenda_scroll::-webkit-scrollbar-thumb {
    background: rgba(184, 24, 103, .70);
    border-radius: 4px;
}
#info .agenda_scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(184, 24, 103, 1);
}

@media screen and (max-width: 1023px) {
    #info .agenda_bloc {
        height: 400px;
        max-height: 400px;
    }
}
