*{
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
}
body{
    font-family: Arial;
	background-image: linear-gradient(112.5deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%,rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%,rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%,rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%,rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%,rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%,rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%),linear-gradient(157.5deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%,rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%,rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%,rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%,rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%,rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%,rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%),linear-gradient(135deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%,rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%,rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%,rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%,rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%,rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%,rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%),linear-gradient(90deg, rgb(195, 195, 195),rgb(228, 228, 228)); background-blend-mode:overlay,overlay,overlay,normal;
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	font-size: 20px;
}
main a{
	text-decoration: none;
	color: #660000;
	font-weight: bold;
}
main a:hover{
	color: #c95d5d;
	text-decoration: underline;
}
br{
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
button{
	background-color: transparent;
	border-radius: 2em;
	box-shadow: 0px 0px 10px #660000;
	border: 0.5px;
}
button a{
	color:black;
	padding: 0.5em;
}
button:hover{
	background-color: #660000;
}
button:hover a{
	color: white;
}
main{
	margin: 3em auto;
	justify-content: center;
	text-align: justify;
	width: 80%;
}
main li{
	list-style: square;
	margin-bottom: 0.5;
	list-style-position: inside
	
}
main ul{
	padding: 2.5% 0em ;

}
hr{
	border-color: #c95d5d;
	box-shadow: 0px 0px 10px #660000;
	border-radius: 100%;
	margin-top: 1em;
	margin-bottom: 2em;
}
h1,h2,h3,h4,h5,h6, #menu{
	font-family: Georgia;
}
h1{
	font-weight: bold;
	text-align: center;
	background-image: linear-gradient(to right, #660000,#c95d5d, #660000) ;
	-webkit-background-clip: text;
	-moz-background-clip: text;
	-ms-background-clip: text;
	-o-background-clip: text;
	background-clip: text;
	color: transparent;
}
main h1{
	color: #660000;
	font-size: 2em;
	margin: 1em auto;
	background-image: none;
}
h2{
	font-size: 1.8em;
}
h3, h2{
	text-align: center;
	margin: 1em 0 1em 0;
}
h3{
	font-size: 1.6em;
}
h4{
	font-size: 1.4em;
}
h6{
	margin: 2em auto 1em auto;
	font-size: 1.2em;
}
ul, ol, li{
	list-style: none;
}
::-webkit-scrollbar {
height: 100%;
}
::-webkit-scrollbar-track {
border-radius: 100vw;
}

::-webkit-scrollbar-thumb {
background: #c95d5d; 
border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover {
background: #660000; 
}
.actus_card p::-webkit-scrollbar{
	width: 3px;
}
.defilant{
	z-index: -999999999999;
	overflow: hidden;
	width: 100%;
	box-shadow: #660000;
}
.defilant p{
	display: inline-block;
	white-space: nowrap;
	animation: defilement 20s infinite linear;
	cursor: pointer;
	padding: 10px 2em 10px 100%;
	color: #c95d5d;
}
.defilant:hover p{
	animation-play-state: paused;
}
@keyframes defilement{
	0%{
		-webkit-transform: translate(0);
		transform: translate(0);
	}
	100%{
		-webkit-transform: translate(-100%);
		transform: translate(-100%);
	}
}
/*______________________________________________en-tête_________________________________________________*/

nav{
	width: 100%;
	background: linear-gradient( #660000 0%, #c95d5d 100%);  
	font-size: 100%;
}
nav ul{
	list-style: none;
}
.items{
	color: white;
}
@media screen and (min-width: 1081px){
	.items {
		padding-left: 2em;
		padding-right: 2em;
	    cursor: pointer;
	}

	.liste-items li{
		padding: 0.5em;
	}
	.liste-items ul{
		list-style: none;
	}

	.items-sous-liste li:hover a{
		color: white;
	}
	.sous-liste{
	margin-top: 0.5em;
	align-items: center;
    justify-content: center;
	width: 100%;
	left: 0px;
	display: none;
	background: white;
	box-shadow: 0px 10px 12px #660000;
	z-index: 999999999999999999999;
	}
	.items-sous-liste a{
		color: #660000;
		text-decoration: none;
	}
	.liste-items{
    	display: flex;
    	align-items: center;
		height: 100%;
    	justify-content: center;
	}
	.menu_hamburger, .logo{
		display: none;
		width: 50px;
	}
	.items-sous-liste{
		color: #660000;
	}
	.liste-items li:hover ul{
		display: flex;
		position: absolute;
	}
	.liste-items li:hover ul ul{
		display: none;
	}
	.liste-items li li:hover ul{
		display: block;
		background-color: white;
	}
	.sous-liste a:hover {
		background-color:#c95d5d;
	}
	.items-sous-liste:hover, nav ul a{
		color: white;
	}
	.sous-liste li:hover{
		background-color:#c95d5d;
	}
	.liste-items li li:hover li{
		background: none;
	}
	.items-sous-liste li::after{
		content: "";
		display: block;
		position: absolute;
		transform: translateX(-50%) scale(0);
		left: 50%;
		height: 2px;
		width: 90%;
		transition: transform 0.4s ease;
		background-color: #c95d5d;
	}
	.items-sous-liste li:hover::after{
		transform: translateX(-50%) scale(1);
	}
}
@media screen and (max-width: 1080px){
.navbar_upside {
    display: flex;
    justify-content: space-between;
    padding: 1em;
    align-items: center;
    background: white;
    position: fixed; /*Fixe la barre en haut */
    top: 0;
    left: 0;
	width: 100%;
	max-height: 4em;
    z-index: 10000; /*Plus grand que nav */
  }
	.navbar_upside img{
		width: 10%;
		height: 10%;
		max-width: 80px;
	}
	main {
    padding-top: 4em; /*Pour ne pas cacher "main" */
	}
  nav {
    position: fixed; /*Fixe le menu */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 4em; /*Pour ne pas cacher navbar_upside */
    background: linear-gradient(#660000 0%, #c95d5d 100%);
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
    z-index: 9999; /* Moins que navbar */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .menu-responsive {
    transform: translateY(0);
  }
	.menu-responsive{
		margin-top: 0;
	}
	nav ul, nav li ul{
		display: flex;
		flex-direction: column;
	}
	.menu_hamburger, .logo{
		display: block;
	}
	.menu_hamburger {
    	background: none;
    	border: none;
    	cursor: pointer;
	}
	.sous-liste li{
		color: #FFF4E9;
	}
	.liste-items{
		list-style: none;
    	padding: 0;
    	margin: 0;
    	text-align: center;
    	color: white;
    	display: flex;
    	flex-direction: column;
    	gap: 1em;
	}
	.items {
    font-size: 1.5em;
    position: relative;
    cursor: pointer;
  	}
	.items a,
  	.menu-link {
  	  color: white;
  	  text-decoration: none;
  	}
	.sous-liste {
    	display: none;
    	flex-direction: column;
    	margin-top: 0.5em;
		align-items: center;
	}
	.items.active .sous-liste {
	    display: flex;
	}
	.items.active span{
		text-decoration: underline;
	}
	.items-sous-liste a {
	    color: white;
		padding: 0;
	    text-decoration: none;
	  }
	.sous-liste a, .sous-sous-liste a, .sous-liste li, .sous-sous-liste{
		text-decoration: none;
	}
}
/*__________________________________________Pied de Page______________________________________________*/
footer{
	background-color: #660000;
	margin-top: 2em;
	padding-top: 1em;
	color: white;
}
@media screen and (max-width:1080px) {
	.navfooter{
	text-align: center;
	}
	.contact{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	}
	.blason_footer img{
		height: auto;
		width: 100%;
	}
}
footer img{
	width: 10em;
}
footer a{
	color: white;
}
.contact:nth-child(2){
	align-self: flex-end;
}
@media screen and (min-width:900px) {
	.contact{
	display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: 1fr auto 1fr;
	}
	footer .horaires{
	text-align: right;
	}
}
.contact div{
	margin: 1em;
}
.blason_footer{
	height: 100%;
	max-width: 25%;
}
.clearfix{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-left: 1em;
	margin-right: 1em;
	padding-bottom: 1em;
}
@media screen and (max-width: 900px){
	footer .contact, .footer .horaires{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}
/*________________________________________mentions légales_________________________________________________*/
.mentions_legales li{
	list-style: none;
}
/*----------------------------------------------élus-----------------------------*/
/*.maire, .adjoints, .conseillers{
	margin-bottom: 2em;
}
.maire{
	display: flex;
	justify-content: center;
}
.adjoints, .conseillers{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.trombine{
	min-width: 250px;
	display: block;
	text-align: center;
	width: 25%;
	box-shadow: 0px 0px 20px #660000;
	border-radius: 30px;
	padding: 1em;
	background-color: white;
	margin: 1em;
}
.trombinoscope img{
	box-sizing: border-box;
	border-radius: 20px;
	margin: auto;
	display: block;
	width: 100%;
}
.nom-elu{
	padding: 0.5em;
}*/
.elus img{
	display: block;
	margin: auto;
	width: 100%;
	max-width: 800px;
}
.elus ul li{
	list-style-type: none;
	padding: 0.25em;
	text-align: center;
}
/*Commissions Tableaux*/
.intercommunal,.communales{
	max-width: 980px;
	margin: auto;
	display:grid;
	grid-template-rows: repeat(2 , auto);
	grid-template-columns: 1fr 1fr 1fr;
	text-align: left;
}
.placebox, .TitleGrid{
	padding: 0.5em 0;
	grid-column: 1/4;
	display: grid;
	grid-template-rows: 1fr;
	align-items: center;
}
.communales .placebox, .intercommunal .placebox, .CCID .TitleGrid{
	color: white;
	background-color: #660000;
}
.TitleGrid{
	grid-template-columns:repeat(2, 1fr);
	text-align: center;
}
.placebox{
	grid-template-columns:repeat(3, 1fr);
}
.placebox .item1{
	grid-column: 2/3;
}
.placebox .item2{
	grid-column: 3/4;
}
.content1, .content2{
	grid-row: 2/3;
	grid-column: 1/4;
	display: grid;
	grid-template-rows: repeat(8, auto);
	grid-template-columns: 1fr 1fr 1fr;
}
.ComBox{
	align-items: center;
	grid-column: 1/4;
	display: grid;
	grid-template-rows: repeat(auto, 1fr);
	grid-template-columns: 1fr 1fr 1fr;
	border-bottom: #c95d5d solid  0.25px;
	padding: 5px;
}
.BoxName{
	color: #660000;
	font-weight: bold;
	margin-right: 1em;
}
.CCID{
	max-width: 600px;
	margin: auto;
	display:grid;
	grid-template-rows: repeat(2 , auto);
	grid-template-columns: 1fr 1fr;
	text-align: left;
}
.TitItemsBox p,.SupItemsBox p{
	padding: 5px 0;
	border-bottom: #c95d5d solid  0.25px;
}
.TitItemsBox{
	grid-column: 1/2;
	grid-row: 2/3;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(6, 1fr);
}
.SupItemsBox{
	grid-column: 2/3;
	grid-row: 2/3;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(6, 1fr);
}
.intertext{
	text-align: center;
	margin: 1rem auto;
	line-height: 1.2;
}
/*_________________________________Home______________________________________*/
.baniere{
	position: relative;
	width: 60%;
	display: flex;
	margin: auto;
}
.baniere img{
	width: 100%;
	height: auto;
	border-radius: 5px;
}
.btn_maps{
	position: absolute;
	bottom: 0.5em;
	right: 0.5em;
	background-color: #660000;
	padding: 0.5em 1em;
	border: none;
	cursor: pointer;
	border-radius: 5px;
}
.btn_maps:hover{
	background-color: white;
	transition: all 450ms;
}
.btn_maps:hover a{
	color:#660000;
	transition: all 450ms;
	transform: scale(1.5);
}
.btn_maps a{
	color: white;
}
.info_mairie{
	display: flex;
	justify-content: center;

}
.coordonnes, .horaires{
	margin: 2em;
}
.horaires a{
	font-weight: bold;
	color: black;
}
section .horaires a:hover{
	font-weight: bold;
	color: #660000;
	text-decoration: underline;
}
.actus img{
	width: auto;
	height: 100%;
	max-height: 250px;
	margin: auto;
}
@media screen and (min-width:1080px) {
	.actus{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: auto auto;
		gap: 20px;
	}
}
.actus_card{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 90px auto 90px;
	flex-wrap: wrap;
	min-width: 300px;
	height: 100%;
}
.actus_card:hover{
	box-shadow: 0px 0px 0.5em#660000;
}
.actus_card h6{
	width: 100%;
	display: flex;
	justify-content: center;
	text-align: center;
}
.actus_card h6{
	padding: 0.5em;
	margin: auto;
}
.actus_card p{
	padding: 0.5em;
	text-align: center;
}
.actus_card img{
	max-width: 100%;
}
@media screen and (max-width: 1000px){
	.actus{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.actus_card p{
		height: auto;
	}
	.actus_card{
		justify-content: center;
		width: 100%;
	}
}
/*_____________________________________________page assos_____________________________*/ 	
.assos{
	padding: 1em;
	box-shadow: 0px 8px 15px #660000;
	text-align: center;
}
.assos li{
	list-style: none;
}
.assos_table{
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 2em;
	margin-bottom: 2em;
}
/*_______________________________________Etat_civil_____________________________________________________*/
main ul li ul li{
	padding-left: 1.5em;
}
.passeport ul li ul{
	padding-top: 0px;
}
.identite_ou{
	display: flex;
	justify-content: space-around;
	margin: 2em 0;
	flex-wrap: wrap;
}
.mairie_proches{
	margin: 1em 0px;
	width: 450px;
}
.accordion{
	width: 100%;
	margin: 2.5% 0;
	transition: 0.4s;
}
.accordion:hover{
	background-color: #c95d5d;
}
.descriptif li{
	margin-bottom: 0.5em;
}
/*.accordion h2::after{
	content: url(images/chevron_bas.png);
	width: 2em;
}*/
/*_______________________________urbanisme____________________________*/
.resultat{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.resultat div{
	margin: 1em;
	max-width: 350px;
}
.resultat h4{
	text-align: center;
}
.resultat p{
	padding-top: 5%;
	text-indent: 2em;
}
.construire .descriptif ul{
	padding: 0;
}
.panel{
	display: none;
	overflow: hidden;
}
/*_________________________________Salle des fêtes______________________________________*/

.galery{
	display: flex;
	justify-content: center;
}
.galery img{
	width: 100%;
}
.galery {
	margin: 1em auto;
}
.galery img:hover{
	display: block;
	border: solid;
	border-color: #660000;
}
.galery_item{
	position: relative;
	margin: auto 1em;
}
.galery_item img {
	display: block;
	width: 100%;
	height: auto;
}
.overlay{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: #fff;
}
.galery_item:hover .overlay {
	opacity: 1;
}
.overlay p {
	color: #660000;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}
.GrdSalle, .PttSalle{
	max-width: 980px;
	display: grid;
	margin: 2em auto;
}
.SDFcontent1, .SDFcontent2{
	grid-row: 3/4;
	grid-column: 1/4;
	display: grid;
	grid-template-rows: repeat(3, auto);
	grid-template-columns: 1fr 1fr 1fr;
}
.SDFTitle{
	padding: 5px;
	grid-column: 1/4;
	grid-row: 1;
	text-align: center;
	color: white;
	background-color: #660000;
}
.SDFbox{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column: 1/4;
	padding: 5px;
}
.Boxitems{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-column: 1/4;
}
.demarches li{
	margin-bottom: 0.5em;
}
/*______________________mentions légales________________________*/
.mentions_legals{
	width: 80%;
	margin: auto;
	display: flex;
	text-align: center;
}
.mentions_legals h6{
	padding-top: 1em;
	padding-bottom: 0.5em;
}
/*_________________________conseil_municipaux___________________________________________*/
.conseil_municipal{
	text-align: center;
}
.conseil_municipal div{
	margin: 2em 0px;
}
.conseil_municipal button{
	box-shadow: none;
}
.conseil_municipal button:hover{
	background-color: transparent;
}
.conseil_municipal a{
	color: #c95d5d;
}
.conseil_municipal a:hover{
	text-decoration: underline;
	color: #660000;
}
/*main .panel a{
	color: #c95d5d;
}*/
/*main .panel a:hover{
	color: #660000;
	text-decoration: solid;
}*/