html, body {
    /*height: 297mm;*/
    /*width: 210mm;*/
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #dddddd;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

#result {
    width: calc(100% - 80px);
    padding: 25px 40px;
    background-color: #fff;
    line-height: 20px;
    position: relative;
}

p {
    margin: 0 0 0 0;
    line-height: 20px;
}

h1 { /* titolo Card */
    font-size: 34px;
    /*color: #111;*/
    color: #0f3b4f;
    line-height: 38px;
}

.breadCrumb { /* pagina Articolo */
    color: #777;
    font-weight: 700;
    margin: -15px 0 0 0
}

h2 { /* titolo Elemento */
    position: relative;
    font-size: 26px;
    color: #0095d9;
    /*border-bottom: solid 1px #e5e5e5;*/
    display: table;
    padding: 0px 14px;
    margin-left: -16px;
    border: solid 1px #e5e5e5;
    border-radius: 20px;
    line-height: 36px;
}

    h2 div { /* associazione Catalogo */
        position: absolute;
        top: -19px;
        left: 12px;
        /*background-color: #f8f8f8;*/
        display: inline-block;
        padding: 0px 5px;
        font-size: 10px;
        font-weight: normal;
        color: #98a3a9;
        text-align: left;
        border-radius: 0;
        line-height: 18px;
        min-width: 400px;
    }

.indice { /* OL list */
    margin: -30px 0 80px 0;
}

    .indice li {
        margin: 8px 0;
    }

        .indice li a {
            text-decoration: none;
            color: #008bd2;
            font-weight: bold;
        }

            .indice li a:hover {
                color: #333;
            }

.divTableContainer {
    overflow-x: auto;
}

.titolo_paragrafo {
    /* di seguito come da progetto Diametro */
    /*
    margin: 35px 0 8px 0 !important;
    font-size: 20px;
    font-weight: 700;
    color: #0095d9;
    display: inline-block;
    border-radius: 4px;*/


    background-color: #889499 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    display: inline-block !important;
    margin: 30px 0 10px 0;
    color: #fff !important;
    text-transform: uppercase;
    padding: 0px 12px !important;
    border-radius: 0.375rem;
}


.FotoFloat {
    position: relative;
    float: right;
    margin: 0 0 20px 20px;
    vertical-align: top;
    clear: both;
}

    .FotoFloat img {
        max-width: 300px;
        vertical-align: top;
    }

.FotoEstesa {
    position: relative;
    width: 100%;
    margin: 20px 0;
}

    .FotoEstesa img {
        max-width: 100%;
        vertical-align: top;
    }

    .FotoFloat span, .FotoEstesa span { /* didascalia*/
        position: relative;
        display: table;
        margin: 2px 0 0 0;
        padding: 0 10px;
        border: solid 0px #eee;
        color: #000;
        font-size: 16px;
        text-decoration: underline;
        text-align: left;
        font-style: italic;
    }

.FotoFloat span {
    background-color: transparent;
    color: #444;
    text-align: center;
    font-size: 13px;
    display: block;
}

.TabellaArticoli {
    width: 100%;
    /*table-layout: fixed;*/
    margin: 8px 0 20px 0;
    font-size: 12px;
    border-collapse: collapse;
}

    .TabellaArticoli, .TabellaArticoli th, .TabellaArticoli td {
        border: 1px solid #fff;
        border-collapse: collapse;
    }

        .TabellaArticoli thead tr th {
            background-color: #0095d9;
            color: #fff;
            margin: 0;
            font-weight: normal;
            padding: 5px 0;
            line-height: 15px;
        }

        .TabellaArticoli thead th[colspan] { /* THead Sottotabella */
            background-color: #3b729b;
            padding: 5px 0;
            border-radius: 6px 6px 0 0;
        }

        .TabellaArticoli thead tr .TH_empty {
            background-color: white;
        }

        .TabellaArticoli tbody tr td {
            text-align: center;
        }

        .TabellaArticoli tbody tr:nth-child(odd) {
            background-color: #dddede;
        }

        .TabellaArticoli tbody tr:nth-child(even) {
            background-color: #cfcfcf;
        }

        .TabellaArticoli tbody tr td:nth-of-type(1) {
            font-weight: bold;
        }

        .TabellaArticoli tbody tr:hover {
            background-color: #eee;
        }

        .TabellaArticoli a {
            text-decoration: none;
            color: #000;
        }

            .TabellaArticoli a:hover {
                color: #444;
            }

