/* css msforty */
@font-face {
	font-family: 'icomoon';
	src:url('../css/fonts/icomoon/icomoon.eot');
	src:url('../css/fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../css/fonts/icomoon/icomoon.woff') format('woff'),
		url('../css/fonts/icomoon/icomoon.ttf') format('truetype'),
		url('../css/fonts/icomoon/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}
:root{
	--palis :#2a2f4a;
	--Silver :#C0C0C0;
	--light : #ffffff;
	--Grey 	:#808080;
	--LightSteelBlue :#B0C4DE;
}

/* couleur palis : #2a2f4a / rgb(42,47,74) / rgba(42,47,74,1)
// couleur vert : #a0c832 / rgb(160,200,50) / rgba(160,200,50,1)
*/
.spip_out{
  padding-right: 14px;
  background: transparent url(data:image/gif;base64,R0lGODlhDAAMAIABAMS3l////yH5BAEAAAEALAAAAAAMAAwAAAIVjI+pywYPQYqQxUVVfZMHf4BgQyYFADs=) no-repeat scroll right center;
  /*color: #00ABBC;*/
}

#header .logo {
  padding: 0 0 0 1.5em;
}

/*----------------*/
#banner {background-image:none;}
#banner h1 {
	font-size: 1.75em;
}
#banner.major {
		max-height:30em;
	}

#banner .contenu p{
		width:50%;
		margin:auto auto;
		font-weight: 500;
}

#banner .contenu {
	background-color: var(--palis);
	position: absolute;
	top: 0;
	height: 172vh;
	max-height:30em;
	min-height:30em;
	width: 40%;
	text-align: center;
	padding-top:5em;
}
@media screen and (max-width: 736px){
	.ariane-conteneur{
		position:absolute;
		top:0;
		left:0;
		display:inline-flex;
		letter-spacing:0;
	}
	.ariane-conteneur.sommaire{
		position:relative;
		top:0;
		left:0;
		display:initial;
		width:0;
		height:0
	}
	#header nav {
		position: relative;
		top: 2.5em;
		right: 0.25em;
		background-color: var(--palis);
		justify-content: center;
	}
	#header nav.sommaire {
		position:absolute;
		top:0;
		right:0.25em;
	}
	#banner .contenu {width:100%;}
	#banner .contenu p{width:75%;}
	#banner .slideshowcss{width:0%;display:none;}
	#banner.major {
		max-height:30em;
		 min-height: 30em;
	}
}
/* skip link lien evitement & rapide */
#header nav a.skip_link{
	width:4em;
	overflow:hidden;
	border-radius:50% 50% 50% 50%;
}
#header nav a.skip_link:hover{
	background-color:var(--Grey);
	
}
#header nav a.skip_link i.icon{
	position:absolute;
	top:0.5em;
	left:0.5em;
	font-size:200%;
}
#header nav a.skip_link i.icon:hover{
	color:var(--LightSteelBlue);
}
/* fil ariane */
.ariane-conteneur{
		display:inline-flex;
}
.ariane{font-size:0.7em}
.page_sommaire #banner .spip_logo{
	float:none!important;
	margin: 1em auto;
}
#banner:after {
	transition: opacity 2.5s ease;
	transition-delay: 0.75s;
	pointer-events: none;
	background-color: var(--banner-after);
	content: '';
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.25;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}
#banner > .inner .content p {
	font-size: 1em;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}
html.page_sommaire>body>#wrapper>#banner > .inner .content {
	display: inline-block;
	height: 15em;
}
html.page_sommaire>body>#wrapper>#banner > .inner .content h2.news {
		position:absolute;
		bottom:0;
		width:100%;
		text-align:center;
		font-size:1em;
		text-transform: uppercase;
		color: #484f6c;
		text-shadow: 4px 4px 30px rgba(255,255,255,1),4px 4px 10px rgb(255,255,255),-4px -4px 10px rgb(255,255,255);
	}
html.page_sommaire > body > #wrapper > #banner.major > .inner > .mmajor > h1 > span, 
html.page_sommaire > body > #wrapper > #banner.major > .inner > .content > p {
	color: #ffffff;
		text-shadow: 4px 4px 30px rgba(42,47,74,1),4px 4px 10px rgb(42,47,74),-4px -4px 10px rgb(42,47,74);
}
header.major > p,
header.major > p.info_publi{
	font-size:0.8em;
}
/* article new update */
#news article {
	width:60%!important;
	display:flex;
}

