@font-face {
  font-family: 'Simonetta';
  src: url('/polices/Simonetta-Regular.ttf');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.tout {
  min-height: 100vh;
  margin-bottom: 150px;
  flex: 1;
}


strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

html {
  height: 100%;
  font-family: 'Simonetta';
}

body {
  background: url("/Images/PageAccueil.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #000000;
  margin: 10px;
  padding:0;
  font-size: 21px;
  font-family: 'Simonetta';
  height: 100%;
}

a {
  text-decoration: underline rgba(0, 0, 0, .2);
}

:link{
  color: #181818;
}

a:visited {
  color: #472c2c;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #c1bebe;
  opacity: 0.32;
}

h3 {
  text-align: center;
  margin-top: 50px;
  font-size: 1.5em;
  font-weight: 600;
  text-decoration: underline;
  text-transform: uppercase;
}

h3 a {
  text-decoration: underline;
  font-weight: 600;
  text-transform: uppercase;
}

#lienH3 {
  text-align: center;
}

#lienH3 h3 {
  margin-top: 50px;
  text-decoration: underline;
  font-weight: 600;
  text-transform: uppercase;
}

#lienH3 h3 a {
  text-decoration: underline;
  font-weight: 600;
  text-transform: uppercase;
}




li + p {
  margin-top: -10px;
	text-align: justify;
  border-radius: 10px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  margin-inline-end: 10px;
  float: left;
}

header + p, header + .p {
	text-align: justify;
  margin-bottom: 3em;
  margin-left: 6% ;
  border-radius: 10px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  margin-inline-end: 60%;
}

h3 + p{
  text-align: justify;
  margin: 1.4em 30% 6em;
  border-style: ridge;
  border-radius: 10px 10px 10px 10px;
  border-block-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
}

header {
  display: flex;
  flex-direction: row;
}

.menu {
  width: 18%;
}

.menu > div {
  padding-top: 1em;
}

.titre {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.titre img {
  width: 50%;
}

.titre .nom-page {
  padding: 0.1em;
}

.titre .nom-page h1 {
  font-size: 1.2em;
}

.titre .nom-page h2 {
  font-size: 1em;
}


.titre img {
  min-width: 150px;
  width: 20%;
  padding: 1em 1em 1em 1em;
}

.titre div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.titre .logo {
  width: 15%;
  text-align: center;
}

.titre .nom-page {
  padding: 3em;
  text-align: center;
}

.connexion {
  width: 20%;
}

.connexion div {
  padding: 1em;
  text-align: center;
}

.connexionAdmin {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

#color hr {
	clear: both;
	visibility: hidden;
}

hr {
	background-color: orange;
	height: 1px;
}

h2 {
  font-size: 1.7em;
  margin: 0 1em 1em;
  font-weight: bold;
  text-align: center;
}

.lor{
	text-align: justify;
  margin-left: 2% ;
  margin-right: 2%;
  margin-top: 2em;
  margin-bottom: 3em;
  border-style: ridge;
  border-radius: 10px 10px 10px 10px;
  border-block-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 20px;
}

.lor p{
  margin-top: 15px;
  margin-left: 0%;
}

.lorbis{
	text-align: justify;
  margin-left: 3vw ;
  margin-right: 3vw;
  margin-top: 0;
  margin-bottom: 2em;
  border-style: ridge;
  border-radius: 10px;
  border-block-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
}

.lorbisAnnonce {
	text-align: justify;
  margin-left: 0.3em ;
  margin-right: 0.3em;
  margin-top: 0;
  margin-bottom: 1em;
  border-style: ridge;
  border-radius: 10px;
  border-block-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 7px;
}

.container_Annonces {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(100px, auto));
  grid-auto-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0px 0px;
  align-items: start;
  grid-template-columns: 1fr;
  grid-template-areas:
    "annoncesLocales"
    "evenements"
    "annoncesNationales";
}

.container_Annonces_Admin {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(100px, auto));
  grid-auto-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0px 0px;
  align-items: start;
  grid-template-areas:
    "annoncesNationales"
    "annoncesLocales";
}

.annoncesNationales { grid-area: annoncesNationales; }

.evenements { grid-area: evenements; }

.annoncesLocales { grid-area: annoncesLocales; }


/* #clanContainer {
  display: grid;
  grid-template-columns: 0.3fr 0.7fr;
} */




footer{
  border-bottom:1px solid white;
  position: relative;
  bottom: 0;
  width: 100%;
  height: 150px;
}

