.tns-video-slide {
    border-top: 1px solid #d3d3d3;
    border-bottom: 1px solid #d3d3d3;
    padding-top: 15px;
    margin-bottom: 15px;
}
#tns-floating-video {
    position: fixed;
    bottom: 150px;
    right: 16px;
    width: 160px;
    height: 284px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    z-index: 9999;
    display: flex !important;
    /* overflow: hidden; */
}

#tns-floating-video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
}

.tns-fv-close {
    position: absolute;
    top: -31px;
    right: -4px;
    width: 27px;
    height: 27px;
    border-radius: 50% !important;
    border: none;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    z-index: 2;
    padding: 0px;
    margin: 0;
}
.tns-fv-inner{
    border-radius: 12px;
    overflow: hidden;
}
.tns-video-slide-wrapper {
    overflow-y: auto;
    overflow-x: auto;
    display: flex;
    flex-flow: nowrap;
    margin-bottom: 20px;
    padding-bottom: 7px;
}

.tns-video-slide-wrapper[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.tns-video-slide-wrapper[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.tns-video-slide-item {
    width: 100%;
    margin-right: 10px;
    min-width: 120px;
    max-width: 150px;
}

.tns-video-slide-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.tns-video-slide-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .tns-video-slide-wrapper[data-columns="2"],
    .tns-video-slide-wrapper[data-columns="3"] {
        grid-template-columns: 1fr;
    }
    #tns-floating-video {
        bottom: 170px;
        right: 5px;
        width: 100px;
        height: 185px;
    }
}
