﻿.HomePageBanner {
    background-image: url(media/Home/HP_BAnner.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 700px;
}
.ImgMobile{
    display:none;
}
.IntroBannerHP {
    position: absolute;
    left: 15%;
    top: 25%;
    background-color: rgb(255 255 255 / 0.80);
    width: 35%;
    padding: 50px;
    border-radius: 40px;
}

.LineaSeparatrice {
    height: 1px;
    width: 100%;
    background-color: #9d9d9d;
    display: block;
    margin: 40px 0;
}


.BannerHome {
    padding-top: 130px;
    position: relative;
    z-index: 2;
}

.InfoBanner {
    position: absolute;
    top: 55%;
    right: 6%;
    z-index: 3;
}

    .InfoBanner span {
        font-family: 'Merriweather', serif;
        font-weight: 700;
        color: #B22326;
        font-size: 25px;
        text-transform: uppercase;
        display: block;
        text-shadow: -4px 0px 0px rgb(255 255 255);
        text-align: right;
        line-height: 36px;
    }

.BGBanner {
    background-image: url(media/Home/BG_Geometrico.jpg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    min-height: 200px;
    position: relative;
}

    .BGBanner img {
        max-width: 100px;
    }

.AttivitaHP img {
    width: 150px;
    display: block;
    width: 250px;
    display: block;
    margin: -50px auto 0 auto;
}

.BGBanner a {
    display: inline-block;
    width: 100%;
}

    .BGBanner a span {
        color: #B22326;
        font-weight: bold;
    }

.BGBanner i {
    background-color: #B22326;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #fff;
}

.ChiSiamoHP .BGIcona {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

    .ChiSiamoHP .BGIcona img {
        width: 100px;
        display: block;
        margin: 0 auto;
        padding: 8px 0 0 0
    }



.ChiSiamoHP {
    padding: 50px 0;
    border-bottom: 1px solid #9d9d9d;
}

.AttivitaHP {
    padding: 50px 0;
}

    .AttivitaHP h1 {
        display: block;
    }

.BG_Gray {
    background-color: #F0F0F0;
    padding: 50px 60px 60px 60px;
    border-radius: 20px;
    margin: 50px 0;
    position: relative;
}

    .BG_Gray p {
        text-align: justify;
    }

    .BG_Gray img {
        width: 100%;
    }

.carousel-item img {
    width: 90%;
}
.ImageDX{
    float:right;
        
}

@-webkit-keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
        visibility: visible;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

.navigationBtn {
    position: absolute;
    bottom: -45px;
    left: 50%;
}
@media (max-width:1140px) {
    .InfoBanner {
        position: absolute;
        top: 51%;
        right: 6%;
        z-index: 3;
        background-color: #ffffffe3;
        padding: 20px;
    }

    .carousel-control-prev, .carousel-control-next {
        position: absolute;
        bottom: -40px !important;
    }
}
@media (max-width:768px) {

    .ImgMobile {
        display: inherit;
        width:100%;
    }
    .carousel-item img {
        width: 100%;
        height:auto;
    }
    .ImgDesktop {
        display: none;
    }

    .IntroBannerHP {
        left: 5%;
        top: 27%;
        width: 90%;
        padding: 30px;
    }

    .LineaSeparatrice {
        margin: 20px 0;
    }

    .BG_Gray {
        padding: 50px 30px;
    }

  

    .InfoBanner {
  
        top: inherit;
        right: 0;
        bottom: 10px;
    }

        .InfoBanner span {
            font-size: 16px;
            line-height: 20px;
        }
}