.footer {
  margin-top: 3em;
  display: flex;
  color: #181818;
  background-color: #f2eee3;
  border-top: 1px solid #e5e5e5;
  border-radius: 10px 10px 10px 10px;
}

.footer > * {
  flex:  1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2%;
}

.footer__logo {
  font-weight: 400;
  text-transform: lowercase;
}

.footer__logo img{
  width: 80px;
  padding: 0% 0% 0% 8%;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 1.7em;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
	flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  color: #999;
}







.citation {
	font-style: italic;
	text-align: center;
}


.titre_citation {
  font-size: 28px;
	font-weight: bold;
}

.source {
	text-align: left;
}


svg{
  transform: scale(1.4) ;
  display: block;
  margin-left: 0%;
  margin-bottom: 20%;
}

#map {
  max-width: 100vw;
  max-height: 100vw;
  margin-top: 7vw;
}

#map path {
  /* fill:#000000; */
  stroke:#FFFFFF;
  stroke-width:0.8;
  transition: stroke 0.3s;
  opacity: 0.7;
}

#map path:hover,
#map .active path {
  fill:#0f71b6 !important;
  stroke:#443e3e !important;
  transition: fill 0.3s stroke 0.3s;
}

#map .separator {
  stroke: #ccc;
  fill: none;
  stroke-width:1.5;
}
#map .separator:hover {
  stroke: #ccc;
  fill: none;
}

#carte {
  transform: scale(0.2);
  max-width: 100%;
  max-height: 100%;
  margin-top: -27%;
  margin-left: -10%;
  margin-bottom: -25%;
}


#groupesSelec {
  transform: scale(0.5);
  max-width: 100%;
  max-height: 100%;
  margin-top: -14%;
  margin-left: -10%;
  margin-bottom: -30%;
}


#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: table;
  position: absolute;
  top: 0;
  left: -100%;
  width: 150px;
  height: 155px;
  margin: 0;
  margin-top: -30px;
  padding: 100px 0 10px;
  list-style: none;
  background-color: rgba(236, 239, 241, 0.9);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
  border-radius: 10px 10px 10px 10px;

}
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #181818;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: rgba(236, 239, 241, 0.4);
}





.login-box {
  position: sticky;
  margin: auto;
  width: 500px;
  padding: 40px;
  background: #417fac;
  box-sizing: border-box;
  box-shadow: 0 5px 10px rgba(27, 91, 228, 0.6);
  border-radius: 10px;
  margin-bottom: 19%;
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #f2eee3;
  text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 90%;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
  border-radius: 5px;
  padding: 10px;
}

.login-box .user-box label {
  position: absolute;
  top:0;
  left: 0;
  padding: 10px 0;
  color: #f2eee3;
  pointer-events: none;
  transition: .5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -15%;
  left: 0;
  color: #080601;
  font-size: 0.8em;
}



fieldset {
  margin-bottom: 15px;
  padding: 10px;
  text-align: left;
}

legend {
  padding: 0px 3px;
  font-weight: bold;
  font-variant: small-caps;
}

label {
  width: 45%;
  display: inline-block;
  vertical-align: top;
  margin: 6px;
}


input:focus {
  background: #f2eee3;
}

input {
  width: 249px;
  border-radius: 3px 3px 3px 3px;
  border-color: gray;
  font-family: 'Simonetta';
  height: 25px;
  font-size: 0.9em;
}

textarea,
.textarea {
  border-radius: 3px 3px 3px 3px;
  border-color: gray;
  text-align: left;
  font-family: 'Simonetta';
  height: 5em;
  width: 50em;
  margin: 1em;
}

select {
  width: 36%;
  border-radius: 3px 3px 3px 3px;
  border-color: gray;
  font-family: 'Simonetta';
}

input[type=checkbox] {
  width: 10px;
}

input[type=submit] {
  width: 140px;
  /* padding: 20px; */
}

.form label {
  display: block;
  width: 100%;
}

.form label span {
  width: 30%;
  display: inline-block;
}

.form label input {
  width: 50%;
}

.form label textarea .textarea {
  width: 100%;
}

.form button, .button
.form label input,
.form label textarea .textarea {
  padding: 1em;
}

.button.disabled {
  cursor: default;
  color: gray;
}

form{
  margin-right: 10px;
}

#boutonsAnnonce {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