.noteTabella {
    width: 100%;
    margin: 0px auto 20px auto;
    text-align: center;
    font-size: 10px;
}

.separaElemento {
    position: relative;
    width: calc(100% - 60px);
    height: 1px;
    margin: 80px 0;
    background-color: #79c4eb;
    border-radius: 0;
}

    .separaElemento img {
        position: absolute;
        right: -60px;
        top: -27px;
        opacity: 0.9;
    }

.normative {
    line-height: 20px;
}

    .normative a {
        text-decoration: none;
        color: #026fc2;
    }

        .normative a:hover {
            color: black;
        }

    .normative span {
        font-style: italic;
        font-weight: normal;
        color: #555;
    }






.listing {
    width: 100%;
}

    .listing div {
        margin: 5px 0;
        color: #0095d9;
        font-size: 16px !important;
    }

        .listing div span {
            background-color: #889499 !important;
            font-weight: 700 !important;
            font-size: 12px !important;
            display: inline-block !important;
            margin: 0 5px 1px 0;
            color: #fff !important;
            text-transform: uppercase;
            padding: 0px 12px !important;
            border-radius: 0.375rem;
            vertical-align: bottom;
        }

    .listing a {
        text-decoration: none;
        margin-left: 12px;
        color: #000;
        font-weight:normal;
        font-size: 12px !important;
    }

        .listing a:hover {
            color: #555;
        }

/* generico per Tabelle */
#result table {
    border-collapse: collapse;
}

    #result table p {
        margin: 10px 0;
    }

    #result table td {
        padding: 5px 10px;
    }

/* impaginazione Articoli  */

.schedaCatalogoLeft, .schedaCatalogoRight {
    display: inline-block;
    width: 49%;
    margin: 0;
    text-align: left;
    padding: 0;
    border: 0;
    vertical-align: top;
    font-size: 0;
}

.schedaCatalogoLeft {
    margin-right: 2%;
}

.tableSingoloArticolo {
    margin: 20px 0;
    text-align: left;
    font-size: 14px;
    max-width: 500px;
}

    .tableSingoloArticolo div {
        margin: 1px 0;
        font-weight: 700;
    }

        .tableSingoloArticolo div:nth-child(even) {
            background-color: #dddede;
        }

        .tableSingoloArticolo div:nth-child(odd) {
            background-color: #cfcfcf;
        }

        .tableSingoloArticolo div span {
            display: inline-block;
            width: 230px;
            margin: 0 3px 0 0;
            padding: 3px 8px;
            background-color: #0095d9;
            color: #fff;
            font-weight: normal;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }

.allegati {
    padding: 20px 0 0 0;
    font-size: 16px;
}

    .allegati div {
        min-height:60px;
        display: table;
        vertical-align: middle;
        background-color: #fff;
        border: solid 2px #cfcfcf;
        color: #0095d9;
        padding: 40px 30px 0 90px;
        cursor: pointer;
        margin: 0 0 0 0;
        font-weight: 700;
        background-image: url(/images/buttons/icona_download.png);
        background-repeat:no-repeat;
        background-position: 20px 20px;
    }

        .allegati div img {
            vertical-align: middle;
            margin: 0 20px 0 0;
          
        }

        .allegati div:hover {
            background-color: #f2f2f2;
        }

        .allegati div span {
            font-size: 12px;
        }

        .allegati div.BIM {
            text-transform: capitalize;
        }

            .allegati div.BIM img {
               
            }

