@charset "UTF-8";

/* ==========================================================================
   SISTEMA CSS MODULARE CIAKLIFE - FILE: a5abit-cssve2.css
   Versione: V20260912-02
   Nomenclatura: css-llnn (Sequenziale Astratta)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & REGOLE DI BASE
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --dimensione-scheda: 18px;
}

body {
  font-family: "Times New Roman", Times, serif;
  background-color: #7F0000;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   css-aa.. : LAYOUT BASE E CONTENITORE PRINCIPALE
   -------------------------------------------------------------------------- */
/* Contenitore generale di sezione */
.css-aa01 {
  background-color: #7F0000;
  width: 100%;
  padding: 10px 5px;
  display: flex;
  justify-content: center;
}

/* Wrapper centrale Viola/Blu */
.css-aa02 {
  width: 100%;
  max-width: 1000px;
  background-color: #482E92;
  padding: 5px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 20px;
  outline: 2px solid #FFFFFF;
  outline-offset: 0px;
}

.css-aa02 p {
  color: #ffffff;
  font-size: 20px;
}

/* Protezione link generici interni */
.css-aa02 a {
  display: inline;
  margin: 0;
  padding: 0;
  line-height: normal;
  color: #FFCCFF;
  text-decoration: none;
}

.css-aa02 a:hover {
  color: #FF00FF;
}

/* --------------------------------------------------------------------------
   css-ab.. : HEADER (TESTATA) & LOGHI
   -------------------------------------------------------------------------- */
.css-ab01 {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #5527DA;
  border-radius: 4px;
  margin: 0;
  padding: 5px;
}

.css-ab02 {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  transition: width 0.3s ease, height 0.3s ease;
}

.css-ab03 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.css-ab04 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 15px;
  width: 100%;
  font-weight: bold;
  margin-bottom: 4px;
  line-height: 1.2;
  color: #ffffff;
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   css-ac.. : GRIGLIA PULSANTI NAVIGAZIONE
   -------------------------------------------------------------------------- */
.css-ac01 {
  display: grid;
  grid-template-columns: 1.02fr 1.02fr 1.02fr 1.02fr 1.02fr 0.9fr;
  gap: 8px;
  margin-bottom: 5px;
}

.css-ac02 {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #6A00F0;
  color: #ffffff;
  text-decoration: none;
  padding: 3px 3px 6px 3px;
  text-align: center;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.css-ac02:hover {
  background-color: #FF00CC;
  color: #ffffff;
}

.css-ac03 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.0;
  white-space: nowrap;
}

.css-ac03 br {
  display: none;
}

.css-ac04 {
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: bold;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
  letter-spacing: -1px; /* Avvicinamento caratteri richiesto */
}

/* --------------------------------------------------------------------------
   css-ad.. : BARRA REGISTRO CIAKLIFE & SELECTOR
   -------------------------------------------------------------------------- */
.css-ad01 {
  display: flex;
  width: 100%;
  background-color: #262626;
  border-radius: 6px;
  padding: 8px;
  gap: 10px;
  box-sizing: border-box;
  align-items: center;
}

