@charset "UTF-8";
/**
 * Entrypoint standalone dei componenti pubblici Terzo Spazio.
 *
 * Questo file genera css/terzospazio-public-components.css e la variante
 * minificata. Usa gli stessi token e lo stesso partial importati dal foglio
 * principale del child theme, evitando modifiche manuali ai CSS compilati.
 */
/**
 * Partial SCSS dei componenti pubblici Terzo Spazio.
 *
 * Viene importato da _child_theme.scss e usa i token definiti in
 * _child_theme_variables.scss. Il CSS compilato continua a essere distribuito
 * anche come file dedicato finché la pipeline Understrap non viene eseguita.
 */
.collapse-toggle .expanded-label {
  display: none;
}

.collapse-toggle[aria-expanded=true] .expanded-label {
  display: inline;
}

.collapse-toggle[aria-expanded=true] .collapsed-label {
  display: none;
}

.bv-iframe-wrap {
  min-height: 280px;
}

.ra-profile-sort-select {
  display: inline-block;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.ra-publish-announcement-embed {
  min-height: 820px;
}

.ts-iub-placeholder {
  z-index: 2;
}

.ts-iub-embed-frame {
  z-index: 1;
}

.ts-footer-banner-spacer--desktop {
  height: 50px;
}

.ts-footer-banner-spacer--mobile {
  height: 100px;
}

.ts-archive-header-image {
  max-width: 200px;
}

.bv-iframe-loader {
  min-height: 280px;
}

/* Mappe della Bacheca. Le altezze personalizzate del singolo restano runtime. */
.bv-map--overview {
  height: 520px;
}

.bv-map-iframe {
  border: 0;
}

.bv-map-popup {
  min-width: 220px;
  max-width: 260px;
}

.bv-map-popup__image {
  display: block;
  max-width: 100px;
  height: auto;
  margin: 0 0 6px;
  border-radius: 4px;
}

.bv-map-popup__excerpt {
  margin: 6px 0 8px;
  line-height: 1.35;
}

/*
 * Riepilogo pratiche privacy nel profilo.
 * Il tema scuro imposta globalmente il testo delle list-group in bianco: dentro
 * gli alert Bootstrap chiari questo rendeva lo storico quasi illeggibile.
 * Il componente eredita ora il colore semantico dell'alert e lo mantiene anche
 * nelle righe dello storico, nei testi secondari e nel summary espandibile.
 */
.ra-privacy-request-summary {
  color: var(--bs-alert-color, currentColor);
}

.ra-privacy-request-summary summary {
  cursor: pointer;
  color: inherit;
}

.ra-privacy-request-summary .list-group-item,
.ra-privacy-request-summary .list-group-item::before,
.ra-privacy-request-summary .small {
  color: inherit !important;
}

.ra-privacy-request-summary .list-group-item {
  border-color: var(--bs-alert-border-color, currentColor);
}

.ra-privacy-request-summary summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Controllo Mostra/Nascondi password condiviso da tutti i form Area Riservata. */
.ra-password-visibility-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 8.5rem;
  padding-inline: 0.75rem;
  color: inherit;
  font-weight: 500;
  white-space: nowrap;
}

.ra-password-visibility-icon {
  display: inline-flex;
  flex: 0 0 1.15rem;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  color: currentColor;
}

.ra-password-visibility-icon__svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ra-password-visibility-icon__svg[hidden] {
  display: none !important;
}

.ra-password-visibility-label {
  display: inline-block !important;
  min-width: 0;
  color: currentColor !important;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  visibility: visible !important;
  opacity: 1 !important;
}

.ra-password-visibility-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .ra-password-visibility-toggle {
    min-width: 7.75rem;
    padding-inline: 0.6rem;
  }
  .ra-password-visibility-label {
    font-size: 0.95rem;
  }
}
/*
 * Cantiere 17 — directory pubblica dei profili volontariato.
 * I componenti sono pensati prima di tutto per contrasto, affordance e focus:
 * nessun testo chiaro su fondi chiari e switch sempre distinguibili sul tema nero.
 * Dal 09/09/2026 lo switch usa una manopola bianca esplicita in entrambi gli
 * stati, senza affidarsi al colore SVG predefinito di Bootstrap.
 */