#news article:nth-child(4n-2) { 
	width:40%!important;
	display:flex;
}
@media screen and (max-width: 980px){
	#news article {
	width:50%!important;
	}
	#news article:nth-child(4n-2) { 
	width:50%!important;
	}
}
@media screen and (max-width: 736px){
	#news article {
	width:100%!important;
	}
	#news article:nth-child(4n-2) { 
	width:100%!important;
	}
}
.skip_link span,
.js-modal span,
.link.primary span {
	position:absolute;
	top:-10000px;
}
.ribbon {
	position: absolute;
	right: -5px;
	top: -5px;
	z-index: 110;
	overflow: hidden;
	width: 150px;
	height: 150px;
	text-align: right;
}
.ribbon span {
	font-size: 1em;
	font-weight: bold;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	line-height: 25px;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	width: 150px;
	display: block;
	background: #79A70A;
	background: linear-gradient(#9bc90d 0%, #79a70a 100%);
	box-shadow: 0 3px 10px -5px #000000;
	position: absolute;
	top: 30px;
	right: -35px;
	padding: 0 0.5vw;
}
.ribbon span:hover{
	cursor:help;
}
.ribbon span::before {
	content: "";
	position: absolute;
	left: 0px;
	top: 100%;
	z-index: -1;
	border-left: 3px solid #79A70A;
	border-right: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-top: 3px solid #79A70A;
}
.ribbon span::after {
	content: "";
	position: absolute;
	right: 0px;
	top: 100%;
	z-index: -1;
	border-left: 3px solid transparent;
	border-right: 3px solid #79A70A;
	border-bottom: 3px solid transparent;
	border-top: 3px solid #79A70A;
}
#news.tiles article:nth-child(6n - 5):before {background-color:var(--tiles-6);}
#news.tiles article:nth-child(6n - 4):before {background-color:var(--tiles-5);}
#news.tiles article:nth-child(6n - 3):before {background-color:var(--tiles-4);}
#news.tiles article:nth-child(6n - 2):before {background-color:var(--tiles-3);}
#news.tiles article:nth-child(6n - 1):before {background-color:var(--tiles-2);}
#news.tiles article:nth-child(6n):before {background-color:var(--tiles-1);}
html.page_sommaire #main > * {
	border-top: none;
}
/* pagination */
html.page_article .pagination,
html.page_rubrique .pagination{
	padding: 0;
	margin: 0 auto;
}
html.page_sommaire .pagination{
	padding: 0;
	margin: 0 auto;
	position: relative;
	bottom: 2em;
	z-index: 4;
	height: 0;
}
.pagination .barre_pagination{
	height: 2em;
	display: inline-block;
	background-color: transparent;
}
@media screen and (max-width: 980px){
.pagination .barre_pagination{
	bottom: 1em; /* pour mobile */
	position: relative;
	}
}
.pagination> .barre_pagination .pages .nbpage>a,
.pagination> .barre_pagination .pages .nbpage>strong{
	display: inline-block;
	vertical-align: middle;
	width: 2em; /*pour desktop*/
	height: 2em;
	padding-top: 3px;
	border-radius: 50% 50% 50% 50%;
}
@media screen and (max-width: 980px){
.pagination> .barre_pagination .pages .nbpage>a,
.pagination> .barre_pagination .pages .nbpage>strong{
	width: 48px; /* pour mobile*/
	height: 48px;
	padding-top: 13px;
	font-size: 200%;
	}
}
html.page_article .pagination .barre_pagination .pages .nbpage>a,
html.page_rubrique .pagination .barre_pagination .pages .nbpage>a{
	color:var(--palis);
	font-weight:700;
	background-color:var(--light);
}
html.page_sommaire .pagination .barre_pagination .pages .nbpage>a{
	color:var(--light);
	font-weight:700;
	background-color:var(--palis);
}
.pagination .barre_pagination .pages .nbpage>a:hover{
	background-color:var(--Apricot)!important;
	color:var(--palis)!important;
}
.pagination> .barre_pagination .pages .nbpage>strong{
	background-color:var(--LightSteelBlue);
	cursor:not-allowed;
	color:#000000;
	font-weight:600;
	border:1px solid var(--Grey);
}
.pagination .disabled {
	cursor:not-allowed;
}

