﻿h2 {
    font-size: 30px !important;
}


a:hover {
    text-decoration:none;
}

.carousel-top .item iframe {
    object-fit: cover;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.tabs-training li {
    float: none !important;
    display: block !important;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.tabs-training > li > a {
    padding: 2px 0px;
    text-transform: none !important;
}

.tabs-training > li.active > a, .tabs-training > li.active > a:focus, .tabs-training > li.active > a:hover {
    background-color: transparent;
    border: 0;
    padding-left: 25px;
    -webkit-transition: all .3s;
    transition: all .3s;
    font-weight: bold;
    position: relative;
}

    .tabs-training > li.active > a:before {
        content: '';
        position: absolute;
        left: 0;
        top: 14px;
        height: 1px;
        border-bottom: 1px solid;
        width: 20px;
    }

.image-container-template1 {
    width: 370px;
    height: 370px;
    overflow: hidden; /* Assicura che le parti dell'immagine che escono dal contenitore non siano visibili */
}

    /* Stile delle immagini all'interno del contenitore */
    .image-container-template1 img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fa in modo che l'immagine si adatti al contenitore ridimensionando e tagliando eventualmente */
        object-position: center; /* Centra l'immagine all'interno del contenitore */
        background-repeat: no-repeat;
    }

.image-container-gallery-template1 {
    width: 180px;
    height: 180px;
    overflow: hidden; /* Assicura che le parti dell'immagine che escono dal contenitore non siano visibili */
}

/* Stile delle immagini all'interno del contenitore */
    .image-container-gallery-template1 img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fa in modo che l'immagine si adatti al contenitore ridimensionando e tagliando eventualmente */
        object-position: center; /* Centra l'immagine all'interno del contenitore */
        background-repeat: no-repeat;
    }

.tabs-training {
    border-bottom: 0;
}

    .tabs-training > li > a, .tabs-training > li > a:focus, .tabs-training > li > a:hover {
        background-color: transparent !important;
        border: 0 !important;
    }

.sezione-video-training .nav-tabs:after {
    display: none;
}

.sezione-video-training .embed-responsive-16by9, .img-cover {
    width: 100%;
    /*height: 380px;*/
    height: 500px;
    object-fit: cover;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
}


.carousel-video-home, .carousel-staff-home, .carousel-commenti-home, .carousel-news-home {
    padding: 0 150px;
}


    .carousel-video-home .flex-middle, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
        height: 380px;
    }

    .carousel-video-home a:hover, .carousel-staff-home a:hover, .carousel-commenti-home a:hover, .carousel-news-home a:hover {
        text-decoration: none;
    }

    .carousel-video-home svg, .carousel-video-home .fa {
        font-size: 22px;
    }

    .carousel-video-home .carousel-control.left, .carousel-staff-home .carousel-control.left, .carousel-commenti-home .carousel-control.left, .carousel-news-home .carousel-control.left {
        left: 0;
        top: 35%;
    }

    .carousel-video-home .carousel-control.right, .carousel-staff-home .carousel-control.right, .carousel-commenti-home .carousel-control.right, .carousel-news-home .carousel-control.right {
        right: 80px;
        top: 35%;
    }

    .carousel-video-home .carousel-control svg, .carousel-staff-home .carousel-control svg, .carousel-commenti-home .carousel-control svg, .carousel-news-home .carousel-control svg {
        font-size: 90px;
    }

.e-commerce .carousel-caption {
    position: static;
    background-color: #ffffff;
    padding: 15px;
    line-height: 20px;
    min-height: 65px;
    text-shadow: none;
}

    .e-commerce .carousel-caption h2 {
        margin-bottom: 5px;
    }

.btn-secondary {
    background-image: none;
    line-height: 34px;
    font-weight: bold;
}

.body-trasformation .carousel-caption {
    position: static;
    padding: 15px;
}

.carousel-body-trasformation .carousel-control, .carousel-body-trasformation .carousel-control:hover {
    background-image: none !important;
    top: auto;
    bottom: 50px;
    font-size: 12px;
    filter: alpha(opacity=100);
    opacity: 1;
    color: white;
}

.carousel-body-trasformation .glyphicon-chevron-left, .carousel-body-trasformation .glyphicon-chevron-right, .carousel-body-trasformation .icon-next, .carousel-body-trasformation .icon-prev {
    color: white;
    font-size: 18px;
    margin: 5px !important;
    left: 0 !important;
}

.carousel-body-trasformation .carousel-control.right {
    right: 10px !important;
}

.body-trasformation .carousel, .body-trasformation .carousel-inner {
    height: auto;
}

.carousel-staff-home .carousel-control, .carousel-commenti-home .carousel-control, .carousel-news-home .carousel-control {
    background-image: none;
    width: 15px;
}

.img-cover {
    background-position: center;
}

.sezione-gallery img {
    margin-bottom: 30px;
    height: 165px;
    object-fit: cover;
    height: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
}

.ekko-lightbox .glyphicon.glyphicon-chevron-right {
    position: absolute;
    right: 25px;
    margin: 30px;
    text-decoration: none;
    margin-top: 30%;
    color: white;
}

.ekko-lightbox .glyphicon.glyphicon-chevron-left {
    position: absolute;
    left: 0;
    margin: 30px;
    text-decoration: none;
    margin-top: 30%;
    color: white;
}

.ekko-lightbox-nav-overlay {
    position: absolute;
    top: 15%;
    width: 100%;
}

.ekko-lightbox .glyphicon.glyphicon-chevron-right, .ekko-lightbox .glyphicon.glyphicon-chevron-right:hover, .ekko-lightbox .glyphicon.glyphicon-chevron-left, .ekko-lightbox .glyphicon.glyphicon-chevron-left:hover {
    color: white !important;
    text-decoration: none !important;
}

