/* SWIPER DOCTORS */
/* ============== */


@media screen and (min-width: 1280px) {
    .swiper-doctors {
        padding-bottom: 70px;
    }
}


@media screen and (min-width: 768px) {
    .section-doctors__button-all {
        right: unset;
        left: 0;
    }

    .swiper-doctors.swiper-navigation .swiper-button-next {
        left: unset;
        right: 0;
    }

    .swiper-doctors.swiper-navigation .swiper-button-prev {
        left: unset;
        right: 115px;
    }
}

/* ============== */


/* DOCTORS CARD */
/* ============ */

@media screen and (min-width: 1280px) {
    .doctors-card__body {
        padding-top: 20px;
    }

    .doctors-card__name {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .doctors-card__text {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .doctors-card__experience-text {
        font-size: 16px;
    }

    .doctors-card__experience-value {
        padding: 6px 11px;
    }
}


@media screen and (max-width: 1599.98px) {
    .doctors-card__photo {
        width: 100%;
        max-height: 360px;
        object-fit: cover;
        object-position: top center;
    }
}

@media screen and (max-width: 479.98px) {
    .doctors-card__photo {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        object-position: top center;
    }
}

/* ============ */


/* HIDE MOBILE WIDGET BUTTON */
/* ========================= */

@media screen and (max-width: 992px) {
    .widget-messengers__item--hide-mobile {
        display: none;
    }
}

/* ========================= */


/* DOCTOR PAGE */
/* =========== */

.doctor__experience-text {
    margin-bottom: 15px;
}

.doctor__link {
    position: relative;

    display: inline-block;
    margin-bottom: 50px;

    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    color: #1c5640;

    transition: 0.24s ease-in-out;
}

.doctor__link:hover {
    color: #fd2341;
}

@media screen and (max-width: 1280px) {
    .doctor__link {
        font-size: 16px;
    }
}

@media screen and (max-width: 992px) {
    .doctor__link {
        margin-bottom: 30px;
    }
}

/* =========== */


/* FOOTER */
/* ====== */


.footer__info-block {
    position: relative;

    padding-top: 20px;
}

.footer__info-block::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    display: block;
    width: 1370px;
    height: 2px;
    margin: 0 auto;

    background-color: #1c5640;
}

.footer__link {
    text-decoration: none;
    color: #1c5640;
    transition: 0.24s ease-in-out;
}

.footer__link:hover {
    color: #fd2341;
}

@media screen and (max-width: 1599.98px) {
    .footer__info-block::before {
        width: 1200px;
    }
}

@media screen and (max-width: 1279.98px) {
    .footer__info-block::before {
        width: 930px;
    }
}

@media screen and (max-width: 991.98px) {
    .footer__info-block::before {
        width: 690px;
    }
}

@media screen and (max-width: 768.98px) {
    .footer__info-block {
        padding-top: 20px;
    }

    .footer__info-block::before {
        width: 540px;
    }
}

@media screen and (max-width: 575.98px) {
    .footer__info-block::before {
        width: calc(100% - 30px);
    }
}


/* ====== */


/* LICENCE GRID */
/* ============ */

.licence-grid {
    margin-bottom: -30px;
}

.licence-grid__item {
    margin-bottom: 30px;
}

/* ============ */


/* HEADER ADDRESS */
/* ============== */

.header__address {
    margin: 0;

    font-weight: 700;
    font-size: 14px;
}

@media screen and (max-width: 1280px) {
    .header__address {
        margin-bottom: 20px;
    }
}

/* ============== */


/* RED BUTTON */
/* ========== */

.red-button__link {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    font-size: 0.1px;
    color: transparent;
}

/* ========== */


/* DOCS LIST */
/* ========= */

.docs-list {
    display: flex;
    flex-direction: column;
    gap: 40px;

    max-width: 1010px;
    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.docs-list__item {
    margin: 0;
    padding: 0;
}

.docs-list__link {
    display: inline-flex;
    align-items: center;
    gap: 20px;

    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    text-decoration: none;
    color: #000;
    transition: .24s ease;
}

.docs-list__link::before {
    content: "";

    flex-shrink: 0;

    width: 86px;
    height: 86px;

    background: url("../img/pdf-icon-color.svg") center no-repeat;
    background-size: contain;
}

.docs-list__link:hover {
    color: #1c5640;
}

@media (max-width: 1600px) {
    .docs-list__link::before {
        width: 82px;
        height: 82px;
    }
}

@media (max-width: 1280px) {
    .docs-list__link::before {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 768px) {
    .docs-list {
        gap: 30px;
    }

    .docs-list__link {
        gap: 10px;

        font-size: 14px;
    }

    .docs-list__link::before {
        width: 48px;
        height: 48px;
    }
}


/* ========= */


/* MAIN TITLE */
/* ========== */

.main-screen__title .word {
    color: #b0811d;
}

/* ========== */


/* TEXT CONTENT */
/* ============ */

.text-content a .word {
    color: #b0811d;

    transition: color 0.2s ease;
}

.text-content a:hover .word {
    color: #1c5640;
    transition: .2s ease
}

.text-content ol ol,
.text-content ul ul {
    margin: 5px 0 10px;
}

/* ============ */


/* COOKIE WARNING */
/* ============== */

.cookie-warning {
    position: fixed;
    z-index: -1;
    bottom: 15px;
    left: 5px;
    right: 5px;

    justify-content: center;
    align-items: center;
    gap: 15px 30px;

    display: none;
    box-sizing: border-box;
    max-width: 980px;
    width: 100%;
    margin: auto;
    padding: 15px 30px;

    background-color: #ffffff;
    box-shadow: 0 14px 41px 0 rgba(50, 55, 53, 0.33);
}

.cookie-warning--active {
    display: flex;
    z-index: 20;
}


.cookie-warning__text {
    margin: 0;

    font-size: 12px;
}

.cookie-warning__button {
    flex-shrink: 0;
}

@media screen and (max-width: 991.98px) {
    .cookie-warning {
        padding: 10px 15px;
    }
}


@media screen and (max-width: 767.98px) {
    .cookie-warning {
        flex-direction: column;

        padding: 5px 10px;
    }

    .cookie-warning__text {
        font-size: 10px;
    }
}

/* ============== */


/* SEARCH */
/* ====== */

.button-search {
    width: 54.4px;
    height: 54.4px;

    background: #1c5640 url("../img/search-icon.svg") center no-repeat;
    background-size: 36px;
    border: none;

    cursor: pointer
}

.form-search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
}

.form-search__input {
    flex-grow: 1;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #1c5640;
}


.form-search__input.ui-autocomplete-loading {
    background-image: none;
}

.form-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.form-search__button-search {
    flex-shrink: 0;

    width: 54.4px;
    height: 54.4px;
    margin-right: 20px;

    background: #1c5640 url("../img/search-icon.svg") center no-repeat;
    background-size: 36px;
    border: none;

    cursor: pointer;
}

.form-search__button-close {
    flex-shrink: 0;
    width: 54.4px;
    height: 54.4px;

    background: #1c5640 url("../img/close-icon.svg") center no-repeat;
    background-size: 24px;
    border: none;

    cursor: pointer;
}


.header__form-search {
    flex-grow: 1;

    max-width: 560px;
    margin-left: 60px;
    margin-right: 20px;
}

.header__form-search--hide {
    display: none;
}

.header__logo-block {
    margin-right: auto;
}

.header__button-search-open {
    margin-right: 20px;
}

.header__button-search-open--hide {
    display: none;
}

.header__phones--hide {
    display: none;
}

.header__socials--hide {
    display: none;
}

.header__visually-impaired--hide {
    display: none;
}

.header__hamburger {
    flex-shrink: 0;
}

@media screen and (max-width: 1279.98px) {
    .button-search {
        width: 32.95px;
        height: 32.95px;

        background-size: 26px;
    }

    .form-search__button-close {
        width: 32.95px;
        height: 32.95px;

        background-size: 20px;
    }

    .form-search__button-search {
        width: 32.95px;
        height: 32.95px;

        background-size: 26px;
    }

    .form-search__input {
        padding: 7px 12px;


        font-size: 13px;
    }
}

@media screen and (max-width: 767.98px) {
    .header__form-search {
        max-width: 100%;
        margin-left: 0;
    }

    .header__mobile .header__logo--hide.d-lg-none {
        display: none;
    }

    .header__mobile .header__work-time--hide {
        display: none;
    }

    .form-search__button-search {
        margin-right: 8px;
    }
}


#ui-id-1.ui-menu.ui-widget.ui-widget-content {
    position: fixed !important;

    box-sizing: border-box;

    width: 100%;
    padding: 8px 0;

    background: #ffffff;
    border: 2px solid #1c5640;
    border-top: none;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content li.ui-menu-item {
    padding: 0;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper {
    padding: 8px 20px;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper.ui-state-active {
    margin: 0;

    background-color: #1c5640;
    border: none;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .search-items-title {
    margin: 0 0 6px;

    font-family: Montserrat, Helvatica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .search-items-text {
    margin: 0;

    font-family: Montserrat, Helvatica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    color: #000000;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .search-items-title .word,
#ui-id-1.ui-menu.ui-widget.ui-widget-content .search-items-text .word {
    color: #000000;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .search-items-text b {
    font-weight: 700;
    font-size: 14px;
    color: #b0811d;
}

#ui-id-1.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper.ui-state-active .search-items-title,
#ui-id-1.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper.ui-state-active .search-items-text {
    color: #ffffff;
}


#ui-id-2.ui-menu.ui-widget.ui-widget-content {
    position: fixed !important;

    box-sizing: border-box;

    width: 100%;
    padding: 3px 0;

    background: #ffffff;
    border: 2px solid #1c5640;
    border-top: none;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content li.ui-menu-item {
    padding: 0;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper {
    padding: 3px 12px;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper.ui-state-active {
    margin: 0;

    background-color: #1c5640;
    border: none;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .search-items-title {
    margin: 0 0 6px;

    font-family: Montserrat, Helvatica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .search-items-text {
    margin: 0;

    font-family: Montserrat, Helvatica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    color: #000000;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .search-items-title .word,
#ui-id-2.ui-menu.ui-widget.ui-widget-content .search-items-text .word {
    color: #000000;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .search-items-text b {
    font-weight: 700;
    font-size: 12px;
    color: #b0811d;
}

#ui-id-2.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper.ui-state-active .search-items-title,
#ui-id-2.ui-menu.ui-widget.ui-widget-content .ui-menu-item-wrapper.ui-state-active .search-items-text {
    color: #ffffff;
}


/* ====== */


/* SEARCH RESULT */
/* ============= */

.search-result {
    display: flex;
    flex-direction: column;
    gap: 30px 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.search-result__item {
    margin: 0;
    padding: 0;
}

.search-result__title {
    margin: 0 0 15px;

    font-weight: 700;
    font-size: 18px;
}

.search-result__link {
    color: #b0811d;

    transition: color 0.2s ease;
}

.search-result__link:hover {
    color: #1c5640;
}

.search-result__text {
    margin: 0;

    font-size: 16px;
}

.search-result__text b {
    font-weight: 700;

    color: #b0811d;
}

@media screen and (max-width: 767.98px) {
    .search-result__title {
        font-size: 16px;
    }

    .search-result__text {
        font-size: 14px;
    }
}

/* ============= */

/* licence */
.licence-grid__text {
    margin: 20px 0 0 0;
    font-size: 16px;
}

.licence--smart {
    aspect-ratio: 320 / 451;
}

.licence--smart .licence__img {
    width: 100%;
    height: 100%;
    max-width: auto;

    object-position: center;
    object-fit: contain;
}


/* add */

.header-top-menu__item {
    position: relative;
}

.header-top-menu__item:hover .header-top-menu__submenu {
    z-index: 5;
    visibility: visible;
    opacity: 1;
    transform: translateY(10px);
}

.header-top-menu__submenu {
    position: absolute;
    right: 0;
    z-index: -1;

    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .24s ease, transform .26s ease-in-out;

    display: flex;
    flex-direction: column;
    gap: 15px;

    box-sizing: border-box;
    padding: 10px 20px;
    width: 180px;

    background-color: #f8fafc;
    border: 1px solid #1c5640;

    list-style: none;
}

.header-top-menu__submenu::before {
    content: "";

    position: absolute;
    top: -15px;
    left: 0;

    width: 100%;
    height: 20px;
}

.review-link {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 50px 35px;
}

@media screen and (max-width: 1279.98px) {
    .review-link {
        padding: 30px 15px;
    }
}

.review-link__logo {
    display: block;
    width: 100%;
    height: 100%;

    object-position: center;
    object-fit: contain;
}


.articlies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.articlies__card:hover .articlies__image {
    box-shadow: 0 6px 30px 0 rgba(50, 55, 53, .27);
}


.articlies__card:hover .articlies__title {
    color: #1c5640;
}

.articlies__item {
    margin: 0;
    padding: 0;
}

.articlies__card {
    position: relative;

    display: block;
}

.articlies__link {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.articlies__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1025 / 760;
    object-position: center;
    object-fit: cover;

    transition: box-shadow 0.24s ease;
}

.articlies__title {
    margin: 20px 0 0 0;

    font-weight: 700;
    font-size: 18px;

    transition: color 0.24s ease;
}

@media (max-width: 991.98px) {
    .articlies {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .articlies__title {
        margin-top: 15px;
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .articlies {
        grid-template-columns: 1fr;
    }
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px;

    margin: 45px 0 0 0;
    padding: 0;

    list-style: none;
}

.pagination__item {
    margin: 0;
    padding: 0;
}

.pagination__link {
    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    width: 40px;
    height: 40px;

    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    color: #1c5640;

    border: 2px solid #1c5640;

    transition: 0.24s ease;
}

.pagination__link:hover,
.pagination__link--active {
    background-color: #1c5640;

    color: #ffffff;
}

@media (max-width: 767.98px) {
    .pagination__link {
        width: 34px;
        height: 34px;

        font-size: 12px;
    }
}


@media (max-width: 575.98px) {
    .main-screen__bg {
        display: block;
        width: 100%;
    }

    .main-screen__bg::before {
        content: "";

        position: absolute;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background-color: rgba(255, 255, 255, 0.74);
    }

    .main-screen__inner {
        position: relative;
        z-index: 2;
    }

    .main-screen__title {
        position: relative;
        z-index: 2;

        max-width: 100%;
    }

    .main-screen__list {
        max-width: 100%;
    }

    .main-screen--main-page {
        position: relative;
        background-image: url(../img/main-xsm2.jpg);
        background-position: center;
    }

    .main-screen--main-page::before {
        content: "";

        position: absolute;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background-color: rgba(255, 255, 255, 0.74);
    }
}

.agreement-check {
    position: relative;
}

.agreement-check__checkbox {
    transform: translateY(2px);
}

.form__agreement {
    margin-bottom: 40px;
}

.form label[for="privacy-policy"].error {
    bottom: -32px;
}

.agreement-check__input:checked + label[for="privacy-policy"] + .agreement-check__checkbox::before {
    opacity: 1;
}

.form input[name="privacy-policy"].error + label[for="privacy-policy"] + .agreement-check__checkbox {
    background: #f8d7da;
    border-color: #c7254e;
}

.header {
    z-index: 20;
}

@media (max-width: 479.98px) {
    .swiper-doctors .swiper-slide {
        max-width: 150px !important;
        width: 100% !important;
    }

    .doctors-card__name {
        font-size: 13px;
    }

    .doctors-card__text {
        font-size: 12px;
    }

    .doctors-card__experience-text {
        font-size: 12px;
    }

    .doctors-card__experience-value {
        font-size: 10px;
    }
}

.main-screen--main-page {
    padding-top: 15px;
    padding-bottom: 15px;
    min-height: 592px;
    height: auto;
}

@media (max-width: 1279.98px) {
    .main-screen--main-page {
        min-height: 450px;
    }
}

@media (max-width: 991.98px) {
    .main-screen--main-page {
        min-height: 370px;
    }
}

@media (max-width: 767.98px) {
    .main-screen--main-page {
        min-height: 310px;
    }
}

@media (max-width: 575.98px) {
    .main-screen--main-page {
        min-height: 480px;

        background-image: url("../img/main-xsm-logo2.jpg");
    }

    .main-screen__title {
        font-size: 26px;
    }

    .main-list__item {
        font-size: 16px;
    }
}

.main-screen--service {
    min-height: 760px;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
}

@media (max-width: 1279.98px) {
    .main-screen--service {
        min-height: 450px;
    }
}

@media (max-width: 991.98px) {
    .main-screen--service {
        min-height: 370px;
    }
}

@media (max-width: 767.98px) {
    .main-screen--service {
        min-height: 310px;
    }
}

.header__contacts-block {
  & .header__contacts {
    display: flex;
    align-items: center;
  }

  & .phones.phones--small .phones__item {
    margin-bottom: 0;
  }

  & .header__text {
    margin: 10px 0 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #b0811d;
  }
}

@media screen and (min-width: 1280px) {
  .header__mobile-pre-top {
    display: none;
  }
}

@media screen and (max-width: 1279.98px) {
  .header--orenburg {
    height: 94px;

    & .header__mobile {
      height: auto;
    }

    & .header__mobile-pre-top {
      box-sizing: border-box;
      padding-top: 5px;
      padding-bottom: 5px;
    }

    & .header__text-banner {
      margin: 0;

      font-weight: 700;
      font-size: 14px;
      text-align: center;
      color: #b0811d;
    }

    & .header__mobile-menu {
      top: 94px;
    }
  }

  .header--orenburg + .header-offset {
    padding-top: 94px;
  }
}