#spip-admin {
	/*display: none;*/
}
html, body {
	height: 100vh;
	margin: 0;
	padding: 0;
	font-size: 100%;
   scroll-behavior: smooth;
}


/*viewport en CSS*/
@-webkit-viewport { zoom: 1; width: device-width;}
@-moz-viewport { zoom: 1; width: device-width;}
@-ms-viewport { zoom: 1; width: device-width;}
@-o-viewport { zoom: 1; width: device-width;}
@viewport { zoom: 1; width: device-width;}
@font-face { font-family: 'angelina'; font-style: normal; font-weight: normal; src: url('font/angelina2-webfont.eot'); src: url('font/angelina2-webfont.eot?#iefix') format('embedded-opentype'), url('font/angelina2-webfont.woff2') format('woff2'), url('font/angelina2-webfont.woff') format('woff'), url('font/angelina2-webfont.ttf') format('truetype'), url('font/angelina2-webfont.svg#angelinaregular') format('svg');}
@font-face { font-family: 'poiret'; font-style: normal; font-weight: normal; src: url('font/PoiretOne-Regular.eot'); src: url('font/PoiretOne-Regular.eot?#iefix') format('embedded-opentype'), url('font/PoiretOne-Regular.woff2') format('woff2'), url('font/PoiretOne-Regular.woff') format('woff'), url('font/PoiretOne-Regular.ttf') format('truetype'), url('font/PoiretOne-Regular.svg#PoiretOneRegular') format('svg');}

a, a:hover { 
   color: #36342f;
	text-decoration: none;
}

a:hover { 
filter: brightness(50%);
	-webkit-filter: brightness(150%);
	-moz-filter: brightness(150%);
	-o-filter: brightness(150%);
	-ms-filter: brightness(150%);
}
.accueil {
	background-color: #011c35;
	background-repeat: no-repeat;
	height: 100vh;
	width: 100vw ;
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
	position: fixed;
	z-index: -1;
}

div.conteneur_haut > div {
	height: 100vh;
	text-align: center; 
	display: grid;
	grid-template-columns: 1fr;
	align-content: center;
}

.conteneur_haut {
	padding: 0;
	height: 100vh;
	overflow: hidden;
}

.conteneur_haut span {
	display: block;
	margin: 0 10%; 
}

.slogan {
	font-size: 5em;
	font-family: angelina,sans-serif;
	line-height: 1;
	color: black;
	text-shadow: 1px 1px 5px #fff;
}

.titre_site {
	font-size: 5em;
	color: #000;
	text-shadow: 2px 2px 6px #d5d5d5;
	font-family: poiret,sans-serif;
	line-height: 1;
}

#splash {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* height: calc(100% - 6em); */
	cursor: pointer;
	height: 100vh;
}

section, .edito {	padding: 3em 10%;	width: auto;}

.edito {
	height: 100vh;
	background-size: cover;
	box-sizing: border-box;
	margin-bottom: 2em;
	margin-top: calc(0px - 58px - 1em);
	font-size: 1.4em;
	display: grid;
  grid-template-columns: 1fr;
  align-content: center;
}

.edito > div {
	background-color: #EEE9;
	padding: 2em;
	
}
.afficher_suite {
	font-style: italic;
	font-weight: bold;
	text-align: right;
	display: block;
}
.item {
	background-color: #EEE9;
	padding: 2em 2em 5em 2em;
	min-height: calc(100vh - 58px - 1em - 6em);
	overflow: hidden;
	text-overflow: ellipsis; 
	box-sizing: border-box;
	border: 1px solid #aa9e93;
}
.item > div {
	clear: both;
}
#pied, #pied a {
	background-color: #1f1e1d;
	color: #e0dcdc;
	text-align: center;
}

#page .item {
	padding: 2em;
	margin-bottom: 5em;
	min-height: unset; 
}
#page > #pied {
	position: sticky;
	bottom: 0;
}
#page #fond {
	background-repeat: no-repeat;
	background-size: cover;
	height: 100%;
	width: 100%;
	z-index: -1;
	position: fixed;
}

