body#product #content {
    max-width: 100%;
}

body#product .product-flags {
    align-content: flex-end;
    align-items: flex-end;
}

.product-images-ecommzoom {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
}

.cover-image-ecommzoom {
    cursor: zoom-in;
    text-align: center;
    width: calc(100% - 50px);
    max-width: 100vw;
    height: 420px;
}

.cover-image-ecommzoom iframe {
    display: none;
    width: 100%
}

.product-images-ecommzoom .cover-image-ecommzoom img {
    max-width: 80%;
    height: auto;
    /*width: auto;*/
    /*height: 100%;*/
}

.product-images-ecommzoom .thumb-container-ecommzoom {
    padding-right: 10px;
}

.product-images-ecommzoom .thumb-container-ecommzoom .thumbs-ecommzoom {
    justify-content: center;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    position: relative;
    height: 500px;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul {
    height: initial;
    display: inline-block;
    transition-duration: 0.5s;
    font-size: 0;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul li {
    padding: 5px 2.5px;
    cursor: pointer;
}

.product-images-ecommzoom .btn-event {
    background: #f7f7f7;
    text-align: center;
    cursor: pointer;
}

.container_ecommzoom {
    z-index: 9999;
    position: fixed;
    top: 0px;
    /* transition: all 1s ease 0s; */
    background: red;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

.container_ecommzoom:not(.active) {
    display: none;
}

.container_ecommzoom .zoo-item {
    position: fixed;
    left: 0;
    top: -100vh;
    right: 0;
    bottom: 0;
    width: 100% !important;
    padding: 0;
    height: 100% !important;
    margin: 0;
    background: #f1f1f1;
    top: 0vh;
    background: #fff;
}

.content_zoom .arrows .prev, .content_zoom .arrows .next {
    top: 50%;
    position: absolute;
    cursor: pointer;
}

.content_zoom .arrows .next {
    right: 0px;
}

.container_ecommzoom .zoo-item .zoo-img {
    height: 65%;
    background-size: contain;
    transform: scale(1.05) !important;
    transform-origin: center 16%;
    cursor: zoom-in !important;
    -webkit-backface-visibility: hidden;
    background-repeat: no-repeat;
    background-position: center;
}

/*.container_ecommzoom .doublezoom .zoo-item .zoo-img {*/
/*    transform: scale(2)!important;*/
/*    height: 100%;*/
/*    cursor: zoom-out!important;*/
/*}*/
.container_ecommzoom span.material-icons.zoom-close {
    position: absolute;
    z-index: 55;
    right: 25px;
    top: 25px;
    cursor: pointer;
}

.zoompanmobilecontainer {
    display: none;
}

.zoompanmobilecontainer.modalon {
    display: block;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100vw;
    z-index: 999999;
    background: white;
}

span.material-icons.panclose {
    position: absolute;
    right: 10px;
    top: 11px;
    font-size: 50px;
    z-index: 999;
}

#zoompanmobile {
    height: 100vh;
    text-align: center;
}

#zoompanmobile img {
    height: auto;
    width: 80%;
    /*left: -50%;*/
    top: 10%;
    position: relative;
}

.product-images-ecommzoom .btn-event.next, .product-images-ecommzoom .btn-event.prev {
    display: none;
}

/*horizontal mode*/
.product-images-ecommzoom.mode1 {
    flex-wrap: wrap;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom {
    order: 2;
    width: 100%;
    /*padding: 0px 70px;*/
    display: flex;
    justify-content: center;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .thumbs-ecommzoom {
    justify-content: center;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: horizontal;
    position: relative;
    height: auto;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .thumbs-ecommzoom ul {
    height: initial;
    display: block;
    transition-duration: 0.5s;
    white-space: nowrap;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom ul li {
    display: inline-block;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.up, .product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.down {
    display: none;
}

.product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.prev, .product-images-ecommzoom.mode1 .thumb-container-ecommzoom .btn-event.next {
    display: block;
    margin-top: 45px;
    height: 27px;
}

/*end horizontal mode*/

.product-images-ecommzoom .thumb-container-ecommzoom ul li .contentiframe {
    display: none;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul li .icon-video > span {
    font-size: 50px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    line-height: 86px;
    height: 86px;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li .icon-video > span {
    display: none;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li .icon-video .contentiframe {
    display: block;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li.content_video *, .product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li.content_video {
    height: 100%;
}

.product-images-ecommzoom .thumb-container-ecommzoom ul.owl-carousel li .icon-video .contentiframe iframe {
    width: 100%;
}

@media (max-width: 992px) {
    .product-images-ecommzoom.mode1 .thumb-container-ecommzoom {
        display: block;
    }

    .cover-image-ecommzoom {
        display: none
    }

    .product-images-ecommzoom .thumb-container-ecommzoom {
        width: 100%;
    }

    .product-images-ecommzoom .thumb-container-ecommzoom .thumbs-ecommzoom {
        display: block;
        height: initial;
    }

    .product-images-ecommzoom .thumb-container-ecommzoom ul {
        width: 100%;
    }

    .product-images-ecommzoom .thumb-container-ecommzoom ul img {
        width: 100%;
        height: auto
    }

    .product-images-ecommzoom .btn-event {
        display: none !important
    }
}

/*mod sito*/