@import url('https://fonts.googleapis.com/css?family=Oswald:400,300');
@import url('https://fonts.googleapis.com/css?family=Raleway:400,500,600');

body, html{
	width: 100%;
	height: 100%;
	margin: 0;
}
body {
	background-color:#e8d3b9;
}

img {
	max-width: 100%;
	height: auto;
	border: none;
}

sup {
	vertical-align: super;
	font-size: 75%;
	line-height: 70%;
	text-transform:none;
}

#top{
	position:fixed;
	bottom:40px;
	right:40px;
	font-size: 3em;
	color:#a8bf70;
	text-decoration:none;
	-webkit-transition:all .4s ease;
	transition:all .4s ease;
	display:none;
	cursor:pointer;
	animation-name: clignote;
	animation-duration: 4s;
	animation-iteration-count:infinite;
	z-index:1000;
}
#top:hover{
	color:#a8bf70;
}
@keyframes clignote {
0%{color: white;}
50%{color: #a8bf70;}
100%{color: white;}
}

span.globart {
	position:fixed;
	bottom:260px;
	right:-80px;
	height:14px;
	display:block;
	font:400 8px Verdana, Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	color:black;
	letter-spacing:1px;
	transform:rotate(-90deg);
	z-index:1000;
}
span.globart img {
	width:auto;
	height:90%;
}

.base-adresse, .footer span.baseline-resp, .rubriques h1, #menu-container, .slider-resp, #actu-resp {
	display:none;
	visibility:hidden;
}

/* fin des généralités générales *****************************************************/

header {
	position:fixed;
	display:inline-block;
	top:0px;
	width:100%;
	height:200px;
	background:url(images/pano_jaulgonne.jpg) center center no-repeat;
	background-size:cover;
	box-shadow:0 3px 6px rgba(0,0,0,0.7);
	z-index:1000;
}

header span.descriptif {
	position:absolute;
	display:inline-block;
	bottom:.8em;
	right:5%;
	font:300 2.2vw 'Raleway', sans-serif;
	color:white;
	text-align:right;
	line-height:2.2vw;
	text-shadow:1px 1px 2px black;
	z-index:100;
}
header span.descriptif small {
	display:inline-block;
	font-size:1.4vw;
	margin-top:1vw;
	line-height:1.7vw;
}
header span.titre-site {
	position:absolute;
	display:inline-block;
	top:0;
	left:5%;
	font:300 5vw 'Raleway', sans-serif;
	color:white;
	letter-spacing:2px;
	text-align:left;
	line-height:3.5vw;
	text-shadow:2px 2px 0px black;
	z-index:100;
}
header span.titre-site small {
	font-size:2vw;
	letter-spacing:1px;
}
header span.logo {
	position:absolute;
	bottom:1em;
	width:10%;
	left:45%;
	text-align:center;
	z-index:100;
}
header span.logo img {
	width:50%;
	margin:0 auto;
}

.demarches {
	position:fixed;
	top:200px;
	left:0px;
	display:block;
	background:#656E4F;
	width:18%;
	/*padding:10px 0 0 0;*/
	color:white;
	z-index:900;
}

