*,
*::after,
*::before {
    box-sizing: border-box;
}

img {
    display: block;
    vertical-align: middle;
}

body {
    margin: 0;
}

.carousel-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.carousel-col {
    flex: 1;
    flex-basis: 400px;
    justify-content: center;
}


.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: auto;
    overflow: hidden;
    margin: auto;
    align-items: center;
    justify-content: center;
}


.carousel-inner > .carousel-item {
    position: relative;
    display: none;
    animation: 0.6s ease-in-out;
    height: 40vh;
    align-items: center;
    justify-content: center;
}

.carousel-item > .carousel-img {
    height: 100%;
    object-fit: contain;
    display:block;
    margin: auto;
}

.carousel-inner > .active,
.carousel-inner > .next {
    display: block;
}

.carousel-inner > .next {
    position: absolute;
    top: 0;
    width: 100%;
}

.carousel-inner > .to-left {
    animation-name: left;
}

.carousel-inner > .from-right {
    animation-name: right;
}

.carousel-inner > .to-right {
    animation-name: right;
    animation-direction: reverse;
}

.carousel-inner > .from-left {
    animation-name: left;
    animation-direction: reverse;
}

.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    cursor: pointer;

}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 15%;
    color: #000000;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-control-prev,
    .carousel-control-next {
        transition: none;
    }
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: #000000;
    text-decoration: none;
    outline: 0;
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

@keyframes left {
    from {
        left: 0;
    }
    to {
        left: -100%;
    }
}

@keyframes right {
    from {
        left: 100%;
    }
    to {
        left: 0;
    }
}