/* Parte Sinistra: 61% (16% Registro + 45% Campo testo) */
.css-ad02 {
  flex: 0 0 61%;
  width: 61%;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Label Registro (16%) */
.css-ad03 {
  flex: 0 0 calc((16 / 61) * 100%);
  width: calc((16 / 61) * 100%);
  white-space: nowrap;
  color: #00FF00;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  font-weight: bold;
}

/* Campo Input Testo (45%) */
.css-ad04 {
  flex: 0 0 calc((45 / 61) * 100%);
  width: calc((45 / 61) * 100%);
  height: 35px;
  min-height: 35px;
  max-height: 35px;
  resize: none;
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 4px 8px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  box-sizing: border-box;
}

.css-ad04:focus {
  outline: none;
  border-color: #00bcd4;
}

/* Parte Destra: 39% (22% Selector + 17% Adesioni) */
.css-ad05 {
  flex: 0 0 calc(39% - 10px);
  width: calc(39% - 10px);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contenitore Selector (22%) */
.css-ad06 {
  position: relative;
  flex: 0 0 calc((22 / 39) * 100%);
  width: calc((22 / 39) * 100%);
  display: block;
}

/* Bottone Selector */
.css-ad07 {
  width: 100%;
  height: 35px;
  border: none;
  border-radius: 4px;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  background-color: #6A00F0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Menu Dropdown Selector */
.css-ad08 {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  max-height: 400px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 2px solid #6A00F0;
  border-radius: 6px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 99999;
  margin-top: 4px;
}

.css-ad08.css-show {
  display: block;
}

.css-ad08 a {
  color: #333333;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-size: 16px;
  font-family: Arial, sans-serif;
  line-height: 1.2;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  box-sizing: border-box;
}

.css-ad08 a:last-child {
  border-bottom: none;
}

.css-ad08 a:hover {
  background-color: #FF00DC;
  color: #ffffff;
}

/* Bottone Adesioni Link Padre (17%) */
.css-ad09 {
  flex: 0 0 calc((17 / 39) * 100%);
  width: calc((17 / 39) * 100%);
  height: 35px;
  background-color: #6A00F0;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 20px;
}

/* Span interno Adesioni con centratura e margin-top calibrato */
.css-ad10 {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   css-ae.. : CORPO CENTRALE & AREA TESTO
   -------------------------------------------------------------------------- */
.css-ae01 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 15px;
  background-color: #391c78; 
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px; 
  line-height: 1.4;
  overflow-x: auto;
  border-radius: 6px;
  margin-bottom: 2px;
}

/* Titolo di Fondo */
.css-ae02 {
  color: #FFD800;
  font-size: 20px;
  display: block;
  text-align: center;
  font-weight: bold;
  padding: 4px 0; 
  margin: 0;
}

/* --------------------------------------------------------------------------
   css-af.. : FOOTER (PIÈ DI PAGINA)
   -------------------------------------------------------------------------- */
.css-af01 {
  width: 100%;
  padding: 5px;
  background-color: #5527DA;
  border-radius: 6px;
  overflow-x: auto;
}

.css-af01 p {
  color: #f8fafc;
  font-size: 1.2rem;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  margin: 0;
}

.css-af01 a {
  color: #FF7CED;
  text-decoration: none;
}

.css-af01 a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.css-af02 {
  width: 20px;
  height: 10px;
  border: 0;
  vertical-align: middle;
}

.css-af03 {
  color: #15FF00;
}

/* ======================================================================
   STILE TABELLA PARTECIPANTI / ANNI (Prefix: css-ag)
   ====================================================================== */

/* Struttura principale della tabella */
.css-ag01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 980px;
  background-color: #6b21a1; 
  font-family: "Times New Roman", Times, serif;
  margin: 10px auto;
}

/* ======================================================================
   STILE TABELLA A RIGHE CONEVENTUALE TITOLO VERDE CON EVENTUALE TITOLO
   ====================================================================== */

/* Celle interne della tabella */
.css-ag01 td {
  border: 1px solid #c8e6c9;
  text-align: center;
  vertical-align: middle;
}

/* Titolo Lime  */
.css-ag02 {
  height: 60px;
  background-color: #5b21a1 !important;
  color: #00FF00 !important;
  font-size: 26px !important;
  font-weight: bold !important;
  text-align: center;
  vertical-align: middle;
}

/* Link delle righe interne */
.css-ag03 {
  color: #FFFFFF !important;
  font-size: 24px !important;
  font-weight: bold;
  text-decoration: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: normal !important;
}

/* Effetto Hover sui Link - Viola chiaro */
.css-ag03:hover {
  background-color: #FF00CC !important;
  color: #FFFFFF !important;
}

/* Testo disattivato (per eventuali anni/voci non cliccabili) */
.css-ag04 {
  color: #826AA0;
  font-size: 24px !important;
  font-weight: bold;
  display: block;
  width: 100%;
  height: 100%;
  cursor: default;
}

/* ======================================================================
   STILE TABELLA ANNI (Prefix: css-ah)
   ====================================================================== */

/* Struttura principale della tabella */
.css-ah01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 980px;
  background-color: #6b21a1; 
  font-family: "Times New Roman", Times, serif;
  margin: 10px auto;
}

/* Celle interne della tabella (10 colonne) */
.css-ah01 td {
  border: 1px solid #c8e6c9;
  text-align: center;
  vertical-align: middle;
  height: 85px;
  width: 10%;
}

/* Titolo Lime */
.css-ah02 {
  height: 40px;
  background-color: #5b21a1 !important;
  color: #00FF00 !important;
  font-size: 26px !important;
  font-weight: bold !important;
  text-align: center;
  vertical-align: middle;
}

/* Link Anno attivo  */
.css-ah03 {
  color: #FFFFFF !important;
  font-size: 24px !important;
  font-weight: bold;
  text-decoration: none;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: normal !important;
}

/* Effetto Hover sull'Anno attivo */
.css-ah03:hover {
  background-color: #FF00CC !important;
  color: #FFFFFF !important;
}

/* Anno disattivato (non cliccabile) */
.css-ah04 {
  color: #826AA0;
  font-size: 24px !important;
  font-weight: bold;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 85px;
  cursor: default;
}

/* ======================================================================
   STILE TABELLA RICERCA ALBUM ITALIA (Prefix: css-al)
   ====================================================================== */

/* Struttura della tabella di ricerca */
.css-al01 {
  border-collapse: collapse;
  width: 100%;
  max-width: 980px;
  background-color: #6b21a1; 
  font-family: "Times New Roman", Times, serif;
  margin: 10px auto;
}

/* Celle della tabella */
.css-al01 td {
  border: 1px solid #c8e6c9;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
}

/* Intestazione Viola della ricerca */
.css-al02 {
  height: 60px;
  background-color: #5b21a1 !important;
  color: #00FF00 !important;
  font-size: 26px !important;
  font-weight: bold !important;
  text-align: center;
  vertical-align: middle;
}

/* Campo Select (Tendina) */
.css-al03 {
  font-size: 24px !important;
  font-family: "Times New Roman", Times, serif;
  height: 40px;
}

/* Campo Testo Input */
.css-al04 {
  font-size: 24px !important;
  font-family: "Times New Roman", Times, serif;
  height: 36px;
}

/* Pulsante Submit (Vai) */
.css-al05 {
  background-color: aqua;
  border: 4px solid red;
  color: navy;
  font-weight: bold;
  padding: 0;
  height: 40px;
  width: 100px;
  line-height: 30px;
  font-size: 28px !important;
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
}

.css-al05:hover {
  background-color: #FF00DC;
  color: #FFFFFF;
}

/* Note di ricerca in basso */
.css-al06 {
  color: #FFFFFF;
  font-size: 20px !important;
  text-align: left;
  line-height: 1.4;
}

/* ======================================================================
   STILE SCHEDA NOTE ALBUM ITALIA (Prefix: css-am)
   ====================================================================== */

/* Contenitore scheda Note */
.css-am01 {
  background-color: #6b21a1;
  border: 1px solid #FFFFFF;
  border-radius: 6px;
  padding: 15px 10px;
  margin-bottom: 10px;
  color: #ffffff;
  font-family: 'Times New Roman', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  box-sizing: border-box;
}

/* Testo interno alla scheda Note */
.css-am02 {
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 1.5;
  color: #ffffff;
  font-size: 20px;
}

/* ======================================================================
   STILE SMISTAMENTO CENTRALE (Prefix: css-ap)
   ====================================================================== */

/* Stile per il Body del file Smistamento */
body.css-ap01 {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1a1a1a;
  color: #f0f0f0;
  margin: 40px;
}

/* Contenitore principale */
.css-ap02 {
  max-width: 1000px;
  background: #262626;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
  margin-top: 20px;
}

/* Titolo H2 */
.css-ap03 {
  color: #00bcd4;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-top: 0;
  text-align: center;
}

/* Titolo H3 */
.css-ap04 {
  color: #ffb74d;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

/* Layout Form */
.css-ap05 {
  margin-bottom: 18px;
}

.css-ap06 {
  display: flex;
  gap: 15px;
}

.css-ap06-top {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  margin-bottom: 15px;
}

.css-ap07 {
  flex: 1;
}

/* Label */
.css-ap08-lbl {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #bbb;
  font-size: 12px;
}

.css-ap08-lbl-lg {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #bbb;
  font-size: 14px;
}

/* Campi Input e Select */
.css-ap08 {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
  box-sizing: border-box;
  font-size: 14px;
}

.css-ap08:focus {
  border-color: #00bcd4;
  outline: none;
}

/* Pulsanti */
.css-ap09 {
  background: #00bcd4;
  color: #1a1a1a;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background 0.2s;
  margin-top: 15px;
}

.css-ap09-top {
  background: #00bcd4;
  color: #1a1a1a;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background 0.2s;
  margin-top: 0;
}

.css-ap09:hover,
.css-ap09-top:hover {
  background: #00acc1;
}

/* Box evidenziato */
.css-ap10 {
  background: #1e1e1e;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #333;
}

/* Note footer */
.css-ap11 {
  font-size: 12px;
  color: #777;
  margin-top: 25px;
  text-align: center;
}

/* ======================================================================
   STILE MODULO BENVENUTO / BOX BENVENUTO (Prefix: css-an)
   ====================================================================== */

/* Contenitore principale (Box di Benvenuto) */
.css-an01 {
  margin: 20px auto;
  text-align: center;
  padding: 20px 30px;
  background-color: #0026FF;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  border: 2px solid #FFD800;
  color: #FFD800;
  font-size: 28px;
  font-weight: normal;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

/* Per eventuale sottotitolo bianco */
.css-an02 {
  color: #FFFFFF;
  margin-top: 8px;
  font-size: 28px;
  font-weight: normal;
  display: block;
}

/* ======================================================================
   STILE BANNER MODULO 2 (Prefix: css-ao)
   ====================================================================== */

/* Contenitore esterno del banner */
.css-ao01 {
  width: 100%;
  margin: 5px;
  display: flex;
  justify-content: center;
}

/* Link / Box principale del banner */
.css-ao02 {
  width: 100%;
  max-width: 1000px;
  display: block;
  text-decoration: none !important;
  background-color: #0026CB;
  border: 2px solid #FFFF00;
  border-radius: 5px;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  transition: background-color 0.2s ease-in-out;
}

.css-ao02:hover {
  background-color: #5527DA;
  cursor: pointer;
}

/* Testo del banner */
.css-ao03 {
  color: lime !important;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.3;
  text-align: left;
  margin: 0;
  padding: 0;
}

/* Evidenziatore giallo per il tipo modulo */
.css-ao04 {
  background-color: #FFFF00 !important;
  color: blue !important;
  padding: 1px 4px;
  border-radius: 2px;
  font-weight: bold;
}

/* ======================================================================
   STILE EDITOR SCHEDA (Prefix: css-aq) - Tavolozza Dark Smist1
   ====================================================================== */

/* Body e contenitore principale */
body.css-aq01 {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 5px;
  margin: 0;
}

.css-aq02 {
  max-width: 1000px;
  margin: 10px auto;
  background: #262626;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

/* Header Editor */
.css-aq03 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 2px solid #00bcd4;
  padding-bottom: 5px;
}

.css-aq03 h2 {
  color: #00bcd4;
  margin: 0;
  font-size: 22px;
}

.css-aq03 .css-aq04 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  color: #ffb74d;
}

.css-aq03 .css-aq04 input {
  padding: 6px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
  border-radius: 4px;
  width: 150px;
  font-size: 14px;
}

/* Gruppo inline e controlli */
.css-aq05 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.css-aq05 label {
  font-weight: bold;
  margin: 0;
  color: #ffb74d;
  font-size: 14px;
}

.css-aq05 input[type="text"] {
  width: 220px;
  padding: 6px 10px;
  box-sizing: border-box;
  font-size: 15px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
  border-radius: 4px;
}

.css-aq05 select {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #333;
  font-weight: bold;
  color: #00bcd4;
  max-width: 100%;
}

/* Radio sorgente */
.css-aq06 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  background: #1e1e1e;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #00bcd4;
}

.css-aq06 .css-aq07 {
  font-weight: bold;
  color: #00bcd4;
  margin-right: 2px;
}

.css-aq06 label {
  font-weight: normal;
  cursor: pointer;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 3px;
}

.css-aq06 input[type="radio"] {
  cursor: pointer;
  accent-color: #00bcd4;
}

/* Box Dati Evento */
.css-aq08 {
  border: 2px solid #00bcd4;
  border-radius: 6px;
  padding: 12px 15px;
  margin-top: 20px;
  margin-bottom: 15px;
  background-color: #1e1e1e;
}

.css-aq08 .css-aq09 {
  font-size: 15px;
  font-weight: bold;
  color: #ffb74d;
  margin-bottom: 12px;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
  padding-bottom: 4px;
}

.css-aq10 {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.css-aq11 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  margin-bottom: 10px;
}

.css-aq11 label {
  font-weight: bold;
  font-size: 13px;
  color: #bbb;
  white-space: nowrap;
  margin: 0;
}

.css-aq11 input {
  padding: 6px 10px;
  box-sizing: border-box;
  font-size: 14px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
  border-radius: 4px;
}

.css-aq12 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
}