button,
.button {
  margin: 5px;
  color: #181818;
  border-radius: 5px;
  padding: 0.3rem 0.8rem;
  font-size: 1em;
  background: rgba(219, 226, 230, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow:inset 1px 1px 1px 0px rgba(255,255,255,.6),
  7px 7px 20px 0px rgba(0,0,0,.1),
  4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
  text-decoration: none   ;
}


.buttons .button,
.buttons form {
  display: inline-block;
}

button:after,
.button:after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  direction: rtl;
  z-index: -1;
  box-shadow:
   -4px -4px 14px 0px #fff9,
   -2px -2px 3px 0px #fff9,
   4px 4px 14px 0px #0002,
   2px 2px 3px 0px #0001;
  transition: all 0.3s ease;
}

button:hover:after,
.button:hover:after {
  left: auto;
  right: 0;
  width: 100%;
}
button:active,
.button:active {
  top: 2px;
}

button:focus,
.button:focus {
  outline: 2px solid green;
}

#boutonsAnnonce.boutons-ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

#boutonsAnnonce.boutons-colonne {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

#boutonsAnnonce.boutons-grille {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.5rem;
  justify-content: center;
}

.lienButton {
  margin-left: 8em;
}

.valide,
.erreurs {
  color: #ffffff;
  margin: 0 4%;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  min-height: 50px;
  padding: 1em;
  padding-left: 60px;
  border-radius: 1em;
}

.valide{
  background: #096306 url('/Images/valide.png') no-repeat 1% 50%;
  border-bottom: 10px solid #054603;
}


.erreurs{
  background: #dc3545 url('/Images/erreur.png') no-repeat 1% 50%;
  border-bottom: 10px solid #c51244;
}


.annoncesBandeauGauche
  {
	text-align: center;
  margin-right: 78%;
  margin-bottom: 2em;
  border-style: ridge;
  border-radius: 10px 10px 10px 10px;
  border-block-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.7);
}

.tableauAnnonces,
.tableauGroupes,
.tableauAdmin {
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5px;
  padding-right: 5px;
}

