/* block */

.review-item__img {
    object-fit: cover;
    height: 250px;
    width: 100%;
}

.review-item__img-wrapper {
    width: 100%;
    height: 250px;
}

.review-item .review-item__img:after {
    display: none;
}

.review-item__description {
    padding: 24px;
    background: #fff;
}

.review-item {
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    margin: 20px;
    overflow: hidden;
}

.review-item__text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    line-height: 20px;
    height: 120px;
    margin-top: 10px;
}

.review-item__name {
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.review-item__rate {
    text-align: center;
    font-size: 30px;
    color: #ffda11;
}

.review-block__popup-btn {
    cursor: pointer;
    height: 40px;
    border-radius: 6px;
    background-color: #fce000;
    color: #000;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    transition: .3s;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 280px;   
}

.review-block__popup-btn:hover {
    background-color: #000;
    color: #fff;
}

.review-block__list .owl-nav div {
    position: absolute;
    top: 50%;
    font-size: 0;
    
    background: url(https://al-akb.ru/assets/img/next.png);
    width: 19px;
    height: 34px;;
}

.review-block__list .owl-nav .owl-prev {
    transform: rotate(180deg);
    left: -32px;
}

.review-block__list .owl-nav .owl-next {
    right: -32px;
}

@media screen and (max-width: 768px) {
    .review-item__img {
        object-fit: none;
    }    
    .review-item {
        margin: 0;
    }
}

/* block */


/* popup */

body .popup {
    background: #fff;
    padding: 20px;
}

.popup__title {
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    margin-top: 20px;
}

.popup__form {
    display: flex;
    flex-direction: column;
}

.popup__input {
    font: 400 16px/21px Roboto,Arial,sans-serif;
    resize: none;
    width: 100%;
    display: block;
    border-radius: 3px;
    background: #fff;
    border: 2px solid #d9d5d5;
    padding: 10px 5px 10px 20px;
    color: #333;
    outline: 0;
    box-shadow: none;
    transition: .3s;
    margin-bottom: 10px;
    width: 100%;
    max-width: 100% !important;
}

.popup__input:hover, .popup__input:active, .popup__input:focus {
    border-color: #3d3939 !important;
}

.popup__input--textarea {
    display: block !important;
    border-radius: 3px !important;
    background: #fff !important;
    border: 2px solid #d9d5d5 !important;
    padding: 10px 5px 10px 20px !important;
    color: #333 !important;
    outline: 0;
    box-shadow: none !important;
    transition: .3s !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    font: 400 16px/21px Roboto,Arial,sans-serif  !important;
    resize: none  !important;
    height: 100px !important;
}

.popup__btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
    text-transform: uppercase;
    transition: .3s !important;
}

.popup__btn:hover {
    background: #000 !important;
    color: #fff !important;
}

/* popup */