/* ----------------------------- */
/* ==Base (basic styles)         */
/* ----------------------------- */
/* switching to border-box model for all elements */
html {
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

html {
  /* set base font-size to equiv "10px", which is adapted to rem unit */
  font-size: 62.5%;
  /* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
  /* thanks to @guardian, @victorbritopro and @eQRoeil */
  font-size: calc(1em * 0.625);
}

body {
	font-size: 1.5rem;
	background-color: #fff;
	color: #000;
	font-family: 'metropolisregular';
    letter-spacing: -0.01rem;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	background-color: #adff2f;
}

a {
	color: #4d5c34;
	text-decoration: none;
}

 a:hover, a:focus, a:active {
    color: #ff7f50;
}

ul, ol {
	padding-left: 0.8em;
	list-style: disclosure-closed;
}

blockquote,figure {
	margin-left: 0;
	margin-right: 0;
}

/* font-sizing for content */
ul,ol,dl,blockquote,pre,td,th,label,textarea,caption,details,figure {
  margin-top: 0.75em;
  margin-bottom: 0;
  line-height: 1.5;
}

ul,ol {
	padding-left: 0.8em;
	list-style: disclosure-closed;
}

li {
    padding-left: 0em;
	list-style-image: url("images/fleche-arrondie-2.svg");
	line-height: 1.4em;
	padding-bottom: 0.8em;
}

h1 {
  font-size: 3.2rem;
  font-family: sans-serif;
}

h2 {
  font-size: 2.8rem;
  font-family: sans-serif;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
  color: #2f4f4f;
  font-family: 'metropolisregular','sans-serif';
}

h5 {
  font-size: 1.8rem;
}

h6 {
  font-size: 1.6rem;
}

p {
	margin-top: 0.75em;
    margin-bottom: 1em;
    line-height: 1.7em;
}


code, pre, samp, kbd {
  /* IE fix */
  white-space: pre-line;
  white-space: pre-wrap;
  font-family: consolas, courier, monospace;
  line-height: normal;
}

em, address, cite, i, var {
	font-style: italic;
}

/* avoid top margins on first content element */
p:first-child, ul:first-child, ol:first-child, dl:first-child, blockquote:first-child, pre:first-child, h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
	margin-top: 0;
}

/* avoid margins on nested elements */
li p, li ul, li ol {
  margin-top: 0;
  margin-bottom: 0;
}

/* max values */
img, table, td, blockquote, code, pre, textarea, input, video, svg {
	max-width: 100%;
}

img {
	vertical-align: middle;
	box-shadow: 0px 0px 10px rgba(100, 100, 100, 0.2);
	padding: 5px;
	height: auto;
}

strong {
  color: #365E51;
  font-family: 'metropolisregular';
  font-weight: bold;
}

table {
    border-collapse: collapse;
	width: 100%;
}

  
/* ----------------------------- */
/*#layout
/* ----------------------------- */

#layout {
	max-width: inherit;
}

#layout_head {
	background-color: #adff2f;
}

#layout_head_content {
	max-width: 1000px;
	margin: auto;
	height: 194px;
}

#layout_body {
	background-color: #2e8b57;
}

#layout_body_center {
	background-color: #fff;
	padding: 6rem 8rem 0;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.28);
    z-index: 1;
    border-color: #fff;
}

@media (min-width: 1001px) {
	
	#layout_body {
		display: grid;
		grid-template-columns: 1fr 1000px 1fr;
		min-height: calc(100vh - 194px); 
	}
	
	#layout_body_left {
		height: 548px;
		background-color: #adff2f;
		background-image: url("images/fond.png");
		background-position: right top;
		background-repeat: repeat-x;
	}
	
	#layout_body_right {
		height: 548px;
		background-color: #adff2f;
		background-image: url("images/fond.png");
		background-position: left top;
		background-repeat: repeat-x;
	}
}

@media ((min-width: 640px) and (max-width: 800px)) { 
	
	#layout_body_center {
		padding: 3rem 4rem;
	}

}

@media screen and (max-width: 639px){
	
	#layout_body_center {
		padding: 1.5rem 4rem;
	}
	
	#layout_head_content {
		height: auto;
		position: relative;
	}

}


/* ----------------------------- */
/* .evenement-
/* ----------------------------- */

.evenement-Date {
	color: #203636;
    text-transform: capitalize;
}

.evenement-Details {
    background-color: #fbfdf8e8;
}

.evenement-Summary {
    padding: 1rem;
    background-color: #eef4e5e8;
    font-family: 'metropolislight';
    color: #203636;
    font-size: 1.7rem;
	box-shadow: 0px 2px 2px rgba(97, 138, 115, 0.23);
}

.evenement-Summary:hover {
	cursor: pointer;
}

.evenement-Table td {
    border: 1px solid #cbddafe8;
    vertical-align: inherit;
    padding: 1rem;
}

.evenement-Total {
    display: inline-block;
    margin-left: 1rem;
    font-size: 1.2rem;
    color: #203636;
}

/* ----------------------------- */
/* .sommaire-
/* ----------------------------- */

.sommaire-Details {
	background-color: #eef4e5e8;
	margin: 3.5rem auto;
}

.sommaire-Summary:hover {
	cursor: pointer;
}

.sommaire-Summary {
    padding: 1rem;
    font-family: 'metropolismedium';
    color: #203636;
    font-size: 1.7rem;
	list-style: none;
}

.sommaire-Summary::-webkit-details-marker {
  display: none;
}

.sommaire-Summary::after {
	content: " ⏵";
	/*content: " ⯈";
	content: " ▶";*/
	font-family: sans-serif;
}

.sommaire-Details[open] .sommaire-Summary::after {
	content: " ⏷";
	/*content: " ⯆";
	content: " ▼";*/
	font-family: sans-serif;
}

