/* =========================================================
   FLEXIWIDGETS - IMAGE CAROUSEL
   NO OWL CAROUSEL
   ========================================================= */


/* =========================================================
   MAIN CAROUSEL
   ========================================================= */

.fw-image-carousel {
    width: 100%;
    position: relative;
}


/* =========================================================
   VIEWPORT
   ========================================================= */

.fw-image-carousel .fw-viewport {
    width: 100%;
    position: relative;
    overflow: hidden;

    /*
     * Horizontal dragging allowed.
     * Vertical page scrolling remains available.
     */
    touch-action: pan-y;
}


/* =========================================================
   TRACK
   ========================================================= */

.fw-image-carousel .fw-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;

    width: max-content;
    max-width: none;

    margin: 0;
    padding: 0;

    will-change: transform;

    transform: translate3d(0, 0, 0);

    /*
     * Important:
     * JS controls the transform.
     */
    transition: none;
}


/* =========================================================
   CAROUSEL ITEM
   ========================================================= */

.fw-image-carousel .fw-item {
    flex: 0 0 auto;

    overflow: hidden;

    margin-top: 0;
    margin-bottom: 0;

    padding: 0;

    border-radius: 10px;

    background: #fff;

    box-sizing: border-box;
}

/* =========================================================
   IMAGE
   ========================================================= */

.fw-image-carousel .fw-image-carousel__image {
    display: block;

    width: 100%;
    height: 300px;

    margin: 0;
    padding: 0;

    object-fit: cover;

    /*
     * Prevent image dragging.
     */
    user-select: none;
    -webkit-user-select: none;

    -webkit-user-drag: none;

    pointer-events: none;

    box-sizing: border-box;
}


/* =========================================================
   CLONED ITEMS
   ========================================================= */

.fw-image-carousel .fw-clone {
    flex-shrink: 0;
}


/* =========================================================
   DRAGGING STATE
   ========================================================= */

.fw-image-carousel.is-dragging {
    cursor: grabbing;
}


.fw-image-carousel.is-dragging .fw-viewport {
    cursor: grabbing;
}


.fw-image-carousel .fw-viewport {
    cursor: grab;
}


/*
 * Disable transition while dragging.
 */

.fw-image-carousel.is-dragging .fw-track {
    transition: none !important;
}


/* =========================================================
   NAVIGATION WRAPPER
   ========================================================= */

.fw-image-carousel .fw-nav {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 20;

    pointer-events: none;
}


/* =========================================================
   NAVIGATION BUTTON
   ========================================================= */

.fw-image-carousel .fw-nav button {
    position: absolute;

    top: 50%;

    width: 45px;
    height: 45px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #000;
    color: #fff;

    font-size: 28px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    pointer-events: auto;

    transform: translateY(-50%);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   PREVIOUS BUTTON
   ========================================================= */

.fw-image-carousel .fw-prev {
    left: -25px;
}


/* =========================================================
   NEXT BUTTON
   ========================================================= */

.fw-image-carousel .fw-next {
    right: -25px;
}


/* =========================================================
   NAV HOVER
   ========================================================= */

.fw-image-carousel .fw-nav button:hover {
    opacity: 0.8;
}


/* =========================================================
   NAV FOCUS
   ========================================================= */

.fw-image-carousel .fw-nav button:focus {
    outline: none;
}


/* =========================================================
   DOTS WRAPPER
   ========================================================= */

.fw-image-carousel .fw-dots {
    width: 100%;

    margin-top: 20px;

    padding: 0;

    text-align: center;

    line-height: 0;
}


/* =========================================================
   DOT
   ========================================================= */

.fw-image-carousel .fw-dot {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 5px;
    height: 5px;

    padding: 0;
    margin: 5px;

    border: 0;
    border-radius: 50%;

    border: 1px solid #FFFFFF66 !important;
    background: transparent !important;

    cursor: pointer;

    vertical-align: middle;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


/* =========================================================
   ACTIVE DOT
   ========================================================= */

.fw-image-carousel .fw-dot.active {
    background: #B39D70 !important;
    border: 1px solid #B39D70 !important;
}


/* =========================================================
   DOT HOVER
   ========================================================= */

.fw-image-carousel .fw-dot:hover {
    transform: scale(1.1);
}


/* =========================================================
   DOT FOCUS
   ========================================================= */

.fw-image-carousel .fw-dot:focus {
    outline: none;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.fw-image-carousel-empty {
    width: 100%;

    padding: 30px;

    text-align: center;

    background: #f5f5f5;

    border: 1px dashed #ccc;

    box-sizing: border-box;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .fw-image-carousel .fw-image-carousel__image {
        height: 250px;
    }


    .fw-image-carousel .fw-prev {
        left: 5px;
    }


    .fw-image-carousel .fw-next {
        right: 5px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */
@media(max-width: 767px){
    .fw-image-carousel .fw-dots {
        margin-top: 50px;
    }
}
@media (max-width: 480px) {

    .fw-image-carousel .fw-image-carousel__image {
        height: 220px;
    }


    .fw-image-carousel .fw-nav button {
        width: 35px;
        height: 35px;

        font-size: 22px;
    }


    .fw-image-carousel .fw-prev {
        left: 5px;
    }


    .fw-image-carousel .fw-next {
        right: 5px;
    }


    .fw-image-carousel .fw-dots {
        margin-top: 50px;
    }


    .fw-image-carousel .fw-dot {
        width: 5px;
        height: 5px;

        margin: 4px;
    }

}