.slide-show {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.main-thumb {
    height: 70%;
    position: relative;
    overflow: hidden;
    border: 1px solid #b8b4b4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.5s ease-in-out;
}
.main-thumb video, .preview-image video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    z-index: 1;
}

.thumb {
    display: flex;
    height: 30%;
}

.thumb > .slide, .thumb > .slide-vid {
    flex: 1 0 auto;
    height: 100%;
    border: 1px solid #b8b4b4;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.thumb > .slide:hover, .thumb > .slide-vid:hover {
    cursor: zoom-in;
    opacity: 0.8;
    border: 2px solid #1a5edb;
}


/** * Masking for preview images */
.preview-mask {
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 888;
    width: 100vw;
    height: 100vh;   
    background-color: rgba(0, 0, 0, 0.849);
    gap: 10px;
}

.preview-image {
    position: relative;
    margin-top: 20px;
    width: 80%;
    height: 75%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    z-index: 999;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-image 0.5s ease-in-out;
}

.thumb-container {
    display: flex;
    flex-direction: row;
    height: 15%;
    width: 50%;
    border-radius: 10px;
    background-color: white;
}

.thumb-container > .thumbs, .thumb-container > .thumbs-vid {
    flex: 1 0 auto;
    border: 1px solid rgb(129, 116, 116);
    border-radius: 5px;
    width: 20px;
    z-index: 1000;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.thumb-container > .thumbs:hover, .thumb-container > .thumbs-vid:hover {
    cursor: pointer;
    opacity: 0.8;
    border: 2px solid #1a5edb;
}

.table-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-x: auto;
}

.table-container > table tr td, th {
    text-align: center;
}