.editer-groupe > div {
	display: grid;
}


h1 {
	font-size: 2em;
	font-variant: small-caps;
	border-bottom: 1px solid;
	border-image: linear-gradient(to right, #4c4743 10%, #EEE9 90%) 1;
	display: inline-block;
	font-weight: bold;
}

h2 {
	font-size: 1.6em;
	border-bottom: 1px solid;
	border-image: linear-gradient(to right, #4c4743 10%, #EEE9 90%) 1;
	font-weight: bold;
	
}

h3 {
	font-size: 1.2em;
	font-weight: bold;
	font-variant: small-caps;
}

h1, h2, h3, h4, h5 {clear: both;}

div.lire {
    font-style: italic;
    font-weight: bold;
    margin-top:1em;
    line-height: 2em;
}
.texte_rubrique{font-size: 1.2em;}

/*Gestion des images*/
#mediatheque {
	display: grid;
	text-align: left;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	
}
.un_media {
	display: inline-block;
	width: 150px;
	height: 150px;
	padding: 0.4em;
	margin: 1em;
	min-width: 0;
	min-height: 0;
	box-shadow: 5px 5px 10px #393834;
	border-bottom: 1px solid #66635d;
	border-right: 1px solid #66635d;
	background-color: #EEE;
}
/*.galerie h5 {
    margin: 0;
}*/
.galerie {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
}
.spip_doc_inner {	margin: 0;}
.spip_documents_left {float: left;}
.spip_documents_right {float: right;}
.spip_documents_center {margin: auto;}

/*Gestion du menu et des outils de navigation*/
#conteneur_bas {
	position: sticky;
	top: 0px;
	width: 100%;
/*	opacity: .99;*/
	text-align: center;
}

#menu_bar {

/*	min-width: calc(288px + 7em);*/
	text-align: left;
	background-image: unset;
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: contain;
}
.barre_menu {
	min-height: 3em;
	height: calc(48px + 13px + 1em);
}
.switch.menuder {
	width: 100%;
	background-color: #FFFA;
}
.menuder, .menuder ul {
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}

.menuder li, .menuder a {
	color: #131313;
	text-shadow: 1px 1px 5px #cac6b4;
}
.menuder li {
	display: inline-block;
	width: auto;
	position: relative;
	padding: 5px 10px;
	width: auto;
}
.menuitem > a::before {
	content: "";
	margin: 0 auto;
	background-image: url("img/sprite_sizun_2-min.svg");
	display: block;
	width: 48px;
	height: 48px;
}
#m1 > a::before {	background-position: 0 -48px;}
#m2 > a::before {	background-position: 0 -96px;}
#m3 > a::before {	background-position: 0 -144px;}
#m4 > a::before {	background-position: 0 -192px;}
#m5 > a::before {	background-position: 0 -240px;}
#m6 > a::before {	background-position: 0 -288px;}
#m7 > a::before {	background-position: 0 -336px;}
#m8 > a::before {	background-position: 0 -384px;}
#m9 > a::before {	background-position: 0 -432px;}

.fleche {
    width: 48px;
    height: 48px;
    display: block;
    transition: opacity 1s;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

.cacher_fleche {
opacity: 0;
}

.suivant {
	margin-top: calc(0px - 4em - 48px);
	margin-bottom: 6em;
}

.ancre {
	margin-top: calc(0px - 48px - 10px - 6em);
	margin-bottom: calc(48px + 10px + 6em);
}

.menuder li:hover > a::before {
	transform: none;
	opacity: 1;
}
.menuitem > a:hover::before {
	filter: brightness(50%);
	-webkit-filter: brightness(150%);
	-moz-filter: brightness(150%);
	-o-filter: brightness(150%);
	-ms-filter: brightness(150%);
}
.menuder a:hover {
	color: #dfcfa1;
}
#menu_bar > input {
	display: none;
	position: absolute;
	top: 0;
	left: -100px;
}
#menu_bar > label {
	background-image: url("img/sprite_sizun_2-min.svg");
	background-position: 0 -240px;
	z-index: 1;
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0 solid #333;
	outline: 0;
	background-color: transparent;
	-webkit-transition: -webkit-transform .2s;
	transition: transform .2s;
	cursor: pointer;
}

