html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing:border-box;
}
strong {font-weight: bold;}
body, html {
	width:100%;
	background:#FFF;
}
html, input, select, textarea {
	font-family: "Montserrat", serif;
	color:#4c4d4f;
	font-size:1em;
	line-height: 1.4em;
	font-weight: 300;
}
    

a:focus { 
	outline:0;  /* Enlève le pointille sur les liens (notamment visible sur les supports mobiles*/
}

div#global {
	position:relative;
	height:100%;
	background:#FFF /*url("../img/public/contenu_fond_bg.png") no-repeat bottom right*/;
}
.general_content {
	width:92%;
	max-width:1600px;
	padding:0;
	margin:0 auto;
	/*display:table;*/ /* enlever le 05/10/2023 car cela genait la gestion du overflow-x pour les tableaux (table dans le contenu) trop large*/
	/*display: inline-table;*/
	position:relative;
}



.font_imperial{
	font-family: "Imperial Script", serif;
}
.font_montserrat{
	font-family: 'Montserrat', serif;
}


/* HEADER */



div#header_cadre {position:relative; z-index:99; width:100%; min-height:115px;margin:0; padding:0; top:0; display:table; background:#fff; border-bottom:2px solid var(--cg_bleufonce);}



div#header_top {position:relative; width:100%; margin:0; padding:8px 0; display:table; background: url(../img/public/bg_gris_carre.png) repeat;}
div#header_top_content {position:relative;display:table;max-width:1400px;}

div#header_logo {position:relative; margin:0; padding:0; overflow:hidden;}

div#header_logo img { width:auto; max-width:100%;}

div#header_logo_left {float:left;width:383px;}
div#header_logo_right {float:right;width:calc(100% - 393px);padding:25px 0 0 10px;text-align: right; font-size:1.6em; color:var(--cg_bleufonce);}

div#header_logo_left img {width:100%; max-width:383px;}


header {position:relative; display:table; padding:10px 0;margin:0; width:100%; background:var(--cg_bleufonce);}


div#header_content {position:relative;width:100%;margin:0 auto;}

div#header_left {display:none;}

div#header_right {position:relative;width:100%;}



/* MENU */

div#header_nav{width:100%; margin:0; padding:0;}
div#header_nav_content {width:100%;}


div#menu_cadre {
	position:relative;
	width:auto;
	margin:0 auto;
	max-width: 1160px;
}

div#menu{
	position:relative;
	width:100%;
	margin:0 auto;
	font-family: 'Lato', sans-serif;
}

/* aspect menu au scroll */
/*
.header_scroll div#header_cadre {min-height:90px;}
.header_scroll div#header_logo {display:block;width:450px;}
.header_scroll header {padding:5px 0 25px 0; width:calc(100% - 500px);}

.header_scroll div#header_logo_left img {max-width:105px;}
.header_scroll div#header_logo_right {padding:25px 0 0 0;}
.header_scroll div#header_logo_right img {max-width:100px;}
*/

div#header_cadre.header_scroll {
  position: fixed;
  top: 0;
  /*padding: 10px 0 11px 0;*/
}


/* MENU RESPONSIVE */


div#header_responsive {display:none;position:relative;float:right;width:130px;}

#menu_responsive {font-size:1em; font-weight:300;}

/*
.header_scroll .menu_item_name {color: var(--cg_bleufonce);}
.header_scroll .menu_item_picto a.picto_menu_r::before, .header_scroll .menu_item_picto a.picto_menu_r::after, .header_scroll .menu_item_picto a.picto_menu_r span { background:var(--cg_bleufonce);}
*/

#header_coord_r {
	padding:0 10px 15px 20px;
	margin:15px 0 0 0;
}

#header_coord_r p { padding:5px 0 5px 40px;margin:5px 0;width: 100%;}
#header_coord_r p.header_coord_nom {padding:5px 0 5px 0;}
#header_coord_r a { color:inherit; text-decoration:none;}