.css-aq12 label {
  font-weight: bold;
  font-size: 13px;
  color: #bbb;
}

.css-aq12 input {
  padding: 10px 12px;
  box-sizing: border-box;
  font-size: 14px;
  border: 1px solid #444;
  background: #333;
  color: #fff;
  border-radius: 4px;
  width: 100%;
}

/* Pulsanti */
.css-aq13 {
  background-color: #ffb74d;
  color: #1a1a1a;
  padding: 6px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.css-aq13:hover {
  background-color: #ffa726;
}

.css-aq14 {
  background-color: #00bcd4;
  color: #1a1a1a;
  padding: 6px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.css-aq14:hover {
  background-color: #00acc1;
}

.css-aq17 {
  background-color: #00bcd4;
  color: #1a1a1a;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
}

.css-aq17:hover {
  background-color: #00acc1;
}

/* Toolbar e Textarea Editor */
.css-aq15 {
  margin-top: 15px;
}

.css-aq16 {
  background: #1e1e1e;
  padding: 8px 15px;
  border: 1px solid #444;
  border-bottom: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  display: flex;
  align-items: center;
  color: #ffb74d;
}

#racconto_html {
  width: 100%;
  height: 420px;
  background-color: #111;
  color: #FFFFFE;
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  line-height: 1.4;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #444;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  resize: vertical;
  overflow-x: hidden;
  word-wrap: break-word;
}

/* Specchietto Info e Legenda */
.css-aq18 {
  background-color: #1e1e1e;
  border-left: 5px solid #00bcd4;
  padding: 12px;
  margin-top: 5px;
  border-radius: 4px;
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
  word-wrap: break-word;
}

.css-aq18 strong {
  color: #00bcd4;
}

.css-aq19 {
  background-color: #262626;
  padding: 8px 12px;
  border: 1px solid #444;
  border-radius: 4px;
  margin-top: 8px;
  font-weight: bold;
  color: #eee;
  flex-wrap: wrap;
  display: flex;
  gap: 5px;
}

/* Separatori hr decorativi */
.css-aq-hr {
  border: 0;
  border-top: 1px dashed #00bcd4;
  margin: 15px 0;
}

/* Inizio Schede ar */

/* =================================================================
   CLASSI MODULI E SCHEDE (Nomenclatura css-ar)
   ================================================================= */

/* Container generale del Modulo Link (ex .banner-modulo-container) */
.css-ar01 {
    margin: 10px 0;
    padding: 0;
}

/* Link del Modulo (ex .banner-modulo-link) */
.css-ar02 {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Paragrafo interno al Modulo (ex .banner-modulo-testo) */
.css-ar03 {
    margin: 0;
    padding: 8px 12px;
    background-color: #2a2a2a;
    border-left: 4px solid #00bcd4;
    color: #e0e0e0;
    font-size: 14px;
    border-radius: 3px;
}

/* Tag Tipo Modulo evidenziato (ex .banner-tipo-evidenziato) */
.css-ar04 {
    font-weight: bold;
    color: #00bcd4;
    margin-right: 5px;
}

/* Box Titolo Modulo mtit: (ex .mtit-box) */
.css-ar05 {
    margin: 15px 0 10px 0;
    padding: 10px;
    background-color: #222;
    border-bottom: 2px solid #ba68c8;
}

/* Titolo principale mtit (ex .mtit-titolo) */
.css-ar06 {
    font-size: 18px;
    font-weight: bold;
    color: #ba68c8;
}

/* Sottotitolo mtit (ex .mtit-sottotitolo) */
.css-ar07 {
    font-size: 14px;
    color: #b0bec5;
    margin-top: 2px;
}

/* Commento mtit (ex .mtit-commento) */
.css-ar08 {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 4px;
}

/* Wrapper dei Link generici nella scheda (ex .link-scheda) */
.css-ar09 a {
    color: #00bcd4;
    text-decoration: underline;
}

.css-ar09 a:hover {
    color: #b2ebf2;
}

/* Immagini centrate (ex .img-centrata) */
.css-ar10 {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Box Anteprima nella pagina di revisione (ex .box-anteprima) */
.css-ar11 {
    background-color: #121212;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    color: #fff;
}






/* --------------------------------------------------------------------------
   MEDIA QUERY UNIFICATA (MOBILE MAX-WIDTH 768PX)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {

  /* Contenitore e Header Mobile */
  .css-aa02 {
    font-size: 12px;
  }

  .css-aa02 p {
    font-size: 12px;
  }

  .css-ab02 {
    width: 40px;
    height: 40px;
  }
  
  .css-ab04 {
    font-size: 1rem;
    line-height: 1.15;
    padding: 0 5px;
  }

  /* Griglia Pulsanti Mobile */
  .css-ac01 {
    grid-template-columns: 1.02fr 1.02fr 1.02fr 1.02fr 1.02fr 0.9fr;
    gap: 2px;
  }

  .css-ac02 {
    margin-top: 2px;
    padding: 3px;
    background-color: #8A2BE2;
    color: #ffffff;
  }

  .css-ac03 {
    font-size: 2.9vw;
    line-height: 1.1;
    white-space: normal;
  }

  .css-ac03 br {
    display: block;
  }

  .css-ac04 {
    display: none;
  }

  /* Barra Registro CiakLife Mobile */
  .css-ad01 {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
  }

  .css-ad02 {
    flex: 0 0 61%;
    width: 61%;
    gap: 3px;
  }

  .css-ad03 {
    flex: 0 0 calc((16 / 61) * 100%);
    width: calc((16 / 61) * 100%);
    font-size: 12px;
    white-space: nowrap;
  }

  .css-ad04 {
    flex: 0 0 calc((45 / 61) * 100%);
    width: calc((45 / 61) * 100%);
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    font-size: 12px;
    padding: 2px 4px;
  }

  .css-ad05 {
    flex: 0 0 calc(39% - 4px);
    width: calc(39% - 4px);
    gap: 3px;
    align-items: center;
  }

  .css-ad06 {
    flex: 0 0 calc((22 / 39) * 100%);
    width: calc((22 / 39) * 100%);
  }

  .css-ad07 {
    height: 28px;
    font-size: 11px;
    padding: 0 1px;
  }

  .css-ad09 {
    flex: 0 0 calc((17 / 39) * 100%);
    width: calc((17 / 39) * 100%);
    height: 28px;
    padding: 0;
    margin: 0;
    font-size: 11px;
  }

  .css-ad10 {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 1;
    margin-top: 8px; 
  }

  .css-ad08 {
    width: 170px;
    max-height: 310px;
    z-index: 99999;
  }

  .css-ad08 a {
    padding: 6px 8px;
    font-size: 12px;
  }

  /* Corpo centrale e Footer */
  .css-ae01 {
    font-size: 14px;
    line-height: 1.3;
    padding: 8px 6px;
  }

  .css-ae02 {
    font-size: 14px;
    padding: 2px 0;
  }
  
  .css-af01 p {
    font-size: 12px;
  }
  
  /* Tabella a righe (es. Comitiva/Cordata Italia - css-ag) */
  .css-ag02 {
    font-size: 12px !important;
    color: #00FF00 !important;
    height: auto;
    padding: 1px;
  }

  .css-ag01 td { 
    height: 26px !important; 
  }

  .css-ag03,
  .css-ag03 b {
    font-size: 12px !important; 
    line-height: 26px !important; 
    height: 100%;
  }

  .css-ag04,
  .css-ag04 b {
    font-size: 12px !important; 
    line-height: 26px !important; 
    height: 100%;
  }

  /* Tabella Anni a 10 colonne (es. Eventi/Album - css-ah) */
  .css-ah02 {
    font-size: 12px !important;
    color: #00FF00 !important;
    height: auto;
    padding: 1px;
  }

  .css-ah01 td { 
    height: 26px !important; 
  }

  .css-ah03,
  .css-ah03 b {
    font-size: 12px !important; 
    line-height: 26px !important; 
    height: 100%;
  }

  .css-ah04,
  .css-ah04 b {
    font-size: 12px !important; 
    line-height: 26px !important; 
    height: 100%;
  }
  
  /* Mascherina Ricerca (css-al) */
  .css-al02 {
    font-size: 12px !important;
    color: #00FF00 !important;
    height: auto;
    padding: 1px;
  }

  .css-al03 {
    font-size: 16px !important;
    height: 32px;
    width: 100%;
    margin-bottom: 8px;
  }

  .css-al04 {
    font-size: 18px !important;
    height: 32px;
    width: 60%;
  }

  .css-al05 {
    font-size: 18px !important;
    height: 34px;
    width: 70px;
  }

  .css-al06 {
    font-size: 13px !important;
  }
  
  /* Scheda Note (css-am) */
  .css-am01 {
    font-size: 12px !important;
    padding: 10px 5px;
  }

  .css-am02, 
  .css-am02 * {
    font-size: 13px !important; 
    line-height: 1.3 !important;
  }

 body.css-ap01 {
    margin: 15px 5px;
  }
  
  .css-ap06,
  .css-ap06-top {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .css-an01 {
    margin: 10px auto;
    font-size: 16px;
    padding: 15px;
  }

  .css-an02 {
    font-size: 18px;
  }
  
    .css-ao02 {
    padding: 4px;
  }

  .css-ao03 {
    font-size: 0.8rem;
  }
  
  
  
  
}