html { width: 100%; height: 100%; padding: 0; margin: 0; }
body { width: 100%; height: 100%; padding: 0; margin: 0 auto; font-size : 16px; 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: 16px; color: #000; }

#visio_form { width: 96%; margin: 0px auto 30px auto; display: block; }
#visio_form f input[type=text] { display: block; width: 96%; margin: 10px auto 5px auto; }
#visio_form f input[type=password] { display: block; width: 96%; margin: 10px auto 5px auto; }
#visio_form f input[type=submit] { display: block; width: 100%; margin: 10px auto; text-align: center; font-weight: bold; }
#visio_form f 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; }











#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; }

/* Cahier 4.0 — contenus intégrés dans le snapshot publié */
#article .texte img {
	max-width: 100%;
	height: auto;
}
#article .texte iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	margin: 20px 0;
	border: 0;
}
#article .texte a {
	overflow-wrap: anywhere;
}

/* ================================================================
   ETAPE 12 - Vignettes + visionneuse photo
   ================================================================ */
body.photo_gallery_opened { overflow: hidden; }

#article .bloc_image { height: 304px; }
#article .bloc_image img { display: block; width: 100%; height: 100%; margin: 0 !important; object-fit: cover; }
#article .bloc_image_titre { height: 304px; overflow: hidden; }
#article .bloc_image_vignettes { height: 304px; overflow: hidden; display: grid; }
#article .bloc_image_avec_titre .bloc_image_vignettes {
    width: 25%;
    float: left;
    grid-template-rows: repeat(var(--nb-vignettes, 1), minmax(0, 1fr));
    grid-template-columns: 1fr;
}
#article .bloc_image_sans_titre .bloc_image_vignettes_plein {
    width: 100%;
    grid-template-columns: repeat(var(--nb-vignettes, 1), minmax(0, 1fr));
    grid-template-rows: 1fr;
}
#article .bloc_image .ph_vignette {
    width: 100%;
    height: 100%;
    max-height: none;
    float: none;
    overflow: hidden;
    border: 0;
    box-sizing: border-box;
    position: relative;
}
#article .bloc_image_avec_titre .ph_vignette { border-bottom: 2px solid #fff; }
#article .bloc_image_avec_titre .ph_vignette:last-child { border-bottom: 0; }
#article .bloc_image_sans_titre .ph_vignette { border-right: 2px solid #fff; }
#article .bloc_image_sans_titre .ph_vignette:last-child { border-right: 0; }

#article .bloc_image .zoom_accomp {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: auto;
    right: calc(12.5% - 28px);
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    text-align: center;
    font: 400 46px/48px Arial, sans-serif;
    z-index: 20;
    color: #fff;
    background: rgba(0,0,0,.58);
    box-sizing: border-box;
}
#article .bloc_image_sans_titre .zoom_accomp { right: calc(50% - 28px); }
#article .bloc_image .zoom_accomp:hover,
#article .bloc_image .zoom_accomp:focus { background: rgba(0,0,0,.82); outline: 2px solid #fff; outline-offset: 2px; }

.photo_gallery { display: none; position: fixed; inset: 0; z-index: 10000; }
.photo_gallery.is-open { display: block; }
.photo_gallery_backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); }
.photo_gallery_panel { position: absolute; inset: 3vh 3vw; display: flex; align-items: center; justify-content: center; }
.photo_gallery_slides { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.photo_gallery_slide { display: none; margin: 0; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: column; }
.photo_gallery_slide.is-active { display: flex; }
#article .photo_gallery_slide img,
.photo_gallery_slide img { display: block; width: auto; height: auto; max-width: 88vw; max-height: 78vh; margin: 0 !important; object-fit: contain; }
.photo_gallery_slide figcaption { max-width: 88vw; margin-top: 12px; color: #fff; font-size: 16px; line-height: 22px; text-align: center; }
.photo_gallery_close,
.photo_gallery_prev,
.photo_gallery_next { position: absolute; z-index: 2; border: 0; color: #fff; background: rgba(0,0,0,.45); cursor: pointer; }
.photo_gallery_close { top: 0; right: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 38px; line-height: 44px; }
.photo_gallery_prev,
.photo_gallery_next { top: 50%; width: 52px; height: 72px; transform: translateY(-50%); font-size: 36px; }
.photo_gallery_prev { left: 0; }
.photo_gallery_next { right: 0; }
.photo_gallery:not(.has-multiple) .photo_gallery_prev,
.photo_gallery:not(.has-multiple) .photo_gallery_next { display: none; }
.photo_gallery_counter { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 7px 12px; border-radius: 16px; color: #fff; background: rgba(0,0,0,.55); font-size: 14px; }

@media (max-width: 767px) {
    #article .bloc_image { height: 240px; }
    #article .bloc_image_titre,
    #article .bloc_image_vignettes { height: 240px; }
    #article .bloc_image_titre { width: calc(70% - 2px); }
    #article .bloc_image_avec_titre .bloc_image_vignettes { width: 30%; }
    #article .bloc_image_avec_titre .zoom_accomp { right: calc(15% - 24px); }
    #article .bloc_image .zoom_accomp { width: 48px; height: 48px; font-size: 40px; line-height: 41px; }
    #article .bloc_image_sans_titre .zoom_accomp { right: calc(50% - 24px); }
    .photo_gallery_panel { inset: 2vh 2vw; }
    #article .photo_gallery_slide img,
    .photo_gallery_slide img { max-width: 94vw; max-height: 72vh; }
    .photo_gallery_prev, .photo_gallery_next { width: 44px; height: 64px; }
}