.tabAnnonces li,
.tabGroupes li,
.tabAdmin li {
  border-radius: 3px;
  padding: 9px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.tabGroupes li.contient {
  padding: 0;
  background-color: #F3EEE9;
}

.tabAnnonces,
.tabGroupes,
.tabAdmin {
  padding: 0;
}




.tabGroupes a {
  width: 100%;
  display: flex;
  padding: 13px 20px;
}

.tabAnnonces .categorie,
.tabGroupes .categorie,
.tabAdmin .categorie {
    background-color: #95A5A6;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tabAnnonces .contient,
.tabAdmin .contient {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
}

.tabAnnonces .contient {
  font-size: 0.9em;
}

.tabGroupes .contient {
  box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1);
}


.tabAnnonces .col-1 {
    flex-basis: 10%;
    text-align: center;
}

.tabAnnonces .col-2 {
    flex-basis: 15%;
    text-align: center;
}

.tabAnnonces .col-3 {
    flex-basis: 60%;
    text-align: center;
}

.tabAnnonces .col-6 {
  flex-basis: 20%;
  text-align: center;
}

.tabGroupes .col-1 {
  flex-basis: 20%;
}

.tabGroupes .col-2 {
  flex-basis: 20%;
}

.tabGroupes .col-3 {
  flex-basis: 25%;
}

.tabGroupes .col-4 {
  flex-basis: 35%;
}

.tabAdmin .col-1 {
  flex-basis: 24%;
  text-align: center;
}

.tabAdmin .col-2 {
  flex-basis: 25%;
  text-align: center;
}

.tabAdmin .col-3 {
  flex-basis: 25%;
  text-align: center;
}
.tabAdmin .col-4 {
flex-basis: 26%;
text-align: center;
}

article h3 {
  font-weight: bold;
  text-align: left;
  margin-left: 4%;
  margin-top: 2%;
  color: #181818;
  text-decoration: underline;
  font-weight: 600;
  text-transform: uppercase;
}

/* ### awesomplete ### */
.awesomplete [hidden] {
  display: none;
}

.awesomplete .visually-hidden {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

.awesomplete {
  display: inline-block;
  position: relative;
}

.awesomplete > input {
  display: block;
}

.awesomplete > ul {
  position: absolute;
  left: 0;
  z-index: 1;
  min-width: 100%;
  box-sizing: border-box;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
}

.awesomplete > ul:empty {
  display: none;
}

.awesomplete > ul {
border-radius: .3em;
margin: .2em 0 0;
background: hsla(0,0%,100%,.9);
background: linear-gradient(to bottom right, white, hsla(0,0%,100%,.8));
border: 1px solid rgba(0,0,0,.3);
box-shadow: .05em .2em .6em rgba(0,0,0,.2);
text-shadow: none;
}

@supports (transform: scale(0)) {
  .awesomplete > ul {
    transition: .3s cubic-bezier(.4,.2,.5,1.4);
    transform-origin: 1.43em -.43em;
  }

  .awesomplete > ul[hidden],
  .awesomplete > ul:empty {
    opacity: 0;
    transform: scale(0);
    display: block;
    transition-timing-function: ease;
  }
  }

  #mapLieu {
  height: 350px;
}

/* Pointer */
.awesomplete > ul:before {
  content: "";
  position: absolute;
  top: -.43em;
  left: 1em;
  width: 0; height: 0;
  padding: .4em;
  background: white;
  border: inherit;
  border-right: 0;
  border-bottom: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.awesomplete > ul > li {
  position: relative;
  padding: .2em .5em;
  cursor: pointer;
}

.awesomplete > ul > li:hover {
  background: hsl(200, 40%, 80%);
  color: #181818;
}

.awesomplete > ul > li[aria-selected="true"] {
  background: hsl(205, 40%, 40%);
  color: white;
}

  .awesomplete mark {
    background: hsl(65, 100%, 50%);
  }

  .awesomplete li:hover mark {
    background: hsl(68, 100%, 41%);
  }

  .awesomplete li[aria-selected="true"] mark {
    background: hsl(86, 100%, 21%);
    color: inherit;
  }

  /* ### awesomplete  FIN ### */



.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin-top: 10%;
  margin-bottom: 30%;
  margin-left: 10%;
  margin-right: 10%;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

.contenuPop table {
  overflow: hidden;
}
.contenuPop table {
  border: 1px double #b3b3b3;
  border-collapse: collapse;
  border-spacing: 0;
  height: 100%;
  width: 100%;
}

.contenuPop table td, .contenuPop table th {
  border: 1px solid #bfbfbf;
  min-width: 2em;
  padding: .4em;
}
.contenuPop td, .contenuPop th {
  overflow-wrap: break-word;
  position: relative;
}

.contenuPop blockquote {
  border-left: 5px solid #ccc;
  font-style: italic;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  padding-left: 1.5em;
  padding-right: 1.5em;
  text-align: left;
}

.contenuPop ul li, .contenuPop ol li {
  display: list-item;
  text-align: left;
  margin-bottom: 0;
  padding: 0;
}

.contenuPop ul {
  list-style-type: disc;
}

.contenuPop ol {
  list-style-type: decimal;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 1.7em;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #181818;
  text-decoration: none;
  cursor: pointer;
}

.box {
  background: rgba(255,255,255,0.2);
  border-radius: 20px/50px;
  text-align: center;
}
table  {
  table-layout: auto;
  width: 100%;
}

table button  {
  margin-bottom: 0;
  margin-top: 0;
}


table {
	border-collapse: collapse;
  margin: 0 auto 10px;
}

td {
	border: 2px solid green;
	vertical-align: Middle;
}

.colonne_gauche {
	width: 50px;
	text-align: center;
	Background-color: #99CC66;
	font-size: 0.9em;
	overflow: hidden;
}

.colonne_contenu {
	width: 100%;
	text-align: justify;
	Background-color: white;
	font-size: 0.9em;
	padding: 10px;
	overflow: hidden;
}

.bandeau_infos {
  color: #EE4A5A;
	font-family: "Lucida Handwriting";
	text-align: center;

}


/* mail Infos */

.mailInfos,
.container_mailTitre {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr 1.5fr;
  grid-auto-columns: 1fr;
  background-color: #fff4e6;
  padding: 5px;
}

.container_mailTitre {
  grid-template-areas:
    "titre_type titre_lieu titre_info";
}

.mailInfos {
  grid-template-areas:
    "types_dates details details"
    "types_dates lieux contact";
}


.titre_type {
  grid-area: titre_type;
}

.titre_lieu {
  grid-area: titre_lieu;
}

.titre_info {
  grid-area: titre_info;
}

.types_dates {
  grid-area: types_dates;
}

.details {
  grid-area: details;
}

.lieux {
  grid-area: lieux;
}

.contact {
  grid-area: contact;
}

.titre_type,
.titre_lieu,
.titre_info,
.types_dates,
.details,
.lieux,
.contact {
  text-align: center;
  border: double;
}

/* page 404*/

.page_404{
	overflow-x: hidden;
  padding: 30px 100px;
}

@media (max-width: 400px) {
  .container_Annonces {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "annoncesLocales"
      "evenements"
      "annoncesNationales";
  }
}


@media (min-width: 400px) and (max-width: 769px) {
  .container_Annonces {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "annoncesLocales"
      "evenements"
      "annoncesNationales";
  }

  .titre {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .titre img {
    width: 50%;
  }

  .titre .nom-page {
    padding: 0.1em;
  }

  .titre .nom-page h1 {
    font-size: 1.4em;
  }

  .titre .nom-page h2 {
    font-size: 1em;
  }

  h2 {
    font-size: 1.7em;
    margin: 0 1em 1em;
  }

  .connexion .button {
    padding: 8px;
    font-size: 0.9em;
  }

  svg {
    transform: scale(0.9); /* Adjust scale for smaller screens */
    margin-left: 0;
    margin-bottom: 5%;
  }

  #map {
    margin-top: 2%;
    width: 95%; /* Further decrease width for very small screens */
    height: auto;
  }

  #carte {
    transform: scale(0.4); /* Reduce scale for small phones */
    margin-top: -10%;
    margin-left: 0;
    margin-bottom: -5%;
  }

  button,
  .button {
    padding: 0.4rem 0.9rem;
    font-size: 1.2rem;
  }

  /* Further adjust box shadow */
  button,
  .button {
  box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, 0.3),
                4px 4px 12px 0px rgba(0, 0, 0, 0.1),
                2px 2px 3px 0px rgba(0, 0, 0, 0.1);

  }

  button:after,
  .button:after {
    box-shadow: -3px -3px 10px 0px #fff9,
                -1px -1px 2px 0px #fff9,
                3px 3px 10px 0px #0002,
                1px 1px 2px 0px #0001;
  }
}


