[class*="card-slider"] {
    box-sizing: border-box;
}

.card-slider {
    width: 100%;
    max-height: 500px;
    padding: 0 15px;
    /*padding-top: 40px;*/
    overflow: hidden;
    background-color: #2E2E38;
    /*box-shadow: inset 7px 0px 4px rgba(0, 0, 0, 0.25), inset -7px 0px 4px rgba(0, 0, 0, 0.25);*/
}

.card-slider__heading {
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 36px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .card-slider__heading {
        text-align: left;
        margin-left: 355px;
    }
}

.card-slider__subheading {
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 18px;
    font-weight: 100;
    color: #ffffff;
    text-align: center;
    margin: 12px 0 0 0;
}

@media (min-width: 1024px) {
    .card-slider__subheading {
        text-align: left;
        margin-left: 355px;
    }
}

.card-slider__row {
    padding: 0 0 28px;
    width: 100%;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    overflow: hidden;
    height: 620px;
}

.card-slider__item {
    /*margin: 32px 0;*/
    display: flex;
    flex-direction: column;
    width: 300px;
}

@media (min-width: 420px) {
    .card-slider__item {
        width: 345px;
    }
}

@media (min-width: 1024px) {
    .card-slider__item_first {
        margin-left: 355px !important;
    }
}

/* Link */
.card-slider__link,
.card-slider__link:active,
.card-slider__link:hover {
    transition: 0.4s ease;
    text-decoration: none !important;
}

@media (min-width: 1024px) {
    .card-slider__link:hover {
        transform: translatey(-30px);
    }
}

.card-slider__item-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 380px;
    padding: 108px 22px 0px 20px;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    color: #2E2E38;
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-01.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.owl-item:nth-of-type(2) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-02.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(3) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-03.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(4) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-04.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(5) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-05.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(6) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-06.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(7) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-07.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(8) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-08.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