/* table des matieres */
#tdm ul{
	list-style: none;
}
/* retour haut page */
#linktotop, .linktotop{
	background-color:transparent;
	height:0;
	width:0;
	float:right;
}
.cd-top {
	display: inline-block;
	height: 48px;
	width: 48px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	border-radius: 50%;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(51, 56, 86, 0.8) url(../css/img/arrow_top_grey48.png) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s, background-color 0.3s 0s;
	transition: opacity 0.3s 0s, visibility 0s 0.3s, background-color 0.3s 0s;
	z-index:10;
}
.cd-top.cd-top--show, 
.cd-top:hover {
	-webkit-transition: opacity 0.3s 0s, visibility 0s 0s, background-color 0.3s 0s;
	transition: opacity 0.3s 0s, visibility 0s 0s, background-color 0.3s 0s;
	opacity: 1;
	visibility: visible;
}
.cd-top:hover, a.cd-top:focus {
	background-color: rgba(30, 87, 153, 0.7)!important;
	opacity: 0.7;
}
@media only screen and (min-width: 1024px) {
	.cd-top {
		height: 48px;
		width: 48px;
		right: 12px;
		bottom: 20px;
		border-radius: 50%;
	}
}
@media only screen and (min-width: 768px) {
	.cd-top {
		right: 12px;
		bottom: 20px;
		border-radius: 50%;
	}
}
@media(max-width:768px){
	#linktotop,
	.linktotop,
	.cd-top{
		display:none;
	}
}
.spip_logo{
	margin:0!important;
}
/* plan site */
ul.plan{
	list-style:none;
}
ul.plan > li > ul.plan {
	list-style: square;
}
strong.plan_subrub {
	font-weight: 900;
}
span.plan_titre {
	font-weight:500;
}
span.plan_intro,
span.plan_date{
	font-size:medium;
	font-style:italic;
}
/* cvt */
form#cvt-contact fieldset legend {
	margin-left:42%;
	color: #ffffff;
	display: block;
	font-size: 0.8em;
	font-weight: 800;
	letter-spacing: 0.5em;
	text-transform: uppercase;
}
input[type="text"], 
input[type="password"], 
input[type="email"], 
input[type="tel"], 
input[type="search"], 
input[type="url"], 
select, 
textarea {
	/*-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;*/
	appearance: none;
	background: rgba(212, 212, 255, 0.2);
	border: none;
	border-radius: 0;
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 1em;
	text-decoration: none;
	width: 100%;
}
input[type="search"] {
	margin-right: 0.5em;
}
p.bouton {
	display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}
p.bouton input{
	 -webkit-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    align-self: auto;
}
form#cvt-contact span.erreur{
	color:#ff0000;
}
form#cvt p.formulaire_ok {
	color:#9bf1ff;
	font-weight:700;
}
/* center iframe dans texte*/
div.texte>iframe{
	display:block;
	margin:0 auto;
}

/*----------*/
/* footer 2 */
.spliter,
#footer .spliter {
	/*display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;*/
	display: flex;
	/*-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;*/
	flex-wrap: wrap;
	border-top: 0 !important;
}
#footer .spliter article {
	/*-moz-align-items: center;
	-webkit-align-items: center;
	-ms-align-items: center;*/
	align-items: center;
	padding: 1em 1em 1em 1em;
	height: 40vh;
	max-height: 40em;
	min-height: 12em;
	overflow: hidden;
	position: relative;
	width: 25%;
	text-align:center;
}
#footer .spliter article:nth-child(4n-1),
#footer .spliter article:nth-child(4n-2) {
	width: 25%;
}
#footer .spliter article.nav{
	padding:1em 0;
}
#footer .spliter article h2{
	font-size:1.25em;
	margin:0;
}
#footer .spliter #logo_cccd{
	padding-top:1.5em;
}
#footer .spliter #logo_cccd a{
	border-bottom:0;
}
#footer .spliter #logo_cccd .spip_logo{
	float:none!important;
	margin:0 auto;
	padding:0;
}
@media screen and (max-width: 1280px) {
	#footer .spliter article {
		padding: 4em 3em 2em 3em ;
		height: 30vh;
		max-height: 30em;
		min-height: 20em;
	}
}
@media screen and (max-width: 980px) {
	#footer .spliter article {
		width: 50% !important;
		height: 15em;
		max-height: 15em;
		min-height: 15em;
	}
}
@media screen and (max-width: 736px) {
	#footer .spliter article {
		padding: 1em 1.5em 0 1.5em ;
		height: 12em;
		max-height: none;
		min-height: 0;
	}
	#footer .spliter #info_accueil {
		padding: 1em 1.5em 0 1.5em ;
		height: 8em;
	}
	#footer .spliter #logo_cccd {
		padding: 1em 1.5em 0 1.5em ;
		height: 11em;
	}
	#footer .spliter article h3 {
		font-size: 1.5em;
	}
}
@media screen and (max-width: 480px) {
	#footer .spliter {
		display: block;
	}
	#footer .spliter article {
		height: 20em;
		width: 100% !important;
		height: 15em;
	}
}
/*------------*/
/* last section */
#formulaire_recherche *{
	display:inherit;
}
#formulaire_recherche{
	display:block!important;
}
#formulaire_recherche form{
	margin:0 0 1em 0;
}
#formulaire_recherche form label {
	letter-spacing:normal;
	text-transform:none;
	padding:0;
	margin:0;
	text-align:center;
	font-size:1.25em;
	}
