/* ==========================================
   ABS RESPONSIVE IMAGE CAROUSEL  #147EA8
   ========================================== */

.abs-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg,#F8FBF8 0%,#EAF7EF 100%);
    line-height: 0;
}

/* Track */
.abs-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

/* Individual slide */
.abs-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
}

/* Image */
.abs-carousel-image {
    display: block;
    width: 100%;
    height: auto;

    /*
       IMPORTANT:
       contain keeps the complete image visible.
       It does NOT crop or stretch the image.
    */
    object-fit: contain;

    /*
       Prevent unwanted browser spacing
    */
    max-width: 100%;
}


/* ==========================================
   PREVIOUS / NEXT BUTTONS
   ========================================== */

.abs-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;

    font-size: 24px;
    line-height: 45px;

    cursor: pointer;
    z-index: 10;

    transition: background 0.3s ease;
}

.abs-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

.abs-carousel-prev {
    left: 15px;
}

.abs-carousel-next {
    right: 15px;
}


/* ==========================================
   DOTS
   ========================================== */

.abs-carousel-dots {
    position: absolute;

    left: 50%;
    bottom: 15px;

    transform: translateX(-50%);

    display: flex;
    gap: 8px;

    z-index: 10;
}

.abs-carousel-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.35);

    cursor: pointer;
}

.abs-carousel-dot.abs-active {
    background: #000000;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 768px) {

    .abs-carousel-btn {
        width: 38px;
        height: 38px;

        font-size: 20px;
        line-height: 38px;
    }

    .abs-carousel-prev {
        left: 10px;
    }

    .abs-carousel-next {
        right: 10px;
    }

    .abs-carousel-dots {
        bottom: 10px;
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 480px) {

    .abs-carousel-btn {
        width: 32px;
        height: 32px;

        font-size: 17px;
        line-height: 32px;
    }

    .abs-carousel-prev {
        left: 7px;
    }

    .abs-carousel-next {
        right: 7px;
    }

    .abs-carousel-dots {
        gap: 6px;
        bottom: 7px;
    }

    .abs-carousel-dot {
        width: 7px;
        height: 7px;
    }

}