/* Responsive design for smaller screens (e.g., phones) */
@media (min-width: 769px) {
  .container_Annonces {
    display: grid;
    grid-template-columns: 0.7fr 0.8fr;
    grid-template-areas:
      "annoncesLocales evenements"
      "annoncesNationales annoncesNationales";
  }

  /* Removed duplicate .container_Annonces_Admin definition */

  .titre {
    display: flex;
    flex-direction: revert;
    align-items: center;
  }


  .titre img {
    min-width: 150px;
    width: 20%;
    padding: 1em 1em 1em 1em;
  }

  .titre div {
    display: flex;
    align-items: center;
    margin: 0;
  }

  .titre .logo {
    width: 15%;
    text-align: center;
  }

  .titre .nom-page {
    padding: 3em;
    text-align: center;
  }

  .titre .nom-page h2 {
    font-size: 1.6em;
  }
  .titre .nom-page h1 {
    font-size: 1.9em;
  }

  .connexion {
    text-align: center;
    margin-top: 1em;
  }

  .connexion .button {
    width: 100%;
  }

  .connexion div {
    padding: 1em;
  }

  svg{
    transform: scale(1.4) ;
    display: block;
    margin-left: 30%;
    margin-bottom: 20%;
  }

  #map {
    max-width: 100vw;
    max-height: 100vw;
    margin-top: 7vw;
  }

  #map path {
    /* fill:#000000; */
    stroke:#FFFFFF;
    stroke-width:0.8;
    transition: stroke 0.3s;
    opacity: 0.7;
  }

  #map path:hover,
  #map .active path {
    fill:#0f71b6 !important;
    stroke:#443e3e !important;
    transition: fill 0.3s stroke 0.3s;
  }

  #map .separator {
    stroke: #ccc;
    fill: none;
    stroke-width:1.5;
  }
  #map .separator:hover {
    stroke: #ccc;
    fill: none;
  }

  #carte {
    transform: scale(0.5);
    max-width: 100%;
    max-height: 100%;
    margin-top: -27%;
    margin-left: -10%;
    margin-bottom: -25%;
  }

  button,
  .button {
    padding: 0.4rem 1rem;
    font-size: 0.95em;
  }

  button,
  .button {
    box-shadow: inset 1px 1px 1px 0px rgba(255, 255, 255, 0.4),
                5px 5px 15px 0px rgba(0, 0, 0, 0.1),
                3px 3px 4px 0px rgba(0, 0, 0, 0.1);
  }

  button:after,
  .button:after {
    box-shadow: -4px -4px 12px 0px #fff9,
                -2px -2px 3px 0px #fff9,
                4px 4px 12px 0px #0002,
                2px 2px 3px 0px #0001;
  }
}
