﻿.VideoHP {
    background-color: #000;
}


.PanelPromo {
    position: absolute;
    width: 600px;
    right: 0;
    top: 30%;
    background-color: #fff;
}

.closePanel {
    position: absolute;
    right: 16px;
    top: 10px;
}

    .closePanel i {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid #1B5EA3;
        text-align: center;
        line-height: 26px;
    }

.PanelPromo img {
    width: 100%;
}

.PanelPromo .PromoText {
    padding: 40px 20px;
}

    .PanelPromo .PromoText h1 {
        padding: 0 0 20px 0;
        line-height: 50px;
    }

    .PanelPromo .PromoText .btn-primary {
        width: 200px;
        margin: 30px auto 0 auto;
        display: block;
    }

.PanelBeHealther {
    width: 400px;
    background-color: #36A9FF;
    padding: 20px;
    position: absolute;
    bottom: 20px;
    left: 6%;
}

    .PanelBeHealther h2 {
        color: #fff;
    }

.closePanelbeHealther {
    position: absolute;
    right: -16px;
    top: -10px;
}

    .closePanelbeHealther i {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid #fff;
        color: #fff;
        text-align: center;
        line-height: 26px;
    }
/******************************************************************+*/
.MiniText {
    background-image: url(media/HomePage/BG_HP1.svg);
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 300px;
    margin-top: 30px;
    padding: 0 80px;
}

    .MiniText h2 {
        padding-top: 85px;
    }

#Scroll_Prodotti {
    margin-bottom: 100px;
}

    #Scroll_Prodotti .owl-two {
        width: 80%;
        margin: 0 auto;
    }

.ProdottoBox {
}

    .ProdottoBox img {
        width: 100%;
    }

    .ProdottoBox h2 {
        display: block;
        text-align: center;
    }

    .ProdottoBox .btn-primary {
        display: block;
        width: 200px;
        margin: 10px auto;
    }

.Info_Community {
}

    .Info_Community .row:nth-child(2) {
        margin-top: 30px;
        position: relative;
        z-index: 3;
    }

.BoxInfo {
    background-color: #1B5EA3;
    padding: 60px 80px;
    color: #fff;
    height: 100%;
    position:relative;
}

    .BoxInfo .btn-White,
    .BoxCommunity .btn-White {
        margin: 20px 0 0 0;
        padding: 15px 20px;
    }

.BoxCommunity {
    background-image: url(media/HomePage/ImgCommunity_0.jpg);
    background-position: right;
    background-size: cover;
    height: 100%;
    padding: 60px 80px;
    color: #fff;
    z-index: 2;
    position: relative;
}






/**************************************************************BANNER DIVENTA BEHEALTHER*/
.BannerDiventaBeHealther {
    background-image: url(media/HomePage/HP_Banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    height: 100%;
    min-height: 1000px;
    width: 100%;
    position: relative;
}

    .BannerDiventaBeHealther .TextBannerDBH {
        position: absolute;
        left: 6%;
        top: 40%;
        color: #fff;
        width: 50%;
    }
/**********************************************************BLOG*/
.SezioneBlog {
    z-index: 2;
    position: relative;
}

    .SezioneBlog .col-lg-4 .BoxBlog {
        overflow: hidden;
        margin-bottom: 30px;
        position: relative;
        z-index: 3;
    }


.BoxBlog img {
    width: 100%;
    z-index: 1;
    transition: All 1s ease;
    -webkit-transition: All 1s ease;
    -moz-transition: All 1s ease;
    -o-transition: All 1s ease;
}


.BoxBlog a:hover img {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.BoxBlog .BG_Blue {
    background-color: rgb(54 169 255 / 0.70);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.BoxBlog a:hover .BG_Blue {
    background-color: rgb(27 94 163 / 0);
}

.SezioneBlog h1 {
    z-index: 3;
    position: relative;
    margin-bottom: 50px;
}

.TextoBoxBlog {
    position: absolute;
    bottom: 100px;
    color: #fff;
    text-align: left;
    z-index: 2;
    padding: 20px;
}

    .TextoBoxBlog h2 {
        color: #fff;
    }

    .TextoBoxBlog span {
        background-color: transparent !important;
        border: 3px solid #fff;
        border-radius: 0;
        text-transform: uppercase;
        font-size: 18px;
        color: #fff;
        padding: 10px 20px;
        width: 80%;
        display: block;
        margin: 0 5%;
        bottom: -66px;
        position: absolute;
        text-align: center;
    }




@media (max-width:1316px) {
    .BoxInfo, .BoxCommunity {
        padding: 20px;
    }

    h1 {
        font-size: 45px;
    }
}

@media (max-width:768px) {
    .TextoBoxBlog span,
    .TextoBox span {
        font-size: 14px;
    }

    .TextoBoxBlog h2 {
        font-size: 20px;
    }
}

@media (max-width:768px) {
    #SubHeaderHP {
        background-position: 600px;
    }

    .PanelPromo,
    .PanelBeHealther {
        display: none;
    }

    .BannerDiventaBeHealther .TextBannerDBH {
        position: absolute;
        left: 6%;
        top: 20%;
        color: #fff;
        width: 80%;
    }

    .BannerDiventaBeHealther {
        background-image: url(media/HomePage/HP_Banner.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left;
        height: 100%;
        min-height: 600 px;
        width: 100%;
        position: relative;
    }
}
