/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500&family=Roboto:wght@400;600&display=swap');

@font-face {
	font-family: 'nexaregular';
	src: url('nexa-webfont.woff2') format('woff2'),
		url('nexa-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'nexabold';
	src: url('nexabold-webfont.woff2') format('woff2'),
		url('nexabold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'nexabook';
	src: url('nexabook-webfont.woff2') format('woff2'),
		url('nexabook-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;

}

*:focus {
	outline: none !important
}

* {
	padding: 0;
	margin: 0;
}

html,
body {
	height: 100%;
}

body {
	width: 100vw;
	height: 100%;
	min-height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: #000;
	background-color: #EEF0D5;
	text-align: center;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	border: none;
	vertical-align: bottom;
}

a {
	text-decoration: none;
}

sup.typo_exposants {
	vertical-align: text-top;
	font-size: .8em;
}

ul.spip li {
	list-style: disc;
	margin-left: 2em;
}

hr {
	display: block;
	clear: both;
	height: 3px;
	width: 100%;
	margin: 2em 0;
	padding: 0;
	color: #BCCF00;
	background-color: #BCCF00;
	border: none;
}

#top {
	position: fixed;
	bottom: 10vh;
	right: 0;
	width: 50px;
	height: 50px;
	font-size: 40px;
	background-color: #8e9b01;
	color: #fff;
	text-align: center;
	text-decoration: none;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
	display: none;
	line-height: 50px;
	cursor: pointer;
	z-index: 1000;
}

#top:hover {
	background-color: #444;
}

/* cache-cache ************************/
.home-resp,
.anim-resp,
.resp-perm,
.home-smart,
#menu-wrapper #hamburger-menu,
.social-base,
.carct-resp {
	display: none;
	visibility: hidden;
	opacity: 0;
}

/* généralités terminées *************/

.tools {
	position: fixed;
	top: 99px;
	right: 0;
	width: 150px;
	height: 300px;
	z-index: 500;
	animation-delay: 1.5s;
	animation-duration: 1.5s;
}

.test {
	display: none;
}

header {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	width: 100%;
	height: 95px;
	top: 0;
	left: 0;
	background-color: #fff;
	text-align: center;
	z-index: 200;
	animation-duration: 1.5s;
}

.logo {
	margin-top: 5px;
	animation-delay: .5s;
	animation-duration: 1s;
}

.logo img {
	width: auto;
	height: 75px;
}

.logo img.logo-2 {
	animation-delay: .5s;
	animation-duration: 1.5s;
}

nav {
	position: fixed;
	display: inline-block;
	width: 100%;
	height: 25px;
	top: 94px;
	left: 0;
	text-align: left;
	font-family: 'Barlow Condensed';
	font-size: 1.5em;
	font-weight: 400;
	background-color: #5B6001;
	border-top: 4px solid #BCCF00;
	padding: 15px 5%;
	z-index: 300;
	animation-delay: 1s;
}

.cbp-tm-menu,
.cbp-tm-menu ul {
	list-style: none;
}

.cbp-tm-menu {
	display: flex;
	align-items: center;
	position: absolute;
	z-index: 1000;
	top: 0;
	height: 100%;
	width: 100%;
	margin: 0;
}

.cbp-tm-menu>li {
	display: inline-block;
	margin: 0 1em 0 0;
	position: relative;
	z-index: 1100;
}

.cbp-tm-menu>li>a {
	line-height: 1;
	padding: 1em 0.3em;
	display: block;
	color: #fff;
}

.no-touch .cbp-tm-menu>li>a:hover,
.no-touch .cbp-tm-menu>li>a:active,
.no-touch .cbp-tm-menu>li>a.on {
	color: #fff;
}

.cbp-tm-submenu {
	position: absolute;
	display: inline-block;
	visibility: hidden;
	top: 63px;
	left: -30px;
	opacity: 0;
	padding: 10px 15px 15px;
	background-color: #5B6001;
	color: #fff;
	border-top: 2px solid #3f4200;
	font-size: .8em;
	text-align: left;
	pointer-events: none;
	-webkit-transition: visibility 0s, opacity 0s;
	-moz-transition: visibility 0s, opacity 0s;
	transition: visibility 0s, opacity 0s;
	z-index: 800;
}

.cbp-tm-submenu a {
	color: #fff;
	transition: .2s ease;
	line-height: 1.1;
	font-family: 'nexaregular';
}

.cbp-tm-submenu a:hover,
.cbp-tm-submenu a.on {
	color: #BCCF00;
}

.cbp-tm-submenu span.sep-menu {
	width: 100%;
	display: inline-block;
	background-color: #ddd;
	height: 1px;
	margin: -10px 0 5px;
}

.cbp-tm-show .cbp-tm-submenu {
	width: 12em;
	left: 0;
	/*margin: 0 0 0 -8em;*/
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	-webkit-transition: visibility 0s, opacity 0.3s;
	-moz-transition: visibility 0s, opacity 0.3s;
	transition: visibility 0s, opacity 0.3s;
}

.cbp-tm-nospace-right .cbp-tm-submenu {
	right: 0;
	left: auto;
}

.cbp-tm-nospace-left .cbp-tm-submenu {
	left: 0;
}

/* last menu item has to fit on the screen */
.cbp-tm-menu>li:last-child .cbp-tm-submenu {
	right: 0;
}

main {
	/* position: relative; */
	/* z-index: 1000; */
	display: inline-block;
	margin-top: 95px;
	width: 100%;
	flex: 1;
	animation-delay: 1.5s;
	animation-duration: 1.5s;
}

.anim {
	display: block;
	width: 100%;
}

.cycle-slideshow img {
	width: 100% !important;
}

/******************************* fin header *********************/

.content {
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 1rem;
	display: grid;
	width: auto;
	margin: 40px 180px 40px 80px;
	animation-delay: 2s;
	animation-duration: 1.5s;
}

.grid_1 {
	grid-area: 1 / 1 / 2 / 4;
}

.grid_2 {
	grid-area: 1 / 4 / 2 / 6;
}

.grid_3 {
	grid-area: 2 / 2 / 3 / 5;
}

.content .accueil h2 {
	font-family: 'nexabold';
	font-weight: normal !important;
	margin: 0 !important;
	color: #fff;
	background-color: #5B6001;
	text-align: left;
	padding: 15px 30px;
}

.content .accueil h2 strong,
.demarches h2 strong {
	color: #EEF0D5;
	font-weight: normal !important;
}

.content .accueil h4 {
	margin: 0 !important;
	font-weight: 400;
	color: #444;
	font-size: 1em;
	text-align: justify;
	background-color: #fff;
	padding: 20px 30px;
}

.demarches,
.map {
	background-color: #fff;
}

.map {
	padding: 10px;
}

.demarches h2 {
	font-family: 'nexabold';
	font-weight: normal !important;
	margin: 0 !important;
	color: #fff;
	background-color: #5B6001;
	padding: 15px 30px;
	text-align: left;
}

.demarches h4 {
	font-weight: 400;
	color: #444;
	padding: 20px 30px;
	text-align: left;
}

.titre-menu {
	font-size: 1.2em;
	font-weight: 500;
}

.demarches a {
	display: inline-block;
	width: 100%;
	color: #8e9b01;
	transition: .25s;
}

.demarches a:hover {
	color: #000;
}

/* actus *****************/
.actus {
	display: inline-block;
	position: relative;
	width: auto;
	height: 100%;
	margin: 0 !important;
    font-family: 'Roboto';
    background-color: #fff;
	z-index: 1;
	animation-delay: 3s;
	animation-duration: 1.5s;
}

.actus .cycle-slideshow {
	display: inline-block;
	position: relative;
	width: 100%;
	height: 100%;
}

.news img.spip_logo {
	width: 70% !important;
	height: auto;
}

.cycle-prev {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	font-size: 3em;
	opacity: .8;
	color: #000;
	cursor: pointer;
	z-index: 500;
	transition: .25s ease;
}

.cycle-next {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-size: 3em;
	opacity: .8;
	color: #000;
	cursor: pointer;
	z-index: 500;
	transition: .25s ease;
}

.cycle-prev:hover,
.cycle-next:hover {
	opacity: 1;
}

.cycle-slide,
.cycle-slide-active,
.cycle-sentinel {
	width: 100% !important;
}

.news {
	background-color: #fff;
	color: #000;
	/* padding: 30px 0; */
	transition: .3s ease;
}

.news:hover {
	background-color: rgba(255, 255, 255, 0.8);
}

.contenu {
    display: block;
    width: 70% !important;
	padding: 20px 0 0;
    margin: 0 15%;
	font: 400 .9vw 'Roboto';
	color: #000;
	text-align: justify;
}

.contenu h4 {
	font: 600 1vw 'Roboto';
	color: #434810;
	text-align: left;
	margin: 0 0 .5em;
	transition: .3s ease;
}

.contenu p {
	margin: 0 !important;
}

#progress {
	position: absolute;
	bottom: 0;
	height: 6px;
	width: 0px;
	background-color: #C99115;
	z-index: 1000;
	transition: .25s ease;
}

