/* CAROSELLO INIZIALE */
body .home-carousel .owl-carousel {
    height: 600px;
    z-index: 999;    
    overflow: visible;
}


.container-carousel.home-carousel {
    position: relative;
    height: 600px;
    width:100%;
}



/* VIDEO */

.video-background {
    width: 100%;
    height: 700px;
    overflow: hidden;
    position: relative;
}

.video-background #bgvid {
	position: absolute;
    /*top: -35%;*/
    top: 0%;
    left: 0;
    width: 100%;
}

.video-background video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.container-carousel.home-carousel .title-home {
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    height: 260px;
    z-index: 999;
    /*background-image: -moz-linear-gradient(bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    background-image: -ms-linear-gradient(bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    background-image: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    background-image: -o-linear-gradient(bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    background-image: linear-gradient(bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    background-repeat: repeat-y;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(255, 255, 255, 1)', endColorstr='rgba(255, 255, 255, 0)', GradientType=1);
    */
}

.container-carousel.home-carousel .title-home h1{
	display: block;
    margin: auto;
    text-align: right;
    font-weight: 800;
    text-transform: uppercase;
    color: #FFF;
    padding: 80px 0;
    line-height: 50px;
	font-size: 52px;

    /*text-shadow: 5px 5px 10px rgba(0, 0, 0, 1);*/
}

.container-carousel.home-carousel .title-home h1 .highlight{
    background-color: #006AB1;
    line-height: 80px;
    padding: 0 18px;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.entry-text {
	background-color: white;
    padding-top: 100px;
}

.entry-text h2.subtitle-home {
	color: #006AB1;
    font-weight: 700;
    font-size: 39px;
}

.entry-text p {
	color: black;
	padding-top: 20px;
	font-size: 16px;
	line-height: 26px;
}

.entry-text .col-image {
	position: relative;
}

.entry-image {
	position: absolute;
    bottom: -208px;
    width: 600px;
    right: 20px;
    z-index: 999;
}

.sub-desc {
    padding: 10px 0;
    text-align: right;
}

.col-5.col-image {
    padding: 65px 0;
}

.section-logo-tormene .category-image{
    display: none;
}
@media screen and (max-width: 1280px) {
    .video-background .title-home {
        width: 100%;
        padding: 80px 20px;
    }

    .video-background .title-home h1{
         width: 100%;
    }

    .entry-image {
        bottom: -250px;
        width: 100%;
        right: 0;
    }
}

@media screen and (max-width: 768px) {

    .video-background .title-home {
        width: 100%;
        padding: 0px 20px;
    }

    .video-background .title-home h1 {
        font-size: 40px;
    }

    .video-background {
        height: 500px;
    }

    .video-background {
        background-image: url('../png/aqua.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .entry-image {
        position: initial;
        width: 70%;
        right: 100px;
        margin: 0 auto;
        display: block;
    }

    video {
        display: none;
    }

    .container-carousel.home-carousel .title-home h1 {
        display: block;
        margin: auto;
        text-align: right;
        font-weight: 800;
        text-transform: uppercase;
        color: #FFF;
        padding: 80px 0;
        line-height: 41px;
        font-size: 40px;
        /* text-shadow: 5px 5px 10px rgba(0, 0, 0, 1); */
    }

    .container-carousel.home-carousel .title-home h1 .highlight {
        background-color: #006AB1;
        line-height: 65px;
        padding: 0 18px;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

}