﻿.cross_toggle_tr {
    margin-top: -2em;
    margin-left: 0.5em;
    cursor: pointer;
}

.cross_toggle_bl {
    margin-top: .5em;
    margin-left: -2em;
    cursor: pointer;
}

.cross_toggle_br {
    margin-top: .5em;
    margin-left: calc(100% + 1em);
    cursor: pointer;
}

.desc-r {
    margin-left: 1em;
}

.scelta-colore {
    cursor: pointer;
    margin-top: 0.6em;
    margin-right: 0.6em;
    display: inline-block;
    width: 30px;
    height: 30px;
}

.barra-perc {
    height: 150px;
    background-color: #CCC;
    width: 100px;
    display: none;
}

.barra-perc-90 {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+9,cccccc+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 9%, #808080 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 9%,#808080 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 9%,#808080 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#808080',GradientType=0 ); /* IE6-9 */
}

.barra-perc-70 {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+30,cccccc+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 30%, #808080 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 30%,#808080 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 30%,#808080 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#808080',GradientType=0 ); /* IE6-9 */
}

.barra-perc-50 {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+50,cccccc+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 50%, #808080 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 50%,#808080 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 50%,#808080 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#808080',GradientType=0 ); /* IE6-9 */
}

.barra-perc-30 {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+70,cccccc+100 */
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 70%, #808080 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 70%,#808080 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 70%,#808080 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#808080',GradientType=0 ); /* IE6-9 */
}

.barra-text {
    position: absolute;
    bottom: 0;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    color: #FFF;
    width: 100px;
}

.testi-grafici {
    font-size: 0.7em;
    color: #000;
    text-align: right;
}

    #pi-1 {
        position: absolute;
        bottom: 40%;
        right: 3%;
        width: 25%;
    }

    #pi-1 > div {
        text-align: left;
        /*width: 50%;*/
        margin-left: 1em;
        position: relative;
    }

    #pi-2 {
        position: absolute;
        bottom: 8%;
        right: 9%;
        width: 25%;
    }

    #pi-2 > div {
        text-align: left;
        /*width: 46%;*/
        margin-left: 1em;
        position: absolute;
        bottom: 0;
    }

#pe-1 {
    /*position: absolute;
    top: -42%;*/
    z-index: 90;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

#pe-2 {
    /*position: absolute;
    top: -40%;*/
    z-index: 80;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

#pe-3 {
    /*position: absolute;
    top: -40%;*/
    z-index: 70;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

#pe-4 {
    /*position: absolute;
    top: 2%;*/
    z-index: 60;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

#pe-info-1 {
    position: absolute;
    bottom: 56%;
    z-index: 90;
    width: 98%;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    border-bottom: 1px solid #808080;
    font-size: 0.7em;
}

#pe-info-2 {
    position: absolute;
    width: 98%;
    bottom: 45%;
    z-index: 80;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    border-bottom: 1px solid #808080;
    font-size: 0.7em;
}

#pe-info-3 {
    position: absolute;
    width: 98%;
    bottom: 20%;
    z-index: 70;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    border-bottom: 1px solid #808080;
    font-size: 0.7em;
}

#pe-info-4 {
    position: absolute;
    bottom: 4%;
    width: 100%;
    z-index: 60;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    border-bottom: 1px solid #808080;
    font-size: 0.7em;
}

#vionaro_antracite {
    display: none;
}

#row-pe-1, #row-pe-2, #row-pe-3, #row-pe-4 {
    position: absolute;
    width: 100%;
}

#pe-container {
    position: relative;
    width: 600px;
    margin: auto;
}

.desc-title-p {
    line-height: 1em;
    font-family: 'Hind', sans-serif;
    font-size: 1.5em;
    padding-bottom: 1em;
    padding-top: 1em;
    color: #000000;
}

.desc-p {
    font-family: 'Hind', sans-serif;
    font-size: 1em;
    line-height: 1em;
    margin-bottom: 1.5em;
    color: #000000;
}

#container-pi-img {
    max-width: 1200px;
}

#container-pi-img > img {
    margin-top: 10em;
    margin-bottom: 10em;
}

.riga-grafico {
    border-left: 1px solid #808080;
    height: 27em;
}

.riga-grafico-2 {
    border-left: 1px solid #808080;
    height: 15em;
}

#pe-container .descr, .testi-grafici {
    font-weight: bold;
}

@media(min-width: 1600px) {
    #pe-container {
        position: relative;
        width: 900px;
        margin: auto;
    }
}

@media(max-width: 767px) {

    #container-pi-img > img {
        margin-top: 5em;
        margin-bottom: 10em;
    }

    body {
        background-color: #FFFFFF;
        margin-left: 0;
        margin-right: 0;
    }

    .desc-title-p, .desc-title {
        line-height: 1em;
        font-family: 'Hind', sans-serif;
        /*font-size: 1.5em;*/
        font-size: 1em;
        padding-bottom: 1em;
        padding-top: 1em;
        color: #000000;
        margin-left: 0.4em;
        margin-right: 0.4em;
        /*margin-top: 3em;*/
        font-weight: bold;
    }

    .desc-p, .desc {
        font-family: 'Hind', sans-serif;
        line-height: 1em;
        margin-bottom: 1.5em;
        color: #000000;
        /*font-size: 0.65em;*/
        font-size: 0.9em;
        /*margin-top: 2em;*/
        margin-top: 1em;
        font-weight: bold;
        margin-right: 0;
    }

    section {
        /*   padding-bottom: 2em;*/
    }

    .blocco-s {
        /*background-color: #bebebe;*/
        padding-bottom: 3em;
    }

    .blocco {
        padding-bottom: 3em;
    }

    #pi-1 {
        position: absolute;
        bottom: 50%;
        right: 28%;
        width: 30%;
    }

    #pi-1 > div {
        text-align: right;
        position: relative;
        margin-right: 1em;
    }

    #pi-2 {
        position: absolute;
        bottom: 15%;
        right: 34%;
        width: 30%;
    }

    #pi-2 > div {
        text-align: right;
        position: absolute;
        bottom: 0;
        margin-right: 1em;
    }

    #pe-container {
        position: relative;
        max-width: 600px;
        margin: auto;
    }

    .white-bg {
        background-color: #FFF;
    }

    .box-colori {
        margin-bottom: 2em;
    }

    .indirizzi {
        padding-left: 0.6em;
        padding-right: 0.6em;
    }

    div#area-perc-formaldeide {
        margin-bottom: 1em;
    }

    #container-pi-img > img {
        width: 100%;
        margin-top: 5em;
        margin-bottom: 10em;
    }

    .riga-grafico {
        border-right: 1px solid #808080;
        border-left: none;
        height: 27em;
    }

    .riga-grafico-2 {
        border-right: 1px solid #808080;
        border-left: none;
        height: 10em;
    }
}

@media(max-width: 480px) {
    .riga-grafico {
        height: 18em;
    }

    #pi-1, #pi-2 {
        width: 40%;
    }
}