.fotoArticolo {
    margin: 20px 0;
}

    .fotoArticolo img {
        max-width: 100%;
    }

.descArticolo {
    margin: 20px 0 50px 0;
    font-size: 14px;
}

/* Librerie BIM*/
.schedaCatalogoLeft[mod~=BIM], .schedaCatalogoRight[mod~=BIM] {
    width: 59%;
}

.schedaCatalogoLeft[mod~=BIM] {
    margin-right: 2%;
    width: 39%;
}

h2[mod~=categorieBim] {
    font-size: 14px;
    background-color: #fff;
    margin: 10px 0;
    cursor: pointer;
    line-height: 20px;
    padding: 6px 14px;
}

    h2[mod~=categorieBim]:hover {
        background-color: #f6f6f6;
    }

    h2[mod~=categorieBim] .close {
        color: black;
        cursor: pointer;
        font-weight: normal;
        vertical-align: middle;
        margin: 0 0 0 5px;
    }

.ulListingBim { /* ul BIM*/
    margin: 10px 0 0 0;
    padding: 0;
    list-style-type: none;
}

    .ulListingBim li {
        width: calc(50% - 20px - 40px - 4px);
        margin: 20px 10px;
        padding: 20px;
        vertical-align: top;
        display: inline-block;
        font-size: 14px;
        border: solid 2px #cfcfcf;
        cursor: pointer;
    }

        .ulListingBim li:hover > .btnDownload {
            width: 90%;
            background-color: #006d9f;
            border-radius: 10px;
        }

        .ulListingBim li div { /* blocco titolo file */
            display: block;
            text-align: left;
            margin: 0 0 5px 0;
        }

            .ulListingBim li div span { /* titolo file */
                /*display: inline-block;*/
                margin: 10px 0 0 0;
                /*color: #0095d9;*/
                color: black;
                font-size: 18px;
                line-height: 22px;
                font-weight: 700;
                text-transform: capitalize;
                text-align:center;
            }

            .ulListingBim li div img { /* img di download*/
                float: left;
                vertical-align: middle;
                margin: 0 20px 0 0;
            }

        .ulListingBim li span { /* desc file */
            display: block;
            font-weight: normal;
            font-size: 13px;
            line-height: 15px;
            color: #777;
            text-align: center;
        }

        .ulListingBim li p {
            width: 100%;
            display: block;
            margin: 0 auto;
            text-align: center;
            border-bottom: solid 1px #eee;
        }

            .ulListingBim li p img { /* vera immagine*/
                max-width: 70px;
                margin: 0 0 10px 0;
            }

        .ulListingBim li .btnDownload {
            width: 100%;
            background-color: #0095d9;
            font-weight: 400;
            color: white;
            text-align: center;
            margin: 10px auto 0 auto;
            transition: linear 0.2s;
        }

