.caption-wrap {
    position: relative;
    bottom: 34px;
    left: 0;
    background-image:linear-gradient( to right ,#0b1f2c, #000, #0b1f2c);
    color: #fff;
    opacity: .7;
    margin: 0;
    display: block;
    width: 100%;
    line-height: 1.4em;
}
@media screen and (max-width: 768px){
    .caption-wrap{
        bottom:0;
    }
}
.caption {
    padding: 5px 10px;
    word-wrap: break-word;
}
.slider,
.slider2 {
    position: relative;
    overflow: hidden;
    padding: 0 50px 20px 50px;
}

.slider__wrapper,
.slider2__wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.slider__item,
.slider2__item {
    flex: 0 0 100%;
    max-width: 370px;
    background: #fff;
    border: 1px solid #00000011;
    border-radius: 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.11);
    padding: 20px;
    margin: 0 10px;
}
.slider__item h4 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
}
.slider__item h5 {
    font-size: 14px;
    font-weight: 300;
    color: #8595AD;
}
.slider__item p {
    margin: 15px 0 0 0;
    font-size: 14px;
    font-weight: 300;
    color: #000;
}
.slider__item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slider2__item {
    display: flex;
    align-items: center;
}
.slider__item img,
.slider2__item img {
    max-width: 403px;
	height: 304px;
}
.slider2__item {
    max-width: 250px;
}
.slider2__item img {
    max-width: 180px;
	height: auto;
}

.slider__item>div,
.slider2__item>div {
    text-align: center;
}

.slider__indicators,
.slider2__indicators {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
}

.slider__indicators li,
.slider2__indicators li {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 22px;
    height: 6px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff !important;
    border-radius: 3px;
    opacity: 1;
    transition: opacity .6s ease;
    padding-bottom:0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.11);
}

.slider__indicators li.active,
.slider2__indicators li.active {
    opacity: 1;
    background-color: #3F75C9 !important;
}

.slider2__control.hidden,
.slider2__indicators.hidden {
    opacity: 0;
    visibility: hidden;
}       
.slider__control_left,
.slider__control_right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider__control_left {
    left: 0;
}

.slider__control_right {
    right: 0;
}

.slider__control_left:hover,
.slider__control_right:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider__control_left:active,
.slider__control_right:active {
    transform: translateY(-50%) scale(0.95);
}

/* Стили для SVG иконок */
.slider__control_left svg,
.slider__control_right svg {
    width: 48px;
    height: 48px;
}

/* Адаптивность */
/* common adaptive */
@media screen and (min-width: 320px) and (max-width: 1400px) {
    .slider {
        width: 100%;
        height: auto;
    }
    .slider__item {
        max-width: 430px;
    }
    .slider__item img {
        max-width: 403px;
        height: 304px;
    }
    .slider__control_left {
        left: 0;
    }   
    .slider__control_right {
        right: 0;
    }
    .slider__control_left,
    .slider__control_right {
        background-color: rgba(255, 255, 255, 0.35);
    }
}
@media screen and (min-width: 320px) and (max-width: 375px) {
    .slider__item {
        max-width: 355px;
    }
    .slider__item img {
        max-width: 333px;
        height: 250px;
    }
}
@media screen and (min-width: 376px) and (max-width: 393px) {
    .slider__item {
        max-width: 370px;
    }
    .slider__item img {
        max-width: 350px;
        height: 262px;
    }
}
@media screen and (min-width: 394px) and (max-width: 415px) {
    .slider__item {
        max-width: 381px;
    }
    .slider__item img {
        max-width: 361px;
        height: 271px;
    }
}
@media screen and (min-width: 416px) and (max-width: 429px) {
    .slider__item {
        max-width: 396px;
    }
    .slider__item img {
        max-width: 376px;
        height: 282px;
    }
}
@media screen and (min-width: 430px) and (max-width: 480px) {
    .slider__item {
        max-width: 398px;
    }
    .slider__item img {
        max-width: 378px;
        height: 284px;
    }
}
@media screen and (min-width: 500px) and (max-width: 700px) {
    .slider__item {
        max-width: 420px;
    }
    .slider__item img {
        max-width: 350px;
        height: 262px;
    }
}
@media screen and (min-width: 701px) and (max-width: 768px) {
    .slider__item {
        max-width: 400px;
    }
    .slider__item img {
        max-width: 383px;
        height: 287px;
    }
}