/* --------------------------------- */
/* ---------- LES POLICES ---------- */
/* --------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');

@font-face {
    font-family: "Dinot";
    src: url("./../fonts/DINOT.woff") format("woff");
}

@font-face {
    font-family: "Dinot-Light";
    src: url("./../fonts/DINOT-Light.woff") format("woff");
}

@font-face {
    font-family: "Dinot-Medium";
    src: url("./../fonts/DINOT-Medium.woff") format("woff");
}

@font-face {
    font-family: "Dinot-Bold";
    src: url("./../fonts/DINOT-Bold.woff") format("woff");
}

@font-face {
    font-family: "Dinot-Black";
    src: url("./../fonts/DINOT-Black.woff") format("woff");
}

@media (min-width: 1150px) {
    .header+main, .header+section, .header+aside, .header+div {
        margin-top: 150px;
    }
}

/* --------------------------------- */
/* ------------ COULEURS ----------- */
/* --------------------------------- */
:root {
    --main-color: #005c91;
    --secondary-color: #BFA758;
    --text-btn-color: #005c91;
}

/* --------------------------------- */
/* ---------- UTILITAIRES ---------- */
/* --------------------------------- */
main {
    min-height: 50vh;
}

.affiche {
    display: block !important;
}

@media (min-width: 960px) {
    .affiche {
        display: none !important;
    }
}

.classic {
    max-width: 1000px;
    margin-bottom: 75px;
    padding: 0px 20px;
}

.classic-section, .classic-section--xs, .classic-section--xl, .classic--xs, .classic--xl {
    max-width: 1200px;
    margin-bottom: 75px;
}

.classic, .classic--xs, .classic--xl {
    padding-top: 50px;
}

article, section{
	line-height: 1.5rem;
}

@media (min-width: 960px) {
    .classic {
        max-width: 1000px;
        margin-bottom: unset;
        margin: 50px auto;
        padding: 0px;
    }

    .classic-section {
        max-width: 1200px;
        margin-bottom: unset;
        margin: 50px auto;
    }

    .classic-section--xs, .classic--xs {
        max-width: 960px;
        margin-bottom: unset;
        margin: 50px auto;
    }

    .classic-section--xl, .classic--xl {
        max-width: 100%;
        margin-bottom: unset;
        margin: 50px auto;
    }
}

/* Enlever le logo ReCAPTCHA */
.grecaptcha-badge{
	display: none !important;
}

/* Possibilité de mettre en gras depuis le backoffice (strong) */
p strong{
	 font-family: 'Dinot-Bold', sans-serif;
}
   

/* --------------------------------- */
/* ----------- PUBLICATIONS---------- */
/* --------------------------------- */
.publications__documents{
	display: flex;
    flex-direction: row;
    justify-content: flex-start;
	flex-wrap: wrap;
}

.publications__documents li{
	display: flex;
    flex-direction: column;
	justify-content: flex-start;
	margin: 20px !important;
	width:150px;
}

.publications__documents li::before{
	display: none;
}

.publications__documents li a img{
	width: 150px;
	transition: transform 0.1s ease-in;
}

.publications__documents li a img:hover{
	transform: scale(1.2);
}
.publications__documents li h5{
	text-align: center;
}

@media (max-width: 960px) {
	.publications__documents li{
		margin: 5px !important;
	}
}
/* --------------------------------- */
/* ----------- LES TITRES ---------- */
/* --------------------------------- */
.title {
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    font-size: 2.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding-top: 80px;
}

.subtitle, .classic__contents h2 {
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.8rem;
    color: var(--main-color);
}
.classic__contents h3{
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
	margin-top: 50px
}
.classic__contents h4{
	line-height:25px;
}

h2 {
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    font-size: 2.3rem;
    color: var(--main-color);
    margin-bottom: 30px;
}

h2>span {
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    font-size: 2.3rem;
    color: var(--main-color);
}

