
.slider {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
#slider1 .slide{
    img{
        max-height: 400px;
        object-fit: contain;
    }
}
.sliderimgcontainer {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    border-radius: 10px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
}
.slides {
    display: flex;
    transition: transform 0.5s ease;
}
.slide {
    img{
        max-height: 600px;
        object-fit: contain;
    }
    min-width: 100%;
    box-sizing: border-box;
}
.slide img {
    width: 100%;
    border-radius: 10px;
}
.thumbnails {
    display: flex;
    justify-content: left;
    margin-top: 10px;
    overflow-x: auto;
}
.thumbnail {
    object-fit: cover;
    width: 80px;
    height: 80px;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 5px;
}
.thumbnail:hover {
    opacity: 1;
}
.active {
    opacity: 1;
    border: 2px solid #007BFF;
}
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.arrow-left {
    z-index: 2;
    left: 10px;
}
.arrow-right {
    z-index: 2;
    right: 10px;
}
/* Full photo modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 950;
}
.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}
.modal-content img {
    width: 100%;
    border-radius: 10px;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 990;
}
.modal-arrow-left {
    left: 10px;
}
.modal-arrow-right {
    right: 10px;
}
@media screen and (max-width: 767px){
    .slider {
        width: 100%;
        max-width: 400px;
    }
    #slider1 .slide{
        img{
            max-height: 250px;
            object-fit: contain;
        }
    }
}