/*
    * -------------------------------------------------------------
    * Stili personalizzati di Accentami
    * -------------------------------------------------------------
    * accentami.css
    *
    * Copyright 2016-2026 Luca Giacomini Sinapsi Srl
    * www.sinapsi.it
    * -------------------------------------------------------------
*/

/* ------------------------------- layout pagina (stile portale) */
.acc-page {
    max-width: 960px;
}

.acc-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgb(202, 202, 202);
    border-radius: 15px;
    padding: 20px;
    margin-top: 14px;
}

.acc-hero .acc-logo {
    font-weight: 700;
}

.acc-logo-red {
    color: #c22a22;
}

.acc-switch {
    padding-top: 4px;
}

.acc-result-cnt {
    display: none;
}

.acc-result-title {
    border-bottom: solid 1px rgb(202, 202, 202);
    padding-bottom: 6px;
}

.text_explain_acc {
    line-height: 1.9;
}

/* errore su campo di input */
.field-error {
    color: #c22a22;
    font-size: 0.85em;
    margin-top: 4px;
}

/* pannello elenco testi (esempi / i miei testi) */
.acc-help-cnt {
    position: relative;
}

.acc-ls-testi {
    position: absolute;
    z-index: 100;
    min-width: 300px;
    max-height: 320px;
    overflow-y: auto;
    background-color: #ffffff;
    border: 1px solid rgb(202, 202, 202);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    padding: 12px;
}

.acc-ls-title {
    border-bottom: solid 1px rgb(202, 202, 202);
    font-style: italic;
    margin-bottom: 8px;
    padding-bottom: 4px;
    padding-right: 24px;
}

.acc-ls-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #6c757d;
}

.acc-testo-item {
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
}

.acc-testo-item:hover {
    background-color: #e9f2fb;
}

/* ------------------------------- parole del testo elaborato */
.acc-dz-parola { font-size: 2em; color: cornflowerblue; }
.acc-dz-vocale { text-decoration: underline; font-weight: bold; color: #155d15; cursor: pointer; }

.acc-word-diz-tt { font-size: 2em; font-weight: bold; color: #5a5a5a; }
.acc-word-tt-in { font-weight: bold; width: 40px; font-family: 'Courier New'; font-size: 1.2em; margin-top: 6px; color: whitesmoke; }
.acc-word-tt-msg { font-size: 12px; font-weight: normal; }
.acc-dz-pers { color: limegreen !important; }
.acc-dz-del { text-decoration: underline; font-weight: normal; font-size: 12px; color: floralwhite; }

.acc-word-diz { text-decoration: none; font-weight: bold; color: forestgreen; cursor: pointer; }

.acc-undef { color: brown; }

.acc-word { text-decoration: underline; font-weight: bold; color: #2e75c7; cursor: pointer; }
.acc-word.active { background-color: #2e75c7; color: white; border-radius: 4px; }
.acc-word-diz.active { background-color: forestgreen; color: white; border-radius: 4px; }

.acc-word-dt { display: none; font-weight: normal; text-decoration: none; color: gray; }
.acc-word-omografa { color: #e07000; }
.acc-word-hight { font-size: 2em; background-color: gainsboro; padding: 4px; }

/* legenda accenti */
.acc-lge {
    display: inline-block;
    color: white;
    padding: 4px 10px;
    font-size: 0.8em;
    font-weight: bold;
    border-radius: 12px;
    margin: 2px 2px 2px 0;
}

.acc-lge.omografa { background-color: #e07000; }
.acc-lge.reg { background-color: #2e75c7; }
.acc-lge.diz { background-color: forestgreen; }
.acc-lge.diz-pers { background-color: limegreen; }
.acc-lge.undef { background-color: brown; }

.omgf-opts { font-style: italic; }
.omgf-opt:hover { background-color: lightgray; }

/* tooltip regole di accentazione */
.acc-regole {
    display: none;
    background-color: #e9f2fb;
    border: 1px solid #b6d4f0;
    border-radius: 10px;
    padding: 12px;
    margin: 6px 0;
    min-width: 50%;
}

.acc-regole.diz {
    background-color: #e8f6e8;
    border-color: #bfe3bf;
    color: #444444;
}

.acc-regole.out {
    background-color: #fdf0da;
    border-color: #f0d9a8;
    color: #444444;
}

.acc-link-data { display: none; }
.acc-link-reg { text-decoration: underline; color: gray; cursor: pointer; }
.acc-link-reg-diz { text-decoration: underline; color: gray; cursor: pointer; }
.acc-link-reg-trc { text-decoration: underline; color: #2e75c7; cursor: pointer; }

.acc-accento { font-size: 4em; font-family: 'Courier New'; line-height: 1; }
.acc-tipo { font-weight: bold; font-size: 1.5em; margin-bottom: 4px; }