.menu_list_r .mm-navbar.menu_r_titre {
	padding:0 10px !important;
	border-bottom-style:none;
}
.menu_list_r li.niveau1 {font-size:0.9em;padding:5px 0 5px 0;color:#243746;}
#menu_responsive li.niveau2, #menu_responsive li.niveau3, #menu_responsive li.niveau4 {font-size:0.9em;padding:10px 0;}
.menu_list_r li.niveau1:hover, .mm-listview li:hover {background:#e4e3e3;}

#header_social_r:hover, #header_coord_r:hover {background:none;}


.menu_avec_picto {position:relative;width:100%;overflow:hidden; padding:10px 0 10px 50px;}

p.header_coord_adresse {font-size:0.9em;
	background:url(../img/public/footer_adresse.png) left center no-repeat;
	background-size:26px;color:#243746;
}
p.header_coord_tel {font-size:0.9em;
	background:url(../img/public/footer_tel.png) left center no-repeat;
	background-size:26px;color:#243746;
}
p.header_coord_mobile {font-size:0.9em;
	background:url(../img/public/footer_tel.png) left center no-repeat;
	background-size:26px;color:#243746;
}
p.header_coord_mail {font-size:0.9em;
	background:url(../img/public/footer_email.png) left center no-repeat;
	background-size:26px;color:#243746;
}

#header_social_r {
	overflow:hidden;
	padding:0 10px 15px 20px;
	margin:15px 0;
}

div#header_social {
	position:relative;
	float:right;
}
p.header_social_img {
	float:left;
	width:26px;
	height:26px;
	margin: 0 14px 0 0;
	padding:0;
}
p.header_social_img img {	
	filter: grayscale(1);
	-webkit-filter: grayscale(1); /* Safari 6.0 - 9.0 */
	-moz-filter: grayscale(1);
    -o-filter: grayscale(1);
    -ms-filter: grayscale(1);
}
p.header_social_img img:hover {
	filter: grayscale(0);
	-webkit-filter: grayscale(0); /* Safari 6.0 - 9.0 */
	-moz-filter: grayscale(0);
    -o-filter: grayscale(0);
    -ms-filter: grayscale(0);
}