.cycle-slideshow:hover #progress {
	background-color: #8A902B;
}

/* fin actus ************************************/


footer {
	display: inline-block;
	width: 90%;
	padding: 20px 5%;
	background-color: rgba(255, 255, 255, .6);
	position: relative;
	margin: auto;
}

footer p {
	margin: 1em 0 0;
}

#c4 {
    float: left;
    width: 110px;
}

span.c4 img {
	width: 80px;
}

.link-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.rappel {
	color: #000;
	font: 400 16px Arial, Helvetica;
	line-height: 1.4;
}

.rappel a.f-menu {
	font-family: 'Barlow Condensed';
	font-size: 1.3em;
	font-weight: 400;
	background-color: #5B6001;
	color: #fff;
	padding: 4px 10px;
	margin: 0 4px 1em;
	border-radius: .2em;
	transition: .25s ease;
}

.rappel a.f-menu:hover,
.rappel a.f-menu.on {
	background-color: #000;
}

.rappel h2.spip {
	font-size: .9em;
	font-weight: 400;
}

.rappel h2.spip a,
.rappel small a {
	color: #8e9b01;
	transition: .25s ease;
}

.rappel h2.spip a:hover,
.rappel small a:hover {
	color: #333;
}

.rappel small {
	font: 400 11px Verdana, Tahoma, sans-serif;
	letter-spacing: 1px;
}


