.carousel2 {
    /*background-color: #f6faff;*/
    position: relative;
}

.carousel2 .images {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background-color: #f6faff;
}

.carousel2 .images .image {
    height: 100%;
    max-height: 100%;
    max-width: 100%;
}

.carousel2 .images > .image:not(:first-child) {
    display: none;
}

.carousel2 .thumbnails {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin-top: 8px;
}

.carousel2 .thumbnails .image {
    height: 100%;
    width: 60px;
    margin: 4px;
    cursor: pointer;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    overflow: hidden;
}

.carousel2 .thumbnails .image:hover,
.carousel2 .thumbnails .image.active {
    border: 1px solid #2777c6;
}

.carousel2 .images .image img,
.carousel2 .thumbnails .image img {
    width:100%;
    height:100%;
    object-fit: contain;
}

/* .carousel2 .carousel2-slider {
    margin: 0;
    padding: 0;
    list-style-type: none;
    height: 100%;
    white-space: nowrap;
    overflow-x: visible;
    color: #0f1111;
    letter-spacing: -4px;
    position: relative;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
}

.carousel2 .carousel2-left, .carousel2 .carousel2-right {
    width: 42px;
    position: absolute;
    top: 0;
    z-index: 1;
}

.carousel2 .carousel2-left {
    left: 0;
    padding-inline-start: .3125rem;
}

.carousel2 .carousel2-right {
    text-align: right;
    right: 0;
    padding-inline-end: .3125rem;
}

.carousel2 .carousel2-center {
    margin: 0 42px;
}

.carousel2 .carousel2-slider .carousel2-card {
    -webkit-border-radius: 16px;
    vertical-align: top;
    text-align: left;
    width: calc(100% / 5);
    height: 100%;
    margin-right: 16px;
    min-height: 100%;
    list-style-type: none;
    display: inline-block;
    white-space: normal;
    letter-spacing: normal;
}

.carousel2 .carousel2-slider .carousel2-card .img-container {
    height: 100%;
    position: relative;
}

.carousel2 .carousel2-slider .carousel2-card .img-container img{
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    height: 190px;
    max-height: 100%;
    max-width: 100%;
    right: 0;
    top: 0;
}

.carousel2 .carousel2-slider .carousel2-card .img-container:after {
    background-color: rgba(0, 0, 0, .05);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}*/

.carousel2 .slides {
    position: relative;
    height: 100%;
}

.carousel2 .slides-left,
.carousel2 .slides-right {
    width: 40px;
    position: absolute;
    top: 50%;
    bottom: 50%;
    /*transform: translate(-50%, -50%);*/
}

.carousel2 .slides-left {
    left: 0;
    position: absolute;
}

.carousel2 .slides-center {
    position: relative;
    overflow: hidden;
    margin: 0 40px;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.carousel2 .slides-right {
    right: 0;
    text-align: right;
    position: absolute;
}

.carousel2 .slides-left button,
.carousel2 .slides-right button {
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    vertical-align: middle;
}

.carousel2 .slides::before,
.carousel2 .slides::after {
    display: table;
    content: '';
    line-height: 0;
    font-size: 0;
}

.carousel2 .slides::after {
    clear: both;
}

.carousel2 .carousel2-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    height: 100%;
    white-space: nowrap;
    overflow-x: visible;
    color: #0f1111;
    letter-spacing: -4px;
    position: relative;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    /*-webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;*/
}

.carousel2 .carousel2-list .slides-card {
    -webkit-border-radius: 16px;
    vertical-align: top;
    text-align: left;
    width: 165px;
    height: 100%;
    margin-right: 16px;
    min-height: 100%;
    list-style-type: none;
    display: inline-block;
    white-space: normal;
    letter-spacing: normal;
}
.carousel2 .carousel2-list .slides-card .img-container {
    height: 100%;
    position: relative;
}

.carousel2 .carousel2-list .slides-card .img-container img{
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    height: 175px;
    max-height: 100%;
    max-width: 100%;
    right: 0;
    top: 0;
}

.carousel2 .carousel2-list .slides-card .img-container:after {
    background-color: rgba(0, 0, 0, .05);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}