body{

	background-color: darkslategrey;
    background-image: url(village10.jpg);
    background-size: cover;
    font-family: arial, sans-serif;
    
}



input, textarea {

max-width: 80%;

}




    .button-container {
    display: flex;
    justify-content: center; /* Centre les boutons */
    gap: 30px; /* Ajoute un espace entre les boutons */
    margin-top: 15px; /* Espacement en haut */
}

.button-container input[type="submit"] {
     min-width : 110px;/* Largeur uniforme pour les boutons */
    padding: 8px 16px; /* Espacement intérieur pour les boutons */
    font-size: 13px; /* Taille du texte */
    border: none;
    background-color: #4CAF50; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border-radius: 5px; /* Bord arrondi */
    cursor: pointer;
    text-align: center;
}

.button-container input[type="submit"]:hover {
    background-color: #45a049; /* Changement de couleur au survol */
}



.bronoff{
    display: none;
}

    .top-banner {
        position: fixed;  /* Fixe la bande en haut de la page */
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Fond sombre semi-transparent */
        color: white;
        padding: 5px 0;
        text-align: center;
        z-index: 1000; /* Assure que la bande soit visible par-dessus le contenu */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Ombre pour un meilleur effet visuel */
    }


/* Style pour les éléments de liste dans la barre de navigation */
.top-banner .lignecobis {
    list-style: none; /* Retire les puces de liste */
    margin: 0;
    padding: 0;
    display: flex; /* Affiche les éléments de manière horizontale */
    justify-content: center; /* Centre les éléments */
}

/* Style pour chaque lien */
.top-banner .lignecobis li {
    margin: 0 20px; /* Espace entre les liens */
}

/* Style pour les liens */
.top-banner .lignecobis a {
    color: white; /* Texte blanc */
    text-decoration: none; /* Retire les soulignements */
    font-size: 18px; /* Taille de la police */
    transition: color 0.3s; /* Ajoute une transition pour l'effet hover */
}

.top-banner .lignecobis a:hover {
    color: #F4D03F; /* Change la couleur au survol */
}




    /* Bande en haut */
    .bottom-banner {
        position: fixed;  /* Fixe la bande en haut de la page */
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Fond sombre semi-transparent */
        color: white;
        padding: 5px 0;
        text-align: center;
        z-index: 1000; /* Assure que la bande soit visible par-dessus le contenu */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Ombre pour un meilleur effet visuel */
    }




    .ville-group {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: transparent;
}

#suggestions {
    position: absolute;
    color: black;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color:lightgray;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#suggestions ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 10px;
    color: black;
}
#suggestions li:hover {
    background-color: #f2f2f2;
}



.suggestions {
    position: absolute;
    color: black;
    top: 100%;
    left: 0;
    z-index: 100;
    background-color:lightgray;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.suggestions ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 10px;
    color: black;
}
.suggestions li:hover {
    background-color: #f2f2f2;
}







    .activite-group {
    position: relative;
    display: inline-block;
    width: 100%;
    background-color: transparent;
}
#suggestionsa {
    position: absolute;
    color: black;
    top: 100%;
    left: 0;
    z-index: 101;
    background-color:lightgray;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 85%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
#suggestionsa ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#suggestionsa li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 10px;
    color: black;
}
#suggestionsa li:hover {
    background-color: #f2f2f2;
}




.suggestionsa {
    position: absolute;
    color: black;
    top: 100%;
    left: 0;
    z-index: 101;
    background-color:lightgray;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 85%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.suggestionsa ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.suggestionsa li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 10px;
    color: black;
}
.suggestionsa li:hover {
    background-color: #f2f2f2;
}