/* intérieur ***********************************/
.cont-int {
	display: block;
	width: auto;
	margin: 80px 180px 40px 80px;
	font-family: 'Roboto';
	font-weight: 400;
	animation-duration: 1.5s;
}

.cont-int h2 {
	margin: 0 0 20px;
	font-weight: 400;
	font-size: 1.4em;
	text-align: left;
}

.cont-int h2 a {
	font-size: .85em;
	color: #5B6001;
	transition: .25s ease;
}

.cont-int h2 a:hover {
	color: #000;
}

.cont-int h2 a.bigup {
	font-size: 1.1em;
}

.arts {
	display: inline-block;
	width: 100%;
	margin: 20px 0 0;
	text-align: left;
}

.arts h4 {
	margin: 0 0 10px;
	font-family: 'Barlow Condensed';
	font-weight: 500;
	font-size: 1.5em;
}

.txt a {
	color: #5B6001;
	transition: .25s ease;
}

.txt a:hover {
	color: #000;
}

.txt p {
	margin: 1em 0 0;
}

a .item-portfolio {
	background-color: rgba(255, 255, 255, 0.7);
	padding: 10px;
	text-align: center;
	border-radius: .25em;
	transition: .3s ease;
}

a:hover .item-portfolio {
	background-color: #fff;
}

a .item-portfolio img {
	width: 100%;
	margin: 0 0 10px;
}

a .item-portfolio h6 {
	font: 400 12px Arial, Helvetica;
	color: #5B6001;
	margin: 0px;
	transition: .25s ease;
}

a:hover .item-portfolio h6 {
	color: #000;
}

.docs,
.imgs {
	display: inline-block;
	width: 100%;
	margin: 4em 0 2em;
}

a .pdfs {
	color: #000;
	background-color: #E6E2D6;
	padding: 10px;
	border-radius: .2em;
	text-align: center;
	border: 2px solid #fff;
	transition: .3s ease;
}

a .pdfs i {
	font-size: 40px;
	color: #666;
	transition: .3s ease;
}

a .pdfs h5 {
	font: 400 10px Verdana;
	color: #000;
	margin: 5px 0 0 0;
}

a:hover .pdfs {
	background-color: #fff;
	border: 2px solid #00529B;
}

a:hover .pdfs i {
	color: #00529B;
	transform: rotateY(-180deg);
	transform-origin: center;
}

