﻿/************************************** STYLE NUOVA GRAFICA APRILE 2019 */
/************************************** HOMEPAGE */
.contenitoreFoto {
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;
    padding-top: 50px;
    padding-bottom: 40px;
    background: url('../images/bg-home.jpg') no-repeat center left;
    background-size: cover;
    position: relative;
}

section.contatore {
    background: #003366;
    padding-top: 10px;
    padding-bottom: 10px;
}

    section.contatore .col-sm-4 {
        border-right: solid 1px #888;
    }

        section.contatore .col-sm-4:last-child {
            border-right: none;
        }

    section.contatore h2 {
        margin-top: 0;
        margin-bottom: 0;
        color: #FFF;
        font-size: 14px;
    }

        section.contatore h2 span {
            font-weight: 300;
        }

section.home:nth-child(even) {
    background: #EEE !important;
}

section.home:nth-child(odd) {
    background: #FFF !important;
}

section.contenitoreMessaggio_HP {
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    background: rgb(0,51,102);
    background: linear-gradient(90deg, rgba(0,51,102,1) 15%, rgba(52,152,219,1) 100%);
}

    section.contenitoreMessaggio_HP h1 {
        color: #222;
        margin-top: 0;
        margin-bottom: 20px;
        color: #FFF;
    }

    section.contenitoreMessaggio_HP p {
        font-size: 16px;
        color: #FFF;
        text-align: justify;
    }

    /*section.contenitoreMessaggio_HP .btn-default {
        color: #036;
    }

        section.contenitoreMessaggio_HP .btn-default:hover,
        section.contenitoreMessaggio_HP .btn-default:focus,
        section.contenitoreMessaggio_HP .btn-default.focus,
        section.contenitoreMessaggio_HP .btn-default:active,
        section.contenitoreMessaggio_HP .btn-default.active {
            background-color: #3498db;
            border-color: #3498db;
        }*/

    section.contenitoreMessaggio_HP .foto_HP {
        text-align: right;
    }

        section.contenitoreMessaggio_HP .foto_HP img {
            margin: auto;
            margin-bottom: 30px;
            border-radius: 2px;
        }

a.btnReadMore {
    content: "";
    font-weight: bold;
    font-size: 16px;
    color: #FFF;
}

    a.btnReadMore:hover,
    a.btnReadMore:focus {
        color: #3498db;
        text-decoration: none;
    }

    a.btnReadMore:before {
        font-family: "Font Awesome 5 Free";
        speak: none;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        margin-right: 5px;
        font-size: 18px;
        text-align: center;
        content: "\f101";
        color: #3498db;
    }


@media (max-width: 767px) {
    section .contatore {
        padding-top: 20px;
        padding-bottom: 20px;
    }

        section.contatore .col-sm-4 {
            border: none;
        }

        section.contatore h2 {
            border-bottom: solid 1px #888;
            margin-bottom: 20px;
            padding-bottom: 20px;
            font-size: 22px;
        }

        section.contatore .col-sm-4:last-child h2 {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    section.contenitoreMessaggio_HP h1,
    section.contenitoreMessaggio_HP p,
    section.contenitoreMessaggio_HP .foto_HP {
        text-align: center;
    }

    section.contenitoreMessaggio_HP h1 {
        font-size: 28px;
    }
}
