﻿/* =========================================================
   OSHO–REIKI
   HISTORY.ASPX

   CSS dedicato esclusivamente alla pagina History.aspx
   ========================================================= */


/* =========================================================
   PAGINA
   ========================================================= */

.reiki-history-page {
    width: 100%;
    background: #fbfaf7;
    color: #303030;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   CONTENITORE
   ========================================================= */

.reiki-history-wrap {
    width: calc(100% - 240px);
    max-width: 820px;
    margin: 0 auto;
    padding: 42px 0 54px;
    box-sizing: border-box;
}


/* =========================================================
   INTESTAZIONE
   ========================================================= */

.reiki-history-heading {
    max-width: 700px;
    margin: 0 auto 32px;
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 400;
    text-align: center;
}


/* =========================================================
   SOTTOTITOLO DAL DB
   ========================================================= */

.reiki-history-subtitle {
    display: block;
    margin-top: 8px;
    color: #686868;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    font-style: italic;
    font-weight: 400;
}


/* =========================================================
   ARTICOLO
   ========================================================= */

.reiki-history-content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    color: #303030;
    font-size: 16px;
    line-height: 1.58;
}


    /* =========================================================
   TESTO
   ========================================================= */

    .reiki-history-content p {
        margin-top: 0;
        margin-bottom: 17px;
    }

    .reiki-history-content i,
    .reiki-history-content em {
        font-style: italic;
    }

    .reiki-history-content strong,
    .reiki-history-content b {
        font-weight: 600;
    }


    /* =========================================================
   IMMAGINI STORICHE

   Le immagini sono già inserite nel testo del DB.
   ========================================================= */

    .reiki-history-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin-bottom: 6px;
    }


    /* =========================================================
   VECCHI DIV CON FLOAT

   Nel DB le fotografie sono racchiuse in div con
   style="float:left; width:...; height:...".

   Manteniamo il float originale ma aggiungiamo
   respiro attorno alle fotografie.
   ========================================================= */

    .reiki-history-content div[style*="float: left"],
    .reiki-history-content div[style*="float:left"] {
        margin-top: 4px !important;
        margin-right: 24px !important;
        margin-bottom: 16px !important;
        height: auto !important;
        color: #666;
        font-size: 12px;
        line-height: 1.35;
        text-align: center;
    }


    /* =========================================================
   LINK
   ========================================================= */

    .reiki-history-link,
    .reiki-history-content a {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .reiki-history-link:hover,
        .reiki-history-content a:hover {
            text-decoration-thickness: 2px;
        }


/* =========================================================
   SPAZIO TRA EVENTUALI MEMO
   ========================================================= */

.reiki-history-memo-space {
    clear: both;
    height: 22px;
}


/* =========================================================
   CHIUSURA FLOAT
   ========================================================= */

.reiki-history-content::after {
    display: block;
    clear: both;
    content: "";
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .reiki-history-wrap {
        width: calc(100% - 120px);
    }
}


@media (max-width: 900px) {

    .reiki-history-wrap {
        width: calc(100% - 48px);
        padding-top: 34px;
        padding-bottom: 46px;
    }

    .reiki-history-content {
        font-size: 15.5px;
    }
}


@media (max-width: 600px) {

    .reiki-history-wrap {
        width: calc(100% - 32px);
        padding-top: 28px;
        padding-bottom: 38px;
    }

    .reiki-history-heading {
        margin-bottom: 26px;
    }

    .reiki-history-content {
        font-size: 15px;
        line-height: 1.55;
    }


        /*
     * Su telefono eliminiamo i vecchi float.
     * La foto diventa un elemento centrato
     * sopra al testo relativo.
     */

        .reiki-history-content div[style*="float: left"],
        .reiki-history-content div[style*="float:left"] {
            float: none !important;
            width: auto !important;
            height: auto !important;
            max-width: 180px;
            margin: 24px auto 20px !important;
            text-align: center;
        }

            .reiki-history-content div[style*="float: left"] img,
            .reiki-history-content div[style*="float:left"] img {
                width: auto !important;
                height: auto !important;
                max-width: 145px;
                margin-right: auto;
                margin-left: auto;
            }
}
