ui-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    cursor: grab;
    display: block;
}

ui-carousel.mixed-size {
    max-height: 75vh;

    .carousel-items-container,
    .elements {

        max-height: 75vh;

        .carousel-item {

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

        }

    }
}

ui-carousel.dragging {
    cursor: grabbing;
}

ui-carousel .carousel-items-container,
ui-carousel .elements {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 100%;
    flex-direction: row;
}

ui-carousel .carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    min-width: 100%;
}

ui-carousel .carousel-item img {
    user-select: none !important;
    width: 100%;
    height: auto;
    display: block;
}

ui-carousel .carousel-nav-button {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 3em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
    box-shadow: none;
    padding: 1rem;
}

ui-carousel .carousel-nav-button:hover,
ui-carousel .carousel-nav-button.hover {
    background: #fff;
    color: #000;
    opacity: 1;
}

/* Counter */
ui-carousel .counter {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    right: 0px;
    top: 0px;
    color: #000;
    background: #fafafa;
    z-index: 10;
    pointer-events: none;
    display: none;
    font-size: 1.5em;
    font-weight: 600;
    border-radius: 0 0 0 50%;
    width: 7rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 0.5rem;
    white-space: nowrap;
}

ui-carousel[data-counter] .counter {
    display: flex;
}

ui-carousel .carousel-prev-button {
    left: -0.25em;
    border-radius: 25% 50% 50% 25%;
    border: 4px solid #fff;
}

ui-carousel.hide-prev .carousel-prev-button {
    border: 0;
}

ui-carousel.hide-prev .carousel-prev-button:hover {
    opacity: 1;
    border: 4px solid #fff;

}


ui-carousel .carousel-next-button {
    right: -0.25em;
    border-radius: 50% 25% 25% 50%;
    border: 4px solid #fff;

}