/*  Normative */
.listingNormative {
    width: 100%;
    min-height: 400px;
    margin: 0 0 50px 0;
}

    .listingNormative div {
        margin: 5px 0;
    }

    .listingNormative a {
        display: block;
        text-decoration: none;
        margin: 0 0 10px 0;
        color: #247b85;
        line-height: 16px;
        font-size: 16px;
    }

        .listingNormative a:hover {
            color: #000;
        }

    .listingNormative ul {
        margin: 0 0 20px 0;
        padding: 0;
        list-style-type: none;
    }

        .listingNormative ul li {
            width: calc((100% - 30px) / 4 - 20px);
            height: 70px;
            display: inline-block;
            vertical-align: top;
            margin: 10px 10px 0 0;
            padding: 10px;
            background-color: #edeeed;
            cursor: pointer;
            border-radius: 5px;
        }

            .listingNormative ul li:nth-of-type(4n) {
                margin: 10px 0px 0 0;
            }

            .listingNormative ul li:hover {
                background-color: #ddd;
            }

            .listingNormative ul li div {
                display: inline-block;
                line-height: 70px;
                height: 100%;
                margin: 0;
                max-width: calc(100% - 70px);
            }

                .listingNormative ul li div span { /* regione */
                    display: inline-block;
                    vertical-align: middle;
                    line-height: normal;
                    font-weight: 700;
                    font-size: 16px;
                    text-transform: capitalize;
                }

            .listingNormative ul li c { /* conta norme */
                color: #000;
                display: inline-block;
                vertical-align: middle;
                width: 25px;
                height: 25px;
                text-align: center;
                line-height: 25px;
                padding: 0 0;
                background-color: #ffffff;
                border-radius: 100%;
                font-size: 12px;
            }

            .listingNormative ul li p { /* box x stemma*/
                display: inline-block;
                vertical-align: top;
                margin: 0 auto;
                padding: 0;
                width: 70px;
                height: 70px;
                float: right;
                text-align: center;
                background-color: #fff;
            }

                .listingNormative ul li p img { /* stemma */
                    max-height: 60px;
                    max-width: 60px;
                    vertical-align: top;
                    margin: 5px 0 0 0;
                }



.regione {
    margin: 0 0 20px 0;
    font-weight: bold;
}

    .regione span {
        font-weight: normal;
    }

.allegatiNormative {
}

    .allegatiNormative div {
        display: table;
        margin: 0 10px 10px 0;
        padding: 5px 8px;
        background-color: #ffc4c4;
        cursor: pointer;
        border-radius: 2px;
    }

        .allegatiNormative div:hover {
            background-color: #E7A9A9;
        }


/* login per catalogo DWG */
.areaRiservataLogin {
    width: calc(90% - 40px);
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background-color: #d7dfe3;
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    z-index: 9999999;
    border-radius: 20px;
}

    .areaRiservataLogin .intro {
        font-size: 16px;
        margin: 0 0 20px 0;
        padding: 0 20px;
    }

    .areaRiservataLogin input[type=text], .areaRiservataLogin input[type=password] {
        width: calc(100% - 20px);
        max-width: 200px;
        padding: 7px 10px;
        font-size: 15px;
        color: #7f7f7f;
        background-color: #fff;
        border: 0px solid #ccc;
        border-radius: 5px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-weight: normal;
        outline: none;
        text-align: center;
    }

    .areaRiservataLogin input[type=button] {
        display: inline-block;
        background-color: #026fc2;
        width: auto;
        font-size: 15px;
        margin: 20px 0;
        padding: 6px 20px;
        text-align: center;
        color: #fff;
        border: 0;
        border-radius: 20px;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

        .areaRiservataLogin input[type=button]:hover {
            background-color: #333;
        }

    .areaRiservataLogin hr {
        max-width: 80px;
        margin: 20px auto;
    }

    .areaRiservataLogin a {
        color: #026fc2 !important;
        text-decoration: none;
    }

    .areaRiservataLogin label {
        font-size: 14px;
        margin: 0 0 0 2px;
        color: #444;
    }

.clouder {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #000;
    opacity: 0.8;
    filter: Alpha(Opacity=80);
}

#utenteAreaRiservata {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #d4e7ef;
    border-radius: 0 0 0 10px;
    text-align: right;
}

    #utenteAreaRiservata .utente {
        padding: 10px 20px;
        font-weight: bold;
    }

        #utenteAreaRiservata .utente span {
            font-weight: normal;
            font-size: 12px;
        }

