/* // Style.css */
.carousel-container {
    width: 100%;
}

.carousel-gallery .slick-slide a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

/* .carousel-gallery .slick-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.carousel-gallery .slick-track {
    display: flex !important;
    align-items: stretch; /* This will make all slides the same height */
}

.carousel-gallery .slick-slide {
    height: auto !important; /* This allows the slide to stretch to the height of the tallest one */
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.carousel-gallery .slick-slide img,.carousel-item img {
    width: 100%;
    min-height: 195px;
    height: 16vw;
    max-height: 465px;
    object-fit: cover; /* This will cover the area of the slide without stretching the image */
    border-radius: 10px;
    -webkit-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

/* dot style */
.carousel-gallery .slick-dots button:before{
    display: none;
}

.carousel-gallery .slick-dots button {
    font-size: 0 !important;
    background: rgba(116, 176, 224, 0.36);
    height: 10px;
    width: 10px;
    border-radius: 4px 4px 4px 4px;
     -webkit-transition: .4s ease-in-out !important;
    -o-transition: .4s ease-in-out !important;
    transition: .4s ease-in-out !important;
}

.carousel-gallery .slick-dots li {
    width:auto;
    height: auto;
}

.carousel-gallery ul.slick-dots li.slick-active button {
    width: 30px;
    background: #24335E;
}

.carousel-gallery ul.slick-dots {
    position: unset !important;
    padding: 0 !important;
}


/* nav style */
.carousel-gallery button.slick-arrow {
    height: 48px;
    width: 48px;
    color: #FFFFFF;
    background: #232E5A;
    border: 0px solid #333;
    transform: skew(0deg);
    margin-top: -24px;
    z-index: 999;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease;
}

.carousel-gallery button.slick-arrow:hover,button.slick-arrow:focus {
    background: #74B0E0;
}

.carousel-gallery button.slick-prev.slick-arrow {
    left: -15px;
}

.carousel-gallery button.slick-next.slick-arrow {
    right: -15px;
}

.carousel-gallery button.slick-prev.slick-arrow::before {
    content:"";
}

.carousel-gallery button.slick-next.slick-arrow::before {
    content:"";
}

.carousel-gallery button.slick-arrow::before {
    font-family: FontAwesome !important;
    font-weight: 900 !important;
}


.carousel-item:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.carousel-gallery .carousel-item {
    margin: 0 10px; /* Vertical margins set to 0, horizontal margins set to 15px */
    padding: 10px;
    background: #fff;
    border: 1px solid #cecaca;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.carousel-container li {
    float: left;
}

.carousel-container img {
    width: 100%;
}

.gallery-container {
    width: 100%;
}

.gallery-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery-container li {
    float: left;
}

.gallery-container img {
    width: 100%;
}

.carousel-gallery {
    visibility: hidden; /* Hide the content initially */
    margin-bottom: 15px !important;
    padding: 0 10px;
}

.carousel-gallery-wrapper {
    position: relative;
    padding: 0 14px;
}

/* magnifine */
.mfp-img {
    max-height: 80vh !important; /* Adjust as needed */
}

.mfp-close,.mfp-wrap.mfp-gallery,.mfp-bg {
    z-index: 110000 !important; /* Adjust as needed */
}

.mfp-arrow-left:before {
    border-right: 27px solid #ffffff !important;
}

.mfp-arrow-right:before {
    border-left: 27px solid #fffbfb !important;
    margin-left: 0 !important;
}

.preloader {
    content: "";
    background: #FFFFFF;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: 1px solid #ededed;
}

.preloader span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #0074d9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

/* responsive */
@media (max-width: 1024px) {

    .carousel-gallery .slick-slide img {
        min-height: 195px;
        height: 25vw;
        max-height: 465px;
    }

    .carousel-gallery .slick-list.draggable {
        padding: 0 5% !important;
    }

    .carousel-gallery button.slick-arrow {
        height: 40px;
        width: 40px;
    }
    
}

@media (max-width: 768px) {

    .carousel-gallery .slick-slide img {
        min-height: 195px;
        height: 50vw;
        max-height: 465px;
    }
    
}


