.carousel .gallery1 {
    width: 100%;
    margin: auto;
}

.carousel .gallery-slider {
    width: 100%;
    height: auto;
    padding: 0 0 -3px 0;
}

.carousel .gallery-slider .swiper-slide {
    height: 400px;
    position: relative;
}

.carousel .gallery-slider .swiper-slide.top {
    position: relative;
    z-index: 1;
}

.carousel .gallery-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    z-index: 2;
    object-fit: fill;
}

.carousel .gallery-thumbs {
    width: 100%;
    height: 150px;
    float: left;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    bottom: 0;
    background-color: rgba(0, 0, 0, .7);
}

.carousel .gallery-thumbs .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    overflow: hidden;
    opacity: 0.7;
}

.carousel .gallery-thumbs .swiper-slide.bottom {
    position: relative;
    cursor: pointer;
}

.carousel .gallery-thumbs .swiper-slide.bottom .p-slide {
    margin: 0;
    position: absolute;
    z-index: 999999999999999999;
    right: 0;
    bottom: 0;
    color: white;
    width: 100%;
    color: rgb(255, 255, 255);
    font-size: 14px;
    padding: 5px;
    height: 100%;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .2);
}

.carousel .gallery-thumbs .swiper-slide-active {
    opacity: .9;
}

.carousel .gallery-thumbs .swiper-slide img {
    height: 100%;
}

.carousel .swiper-button-prev .f-right.fa-chevron-right,
.carousel .swiper-button-next .f-left.fa-chevron-left {
    color: white !important;
    bottom: -30px !important;
    position: absolute !important;
}