/** Logo banner**/
.visuel-rubrique #entete {
  border-style: none;
  padding: 0;
  height: 8rem;
  top: 0.5rem;
}

div.visuel-rubrique {
  height: 10rem;
  min-height: 10rem;
}

#menu #cssmenu a {
  padding: 0 1.1rem;
  font-size: 1.1rem;
}
div#rs div.grid-item {
  width: 17rem;
}
@media screen and (max-width: 40em) {
  #cssmenu > ul > li.mobile > a {
    width: 7rem;
  }
  div.container-visuel-rubrique {
    height: 8rem;
  }
  div.visuel-rubrique {
    height: 8rem;
  }
  .visuel-rubrique #entete {
    padding-left: 1rem;
    border: 0;
    padding-top: 0;
    height: 7.7rem;
  }
}

#menu_vousetes_small {
  right: 3.7rem;
}

.avec_vignette_ajax div.vignette_deco2 {
  padding: 0.5rem 0.625rem 0 0.625rem;
  min-height: 10.5rem;
  max-height: 11.5rem;
}

/* Changements couleur accessibilitÃ© */

.pagelibre div.contenu .paragraphe--0 h2 {
  color: #53ad42;
}

ul.evenements span.categorie {
  display: block;
  color: #333333;
}

.avec_vignette_enligne .date-liste {
  font-size: 0.7rem;
}

.avec_vignette_enligne {
  font-size: 0.75rem;
}

.type_vignette_deco {
  color: #000;
  font-size: 0.75rem;
}

ul.liste-petitesannonces li span.categorie {
  color: #333333;
}

ul.evenements span.categorie {
  color: #333333;
}

/** Accordion **/

#page div.paragraphe--2 h2.ui-accordion-header,
#page div h2.ui-accordion-header {
  padding: 0.25rem 1.75rem;
}

.ckeditor-accordion .accordion_wrapper {
  padding: 1em;
}

.ckeditor-accordion .accordion_toggler button.accordion_toggler__btn {
  font-size: 1rem;
  font-weight: 700;
}

.ckeditor-accordion .accordion_toggler {
  margin-bottom: 0.5em;
}

.ckeditor-accordion .accordion_wrapper.active {
  display: block;
  margin-bottom: 1em;
}

/** Tabs **/
.ckeditor-tabs {
  padding-top: 2em;
}

.ckeditor-tabs .tabs_toggler.tabs_toggler__btn {
  padding: 0.8em 2.5em !important;
}

.ckeditor-tabs .tabs_toggler.desktop-only {
  margin: 0 !important;
}

.ckeditor-tabs .tabs_wrapper {
  padding: 1em;
}

.ckeditor-tabs .tabs_toggler.desktop-only:focus::before,
.tabs_toggler.desktop-only:focus-within::before,
.tabs_toggler.desktop-only:hover::before,
.tabs_toggler.desktop-only.active::before {
  width: 100% !important;
  height: 8px !important;
  border-left: 1px solid #fdaf17 !important;
  border-right: 1px solid #fdaf17 !important;
  background-color: #fdaf17 !important;
}

.tabs_toggler.desktop-only button {
  font-size: 1em;
  font-weight: 600;
  padding: 1em 2em;
}

@media only screen and (max-width: 1024px) {
  .tabs_toggler {
    width: 100%;
  }
}

/* Plan du site */
.plan-site ul li ul.plan-site__2 li span.plan-site__rubrique {
  text-transform: initial !important;
}

.plan-site ul li ul.plan-site__2 li:before {
  content: none;
}

ul .plan-site__2 {
  padding: 0 !important;
}

.plan-site > ul > li {
  min-height: 1rem;
}