/* Style pour la barre de navigation en bas de la page */
.footer-nav {
    position: fixed; /* Position fixe en bas de la page */
    bottom: 0; /* Fixe la position en bas */
    left: 0; /* Aligne à gauche */
    width: 100%; /* Prend toute la largeur de la page */
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent (vous pouvez ajuster l'opacité) */
    color: white; /* Couleur du texte */
    padding: 10px 0; /* Espacement vertical */
    text-align: center; /* Centre le texte */
    z-index: 1000; /* Assurez-vous que c'est au-dessus des autres éléments */
}

/* Style pour les éléments de liste dans la barre de navigation */
.footer-nav .lignecobis {
    list-style: none; /* Retire les puces de liste */
    margin: 0;
    padding: 0;
    display: flex; /* Affiche les éléments de manière horizontale */
    justify-content: center; /* Centre les éléments */
}

/* Style pour chaque lien */
.footer-nav .lignecobis li {
    margin: 0 20px; /* Espace entre les liens */
}

/* Style pour les liens */
.footer-nav .lignecobis a {
    color: white; /* Texte blanc */
    text-decoration: none; /* Retire les soulignements */
    font-size: 18px; /* Taille de la police */
    transition: color 0.3s; /* Ajoute une transition pour l'effet hover */
}

.footer-nav .lignecobis a:hover {
    color: #F4D03F; /* Change la couleur au survol */
}


/*
::-webkit-scrollbar {
  width: 10px;
  
  
  background-color: black;
}
 

::-webkit-scrollbar-thumb {
    background-color: rgba(150, 150, 150 , 1.0);
  
}
 

::-webkit-scrollbar-corner {
  background-color: #F5F5F5;

}
*/

/*

::-webkit-scrollbar {
  width: 10px;
  
  background-color: #342719;
}
 
 Style pour le bouton de la barre de défilement 
::-webkit-scrollbar-thumb {
  background-color: #5893AC;

}
 
 Style pour le coin de la barre de défilement 
::-webkit-scrollbar-corner {
  background-color: #F5F5F5;
}

*/








.premiere-ligne {
	margin-top: 0px;
	text-align: center;
  line-height: 1.1; /* Hauteur de ligne légèrement plus grande pour la première ligne */
  margin-bottom: 0px; /* Espacement supplémentaire après la première ligne */
}





/* pour ajouter voisin */
.avatarr {
  width: 40px;
  height: 40px;
  transform: translate(0, 25%);
}


/* pour recherche */
.avatarrr {
  width: 60px;
  height: 60px;
  transform: translate(0, 40%);
  margin-left: 10px;
  margin-bottom: 10px;
}





/*
.form-recherche input {
    border-radius: 5px;
}
*/

#searchform input {
    border-radius: 5px;
    padding: 3px;
}


#insfond{

	background-color: darkslategrey;
    background-image: url(fondinsmedieval.png);
    /*background-image: url(img/m.jpg); img/ia.jpeg fondiaordi1.png*/
    background-size: cover;
    font-family: arial, sans-serif;
}
a{
	text-decoration: none;
}

header{
	text-align: center;
}
h1{
	color: saddlebrown ;
	text-align: center;
    font-weight: bold;
    font-size: 30px;

}
/* .h2inscri{
	color: saddlebrown ;
} */

.h1inscri, .h2inscri{
    color: white;
    font-size: 30px;
}

#suppcpt{
	position: absolute;
	left: 10px;
	bottom: 10px;
	
}


.container{
    
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	/*min-width: 500px;*/
    min-width: 40vw;
    
	height: auto;
	font-weight: bold;
	border: 2px solid black;
	border-radius: 20px;
    background-color: #333;
	/*background-color: rgba(82, 46, 8, 1); */
	color: bisque;
   }





.containerCo{
    padding-bottom: 5px;
	position: absolute;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -50%);
	/*min-width: 450px;*/
    min-width: 40vw;
	width: auto;
	/*min-height: 275px;*/
    min-height: 30vh;
	height: auto;
	font-weight: bold;
	border-radius: 20px;
	border: 2px solid black;
	background-color: #333;
    /*background-color: rgba(82, 46, 8, 1); */
	color: #F7DC6F;
   }






.containerCompte{
    padding-left: 20;
	position: absolute;
	left: 50%;
	top: 55%;
	transform: translate(-50%, -55%);
	min-width: 600px;
	width: auto;
	height: auto;
	padding-bottom: 20px;
	font-weight: bold;
	border: 2px solid black;
	border-radius: 15px;
	border-radius: 15px;
	background-color: #333;
    /*background-color: rgba(82, 46, 8, 1); */
	color:  #F7DC6F;
   }

   .containerCompte table{
   	color:  #F7DC6F;
   }

.containerAj{
   
	position: absolute;
	left: 50%;
	top: 65%;
	transform: translate(-50%, -55%);
	min-width: 70vw;
	width: auto;
	height: auto;
	padding-bottom: 20px;
	font-weight: bold;
	border: 2px solid black;
	border-radius: 15px;
	border-radius: 15px;
	/*background-color: #3B250F;*/
    background-color: #333;
	color:  #F7DC6F;
   }


   .containerAj table{
   	color:  #F7DC6F;
   }


   table{
   transform: translate( 10%, 5%);
   }
   td{
   	
   	padding-left: 15px;
   	padding-bottom: 8px;
   }
label{
	text-align: right;
	color:  #F7DC6F;
	font-weight: bold;
}
.td1{
	text-align: right;
}

.ligne {
	display: flex;

}
.ligne li {
	
	display: inline;
	margin-left: 2%;
}


.ligneco li{
	list-style: none;
    display: inline;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}






.containerRecap{
    overflow: auto;
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	height: auto;
    min-height: 30vw;
	max-height: 70vh;
	font-weight: bold;
	border: 2px solid black;
	/*background-color: #784212; */
    background-color: #333;
    color: #F7DC6F;


    border-radius: 10px;
    margin-bottom: 10px;
   }

 .containerRecap p{
 	margin-left: 5px;
 }