/* .menu { padding: 0.2em;}*/
 
 /* Theming opened nav */
/* handling clic with CSS3 checked */
#menu_bar > input:checked ~ ul {position:relative; -webkit-transform: translateX(0) translateZ(0); -ms-transform: translateX(0) translateZ(0); transform: translateX(0) translateZ(0);}
 /* Global styling nav button */
#menu_bar > label:hover { filter: brightness(50%); -webkit-filter: brightness(150%); -moz-filter: brightness(150%); -o-filter: brightness(150%); -ms-filter: brightness(150%);}
#menu_bar > input:checked + label { background-position: 0 -240px;-webkit-transform: rotate(90deg) translateZ(0); -ms-transform: rotate(90deg) translateZ(0); transform: rotate(90deg) translateZ(0);}
 /* Hide alternate text except from screen readers */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px);}


/*Navigation responsive*/
@media screen and (min-width:948px) and (max-width:1426px) { 
	.splash div.conteneur_bas { position:absolute; bottom:0;}
}
@media screen and (min-width:948px)  { 
	#menu_bar > label {left: -9000px;}
}
@media screen and (max-width: 947px) {
	h1 {font-size: 1.8em;}
	h2 {font-size: 1.5em;}
	h3 {font-size: 1.2em;}
	.conteneur_haut { font-size: 0.9em}
	#menu_bar > label {left: 0.5rem;}
/*	.edito {	margin-top: -48px;}*/
	.switch {
	padding-top: 60px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	border: none;
	-webkit-transition: -webkit-transform .3s cubic-bezier(.72,.89,.28,1.39);
	transition: transform .3s cubic-bezier(.72,.89,.28,1.39);
	-webkit-transform: translateX(-100%) translateY(0%) translateZ(0);
	-ms-transform: translateX(-100%) translateY(0%) translateZ(0);
	transform: translateX(-100%) translateY(0%) translateZ(0);
	will-change: transform;
	}
}

@media screen and (max-width: 640px) {
	.conteneur_haut { font-size: 0.7em}
	.edito {	height: auto;}
	.edito > div {	margin-top: 0;	padding: 2em;}
	h1 {font-size: 1.5em;}
	h2 {font-size: 1.3em;}
	h3 {font-size: 1.1em;}
}

/*Fonds de page responsive*/
@media screen and (max-width:720px) { 
		.accueil { background-image: url("img/fond_sommaire_0.jpg");}
		.edito { background-image: url("img/edito_0.jpg");}
		#page #fond { background-image: url(img/fond_page_0.jpg);}
		}
@media screen and (min-width:721px) and (max-width:1024px) { 
		.accueil { background-image: url("img/fond_sommaire_1.jpg");}
		.edito { background-image: url("img/edito_1.jpg");}
		#page #fond { background-image: url(img/fond_page_1.jpg);}
		}
		
@media screen and (min-width:1025px) and (max-width:1680px) { 
		.accueil { background-image: url("img/fond_sommaire_2.jpg");}
		.edito { background-image: url("img/edito_2.jpg");}
		#page #fond { background-image: url(img/fond_page_2.jpg);}
		}
		
@media screen and (min-width:1681px) and (max-width:2560px) { 
		.accueil { background-image: url("img/fond_sommaire_3.jpg");}
		.edito { background-image: url("img/edito_3.jpg");}
		#page #fond { background-image: url(img/fond_page_3.jpg);}
		}
		
@media screen and (min-width:2561px) and (max-width:3840px) { 
		.accueil { background-image: url("img/fond_sommaire_4.jpg");}
		.edito { background-image: url("img/edito_4.jpg");}
		#page #fond { background-image: url(img/fond_page_4.jpg);}
		}
		
@media screen and (min-width:3841px) { 
		.accueil { background-image: url("img/fond_sommaire_5.jpg");}
		.edito { background-image: url("img/edito_5.jpg");}
		#page #fond { background-image: url(img/fond_page_5.jpg);}
		}