/* MOBILE ------------------ MOBILE ------------------ MOBILE --------------- */
@media screen and (max-width: 900px) {
    #result {
        width: calc(100% - 40px);
        padding: 20px 20px;
    }

    h2 {
        padding: 0px 10px;
        margin-left: -12px;
    }

        h2 div {
            left: 8px;
            min-width: fit-content;
        }

    .FotoFloat {
        margin: 0 0 10px 10px;
    }

        .FotoFloat img {
            max-width: 250px;
        }

    /* per scheda articolo */
    .schedaCatalogoLeft, .schedaCatalogoRight {
        width: 100%;
    }

    /* per normative */
    .listingNormative ul li {
        width: calc((100% - 30px) / 2 - 20px);
    }

    /* Librerie BIM*/
    .schedaCatalogoLeft[mod~=BIM], .schedaCatalogoRight[mod~=BIM] {
        width: 100%;
    }
}

@media screen and (max-width: 440px) {

    h2 {
        font-size: 20px;
        line-height: 26px;
    }

        h2 div {
            display: none;
        }

    .FotoFloat {
        float: none;
        margin: 0 0 20px 0;
    }

        .FotoFloat img {
            max-width: 100%;
            margin: 0 auto;
        }

    /* per normative */
    .listingNormative ul li {
        width: calc((100% - 30px) - 20px);
    }
}

@media screen and (max-width: 600px) { /* per IMG contenuti nei paragrafi (data:image base64) */

    #result p img {
        float: none !important;
        max-width: 100% !important;
        border-width: 0 !important;
    }
}

/* MEDIA PRINT --------------- PRINT ----------------- PRINT ---------------- */

@media print {
    html, body {
        width: 100%;
        background-color: #fff;
        font-family: Arial, Helvetica, sans-serif;
    }

    h2 div {
        display: none;
    }

    #up_arrow {
        display: none !important;
    }

    .divTableContainer {
        overflow-x: visible; /* altrimenti la tabella viene mostra con lo scroll che però è inutilizzabile - così pare restingere tutto il testo pur di mostrarla */
    }
}


/*-------------finestre alert---------- */
.jqifade {
    position: absolute;
    background-color: #000;
}

div.jqi {
    font-family: Arial;
    position: absolute;
    background-color: #eee;
    font-size: 15px;
    text-align: left;
    border: solid 1px #eeeeee;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 7px;
}

    div.jqi .jqicontainer {
        font-weight: bold;
        z-index: 999999999999;
        margin: 0 auto;
        text-align: center;
    }

    div.jqi .jqiclose {
        padding: 0 0 0 0;
        cursor: pointer;
        background-image: url(/images/buttons/prompt_logo.png);
        background-repeat: no-repeat;
        font-size: 0%;
        width: 34px;
        height: 42px;
        margin: 0 auto;
        text-align: center;
    }

    div.jqi .jqimessage {
        font-weight: 400;
        padding: 10px;
        line-height: 20px;
        color: #444444;
        clear: both;
    }

    div.jqi .jqibuttons {
        text-align: center;
        padding: 5px 0 5px 0;
        border: solid 1px #eeeeee;
        background-color: #eee;
    }
    /*barra pulsanti*/
    div.jqi button {
        padding: 1px 10px;
        margin: 0 10px;
        background-color: #CC9524;
        border: solid 1px #f4f4f4;
        color: #333333;
        font-weight: normal;
        font-size: 10px;
        cursor: pointer;
    }

        div.jqi button:hover {
            background-color: #728A8C;
        }

        div.jqi button.jqidefaultbutton {
            background-color: #026fc2;
            color: #fff;
            font-size: 18px;
            font-weight: normal;
            text-transform: uppercase;
            height: 34px;
            width: 80px;
            border-radius: 4px;
        }

            div.jqi button.jqidefaultbutton:hover {
                background-color: #1d89db;
            }

            div.jqi button.jqidefaultbutton:active {
                background: #005887;
            }
/*pulsante ok*/
.jqiwarning .jqi .jqibuttons {
    background-color: #fff;
}
/*pulsante ok*/
div.jqi a {
    color: #666;
}

#jqi_state0_buttonannulla {
    font-size: 18px;
    font-weight: 400;
    background-color: #dfdfdf;
    height: 34px;
}