/* MIDDLE */
div#middle {padding:0; overflow: hidden;}
div#middle_content {
	margin:0 auto;
	padding:0 0 0 0;
}
.contenu {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

div#page_context {position:relative; margin:20px auto; padding:30px 0; background:url(../img/public/context_title_background.jpg) center no-repeat;}
div#page_context a {text-decoration:none; color:inherit;}
.context_title {color:#023247; font-size:1.4em; font-weight: bold; text-transform: uppercase; float:left; margin:4px 10px 0 0;}
div#page_context p.context_sstitle {color:#FFF; font-size:1.6em; font-weight: bold; text-transform: uppercase; float:left;}


.h1_cadre {position:relative;width:100%;padding:10px 0 20px 0;margin:0; text-transform:uppercase;}


/* FIL ARIANE */
.fil_ariane {position:relative;margin:0 auto; padding:8px 20px 5px 20px;font-size:0.9em;text-align:right;background:#ededed;}
.fil_ariane a {position:relative;width:100%; text-decoration: none; color:#1e1e1e;}
.fil_ariane a:hover { color:var(--cg_bleufonce);}
/*.ariane_actif {font-weight:bold;}*/
.ariane_classic {color:#1e1e1e;}
.ariane_sep {color:#1e1e1e;}
.ariane_menu_end {font-weight:bold;}

/* GOOGLE MAP */
div#map_titre {color:#FFF;font-size:1.4em;margin:15px auto;width:100%;text-align:center;}
div#map {
	position:relative;
	height:400px;
	width:100%;
	z-index:1;
}

div#gm_infobulle {
	width:200px;
	overflow:hidden;
	text-align:center;
}
.gm_nom {
	font-size:1.2em;
	margin:5px 0;
	font-weight:500;
}

/*div#gm_infobulle img { width:100%;}*/

.gm_tel {font-size:1.3em;font-weight:600;}


/* FOOTER */

footer {width:100%;padding:0;margin:0 auto; background:#231f20;}

div#footer_sitemap {padding:50px 0; color:#FFF; background:url(../img/public/footer_bg.webp) center right no-repeat;}

div#footer_top {position:relative; width:100%; padding:35px 0; margin:0 auto; background:var(--cg_bleu);}

div#footer_sitemap_content {display:grid;grid-template-columns:repeat(4, 1fr);grid-column-gap: 30px; grid-row-gap: 30px;}
.footer_sitemap_column {grid-column:span 2; font-size:1.1em; max-width:450px;}

.footer_sitemap_title { font-size:1.3em; font-weight:bold; text-transform: uppercase; margin:0 0 25px 0;}
.footer_sitemap_title:after {
    content: "";
    position: relative;
    width: 50%;
	max-width:100px;
	left:0;
	bottom:-7px;
	border-bottom:4px solid #FFF;
	transform: scaleX(1);  
  	transition: transform 150ms ease-in-out;
	display:table;
}

.footer_menu_niveau1 a {text-transform: uppercase; margin:0 0 6px 0;}
.footer_menu_niveau1 a:after {
    content: "";
    position: relative;
    width: 50%;
	left:0;
	height:2px;
	transform: scaleX(0);  
  	transition: transform 150ms ease-in-out;
	display:table;
	border-bottom:3px solid #FFF;
	
}
.footer_menu_niveau1 a:hover:after {transform: scaleX(1);} /* apparition du border à partir du milieu */


.footer_menu_item a {color:inherit; display:table; text-decoration:none;}

.footer_contact_info {margin:25px 0 0 0;}


div#footer_legal {width:100%; padding:10px 60px; margin:0;font-size: 0.9em;color:#FFF;}
div#footer_legal_link {position:relative;overflow: hidden; text-align: center;}
div#footer_legal_link a {color:#FFF; text-decoration:none;}


@media screen and (max-width : 1550px) {
	
}

@media screen and (max-width : 1300px) {
	div#header_logo_right { padding: 28px 0 0 10px; font-size: 1.4em;}
}
@media screen and (max-width : 1210px) {
	
	div#menu_cadre {max-width: 990px;}
	
	div#header_logo_right {padding: 13px 0 0 10px;font-size: 1.2em; line-height:1.2em;}
	
}
@media screen and (max-width : 1100px) {	
	
	div#footer_menu {padding:60px 0 0 0;}
	
}
@media screen and (max-width : 1000px) {
	
	div#header_logo_left { float:none; width:100%; text-align:center;}
	div#header_logo_right {display:none;}
	
	div#header_responsive {display:block;padding:0;}
	div#header_right {display:none;}	
	div#header_left {float: left;color:#FFF; font-size:1.2em; line-height:1.2em; padding:17px 20px 0 20px;display:block; width:calc(100% - 190px);}	
	header, .header_scroll header {padding: 5px 0 0 0;}
	
	
	
}
@media screen and (max-width : 959px) {	
	
	.footer_top_column {grid-column:span 3;}
	.footer_logo {grid-column:span 6;grid-column-gap: 30px; grid-row-gap: 30px;}
	.footer_logo_btn {grid-column:span 1;}
	.footer_logo img {grid-column:span 1;}
	
}
@media screen and (max-width : 900px) {	
	.footer_sitemap_column {grid-column:span 4;	}
	div#footer_legal_logo, div#footer_legal_link {float:none; margin:0 auto; width:100%;text-align: center;}
}


@media screen and (max-width : 810px) {	
	div#header_left {line-height:1.1em; padding:0 20px;}	
	
	.fil_ariane {padding: 5px 0; font-size:0.9em;}
}
@media screen and (max-width : 650px) {	
	.contenu {margin: 0 auto;}
	div#page_context {padding:20px 0;margin: 20px auto 0 auto; font-size:0.8em;}
	
}
@media screen and (max-width : 600px) {
}
@media screen and (max-width : 550px) {	
	.menu_item_name {display:none;}	
	div#header_responsive {width: 80px;}
	div#header_left {font-size:1.1em; padding:3px 20px 0 20px;width:calc(100% - 90px);}	
}
@media screen and (max-width : 500px) {		
	
	div#header_top_menu {position:relative; float:none;width:340px;margin:0 auto;}
	div#header_top_menu p {font-size:0.9em;}
	div#header_top_menu a { color:inherit; text-decoration:none; padding:15px 10px 15px 25px;}
	div#header_top_menu p.header_top_demarche a,
	div#header_top_menu p.header_top_agenda a,
	div#header_top_menu p.header_top_recherche a { background-size:20px;}
	
	.h1_cadre {text-align:center;}
	
	div#page_context {font-size:0.6em;}
	.context_title {margin: 2px 10px 0 0;}	
	
	div#footer_legal a {float:none;margin:10px auto;width: 100%;}
	
	.footer_logo_btn {grid-column:span 2;text-align: center;}
	.footer_logo img {grid-column:span 2;margin: 0 auto;}
	
	
	
	
}
@media screen and (max-width : 450px) {	
	footer {font-size:0.8em;}	
	div#header_left {font-size:1em; padding:5px 20px 0 20px;}	
}
@media screen and (max-width : 400px) {		
	div#header_top_menu {float:none;width:100%;margin: 0 auto;max-width: 290px;}
	div#header_top_menu p {font-size:0.7em;}
	
}

@media screen and (max-width : 380px) {	
	div#header_left {font-size:0.8em; padding:10px 20px 0 20px;}	
}