.tspe-volunteer-profiles-directory .tspe-vp-delegation-help,
.tspe-volunteer-profile-detail .tspe-vp-delegation-help,
.tspe-volunteer-profile-wizard .tspe-vp-delegation-help {
  padding: 1rem 1.125rem;
  border: 2px solid var(--bs-info-border-subtle, #6edff6);
  border-radius: var(--bs-border-radius, 0.375rem);
  background: var(--bs-info-bg-subtle, #cff4fc);
  color: var(--bs-info-text-emphasis, #055160);
}
.tspe-volunteer-profiles-directory .tspe-vp-delegation-help h2,
.tspe-volunteer-profiles-directory .tspe-vp-delegation-help p,
.tspe-volunteer-profile-detail .tspe-vp-delegation-help h2,
.tspe-volunteer-profile-detail .tspe-vp-delegation-help p,
.tspe-volunteer-profile-wizard .tspe-vp-delegation-help h2,
.tspe-volunteer-profile-wizard .tspe-vp-delegation-help p {
  color: inherit !important;
}
.tspe-volunteer-profiles-directory .tspe-vp-switch .form-check-input,
.tspe-volunteer-profile-detail .tspe-vp-switch .form-check-input,
.tspe-volunteer-profile-wizard .tspe-vp-switch .form-check-input {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  border: 2px solid currentColor;
  background-color: var(--bs-secondary, #6c757d);
  background-image: var(--bs-form-switch-bg);
  box-shadow: 0 0 0 1px var(--bs-body-color, #212529);
}
.tspe-volunteer-profiles-directory .tspe-vp-switch .form-check-input:checked,
.tspe-volunteer-profile-detail .tspe-vp-switch .form-check-input:checked,
.tspe-volunteer-profile-wizard .tspe-vp-switch .form-check-input:checked {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  border-color: var(--bs-primary, #0d6efd);
  background-color: var(--bs-primary, #0d6efd);
  background-image: var(--bs-form-switch-bg);
  box-shadow: 0 0 0 1px var(--bs-primary, #0d6efd);
}
.tspe-volunteer-profiles-directory .tspe-vp-switch .form-check-input:focus-visible,
.tspe-volunteer-profiles-directory .tspe-vp-card__title-link:focus-visible,
.tspe-volunteer-profile-detail .tspe-vp-switch .form-check-input:focus-visible,
.tspe-volunteer-profile-detail .tspe-vp-card__title-link:focus-visible,
.tspe-volunteer-profile-wizard .tspe-vp-switch .form-check-input:focus-visible,
.tspe-volunteer-profile-wizard .tspe-vp-card__title-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.tspe-volunteer-profiles-directory .tspe-vp-card__title-link,
.tspe-volunteer-profile-detail .tspe-vp-card__title-link,
.tspe-volunteer-profile-wizard .tspe-vp-card__title-link {
  color: var(--bs-link-color, #0d6efd) !important;
  text-decoration: underline;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.16em;
}
.tspe-volunteer-profiles-directory .tspe-vp-card__title-link:hover,
.tspe-volunteer-profile-detail .tspe-vp-card__title-link:hover,
.tspe-volunteer-profile-wizard .tspe-vp-card__title-link:hover {
  text-decoration-thickness: 0.16em;
}
.tspe-volunteer-profiles-directory .tspe-vp-public-card__photo,
.tspe-volunteer-profile-detail .tspe-vp-public-card__photo,
.tspe-volunteer-profile-wizard .tspe-vp-public-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
  object-fit: cover;
}
.tspe-volunteer-profiles-directory .tspe-vp-card-photo,
.tspe-volunteer-profile-detail .tspe-vp-card-photo,
.tspe-volunteer-profile-wizard .tspe-vp-card-photo {
  width: auto;
  max-width: 200px;
  height: auto;
}
.tspe-volunteer-profiles-directory .tspe-vp-single-photo,
.tspe-volunteer-profile-detail .tspe-vp-single-photo,
.tspe-volunteer-profile-wizard .tspe-vp-single-photo {
  width: min(100%, 28rem);
  height: auto;
}
.tspe-volunteer-profiles-directory .tspe-vp-profile-photo-preview,
.tspe-volunteer-profiles-directory .tspe-vp-detail-photo,
.tspe-volunteer-profile-detail .tspe-vp-profile-photo-preview,
.tspe-volunteer-profile-detail .tspe-vp-detail-photo,
.tspe-volunteer-profile-wizard .tspe-vp-profile-photo-preview,
.tspe-volunteer-profile-wizard .tspe-vp-detail-photo {
  width: min(100%, 20rem);
  aspect-ratio: 1/1;
  -o-object-fit: cover;
  object-fit: cover;
}
.tspe-volunteer-profiles-directory .tspe-vp-map-card,
.tspe-volunteer-profile-detail .tspe-vp-map-card,
.tspe-volunteer-profile-wizard .tspe-vp-map-card {
  display: flex;
}
.tspe-volunteer-profiles-directory .tspe-vp-map-card > .card,
.tspe-volunteer-profiles-directory .tspe-vp-map-card .google-map,
.tspe-volunteer-profile-detail .tspe-vp-map-card > .card,
.tspe-volunteer-profile-detail .tspe-vp-map-card .google-map,
.tspe-volunteer-profile-wizard .tspe-vp-map-card > .card,
.tspe-volunteer-profile-wizard .tspe-vp-map-card .google-map {
  width: 100%;
}
.tspe-volunteer-profiles-directory .tspe-vp-map-card .google-map,
.tspe-volunteer-profile-detail .tspe-vp-map-card .google-map,
.tspe-volunteer-profile-wizard .tspe-vp-map-card .google-map {
  min-height: 0;
}
.tspe-volunteer-profiles-directory .tspe-vp-static-overview-map[data-ts-bacheca-map=static-overview],
.tspe-volunteer-profile-detail .tspe-vp-static-overview-map[data-ts-bacheca-map=static-overview],
.tspe-volunteer-profile-wizard .tspe-vp-static-overview-map[data-ts-bacheca-map=static-overview] {
  width: 100%;
  height: 100%;
  min-height: 16.25rem;
  flex: 1 1 auto;
}
.tspe-volunteer-profiles-directory .tspe-vp-engage-details,
.tspe-volunteer-profile-detail .tspe-vp-engage-details,
.tspe-volunteer-profile-wizard .tspe-vp-engage-details {
  position: relative;
}
.tspe-volunteer-profiles-directory .tspe-vp-engage-form,
.tspe-volunteer-profile-detail .tspe-vp-engage-form,
.tspe-volunteer-profile-wizard .tspe-vp-engage-form {
  width: min(100%, 34rem);
  min-width: min(20rem, 80vw);
  background: var(--bs-body-bg, #000);
  color: var(--bs-body-color, #fff);
  z-index: 2;
}
.tspe-volunteer-profiles-directory details > summary.btn,
.tspe-volunteer-profile-detail details > summary.btn,
.tspe-volunteer-profile-wizard details > summary.btn {
  display: inline-flex;
  list-style: none;
  cursor: pointer;
}
.tspe-volunteer-profiles-directory details > summary.btn::-webkit-details-marker,
.tspe-volunteer-profile-detail details > summary.btn::-webkit-details-marker,
.tspe-volunteer-profile-wizard details > summary.btn::-webkit-details-marker {
  display: none;
}

@media (max-width: 575.98px) {
  .tspe-volunteer-profiles-directory .tspe-vp-static-overview-map[data-ts-bacheca-map=static-overview] {
    min-height: 16.25rem;
  }
  .tspe-volunteer-profiles-directory .tspe-vp-engage-form {
    min-width: 0;
  }
}
/* Cantiere 17 - 20260911: foto compatta accanto al titolo dei profili pubblici. */
.tspe-volunteer-profiles-directory .tspe-vp-card-heading {
  min-width: 0;
}
.tspe-volunteer-profiles-directory .tspe-vp-card-photo-link {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 42%;
}
.tspe-volunteer-profiles-directory .tspe-vp-card-photo--header {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 130px;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .tspe-volunteer-profiles-directory .tspe-vp-card-photo-link {
    max-width: 38%;
  }
  .tspe-volunteer-profiles-directory .tspe-vp-card-photo--header {
    max-height: 110px;
  }
}
/*
 * Cantiere 18 — switch filtro Eventi ad alta leggibilita.
 * Lo stato inattivo deve essere comprensibile anche sul tema nero senza
 * dipendere soltanto dalla differenza cromatica della manopola.
 */
.ts-event-open-filter-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.55rem 0.8rem;
  border: 2px solid var(--bs-light, #f8f9fa);
  border-radius: var(--bs-border-radius, 0.375rem);
  background: var(--bs-dark, #212529);
  color: var(--bs-white, #fff);
}

.ts-event-open-filter-switch .form-check-input {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  flex: 0 0 auto;
  width: 3rem;
  height: 1.55rem;
  margin: 0;
  border: 2px solid var(--bs-white, #fff);
  background-color: var(--bs-secondary, #6c757d);
  background-image: var(--bs-form-switch-bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.ts-event-open-filter-switch .form-check-input:checked {
  border-color: var(--bs-white, #fff);
  background-color: var(--bs-success, #198754);
  background-image: var(--bs-form-switch-bg);
}

.ts-event-open-filter-switch .form-check-input:focus-visible {
  outline: 3px solid var(--bs-info, #0dcaf0);
  outline-offset: 3px;
  box-shadow: none;
}

.ts-event-open-filter-switch .form-check-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}

.ts-event-open-filter-switch__state::after {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--bs-light, #f8f9fa);
  color: var(--bs-dark, #212529);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  content: attr(data-state-off);
}

.ts-event-open-filter-switch .form-check-input:checked + .form-check-label .ts-event-open-filter-switch__state::after {
  background: var(--bs-success, #198754);
  color: var(--bs-white, #fff);
  content: attr(data-state-on);
}

@media (max-width: 575.98px) {
  .ts-event-open-filter-switch {
    width: 100%;
  }
}

/*# sourceMappingURL=terzospazio-public-components.css.map */