/*
Theme Name: Design Comuni Italia - child
Version: 1.0
Description: A child theme of Design Comuni Italia
Template: design-comuni-wordpress-theme-main
Author: Amministratore
*/
/* Your awesome customization starts here */

/* SET COLORI - START*/
:root,
body,
[data-bs-theme="light"] {
  --bs-primary: hsl(212deg, 100%, 33%);
  --bs-secondary: hsl(208deg, 12%, 21%);
  --bs-primary-rgb: 0, 79, 170;
  --bs-secondary-rgb: 48, 55, 61;
  --bs-link-color: hsl(212deg, 100%, 33%);
  --bs-link-hover-color: #00397a;
  --bs-primary-bg-subtle: #ffffff !important;
  --bs-primary-border-subtle: #004faa !important;
  --bs-primary-text-emphasis: #004faa !important;
  --bs-body-bg: transparent;
  --bs-table-color: #ffffff !important;
}

.rating:not(:checked) > label:hover svg,
.rating:not(:checked) > label:hover ~ label svg,
.rating > input:checked ~ label svg {
  fill: #004faa;
}

.btn-outline-primary {
  box-shadow: inset 0 0 0 2px #004faa;
  color: #004faa;
}

.btn-primary {
  background-color: #004faa;
  border-color: #004faa;
}
.margin-bottom {
  margin-bottom: 40px;
}

.btn-outline-primary:hover {
  color: #00397a;
  box-shadow: inset 0 0 0 2px #00397a;
}

.btn-primary:hover {
  background-color: #00397a;
  border-color: #00397a;
}

.form-check [type="radio"]:checked + label::before {
  border-color: #004faa;
}

.form-check [type="radio"]:checked + label::after {
  border-color: #004faa;
  background-color: #004faa;
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a {
  color: #004faa;
  font-weight: 400;
}

.it-calendar-wrapper .it-header-block-title {
  background-color: #004faa;
}

.icon-primary {
  fill: #004faa !important;
}

.btn-dropdown {
  color: #004faa;
}

a:hover:not(.disabled) .icon {
  fill: #004faa;
}

.link-list-wrapper ul li a:hover:not(.disabled) span {
  color: #004faa;
}

.link-list-wrapper ul li a:hover:not(.disabled) .icon {
  fill: #004faa;
}

.link-list-wrapper ul li a span {
  color: #004faa;
}

.section.section-primary {
  background: #004faa;
}

.accordion-header .accordion-button {
  color: #004faa;
  font-size: 1.25rem;
}

.accordion-header .accordion-button:not(.collapsed) {
  color: #004faa;
}

.accordion-header .accordion-button::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 24 24' %3E%3Cg%3E%3Cpath fill='hsl(212deg, 100%, 33%)' d='M12,10.3l4.8,4.8c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1c0,0,0,0,0,0l-4.8-4.8c-0.6-0.6-1.5-0.6-2.1,0L6.2,14c-0.3,0.3-0.3,0.8,0,1c0,0,0,0,0,0c0.3,0.3,0.8,0.3,1.1,0L12,10.3z'/%3E%3C/g%3E%3C/svg%3E");
  color: #004faa;
}

.pagination .page-item .page-link[aria-current] {
  border: 1px solid #004faa;
  color: #004faa;
  pointer-events: none;
}

.pagination .page-item .page-link:hover {
  color: #004faa;
  background-color: rgba(0, 0, 0, 0);
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #004faa;
  box-shadow: inset 0 0 0 2px #004faa;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
  box-shadow:
    inset 0 3px 5px rgba(0, 0, 0, 0.125),
    0 0 0 0.25rem rgba(0, 79, 170, 0.5);
}

.card .card-body .category-top a.category {
  color: #004faa;
}

.primary-color {
  color: #004faa !important;
}

.chip .chip-label {
  color: #004faa;
}

.chip:not(.chip-disabled) {
  border-color: #004faa;
}

.chip:is(a):hover:not(.chip-disabled) {
  background-color: #004faa;
}

.cmp-navscroll
  .navbar.it-navscroll-wrapper
  .link-list-wrapper
  .accordion
  .accordion-header
  .accordion-button {
  color: #004faa;
}

aside
  .cmp-navscroll
  .navbar.it-navscroll-wrapper
  .link-list-wrapper
  ul
  li
  a.active {
  border-left: 2px solid #004faa;
}

@media (min-width: 992px) {
  .navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active span {
    color: #004faa;
    text-decoration: none;
  }
}

.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a:hover {
  color: #00397a;
}

/* SET COLORI - END*/