/*SPECIFIQUE ELECTIONS 2025*/
.fiche_1730903202900 .bloc-container {
  text-align: center;
  font-weight: 700;
}
.fiche_1730903202900 .bloc-container h4 {
  font-weight: 700;
  padding: 0 0 1rem 0rem;
  font-size: 1.2rem;
}
.fiche_1730903202900 .bloc-container .icon-election-link {
  padding: 1.25rem 1.25rem 0 1.25rem;
  display: block;
  transition: 0.3s;
  color: #000;
}
.fiche_1730903202900 .bloc-container .icon-election-link:hover {
  color: #c43003;
}
.fiche_1730903202900.pagelibre div.paragraphe--1 {
  background-color: transparent;
  border: 1px solid #c3c3c3;
  margin: 0.625rem 0.3125rem;
  padding: 0.625rem 1.0625rem;
  font-size: 0.9rem;
}
.fiche_1730903202900 .ligne li {
  padding: 0.2rem 0;
}

.table-style {
  min-width: 500px;
  width: auto;
  border-collapse: collapse;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}
.table-style th,
.table-style td {
  border: 1px solid #ddd;
  padding: 15px 20px;
  text-align: center;
  word-break: normal; /* EmpÃªche les coupures de mots */
}
.table-style th {
  background-color: #585857;
  color: #fff;
  font-weight: bold;
}
.table-style tr:nth-child(even) {
  background-color: #f9f9f9;
}
.table-style p {
  margin: 0;
}
/* Classe pour empÃªcher les retours Ã  la ligne */
.no-wrap {
  white-space: nowrap;
}
/*FIN SPECIFIQUE ELECTIONS 2025*/

/*WIKIT*/
#botDiv {
  z-index: 9999999999;
}
.scrollup {
  bottom: 3.5rem;
  right: 3.25rem;
}
#tarteaucitronAlertSmall {
  right: initial !important;
  left: 0;
}
#creation_compte input[type="password"] {
  width: inherit;
}
#webchat__container {
  z-index: 1000000000000 !important;
}

@media screen and (max-width: 40em) {
  .webchat__btn {
    bottom: 0 !important;
    right: 1rem !important;
  }
  .webchat__header__btn {
    width: 4rem !important;
    height: 2rem !important;
  }
  .webchat__header__btn svg {
    width: 2rem !important;
    height: 2rem !important;
  }
  #webchat__header {
    justify-content: end !important;
  }
}
.webchat__btn__tooltip-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -7%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #ff0000 transparent transparent;
}

/*FIN WIKIT*/

/*CONFORT PLUS*/
#accessibilitytoolbarGraphic .ucibtn-secondary.active,
#accessibilitytoolbarGraphic .ucibtn-secondary:active,
#accessibilitytoolbarGraphic
  input[type="checkbox"]:checked
  + label.ucibtn-secondary {
  background-image: none;
  background-color: #53ad42 !important;
  border-color: #000 !important;
  color: #fff !important;
}
#accessibilitytoolbarGraphic .ucibtn-primary {
  background-color: #53ad42 !important;
  border-color: #000 !important;
  color: #fff !important;
  margin-left: 1.25em;
}
#accessibilitytoolbarGraphic .ucibtn-info.active,
#accessibilitytoolbarGraphic .ucibtn-info:active,
.open > #accessibilitytoolbarGraphic .ucibtn-info.dropdown-toggle {
  background-image: none;
  background-color: #53ad42 !important;
  border-color: #000 !important;
  color: #fff !important;
}
#accessibilitytoolbarGraphic .uci_menu_active a:focus,
#accessibilitytoolbarGraphic .uci_menu_active a:hover {
  border-color: #9b14ff !important;
}
#accessibilitytoolbarGraphic input[type="radio"]:checked + label:before {
  border-color: #53ad42 !important;
}
#accessibilitytoolbarGraphic input[type="checkbox"]:checked + label:after {
  background-color: #53ad42 !important;
}
/*FIN CONFORT PLUS*/

/* Logo container */
div.visuel-rubrique {
  height: 100%;
  min-height: 12rem;
}

.visuel-rubrique #entete {
  border-style: none;
  padding: 0;
  height: 100%;
  top: 0;
}

@media screen and (max-width: 40em) {
  div.container-visuel-rubrique {
    height: 100%;
  }
}