a .pdfs img {
	width: 70%;
	text-align: center;
}

a .pdfs h5 {
	font: 500 1em 'Barlow Condensed';
	margin: .5em 0 0;
}

.imgs a div {
	text-align: center;
	padding: 15px;
	color: #000;
	font: 400 .85em Verdana;
	background-color: #fff;
	border: 1px solid #000;
	transition: .3s ease;
}

.imgs img {
	width: 100% !important;
}

.imgs a div:hover {
	background-color: #E6E2D6;
}

.footer {
	display: inline-block;
	width: 100%;
}

a .item-rub {
	background-color: #FFF;
	padding: 20px;
	margin-bottom: 15px;
	text-align: center;
	color: #5B6001;
	font: 500 1.5em 'Barlow Condensed';
	transition: .3s ease;
}

a:hover .item-rub {
	background-color: #5B6001;
	color: #fff;
}
a .item-rub .titre-item {
    display: inline-block;
    margin-top: 10px;
    width: 100%;
}

.imgs .item p {
	margin: 10px 0 0;
}

/* formulaire ************************************/
.formulaire_newsletter label {
	font: 500 1.4em 'Barlow Condensed';
	color: #000;
	margin-right: 1em;
}

.formulaire_newsletter input.email {
	border: 1px solid #00529B;
	padding: 4px 10px;
	background-color: #F1EDE3;
	color: #000;
	transition: .3s ease;
}

.formulaire_newsletter input.email:hover,
.formulaire_newsletter input.email:focus {
	background-color: #fff;
}

.formulaire_newsletter input.submit {
	margin-top: 20px;
	border: 0;
	padding: 4px 10px;
	background-color: #00529B;
	font: 500 1.4em 'Barlow Condensed';
	color: #fff;
	border-radius: .1em;
	transition: .3s ease;
	cursor: pointer;
}

.formulaire_newsletter input.submit:hover {
	background-color: #555;
}

/* tableaux */

table.spip {
	display: block;
	width: 100%;
	min-width: 100% !important;
	line-height: 1.25;
}
table.spip tr.row_odd {
	padding: 10px;
	background-color: rgba(255,255,255,0.5);
}
table.spip tr.row_even {
	padding: 10px;
	background-color: rgba(255,255,255,0.8);
}
table.spip tr.row_odd td, table.spip tr.row_even td {
	padding: 10px 15px;
}

/*********************************************************************** */

@media (max-width: 1116px) {

	main {
		margin-top: 67px;
	}

	.menu-main {
		display: flex;
	}

	.logo img {
		width: 57%;
		height: 60px;
	}

	header {
		height: 67px;
	}

	header nav {
		font-size: 1.33em;
		top: 67px;
	}

	.cbp-tm-submenu {
		top: 59px;
	}

	#meteo {
		display: none;
	}

	.content {
		margin: 40px 0 40px 80px;
	}

	.grid_3 {
		grid-area: 2 / 1 / 3 / 6;
	}

	.test {
		top: unset;
		bottom: 0;
		position: sticky;
		height: 0;
		left: 100%;
		z-index: 1500;
		animation-delay: .5s;
		animation-duration: 1.5s;
		width: 20%;
		padding: 2.5em 4em 0 1em;
		display: table-caption;
	}
}


@media (max-width: 850px) {

	#hamburger-menu {
		animation-delay: 1.5s;
		animation-duration: 1s;
	}

	.content {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		grid-gap: 0;
		grid-row-gap: 1em;
		margin: 1em;
	}

	.grid_1,
	.grid_2,
	.grid_3 {
		grid-area: initial;
	}

	.main-menu {
		display: block;
	}

	#test {
		display: none;
	}

	#meteo {
		display: none;
	}

	nav,
	.anim {
		display: none;
		visibility: hidden;
		opacity: 0;
	}

	#menu-wrapper #hamburger-menu {
		display: block;
		visibility: visible;
		opacity: 1;
	}

	a .logo {
		z-index: 10000 !important;
	}

	.anim-resp {
		display: block;
		visibility: visible;
		opacity: 1;
		width: 100%;
	}

	.item-actu {
		margin-bottom: 15px;
		font-size: 1.2em;
	}

}

@media (max-width: 680px) {

	#allmenu-footer {
		margin-top: 1em;
	}

}