.sommaire-Liste {
	column-count: 3;
	padding-bottom: 2rem;
	font-size: 0.8em;
}

.sommaire-Liste li {
	list-style: none;
	padding-bottom: 3px;
	padding-top: 3px;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #cbddafe8;
	break-inside: avoid;
	line-height: 1.8;
}

/* ----------------------------- */
/* .footer-
/* ----------------------------- */

.footer-Container {
	margin-top: 60px;
	padding-bottom: 20px;
	text-align: center;
}

.footer-Link, .footer-Link:visited, .footer-Link:focus, .footer-Link:hover {
	color: #2f4f4f;
	display: inline-block;
}

.footer-Link:hover {
	border-bottom: 2px dotted #2f4f4f;
}

.footer-List {
	margin: auto;
	list-style: none;
	display: inline-flex;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #2f4f4f;
	padding-right: 20px;
	padding-top: 5px;
	padding-left: 20px;
}

.footer-List li {
	list-style: none;
	padding-left: 10px;
	padding-right: 10px;;
	margin: 0;
}

/* ----------------------------- */
/* .header-
/* ----------------------------- */

.header-Active a {
	text-decoration: inherit;
    border-bottom: 2px dotted #2f4f4f;
}

.header-Banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 16px;
}

.header-Logo {
	width: 210px;
	text-align: center;
}

.header-Logo a {
	width: 100px;
	display: inline-block;
	height: 105px;
	background-image: url("images/logo.png");
	background-repeat: no-repeat;
	background-position:
}

.header-Menu {
	text-align: center;
	margin: 0;
	padding: 0;
}

.header-Menu li {
	display: inline-block;
	padding-right: 8px;
	padding-left: 8px;
	font-weight: bold;
}

.header-Menu a {
	color: #2f4f4f;
}

.header-Menu a:hover {
    color: #2f4f4f;
	border-bottom: 2px dotted #2f4f4f;
}

.header-Nav {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #2f4f4f;
	padding-top: 10px;
}

.header-Phone {
	display: none;
}

.header-Slogan {
	color: #2f4f4f;
	font-weight: bold;
	font-size: 0.9em;
	text-align: right;
	width: 210px;
	padding-right: 10px;
}

.header-Slogan p {
	font-weight: normal;
    font-family: metropolismedium;
	line-height: 1.5em;
	display: inline-block;
	text-align: left;
}

.header-Titre {
	width: 380px;
	display: block;
	height: 100px;
	background-image: url("images/titre.png");
	background-repeat: no-repeat;
}


@media (max-width: 299px) {
	
	.header-Slogan {
		display: none;
	}
}

@media (max-width: 639px) {
	
	.header-Banner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-top: 0;
		padding-bottom: 0;
		justify-content: start;
}
	
	.header-Burger {
        width: 40px;
        display: block;
        position: absolute;
        top: 35px;
        right: 20px;
        box-sizing: border-box;
        border-color: #fff;
        padding-left: 4px;
        padding-top: 1px;
		list-style: none;
    }
    
    .header-Burger::-webkit-details-marker {
		display: none;
	}
	
	.header-Burger span {
        display: block;
        margin-top: 6px;
        width: 40px;
        height: 4px;
        background-color: #2f4f4f;
    }
    
    .header-Burger:hover {
		cursor: pointer;
	}
	
	.header-Logo {
		width: 110px;
	}
	
	.header-Menu {
		display: none;
	}
	
	.header-Phone {
		display: block;
		margin-top: 0;
	}
	
	.header-PhoneMenu {
		margin: 0;
		padding: 0;
	}
	
	.header-PhoneMenu li {
		text-align: center;
		padding-top: 5px;
		padding-bottom: 5px;
		padding-right: 0;
		padding-left: 0;
		margin: 0;
		list-style: none;
	}
	
	.header-PhoneMenu li:last-child {
		padding-bottom: 15px;
	}
	
	.header-Titre {
		display: none;
	}
	
	.header-Slogan {
		width: 130px;
	}
	
	.header-Nav {
		padding-top: 0;
	}
	
	.sommaire-Liste {
		column-count: 1;
	}
	
}


@media ((min-width: 640px) and (max-width: 800px)) { 
	
	.header-Slogan, .header-Logo {
		width: 130px;
	}

}


/* ----------------------------- */
/* .lef-
/* ----------------------------- */

.lef-Avertissement {
    padding: 2rem;
    background-color: #ecffe3;
	border: 1px solid #c2e8b0;
    margin: 2rem auto;
}


/* ----------------------------- */
/* .main-
/* ----------------------------- */

.main-Title {
	color: #2f4f4f;
	padding-top: 25px;
	font-size: 4.0rem;
	font-family: 'metropolismedium', 'sans-serif';
	line-height: 1.1em;
}

/* ----------------------------- */
/* Surcharge spip
/* ----------------------------- */

h3.spip {
	padding-bottom: 1px;
	margin: 3.5rem auto 01rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: darkslategray;
	font-family: 'metropolismedium','sans-serif';
}

h4.spip {
    margin-bottom: inherit;
}

a.spip_out, a.spip_in, a.spip_mail{
    color: #365E51;
    border-bottom: 1px dotted #365E51;
}

a.spip_in.cboxElement {
    border-bottom: inherit;
}

ul.spip, ol.spip {
    margin-left: 10px;
}

.spip_documents.spip_documents_center {
    margin-top: 2em;
}
.spip_code {
    border: 1px solid #66cdaa;
    background-color: rgba(236, 236, 234, 0.5);
    color: #203636;
    box-shadow: inset 3px 0px 5px rgba(166, 166, 166, 0.5);
    padding: 1rem;
}
