/* auddice */

/* header.html */
.border-bottom {
  border-bottom: 1px solid #006F96 !important;
}
.border-bottom.logo {
  border-bottom-width: 2px !important;
}

img.logo_mobile {
  display:none;
}

a.mail {
  color: #006f96 !important;
  font-size: 21px;
}
a.mail:hover {
  color: #76B82A !important;
}
a.admin {
  color: white !important;
  background-color: #FCBE00 !important;
  font-size: 21px;
  /*font-family: "gill-sans-nova" !important;*/
  font-weight: 400;
}

.logo_slogan.logo {
  width: 100%;
}
.logo_reglem.logo {
  height: 80px;
  width: auto;
}

.mainlinks a:not(:first-child)::before {
  display: inline-flex !important;
  content: "|";
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
.mainlinks a {
padding: 10px 15px;
  border-radius: 5px;
  text-transform: uppercase;
  line-height: 3;
  font-weight: 500;
  text-decoration: none;
  font-family: Arial;
  font-size: 20px;
}

.mainlinks a:hover {
  color: #006f96;
}

.epcilinks a {
  color: #3a3a3a;
  line-height: 3;
  font-weight: 400;
}
.epcilinks a:hover {
  color: #006f96;
}
.epcilinks a:not(:first-child)::before {
  display: inline-flex !important;
  content: "|";
  padding-right: 1.2rem;
  padding-left: 1.2rem;
}


.themelinks a {
  color: #3a3a3a;
  line-height: 2;
  font-weight: 400;
}
.themelinks a:hover {
  color: #006f96;
}
.themelinks a:not(:first-child)::before {
  display: inline-flex !important;
  content: "|";
  padding-right: 1rem;
  padding-left: 1rem;
}

/* Formulaires */

#formulaire_forum {
  position: relative;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.formulaire_spip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

fieldset {
  border: none;
  margin: 10px 0;
  padding: 15px;
  background: rgba(240, 240, 240, 0.8);
  border-radius: 8px;
  width: 100%;
}

input[type="text"], input[type="file"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

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

.editer-groupe {
  margin: 15px 0;
  width: 100%;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}



/* footer.html */
.footer-text{
  font-size: 18px;
  font-weight: 400;
}
.footer-text a{
  margin-right: .25rem !important;
  margin-left: .25rem !important;
}


.border-top {
  border-top: 3px solid #006F96 !important;
}

a {
  color: #3a3a3a;
}
a:hover {
  color: #006f96;
}


.text-justify p {
  text-align: justify;
  text-justify: auto;
}
.text-indent p {
  text-indent: 3rem;
}

.chart_title {
  color: #3a3a3a;
  font-weight: 400;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: justify;
  font-size: 1.3rem;
  margin-left: 2.2rem;
  text-align: center;
}

.chart_unites {
  margin-left: 2.2rem;
}

.titre_sous_rubrique {
  color: #3a3a3a;
  font-weight: 450;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: justify;
}

.titre_sous_rubrique.h1 {
  color: #005878;
}

.titre_sous_rubrique.h2 {
  margin-left: 1rem;
  color: #24B0BF;
}
.titre_sous_rubrique.h3 {
  margin-left: 1.5rem;
  color: #016f96;
}
.titre_sous_rubrique.h4 {
  margin-left: 2rem;
  color: #1a7da0;
}
.titre_sous_rubrique.h5 {
  margin-left: 2.5rem;
  color: #338bab;
}


.text-selected, a.text-selected{
  color: #006f96;
}

/* Flèches en bleues dans le carroussel */
.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
 }
.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control-prev,
.carousel-control-next,
.carousel-control-prev:hover,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-next:focus
{
  opacity: 1 !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
  width: 5rem;
  height: 5rem;
}

.espacement-rubriques {
  margin: 1rem;
}

/**
* Supprimer les espaces dans le sommaire pour la présentation des données par thèmes
*/
.auddice-toc ul{
  margin-bottom: 0rem;
  padding-left: 1.5rem;
}
.auddice-toc-titre{
  color: #005878;
}
.auddice-toc{
  font-size: 0.9rem;
  text-align: justify;
}

div.carte {
	text-align:right;
	position: relative;
	margin-top: -180px;
}

div.carte img {
  height: auto;
  width: 480px;
}

@media (max-width: 700px) {

  .col-6 {
    width: 100%;
  }

  .col-8 {
    width: 100%;
  }

  .col-10 {
    width: 100%;
  }

  .aud-sticky-toc {
    display: none;
  }



  img.logo_mobile {
    display: block;
  }

  .logo_slogan.logo {
    display: none;
  }

  .container .text{
    font-size: 30px;
  }
  .container form{
    padding: 10px 0 0 0;
  }
  .container form .form-row{
    display: block;
  }
  form .form-row .input-data{
    margin: 35px 0!important;
  }
  .submit-btn .input-data{
    width: 40%!important;
  }
}

.col-10 {
  flex: 0 0 auto;
  width: 83.33333333%;
  box-shadow: 16px 16px 20px rgba(0, 0, 0, .45);
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}


/**
 * Modifie la taille des containers en mode responsive pour ce site
 */
@media (min-width: 576px) and (max-width:768){
  .container, .container-sm {
    max-width: 570px;
  }
}
@media (min-width: 768px) and (max-width:992) {
  .container, .container-md, .container-sm {
    max-width: 760px;

  }
}
@media (min-width: 992px) and (max-width:1200) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 990px;

  }
}
@media (min-width: 1200px) and (max-width:1400) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1200px;
  }
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1400px;
  }
}


/* Partie graphique EPCI */
.aud-container{
  display: flex;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}
.aud-sticky-toc{
  position: sticky;
  top: 0;
  height: 25vh;
}
.aud-content{
  height: auto;
}

/* --- Centrage du logo sur mobile --- */
@media (max-width: 767px) {
  /* Sur mobile, on force le centrage du contenu dans le conteneur logos */
  .logos .logos_reglems {
    justify-content: center;
  }
}

/* --- Styles pour le bouton burger --- */
.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

/* Style des lignes du burger */
.burger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: #000;
  margin: 4px 0;
}

/* Par défaut, masquer l'input toggle et le bouton burger sur les grands écrans */
.nav-toggle {
  display: none;
}
.burger-menu {
  display: none;
}

/* Par défaut, sur les écrans supérieurs à 800px, le toggle et le burger sont masqués */
.menu-toggle,
.burger-toggle {
  display: none;
}

/* Sur les écrans de 800px et moins */
@media (max-width: 800px) {
  /* On garde l'input caché */
  .menu-toggle {
    display: none;
  }

  /* Masquer le menu par défaut */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  /* Lorsque le toggle est coché, afficher le menu */
  .menu-toggle:checked + .burger-toggle + .nav-links {
    display: flex;
  }


  .burger-toggle {
    display: none !important;
  }



}