/* Testi: vai a capo solo tra parole, senza spezzarle a meta'. */
#at-suite-main,
#at-suite-main *,
.at-suite-scope,
.at-suite-scope * {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* --- ALBO PRETORIO (tabella) --- */
.at-suite-scope--albo-pretorio .table.at-albo-table thead th {
  background: #111 !important;
  color: #fff !important;
  vertical-align: middle;
}

.at-suite-scope--albo-pretorio .table.at-albo-table {
  table-layout: auto;
}

.at-suite-scope .table thead th,
.table-responsive.table-bandi table thead th {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (max-width: 1400px) {
  .at-suite-scope--albo-pretorio .table-responsive {
    overflow-x: auto;
  }

  .at-suite-scope--albo-pretorio .table.at-albo-table {
    min-width: 1400px;
  }
}

/* --- TABELLE (responsive + scrollbar visibile) --- */
/* Applica la stessa logica di "albo pretorio" a tutte le tabelle AT Suite:
   - scroll orizzontale su wrapper
   - min-width al table sotto una certa larghezza viewport
   - scrollbar sempre ben visibile (grigia) */
.at-suite-scope .table-responsive,
.table-responsive.table-bandi {
  overflow-x: auto;
  scrollbar-gutter: stable both-edges;
  scrollbar-color: #9b9b9b #e6e6e6; /* Firefox */
  scrollbar-width: thin; /* Firefox */
  padding-right: 0.75rem;
  box-sizing: border-box;
}

/* Chromium / Safari */
.at-suite-scope .table-responsive::-webkit-scrollbar,
.table-responsive.table-bandi::-webkit-scrollbar {
  height: 12px;
}
.at-suite-scope .table-responsive::-webkit-scrollbar-track,
.table-responsive.table-bandi::-webkit-scrollbar-track {
  background: #e6e6e6;
  border-radius: 999px;
}
.at-suite-scope .table-responsive::-webkit-scrollbar-thumb,
.table-responsive.table-bandi::-webkit-scrollbar-thumb {
  background: #9b9b9b;
  border-radius: 999px;
  border: 3px solid #e6e6e6; /* crea stacco e migliora visibilità */
}
.at-suite-scope .table-responsive::-webkit-scrollbar-thumb:hover,
.table-responsive.table-bandi::-webkit-scrollbar-thumb:hover {
  background: #7f7f7f;
}

@media (max-width: 1400px) {
  .at-suite-scope .table-responsive > table,
  .table-responsive.table-bandi > table {
    min-width: 1200px;
  }
}

.at-suite-scope--albo-pretorio .table.at-albo-table tbody td {
  vertical-align: middle;
}

.at-suite-scope--albo-pretorio .table.at-albo-table th,
.at-suite-scope--albo-pretorio .table.at-albo-table td {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Larghezze colonne (9 colonne):
  1 Numero atto
  2 Data pubblicazione
  3 Data fine
  4 Esecutività
  5 Tipo (più spazio)
  6 Proponente
  7 Oggetto (più spazio)
  8 Allegati (larghezza fissa per bottone)
  9 Stato (pallino)
*/
.at-suite-scope--albo-pretorio .table.at-albo-table th:nth-child(5),
.at-suite-scope--albo-pretorio .table.at-albo-table td:nth-child(5) {
  width: 8%;
}

.at-suite-scope--albo-pretorio .table.at-albo-table th:nth-child(7),
.at-suite-scope--albo-pretorio .table.at-albo-table td:nth-child(7) {
  width: 28%;
}

.at-suite-scope--albo-pretorio .table.at-albo-table th:nth-child(8),
.at-suite-scope--albo-pretorio .table.at-albo-table td:nth-child(8) {
  width: 190px;
}

.at-suite-scope--albo-pretorio .table.at-albo-table th:nth-child(9),
.at-suite-scope--albo-pretorio .table.at-albo-table td:nth-child(9) {
  width: 72px;
}

.at-suite-scope--albo-pretorio .table.at-albo-table .at-albo-toggle-attachments {
  width: 100%;
  white-space: nowrap;
}

.at-suite-scope--albo-pretorio .table.at-albo-table tr.at-albo-attachments-row > td {
  background: #f2f2f2 !important;
}

.at-suite-scope--albo-pretorio .table.at-albo-table .at-albo-attachments-list {
  margin: 0;
  padding-left: 2rem;
}

.at-suite-scope--albo-pretorio .table.at-albo-table .at-albo-attachments-list li {
  margin: .25rem 0;
}


/* CSS DETTAGLIO ESAME - START*/

.section-esami-laboratorio {
  border-radius: 20px;
}

.section-esami-laboratorio .container {
  display: flex;
}

.section-esami-laboratorio i {
  font-size: 3rem;
  margin-right: 2rem;
  color: #004faa;
}

.h2-dettaglio-esame {
  font-size: 1.3rem;
  color: #004faa;
}

.h3-dettaglio-esame {
  font-size: 1.1rem;
  color: #004faa;
}

.h4-dettaglio-esame {
  color: #004faa;
  font-size: 1rem;
  line-height: 1rem;
}

#accordion-dettaglio-esame button {
  padding: 0;
  border: 0;
}

#accordion-dettaglio-esame button:hover {
  text-decoration: none;
}

#accordion-dettaglio-esame {
  border: 0;
}

#accordion-dettaglio-esame .collapse-body {
  padding: 0;
}

/* CSS DETTAGLIO ESAME - END*/

/* GLOSSARIO - START */

#glossario-form .letter {
  color: #707070;
}

#glossario-form .letter:hover {
  color: #004faa;
  cursor: pointer;
}

#glossario-form .letter.selected {
  color: #004faa;
  font-weight: 500;
}

#glossario-form .label-form-glossario {
  font-weight: 600;
}

#glossario-form .first-c {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #004faa;
  margin-right: 5rem;
  width: auto;
  font-size: 2rem;
  font-style: italic;
  color: #004faa;
}

.error-404 {
  margin: 3em 0;
  color: #004faa;
}

.error-404 .inner-content {
  text-align: center;
  max-width: 550px;
  margin: auto;
}

.error-title {
  font-size: 180px;
  line-height: 180px;
  margin-bottom: 15px;
  font-weight: 500;
}

