.image-slider-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.images-modal-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-slider-modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    border: 1px solid #888;
    width: 30%;
    position: relative;
    border-radius: 15px;
}

.image-slider-close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 0;
    padding-top: 5px;
    padding-right: 15px;
}

.image-slider-close-btn:hover,
.image-slider-close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.slider-container {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.lg-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

* {
    box-sizing: border-box;
}

.container {
    position: relative;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
}

.cursor {
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    margin-top: 0px;
    color: white !important;
    background-color: rgb(73, 30, 11, 0.5);
    font-weight: 100 !important;
    font-size: 20px;
    border-radius: 50px;
    user-select: none;
    -webkit-user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.prev {
    margin-left: 10px;
}

.next {
    margin-right: 10px;
}

.prev:hover,
.next:hover {
    color: whitw !important;
    background-color: rgb(73, 30, 11);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.image-preview-thumbnail-row:after {
}

.image-preview-thumbnail-row {
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    width: 100%;
    height: 100px;
    justify-content: flex-start;
}

.column {
    width: 100px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.column img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .mySlides img {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .image-slider-modal-content {
        width: 90%;
    }

    .image-preview-thumbnail-row {
        height: 50px;
    }

    .column {
        width: 50px;
    }
}