h3, h3>span {
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--main-color);
}
h4{
    font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 20px 0px 10px 0px;
}
.classic .title:after {
    content: "";
    background-image: url(https://mairie-barbezieux.fr/wp-content/uploads/2022/06/fond-actus.svg);
    background-size: cover;
    background-repeat: repeat;
    background-position-y: -383px;
    width: 100%;
    position: absolute;
    height: 600px;
    top: -450px;
    left: 0px;
    z-index: -20;
}

.classic__contents a:not(.classic__contents .btn){
    text-decoration: none;
} 

@media (min-width: 960px) {
    .classic .title:after {
        height: 270px;
        top: 0px;
    }

    .title {
        font-size: 4rem;
        margin-top: 0px;
        text-align: center;
    }

    .subtitle, .classic__contents h2 {
        font-size: 2rem;
        line-height: 2.4rem;
    }
    .classic__contents h3{
        font-size: 1.5rem;
    }
    .classic__contents h4{
        font-size: 1rem;
    }
    h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    h3>span, h2>span {
        font-size: 1em;
    }
}

.breadcrumb {
    margin-bottom: 60px;
}

.ariane-separator {
    display: inline-block;
    border-top: solid 2px var(--secondary-color);
    border-right: solid 2px var(--secondary-color);
    transform: rotate(45deg);
    height: 10px;
    width: 10px;
    margin-right: 5px;
    margin-left: 2px;
}

@media (min-width: 960px) {
    .breadcrumb {
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 60px;
    }
}
/* --------------------------------- */
/* ------------ MISE EN PAGE PARAGRAPHES ENFANCE------------ */
/* --------------------------------- */

.home-content-mairie a{
	background-color: var(--secondary-color);
    text-transform: uppercase;
    color: white;
	transition: all 0.2s ease-out;
	justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 7px 11px;
    margin-left: 5px;
    text-decoration: none;
    font-family: "ABeeZee", sans-serif;
}

.home-content-mairie a:hover{
	background-color: var(--primary-color);
	color: var(--secondary-color);
}

.home-content-mairie p{
	color: #ffffff;
	padding: 1em;
    line-height: 1.5rem;
}
.ajout-margin{
	margin-top : 100px !important;
}
section.article-enfance div p a.btn.btn-principal{
	margin-bottom: 0;
}
.encart-bleu li::before{
	display: inherit;
}
.encart-bleu.enfance{
	padding: 20px;
	padding-right: 60px;
	top: 40px;
}
.encart-bleu{
    border: solid 1px var(--main-color);
    padding: 30px;
    position: absolute;
    left: 0;
    width: 60%;
    display: block;
    top: 20px;
	}
.article-enfance div:nth-child(2){
	width: 50%;
	z-index: 2;
}

.fond-bleu-enfance{
	background-color: #005c91;
    padding: 30px;
    position: absolute;
    left: 0;
    
    width: 60%;
    display: block;
    top: 20px;
	}
.fond-bleu-enfance p{
	color: #ffffff;
}

.cadre-bleu.chateau{
	margin-bottom: -100px;
}
@media (max-width: 960px) {
	.cadre-bleu.chateau{
	margin-bottom: 0px;
	}
}
/* ---------------------------------------- */
/* ------------ Encart déchets ------------ */
.texte-dechets h3{
	margin-top: 0;
}
.texte-dechets{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.texte-dechets-compost{
	display: flex;
	flex-direction: column;
}

.texte-dechets .texte-dechets-compost .text-compost{
	width: 100%;
	margin-left: 5%;
}
.texte-dechets .texte-dechets-compost .text-compost:first-child{
	margin-bottom: 5%;
}
.texte-dechets .text-compost{
	width : 100%;
	border : solid 1px var(--main-color);
	height: inherit;
	padding: 20px;
}
.texte-dechets .text-compost h3{
	margin-top: 0;
}
.cadre-bleu{
	border: solid 1px var(--main-color);
    padding: 30px;
	width: 100%;
	position: relative;
	height: fit-content;
}

.cadre-bleu::after{
	content: url(https://mairie-barbezieux.fr/wp-content/uploads/2022/06/quote.svg);
    height: 0px;
    width: 50px;
    display: block;
    position: relative;
    top: -20px;
    right: -250px;
}

.cadre-bleu h3{
	margin-top: 0;
}

.cadre-bleu:nth-child(2n+1){
	left: -50px;
    bottom: 80px;
	padding-left: 50px;
  	
}

.cadre-bleu:nth-child(2n+1):after{
	display: none;
}


@media (max-width: 960px) {
	.texte-dechets{
		flex-direction: column;
	}
	
	.cadre-bleu:nth-child(2n+1){
		position: unset;
	}
	.texte-dechets{
		flex-direction: column;
	}
	
	.texte-dechets .texte-dechets-compost .text-compost{
		margin-left: 0;
	}
	.texte-dechets .text-compost{
		margin-bottom: 5%;
	}
	.cadre-bleu.voieVerte{
		margin-bottom: 0 !important;
	}
}


/*-----------------------------------*/
/*-------TABLEAU SALLES RECEPTION-----*/
.tableau-alambics{
	font-size: 16px;
	color:#333333;
	width:100%;
	border-width: 1px;
	border-color: var(--main-color);
	border-collapse: collapse;
}
.tableau-alambics th {
	font-size: 16px;
	border-width: 1px;
    padding: 4px;
    border-style: solid;
    border-color: #BFA758;
    text-align: left;
    background-color: var(--main-color);
    color: #ffffff;
    vertical-align: middle;
}
}
.tableau-alambics tr {
	background-color:#ffffff;
}
.tableau-alambics td {
	font-size: 16px;
	border-width: 1px;
	padding: 4px;
	padding-right: 16px;
	border-style: solid;
	border-color: var(--main-color);
	vertical-align: middle;
}

@media (max-width: 700px){
	.chapeau-tableau{
		display: none !important;
	}
.tableau-alambics thead {
display: none;
}

.tableau-alambics tr{
	display: block;
	margin-bottom: 40px;
}

	.tableau-alambics td:first-child{
		text-align: center;
		text-transform: uppercase;
		font-weight: bold;
	}
	
.tableau-alambics td {
	display: block;
	text-align: right;
	font-weight: bold;
}

.tableau-alambics td:before {
content: attr(data-label);
float: left;
font-weight: bold;
	text-align: left;
	color: var(--secondary-color);
}
}

/*-----------------------------------*/
/*-------ENCART PUBLICATIONS-----*/
.cadre-bleu.publication-after::after{
	content: url(https://mairie-barbezieux.fr/wp-content/uploads/2022/06/kiosque-fond.svg);
    width: 430px;
    display: block;
    position: relative;
    top: -250px;
    right: -700px;
	z-index: -20;
}

@media (max-width: 960px){
	.cadre-bleu.publication-after::after{
		display: none;
	}
	.nouveauxArrivants_title{
		width: 350px;
	}
}

/*-----------------------------------*/
/*-------DEMARCHES ADMINISTRATIVES-----*/
.paragraphes-flex{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.cadre-fond-bleu{
	background-color : var(--main-color);
	color: #ffffff;
	padding: 30px;
}
.cadre-fond-bleu p{
	color: #ffffff;
}

.cadre-bleu.services{
	width: 50%;
}
.boutons-servicesPublics{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	width: 100%;
	padding-left: 5%;
	font-size: 0.8rem;
	justify-content: space-between;
}

.boutons-servicesPublics li{
	width: 20%;
	justify-content: flex-start;
	align-items: flex-start !important;
	text-align: center;
}
.boutons-servicesPublics li a figure{
	width: 75%;
	margin: 0 auto;
	text-align: center;
}
.services-title{
	 color: white;
    font-family: 'ABeeZee', sans-serif;
    font-size: 1rem;
    background-color: var(--main-color);
    padding: 10px;
    width: fit-content;
    margin: -20px auto 10px auto;
    text-align: center;
    max-width: 93%;
}


.boutons-servicesPublics li a figure img:hover{
	transform: rotate(30deg);
}
.boutons-servicesPublics li::before{
	display: none;
}
.boutons-servicesPublics li a figure img{
	transition: transform 0.2s ease-in-out;
	margin: 0;
}
.cimetiere__title{
	margin-top : 10px;
}

@media (max-width: 960px){
	.paragraphes-flex{
		flex-direction: column;
	}

	.boutons-servicesPublics{
		flex-direction: row;
		justify-content: center;
		padding-left: 0;
	}
	.boutons-servicesPublics li{
		width: 33%;
	}
	.boutons-servicesPublics a.btn.btn-principal{
		width:100%;
		margin-bottom: 0;
		margin-left: 0;
		margin-right: 0;
		text-align: center;
	}
	.boutons-servicesPublics figure img{
		width: 50%;
	}
	
	.paragraphes-flex article:last-child {
		margin-top: 20px;
	}
	.cadre-bleu.services{
	width: 100%;
}
}
@media (max-width: 500px){
	.boutons-servicesPublics figure img{
		width: 100%;
	}
}
/*------Labels-----*/
.img-label:first-child{
	width: 76%;
}
.img-label:last-child{
	width:83%;
}

@media (max-width: 960px){
	.img-label:first-child{
	width: 100%;
}
.img-label:last-child{
	width:100%;
}
}
/* --------------------------------- */
/* ------------ Aires pique nique ------------ */
/* --------------------------------- */
.cadre-bleu-jonzac{
		width: 125%;
		left: 0 !important;
    	bottom: 0 !important;
    	padding-right: 100px;
	
	}

@media (max-width: 960px){
	.cadre-bleu-jonzac{
		width: 100%;
		padding-right: 30px !important;
	}
}

/* --------------------------------- */
/* ------------ EQUIPEMENTS SPORTIFS ---------- */
/* --------------------------------- */
.les-vignettes-sport{
	display: flex;
	flex-direction:row;
	justify-content: space-between;
}

.une-vignette-sport{
/*	display: flex; */
	flex-direction: column;
	width: 400px;
	margin: 1em;
	border: 1px solid var(--main-color);
}
.une-vignette-sport img{
	margin: 0 !important;
}
.vignette-texte{
	display: flex;
	flex-direction: column;
	padding: 1em;
}
.vignette-texte h3{
	margin-top: 10px;
}

/* .vignette-sport-image{
	height: 200px;
} */

@media (max-width: 960px){
	.les-vignettes-sport{
		flex-direction: column;
		margin-left: 0;
		margin-right: 0;
	}
	.une-vignette-sport{
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}*/

/* --------------------------------- */
/* ------------ POLICE ------------ */
/* --------------------------------- */
.paragraphe-police{
		width: 50%; 
}
	
@media (max-width: 960px){
	.paragraphes-flex article{
		width: 100%;
	}
	
}
/* --------------------------------- */
/* ------------ URBANISME------------ */
.articles-urban{
	width: 100%;
	padding: 1em;
}

.articles-urban.cadre-bleu{
	left: 0;
	bottom: 0;
	position: unset;
	padding-left: 30px;
	margin: 20px;
	margin-left: 0;
	z-index: unset;
}
.articles-urban.cadre-bleu ul li{
	align-content: flex-start;
	align-items: flex-start;
}
.articles-urban.cadre-bleu ul li::before{
	margin-top: 3%;
}
.article-enfance.article-urban-aides{
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 10px;
	margin-bottom: 10px;
}

.article-urban-aides .cadre-bleu{
	z-index: unset;
}

.article-enfance.article-urban-aides div div{ 
	width: 50%;
	margin: 0 auto;
}

.article-urban{
	width: 100%;
}

/* --------------------------------- */
/* ----------- LA CARTE ---------- */
/* --------------------------------- */
.une-zone:hover{
	fill: #BFA75D;
	cursor: pointer;
}
.list-zone ul li::before{
	display: none;
}
.list-zone ul li{
	align-items: flex-start !important;
	flex-direction: column;
}
.contenu-carte{
		flex-direction: column;
}

.list-zone .zone-text img{
	width: 20%;
	height: fit-content;
}
.list-zone{
	width: 100%;
	margin-top: 100px;
}
.list-zone .zone-text h3{
	margin-top: 0;
	margin-left: 5%;
    align-self: center;
}

.list-zone ul li.zone-text{
	width: 100%;
}

.list-contenu div {
	width: 100%;
	line-height: 0.5rem;
	font-size: 0.9rem;
}

.list-contenu ul li{
	    line-height: 18px;
}

@media (min-width: 960px){
	.article-enfance.article-urban-aides{
		width: 48%;
	}
	.article-urban{
	width: 45%;
    }
	.contenu-carte{
		margin-top: 100px;
		display: flex; 
		flex-direction: row;
    }
	.carte-barbeuzieux{
		margin-top: 100px;
    }
	.list-zone{
		width: 70%;
		margin-top: 0px;
	}
	
	.list-zone ul li.zone-text{
		width: 50%;
		padding: 10px;
	}
	.cadre-bleu-urban{
		border: solid 1px var(--main-color);
	}
	.selected{
		color: var(--main-color) !important;
	}
}
/* --------------------------------- */
/* ------------ Action sociale ------------ */
/* --------------------------------- */

.article-social{
	width: 48%;
	margin: 10px;
	margin-left: 0;
	margin-right: 20px;
	padding: 30px;
	border: 1px solid var(--main-color);
	
}

.article-social:nth-child(4){
		height: fit-content;
}
.paragraphes-flex article.article-social ul li, .article-urban-aides ul li, .cadre-bleu.eau ul li, article.paragraphe-police ul li, .zone-bleue-liste li, .paragraphes-flex.social ul li{
	align-items : flex-start !important;
}
.article-social ul li::before, article.article-urban-aides ul li::before, .cadre-bleu.eau ul li::before, .zone-bleue-liste li::before, .paragraphes-flex.social ul li::before{
	margin-top: 3% !important;
}
.paragraphe-police ul li::before{
	margin-top: 2% !important;
}
.bloc-MDPH{
	margin-top: 10px;
    position: relative;
    left: 0;
    top: 0;
    width: 594px;
    padding-right: 100px;
}

.bloc-repas{
	position: relative;
    left: 0;
    top: 30px;
	height: fit-content;
}
.paragraphes-flex.social article{
	width: 48%;
}
@media (max-width: 960px){
	.bloc-MDPH{
		width: 100%;
		padding-right: 30px;
		position: unset;
	}
	.bloc-repas{
	position: unset;
		top: unset;
	}
	.paragraphes-flex.social article{
		width: 100%;
	}
	.article-enfance.article-urban-aides{
		width:100% !important;
	}
}
/* --------------------------------- */
/* ------------ ENVIRONNEMENT ------------ */
.cadre-bleu.eau{
	width: 50%;
	left: 0;
	bottom: 0;
}

.cadre-bleu.eau:first-child{
	padding-right: 60px;
}
.cadre-bleu.eau:last-child{
	top: -380px;
	padding-left: 60px;
}
.image-agir-eau-2{
	position: relative;
    top: -60px;
    left: 40px;
    z-index: 2;
}
.image-agir-eau-1{
	position: relative;
    left: -40px;
    z-index: 2;
	 top: 20px;
}

.article-enfance.eau{
	margin-bottom: -120px;
}

.article-enfance.eau:last-child .cadre-bleu.eau{
	width: 880px;
}
@media (max-width: 960px){
	.cadre-bleu.eau{
		width: 100%;
	}
	.image-agir-eau-2{
		visibility:hidden;
		height: 260px;
	}
	.image-agir-eau-1{
		visibility:hidden;
		height: 100px;
	}
	
	.article-enfance.eau:last-child .cadre-bleu.eau{
		width: 100%;
	}
	

}

/* --------------------------------- */
/* ------------ ASSO PRATIQUE------------ */
/* --------------------------------- */
.paragraphe-mid{
	width: 45%;
}
.paragraphe-mid h3{
	margin-top: 10px;
}
/* --------------------------------- */
/* ------------ TRAVAUX------------ */
/* --------------------------------- */
.section-travaux{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

@media (max-width: 960px){
	.section-travaux{
		flex-direction: column;
	}
}
/* --------------------------------- */
/* ------------ CONTACT ------------ */
/* --------------------------------- */
.contacts__container{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
}

.contacts__container .contacts__form{
	width: 40%;
}

.contacts__form form{
	width: fit-content;
}

.contacts__form form input.wpcf7-form-control{
	width: 100%;
    height: 30px;
    border: 1px solid var(--secondary-color);
}

.wpcf7-form-control.wpcf7-textarea{
	width: 100%;
    height: 150px;
    border: 1px solid var(--secondary-color);

}
.wpcf7-form-control.wpcf7-textarea[placeholder]{
	font-family: 'ABeeZee', sans-serif;
	font-size: 1rem;
	font-style: italic;
	color: rgba(0, 0, 0, 0.4);
	padding: 0.5em;

}

.contacts__form form input.wpcf7-form-control:focus-visible,.wpcf7-form-control.wpcf7-textarea:focus-visible {
	outline: 2px solid var(--main-color);
}
.contacts__form form input.wpcf7-form-control[placeholder]{
	font-family: 'ABeeZee', sans-serif;
	font-size: 1rem;
	font-style: italic;
	color: rgba(0, 0, 0, 0.4);
	padding: 0.5em;
}
.wpcf7-form-control.has-spinner.wpcf7-submit{
	background-color: var(--main-color);
	color: var(--secondary-color);
	text-transform: uppercase;
	font-size: 1.2rem;
	font-family: 'ABeeZee', sans-serif;
    font-weight: bold;
	margin-top: 20px;
    width: 50%;
 	transition: all 0.2s ease-out;
	height: 60px;
}

.wpcf7-form-control.has-spinner.wpcf7-submit:hover {
    background-color: var(--secondary-color);
	color: var(--main-color);
	cursor: pointer;
}

@media (max-width: 960px){
	
.contacts__container{
	flex-direction: column;
}
	.contacts__container .contacts__form{
		width: 100%;
		margin-top: 40px;
		margin-bottom: 0px !important;
	}
	
	.wpcf7-form-control.has-spinner.wpcf7-submit{
		width: 100%;
		height: 60px;
	}
}
/* --------------------------------- */
/* ------------ BOUTONS ------------ */
/* --------------------------------- */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 17px 23px;
    text-decoration: none;
    font-family: "ABeeZee", sans-serif;
    margin: 30px auto;
}

.btn-principal {
    background-color: var(--secondary-color);
    text-transform: uppercase;
    color: white;
    /* box-shadow: 0px 0px 0px var(--main-color); */
    transition: all 0.2s ease-out;
}

.btn-principal:hover {
    background-color: var(--main-color);
    /* box-shadow: 7px 7px 0px var(--main-color); */
}

.btn-secondaire {
    background-color: var(--main-color);
    text-transform: uppercase;
    color: white;
    /* box-shadow: 0px 0px 0px var(--secondary-color); */
    transition: all 0.2s ease-out;
}

.btn-secondaire:hover {
    background-color: var(--secondary-color);
    /* box-shadow: 7px 7px 0px var(--secondary-color); */
}

.btn-tertiaire {
    background-color: white;
    border: solid 2px var(--main-color);
    color: var(--main-color);
    transition: all 0.2s ease-in-out;
}

.btn-tertiaire--beige {
    background-color: var(--secondary-color);
    border: solid 2px var(--main-color);
    color: var(--text-btn-color);
    transition: all 0.2s ease-in-out;
}

.btn-tertiaire:hover, .btn-tertiaire--beige:hover {
    background-color: var(--main-color);
    border: solid 2px var(--main-color);
    color: white;
}

.btn-principal:before, .btn-secondaire:before {
    width: 15px;
    height: 15px;
    margin-right: 7px;
	margin-top: -6px;
}

.btn-principal:before {
    content: url("https://mairie-barbezieux.fr/wp-content/uploads/2022/06/croix-bleu.svg");
}

.btn-secondaire:before {
    content: url("https://mairie-barbezieux.fr/wp-content/uploads/2022/06/croix-beige.svg");
}

.btn-plus {
    height: 30px;
    width: 30px;
    background-image: url('https://mairie-barbezieux.fr/wp-content/uploads/2022/06/croix-bleu.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
    border: solid 1px var(--main-color);
    transition: all 0.2s ease-out;
    background-color: white;
}

.btn-plus:hover{
    transform: scale(1.32);
}
@media (min-width: 960px) {
    .btn {
        margin: 10px 0;
    }
}

/* --------------------------------- */
/* ------------- LISTES ------------ */
/* --------------------------------- */
li:not(.neutral-list li) {
    display: flex;
    align-items: start;
    margin: 10px 0px;
}
.sante li {
	display: block !important;
}

li:before {
    content: "";
    display: block;
    border: solid 1px var(--main-color);
    transform: rotate(45deg);
    border-left: none;
    border-bottom: none;
    height: 7px;
    width: 7px;
    margin-right: 7px;
    flex: none;
	margin-top: 10px;
}

li:hover a {
    color: var(--secondary-color);
}

.neutral-list li:before {
    display: none;
}

/* --------------------------------- */
/* ----------- A) HEADER ----------- */
/* --------------------------------- */
/* 1. Structure du menu */
.header {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100px;
    height: 100px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-out;
    z-index: 50000;
}

.header--minimize {
    height: 100px !important;
}

.header__content {
    max-width: 1200px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    padding-bottom: 30px;
}

@media (min-width: 1150px) {
    .header {
        width: 100%;
        height: 150px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
        padding: 0px 40px;
    }

    .header__content {
        height: 100%;
        justify-content: space-between;
        padding-bottom: 0px;
    }

    .header__logo-link {
        display: flex;
        align-items: center;
        padding: 0px;
        margin-right: 0px;
    }

    .header__logo-link>.header__logo {
        height: 70px;
        
    }
}
@media (min-width: 1380px) {
    .header__logo-link {
        margin-right: 50px;
    }
}
/* 2. logo du site */
.header__logo-link {
    position: fixed;
    top: 0px;
    right: -110%;
    transition: all 0.3s ease-out;
    width: 100%;
    z-index: 9600;
}

.header__logo-link--close {
    position: fixed;
    top: 0px;
    right: 0%;
}

.header__logo {
    height: 90px;
    width: 130px;
    margin-left: 40px;
}

@media (min-width: 1150px) {
    .header__logo {
        display: block;
        height: 100%;
        width: auto;
        margin-left: 0px;
    }

    .header__logo-link {
        position: relative;
        top: unset;
        right: unset;
    }
}

/* 3. icon burger */
.header__burger-label {
    display: flex;
    height: 40px;
    width: 50px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10000;
    position: relative;
}

.header__burger-label:after {
    content: "MENU";
    font-family: "ABeeZee", sans-serif;
    position: absolute;
    bottom: -30px;
    letter-spacing: 0px;
}

.header__burger-label--close .burger__icon-deux {
    transform: rotate(36deg);
    width: 123%;
}

.burger__icon-deux {
    transform-origin: top left;
}

.header__burger-label--close .burger__icon-trois {
    transform: rotate(-36deg);
    width: 123%;
}

.burger__icon-trois {
    transform-origin: bottom left;
}

.header__burger-label--close .burger__icon-un {
    display: none;
}

/* .burger__icon-deux{
    transform-origin: center;
} */
.burger__icon-un {
    width: 100%;
}

.burger__icon-deux, .burger__icon-trois {
    width: 100%;
    height: 3px;
    display: block;
    background-color: var(--secondary-color);
    transition: all 0.2s ease-out;
}

.header__nav {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0px;
    right: -110%;
    background-color: white;
    transition: all 0.3s ease-out;
    z-index: 9500;
}

@media (min-width: 1150px) {
    .header__burger-label {
        display: none;
    }
}

/* 4. menu burger */

.header__burger-input:checked+.header__nav {
    right: 0%;
}

.main-menu {
    width: 100%;
    padding: 130px 40px;
    padding-bottom: 50px;
}

.main-menu>li {
    padding: 20px 0px;
    border-bottom: solid 1px #efefef;
}

.main-menu>li>a {
    color: var(--main-color);
    font-family: "ABeeZee", sans-serif;
    font-size: 1.4rem;
    text-decoration: none;
}

.main-menu>li>.sub-menu {
    padding: 100px 40px;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0px;
    right: -110%;
    background-color: white;
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: start;
    z-index: 60000;
    padding-top: 150px;
}

.main-menu>li:hover>.sub-menu {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0px;
    right: 0%;
}

.main-menu>li>.sub-menu>li {
    padding: 10px 0px;
    border-bottom: solid 1px #efefef;
}

.main-menu>li>.sub-menu>li>a {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--main-color);
}

.header__retour-nav {
    display: none;
    position: fixed;
    top: 100px;
    left: 40px;
    z-index: 65000;
}
.main-menu--invisible{
    height: 0px;
    margin-top: 130px;
    overflow: hidden;
    padding: 0px;
}
@media (min-width: 1150px) {
    .main-menu--invisible{
        width: 100%;
        padding: 130px 40px;
        padding-bottom: 50px;
    }
    .header__content {
        align-items: unset;
    }
    .header .header__logo-link > a{
        height: 75px;
        transition: all 0.3s ease-out;
    }
    .header--minimize .header__logo-link > a{
        height: 50px;
    }
    .header__nav {
        position: inherit;
        top: unset;
        right: unset;
        height: 100%;
        flex-direction: row;
        width: fit-content;
    }

    .main-menu {
        display: flex;
        width: fit-content;
        padding: 0px;
    }

    .main-menu>li>a {
        font-size: 1.2rem;
        display: flex;
        text-align: center;
        position: relative;
    }

    .main-menu>li {
        padding: 40px 20px;
        border-bottom: unset;
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
    }

    .main-menu>li:after {
        content: "";
        display: block;
        width: 1px;
        height: 40px;
        background-color: var(--main-color);
        position: relative;
        right: -30px;
    }

    .main-menu>li:last-child:after {
        display: none;
    }

    .main-menu>li>.sub-menu {
        display: none;
        height: fit-content;
        width: 100%;
        position: absolute;
        top: 100%;
        right: 0%;
    }

    .main-menu>li>.sub-menu>li {
        padding: 15px 20px;
        border-bottom: 0px;
        transition: all 0.2s ease-out;
        width: 100%;
    }

    .main-menu>li:hover>.sub-menu>li:hover {
        background-color: var(--secondary-color);
        cursor: pointer;
    }

    .main-menu>li:hover>a:before {
        content: "";
        display: block;
        position: absolute;
        bottom: -72px;
        left: 35%;
        background-color: var(--main-color);
        border: none;
        height: 30px;
        width: 30px;
        transform: rotate(45deg);
        transition: all 0.3s ease-out;
    }

    .header--minimize .main-menu>li:hover>a:before {
        bottom: -45px;
    }

    .main-menu>li>.sub-menu>li>a {
        font-size: 1rem;
        color: white;
    }

    .main-menu>li:hover>.sub-menu {
        height: fit-content;
        width: 260px;
        position: absolute;
        top: 100%;
        left: 0%;
        background-color: var(--main-color);
        padding: 0px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .main-menu>li>a {
        color: var(--main-color);
        font-family: "ABeeZee", sans-serif;
        font-size: 1.4rem;
        text-decoration: none;
    }
}
@media (min-width: 1200px) {
    .main-menu>li {
        padding: 40px 30px;
    }
}
/* icons rs */
.icon-rs {
    width: 50px;
    height: 30px;
}

.menu-right {
    margin-left: 40px;
    display: flex;
}

.header__form {
    position: relative;
    padding: 0px 15px;
}

.header__form-input {
    padding: 7px;
    border: none;
    border-bottom: solid 1px var(--secondary-color);
    padding-left: 40px;
    width: 85px;
}

.header__form-btn img {
    width: 20px;
}

.header__form-btn {
    background-color: white;
    border: none;
    position: absolute;
    top: 2px;
    left: 17px;
}

@media (min-width: 1150px) {
    .menu-right {
        align-items: center;
    }
    .menu-right {
        margin-left: 0px;
        display: flex;
    }
}
@media (min-width: 1200px) {
    .menu-right {
        margin-left: 45px;
        display: flex;
    }
}
/* --------------------------------- */
/* ----------- B) FOOTER ----------- */
/* --------------------------------- */

.footer {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    background-color: var(--secondary-color);
}

.footer li, .footer p, .footer a:not(.btn) {
    color: white;
    font-family: 'Dinot-Bold', sans-serif;
    margin: 7px 0px;
}

.footer ul {
    margin: 15px 0px;
}

.footer__logo {
    max-width: 250px;
    margin-bottom: 40px;
}

.footer-right {
    background-image: url('https://mairie-barbezieux.fr/wp-content/uploads/2022/06/carte-barbezieux.svg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80vw;
}

.footer-center, .footer-left {
    padding: 40px;
    height: fit-content;
}

.footer__rs {
    margin-top: 20px;
}

.footer__rs-single {
    width: 30px;
    margin-right: 10px;
    height: auto;
}

.footer-center {
    padding-top: 0px;
}

.footer-center__btn {
    margin-bottom: 30px;
    margin-left: 0px;
}

.menu-footer a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.menu-footer a:hover {
    color: var(--main-color);
}

.menu-footer a:before {
    content: "";
    display: block;
    border: solid 1px var(--main-color);
    transform: rotate(45deg);
    border-left: none;
    border-bottom: none;
    height: 7px;
    width: 7px;
    margin-right: 7px;
}

.footer__partenaires {
    width: 100%;
	height: intrinsic;
}

@media (min-width: 1150px) {
    .footer {
        flex-direction: row;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .footer:before {
        content: "";
        width: 100px;
        height: 100px;
        position: absolute;
        top: 0px;
        display: inline-block;
        height: 0;
        width: 0;
        border-top: 50px solid white;
        border-right: 50px solid transparent;
        border-left: 50px solid transparent;
    }

    .footer-leftcenter {
        display: flex;
        flex-wrap: wrap;
        width: 60%;
    }

    .footer-right {
        width: 40%;
        height: 600px;
        padding-bottom: 0px;
    }

    .footer-center {
        width: 33.333%;
        padding-bottom: 0px;
		margin-top: 140px;
    }

    .footer-right {
        min-height: 100%;
        background-size: cover;
    }

    .footer-left {
        width: 66.666%;
        padding-left: 33.333%;
    }

    .footer__partenaires {
        width: 80%;
        padding-left: 32.333%;
    }

    .footer-center__btn:first-child {
        margin-top: 60px;
    }
}

/* --------------------------------- */
/* -------- C) HAUT DE PAGE -------- */
/* --------------------------------- */
.top-btn {
    position: fixed;
    bottom: 60px;
    right: -70px;
    height: 60px;
    width: 60px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.top-btn--affiche {
    right: 0px;
}

.top-btn__arrow {
    display: block;
    height: 20px;
    width: 20px;
    border-bottom: solid 2px white;
    border-right: solid 2px white;
    transform: rotate(225deg);
    position: relative;
    bottom: -5px;
}

.sidebar__icon--oeil {
    position: fixed;
    bottom: 120px;
    right: 0px;
    height: 60px;
    width: 60px;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    transition: all 0.3s ease-out;
    cursor: pointer;
}
.sidebar__icon--oeil > img{
    margin: 14px;
	max-width: 50px;
	width: inherit;
}

@media (min-width: 960px) {
    .top-btn--affiche {
        right: 30px;
    }

    .sidebar__icon--oeil {
        right: 30px;
    }
}

/* --------------------------------- */
/* --------- C) SINGLE ACTU -------- */
/* --------------------------------- */

.classic__content-image>div:first-child {
    width: 100%
}

.classic__content-image>div:first-child>img {
    width: 100%;
}

.actu__date {
    margin-top: 40px;
}

.post-navigation__controls {
    width: fit-content;
    margin: 0 auto;
    color: white;
    margin-top: 50px;
    padding: 20px 5px;
    display: flex;
    align-items: center;
}

.post-navigation__controls>strong>a {
    color: white;
    display: flex;
    align-items: center;
}
.post-navigation__controls > strong.next > a{
    flex-direction: row-reverse;
}
.post-navigation__controls>strong {
    margin: 0px 15px;
    background-color: var(--main-color);
    padding: 20px;
}
.post-navigation__controls > strong.previous > a:before {
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    border-top: solid 2px white;
    border-left: solid 2px white;
    transform: rotate(-45deg);
    margin-right: 10px;
}
.post-navigation__controls > strong.next > a:before {
    content: "";
    display: block;
    height: 10px;
    width: 10px;
    border-top: solid 2px white;
    border-right: solid 2px white;
    transform: rotate(45deg);
    margin-left: 10px;
}
@media (min-width: 960px) {
    .classic__content-image {
        display: flex;
    }

    /*.classic__content-image>div:first-child {
        width: 50%;
        margin-right: 50px;
    }

    .classic__content-image>div:nth-child(2) {
        width: 50%;
    }*/
}

/* --------------------------------- */
/* -------- D) SINGLE AGENDA ------- */
/* --------------------------------- */
.event__date {
    width: fit-content;
    display: flex;
    margin: 0 auto;
    margin-bottom: 50px;
    margin-top: -50px;
}

.event__date-debut, .event__date-fin {
    display: flex;
    flex-direction: column;
    width: 100px;
    height: 100px;
    padding: 0px 30px;
    background-color: var(--secondary-color);
    justify-content: center;
    color: white;
    font-family: 'ABeeZee', sans-serif;
    font-size: 2rem;
}

.event__date-separateur {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    margin-right: -10px;
    margin-left: -10px;
}

.event__date-separateur:after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    border: solid 2px var(--main-color);
    background-color: var(--secondary-color);
    transform: rotate(45deg);
    border-bottom: 0px;
    border-left: 0px;
    position: relative;
    left: -4px;
}

/* --------------------------------- */
/* ---------- E) Page 404 ---------- */
/* --------------------------------- */
.btns-404 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btns-404>.btn {
    margin: 20px;
}

.text-404 {
    width: 100%;
    text-align: center;
}

/* --------------------------------- */
/* ------ E) Page Search.php ------- */
/* --------------------------------- */
.result {
    padding: 30px 0px;
    border-bottom: solid 1px lightgrey;
    margin: 30px 0px;
}

.result .result__posttype {
    margin: 5px 0px;
    padding: 5px;
    width: fit-content;
    color: white;
    background-color: var(--main-color);
}

/* ------- Responsive mobile et tablette ------- */
@media (max-width: 960px) {
	img[alt="Logo village étape"], img[alt="Image jumelage"], img[alt="armoirie de barbezieux"]{
		  width:30% !important;
	}
	img[alt="VMA Pascal Renoux"]{
		  width:100% !important;
	}
	.encart-bleu-mobile{
		border: solid 1px var(--main-color) !important;
		padding: 30px !important;
	}
}

/* ------- Responsive mobile ------- */
@media (max-width: 500px) {
	img[alt="Image jumelage"], img[alt="Logo CCAS bleu or"]{
		width:100% !important;
		margin:0px !important;
	}

/* ------- Responsive safari ------- */
img[alt="Logo village étape"], img[alt="VMA Christophe Roux"]{
	height: intrinsic !important;
}
.list-zone img{
	height: intrinsic !important;
}