.error-title span {
  width: 20rem;
  height: 15rem;
  display: inline-block;
  background-image: url("./assets/images/no-result.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 10px;
  background-position: center;
}

.error-text {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 26px;
}

@media (max-width: 768px) {
  .error-title {
    font-size: 120px;
    line-height: 120px;
  }

  .error-title span {
    width: 100px;
    height: 100px;
  }

  .error-text {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 24px;
  }
}

.hr-text {
  position: relative;
  height: 3px;
  background: #004faa;
  margin-bottom: 2rem;
}

.hr-text.hr-news-glossario {
  margin-top: 2rem;
}

.news-glossario {
  display: inline-block;
  background-color: #ffffff;
  color: #004faa;
  padding: 0.2rem 2rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  white-space: nowrap;
  font-size: 1.6em;
  font-weight: 500;
}

/* GLOSSARIO - END */

/* Util css - START */

@media (min-width: 1200px) {
  .border-end-xl {
    border-right: var(--bs-border-width) var(--bs-border-style)
      var(--bs-border-color) !important;
  }

  .border-end-xl.border-primary {
    --bs-border-opacity: 1;
    border-color: rgba(
      var(--bs-primary-rgb),
      var(--bs-border-opacity)
    ) !important;
  }
}

/* Util css - END */

/* Header - START */

.it-header-slim-wrapper {
  background: #06c;
  padding: 6.5px 5px;
}

.it-header-slim-left-zone {
  width: 100%;
}

.btn-intranet:hover {
  background-color: #00397a;
}

#slim-menu-div.link-list-wrapper ul li a {
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6rem;
}

.logo-hamburger {
  text-decoration: unset;
}

.navbar .navbar-collapsable .menu-wrapper .navbar-nav {
  padding: 0;
}

@media (max-width: 1200px) {
  .link-list-wrapper #menu-slim-header-menu li a {
    padding: 0.25rem 13px;
  }
}

@media (min-width: 992px) {
  .it-header-slim-left-zone {
    display: flex;
    align-items: center;
    width: auto;
  }

  .it-header-slim-wrapper
    .it-header-slim-wrapper-content
    .it-header-slim-left-zone
    .navbar-brand {
    font-size: 1rem;
    font-weight: 600;
  }

  .it-header-center-wrapper
    .it-header-center-content-wrapper
    .it-brand-wrapper
    a
    .it-brand-title {
    font-size: 2rem;
    font-weight: 700;
  }

  .it-header-center-wrapper
    .it-header-center-content-wrapper
    .it-brand-wrapper
    a
    .it-brand-tagline {
    font-size: 1rem;
  }

  .it-header-center-wrapper
    .it-header-center-content-wrapper
    .it-right-zone
    .it-socials {
    font-size: 1rem;
  }

  .it-header-center-wrapper
    .it-header-center-content-wrapper
    .it-search-wrapper {
    font-size: 1rem;
  }

  #menu-slim-header-menu {
    display: flex;
    flex-direction: row;
  }

  #menu-slim-header-menu li {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
  }

  #menu-slim-header-menu li:hover {
    text-decoration: underline;
  }
}

/* Header - END */

/* Footer - START */

.it-footer .footer-heading-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.it-footer a {
  color: #ffffff;
}

.it-footer a:hover {
  color: #d4d4d4;
}

.footer-text {
  align-content: center;
  font-size: 1.25rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .it-footer .footer-heading-title {
    border-bottom: 0;
  }
}

.footer-row-1 {
  border-bottom: 1px solid #0f4b57;
}

.it-footer-bottom {
  background: #17324d;
}

#menu-menu-info-1 {
  display: flex;
  flex-direction: row;
}

@media (min-width: 576px) {
  #menu-menu-info-1 .menu-item a {
    font-size: 0.875rem;
    font-weight: 600;
  }
}

/* Footer - END */

/* Home start*/
.card-in-evidenza {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgb(0 0 0 / 15%);
}

.title-in-evidenza a {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2f475e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.title-in-evidenza a:hover {
  text-decoration: underline;
}

.title-in-evidenza {
  line-height: 2rem;
}

.category-in-evidenza {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  color: #003366;
  align-content: flex-end;
}

.date-in-evidenza {
  align-content: flex-end;
  font-weight: 300;
  font-size: 0.875rem;
  color: #003366;
}

img.img-in-evidenza {
  object-fit: cover;
  height: 100%;
}

@media (max-width: 992px) {
  .title-in-evidenza a {
    font-size: 1.3rem;
  }

  .title-in-evidenza {
    line-height: 1.5rem;
  }
}

.title-in-evidenza-2 a {
  font-size: 1rem;
  font-weight: 600;
  color: #2f475e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25rem;
  text-overflow: ellipsis;
}

.title-in-evidenza-2 a:hover {
  text-decoration: underline;
}

.title-in-evidenza-3 a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2f475e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5rem;
  text-overflow: ellipsis;
}

.title-in-evidenza-3 a:hover {
  text-decoration: underline;
}

.img-in-evidenza {
  object-fit: cover;
  width: 100%;
  display: block;
}

.footer-in-evidenza {
  font-weight: bold;
  font-size: 0.9rem;
}

.border-asm-comunica-img {
  border-top-right-radius: 10px !important;
  border-top-left-radius: 10px !important;
}

.border-asm-comunica-card {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
}

.descrizione-asm-comunica-line-1 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.descrizione-asm-comunica-line-2 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.descrizione-asm-comunica-line-3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.descrizione-asm-comunica-3 {
  font-size: 1rem;
  color: #2f475e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5rem;
  text-overflow: ellipsis;
}

