input[type=checkbox]:not(:checked), input[type=checkbox]:checked {
  position: relative !important;
  pointer-events: auto !important;
  opacity: 1 !important;
}

details {
  margin-left: 15px;
  margin-right: 15px;
  text-align: center;
}
details > summary {
  outline: 0;
  color: var(--main-color);
  font-weight: 500;
  list-style: none;
  text-transform: uppercase;
  border-bottom: 2px solid var(--main-color);
  padding: 0 1rem 0.25rem;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] > summary {
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--main-color);
}
details#filtres-detail[open] > summary {
  border-bottom: 3px solid var(--main-color);
}
details:not(#card-navigation-detail):not(#annuaire-filtres-detail):not(#events-filtres-detail) > summary::before, details#card-navigation-detail > summary .sub-title::before, details#annuaire-filtres-detail > summary .sub-title::before, details#events-filtres-detail > summary .sub-title::before {
  content: "";
  border: solid var(--main-color);
  border-width: 0 1.9px 1.9px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transition: transform 200ms linear;
  margin-right: 10px;
  margin-bottom: 2px;
}
details:not(#card-navigation-detail):not(#annuaire-filtres-detail):not(#events-filtres-detail)[open] > summary::before, details#card-navigation-detail[open] > summary .sub-title::before, details#annuaire-filtres-detail[open] > summary .sub-title::before, details#events-filtres-detail[open] > summary .sub-title::before {
  margin-bottom: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transition: transform 200ms linear;
}
details#card-navigation-detail > summary .title, details#annuaire-filtres-detail > summary .title, details#events-filtres-detail > summary .title {
  font-size: large;
  font-weight: 900;
}
details .badge-counter {
  color: white;
  background-color: var(--main-color);
  border-radius: 20px;
  padding-left: 8px;
  padding-right: 8px;
}
details:not(#annuaire-filtres-detail):not(#events-filtres-detail):not([data-drupal-iwc]):not(.project-fieldset) input:not(#edit-captcha-response) {
  display: none;
}
details:not(#annuaire-filtres-detail):not(#events-filtres-detail):not([data-drupal-iwc]):not(.project-fieldset) input:checked + label {
  color: white;
}
details:not(#annuaire-filtres-detail):not(#events-filtres-detail):not([data-drupal-iwc]):not(.project-fieldset) label:not(.edit-comment) {
  border: 1px solid var(--main-color);
  color: var(--main-color);
  border-radius: 20px;
  margin: 5px;
  padding: 3px 15px 3px 15px;
  cursor: pointer;
}
details:not(#annuaire-filtres-detail):not(#events-filtres-detail):not([data-drupal-iwc]):not(.project-fieldset) .highlight input:not(:checked) + label {
  color: var(--main-color);
}
details:not(#annuaire-filtres-detail):not(#events-filtres-detail):not([data-drupal-iwc]):not(.project-fieldset) .highlight label:not(.edit-comment) {
  color: white;
}
details#captcha input {
  width: 30%;
  margin: 5px auto;
}
details#captcha img {
  display: block;
  margin: 5px auto;
}

select {
  font-family: "Calibri Perso", "Roboto Perso", sans-serif !important;
}

.node-preview-container {
  position: absolute !important;
  top: 50px !important;
}
.node-preview-container form > .js-form-item-view-mode {
  display: none !important;
}