.licolor{
	color: #A9CCE3;
}



.containerAnn{
	
	margin-top: 2px;
	border-radius: 30px;
	margin-bottom: 10px;
	
	/*background-color:#034A58;
    color: #F7DC6F;*/
    background-color: lightgray;
    color: black;
	border: 3px solid black;
    height: auto;
}


 a{
 	color: #F7DC6F;
 	font-weight: bold;
 	text-decoration: underline;
 	font-size: 14px;
 }

.containerrecherche{
    
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -20%);
	/* min-width: 450px; 
    min-height: 250px; */
	width: auto;
	height: auto;
	padding: 3vw ;
    min-width: 30vw;
	font-weight: bold;
	border: 2px solid black;
	border-radius: 15px;
	/* background-color: rgba(82, 46, 8, 1); */
    background-color: #333;
	color: #F7DC6F;
   }






   .containerdepose{
    
	position: absolute;
	border-radius: 20px;
	left: 50%;
	top: 45%;
	transform: translate(-47%, -25%);
	/*padding: 10px;*/
    min-width: 40vw;
    width: auto;
    height: auto;
    padding: 5px;
    /*min-height: 300px;*/
	font-weight: bold;
	border: 2px solid black;
	/* background-color: rgba(82, 46, 8, 1); */
    background-color: #333;
	color: #F7DC6F;
   }

   .suggestions li {
    cursor: default;
}
.suggestions li:hover {
    text-decoration: underline;
}





.containerRecup{
    overflow: auto;
	position: absolute;
	left: 50%;
	top: 65%;
	transform: translate(-40%, -55%);
	min-width: 450px;
	width: auto;
	max-width: 600px; 
	height: auto;
	min-height: 250px;
	font-weight: bold;
	border: 2px solid black;
	background-color: #333;
	color: white;
    padding-left: 15px;
    padding-right: 15px;

    border-radius: 10px;
    margin-bottom: 10px;
   }

 .containerRecup p{
 	margin-left: 5px;
 }



 .Modif {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .Modif li {
    margin: 0 10px;

  }
  
  .Modif li a,

  .Modif li input[type="submit"] {
    padding: 5px 10px;
    background-color: #ddd;
    color: #333;
    border: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    font-style: initial;
    text-decoration: underline;
    font-weight: initial;
    font-size: 14px;
    margin-top: 0px;

   
  }








#suggestions li {
    cursor: default;
}
#suggestions li:hover {
    text-decoration: underline;
}

#suggestions {
	color: black;
    position: absolute;
    top: calc(100% + 5px); /* 5px est l'espacement entre la barre de saisie et les suggestions */
   border-radius: 15px;
    width: 100%; /* Largeur de la barre de saisie */
    background-color: lightgray; /* Couleur de fond pour le conteneur des suggestions */
    border: 1px solid gray; /* Bordure pour le conteneur des suggestions */
    z-index: 1; /* Pour passer par dessus le texte en dessous */
}

   #suggestionsa li {
    cursor: default;
}
#suggestionsa li:hover {
    text-decoration: underline;
}

#suggestionsa {
	color: black;
    position: absolute;
border-radius: 15px;
    top: calc(100% + 5px); /* 5px est l'espacement entre la barre de saisie et les suggestions */
    left: 10%;
    width: 100%; /* Largeur de la barre de saisie */
    background-color: lightgray; /* Couleur de fond pour le conteneur des suggestions */
    border: 1px solid gray; /* Bordure pour le conteneur des suggestions */
    z-index: 1; /* Pour passer par dessus le texte en dessous */
}






input[type="submit"] {
    background-color: rgb(240, 240, 240)
;
    color: black;
    border: none;
    padding: 6px 10px;
    margin: 1px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}



/* Styles pour le menu */
      .menu {
        display: none; /* le menu est caché par défaut */
        position: absolute;
        z-index: 9999;
        top: 50px;
        right: 10px;
        width: 15%;
        background-color: #333;
        padding: 10px;
        box-sizing: border-box;
        text-align: center;
        border-radius: 10px;
        border: 2px solid gray;
      }
      .menu li {
        margin: 10px;
       list-style: none;
      }

      .menu a:hover{
    text-decoration: underline;
    cursor: pointer;
}

      .menu a {
        color: #D3C58A;
        text-decoration: none;
        font-size: 16px;
      }
      
      /* Styles pour le bouton hamburger */
      .hamburger {
        position: fixed;
        top: 5vw;
        right: 5vw;
        z-index: 9999;
        width: 40px;
        height: 40px;
        background-color: #333;
        border-radius: 5px;  
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      .hamburger span {
        transform: translate(0px, 5px);
        width: 70%;
        height: 3px;
        background-color: #D3C58A ;
        display: block;
        margin: 5px;
        transition: all 0.3s ease-in-out;
      }

    

.styleannonce{
    line-height: 1;
    margin-top: 5px;
    padding-left: 125px;
    padding-right: 125px;
    margin-bottom: 0;
    margin-bottom: 2px;
}
.containerAddVignette{
    padding-left: 20px;
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -55%);
    min-width: 600px;
    width: auto;
    height: auto;
    padding-bottom: 20px;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 15px;
    border-radius: 15px;
    background-color: #333;
    color:  white;
   

   
}

