:root {
    --carousel-new-height: 35vh;
    --test-variable: calc(var(--carousel-new-height)/35);
    --carousel-folder-height: calc(var(--test-variable) * 30);
}


#filesContainerNEW .swiper-slide {
    background-color: unset;
}


.indexSection {
    height: auto;
}

.videoOverlaySection .video_carousel_div_img {
    width: 100%;
    aspect-ratio: unset;
}

.videoOverlaySection .video_carousel_div_img:hover {
    aspect-ratio: 1 / 1;
}

#videoContainerSwiperInitNEW {
    overflow-y: unset;
}

#rowVideoSearch img {
    width: 100%;
}

#rowCategoriesSearch .video_carousel_div_img {
    aspect-ratio: unset;
}

#firstSectionOverlay {
    z-index: 999999;
    height: fit-content;
}

#firstSectionOverlay {
    width: 100%;
}

#rowCataloguesFoldersCointaner {
    width: auto;
}

.video_carousel_img_div:hover .folderOverlayInfoTitle {
    display: none;
}

#RowVideoCase {
    grid-template-rows: auto;
    grid-auto-rows: auto;
}

@media (pointer: coarse) {

    #NewVideosRow,
    #folderAndRelatedFilesContainer .indexSection {
        overflow: hidden;
    }

}

@media only screen and (pointer: coarse) and (orientation: landscape) {

    :root {
        --carousel-new-height: 60vh;
    }

    #filesContainerNEW .swiper-slide {
        height: 50vh;
    }
}

@media (orientation: portrait) {
    :root {
        --carousel-new-height: 40vh;
        /* aumentato per fare spazio al sottotitolo */
    }

    #NewVideosRow img,
    #folderAndRelatedFilesContainer img {
        max-width: unset;
        width: 100%;
    }

    #videoOverlayWrapperRightList .imgSwiperNetwork {
        max-width: unset;
    }

}