/* 
Theme Name: DIAC Custom
Description: Tema custom standalone per DIAC.
Author: NDB
Version: 0.1.37
Text Domain: diac-custom
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Reset: border-box ovunque. */
*, *::before, *::after { box-sizing: border-box; }

/* Le immagini hanno larghezza e altezza nel codice: senza una regola che ne fissi l'altezza, restano proporzionate. */
:where(img[width][height]) { height: auto; }

/* Tipografia editoriale condivisa: home, archivi, pagine e articoli. */
.pagina,
.palchettone,
.apertura_esterna,
.site-main {
  color: var(--ex-color-ink, #080808);
  font-family: var(--diac-font-body, "Heebo", Arial, Helvetica, sans-serif);
}

.pagina h1,
.pagina h2,
.pagina h3,
.pagina .titolo,
.palchettone h1,
.palchettone h2,
.palchettone h3,
.palchettone .titolo,
.apertura_esterna h1,
.apertura_esterna h2,
.apertura_esterna h3,
.apertura_esterna .titolo,
.site-main h1,
.site-main h2,
.site-main h3,
.site-main .entry-title {
  font-family: var(--diac-font-editorial, "Playfair Display", Georgia, "Times New Roman", serif);
}

.pagina .titolo a,
.palchettone .titolo a,
.apertura_esterna .titolo a,
.site-main .entry-title a,
.archivio h2 a {
  color: inherit;
  text-decoration: none;
}

.pagina .titolo a:hover,
.pagina .titolo a:focus-visible,
.palchettone .titolo a:hover,
.palchettone .titolo a:focus-visible,
.apertura_esterna .titolo a:hover,
.apertura_esterna .titolo a:focus-visible,
.site-main .entry-title a:hover,
.site-main .entry-title a:focus-visible,
.archivio h2 a:hover,
.archivio h2 a:focus-visible {
  color: #54595f;
}

.articolo .testo a,
.entry-content a,
.archive-description a {
  color: #b8890f;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.sommario a {
  color: #080808;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.sommario a:hover,
.sommario a:focus-visible { color: #54595f; }

/* Gabbia delle pagine standard, coerente con la larghezza editoriale. */
.diac-page {
  width: min(calc(100% - 28px), var(--ex-content-max, 1140px));
  margin: 38px auto 60px;
}

.diac-page__article,
.diac-page .entry-content {
  width: 100%;
  min-width: 0;
}

.diac-page .entry-title {
  margin: 0 0 32px;
  color: var(--ex-color-ink, #080808);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
}

.diac-page .entry-content::after {
  display: table;
  clear: both;
  content: "";
}

.diac-page .entry-content img,
.diac-page .entry-content iframe,
.diac-page .entry-content video {
  max-width: 100%;
}

/* Documenti legali Complianz: stessa colonna e stesso corpo delle altre pagine. */
.diac-page #cmplz-document {
  max-width: none;
  font-size: inherit;
}

.diac-page #cmplz-document p,
.diac-page #cmplz-document li,
.diac-page #cmplz-document td {
  font-size: inherit;
}

/* Elenchi delle pagine Rubriche, Blog e Documenti. */
.diac-elenco { max-width: 777px; margin: 0; padding: 0; list-style: none; }
.diac-elenco li { margin: 0; }
.diac-elenco h2, .diac-elenco h3, .diac-elenco p { margin: 0; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 600; }
.diac-elenco a { color: #000; text-decoration: none; }
.diac-elenco a:hover, .diac-elenco a:focus-visible { text-decoration: underline; }
.diac-elenco--rubriche li { padding: 25px 10px; margin-bottom: 30px; border-bottom: 1px solid var(--ex-color-ink, #080808); }
.diac-elenco--rubriche h3 { font-size: 26px; line-height: 1; }
.diac-elenco--blog li { display: flex; align-items: center; gap: 20px; min-height: 101px; margin-bottom: 30px; border-bottom: 1px solid var(--ex-color-ink, #080808); }
.diac-elenco--blog h2 { flex: 1 1 auto; font-size: 22px; line-height: 1; }
.diac-elenco--blog .firma { margin: 0; color: #54595f; font-size: 14px; background-position: left center; }
.diac-elenco__foto { flex: 0 0 64px; width: 64px; height: 60px; object-fit: cover; }
.diac-elenco--documenti li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 10px; margin-bottom: 20px; }
.diac-elenco--documenti p { font-size: 22px; line-height: 1; }
.diac-elenco__icona { flex: 0 0 20px; width: 20px; height: 20px; fill: #000; }
.diac-elenco__paginazione { display: flex; justify-content: space-between; max-width: 777px; margin-top: 20px; }
.diac-elenco__paginazione a { color: inherit; }
@media (max-width: 767px) {
  .diac-elenco--blog li { flex-wrap: wrap; gap: 10px 20px; padding: 15px 0; }
  .diac-elenco--blog h2 { flex-basis: 100%; }
  .diac-elenco--blog .firma { flex: 1 1 auto; }
}

/* Modello di pagina «Libro» (template-libro.php): testo a sinistra, copertina a destra. */
.libro { display: grid; grid-template-columns: minmax(0, 721fr) minmax(0, 369fr); gap: 50px; align-items: start; }
.libro__testo { color: #333; font-size: 16px; line-height: 1.8; }
.libro__testo p { margin: 16px 0; }
.libro-scheda { font-style: italic; }
.libro-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 19px; margin: 30px 0 40px; }
.entry-content .libro-pulsante { display: inline-flex; align-items: center; gap: 8px; padding: 10px; background: #e9b31d; color: #000; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; }
.entry-content .libro-pulsante:hover, .entry-content .libro-pulsante:focus-visible { background: #f3c441; color: #000; }
.entry-content .libro-pulsante--secondario { background: #fff; }
.entry-content .libro-pulsante--secondario:hover, .entry-content .libro-pulsante--secondario:focus-visible { background: #f8e8bb; }
.libro-pulsante--acquista::before, .libro-pulsante--sfoglia::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--libro-icona) center / contain no-repeat; mask: var(--libro-icona) center / contain no-repeat; }
.libro-pulsante--acquista { --libro-icona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1 2h3.3l.8 3H22l-2.6 9H7.4l.6 2H20v2H6.5L3 4H1zm7 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4zm10 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4z'/%3E%3C/svg%3E"); }
.libro-pulsante--sfoglia { --libro-icona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5c3-1 6-.5 9 1.5V20c-3-2-6-2.5-9-1.5zm20 0v13.5c-3-1-6-.5-9 1.5V6.5c3-2 6-2.5 9-1.5z'/%3E%3C/svg%3E"); }
.libro-nota { font-size: 15px; font-style: italic; }
.libro__copertina { margin: 0; }
.libro__copertina img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) {
  .libro { grid-template-columns: 1fr; gap: 20px; }
}

/* Pubblicazioni: accesso anonimo. */
.diac-publication-access,
.diac-publication-access * {
  box-sizing: border-box;
}

.diac-publication-access {
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 40fr) minmax(0, 33fr);
  align-items: stretch;
  background: #ebf7fe;
}

.diac-publication-access__intro,
.diac-publication-access__login {
  padding: 40px;
}

.diac-publication-access h2 {
  margin: 0 0 20px;
  color: #080808;
  font-weight: 600;
  line-height: 1.2;
}

.diac-publication-access__intro h2 {
  font-size: 30px;
}

.diac-publication-access__login h2 {
  font-size: 22px;
}

.diac-publication-access p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.5;
}

.diac-publication-access__register,
.diac-publication-access #wp-submit {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: #e9b31d;
  color: #080808;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.diac-publication-access__register {
  padding: 8px 10px;
}

.diac-publication-access #wp-submit {
  padding: 10px 20px;
}

.diac-publication-access__register:hover,
.diac-publication-access__register:focus-visible,
.diac-publication-access #wp-submit:hover,
.diac-publication-access #wp-submit:focus-visible {
  background: #f1c341;
  color: #080808;
}

.diac-publication-access__login form p {
  margin-bottom: 14px;
}

.diac-publication-access__login label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.diac-publication-access__login input[type="text"],
.diac-publication-access__login input[type="password"] {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #767676;
  background: #fff;
  font: inherit;
}

.diac-publication-access__lost-password {
  display: block;
  margin-top: 8px;
  color: #080808;
  text-align: right;
}

.diac-publication-access__lost-password:hover,
.diac-publication-access__lost-password:focus-visible {
  color: #54595f;
}

.diac-publication-access__advertising {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.diac-publication-access__ad {
  width: 100%;
  max-width: 300px;
}

.diac-publication-access__ad--mobile {
  display: none;
}

@media (max-width: 1024px) {
  .diac-publication-access__intro,
  .diac-publication-access__login {
    padding: 20px;
  }

  .diac-publication-access__intro h2 {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .diac-publication-access {
    grid-template-columns: 1fr;
  }

  .diac-publication-access__intro,
  .diac-publication-access__login {
    padding: 28px;
  }

  .diac-publication-access__login {
    padding-top: 0;
  }

  .diac-publication-access__lost-password {
    text-align: left;
  }

  .diac-publication-access__advertising {
    padding: 0 0 28px;
  }

  .diac-publication-access__ad--desktop {
    display: none;
  }

  .diac-publication-access__ad--mobile {
    display: block;
  }
}

.diac-search__inner {
  width: 100%;
  min-width: 0;
}

.diac-search .search_filters_container,
.diac-search .results_container,
.diac-search .results_container_inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Filtri ricerca articoli: aspetto del form, con più respiro. */
.diac-search .search_filters_container form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
}

.diac-search .search_filters_container form > div {
  min-width: 0;
}

.diac-search .sf_cat_container,
.diac-search .sf_tag_container {
  position: relative;
}

.diac-search .sf_cat_container .select2-container--open,
.diac-search .sf_tag_container .select2-container--open {
  z-index: 1051;
}

.diac-search .search_filters_container input[type="text"],
.diac-search .select2-container .select2-selection--multiple,
.diac-search .sf_submit_container input[type="submit"] {
  min-height: 46px;
  border: 1px solid #a7a7a7;
  border-radius: 0;
  box-sizing: border-box;
  font-family: "Heebo", sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.diac-search .search_filters_container input[type="text"] {
  width: 100%;
  padding: 11px 13px;
  background: #fff;
  color: #080808;
}

.diac-search .search_filters_container input[type="text"]::placeholder,
.diac-search .select2-container--default .select2-search--inline .select2-search__field::placeholder {
  color: #6f6f6f;
  opacity: 1;
}

.diac-search .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.diac-search .select2-container--default .select2-selection--multiple {
  padding: 6px 8px;
  background: #fff;
}

.diac-search .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  display: block;
  padding: 0;
}

.diac-search .select2-container--default .select2-search--inline .select2-search__field {
  height: 32px;
  margin: 0;
  color: #080808;
  font-family: "Heebo", sans-serif;
  font-size: 16px;
  line-height: 32px;
}

.diac-search .sf_dates input#sf_dates_view {
  padding-right: 62px;
  cursor: pointer;
}

.diac-search .sf_submit_container input[type="submit"] {
  width: 100%;
  padding: 11px 24px;
  border-color: #080808;
  background: #080808;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.diac-search .sf_submit_container input[type="submit"]:hover,
.diac-search .sf_submit_container input[type="submit"]:focus-visible {
  background: #fff;
  color: #080808;
}

.diac-search .search_filters_container input:focus-visible,
.diac-search .select2-container--focus .select2-selection--multiple {
  border-color: #080808;
  outline: none;
  box-shadow: none;
}

.diac-search .total_results_container {
  margin: 36px 0;
  padding: 18px 0;
  border-top: 1px solid #a7a7a7;
  border-bottom: 1px solid #a7a7a7;
}

.diac-search .total_results_container--found {
  font-size: calc(1em + 4px);
  text-align: center;
}

/* Icona in ogni riga dei filtri, a destra come quella del calendario. */
.diac-search .sf_s_container,
.diac-search .sf_cat_container,
.diac-search .sf_tag_container {
  position: relative;
}

.diac-search .sf_s_container::after,
.diac-search .sf_cat_container::after,
.diac-search .sf_tag_container::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 12px;
  width: 16px;
  height: 16px;
  background: center / contain no-repeat;
  pointer-events: none;
}

.diac-search .sf_s_container::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23080808' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.5' cy='6.5' r='4.7'/%3E%3Cpath d='M10 10l4.5 4.5'/%3E%3C/svg%3E");
}

.diac-search .sf_cat_container::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23080808' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 3.5h4.5l1.5 2h7v7.5h-13z'/%3E%3C/svg%3E");
}

.diac-search .sf_tag_container::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23080808' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 2.5h6.5l6.5 6.5-5.5 5.5-6.5-6.5z'/%3E%3Ccircle cx='5' cy='6' r='1'/%3E%3C/svg%3E");
}

.diac-search .sf_s_container input[type="text"] {
  padding-right: 40px;
}

.diac-search .sf_cat_container .select2-container--default .select2-selection--multiple,
.diac-search .sf_tag_container .select2-container--default .select2-selection--multiple {
  padding-right: 40px;
}

@media (max-width: 620px) {
  .diac-search .search_filters_container form {
    gap: 14px;
  }
}

.relative{position: relative;}
/* Griglia principale */
.pagina { width: min(calc(100% - 28px), 1140px); max-width: 1140px; margin: 10px auto; display: flex; gap: 20px; align-items: flex-start; box-sizing: border-box;}

/* Sezione sinistra */
.corpo { flex: 1 1 820px; width: auto; min-width: 0; padding: 0; box-sizing: border-box;}

/* Sezione destra */
.spalla { flex: 0 0 300px; width: 300px; min-width: 0; padding: 0; box-sizing: border-box;}

/* Griglia interna nella sezione sinistra */
.multi { display: flex; gap: 20px; align-items: stretch;}
.notizia { display: flex; flex-direction: column;}

.c730 { width: 730px; }
.c660 { width: 660px; }
.c580 { width: 580px; }
.c540 { width: 540px; }
.c520 { width: 520px; }
.c480 { width: 480px; }
.c350 { width: 350px; }
.c320 { width: 320px; }
.c260 { width: 260px; }

.pad10 { padding: 10px; }
.pad20 { padding: 20px; }
.pad20ud { padding: 20px 0; }

.spazio { margin-bottom: 40px; }
.apertura_interna { margin-bottom: 20px; }
.bordo { border-bottom: 1px solid #333; margin-bottom: 20px; padding-bottom:20px; }
.bordodoppio { border-bottom: 1px solid #333; border-top: 1px solid #333; margin-bottom: 20px; padding:20px 0; }
.nero { background-color: #231F20; color: #fff; height: 100%; }
.nero a { color: #fff;}
.nero a:hover { color: #cccccc;}
/* Le regole generiche di titoli e sommari (hover grigio scuro) non devono battere quella del box nero. */
.nero .titolo a:hover, .nero .titolo a:focus-visible,
.nero .sommario a:hover, .nero .sommario a:focus-visible,
.nero a:focus-visible { color: #cccccc; }
.adv { width: fit-content; margin: 0 auto; }
.spalla .adv { margin: 40px 0; }

.custom_get_pdf_btn { margin: 50px 0; }

span.occhiello { font-weight:800; text-transform: uppercase; }
span.firma, p.firma { background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 20px; display: inline-block; line-height: 1; margin: 0 0 10px; font-size: 17px; font-weight: bold;}
.sommario { line-height: 1.3; font-size: 15.5px; margin: 0; display: block; }
img.foto_sx { float: left; margin-right:20px; }
img.foto_dx { float: right; margin: 0 0 20px 20px; }
img.foto_up { width: 100%; }
img.mic_dx { float: right; margin: 20px 0 0 20px; width: 65px; }
img.mic_sx { float: left; margin: 0 20px 0 0; width: 65px; }
img.foto_autore { width: 90px; }
h2.titolo { margin: 0 0 20px; font-weight: 600; }
.tre-colonne { column-count: 3; column-gap: 20px; column-fill: balance; position: relative;  }
.due-colonne { column-count: 2; column-gap: 20px; column-fill: balance; position: relative;  }
.centrale { text-align:center; }
p.caption { font-style: italic; font-size: 13px; }
p.link_rubrica { background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 20px; line-height: 1; font-size: 17px; font-style: normal;}
p.link_rubrica a,
.spalla .titolo a,
.spalla .collegati a { color: #080808; font-style: normal; font-weight: 500; text-decoration: none; }
p.link_rubrica a:visited,
.spalla .titolo a:visited,
.spalla .collegati a:visited { color: #080808; }
p.link_rubrica a:hover,
p.link_rubrica a:focus-visible,
.spalla .titolo a:hover,
.spalla .titolo a:focus-visible,
.spalla .collegati a:hover,
.spalla .collegati a:focus-visible { color: #54595f; text-decoration: underline; }
.etichetta-racconto { margin: 60px 0 20px; text-align: center; font-family: "Heebo", sans-serif; font-size: 20px; font-weight: 700; }
.occhiello.rubrica {background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 20px; line-height: 1; }

.apertura1 span.occhiello { font-size: 20.5px; }
.apertura1 h2.titolo { font-size: 46px; line-height: 1; }
.apertura1 img.foto { height:355px; width: 230px; object-fit: cover; }
.apertura1.orizzontale img.foto { float: none; display: block; width: 100%; height: auto; margin: 0 0 15px; }
.apertura1.foto_sotto img.foto { clear: both; margin: 15px 0 0; }
.apertura1 .affiancata { display: flex; gap: 20px; align-items: flex-start; }
.apertura1 .affiancata > a, .apertura1 .affiancata > .testo { flex: 1 1 0; min-width: 0; }
.apertura1 .affiancata img.foto { margin: 0; }
.apertura1 img.mic_dx { float: right; margin: 0 0 0 10px; width: 65px; }

.apertura2 { /*height: 400px;*/ }
.apertura2 span.occhiello { font-size: 18px; }
.apertura2 h2.titolo { font-size: 38px!important; line-height: 1.1!important; }
.apertura2 img.foto_sx { width: 230px; object-fit: cover; height: 266px; }
.apertura2 img.autore_sx { width: 100px; object-fit: cover; height: 140px; float: right; }

.apertura3o { /*height: 402px;*/ }
.apertura3o span.occhiello { font-size: 17px; }
.apertura3o h2.titolo { font-size: 31px!important; line-height: 1.1!important; }
.apertura3o .foto img { object-fit: cover; width: 100%; }
.apertura3o .testo { padding: 10px; }
.apertura3o .sommario { display:none; }
.apertura_esterna .apertura3o .foto img { max-height: 205px; }
.apertura_interna .apertura3o .foto img { max-height: 170px; }

.apertura3v { display: flex; align-items: center; gap: 20px; }
.apertura3v .foto { flex: 0 0 auto; height: 100%; }
.apertura3v .foto img { height: 100%; width: 260px; display: block; object-fit: cover; }
.apertura3v .testo { flex: 1; padding-right: 10px; }

.notizia span.occhiello { font-size: 18px; }
.notizia h2.titolo { font-size: 27px; line-height: 1.1; }

.giornata span.bacchetta { background-color: #E9B31D; color: #fff; font-size: 20.5px; width: 100%; display: block; padding: 2px 10px 0px; font-weight: 600; }
.giornata .box { padding: 8px; border: 1px solid #333; border-top: none; min-height: 405px; }
.giornata h2.titolo { font-size: 27px; line-height: 1.1; margin-top: 0; }
.giornata ul { padding: 0; }
.giornata li, .giornata h3 { font-family: "Heebo", Sans-serif; font-size: 15.5px; line-height: 1.3; background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 16px; display: inline-block; margin-top: 5px; margin-bottom: 12px;}
.giornata li b, .giornata li strong { text-transform: uppercase; }

/* La giornata in box giallo: sotto l'Apertura 2. */
.giornata-box { margin-top: 15px; padding-bottom: 8px; background: #E9B31D; }
.giornata-box span.bacchetta { display: inline-block; padding: 3px 10px 2px; background: #000; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.giornata-box h2.titolo { margin: 10px 10px 8px; font-size: 24px; line-height: 1.1; }
.giornata-box .firma { margin: 0 10px 6px; padding-left: 0; background: none; }
.giornata-box .sommario { padding: 0 10px; }
.giornata-box ul { margin: 0; padding: 0; list-style: none; column-count: 2; column-gap: 14px; }
.giornata-box .sommario li, .giornata-box .sommario h3 { position: relative; display: block; margin: 0 0 6px; padding-left: 16px; break-inside: avoid; font-family: "Heebo", Sans-serif; font-size: 14px; line-height: 1.25; background: none; }
.giornata-box .sommario li::before, .giornata-box .sommario h3::before { content: ""; position: absolute; left: 0; top: 3px; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent #fff; }
.giornata-box .sommario li b, .giornata-box .sommario li strong { font-size: inherit; line-height: inherit; text-transform: uppercase; }

.dossier { margin-bottom: 20px; }
.dossier div.bacchetta { background-color: #E9B31D; color: #fff; font-size: 18.5px; width: 100%; display: block; padding: 8px 10px 4px; font-weight: 600; line-height: 1; }
.dossier .box { padding: 11px; background-color: #231F20; color: #fff; }
.dossier .box a { color: #fff; }
.dossier a:hover { color: #ccc;}
.dossier ul { padding: 0; }
.dossier li, .dossier h3 { font-family: "Heebo", Sans-serif; font-size: 15.5px; line-height: 1.3; background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 16px; display: block; margin-top: 5px; margin-bottom: 12px;}
.dossier li b, .dossier li strong { text-transform: uppercase; }
.dossier .bacchetta span { text-transform: uppercase; clear: both; display: block; font-size: 20.5px; }
.dossier .box p b, .dossier .box p strong { font-family: "Playfair Display", Sans-serif; font-size: 27px; line-height: 1.1; margin-top: 0; font-weight: 600; }

.taglione span.occhiello { font-size: 18px; }
.taglione h2.titolo { font-size: 38px; line-height: 1.1; }
.taglione .foto { flex: 0 0 260px; width: 260px; }
.taglione .foto img { width: 100%; height: 100%; max-height: 400px; object-fit: cover; display: block; }
.taglione .testo { flex: 1 1 auto; width: auto; min-width: 0; }

.bando { border-top: 6px solid #000; background: url("img/giu-big.png"); background-repeat: no-repeat; background-position: center -80px; }
.bando span.bacchetta { color: #fff; text-align: center; font-size: 20.5px; width: 80%; display: block; padding: 10px 0 14px; font-weight: 600; margin: 0 auto; line-height: 1; }
.bando--box span.bacchetta { width: 60%; font-size: 16px; }
.bando h2.titolo { font-size: 27px; line-height: 1.1; margin: 0 0 20px; text-align: center; /*font-size: 38px; line-height: 1.1; margin-top: 10px;*/ }
.bando img.foto_dx { width: 110px; height: 150px; object-fit: cover; margin-bottom: 10px; }

.diari { border: 1px solid #333; padding: 10px; margin: 30px 0; }
.diari span.bacchetta { background-color: #E9B31D; color: #fff; font-size: 20.5px; width: 50%; display: block; padding: 2px 10px 0px; font-weight: 600; text-align: center; margin: -27px auto 10px; }
.diari .breve, .diari .lunga { margin: 10px 0; }
.diari .breve span.occhiello { font-size: 15px; }
.diari .breve h2.titolo { font-size: 20px; line-height: 1.1; margin: 0 0 5px 0; }

.dna span.bacchetta, .dna p.bacchetta { background-color: #5B8FA4; color: #fff; font-size: 20.5px; width: 100%; display: block; padding: 2px 10px 0px; font-weight: 600; margin: 10px 0; text-align: left; }
.dru span.bacchetta { background-color: #DD773F; /*background-color: #34928B;*/ color: #fff; font-size: 20.5px; width: 100%; display: block; padding: 2px 10px 0px; font-weight: 600; margin: 10px 0 0 0; text-align: left; }
img.logo_dna { width: 300px; }
.apertura_interna .dna span.bacchetta {margin:0 0 10px 0;}
.diari .dna span.bacchetta {margin: 0;}

	
.titolo_dna { height: 70px; margin: 20px 0 70px; background: url("img/dna_logo.png"); background-repeat: no-repeat; background-position: top left; background-size: contain; }
.titolo_dna h1 { display: none; }
	
.dru div.foto-numero img.bassa { height: 190px; width: 100%; object-fit: cover; }
.dru div.foto-numero img.alta { height: 260px; width: 100%; object-fit: cover; }
.dna div.foto-numero img { height: 190px; width: 100%; object-fit: cover; }

div.foto-numero div.info-numero { background: rgba(0,0,0,0.7); padding: 5px 10px; width: 120px; position: absolute; margin: 20px 10px;}
div.foto-numero div.info-numero p.numero { color: #E9B31D; font-size: 40px; text-align: center; display: block; font-weight: 700; padding: 0; margin: 0; width: 100%; line-height: 1.1; }
div.foto-numero div.info-numero p.info { color: #fff; font-size: 12px; text-align: left; display: inline-block; padding: 0; margin: 0; font-weight: 700; }

.instagram { background-color: #000; color: #fff; margin-bottom: 20px; padding: 0 20px; }
.instagram h3 { font-family: "Heebo", Sans-serif; font-size: 23.5px; font-weight: 600; margin: 0; padding: 20px 0 0 10px; }
.instagram svg.ico-diac-instagram { width: 30px; vertical-align: bottom; fill: #fff; float: right; margin: -3px 10px 0 0; }
.instagram .sbi-owl-dots .sbi-owl-dot span { background: #fff; }
.instagram #sb_instagram { padding-bottom: 0!important; }
.instagram .sbi-owl-next { right: -18px; }
.instagram .sbi-owl-nav .sbi-owl-prev { left: -18px; }
.instagram h3 a { color: #fff;}
.instagram h3 a:hover { color: #ccc;}
.instagram h3 a:hover svg.ico-diac-instagram { fill: #ccc;}

.blogger { background-color: #DFE9EF; padding: 0 10px 10px; border-top: 6px solid #E9B31D; }
.blogger span.bacchetta { font-weight: 800; text-align: center; font-size: 26px; line-height: 1; width: 100%; display: block; margin-top: -2px; }

.carosello { margin: 20px 20px 0px; }
.carosello .blog span.occhiello { font-size: 14px; margin-bottom: 5px;}
.carosello .blog h2.titolo { font-size: 24px; line-height: 1.1; margin-bottom: 5px; }
.carosello .blog .foto img { width: 60px; height: 90px; object-fit: cover; margin-right: 5px!important; }
.carosello .blog .autore { width: 160px; background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 20px; background-position-y: 3px; }
.carosello .blog p.nome { font-size: 17px; font-weight: 700; line-height: 1; margin: 0; }
.carosello .blog p.ruolo { font-size: 14px; line-height: 1.2; margin: 5px 0 0; }
.carosello .blog .multi { gap: 5px; margin-bottom: 20px; }
.carosello .blog span.occhiello a,
.carosello .blog p.nome a { color: inherit; text-decoration: none; }
.carosello .blog span.occhiello a:hover,
.carosello .blog span.occhiello a:focus-visible,
.carosello .blog p.nome a:hover,
.carosello .blog p.nome a:focus-visible { color: #54595f; text-decoration: underline; }
.carosello .blog { padding: 0 10px; }

.fotonotizia_verticale { display: flex; gap: 20px; align-items: stretch; }
.fotonotizia_verticale .fotonotizia { position: relative; flex: 0 0 65%; display: flex; min-height: 100px; }
.fotonotizia_verticale .fotonotizia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fotonotizia_verticale .notizie { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.fotonotizia_orizzontale { display: flex; flex-direction: column; gap: 20px; }
.fotonotizia_orizzontale .fotonotizia { position: relative; width: 100%; min-height: 100px; }
.fotonotizia_orizzontale .fotonotizia img { width: 100%; height: auto; object-fit: cover; display: block; }
.fotonotizia_orizzontale .notizie { display: flex; flex-direction: row; gap: 40px; }
.fotonotizia_orizzontale .notizia { flex: 1; display: flex; flex-direction: column; }

.fotonotizia { border-bottom: 6px solid #000; border-top: 6px solid #000; }
.fotonotizia .fondino { position: absolute; top: 0; left: 0; width: 100%; background: rgba(0,0,0,0.3); color: #fff; padding: 0 0 10px; }
.fotonotizia .fondino .occhiello { background: #000; padding: 0 10px 5px; }
.fotonotizia .fondino .titolo { padding: 10px 10px 0; margin: 0 0 5px; }
.fotonotizia .fondino .firma { margin: 0 0 0 10px; }
.fotonotizia .fondino .titolo a { color: #fff; }
.fotonotizia .fondino .titolo a:hover { color: #ccc;}

/* Spalla */

.spalla .rubrica { background-color: #EBF7FE; margin-bottom: 20px; }
.spalla .rubrica.speciale { background-color: #98BABF; margin-bottom: 20px; }
.spalla .rubrica span.bacchetta { text-transform: uppercase; background-color: #E9B31D; color: #000; font-size: 14px; line-height:1; width: 100%; display: block; padding: 5px; font-weight: 700; text-align: center; border-top: 4px solid #000; }
.spalla .rubrica h2.titolo { font-size: 22px; line-height: 1.1; margin-top: 0; font-weight: 600; }
.spalla .rubrica span.triangolo { font-size: 22px; font-weight: 700; text-align: center; background: url("img/giu-big.png"); background-repeat: no-repeat; background-position: top center; background-size: 50px; width: 100%; display: block; height: 50px;}
.spalla .rubrica img.foto_dx { width: 100px; margin: 0 0 10px 10px; }
.spalla .rubrica .foto img { width: 80px; height: 80px; object-fit: cover; margin-right: 5px!important; }
.spalla .rubrica .autore { width: 160px; background: url("img/dx.png"); background-repeat: no-repeat; padding-left: 20px; background-position-y: 3px; }
.spalla .rubrica p.nome { font-size: 17px; font-weight: 700; line-height: 1; margin: 0; }
.spalla .rubrica p.ruolo { font-size: 14px; line-height: 1.2; margin: 5px 0 0; }
.spalla .rubrica .multi { gap: 5px; margin-bottom: 20px; }

.spalla .collegati { margin: 40px 0; padding: 0px; }
.spalla .collegati,
.spalla .collegati *,
.spalla .collegati *::before,
.spalla .collegati *::after { box-sizing: border-box; }
.spalla .collegati div.bacchetta {
  width: 100%;
  min-height: 31px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background-color: #e9b31d;
  color: #fff;
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1;
}
.spalla.dna .collegati div.bacchetta { background-color: #5B8FA4; }
.spalla .collegati div.bacchetta p { margin: 0; }
.spalla .collegati .box { padding: 20px 10px 10px; border: 1px solid #333; border-top: none; gap: 30px; display: flex; flex-direction: column; }

.spalla .breve span.occhiello { font-size: 15px; }
.spalla .breve h2.titolo { font-size: 20px; line-height: 1.1; margin: 0 0 5px 0; }
.spalla .breve span.bacchetta { background-color: #E9B31D; color: #000; font-size: 14px; line-height:1; width: 100%; display: block; padding: 5px; font-weight: 700; text-align: center; border-top: 4px solid #000; }
.spalla .breve { border: 1px solid #000; margin-bottom: 20px; }
.spalla .box .breve { border: none; }

.spalla .cresmedaily .foto img { width: 100%; height: auto; margin: 0 0 10px 0; }

.spalla .intervento .lettera { background: #fff; margin: 0 20px; border: 1px dashed #ccc; padding: 20px; }

/* Palchettoni */
.palchettone { max-width: 1140px; margin: 0 auto 20px; gap: 20px;}
.apertura_esterna { max-width: 1140px; margin: 10px auto 20px; gap: 20px;}

.palchettone.stile1 { border: 1px solid #000; }
.palchettone.stile1 span.occhiello { background-color: #E9B31D; color: #fff; font-size: 20.5px; min-width: 300px; display: table; padding: 2px 20px 0px; font-weight: 600; text-align: center; margin: -1px auto 10px; }
.palchettone.stile1 h2.titolo { font-size: 38px; line-height: 1.1; text-align: center; margin: 10px; }
.palchettone.stile1 img.foto { width: 90px; height: 120px; object-fit: cover; }
.palchettone.stile1 p { margin: 0; }
.palchettone.stile1.fascettone { margin-top: 30px; }
.palchettone.stile1.fascettone span.occhiello { margin: -16px auto 10px; }

.palchettone.stile2 div.bacchetta { background-color: #E9B31D; color: #fff; font-size: 20.5px; width: 100%; display: block; padding: 0px; font-weight: 600; padding: 2px 0 0 0; }
.palchettone.stile2 span.occhiello { font-weight: 600; padding-left: 6px; }
.palchettone.stile2 span.ultimora { background-color: #000; padding: 2px 10px 0px; font-weight: 600; }
.palchettone.stile2 div.box { border: 1px solid #000; border-top: none; }
.palchettone.stile2 h2.titolo { font-size: 38px; line-height: 1.1; text-align: center; padding: 10px 0; margin: 0; }
.palchettone.stile2 div.sommario { line-height: 1.3; align-content: center; }
.palchettone.stile2 p.firma { -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; margin: 0 0 10px;   }
.palchettone.stile2 .due-colonne {  display: flex; align-items: flex-end; }
.palchettone.stile2 .due-colonne p { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; column-gap: 2rem; margin: 0; }
.palchettone.stile2 .foto img { border-style: none; height: 190px; width: 350px; object-fit: cover; }

.palchettone.stile3 div.occhiello { background-color: #E9B31D; color: #fff; font-size: 20.5px; width: 100%; display: block; padding: 2px 10px 0px !important; font-weight: 600; padding: 2px 0 0 0; }
.palchettone.stile3 div.occhiello span { margin: 0 20px; }
.palchettone.stile3 div.box { background: #000; color: #fff; padding: 10px; font-size: 18px;   }
.palchettone.stile3 .colonna1, .palchettone.stile3 .colonna2, .palchettone.stile3 .colonna3 { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.palchettone.stile3 .audio-container { margin: 10px 0 0 0; }

.fotoflash { position: relative; width: 100%; height: 100%; overflow: hidden; flex: 1; }
.fotoflash img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fotoflash span { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.5); color: #fff; padding: 10px; box-sizing: border-box; font-weight: bold; }

.colonna1 .fotoflash, .colonna2 .fotoflash { max-height: 240px; }
.colonna3 .fotoflash:only-child { max-height: 240px!important; }
.colonna3 .fotoflash:nth-child(1), .colonna3 .fotoflash:nth-child(2) { max-height: 110px; }
.colonna3 .fotoflash { position: relative; width: 100%; overflow: hidden; flex: none; }

.palchettone.stile4 span.occhiello { background-color: #E9B31D; color: #fff; font-size: 20.5px; width: 100%; display: block; padding: 2px 10px 0px !important; font-weight: 600; padding: 2px 0 0 0; }
.palchettone.stile4 div.box { border: 1px solid #000; border-top: none; padding: 10px 10px 0; font-size: 18px;   }
.palchettone.stile4 img.foto_dx { width: 60px; height: 90px; object-fit: cover; margin-bottom: 10px; }
.palchettone.stile4 .audio-container { margin: 0 0 10px 0; }

.mic-dx { float: right; width: 90px; height: auto; margin: 8px 0 0 14px; shape-outside: inset(0 round 8px); column-span: all; }

/* Stili carosello */
.splide_home_carousel{ width: 95%; margin: 0 auto; }
.splide_home_carousel .splide__arrow{ padding: .5rem; }
.splide_home_carousel .splide__arrow--prev{ left: -3em; }
.splide_home_carousel .splide__arrow--next{ right: -3em; }

/* Stili audioplayer */
.full_click_play{cursor: pointer;}
.audio-container{display: flex;position: relative;z-index: 10;margin: 0 10px 10px 10px;}
.navigation {display: flex;align-items: center;justify-content: center;z-index: 1;}
.action-btn {cursor: pointer;padding: 10px;margin: 0;}
.action-btn.action-btn-big {color: black;font-size: 12px;height: 35px;width: 35px;padding: 7px;}
.action-btn:focus {outline: 0;}
.audio-info {width: 100%;padding: 3px 0px 0px 10px;opacity: 1;transform: translateY(0%);transition: transform 0.3s ease-in, opacity 0.3s ease-in;z-index: 0;}
.progress-container {background: #CCCCCC;cursor: pointer;margin: 10px 0;height: 8px;width: 100%;}
.progress-container:hover {background: #b4b3b3;}
.progress {background-color: #E9B31D;height: 100%;width: 0;transition: width 0.1s linear;}
.action-btn svg {display: block;width: 100%;height: 100%;fill: currentColor;}
.action-btn .icona-pausa, .audio-container.play .action-btn .icona-play {display: none;}
.audio-container.play .action-btn .icona-pausa {display: block;}

.articolo { padding: 20px 20px 0 0 }
.articolo p.occhiello {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.articolo p.occhiello a { color: inherit; text-decoration: none; }
.articolo h1 {
  margin: 0 0 17px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}
.articolo span.data { margin-right: 10px; font-size: 16px; font-weight: 700; }
.articolo span.firma { font-size: 16px; }
.articolo .sommario { line-height: 1.8; font-size: 18px; }
.articolo .info.multi { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 30px 0;}
.articolo .info.multi .meta { flex: 1 1 auto; min-width: 0; }
.articolo .info.multi .meta p { display: flex; align-items: center; margin: 0; white-space: nowrap; }
.articolo .info.multi .meta span.data,
.articolo .info.multi .meta span.firma { line-height: 20px; }
.articolo .info.multi .meta span.firma { margin: 0; background-position: left center; }
.articolo .condividi { flex: 0 0 auto; }
.articolo .dd-social-buttons { flex-wrap: nowrap; font-size: 16px; }
.articolo .dd-social-buttons .social-btn { box-sizing: border-box; flex: 0 0 30px; width: 30px; height: 30px; }
.articolo .dd-social-buttons .social-btn svg { display: block; width: 100%; height: 100%; }
.articolo .immagine { margin-bottom: 30px; }
.articolo .audio-container { margin: 0 0 30px 0; }
.articolo .galleria { margin: 30px 0; }
.articolo img,
.articolo iframe,
.articolo video,
.articolo table { max-width: 100%; }
.articolo .testo { overflow-wrap: anywhere; }

.biografia { background-color: #fff; padding: 10px 20px 20px 20px; border: 1px solid #ccc; margin: 0 0 30px 0; font-size: 14px; line-height: 1.6em; min-height: 180px; }
.biografia h3 { font-size: 20px; }
.biografia img { width: 100px; float: left; margin: 0 20px 0 0; }

.registrati { background: #EBF7FE; padding: 40px; }
.registrati:not(.user_logged_in) .avviso, .registrati .login { width: 50%; }
.registrati .avviso .titolo { font-family: "Playfair Display", Sans-serif; font-size: 30px; font-weight: 600; line-height: 1.2; }
.registrati .login .titolo { font-family: "Playfair Display", Sans-serif; font-size: 22px; font-weight: 600; }
.registrati .bottone a { background: #E9B31D; padding: 8px 10px; font-size: 15px; font-weight: 500; margin-top: 10px; display: inline-block;}
.registrati .login .tml-links{display: none;}
.registrati .avviso a { color: #D5A015; }
.registrati .avviso .bottone a { color: #000; text-decoration: none; }
.registrati .avviso a:hover { color: #54595F; }
.registrati .avviso .big { font-size:22px; }

/* Form di accesso dei contenuti protetti. */
.registrati .protected_login_form .tml-field-wrap {
  margin: 0 0 14px;
}
.registrati .protected_login_form .tml-label {
  display: block;
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.2;
}
.registrati .protected_login_form .tml-field {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #767676;
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
  color: #080808;
  font: inherit;
}
.registrati .protected_login_form .tml-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: #e9b31d;
  color: #080808;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.registrati .protected_login_form .tml-button:hover,
.registrati .protected_login_form .tml-button:focus-visible {
  background: #f1c341;
  color: #080808;
}
.registrati .protected_login_form > p:last-child {
  margin: 4px 0 0;
}
.registrati .protected_login_form > p:last-child a {
  color: #080808;
  text-decoration: none;
}
.registrati .protected_login_form > p:last-child a:hover,
.registrati .protected_login_form > p:last-child a:focus-visible {
  color: #54595f;
}


/*Share*/
.dd-social-buttons { display: flex; flex-direction: row; gap: 15px; justify-content: center; flex-wrap: wrap; align-items: center; }
.dd-social-buttons .social-btn { display: flex; align-items: center; justify-content: center; padding: 7px; border: none; cursor: pointer; color: white; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; width: 30px; height: 30px; }
.dd-social-buttons .social-btn svg{ fill:white; }
.dd-social-buttons .social-btn:hover { transform: translateY(-2px);	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.dd-social-buttons .social-btn:active { transform: translateY(0); }
.dd-social-buttons .social-icon { fill: white; }
.dd-social-buttons .facebook { background-color: #1877f2; }
.dd-social-buttons .twitter_x { background-color: #000000; }
.dd-social-buttons .linkedin { background-color: #0a66c2; }
.dd-social-buttons .whatsapp { background-color: #25d366; }
.dd-social-buttons .telegram { background-color: #0088cc; }
.dd-social-buttons .email { background-color: #ea4335; }

/*galleria single*/
.single_gallery_img {cursor:pointer; }
.lg-outer.lg-visible, .lg-backdrop.in { z-index: 99999; }

.archivio h1 { margin-bottom: 60px; background: url("img/giu-big.png"); background-repeat: no-repeat; background-position: top left; background-size: contain; padding: 2px 0 10px 30px; }
.archivio h2 { margin-bottom: 5px; }
.archivio .meta p { margin-bottom: 0; }
.archivio .meta .data { margin-right: 5px; }
.archivio .notizia { border-bottom: 1px solid; margin-bottom: 20px; padding-bottom: 20px; }
.archivio .sommario p { margin: 0; }
.archivio .nav-links { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.archivio .nav-links a {
  color: var(--ex-color-ink, #080808);
  font-weight: 600;
  text-decoration: none;
}
.archivio .nav-links a:hover,
.archivio .nav-links a:focus-visible {
  color: #54595f;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.titolo_blog { border: 1px solid #E9B31D; padding: 10px; margin: -50px 0 50px; }
.titolo_blog p { margin: 0; padding: 0; }
.titolo_blog .foto img { height: 80px; max-width: 80px; width: 80px; object-fit: cover; }
.titolo_blog .ruolo { padding: 0 0 10px 20px; }
.titolo_blog .bio { font-style: italic; padding: 0 0 0 20px; }

.tax-titolo-blog h1 { margin-left: 18px; }
p.multiautore { margin: -50px 0 50px 20px; }

.adv_desktop { display: block; }
.adv_mobile { display: none; }

.gf_readonly input { background-color: #6B6B8714; }
form.change-password-form .form-group { display: grid; grid-template-columns: 15rem minmax(0, 20rem); column-gap: 12px; align-items: center; margin-bottom: 10px; }
p.offerta { font-size: 30px; font-family: 'Playfair Display'; }
.gform_wrapper  { margin-top: 30px; }
.abbonamenti { width:100%; }
.abbonamenti a { color: #D5A015; }
.abbonamenti .registrato { border: 1px solid #000; padding: 20px; margin: 50px 0 50px; background-color: #EBF7FE; }
.abbonamenti h2 { font-size: 1.6rem; }

/* CTA dei flussi di accesso e abbonamento DNA, e download dei documenti. */
.tml-action-login .tml-button,
body .gform_wrapper .gform_button,
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_page_footer input[type="submit"],
body .gform_wrapper .gform_next_button,
.diac-documento__download {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 0;
  background: #e9b31d;
  color: #080808;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.tml-action-login .tml-button:hover,
.tml-action-login .tml-button:focus-visible,
body .gform_wrapper .gform_button:hover,
body .gform_wrapper .gform_button:focus-visible,
body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_footer input[type="submit"]:focus-visible,
body .gform_wrapper .gform_page_footer input[type="submit"]:hover,
body .gform_wrapper .gform_page_footer input[type="submit"]:focus-visible,
body .gform_wrapper .gform_next_button:hover,
body .gform_wrapper .gform_next_button:focus-visible,
.diac-documento__download:hover,
.diac-documento__download:focus-visible {
  background: #f1c341;
  color: #080808;
}
.diac-documento__download { text-decoration: none; }
.abbonamenti .gform_wrapper .gform_previous_button,
body .gform_wrapper .gform_page_footer .gform_previous_button {
  min-height: 40px;
  padding: 9px 17px;
  border: 1px solid #080808;
  border-radius: 0;
  background: #fff;
  color: #080808;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.abbonamenti .gform_wrapper .gform_previous_button:hover,
.abbonamenti .gform_wrapper .gform_previous_button:focus-visible,
body .gform_wrapper .gform_page_footer .gform_previous_button:hover,
body .gform_wrapper .gform_page_footer .gform_previous_button:focus-visible {
  background: #f2f2f2;
  color: #080808;
}

/* ============================================================
   Componenti editoriali
   ============================================================ */

table.contenitore_grafici { width: 100%; }
table.contenitore_grafici th { background: #f7f7f7; text-align: left; }
table.contenitore_grafici td,
table.contenitore_grafici tr:hover td { background: #fff; }
table.contenitore_grafici tfoot td { border: 0; font-style: italic; }
table.compact td { padding: 5px; }

ul.elenco_temi { margin: 0; padding: 10px 0 10px 15px; list-style: none; }
ul.elenco_temi i.fas { margin-right: 10px; }
figcaption { padding-top: 0; font-size: 13px; }

.contenitore-sinistra { flex: 1 1 0; min-width: 0; }
.contenitore-destra { flex: 0 0 300px; width: 300px; }

.apertura-intervento .sommario img,
.sommario img { float: right; width: 30%; margin-left: 10px; }
.apertura-intervento .sommario img { margin-left: 20px; }
.sommario p { margin: 0 0 7px; }
.sommario ul { margin: 0; padding: 0; }
.sommario li,
#ez-toc-container li {
  margin: 0 0 0.6em;
  padding-left: 18px;
  background: url("img/dx-grey.png") no-repeat 0 3px;
  font-size: 14px;
  line-height: 1.4;
  list-style: none;
}
.sommario li b,
.sommario li strong { font-size: 17px; line-height: 1.3; }

#ez-toc-container {
  width: 40%;
  max-width: 100%;
  margin: 0 0 10px 20px;
  padding-top: 0;
}
.ez-toc-title-container { margin-bottom: 10px; padding: 1px 5px; background: #f8e8bb; }

p.firmabassa { margin: -10px 0 0 !important; padding: 0; text-align: right; font-weight: 700; }
.firma.bassa { margin-top: -10px; text-align: right; font-size: 12px; }
.scuro .firma { color: #fff; }

.evidenziato { min-height: 50px; margin-top: 10px; clear: both; }
.evidenziato img { float: left; width: 50px; margin-right: 10px; }
.evidenziato h2 { font-size: 18px; }
.collegati .titoletto { text-align: center; font-size: 22px; font-weight: 700; }

img.biopic { width: 80%; }
.infoblog img {
  float: left;
  width: 60px;
  height: 60px;
  margin-right: 5px;
  object-fit: cover;
  object-position: 50% 50%;
}
.infoblog .titolo { font-size: 14px; font-weight: 600; line-height: 1; text-transform: uppercase; }
.infoblog .autore {
  float: left;
  width: 65%;
  height: 70px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  font-size: 12px;
  line-height: 1.2;
}
.infoblog .autore b { font-size: 16px; line-height: 1; text-transform: uppercase; }
.infoblog .autore .di { font-weight: 400; text-transform: lowercase; }

.tml-rememberme-wrap { display: none; }

/* Pagina di accesso Theme My Login. */
.tml-action-login .entry-title,
.tml-action-login .entry-content {
  width: min(100%, 640px);
}

.tml-action-login .tml-login {
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  background: #ebf7fe;
}

.tml-action-login .tml-login form,
.tml-action-login .tml-field-wrap {
  width: 100%;
}

.tml-action-login .tml-label {
  display: block;
  margin: 0 0 5px;
  color: #080808;
  font-size: 14px;
  line-height: 1.2;
}

.tml-action-login .tml-field {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #767676;
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
  color: #080808;
  font: inherit;
}

.tml-action-login .tml-links {
  display: flex;
  gap: 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tml-action-login .entry-content .tml-links a {
  color: #080808;
  text-decoration: none;
}

.tml-action-login .entry-content .tml-links a:hover,
.tml-action-login .entry-content .tml-links a:focus-visible {
  color: #54595f;
  text-decoration: none;
}

@media (max-width: 767px) {
  .tml-action-login .tml-login {
    padding: 24px 18px;
  }

  .tml-action-login .tml-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* Recupero password Theme My Login. */
.tml-action-lostpassword .diac-page__article {
  width: 100%;
}

.tml-action-lostpassword .entry-title,
.tml-action-lostpassword .entry-content {
  width: min(100%, 640px);
}

.tml-action-lostpassword .entry-title {
  margin-bottom: 24px;
}

.tml-action-lostpassword .tml-lostpassword {
  padding: 40px;
  box-sizing: border-box;
  background: #ebf7fe;
}

.tml-action-lostpassword .tml-lostpassword form,
.tml-action-lostpassword .tml-field-wrap {
  margin: 0;
}

.tml-action-lostpassword .tml-message-wrap {
  margin-bottom: 24px;
}

.tml-action-lostpassword .tml-message {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.5;
}

.tml-action-lostpassword .tml-user_login-wrap {
  margin-bottom: 18px;
}

.tml-action-lostpassword .tml-label {
  display: block;
  margin: 0 0 5px;
  color: #080808;
  font-size: 14px;
  line-height: 1.2;
}

.tml-action-lostpassword .tml-field {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #767676;
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
  color: #080808;
  font: inherit;
}

.tml-action-lostpassword .tml-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: #e9b31d;
  color: #080808;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.tml-action-lostpassword .tml-button:hover,
.tml-action-lostpassword .tml-button:focus-visible {
  background: #f1c341;
  color: #080808;
}

.tml-action-lostpassword .tml-links {
  display: flex;
  gap: 22px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgb(8 8 8 / 18%);
  list-style: none;
}

.tml-action-lostpassword .tml-links a {
  color: #080808;
  font-weight: 500;
  text-decoration: none;
}

.tml-action-lostpassword .tml-links a:hover,
.tml-action-lostpassword .tml-links a:focus-visible {
  color: #54595f;
}

.tml-action-lostpassword .tml-alerts:not(:empty) {
  margin-bottom: 20px;
}

/* Messaggi di Theme My Login dentro il riquadro azzurro: solo testo, senza ulteriori box. */
body .tml .tml-message,
body .tml .tml-error,
body .tml .tml-success,
body .tml .tml-action-confirmaction .success {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  line-height: 1.5;
}

body .tml .tml-error {
  color: #b32d2e;
}

body .tml .tml-errors,
body .tml .tml-messages {
  margin: 0 0 12px;
  padding: 0;
}

.tml-action-lostpassword .tml-alerts:not(:empty) > :last-child,
.tml .tml-messages > :last-child,
.tml .tml-errors > :last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .tml-action-lostpassword .tml-lostpassword {
    padding: 28px;
  }

  .tml-action-lostpassword .tml-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Il menu Legal apre il pannello; la linguetta flottante resta nascosta. */
.cmplz-show-banner { cursor: pointer; }
button.cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show { display: none !important; }

.procontro h2 {
  padding-top: 15px;
  clear: both;
  color: #000;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
}
.procontro p,
.collegato p { font-size: 14px; line-height: 1.5; }
.collegato p { font-weight: 400; }
.procontro img { float: left; width: 30%; }
.procontro .up,
.procontro .down { font-size: 18px; font-weight: 700; }
.procontro .topinfo { float: right; width: 65%; height: 100px; margin-left: 10px; }
.procontro .topinfo p { line-height: 18px; }
.procontro .topinfo b { font-size: 16px; text-transform: uppercase; }
.procontro .topinfo .ruolo { font-size: 12px; }

.segnalazione { font-size: 13px; font-weight: 400; line-height: 21px; }
.segnalazione img { float: right !important; width: 60px; }
.puntatore,
.up,
.down { padding-left: 18px; background-repeat: no-repeat; background-position: 0 3px; }
.puntatore { background-image: url("img/dx.png"); }
.up { background-image: url("img/up.png"); background-position-y: 0; }
.down { background-image: url("img/dn.png"); background-position-y: 0; }

.articolo_dossier h3 {
  margin: 0 0 10px !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid #aaa;
  font-size: 18px;
  font-weight: 600;
}
.articolo_dossier.art1 h3,
.art1 h3 { padding: 0 !important; border-top: 0; font-size: 20px !important; }
.articolo_dossier p {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  font-size: 14px;
  font-weight: 700;
}


.fotogallery{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  padding: 10px 20px 20px;
}

.fotogallery__item{
  position:relative;
  display:block;
  width:calc((100% - (16px * 3)) / 4); /* 4 colonne */
  overflow:hidden;
  text-decoration:none;
}

.fotogallery__img{
  display:block;
  width:100%;
  height:320px;            /* stessa altezza per tutte */
  object-fit:cover;
}

.fotogallery__overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0.5); /* fondino nero 50% */
  padding:12px;
}

.fotogallery__nome{
  color:#fff;
  font-weight:600;
  line-height:1.2;
  text-align: center;
}

.fotogallery__ruolo{
  color:#fff;
  opacity:0.9;
  line-height:1.2;
  margin-top:4px;
  text-align: center;
  font-style: italic;
}

.estate-hero {
	text-align: center;
	font-weight: 700;
	background-color: #E9B31D;
	padding: 10px;
	margin: 40px 0 60px;
}

.estate-hero p.riga1 { font-size: 26px; margin: 0; }
.estate-hero p.riga2 { font-size: 22px; margin: 0; }

/* Responsive */
@media (max-width: 1024px){
  .fotogallery__item{ width:calc((100% - 16px) / 2); } /* 2 colonne */
}
@media (max-width: 640px){
  .fotogallery__item{ width:100%; } /* 1 colonna */
  .fotogallery__img{ height:260px; }
  .contenitore-destra { width: 100%; flex-basis: auto; }
  #ez-toc-container { float: none; width: 100%; margin-left: 0; }
  .procontro h2 { margin-top: 0; padding-top: 0; font-size: 20px; }
  .procontro img { width: 25%; }
  .procontro .topinfo { width: 70%; }
}


/* Tablet */
@media (max-width: 1024px) {
	
  .pagina { flex-direction: column; }
  .corpo, .spalla { flex: 0 0 auto; width: 100%; }
  .c480, .c320, .c260 { width: 100%; }
  .tre-colonne { column-count: 2; }

}

/* Mobile */
@media (max-width: 767px) {

	.adv_desktop { display: none; }
	.adv_mobile { display: block; }
	.diac-page { margin-top: 26px; margin-bottom: 42px; }
	.diac-page .entry-title { margin-bottom: 24px; font-size: 35px; line-height: 1.12; }

	.corpo, .spalla { /*padding: 15px;*/ }
	.pagina { padding: 10px; }
	.tre-colonne { column-count: 1; }
	.adv { max-width: 100%; margin: 20px auto !important;}
	.multi, .apertura3v { flex-direction: column; }
	.rubrica .multi, .carosello .multi { flex-direction: row; }
	.blogger .notizia .multi { flex-direction: row; }
	.carosello .notizia:not(:first-child) { display: none; }

	.taglione .testo, .c730, .c660, .c580, .c540, .c520, .c480, .c350, .c320, .c260 { width: 100%; }
	
	.apertura_esterna, .palchettone { margin: 10px; }
	
	img.foto_sx { width: 40% }
	
	.diari span.bacchetta { font-size: 1em !important; } 
	span.occhiello { font-size: 1em !important; }
	
	.taglione h2.titolo,
	.palchettone.stile1 h2.titolo, 
	.apertura1 h2.titolo, 
	.apertura2 h2.titolo { font-size: 1.6em !important; line-height: 1.2 !important; }
	
	.articolo h1 { font-size: 35px; }
	
	.taglione .foto { width: 100%; }
	
	.palchettone.stile1 span.occhiello { width: 50%; }
	.palchettone.stile4 div.box,
	.sommario { line-height: 1.5 !important; font-size: 1em !important; }
	
	.apertura1 img.foto { height: 100%; width: 100%; object-fit: cover; margin-bottom: 10px; }
	.apertura1 .affiancata { flex-direction: column; gap: 10px; }
	.apertura1 .affiancata > a, .apertura1 .affiancata > .testo { flex: none; width: 100%; }
	.apertura2 img.foto_sx { width: 100%; object-fit: cover; height: auto; margin-bottom: 10px; } 
	
	.apertura3v .testo { padding: 10px; }
	.apertura3v .foto { width: 100%; height: auto; }
    .apertura3v .foto img { width: 100%; height: auto; max-height: 300px; object-fit: cover; display: block; }

	.bando span.bacchetta { width: 40%; }
	
	.giornata .box {min-height: auto; }

	.taglione .foto img { width: 100%; }
	
	.fotonotizia_orizzontale .notizie { flex-direction: column; }
	
	.registrati .avviso, .registrati .login { width: 100%!important; }
		
}
/* ============================================================
   Template Estate (template-estate.php)
   ============================================================ */

/* .pagina del tema è in flex (main + spalla affiancati): qui le notizie
   sono figlie dirette, quindi blocco verticale a tutta larghezza. */
.pagina.estate { display: block; width: 100%; }

/* Hero: righe banner (campi ACF banner_riga_1 / banner_riga_2) */
.estate-hero .riga1 { /* stile prima riga hero */ }
.estate-hero .riga2 { /* stile seconda riga hero */ }

/* Notizia: immagine in evidenza a sinistra, testo a destra.
   Filetto nero 1px di separazione tra una notizia e l'altra. */
.notizia--estate {
	display: flex;
	flex-direction: row;
	gap: 24px;
	align-items: flex-start;
	border-bottom: 1px solid #000;
	padding-bottom: 24px;
	margin-bottom: 24px;
}
.notizia--estate .notizia__foto { flex: 0 0 33%; max-width: 320px; }
.notizia--estate .notizia__foto img { display: block; width: 100%; height: auto; }
.notizia--estate .notizia__testo { flex: 1 1 auto; min-width: 0; }

/* Spazio di 20px tra data e firma nel meta della notizia */
.notizia--estate .meta .firma { margin-left: 20px; }

/* Link archivio a fine loop: centrato, con triangolino giallo come le firme */
.estate-archivio-link { text-align: center; margin: 30px 0; }
.estate-archivio-link a {
	background: url("img/dx.png") no-repeat left center;
	padding-left: 20px;
	display: inline-block;
	color: var(--ex-color-ink, #080808);
	line-height: 1;
	font-weight: bold;
	text-decoration: none;
}
.estate-archivio-link a:hover,
.estate-archivio-link a:focus-visible {
	color: #666;
	text-decoration: none;
}

/* ADV: filetto nero 1px a tutta larghezza come le notizie.
   Override di ".adv { width: fit-content }" del tema. */
.adv--estate {
	width: 100%;
	border-bottom: 1px solid #000;
	padding-bottom: 24px;
	margin-bottom: 24px;
}

/* Se il contenitore del banner resta vuoto (nessun banner iniettato via JS),
   nasconde l'intero blocco ADV, filetto compreso. */
.adv--estate:has(.ndb_adv_space_container:empty) { display: none; }

/* ADV responsive: desktop/tablet vs mobile (le classi variante stanno
   sullo stesso elemento di .adv--estate, quindi selettori composti). */
.adv--estate.adv__mobile { display: none; }

@media (max-width: 767px) {
	.notizia--estate { flex-direction: column; }
	.notizia--estate .notizia__foto { flex-basis: auto; max-width: 100%; }
	.adv--estate.adv__desktop { display: none; }
	.adv--estate.adv__mobile { display: block; }
}

/* Profilo utente e flipbook delle pubblicazioni: la larghezza la dà già .corpo. */
.profilo-contenitore__inner { width: 100%; }
.pubblicazione-flipbook { padding-bottom: 20px; }
form.change-password-form input { box-sizing: border-box; width: 100%; max-width: 100%; }
form.change-password-form .submit-button {
  padding: 11px 24px;
  border: 1px solid #080808;
  background: #080808;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
form.change-password-form .submit-button:hover,
form.change-password-form .submit-button:focus-visible { background: #fff; color: #080808; }

/* Dati del profilo: etichetta e valore su due colonne, valori allineati a sinistra. */
.user_profile_data p { display: grid; grid-template-columns: 15rem 1fr; column-gap: 12px; margin: 0 0 6px; }
.user_profile_data p span { font-weight: 700; }
@media (max-width: 600px) {
	.user_profile_data p { grid-template-columns: 8rem 1fr; }
}
@media (max-width: 600px) {
	form.change-password-form .form-group { grid-template-columns: 1fr; row-gap: 4px; }
}

/* Campi password del profilo: più alti, con l'occhio per mostrare il testo (come nel popup di accesso). */
.profilo-password { position: relative; display: block; }
form.change-password-form .profilo-password input { height: 48px; padding: 0 48px 0 12px; }
.profilo-password__toggle {
  position: absolute;
  top: 0;
  right: 4px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.profilo-password__toggle img { width: 20px; height: 20px; }

/* Messaggi di esito sopra i dati del profilo, ben visibili: verde se ok, rosso se errore. */
.user_profile_response .success-message,
.user_profile_response .error-message {
  margin: 24px 0;
  padding: 14px 20px;
  border: 2px solid #2e7d32;
  text-align: center;
}
.user_profile_response .error-message { border-color: #b32d2e; }

/* Occhio per mostrare la password nei moduli Gravity Forms (registrazione, abbonamento). */
.diac-gf-password { position: relative; display: block; padding: 0 !important; }
.diac-gf-password input[type="password"],
.diac-gf-password input[type="text"] { padding-right: 52px; }
.diac-gf-password__toggle {
  position: absolute;
  top: 0;
  right: 4px;
  bottom: 0;
  width: 48px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
}
.diac-gf-password__toggle img { display: block; width: 20px; height: 20px; margin: 0; }
/* Gravity Forms ha un suo pulsante per mostrare la password (nei moduli dove e' acceso): resta solo il nostro, uguale a quello del resto del sito. */
.ginput_container_password .gform_show_password { display: none !important; }

/*
 * Paginazione, per tutto il sito: numerata (ricerca, archivi con paginate_links),
 * "pagina precedente/successiva" (archivi, home) e quella dell'elenco documenti.
 * Stessi segni dei campi di ricerca: spigoli netti, filetto grigio, nero al passaggio,
 * giallo del sito come accento sulla pagina corrente.
 */
.navigation.pagination,
.navigation.posts-navigation,
.diac-elenco__paginazione {
  margin: 44px 0 12px;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #a7a7a7;
  background: #fff;
  color: #080808;
  font-family: "Heebo", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible {
  border-color: #080808;
  background: #080808;
  color: #fff;
  outline: none;
}

.navigation.pagination .page-numbers.current {
  border-color: #080808;
  border-bottom: 4px solid #e9b31d;
  background: #080808;
  color: #fff;
  font-weight: 700;
}

.navigation.pagination .page-numbers.dots {
  min-width: 0;
  padding: 0 4px;
  border-color: transparent;
  background: transparent;
  color: #6f6f6f;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  font-size: 20px;
  font-weight: 700;
}

.navigation.posts-navigation .nav-links,
.diac-elenco__paginazione {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.navigation.posts-navigation .nav-links a,
.diac-elenco__paginazione a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #080808;
  background: #fff;
  color: #080808;
  font-family: "Heebo", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navigation.posts-navigation .nav-links a:hover,
.navigation.posts-navigation .nav-links a:focus-visible,
.diac-elenco__paginazione a:hover,
.diac-elenco__paginazione a:focus-visible {
  background: #080808;
  color: #fff;
  text-decoration: none;
  outline: none;
}

@media (max-width: 620px) {
  .navigation.pagination .nav-links {
    gap: 6px;
  }

  .navigation.pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
  }

  .navigation.posts-navigation .nav-links a,
  .diac-elenco__paginazione a {
    padding: 0 14px;
  }
}

.diac-elenco__paginazione span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 1px solid #d4d4d4;
  color: #8a8a8a;
  font-size: 16px;
  font-weight: 600;
}

/* Il padding destro del contenitore serviva al pulsante di GF (nascosto): senza, il campo password è largo come gli altri. */
.gform_wrapper .ginput_container_password .password_input_container { padding: 0 !important; display: block; width: 100%; }
.gform_wrapper .ginput_container_password .password_input_container input { width: 100% !important; max-width: 100% !important; }