/* Home end*/

/* Dipartimenti start*/
.info-wrapper .info-container {
  width: 47% !important;
  flex: 0 0 47% !important;
  max-width: 47% !important;
}

.card-color-info-text {
  color: #191919;
}

.title-in-evidenza-card-info {
  font-size: 1.3rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-in-evidenza-card-ua {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5rem;
  /* niente clamp/overflow qui */
  display: block;
  overflow: visible;
  text-overflow: clip;
  margin-top: 0;
}

.title-in-evidenza-card-ua .link-class {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  color: #0b3ee3;
  white-space: normal;

  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.title-in-evidenza-card-ua .link-class:hover {
  text-decoration: underline;
  color: #0b3ee3;
}

/* Dentro i template AT Suite, i link devono usare il colore configurato (override inline CSS). */
.at-suite-scope .link-class,
.at-suite-scope .title-in-evidenza-card-ua .link-class {
  color: var(--bs-link-color) !important;
}
.at-suite-scope .link-class:hover,
.at-suite-scope .link-class:focus,
.at-suite-scope .title-in-evidenza-card-ua .link-class:hover,
.at-suite-scope .title-in-evidenza-card-ua .link-class:focus {
  color: var(--bs-link-hover-color) !important;
  text-decoration: underline;
}

.link-class {
  text-decoration: none;
  color: #0b3ee3;
}
.link-class:hover {
  text-decoration: underline;
  color: #0b3ee3;
}

.icon-wrapper {
  background-color: #dfe6fc; /* colore di sfondo come nelle altre icone */
  border-radius: 50%; /* rende il contenitore rotondo */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.title-in-evidenza-card-sottotitolo {
  font-size: 1.15rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-in-evidenza-card-info h3 {
  line-height: 1.5rem;
}

.title-in-evidenza-card-descrizione {
  margin-top: 2%;
  font-size: 1rem;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-unita-organizzativa {
  object-fit: cover;
  height: 70px;
  width: 70px;
}
@media (max-width: 1399px) {
  .icon-unita-organizzativa {
    object-fit: cover;
    height: 60px;
    width: 60px;
  }
}

.icon-unita-organizzativa-link {
  object-fit: cover;
  height: 4rem;
}
@media (max-width: 1399px) {
  .icon-unita-organizzativa-link {
    object-fit: cover;
    height: 3.75rem;
  }
}

.icon-unita-organizzativa-interna {
  height: 70px;
  width: 70px;
  min-width: 70px;
  min-height: 70px;
  flex-shrink: 0;
}

.icon-allegato {
  height: 50px;
  width: 50px;
}

.icon-ospedale {
  height: 50%;
  width: 50%;
}

@media (max-width: 1399px) {
  .icon-unita-organizzativa-interna {
    height: 60px;
    width: 60px;
    min-width: 60px;
    min-height: 60px;
    flex-shrink: 0;
    object-fit: cover;
  }
}

/* Nascondi le icone "pagine collegate" su schermi stretti */
@media (max-width: 580px) {
  /* versione robusta: non dipende da wrapper o utility class */
  .template-card-pagine-collegate-icons {
    display: none !important;
  }
  /* batte .d-flex { display:flex !important } di Bootstrap Italia */
  .template-card-pagine-collegate-icons.d-flex {
    display: none !important;
  }
  /* retro-compat con markup precedente */
  .info-wrapper .template-card-pagine-collegate-icons.d-flex {
    display: none !important;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .info-wrapper .card-info {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 766px) {
  .info-wrapper .card-info {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 991px) {
  .card-info-allegati {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

.icon-unita-organizzativa-allegato {
  object-fit: cover;
  height: 3rem;
}

ul {
  list-style: disc;
  margin-left: 1.5em;
  padding-left: 1em;
}

ol {
  list-style: decimal;
  margin-left: 1.5em;
  padding-left: 1em;
}

.breadcrumb {
  margin-left: 0em;
  padding-left: 0;
}
/* Dipartimenti end*/

/*Breadcrumb start*/

.cmp-breadcrumbs-2 ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* permette l’andare a capo */
  padding: 0;
  margin: 0;
  gap: 0.4rem;
}

.cmp-breadcrumbs-2 {
  margin-top: 2rem;
}

.cmp-breadcrumbs-2 li {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  /* niente nowrap, così va a capo se serve */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.cmp-breadcrumbs-2 li::after {
  content: "/";
  margin: 0 0.4rem;
}

.cmp-breadcrumbs-2 li:last-child::after {
  content: "";
}

/* Opzionale: riduci padding o font su schermi piccoli */
@media (max-width: 600px) {
  .cmp-breadcrumbs ol {
    gap: 0.2rem;
  }

  .cmp-breadcrumbs li {
    font-size: 15px;
  }
}

/*Breadcrumb end*/

/*Menu laterale amministrazione trasparente start*/
.menu-laterale {
  padding: 1rem;
  border-right: 1px solid #ddd;
  position: sticky;
  top: 100px; /* se vuoi che segua lo scroll */
  text-align: left;
}

.menu-laterale ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.menu-laterale li {
  margin-bottom: 0.8rem;
}

.menu-laterale a {
  color: #004faa;
  text-decoration: none;
  font-weight: 500;
  display: block;
}

.menu-laterale a:hover {
  text-decoration: underline;
}

.link-list .current-menu-item > a {
  border-left: solid #2b78c6; /* Colore evidenziazione */
  font-weight: 600;
  color: #1d4f91; /* Colore testo attivo */
}

.link-list {
  margin-left: 0;
}

/* Mostra i figli dei figli solo se il loro genitore di primo livello è attivo */
.current-menu-ancestor > .sub-menu {
  display: block;
}

/* Nascondi di default tutti i figli */
.menu-item .sub-menu {
  display: none;
}

/* Mostra i figli solo se NON siamo sulla pagina padre */
.current-menu-ancestor:not(.current-menu-item) > .sub-menu {
  display: block;
}

/*Menu laterale amministrazione trasparente end*/
.filtro-bandi button.clean-input {
  display: none !important;
}
/*START Link accessibili*/
a {
  color: #004faa;
}

/* Link nei contenuti: indicatore secondario sempre visibile */
.entry-content a,
.elementor-widget-text-editor a {
  text-underline-offset: 2px; /* più leggibile */
}

/* Esclusioni: non toccare bottoni, menu, paginazione ecc. */
a.btn,
.btn a,
.menu a,
.nav a,
.page-link,
.pagination a {
  text-decoration: none !important;
}
p a {
  text-decoration: underline !important;
}
/*END Link accessibili*/

/*START Tabella*/
table.table-bordered,
table.table-bordered th,
table.table-bordered td {
  border-left: none !important;
  border-right: none !important;
  border-top-color: white;
}
.table-bandi tbody tr:hover {
  background-color: transparent !important;
}

.tooltip-pallino {
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 18px;
}

.tooltip-pallino::after {
  content: none !important;
}

.tooltip-pallino:hover::after {
  content: none !important;
}

/*END Tabella*/

/*START card allegati*/
.footer-allegato {
  background-color: #edf4fc;
  padding: 0.5rem 1.5rem;
  text-align: end;
}

.footer-allegato p {
  margin-bottom: 0;
  text-align: start;
  font-size: 1.1rem;
  color: #000;
}

.footer-allegato a {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #000;
  text-align: center;
  text-decoration: none;
}

.footer-allegato a:hover,
.footer-allegato a:focus {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-allegato a svg,
.footer-allegato a svg path {
  fill: #000 !important;
}

.footer-allegato .icon {
  margin-bottom: 0.2rem;
}

.allegato-card-content {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgb(0 0 0 / 15%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

#at-suite-main .title-card-allegati,
.at-suite-scope .title-card-allegati,
.title-card-allegati {
  font-size: 1rem;
  padding-right: 1rem;
  font-weight: 600;
  display: block;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.5rem;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: none;
}

/*END card allegati*/

/*START card link*/
.link-box-title {
  font-size: 1.6rem;
  line-height: 2rem;
  min-height: 80px;
}

.link-box-anchor {
  color: #0b3ee3;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.link-box-icon {
  align-items: start;
  padding-right: 1.5rem;
  justify-content: flex-end;
}
.icon-wrapper-2 {
  border-radius: 50%; /* rende il contenitore rotondo */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

/*END card link*/

/*START invio segnalazioni*/
/* Layout del form */
.wpcf7 form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

/* Label */
.wpcf7 form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.2rem;
  color: #333;
}

/* Input, Select e Textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Textarea */
.wpcf7 textarea {
  min-height: 120px;
}

/* Checkbox privacy */
.wpcf7-acceptance {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Bottone */
.wpcf7 input[type="submit"] {
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  background-color: #004faa;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background-color: #003b87;
}

@media (min-width: 992px) {
  .wpcf7 form {
    max-width: 100%;
  }
}

.wpcf7-acceptance input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
}

.acceptance-warning-message {
  color: #dc3232;
  font-size: 1em;
  font-weight: normal;
  display: block;
  margin-left: 1rem; /* sposta verso destra per allinearlo al testo */
  margin-top: 0.3em; /* piccola distanza sopra */
}
/*END invio segnalazioni*/
/*START css in primo piano*/
.in-primo-piano .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.in-primo-piano .card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.in-primo-piano .card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-title {
  line-height: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.in-primo-piano .no-image {
  justify-content: start;
}

.in-primo-piano .img-wrapper img {
  max-height: 60px;
  border-radius: 8px;
}
/*END css in primo piano*/
.it-hero-text-wrapper {
  padding-bottom: 0 !important;
}

.asm-comunica {
  height: 100%;
}

/*START immagine notizia*/

.img-notizia {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

/*END immagine notizia*/

/*START Lista documenti*/
.lista-documenti-card {
  justify-content: space-between;
}

.lista-documenti-icon-allegato {
  align-items: start;
  justify-content: center;
}

.lista-documenti-right-div {
  padding-top: 1rem;
  padding-right: 1.5rem;
}

.lista-documenti-card-mime {
  min-height: 50%;
  font-size: 1rem;
}

.lista-documenti-card-bottom {
  text-align: end;
  background-color: #edf4fc;
}

.lista-documenti-card-bottom p {
  text-align: start;
}

.lista-documenti-card-bottom-download {
  font-size: 0.9rem;
  color: #004faa;
}

.lista-documenti-card-bottom-download svg {
  margin-bottom: 0.2rem;
}
/*END Lista documenti*/

/*START valuta servizio*/
.bg-valuta-servizio {
  background-color: #edf4fc;
}
/*END valuta servizio*/

/*START bandi*/
.bandi label {
  font-weight: 600;
}

.bandi-filtri select {
  border: solid 1px;
}

.bandi-filtri input {
}

.bandi-filtri-date input {
  display: block;
}

.table-bandi-size span {
  width: 12px;
  height: 12px;
}
/*END bandi*/

/*START asm comunica*/
.asm-comunica a {
  font-size: 1.6rem;
  font-weight: 600;
  min-height: 78px;
  color: #2f475e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6rem;
  text-overflow: ellipsis;
}

.asm-comunica a:hover {
  text-decoration: underline;
}
.asm-comunica h6 {
  color: #2f475e;
}

.asm-comunica p {
  font-size: 1rem;
  color: #2f475e;
  overflow: hidden;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
/*END asm comunica*/

/*START Template*/

.template-card {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.template-card p {
  min-height: 56px;
}
.template-card a {
  min-height: 56px;
  color: #0b3ee3;
}

.template-items {
  align-items: start;
}

.template-card-pagine {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/*END Template*/

/*START Template pagine collegate*/
.template-card-pagine-collegate {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  min-width: 0; /* <— chiave per evitare i tagli strani */
}

.template-card-pagine-collegate h3 {
  min-height: 40px;
}

.template-card-pagine-collegate-icons {
  align-items: start;
  justify-content: space-around;
  padding: 0 !important;
}

/* Card Informazioni (servizi / UO): titoletti semibold, corpo leggero (300), stesso allineamento (no padding extra sulla descrizione) */
.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-ua.title-in-evidenza-card-info {
  font-weight: 600;
}

.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-sottotitolo,
.at-suite-scope .at-suite-card-informazioni a.title-in-evidenza-card-sottotitolo.link-class,
.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-sottotitolo .link-class {
  font-weight: 300;
}

.at-suite-scope .at-suite-card-informazioni .at-suite-card-informazioni__body {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-descrizione {
  font-weight: 300;
  font-size: 1rem;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: none;
  padding-left: 1rem;
}

.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-descrizione p {
  margin-bottom: 0.5rem;
  font-weight: 300;
  padding-left: 0;
  margin-left: 0;
}

.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-descrizione p:last-child {
  margin-bottom: 0;
}

.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-descrizione strong,
.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-descrizione b {
  font-weight: 500;
}

.at-suite-scope .at-suite-card-informazioni .title-in-evidenza-card-descrizione a {
  font-weight: 400;
}

/*END Template pagine collegate*/

/*START recupero allegati*/
.recupero-allegati {
  padding-right: 1.5rem;
}

/*END recupero allegati*/

/*START recupero documento principare e allegati*/
.documento-principale-title {
  font-size: 1.5rem;
}
.documento-principale {
  font-size: 1.2rem;
}
/*END recupero documento principare e allegati*/

/*START recupero documento principare e allegati*/
.recupero-documento-pubblico {
  font-size: 1.5rem;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  white-space: normal;
}

.recupero-documento-pubblico-title {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  white-space: normal;
}
/*END recupero documento principare e allegati*/

/*START Link utili*/
.template-card-link-utili {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
/*END Link utili*/

/*START app io*/
.app-io {
  padding-top: 0.3rem;
  padding-left: 0.5rem;
}
.app-io-p p {
  margin-bottom: 0;
}

.app-io-p h3 {
  margin-top: 1rem;
}

/*END app io*/

/*START link icon*/
.icon-link {
  height: 70px;
  width: 70px;
}
@media (max-width: 1399px) {
  .icon-link {
    height: 60px;
    width: 60px;
  }
}
/*END link icon*/

/*START unita organizzativa*/

.info-unita-organizzativa {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.info-unita-organizzativa a {
  color: #0b3ee3;
}

.uoc-interne {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/*END unita organizzativa*/

/*START amministrazione trasparente*/
.amm-trasp-progress {
  width: 0%;
}
/*END amministrazione trasparente*/

/*START single page*/
.single-page {
  padding-bottom: 0 !important;
}
/*END single page*/

/*START modulo contatto questionario gradimento*/
/* RADIO e CHECKBOX base */
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  opacity: 1 !important;
  position: static !important;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid #000 !important;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  cursor: pointer;
}

.wpcf7 input[type="radio"] {
  border-radius: 50%;
}
/* RADIO selezionato */
.wpcf7 input[type="radio"]:checked {
  background-color: #000; /* cerchio nero pieno */
  border: 1px solid #000;
}

/* CHECKBOX selezionato */
.wpcf7 input[type="checkbox"]:checked {
  background-color: #000;
  border: 1px solid #000;
}
.wpcf7-list-item {
  display: block;
  margin-bottom: 5px;
}
/*END modulo contatto questionario gradimento*/

/*START INTRANET*/

/*START card notizie in primo piano intranet*/
.news-dipendenti-card {
  border: solid 1px;
  border-color: #33b2e2;
}
a:hover,
a:focus {
  text-decoration: underline;
}

/*START card notizie in primo piano intranet*/

/*END INTRANET*/
.wpcf7-form .clean-input {
  display: none !important;
}

.pagination-wrapper .pagination a.page-link {
  color: #000 !important;
}

.screen-reader-response ul:empty {
  display: none;
}

.img-in-evidenza-ratio {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.custom-select-style {
  background-color: #edf4fc !important;
  border: 1px solid #000 !important;
}

.in-primo-piano-descrizione {
  font-size: 1rem;
  color: #2f475e;
  overflow: hidden;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*START descrizioni-in-evidenza*/
.descrizione-in-evidenza {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    opacity 0.3s ease,
    height 0.3s ease;
  color: #2f475e;
  font-size: 1rem;
}

@media (min-width: 1200px) {
  .descrizione-in-evidenza {
    -webkit-line-clamp: 2;
    opacity: 1;
    height: auto;
    visibility: visible;
    height: 60px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .descrizione-in-evidenza {
    -webkit-line-clamp: 1;
    opacity: 1;
    height: auto;
    visibility: visible;
    height: 30px;
  }
}

@media (max-width: 991.98px) {
  .descrizione-in-evidenza {
    opacity: 0;
    height: 0 !important;
    visibility: hidden;
  }
}

@media (min-width: 991.98px) {
  .title-primo-piano {
    min-height: 98px;
  }
}
/*END descrizioni-in-evidenza*/
.box-quadrato {
  aspect-ratio: 1 / 1; /* Mantiene proporzione quadrata */
  background-size: cover; /* Riempie senza deformare */
  background-position: center;
}

/*START Card personale*/

.card:after {
  margin-top: 0;
}

.card-personale {
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out;
  background-color: white !important;
}

.card-personale .card-body {
  display: flex;
  flex-direction: column;
}

.card-personale .card-body p {
  margin-top: auto; /* spinge il <p> in fondo alla card-body */
  margin-bottom: 0;
}

.card-personale .card-body hr {
  margin-bottom: 0;
}

.card-margin {
  margin-top: auto !important;
}

/*END Card personale*/

/*START modifica card allegati*/

@media (max-width: 369px) {
  /* nasconde la colonna con l’icona file */
  .allegato-card-content .icon-file-wrap {
    display: none !important;
  }

  /* fa allargare a tutta larghezza il blocco testo a destra */
  .allegato-card-content .recupero-allegati {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* mostra solo l'icona di download: nasconde la label visiva */
  .allegato-card-content .footer-allegato .link-class .link-label {
    display: none;
  }

  .recupero-allegati {
    padding-left: 1.5rem;
  }
}

@media (max-width: 580px) {
  /* Batte Bootstrap .d-flex { display:flex !important } (stesso !important, vince la specificità) */
  .allegato-card-content .allegato-svg.d-flex,
  .allegato-card-content .allegato-svg {
    display: none !important;
  }
  .allegato-card-content .recupero-allegati {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 2rem;
  }
}

/*END modifica card allegati*/

/*START breadcrumb personale */
.cmp-breadcrumbs-2 li > a {
  color: #004faa; /* tuo colore */
  text-decoration: underline; /* opzionale */
}

/* Stati */
.cmp-breadcrumbs-2 li > a:hover,
.cmp-breadcrumbs-2 li > a:focus {
  color: #30475f; /* hover/focus */
  text-decoration: underline; /* opzionale */
}

.rating > legend {
  font-size: 0.875rem !important;
}

/*START tabella provvedimenti*/

/* più spazio a "Oggetto" e gestione testo */
.table-provvedimenti th:nth-child(1),
.table-provvedimenti td:nth-child(1) {
  width: 40%;
  min-width: 260px; /* evita che si schiacci troppo */
  white-space: normal; /* consenti a capo */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.provvedimenti-filtri select {
  border: solid 1px;
}

.clean-input {
  display: none !important;
}

/*START miglioramento css matomo*/
/* === KPI Matomo - stile dashboard ASM === */
.matomo-kpi .table {
  width: 100%;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e6e9f2;
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 1px 1px rgba(16, 24, 40, 0.06);
  overflow: hidden;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.matomo-kpi .table-responsive {
  border-radius: 12px;
  overflow: hidden;
}

.matomo-kpi .table td {
  padding: 10px 14px;
  border: none !important;
  vertical-align: middle;
}

.matomo-kpi .table tr + tr td {
  border-top: 1px solid #eef1f6;
}

.matomo-kpi .table td:first-child {
  font-weight: 600;
  color: #444;
  width: 65%;
}

.matomo-kpi .table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #111;
}

.matomo-kpi .table tr:hover td {
  background: #fafbff;
}

/* Colori più coerenti col tema ASM */
.matomo-kpi .table-hover tbody tr:hover {
  background-color: #f6f8fc;
}

/* Responsive */
@media (max-width: 768px) {
  .matomo-kpi .table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

/*END miglioramento Matomo*/
.cmplz-message p {
  font-size: 1rem !important;
}

/*START CSS Articolazione degli uffici*/
.asm-uoc-wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(12px, 4vw, 24px);
  box-sizing: border-box;
}
.asm-uoc-grid {
  display: grid;
  gap: 1rem;
}
.asm-uoc-card {
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
}
.asm-uoc-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.asm-uoc-resp,
.asm-uoc-address,
.asm-uoc-phone,
.asm-uoc-email {
  margin: 0.25rem 0;
}
@media (max-width: 576px) {
  .asm-uoc-grid {
    grid-template-columns: 1fr;
  }
}

/*END CSS Articolazione degli uffici*/

/*CSS pallino in bandi di gara e concorso e avviso*/
.stato-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

.table-bandi .table > thead > tr > th:last-child,
.table-bandi .table > tbody > tr > td:last-child {
  min-width: 72px;
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}
.tooltip-pallino[data-tooltip]:hover:after {
  content: none !important;
}

.at-suite-tooltip {
  position: fixed;
  z-index: 999999;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

/*Filtri personale*/

.filter-personale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
}

.riempimento-pagina {
  margin-top: auto;
  padding-top: 20px;
}

/*Start social cellulare*/

.it-socials ul {
  list-style: none;
}
/*End social cellulare*/

/*Start card homepage*/

@media (max-width: 991px) {
  .mobile-card a {
    font-size: 20.8px;
  }
}

@media (max-width: 767px) {
  .mobile-card {
    width: 80%;
  }
}

.card-page-news {
  color: #2f475e;
}

.card-page-news h3 {
  font-weight: 600;
}

.uwy.userway_p1 .userway_buttons_wrapper {
  top: 93.2% !important;
  left: 97% !important;
}

@media (max-width: 768px) {
  .uwy.userway_p1 .userway_buttons_wrapper {
    left: 90% !important;
  }
}

.uwy.userway_p7 .userway_buttons_wrapper {
  top: 93.2% !important;
}

#postdivrich {
  display: none !important;
}

.iframe-albo {
  width: 93vw !important; /* 80% della pagina */
  max-width: none !important; /* rimuove i limiti del contenitore */
  position: relative;
  left: 50% !important; /* esce dal contenitore */
  transform: translateX(-50%); /* centra l'iframe */
  display: block;
}

/*Start template amm trasparente*/
.template-amm-trasp ul {
  padding-left: 0;
}
.template-amm-trasp span {
  white-space: nowrap;
}
/*End template amm trasparente*/

/*START FIX AMM TRASPARENTE*/

button.accordion-button:not(.collapsed)::after {
  background-image: none;
}

.cmp-navscroll
  .navbar.it-navscroll-wrapper
  .link-list-wrapper
  .accordion
  .accordion-header
  .accordion-button {
  text-wrap: inherit;
}
.progress,
.progress-stacked {
  height: 4px !important;
}
#accordion-title-one button.accordion-button {
  background: transparent;
}

@media (min-width: 992px) {
  .navbar.it-navscroll-wrapper {
    background: transparent;
  }
}

.navbar.it-navscroll-wrapper {
  background: transparent;
}

.accordion-item {
  border: none !important;
  background: transparent !important;
}

.navbar.it-navscroll-wrapper .menu-wrapper {
  background: transparent !important;
}

.accordion-body ul li a {
  color: #004faa;
}

div.row.row-column-border.row-column-menu-left aside.col-lg-3 {
  padding-top: 0;
  padding-bottom: 0;
}

div.cmp-navscroll.sticky-top nav.navbar.it-navscroll-wrapper {
  padding-top: 0;
}

div.accordion-body ul.link-list {
  margin-bottom: 0;
}

div#navbarNavProgress .menu-wrapper {
  padding-bottom: 0;
}

.color-link-strong {
  color: #004faa;
}
.accordion-button {
  background: transparent !important;
}

/* Non applicare alla riga card allegati (colore da impostazioni / .footer-allegato) */
div.row.info-wrapper.justify-content-between:not(.at-suite-allegati-row) a {
  color: var(--bs-link-color) !important;
}
div.row.info-wrapper.justify-content-between:not(.at-suite-allegati-row) a:hover,
div.row.info-wrapper.justify-content-between:not(.at-suite-allegati-row) a:focus {
  color: var(--bs-link-hover-color) !important;
}

h3#sezioni {
  font-weight: 500;
}
/*END FIX AMM TRASPARENTE*/

/* ── dci-docs: usa SVG custom inline disabilitando il behavior nativo di B-Italia ── */
.dci-docs-empty.alert {
  background-image: none !important;
  padding-left: 1.25rem !important; /* padding da alert normale Bootstrap standard */
}

/* Applica le variabili "subtle" di Bootstrap nativo (che B-Italia non intercetta) all'alert-primary */
.alert-primary {
  background-color: var(--bs-primary-bg-subtle) !important;
  border-color: var(--bs-primary-border-subtle) !important;
  border-left-color: var(--bs-primary-border-subtle) !important;
  color: var(--bs-primary-text-emphasis) !important;
}
.alert-primary .alert-link,
.alert-primary a {
  color: var(--bs-primary-text-emphasis) !important;
}

/* ── Regola specifica limitata agli h1 del contenuto principale ── */
main#at-suite-main h1 {
  font-size: 48px !important;
}

/* Specificity aumentata: 2 classi > 1 classe di Bootstrap —  */
.table-bandi .table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem !important;
  background-color: var(--bs-table-bg) !important;
  border-bottom-width: var(--bs-border-width) !important;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg, transparent) !important;
}

/* Bianco solo sugli th (intestazione) */
.table-bandi .table > thead > tr > th {
  color: #ffffff !important;
}

.table-bandi .table > tbody > tr > td a {
  color: #004faa !important;
}

.table-bandi .table > tbody > tr > td a:hover {
  text-decoration: underline;
}

aside {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Single bando: meta righe (label bold, testo 1rem) */
.at-suite-bando-meta {
  font-size: 1rem !important;
}
.at-suite-bando-meta__label {
  font-weight: 700;
}

/* Single bando: titoletti "Descrizione" / "Allegati" (sezioni, esiti, ecc.) */
.at-suite-scope--bandi .article-wrapper h5 {
  font-weight: 700;
}

.table-provvedimenti th:nth-child(1),
.table-provvedimenti td:nth-child(1) {
  color: #fff;
}

.article-wrapper h3.mb-4.mt-4{
  font-size: 28px !important;
}

.article-wrapper h3.mb-1.mt-4{
  font-size: 28px !important;
}

@media (min-width: 1200px) {
  .at-suite-scope  h1, .h1-style {
        font-size: 48px !important;
    }
}

.card-personale .card-body h5{
font-weight: 600 !important;
}
