﻿
.HomePage .col-md-4 {
    padding: 0;
    margin-left: 2%;
    margin-right: 2%;
    width: 29.33333333%;
    position: relative;
    height: 180px;
    margin-bottom: 80px;
    border: 1px solid #e3e9eb;
    padding: 10px 20px;
    position: relative;
}

    .HomePage .col-md-4:first-of-type {
        margin-left: 0;
        margin-right: 4%;
    }

.HomePage h1 {
    padding-bottom: 10px;
}

.HomePage .col-md-4:last-of-type {
    margin-right: 0;
    margin-left: 4%;
}

.HomePage .BoxPrimoPiano a {
    height: 100px;
    overflow: hidden;
padding: 0 10px;
    background-image: url(Images/Home/PPiano.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: -80px;
    width: 90%;
    left: 5%;
}


.HomePage .BoxPapaChiesa a {
    height: 100px;
    overflow: hidden;
    padding: 0 10px;
    background-image: url(Images/Home/Papa.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: -80px;
    width: 90%;
    left: 5%;
    
}


.HomePage .BoxBeneComune a {
    height: 100px;
    overflow: hidden;
  padding: 0 10px;
    background-image: url(Images/Home/BeneComune.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: -80px;
    width: 90%;
    left: 5%;
}

    .HomePage .BoxPrimoPiano a span,
    .HomePage .BoxPapaChiesa a span,
    .HomePage .BoxBeneComune a span {
        color: #fff;
        line-height: 160px;
        text-shadow: 1px 1px 5px #000;
        font-weight: 700;
    }






/***************************************News*/


.BoxNews .col-md-4 {
    padding: 0;
    width: 29.33333333%;
    margin-bottom: 30px;
    margin-right: 2%;
    margin-left: 2%;
    height:460px;
     z-index:700;
}


.col-md-4 .BoxNews_Image {
    height: 230px;
    overflow: hidden;
    box-shadow: 1px 1px 8px #c3c2c2;
    z-index: 1000;
    position:relative;
 
}

.BoxNews_Image img {
    width: 100%;
    padding: 0;
    margin: 0;
   
}

.BoxNews_Testo {
    overflow: hidden;
    position: relative;
    padding: 15px 70px 0 0;
}



    .BoxNews_Testo h2 {
        color: #000;
        text-align: left;
        padding: 0 0 10px 20px;
        margin: 0;
    }

    .BoxNews_Testo p {
        padding-left: 20px;
    }

.BoxNews_Destra {
  
    height: 230px;
    margin: 0 0 0 20px;
    background-color: #eeefef;
    display: block;
    z-index: 2000;
    position:absolute;
    right:0;
    bottom:0;
}

.BoxNews_Date {
color: #fff;
font-size: 13px;
font-weight: 700;
letter-spacing: 1px;
padding-top:3px;
height: 65px;
margin: -65px 0 0 0;
text-align: center;
background-color: rgba(5, 157, 209, 0.75);
width: 50px;
text-transform: uppercase;
}

.BoxNews_Date span:first-of-type{
    font-size:18px;
    font-weight: 500;
 
}  
.BoxNews_Date span:last-of-type{
    font-size:13px;
    font-weight: 500;
  
} 

  .BoxNews_Date div {
        margin-top: 20px;
    }

    .BoxNews_Date .BtnContinua {
        color: #059DD1;
        margin-top: 20px;
        display: block;
        font-size: 10px;
        line-height: 15px;
    }

        .BoxNews_Date .BtnContinua i {
            font-size: 15px;
        }


/************************************/
.HPNews .HP_News_Date span:first-of-type {
    font-size: 18px;
    line-height: 25px;
}



/*p a {
    padding: 0;
    color: #000 !important;
    font-weight: 700;
    font-style: italic;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}*/




/*********************************/
.ImageBanner {
    width: 100%;
    height: 300px;
}

    .ImageBanner img {
        width: 100%;
    }


/*********************************/
.SezioneDownload {
}

    .SezioneDownload .col-md-3 {
        background-color: #059DD1;
        border: 5px solid #f6f5f5;
        padding: 20px;
        margin-bottom: 5px;
    }

        .SezioneDownload .col-md-3 a {
            color: #fff;
            text-transform: uppercase;
            font-weight: 500;
        }

            .SezioneDownload .col-md-3 a i {
                float: right;
                font-size: 20px;
            }

            .SezioneDownload .col-md-3 a:hover {
                border-bottom: 2px solid #fff;
            }

                .SezioneDownload .col-md-3 a:hover i {
                    text-shadow: 1px 1px 5px #fff;
                    color: #3b5998;
                }