.mappa-home {
    border: 0;
    box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 9%);
}

.text-green {
    color: #56c76e;
}

.video-template {
    width: 100%;
    overflow: hidden;
    height: 90vh !important;
    position: relative;
    left: 0;
    right: 0;
}

    .video-template video {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        bottom: 0;
    }

.carousel-staff-home p, .carousel-staff-home h2, .carousel-staff-home a {
    color: white !important;
}

.sezione-staff h1 {
    color: white !important;
}

.img-prodotto, .img-body-t {
    width: 100%;
    height: 358px !important;
    object-fit:cover;
    overflow:hidden;
    background-size:cover;
}

.e-commerce-hanami .img-prodotto, .img-body-t {
    height: 372px !important;
}



.hover-button:hover::before {
    border-radius: 0 0 20px 20px;
}

.hover-button::before {
    padding-top: 170px;
    content:'';
}

.menu ul.main-menu li.open a, .menu ul.main-menu li.open a:active, .menu ul.main-menu li.open a:focus {
    color: #231F20;
}

.e-com-prod img {
    height: 356px;
}

.menu-palestre.background-secondary ul.main-menu li.dropdown a {
    color:white !important;
}

.carousel-staff-home .carousel-control.right, .carousel-staff-home .carousel-control.left {
    width: 55px;
    right: 0;
}

@media (max-width: 767px) {
    .slide .item iframe {
        height: 500px;
    }
    .image-container-template1 {
        width: 100%;
    }
    .carousel-video-home, .carousel-staff-home, .carousel-commenti-home, .carousel-news-home {
        padding: 0 70px;
    }

        .carousel-video-home .carousel-control.right, .carousel-staff-home .carousel-control.right, .carousel-staff-home .carousel-control.left, .carousel-commenti-home .carousel-control.right, .carousel-news-home .carousel-control.right {
            width: 55px;
            right: 0;
        }

        .sezione-video-training .embed-responsive-16by9, .carousel-video-home .flex-middle, .img-cover, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
            height: 200px;
        }

        .carousel-video-home .flex-middle, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
            display: block;
        }

        .carousel-video-home .carousel-control svg, .carousel-staff-home .carousel-control svg, .carousel-commenti-home .carousel-control svg, .carousel-news-home .carousel-control svg {
            font-size: 60px;
        }

    .sezione-video-training .nav-tabs > li > a {
        padding: 4px 0px;
        font-size: 16px !important;
        text-align: center;
    }

    .tabs-training > li.active > a, .tabs-training > li.active > a:focus, .tabs-training > li.active > a:hover {
        padding-left: 0;
    }

        .tabs-training > li.active > a:before {
            display: none;
        }

    #lp-palestre-trainer .container-testo {
        padding-top: 0;
        padding-bottom: 0px;
    }

    .e-commerce .carousel-caption {
        margin-bottom: 20px;
    }

    .img-cover {
        margin-bottom: 10px;
    }

    .video-template {
        height: 245px !important;
    }
    .img-prodotto, .img-body-t {
        height: 380px !important;
    }
    .e-com-prod img {
        height: 355px;
    }
    .hover-button::before, .hover-button2::before {
        display:none;
    }

   

}

@media (min-width: 768px) and (max-width: 991px ) {
    .carousel-video-home, .carousel-staff-home, .carousel-commenti-home, .carousel-news-home {
        padding: 0 100px;
    }

        .carousel-video-home .carousel-control.right {
            right: -15px;
        }

        .carousel-staff-home .carousel-control.right, .carousel-commenti-home .carousel-control.right, .carousel-news-home .carousel-control.right {
            right: 70px;
        }

        .sezione-video-training .embed-responsive-16by9, .carousel-video-home .flex-middle, .img-cover, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
            height: 250px;
        }

    .body-trasformation .carousel, .body-trasformation img, .body-trasformation .item img {
        height: 346px;
    }

    .body-trasformation .flex-middle {
        display: block;
    }

    .testo-body-t {
        padding-top: 100px;
    }

    .video-template {
        height: 450px !important;
    }
    .img-prodotto, .img-body-t {
        height: 716px !important;
    }
    .e-com-prod img {
        height: 710px;
    }
}

@media (min-width: 992px) and (max-width:1199px) {
    .sezione-video-training .embed-responsive-16by9, .carousel-video-home .flex-middle, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
        height: 160px;
    }

    .img-cover, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
        height: 320px;
    }

    .video-template {
        height: 550px !important;
    }
    .img-prodotto, .img-body-t {
        height: 455px !important;
    }
    .e-com-prod img {
        height: 455px;
    }
}

@media (min-width: 1200px) and (max-width:1366px) {
    .sezione-video-training .embed-responsive-16by9, .carousel-video-home .flex-middle, .img-cover, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
        height: 250px;
    }
    .img-prodotto {
        height: 356px !important;
    }
}

@media (min-width: 1367px) and (max-width:1679px) {
    .sezione-video-training .embed-responsive-16by9, .carousel-video-home .flex-middle, .img-cover, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
        height: 320px;
    }

    h2 {
        font-size: 28px !important;
    }
    .img-prodotto {
        height: 358px !important;
    }
}

@media (min-width: 1680px) and (max-width:1900px) {
    .sezione-video-training .embed-responsive-16by9, .carousel-video-home .flex-middle, .img-cover, .carousel-staff-home .flex-middle, .carousel-commenti-home .flex-middle, .carousel-news-home .flex-middle {
        height: 320px;
    }
}