#formulaire_recherche form .inputs{
	/*display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;*/
	display: flex;
	background:rgba(212, 212, 255, 0.2);
	margin:0 1em;
}
#formulaire_recherche form .inputs input[id="recherche"],
#formulaire_recherche form .inputs input[type="submit"]{
	
}
#formulaire_recherche form .inputs input[id="recherche"]{
	background:transparent;
	margin:0;
	padding:0 0.5em;
}
#formulaire_recherche form .inputs input[type="submit"]{
	/*-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;*/
	appearance: none;
	z-index: 0;
	box-shadow:none;
	background: rgba(212, 212, 255, 0.2);
}
#formulaire_recherche form .inputs span{width:0;}
#formulaire_recherche form .inputs span::after {
	display: block;
	font-family: 'icomoon';
	content: "\e000";
	color: navy;
	font-weight: 700;
	font-size: 1.9em;
	height: 1.5em;
	width: 1.5em;
	background: rgba(212, 212, 255, 0.2);
	position: relative;
	padding: 0 0.25em;
}
#formulaire_recherche form .inputs #recherche:focus {box-shadow:none;}
#formulaire_recherche form .btnsubmit:hover {background-color:rgba(255,255,255,0.3)!important;}
/* footer copy */
#footer .copyright {
	text-align:center;
	font-size:100%;
}
#footer .copyright .menu-liste .invisible{
	display:block;
	width: 0;
	margin: 0;
	padding: 0;
}
#footer .copyright  .menu-liste{
	list-style: none;
}
#footer .copyright .menu-liste .menu-entree{
	display:inline;
	 color:#ffffff;
	 border-left:none;
}
#footer .copyright .menu-liste .menu-entree .menu-items__lien{
	border-bottom:none;
}
#footer .copyright .menu-liste .menu-entree.copy{
	 border-left:1px dotted var(--light);
}
/* mediabox */
.lity-close, .lity-close:hover, .lity-close:active, .lity-close:focus {
  top: 80px;
  right: 2px;
}
/*---------------*/
/* page rubrique */
html.page_rubrique #banner:after{
	content:'';
	background-color:var(--Blue-Bell);
	opacity:0.8;
}
/* pages article */
html.page_article .descriptif,
html.page_article .chapo,
html.page_article .texte {
	position:relative;
	top:2em;
	width:75%;
	margin:0 auto;
}
#main > * > .inner {
	padding:1em;
}
.small{font-size:80%;}
.small_italic{font-size:80%;font-style:italic;}
/* fichier lien inline */
.spip_fichier_inline.fichier_inline_left{
	float:left;
}
.spip_fichier_inline.fichier_inline_right{
	float:right;
}
.spip_fichier_inline.fichier_inline{
	display:inline;
}
.nettoyeur {
	clear:both;
}
/*-------------------*/
/* login */
input[type="checkbox"]:checked + label::before,
input[type="radio"]:checked + label::before {
	background: #ffffff;
	border-color: #9bf1ff;
	content: url('../css/img/check-palis.svg')!important;
	color: var(--palis);
	padding:0.25em;
}/* carte gis */
.carte_gis strong{
	color:var(--palis);
}
.leaflet-top, .leaflet-bottom {
	z-index: 999!important;
}
/* formidable */
#formulaire_formidable_contact .editer.pleine_largeur.editer_explication.explication_explication_1.saisie_explication .explication button{
	margin-left: 2em;
	height: 2em;
	padding: 0.5em;
	box-shadow: none;
	background-color: grey;
	border-radius: 5px 5px 5px 5px;
	font-size: calc((14/16) * 1rem);
	line-height: 0;
}
.spip-admin-bloc,
.spip-admin-float { z-index: 1000; position: fixed; right: 50%; bottom: 0; white-space: nowrap; }
@media print {
	.logo_site_spip,
	.slidershowcss,
	.ariane-conteneur.article .ariane,
	#header nav.article,
	html.page_article span.image.main,
	#footer,
	#nav {
    display: none !important;
  }
	header#header {
		z-index:0;
		display:block;
		position:relative;
		left:0;
	}
	.ariane-conteneur.article .logo {
		position:relative;
		left:0;
	}
	
}