.services-subtitle{
    font-size: 14px;
    margin: -5px 0 20px 0;
}

.gallery-thumbs .swiper-slide{
    visibility: visible !important;
}


.pagination_container {
    margin-top: 10px;
    text-align: center;
}

.service {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    padding: 27px 20px 34px 20px;
    margin-bottom: 30px;
}
.service:nth-child(even) {
    -webkit-box-shadow: 0 0 13px -5px rgb(27 62 99 / 38%);
    box-shadow: 0 0 13px -5px rgb(27 62 99 / 38%);
}
.service__info {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 355px;
    flex: 0 0 355px;
    position: relative;
}
.service__gallery {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 345px;
    min-width: 0;
    padding: 8px 88px 0 66px;
}
.service__buttons {
    display: none;
}
.service-info__title {
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1d;
    line-height: 1.3;
}
.service-info__text {
    padding-bottom: 50px;
}
.service-info__text p {
    color: #1c262b;
    line-height: 1.3;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 18px;
}
.service-info__buttons {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.service-button {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 38px;
    min-width: 148px;
    background: #1976d2;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border: 0;
    border-radius: 3px;
    text-decoration: none;
    outline: none;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}
.service-button_light {
    background: #ffffff;
    color: #1976d2;
    border: 1px solid #1976d2;
}
.service-button:hover,
.service-button:focus {
    background: #5ca6e4;
    border-color: #5ca6e4;
    color: #ffffff;
    text-decoration: none;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}
.service-button_margin {
    margin-right: 12px;
}
.service-fancybox {
    display: block;
    width: 100%;
    height: 100%;
}
.service-fancybox:focus {
    outline: none;
}
.swiper-container {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
.swiper-slide {
    visibility: hidden !important;
    background-size: cover;
    background-position: center;
}

.swiper-slide-active {
    visibility: visible !important;
    background-size: cover;
    background-position: center;
}

.gallery-top {
    height: 74%;
    width: 100%;
}
.gallery-thumbs {
    overflow: hidden;
    height: 26%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 0 0 0;
}
.gallery-thumbs .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next,
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    outline: none;
}

.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    background-image: url(../img/swiper-arrow-right.png);
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}

.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    background-image: url(../img/swiper-arrow-left.png);
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
}

.swiper-button-prev,
.swiper-button-next {
    top: 39%;
}
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: 16px;
}
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 38px;
}

@media (max-width: 1120px) {
    .service {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .service__info {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 227px;
        flex: 0 0 227px;
    }
    .service-info__text {
        padding-bottom: 0px;
    }
    .service__buttons {
        display: block;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        text-align: center;
        margin-top: 20px;
    }
    .service-info__buttons {
        display: none;
    }
    .service-button_margin {
        margin-right: 17px;
    }
    .service__gallery {
        padding: 8px 40px 0 60px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        top: 35%;
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev {
        right: 0px;
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next {
        left: 20px;
    }
}

@media (max-width: 650px) {
    .service__gallery {
        height: 290px;
    }
    .service__gallery {
        padding: 8px 30px 0 30px;
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next {
        left: 0;
    }
}
@media (max-width: 550px) {
    .service {
        padding: 27px 20px 19px 20px;
    }
    .service__info {
        -webkit-box-flex: 1;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
        position: relative;
    }
    .gallery-top {
        height: 65%;
    }
    .gallery-thumbs {
        height: 35%;
    }
    .service__buttons {
        margin-top: 31px;
    }
    .service-button {
        margin-bottom: 10px;
    }
}
@media (max-width: 390px) {
    .service__gallery {
        height: 190px;
    }
    .service-button_margin {
        margin-right: 0;
    }
}