.owl-item:nth-of-type(9) .card-slider__item-body {
    background-color: #fff;
    background-image:
            linear-gradient(180.09deg, rgba(255, 255, 255, 0) 6.97%, rgba(255, 255, 255, 0.855) 31.88%, rgba(255, 255, 255, 0.984) 40.82%, #FFFFFF 99.9%),
            url('../img/img-09.jpg');
    background-repeat: no-repeat;
    background-size: contain;
}

@media (min-width: 420px) {
    .card-slider__item-body {
        height: 400px;
    }
}

.card-slider__item-heading {
    margin: 0 0 10px;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.1;
}

@media (min-width: 420px) {
    .card-slider__item-heading {
        font-size: 24px;
    }
}

.card-slider__item-description {
    margin: 0;
    font-family: "Noto-Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    font-weight: normal;
    line-height: 1.2;
}

@media (min-width: 420px) {
    .card-slider__item-description {
        font-size: 16px;
    }
}

.card-slider__item-sale {
    margin: -27px 0 3px;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    background-image: url("img/line.svg");
    background-repeat: no-repeat;
    background-position: 2px 10px;
}

.card-slider__item-price {
    margin: 0 0 16px 0;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.card-slider__item-cities {
    margin: 0 0 5px;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.card-slider__item-dates {
    margin: 0 0 18px;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.card-slider__item-footer {
    display: inline-block;
    width: 100%;
    margin: 8px 0 0;
    padding: 20px;
    font-family: "Montserrat", "Noto-Sans", sans-serif;
    font-size: 18px;
    color: #2E2E38;
    transition: 0.4s ease;
    background-color: #fff;
    background-image: url("img/ic_keyboard_backspace.svg");
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 250px 24px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

@media (min-width: 420px) {
    .card-slider__item-footer {
        background-position: 306px 26px;
    }
}

@media (min-width: 1024px) {
    .card-slider__link:hover .card-slider__item-footer {
        background-color: #4AA851;
    }

    .card-slider__link:active .card-slider__item-footer {
        background-position: 324px 26px;
    }
}

.card-slider__nav {
    text-align: center;
    font-size: 53px;
    line-height: 0;
    color: #ffffff;
}

.card-slider__owl-nav-fix {
    outline: none !important;
    transition: 0.4s ease;
    background-color: rgba(220, 220, 220, 0.5) !important;
    border-radius: 50%;
    color: #2E2E38;
}

.owl-nav-fix:hover {
    background-color: #999999 !important;
}

@media (min-width: 960px) {
    .card-slider__owl-nav-fix {
        color: #ffffff;
        background-color: #2E2E38 !important;
    }

    .card-slider__owl-nav-fix:hover {
        background-color: #666666 !important;
    }
}

.card-slider__owl-nav-fix.disabled,
.card-slider__owl-nav-fix.disabled:hover {
    background-color: transparent !important;
    cursor: default !important;
}

.card-slider__owl-nav-fix.disabled span {
    color: transparent;
}

.card-slider__owl-nav-fix span {
    display: inline-block;
    line-height: 48px;
    width: 60px;
    height: 60px;
}

.card-slider__owl-nav-fix_prev,
.card-slider__owl-nav-fix_next {
    position: absolute;
    top: 260px;
}

.card-slider__owl-nav-fix_prev {
    left: 5px;
}

.card-slider__owl-nav-fix_next {
    right: 5px;
}

@media (min-width: 1024px) {
    .card-slider__owl-nav-fix_prev {
        position: absolute;
        top: 240px;
        left: 50px;
    }

    .card-slider__owl-nav-fix_next {
        position: absolute;
        top: 240px;
        right: 50px;
    }
}

/* Animation */
/* Анимация для мобильных разрешений */
/* Реализует полноценную анимацию карточек при таче */
.card-slider__link_animation {
    animation: item-up;
    animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.card-slider__link_animation .card-slider__item-footer {
    animation: footer-color;
    animation-duration: 0.4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@media (min-width: 960px) {
    .card-slider__link_animation {
        animation: none;
        animation-duration: none;
        animation-timing-function: none;
        animation-fill-mode: none;
    }

    .card-slider__link_animation .card-slider__item-footer {
        animation: none;
        animation-duration: none;
        animation-timing-function: none;
        animation-fill-mode: none;
    }
}

@keyframes item-up {
    from {
        transform: none;
    }

    to {
        transform: translatey(-30px);
    }
}

@keyframes footer-color {
    from {
        background-color: #ffffff;
    }

    to {
        background-color: #4AA851;
    }
}

.card-slider__dots {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-slider__dot,
.card-slider__dot:hover,
.card-slider__dot:focus,
.card-slider__dot:active {
    outline: none;
    border: 0;
    padding: 0;
}

.card-slider__dot span {
    height: 20px;
    width: 20px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: #999999 !important;
    display: inline-block;
}

.card-slider__dot:hover {
    opacity: 0.5;
}

.card-slider__dot:focus {
    opacity: 0.9;
}

.card-slider__dot.active span {
    background-color: #4AA851 !important;
}

.card-slider .owl-nav {
    display: none;
}

.card-slider__nav {
    position: relative;
    /*width: 100%;*/
    /*top: 50%;*/
    /*margin-right: -50%;*/
    /*transform: translate(-50%, -50%);*/

}

@media (min-width: 800px) {

    .card-slider__nav {
        display: block !important;
    }


    .card-slider__nav-next,
    .card-slider__nav-prev {
        position: absolute;
        bottom: 250px;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        outline: none;
        background-color: #2E2E38 !important;
        box-shadow: 0px 8px 22px rgba(121, 118, 255, 0.14) !important;

        transition: 0.2s ease-out;
    }

    .card-slider__nav-next:hover,
    .card-slider__nav-prev:hover {
        background-color: #6a6a80 !important;
    }

    .card-slider__nav-next span,
    .card-slider__nav-prev span {
        display: none;
    }

    .card-slider__nav-next.disabled,
    .card-slider__nav-prev.disabled {
        display: none;
    }

    .card-slider__nav-next {
        right: 80px;

        background-image: url('../img/arrow-right.svg') !important;
        background-size: 21px !important;
        background-position: 23px 22px !important;
        background-repeat: no-repeat !important;
    }

    .card-slider__nav-prev {
        left: 80px;

        background-image: url('../img/arrow-left.svg') !important;
        background-size: 21px !important;
        background-position: 21px 22px !important;
        background-repeat: no-repeat !important;
    }

}