.containerAddVignette table{
    color:  white;
   }
.btn-marche-container {
    text-align: center;
    margin-top: 30px;
}

.btn-marche {
    display: inline-block;
    background-color: #F4D03F;
    color: black;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-marche:hover {
    background-color: #d4b02f;
    transform: translateY(-2px);
}


@media (max-width: 767px) {
    body{
        background-image: url(afficheMV1.png);
                background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
    .suggestions{
        
        width: 90%;
    }
    #suggestions{
        
        width: 90%;
    }
    .suggestionsa{
        left: 0%;
        width: 90%;
    }
    #suggestionsa{
        left: 0%;
        width: 90%;
    }
    .menu{
        width: 50%;
    }
    .styleannonce{
        padding-left: 0px;
        padding-right: 0px;
    }
 

    .container{
    display: none;
}

    .containerAddVignette, .containerdepose,.container, .containerCompte, .containerRecup, .containerRecap, .containerrecherche, .containerAj, .containerCo{
     
    position: absolute;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%,-50%);
    min-width: 90vw;

    }
    /*
    input, textarea {
        max-width: 80%;
    }
*/
    .containerRecap{
        min-height: 25vh;
        height: auto;
        max-height: 70vh;
        width: 100vw;


    }
    .containerrecherche{
        min-width: 80vw;
        width: 80vw;
    }
    
    .containerAnn{
        margin-top: 2vh;
        width: 100%;

        max-height: 150px;
    }



    .lignecobis{
        z-index:2;
        top: 80vh;
    }
    #suppcpt{
        bottom: 80vh;
    }
   

    .Modif li input{
        width: 40vw;
    }
    .collevignette{
        width: 45vw;
    }
    .containerAddVignette{
        width: 95vw;
    }
    .containerAddVignette table{
        transform: none;
        width: 100%;

    }
    .containerAddVignette table td input{
        width: 100%;
    }
    
    table{
   transform: translate( 5%, 5%);
   }
   td{
    
    padding-left: 5px;
    padding-bottom: 8px;
   }



#insfond{

    background-image: url(img/mphone.jpg);
                background-size: cover;
        background-position: center;
        background-attachment: fixed;
}

input[type="submit"] {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #218838;
}
   
}

@media (max-width: 767px) {
    body{
        padding-top: 20px;
    }
    .button-container {
    display: flex;
    justify-content: center; /* Centre les boutons */
    gap: 25px; /* Ajoute un espace entre les boutons */
    margin-top: 10px; /* Espacement en haut */
}

.button-container input[type="submit"] {
    /* Largeur uniforme pour les boutons */
    padding: 6px 12px; /* Espacement intérieur pour les boutons */
    font-size: 13px; /* Taille du texte */
    border: none;
    background-color: #4CAF50; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border-radius: 5px; /* Bord arrondi */
    cursor: pointer;
    text-align: center;
}

.button-container input[type="submit"]:hover {
    background-color: #45a049; /* Changement de couleur au survol */
}




       .bronoff{
        display: block;
    }
    .top-banner {
        position: fixed;  /* Fixe la bande en haut de la page */
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Fond sombre semi-transparent */
        color: white;
        padding: 10px 0;
        text-align: center;
        z-index: 1000; /* Assure que la bande soit visible par-dessus le contenu */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Ombre pour un meilleur effet visuel */
    }

    /* Bande en haut */
    .bottom-banner {
        position: fixed;  /* Fixe la bande en haut de la page */
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Fond sombre semi-transparent */
        color: white;
        padding: 10px 0;
        text-align: center;
        z-index: 1000; /* Assure que la bande soit visible par-dessus le contenu */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Ombre pour un meilleur effet visuel */
    }

    /* Style du texte dans la bande en haut */
    .h1inscri {
        font-size: 20px; /* Taille de police plus petite */
        color: white; /* Jaune clair pour le texte */
        margin: 0; /* Enlève la marge pour que le texte soit parfaitement centré */
        font-weight: bold;
    }

 

    /* Ajout de marge en bas pour éviter que le contenu ne soit masqué par la barre fixe */
    body {
        padding-top: 60px; /* Pour laisser de l'espace sous la bande */
    }
}