.demarches h4 {
	display:block;
	height:59px;
	font:400 16px 'Oswald', sans-serif;
	line-height:71px;
	margin:0 0 9px 10%;
	/*padding-bottom:10px;*/
	border-bottom:1px solid #A8BF70;
}
.demarches a span.item-2 {
	position:relative;
	color:#cce68c;
	text-decoration:none;
	display:inline-block;
	width:100%;
	height:20px;
	margin:0 0 0 10%;
	font:400 1vw 'Raleway', sans-serif;
	line-height:1vw;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.demarches a span.item-2:last-child {
	margin-bottom:0px;
}
.demarches a:hover span.item-2, .demarches a.on span.item-2 {
	color:white;
}
.demarches a span.item-2 span.deco2 {
	overflow:hidden;
	opacity:0;
	width:8px;
	height:8px;
	background:#A8BF70;
	display:inline-block;
	position:absolute;
	bottom:9px;
	left:-30px;
	border-radius:4px;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.demarches a:hover span.item-2 span.deco2, .demarches a.on span.item-2 span.deco2 {
	opacity:1;
	left:-14px;
	background:white;
}

.demarches span.contacts {
	display:inline-block;
	background:white;
	font:11px Arial, Helvetica, sans-serif;
	color:#444;
	padding: 10px 5% 10px 10%;
	width: 85%;
	margin: 15px 0 0 0;
}

/* fin menu démarches responsive ***************************************/

.menu {
	position:fixed;
	display:inline-block;
	width:77%;
	height:60px;
    line-height: 60px;
	top:200px;
	right:0px;
	background:#a8bf70;
	padding:0 5% 0 0;
	text-align:right;
	z-index:900;
}

.menu a span.item-menu {
	display:inline-block;
	position:relative;
	padding:0 15px;
	text-align:center;
	font:400 16px 'Oswald', sans-serif;
	color:#444;
	height: 60px;
    line-height: 60px;
	text-decoration:none;
	background:#a8bf70;
    margin-left: 5px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.menu a:hover span.item-menu, .menu a.on span.item-menu {
	background:#656E4F;
	color:white;
}

.menu a span.item-menu span.deco {
	overflow: hidden;
	opacity:0;
	position:absolute;
	bottom:-18px;
	left:50%;
    transform: translateX(-50%);
	background:#e8d3b9;
	display:inline-block;
	width:34px;
	height:17px;
	border-radius:17px 17px 0 0;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.menu a:hover span.item-menu span.deco, .menu a.on span.item-menu span.deco {
	opacity:1;
	bottom:-2px;
}

/* bigfoot ! ****************************************/
.footer {
	display:inline-block;
	width:100%;
	padding:20px 0;
	background:#656E4F;
	margin-top:30px;
	text-align:left;
}
.footer span.colonne {
	display:inline-block;
	vertical-align:top;
	width:14%;
	padding:0 0 0 1%;
	margin:0 0 0 25px;
	text-align:left;
	border-left:1px dotted white;
	color:white;
	font-family:'Raleway', sans-serif;
	font-size:1vw;
	line-height:1.3vw;
}
.footer span.colonne p {
	margin:.5em 0;
}
.footer span.colonne p a {
	color:#cce68c;
	text-decoration:none;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.footer span.colonne p a:hover, .footer span.colonne p a.on {
	color:white;
}
.footer span.baseline {
	display:inline-block;
	vertical-align:middle;
	padding:0 0 0 1%;
	margin:0 0 0 30px;
	border-left:1px solid #A8BF70;
	color:#cce68c;
	font:400 9px Verdana, sans-serif;
	line-height:13px;
	text-align:center;
}
.footer span.baseline span.base-txt a, .footer span.baseline-resp span.base-txt a {
	color:#cce68c;
	text-decoration:none;
	border-bottom:1px solid white;
	padding-bottom:1px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.footer span.baseline span.base-txt a:hover, .footer span.baseline-resp span.base-txt a:hover, .footer span.baseline span.base-txt a.on, .footer span.baseline-resp span.base-txt a.on {
	color:white;
}
.footer span.baseline p.social {
	margin:4px 0;
	font-size:2vw;
	text-align:center;
}
.footer span.baseline p.social a, .footer span.baseline-resp p.social a {
	color:white;
	opacity:0.5;
	text-decoration:none;
	margin:0 4px 8px 4px;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.footer span.baseline p.social a:hover, .footer span.baseline-resp p.social a:hover {
	opacity:1;
}

/* fin des inamovibles ******************************************************************/

/* contenus *****************************************************************************/
.contenu {
	position:absolute;
	top:290px;
	/*right:5%;*/
	width:100%;
	display:inline-block;
	font-family:'Raleway', sans-serif;
	color:black;
	z-index:800;
}

.rubriques {
	display:inline-block;
	width:75%;
	margin:0 5% 0 20%;
	text-align:right;
}
.articles {
	display:inline-block;
	width:75%;
	margin:0 5% 0 20%;
}

.contenu span.titre-contenu {
	display:inline-flex;
	flex-direction: column;
	vertical-align: top;
	width:25%;
	margin:0 0 2em 6.2%;
	padding-right:1%;
	text-align:left;
	border-right:1px solid #656E4F;
}

.contenu span.titre-contenu h2 {
	font-size:1.4vw;
	font-weight:600;
	color:#656E4F;
	margin:0;
	height:40px;
	position:relative;
}

.contenu span.titre-contenu h2 span.decoh2 i.fa {
	position:absolute;
	font-size:1.4vw;
	color:#656E4F;
	top:-40px;
	left:-30px;
	opacity:0;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.contenu span.titre-contenu:hover h2 span.decoh2 i.fa {
	position:absolute;
	top:2px;
	opacity:1;
}

.contenu span.titre-contenu span.lien-contenu {
	display:block;
	font-size:1.2vw;
	margin:0 0 .5em 0;
	line-height:1.4vw;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.contenu span.titre-contenu span.lien-contenu a {
	color:#444;
	text-decoration:none;
}
.contenu span.titre-contenu span.lien-contenu a:hover {
	color:black;
}

.menu a i.fa {
    display: inline-block;
    padding: 0 15px;
	font-size:1.6vw;
	color:#444;
	text-decoration:none;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.menu a:hover i.fa {
	color:#656E4F;
}

/* articles ************************************************/
.ariane {
	display:inline-block;
	width:94%;
	padding-left:6%;
	font:400 1.2vw Arial, Helvetica, sans-serif;
	color:#444;
	margin-bottom:1em;
}
.ariane p {
	margin:0;
}
.ariane a {
	color:#656e4f;
	text-decoration:none;
	border-bottom:1px solid #656e4f;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.ariane a:hover {
	color:black;
}
.ariane strong {
	font-family:'Raleway', sans-serif;
	color:#656E4F;
}

.connexes {
	float:right;
	width:20%;
	background:white;
	margin:1em 0 1em 15px;
}
.connexes p {
	font-family:'Oswald', sans-serif;
	font-weight:400;
	font-size:1.2vw;
	color:#444;
	line-height:1.2vw;
	text-align:center;
	border-bottom:1px solid #E8D3B9;
	/*margin:.5em 0;*/
	margin:0 0 .5em 0;
	padding:.5em 0;
	background:#A8BF70;
	display:inline-block;
	width:100%;
}
.connexes span.lien-connexe a {
	color:#656e4f;
	text-decoration:none;
	display:inline-block;
	width:90%;
	margin:0 5% .6em 5%;
	font:500 1vw 'Raleway', sans-serif;
	line-height:1.2vw;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.connexes span.lien-connexe a:hover {
	color:black;
}

.texte {
	width:94%;
	padding-left:6%;
	font-size:1.2vw;
	line-height:1.5vw;
	color:black;
}
.texte a, .news a {
	color:#656E4F;
	text-decoration:none;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.texte a:hover, .news a:hover {
	color:black;
}
.texte span.spip_documents_center, .news span.spip_documents_center {
	display:inline-block;
	text-align:center;
	width:80%;
	margin:1em 10%;
}

.txt-pdf {
    font-size: .9em;
}

/* actus **************************************/
.news {
	width:94%;
	padding:0 0 1em 6%;
	font-size:1.2vw;
	line-height:1.5vw;
	color:black;
	margin:20px 0;
	border-bottom:1px dotted #444;
}
.news h4 {
	font-size:1.8vw;
	color:#656E4F;
	margin:0 0 .5em 0;
}

.news h6 {
    margin: 0 0 0;
    color: #000;
}

/* documents type pdf ******************************************/
.documents {
	display:inline-block;
	width:76%;
	margin:1em 0;
    vertical-align: middle;
	}
.documents a span.pdf {
	float:left;
	display:block;
	text-align:center;
	text-decoration:none;
	width:16%;
	height:120px;
	padding:10px 1.5%;
	margin: 0 1% 15px 0;
	background:rgba(255,255,255,0.6);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.documents a:hover span.pdf {
	background:white;
}
.documents a span.pdf i.fa {
	font-size:3vw;
}
.documents a span.pdf h5 {
	font-size:.9vw;
	line-height:1.1vw;
	margin:1em 0 0 0;
}

/* les tableaux **********************************************************************/
table.spip {
	width:76%;
	text-align:center;
	background:rgba(255,255,255,0.6);
	/*margin:0 10%;*/
}
table.spip tr.row_first {
	font-weight:600;
	color:white;
}
table.spip tr.row_first th {
	padding:3px 0;
	background:#656E4F;
	margin:0 2px 4px 2px;
}
table.spip tr.row_odd td, table.spip tr.row_even td {
	font-weight: 400;
	font-size:95%;
	padding:3px 0;
	background:#c5e082;
	margin:0 2px 4px 2px;
}


/* carrousel *************************************************************************/

.rubriques span.titre-news {
	font:400 2vw 'Oswald', sans-serif;
	color:#656E4F;
	margin:0 0 0 3%;
	background:white;
	padding:0 20px .2em 20px;
	text-align:left;
}

a .actu-grid {
	display: block;
	background-color: #fff;
	padding: 15px;
	text-align: center;
	height: 95%;
	transition: .2s linear;
}
a:hover .actu-grid {
	background-color: rgba(255,255,255,0.5);
}
a .serie {
	/*background:white;*/
	/*padding:15px 0;*/
	font-family:'Raleway', sans-serif;
	color:#444;
	text-decoration:none;
	transition: all 0.3s ease-in-out;
}
a .bloc-txt {
	/*position:relative;
	margin:1em 0 0 0;*/
}
a .titre-actu {
	display: inline-block;
	width: 100%;
	font-size: 1.6vw;
	font-weight: 500;
	color: #656E4F;
	margin: .5em 0 1em 0;
	/*border-bottom: 1px dotted #656E4F;*/
}
a .actu-grid .chapeau {
	display: inline-block;
	font-size: 1.2vw;
	color: #000;
	/*text-align:justify;*/
}
a .actu-grid img.spip_logos {
	display: inline-block;
	width: 100%;
	margin-bottom: 1em;
	transition: all 0.3s ease-in-out;
}
a:hover .actu-grid img.spip_logos {
	background:#E8D3B9;
}
/*#owl-demo a .serie span.suite {
	opacity:.2;
	position:absolute;
	left:51%;
	bottom:10px;
	font-size:4vw;
	color:#A8BF70;
	z-index:200;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#owl-demo a:hover .serie span.suite {
	opacity:1;
}*/


/* formulaire de contact */
input.form {
	display:inline-block;
	width:98%;
	font:400 90% Arial, Helvetica, sans-serif;
	color:#000;
	padding:5px 0 5px 2%;
	margin-top:.5em;
	border:1px solid black;
	-webkit-border-radius: .2em;
	-moz-border-radius: .2em;
	border-radius: .2em;
}
textarea.form {
	display:inline-block;
	width:90%;
	font:400 11px Arial, Helvetica, sans-serif;
	color:#000;
	background:#fff;
	padding:10px 5%;
	border:1px solid black;
	-webkit-border-radius: .2em;
	-moz-border-radius: .2em;
	border-radius: .2em;
}
input.ok {
	font:400 18px Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	color:#cce68c;
	background:#656E4F;
	padding:4px 10px;
	margin-top:.5em;
	border:1px solid #999;
	border:1px solid black;
	-webkit-border-radius: .2em;
	-moz-border-radius: .2em;
	border-radius: .2em;
	-webkit-transition:all 0.4s ease-in-out;
	-moz-transition:all 0.4s ease-in-out;
	-o-transition:all 0.4s ease-in-out;
	-ms-transition:all 0.4s ease-in-out;
	transition:all 0.4s ease-in-out;
	cursor:pointer;
}
input.ok:hover {
	color:white;
}
tr.contact td {
	background:rgba(255,255,255,0.6);
	padding:8px;
}

/* widjet ********************/
.synbird-widget {
	background-color: #fff;
}


/* soyons responsive, n'ayons l'air de rien ******************************************************************/
@media (max-width: 1096px) {
	
	.demarches h4 {
	font:400 14px 'Oswald', sans-serif;
	line-height:71px;
	}
	.demarches a span.item-2 {
	height:16px;
	}
	.demarches a span.item-2 span.deco2 {
	bottom:6px;
	}
	.demarches span.contacts {
	font:10px Arial, Helvetica, sans-serif;
	line-height:12px;
	}
	
	.footer {
	width:95%;
	margin-top:50px;
	padding-left: 5%;
	}
	
	.footer span.colonne {
	display:inline-block;
	vertical-align:top;
	width:31%;
	padding:0 0 0 1%;
	margin:0;
	font-size:13px;
	line-height:16px;
	}
	
	.footer span.baseline {
	display:none;
	visibility:hidden;
	}
	.footer span.baseline-resp {
	display:inline-block;
	visibility:visible;
	width:95%;
	margin:20px 5% 0 0;
	border-top:1px solid white;
	padding-top:20px;
	font:9px Verdana, sans-serif;
	color:white;
	line-height:13px;
	text-align:center;
	}
	.footer span.baseline-resp p.social {
	margin:0 4px 10px 4px;
	font-size:3vw;
	}
	
	.documents a span.pdf {
	width:20%;
	height:90px;
	}
	
}

@media (max-width: 1000px) {
	
	#owl-demo {
		display: none;
		visibility: hidden;
	}
    #actu-resp {
        display: block;
        visibility: visible;
        width: 100%;
        margin-top: -11em;
    }
    .rubriques, .articles {
        width:75%;
        margin:0 5% 0 20%;
        text-align:right;
    }

@media (max-width: 850px) {
	
	header {
	height:140px;
	}
	
	#menu-container {
		display:block;
		visibility:visible;
		position:fixed;
		top:140px;
		left:0px;
	}
	
	.menu, .demarches, span.globart {
	display:none;
	visibility:hidden;
	}
	
	.rubriques span.titre-news {
	display:inline-block;
	width:100%;
	font:400 2vw 'Oswald', sans-serif;
	color:#656E4F;
	margin:2em auto 0 auto;
	background:white;
	padding:.2em 0;
    text-align:center;
	}
	
	.contenu {
	width:90%;
	margin:0 5%;
	top:180px;
	}
	.rubriques, .articles {
	width:100%;
	margin:0;
	}
	.ariane {
	width:100%;
	margin:0 0 1em 0;
	padding:0;
	font-size:15px;
	line-height:19px;
	text-align:center;
	}
    
    .connexes {
	width:30%;
    }
    .connexes p {
	font-size:1.8vw;
    }
    .connexes span.lien-connexe a {
	font:500 1.6vw 'Raleway', sans-serif;
        line-height: 1.3;
    }
	
	.texte, .news {
	font-size: 15px;
	line-height: 19px;
	padding: 0;
	width: 100%;
	}
    .news h4 {
        font-size: 1.2em;
    }
	
	.base-adresse {
	display:inline-flex;
	visibility:visible;
	vertical-align:top;
	width:100%;
	padding:15px 0;
	margin:20px 0 0 0;
	background:#A8BF70;
	font-size:11px;
	line-height:14px;
	color:black;
	}
	.base-adresse span.col {
	display:inline-block;
	width:40%;
	margin:0 4.75%;
	}
	.base-adresse span.separe {
	display:inline-block;
	width:.5%;
	background:#656E4F;
	height:35px;
	}
	
	/* sommaire de rubrique *********************************************/
	.rubriques h1 {
		display:inline-block;
		visibility:visible;
		width:100%;
		text-align:center;
		font:400 2.5vw 'Oswald', sans-serif;
		color:#656E4F;
		margin:0 0 2em 0;
	}
	.contenu span.titre-contenu {
	display:inline-flex;
	flex-direction: column;
	vertical-align: top;
	width:28%;
	margin:0 0 2em 4%;
	padding:0 1% 0 0;
	text-align:left;
	border-right:1px solid #656E4F;
	}
	.contenu span.titre-contenu h2 {
	font-size:2vw;
	height:auto;
	line-height:2.4vw;
	margin-bottom:.5em;
	}
	.contenu span.titre-contenu h2 span.decoh2 i.fa {
	font-size:2vw;
	left:-20px;
	}
	.contenu span.titre-contenu:hover h2 span.decoh2 i.fa {
	position:absolute;
	top:2px;
	opacity:1;
	}
	.contenu span.titre-contenu span.lien-contenu {
	font-size:1.6vw;
	line-height:1.9vw;
	}
	
	#top{
	right:10px;
	}
	
	.footer {
	width:95%;
	margin:0;
	padding-left: 5%;
	}
	
	.footer span.colonne {
	display:inline-block;
	vertical-align:top;
	width:31%;
	padding:0 0 0 1%;
	margin:0;
	font-size:13px;
	line-height:16px;
	}
	
	.footer span.baseline {
	display:none;
	visibility:hidden;
	}
	.footer span.baseline-resp {
	display:inline-block;
	visibility:visible;
	width:95%;
	margin:20px 5% 0 0;
	border-top:1px solid white;
	padding-top:20px;
	font:9px Verdana, sans-serif;
	color:white;
	line-height:13px;
	text-align:center;
	}
	.footer span.baseline-resp p.social {
	margin:0 4px 10px 4px;
	font-size:3vw;
	}
	
}

@media (max-width: 600px) {
	
	header span.descriptif {
	font:300 2.6vw 'Raleway', sans-serif;
	line-height:2.7vw;
	}
	header span.descriptif small {
	font-size:2vw;
	line-height:2.3vw;
	}
	header span.titre-site {
	font:300 7vw 'Raleway', sans-serif;
	line-height:5.8vw;
	text-shadow:1px 1px 0px black;
	}
	header span.titre-site small {
	font-size:3.5vw;
	}
	header span.logo {
	width:20%;
	left:40%;
	bottom:.8em;
	}
	/*header span.logo img {
	width:50%;
	margin:0 auto;
	}*/

/* sommaire de rubrique *********************************************/
	.rubriques h1 {
	font:400 18px 'Oswald', sans-serif;
	}
	
	.contenu span.titre-contenu {
	width:95%;
	margin:0 0 2em 4%;
	padding:0 1% 0 0;
	text-align:left;
	border-right:1px solid #656E4F;
	}
	.contenu span.titre-contenu h2 {
	font-size:16px;
	line-height:19px;
	}
	.contenu span.titre-contenu h2 span.decoh2 i.fa {
	font-size:16px;
	}
	.contenu span.titre-contenu span.lien-contenu {
	font-size:14px;
	line-height:17px;
	}
	
}
