.pagination__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
}

.pagination__item {
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 14px;
    line-height: 100%;
    color: #8f97a5; }
.pagination__item:hover {
    color: #fff;
    background-color: #1EC8FF;
}
.pagination__item:not(:last-child) {
    margin-right: 10px; }
.pagination__item.current {
    cursor: default;
    color: #fff;
    background-color: #1EC8FF; }

.next-page,
.prev-page {
    position: relative;
    background-color: #fff; }
.next-page::before,
.prev-page::before {
    content: "";
    position: absolute;
    border: solid #8f97a5;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    -webkit-transform: translateX(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) rotate(-45deg);
    transform: translateX(-50%) rotate(-45deg);
    left: 52%; }

.next-page::before {
    left: 48%; }

.prev-page::before {
    -webkit-transform: translateX(-25%) rotate(135deg);
    -ms-transform: translateX(-25%) rotate(135deg);
    transform: translateX(-25%) rotate(135deg); }
.next-page:hover::before,
.prev-page:hover::before {
    border: solid #ffffff;
    border-width: 0 1px 1px 0;
}

.doctor__item img {
    max-width: 422px;
    object-fit: cover;
}

@media (max-width: 767px) {
  .doctor__item img {
    width: 100%;
    max-height: 420px;
  }
}

.input-wrapper textarea {
    max-width: 100%;
    min-width: 100%;
    max-height: 350px;
    min-height: 150px;
    width: 100%;
    border: 1px solid #F5F5F5;
    border-radius: 8px;
    padding: 20px;
}

.ok_but-custom {
    cursor: pointer;
}

.service__item-inner {
    column-gap: 10px;
}

.footer-contacts span {
    color: #fff;
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.legal {
    padding-top: 10px;
    font-size: 16px;
}

@media (max-width: 500px) {
    .service__item-inner {
        justify-content: space-between;
    }
    .btn-services {
        padding: 0 32px;
    }
}

.oxbox-link {
    justify-content: space-between;
}

.modal__success-wrapper {
    margin: 0 auto;
}

.current-menu-item a {
    background-color: #0074D9;
    color: white;
}

.service__item-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 32px;
}

.certificats-slider img {
    width: 100%;
}

.input-wrapper-tax select {
    background: transparent;
    z-index: 2;
}
.ok_but {
    margin-top: 20px !important;
}

.footer-contacts a.tel {
    font-size: 18px !important;
}

/* Скрыть номер телефона только на десктопе (шире 768px) */
@media (min-width: 769px) {
  .header__tel {
    display: none !important;
  }
}