b,
strong {
  font-family: var(--bold-font), sans-serif;
  font-weight: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* tooltip in calendar */
.tooltip {
  position: relative;
}

.tooltip>span {
  visibility: hidden;
  position: absolute;
  z-index: 4;
  opacity: 0;
  left: 50%;
  top: 100%;
  padding: 10px 15px;
  width: 150px;
  font-size: 12px;
  line-height: 14px;
  background: #E6E3BC;
  color: #000;
  transition: visibility .3s linear, opacity .3s linear, top .3s linear;
}

.tooltip:hover>span {
  visibility: visible;
  opacity: 1;
  top: 130%;
}

.tooltip>span::before {
  content: "";
  display: block;
  visibility: hidden;
  position: absolute;
  width: 0;
  height: 0;
  border-bottom: 10px solid #E6E3BC;
  border-right: 10px solid transparent;
  left: 20px;
  top: -10px;
  transition: visibility .3s linear;
}

.tooltip:hover>span::before {
  visibility: visible;
}

td:hover {
  z-index: 1;
}

/* record popup */
.popup-info {
  display: none;
  position: absolute;
  z-index: 1000;
  box-shadow: 0 0 7em #BBC1C8;
}

.popup-info.active {
  display: block;
}

.popup-info.bottom .left-triangle {
  transform: rotate(90deg);
  top: -85px;
  left: 50%;
}

.popup-info.left .left-triangle {
  transform: rotate(270deg);
  left: 100%;
}

@media (min-width: 991px) {
  .popup-info {
    width: 470px;
    border-radius: 5px;
  }
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#responsive_overlay.active {
  visibility: visible;
  opacity: .7;
  z-index: 99;
}

.popup-bypass p {
  margin-top: 20px;
  margin-bottom: 15px;
}

@media (max-width: 991px) {
  .payment {
    padding: 20px 15px 0;
    transition: background-color .3s;
    overflow: hidden;
    border-bottom: 1px solid #E4E7E9;
  }

  .payment.opened {
    background-color: #EDF2F5;
    max-height: none;
  }
}

/* Specialist page */
/* Reviews */
.doctor-reviews__list {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
  padding: 20px 0;
}

.doctor-reviews__list .card-review {
  flex-basis: calc(50% - 30px);
  margin: 15px;
}

.doctor-reviews__show-more {
  display: block;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .doctor-reviews__list .card-review {
    flex-basis: calc(100% - 30px);
    margin: 15px;
  }
}

/* Experience */
.chronological-list {
  margin-left: 10px;
}

.chronological-item {
  padding-left: 35px;
  border-left: 1px solid #E1E4E7;
  position: relative;
}

.chronological-item:last-of-type {
  border: none;
}

.chronological-item:last-of-type .chronological-item__text {
  padding-bottom: 0;
}

.chronological-item::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 50%;
  position: absolute;
  left: -10px;
  top: 0;
}

.chronological-item__title {
  font-family: var(--bold-font);
  margin-bottom: 10px;
}

.chronological-item__text {
  padding-bottom: 45px;
}

/* Awards */
.doctor-awards__item {
  border-bottom: 1px solid #E1E4E7;
  margin-bottom: 25px;
  padding-bottom: 25px;
}

.doctor-awards__item:last-of-type {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.doctor-awards__item-title,
.doctor-education__title {
  font-family: var(--bold-font);
  margin-bottom: 10px;
}

.doctor-awards__item-with-img {
  display: flex;
  align-items: flex-start;
}

.doctor-awards__item-with-img .doctor-awards__item-text {
  margin-right: 20px;
}

.doctor-awards__item-img {
  max-width: 70px;
  min-width: 70px;
  cursor: pointer;
}

.doctor-diseases__list,
.doctor-directions__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 15px;
  grid-row-gap: 15px;
}

.doctor-diseases__item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doctor-education__list:not(.opened) {
  margin-bottom: -20px;
}

.doctor-education__item {
  position: relative;
  border-bottom: 1px solid #E1E4E7;
  margin-bottom: 25px;
  padding-bottom: 25px;
}

.doctor-education__item:last-of-type {
  border: none;
  margin-bottom: 0;
}

.doctor-education__list:not(.opened) .doctor-education__item:nth-of-type(3)::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 200px;
  background: linear-gradient(to top, #FFF, #FFF0);
}

.doctor-education__list:not(.opened) .doctor-education__item:nth-of-type(n+4) {
  display: none;
}

.doctor-education__list.opened~.doctor-education__btn {
  display: none;
}

.doctor-publications__list {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.doctor-publications__item {
  max-width: 270px;
  min-width: 270px;
  margin: 15px;
}

@media (max-width: 991px) {
  .doctor-publications__list {
    flex-wrap: nowrap;
    overflow: auto;
  }
}

@media (max-width: 767px) {
  .doctor-publications__item {
    min-width: 250px;
  }
}

@media (max-width: 500px) {
  .chronological-item {
    padding-left: 25px;
  }
}

/* Plus-minus toggle */
.plus-minus-toggle {
  position: relative;
  height: 12px;
  width: 12px;
  cursor: pointer;
  margin-right: 10px;
}

.plus-minus-toggle::before,
.plus-minus-toggle::after {
  background: #000;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  width: 12px;
  transition: transform .3s, background-color .3s;
  transform-origin: center;
}

.plus-minus-toggle::before {
  transform: rotate(90deg);
}

.plus-minus-toggle::after {
  transform: rotate(180deg);
}

.plus-minus-toggle--active::before,
.plus-minus-toggle--active::after {
  transform: none;
}

/* Textarea spoiler */
.textarea-spoiler__trigger {
  display: inline-flex;
  margin-bottom: 0;
  align-items: flex-end;
  cursor: pointer;
}

.textarea-spoiler__trigger>label {
  font-family: var(--regular-font), sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #232427;
  transition: color .3s;
}

.textarea-spoiler__trigger:hover>label {
  color: var(--light-color);
}

.textarea-spoiler__trigger:hover>.plus-minus-toggle::before,
.textarea-spoiler__trigger:hover>.plus-minus-toggle::after {
  background-color: var(--light-color);
}

.textarea-spoiler__block .base-textarea {
  display: none;
}

.textarea-spoiler__block--active .base-textarea {
  display: block;
}

/* Main page */
.activities-cards {
  display: flex;
  padding: 50px 0;
  overflow-x: auto;
  scrollbar-width: none;
  /* IE 10+ */
  -ms-overflow-style: none;
  /* Firefox */
  scrollbar-width: none;
}

.activities-cards::-webkit-scrollbar {
  display: none;
}

.activities-card {
  width: 180px;
  margin-right: 40px;
  cursor: pointer;
}

.activities-card img {
  border-radius: 16px;
  margin-bottom: 20px;
  object-fit: cover;
  transition: transform .2s, box-shadow .2s;
}

section.disease-doctors .specialists-cards__container {
  display: grid;
  grid-template-columns: repeat(3, 277px);
}


.activities-card:hover img {
  transform: translateY(-10px);
  box-shadow: 0 18px 16px rgba(118, 155, 174, .2);
}

.activities-card__title {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 22px;
  transition: color .3s;
}

.activities-card:hover .activities-card__title {
  color: var(--main-color);
}

.services {
  overflow: hidden;
}

.block-title {
  font-family: var(--bold-font);
  font-size: 32px;
  line-height: 30px;
  letter-spacing: .5px;
  color: #232427;
}

body.cecutient .block-title {
  font-size: 32px;
  line-height: 30px;
  letter-spacing: .5px;
  font-family: var(--bold-font);
}

.specialist-schedule-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  margin-bottom: 30px;
}

.specialists {
  background: #EDF2F5;
  height: 100%;
  overflow: hidden;
}

.specialist {
  overflow: hidden;
}

.specialists-header {
  display: flex;
  justify-content: space-between;
}

.specialists-cards {
  display: flex;
  flex-wrap: wrap;
  margin: 20px -20px;
}

.specialists-cards__container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.specialists-card__wrap {
  flex: 0 0 33.3%;
  padding: 10px 20px;
}

.specialists-card__wrapper {
  flex: 0 0 33.3%;
  padding: 10px 15px;
}

.specialists-card__wrap+.card-specialist--c {
  display: none;
}

.specialists-adult .card-specialist--a {
  display: flex;
}

.specialists-adult .card-specialist--c {
  display: none
}

.specialists-child .card-specialist--a {
  display: none;
}

.specialists-child .card-specialist--c {
  display: flex;
}

.main-activities__rate {
  border: 1px solid #E5ECF1;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-right: 10px;
}

.main-activities__rate--text {
  padding-left: 50px;
  line-height: 35px;
  background: url(/static/mobile_app/www/assets/images/icons/faces.svg?04741ecd5d75) 0 50% no-repeat;
  background-size: 35px;
  margin: 15px auto 15px 15px;
}

@media (max-width: 1199px) {
  .specialists {
    padding: 50px 0;
  }

  .specialists-card__wrap,
  .specialists-card__wrapper {
    flex: 0 0 50%;
  }
}

@media (max-width: 991px) {
  .block-title {
    font-size: 24px;
  }

  .main-activities__rate {
    padding: 10px;
  }

  .main-activities__rate--text {
    margin: 0 auto 0 0;
    line-height: initial;
    padding: 15px 15px 15px 55px;
    background-position-x: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .activities-cards {
    padding: 40px 0;
  }
}

@media (max-width: 767px) {
  .activities-card {
    margin-right: 20px;
  }

  .specialists-cards__container {
    margin: 0;
  }

  .specialists-cards {
    flex-wrap: nowrap;
    overflow-x: scroll;
    margin-left: -30px;
    padding: 10px 20px;
    /* IE 10+ */
    -ms-overflow-style: none;
    /* Firefox */
    scrollbar-width: none;
  }

  .specialists-cards::-webkit-scrollbar {
    display: none;
  }

  .specialists-header {
    flex-direction: column;
  }

  .specialists-header .block-title {
    margin-bottom: 25px;
  }

  .specialists-card__wrap {
    min-width: 400px;
    padding: 10px 10px;
  }

  .specialists-card__wrapper {
    flex: 0 0 100%;
    padding: 10px 0;
  }
}

@media (max-width: 424px) {
  .services-list {
    padding: 0 0 45px;
  }

  .specialists-card__wrap {
    min-width: 300px;
    padding: 10px 10px;
  }

  .activities-cards {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .activities-card {
    width: 140px;
  }

  .activities-card img {
    width: inherit;
    margin-bottom: 10px;
  }
}

/* Updated main page */
#mainPage section:not(.main-slider) {
  padding: 100px 0;
  margin: 0;
}

body.cecutient:has(#mainPage) .services {
  margin: 0;
}

.services,
.call-me,
.main-activities {
  background: #FFF;
}

#mainPage section.call-me {
  padding: 150px 0;
}

@media (max-width: 991px) {
  #mainPage section:not(.main-slider) {
    padding: 50px 0;
    margin: 0;
  }
}

@media (max-width: 991px) {
  #mainPage section:not(.main-slider) {
    padding: 50px 0;
    margin: 0;
  }
}

@media (max-width: 425px) {
  #mainPage section:not(.main-slider) {
    padding: 20px 0;
    margin: 0;
  }

  #mainPage section:nth-last-of-type(1) {
    padding: 20px 0 50px;
    margin: 0;
  }
}

.base-btn--next,
.base-btn--back {
  padding-right: 55px;
  background: var(--second-light-color);
  position: relative;
  color: var(--second-main-color);
  border: none;
}

.base-btn--next::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  content: '\e906';
  font-family: 'icomoon';
  font-size: 16px;
  color: var(--second-main-color);
  transition: color .3s
}

.base-icon--back {
  background: transparent;
  border: none;
}

.base-icon--back::before {
  position: absolute;
  transform: translateY(-50%) rotate(180deg);
  left: 40px;
  content: '\e906';
  font-family: 'icomoon';
  font-size: 16px;
  color: var(--second-main-color);
  transition: color .3s;
}

.base-btn--next:hover,
.base-btn--back:hover,
.base-btn--another:hover {
  background-color: var(--second-main-color);
  color: #FFF;
}

.base-btn--next:hover::after,
.base-btn--back:hover::after,
.base-btn--another:hover::after {
  color: #FFF;
}

.base-btn--another {
  background: var(--second-light-color);
  position: relative;
  color: var(--second-main-color);
  border: none;
}

.base-btn--another::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--second-main-color);
  transition: color .3s
}

.base-btn--blue {
  background: rgba(101, 184, 239, .1);
  position: relative;
  color: #2C9CE6;
  border: none;
  height: 30px;
  line-height: 0px;
}

.base-btn--blue::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #2C9CE6;
  transition: color .3s
}

.base-btn--blue:hover {
  background-color: #65B8EF;
  color: #FFF;
}

.base-btn--blue:hover::after {
  color: #FFF;
}

/* Review card */
.review-card {
  width: 320px;
  height: 320px;
  position: relative;
  padding: 15px 30px 60px;
}

.review-card__date {
  font-family: var(--bold-font);
  color: #909EAA;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.review-card__text {
  font-size: 14px;
}

.review-card__read-link {
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--main-color);
  position: absolute;
  bottom: 30px;
  font-family: var(--medium-font);
}

body:has(.arcticmodal-container_i2.open > #orderingInformationModal),
body:has(.arcticmodal-container_i2.open > #modalMedicinesTax) {
  overflow-y: hidden;
}

.card-service {
  display: block;
  border: 1px solid #E2E9ED;
  border-radius: 6px;
  margin-top: 15px;
  position: relative;
  padding: 35px 40px;
  background: #FFF;
  height: 220px;
  overflow: hidden;
  transition: color .3s, border-color .3s;
}

.card-service__wrapper {
  position: relative;
}

.card-service:hover {
  border-color: var(--main-color);
}

.card-service__title {
  font-family: var(--medium-font);
  font-size: 18px;
  margin-bottom: 20px;
  transition: color .3s;
}

.card-service:hover .card-service__title {
  color: var(--main-color);
}

.card-service__paragraph {
  font-size: 14px;
  line-height: 24px;
  color: #909EAA;
  height: 75px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.card-service__paragraph::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50px;
  background: linear-gradient(to top, #FFF 45%, #FFF0);
  border-radius: 0 0 6px 6px;
}

.card-service__image {
  position: absolute;
  width: unset !important;
  top: -35px;
  right: 10px;
}

.card-specialist {
  display: flex;
  flex-direction: column;
  background: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s;
}

.card-specialist__header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 120px;
  padding: 25px 35px 25px 40px;
}

.card-specialist__header .icon-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  padding-right: inherit;
  transition: color .3s;
}

.card-specialist__title {
  font-family: var(--medium-font), sans-serif;
  font-size: 18px;
  transition: color .3s;
  margin-bottom: 5px;
}

.card-specialist__count {
  font-size: 14px;
  color: #909EAA;
}

.card-specialist__inner {
  border-top: 1px solid #E2E7EC;
  padding: 25px 40px 40px;
  position: relative;
  height: 275px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-specialist__doc-name {
  font-size: 14px;
  line-height: 20px;
  max-width: 195px;
  letter-spacing: .5px;
}

body.cecutient .card-specialist__doc-name {
  margin-bottom: 32px;
}

.card-specialist__type {
  font-family: var(--medium-font);
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--second-main-color);
  padding-top: 30px;
  max-width: 130px;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 25px;
}

.card-specialist__post {
  font-size: 11px;
  line-height: 18px;
  max-width: 130px;
  letter-spacing: .5px;
  color: #909EAA;
}

.card-specialist__type--child {
  vertical-align: middle;
}

.card-specialist__photo {
  position: absolute;
  bottom: 0;
  right: -20px;
  display: block;
  max-height: 215px;
}

.services {
  overflow: hidden;
}

.card-specialist:hover {
  border-color: var(--main-color);
}

.card-specialist:hover .card-specialist__title {
  color: var(--main-color);
}

.card-specialist:hover .icon-arrow {
  color: var(--main-color);
}

.card-info {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 35px 40px;
  background: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  height: 370px;
  transition: border-color .3s;
}

.card-info:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

.card-info::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to top, #FFF 50%, #FFF0);
}

.card-info__header {
  position: relative;
  padding-right: 35px;
  height: 50px;
  margin-bottom: 30px;
}

.card-info__header .icon-arrow {
  position: absolute;
  top: 10px;
  right: 0;
  transition: color .3s;
}

.card-info__title {
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 24px;
  letter-spacing: .5px;
  transition: color .3s;
}

.card-info__inner {
  color: #909EAA;
}

.card-price {
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  position: relative;
  padding: 30px;
  width: 270px;
  height: 210px;
  border-radius: 6px;
  margin: 15px;
}

.card-price:hover {
  border-color: var(--main-color);
}

.card-price__title {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  color: #232427;
  transition: color .3s;
}

.card-price:hover .card-price__title {
  color: var(--main-color);
}

.card-price__value {
  position: absolute;
  bottom: 0;
  padding-bottom: 30px;
  font-family: var(--medium-font);
  font-size: 20px;
  line-height: 36px;
  color: #232427;
}

.card-article {
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  width: calc(25% - 20px);
  height: 320px;
  margin: 10px;
  padding: 25px;
  position: relative;
  transition: border .3s;
  overflow: hidden;
}

.card-article__top-logo {
  margin: 10px 0 30px;
}

.card-article__top-logo>img {
  max-height: 38px;
  width: auto;
}

.card-article__arrow-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #232427;
  opacity: .5;
}

.content-with-aside__inner .card-article {
  width: calc(50% - 20px);
}

.card-article__title {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  color: #232427;
  display: inline-block;
  padding-bottom: 20px;
  transition: color .3s;
}

.card-article:hover {
  border-color: var(--main-color);
}

.card-article:hover .card-article__title {
  color: var(--main-color);
}

.card-article:hover .card-article__arrow-icon {
  color: var(--main-color);
  opacity: 1;
}

.card-article__description {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  color: #909EAA;
  height: 150px;
  overflow: hidden;
  position: relative;
}

.card-article__description::after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgb(255, 255, 255, 1) 10%, rgb(255, 255, 255, 0) 100%);
}

.card-article__date {
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 18px;
  color: #7C90A0;
  position: absolute;
  bottom: 0;
  padding-bottom: 25px;
}

.card-article__video-date {
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 18px;
  color: #909EAA;
  margin-top: -15px;
}

.card-article__partnership {
  max-width: 100px;
  position: absolute;
  right: 0;
  bottom: 0;
  padding-right: inherit;
  padding-bottom: inherit;
}

.card-article__partnership-text {
  font-family: var(--bold-font);
  color: var(--main-color);
  text-transform: uppercase;
  font-size: 15px;
  padding-top: 15px;
}

.card-article__preview {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 25px;
}

.card-article__preview img {
  width: 100%;
  max-height: 160px;
  border-radius: 5px;
}

.card-article__play-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  height: 100%;
  width: 100%;
  background: url(../assets/images/icons/play-icon.svg) 50% 50% no-repeat;
}

@media (max-width: 1199px) {
  .card-specialist__doc-name {
    max-width: 100%;
  }

  .card-specialist__type {
    padding: 0 0 20px 40px;
    margin-top: 20px;
    max-width: 100%;
    line-height: 25px;
  }

  .card-specialist__post {
    margin-top: auto;
  }

  .articles-main-page .card-article {
    width: calc(25% - 20px);
  }

  .card-article {
    width: calc(33.3% - 20px);
  }
}

@media (max-width: 991px) {
  body.cecutient:has(#mainPage) .services {
    padding: 20px 0 50px;

  }

  .card-specialist__doc-name {
    max-width: 195px;
  }

  .card-specialist__type {
    max-width: 140px;
    padding: 0 0 10px 0;
    line-height: 18px;
    background-size: 20px;
  }

  .card-specialist__post {
    max-width: 140px;
  }

  .articles-main-page .card-article {
    width: calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .card-specialist__photo {
    max-width: 170px;
  }

  .card-specialist__header,
  .card-specialist__inner {
    padding: 20px 25px;
  }

  .card-service {
    padding: 30px 25px;
    margin-right: 20px;
  }

  .card-price {
    margin: 10px;
  }

  .card-article {
    width: calc(50% - 20px);
  }

  .card-info {
    height: 40vh;
    border-radius: 16px;
    border: none;
    padding: 25px;
    margin-right: 20px;
  }

  .card-info__wrap {
    min-width: 320px;
  }

  .card-info__wrap:nth-of-type(1) .card-info {
    margin-left: 20px;
  }

  .card-service__image {
    top: 15px;
    right: 30px;
  }

  .card-service__paragraph {
    display: none;
  }

  .card-service__title {
    font-family: var(--medium-font);
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    position: absolute;
    bottom: 0;
  }

  .card-service::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .content-with-aside__inner .card-article {
    width: 100%;
  }

  .articles-main-page .card-article {
    width: calc(25% - 20px);
    min-width: 270px;
  }
}

@media (max-width: 424px) {
  .card-article {
    width: 100%;
  }

  .card-service {
    height: 170px;
    padding: 20px 10px;
    position: relative;
    border-radius: 16px;
  }

  .card-service__image {
    max-width: 100px;
    max-height: 100px;
  }

  .card-service::after {
    display: none;
  }

  .card-specialist {
    border: none;
    border-radius: 16px;
  }

  .card-specialist__post {
    height: 65px;
    width: 55%;
    padding: 5px;
    display: block;
    display: -webkit-box;
    max-width: 400px;
    /* количество строк */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
  }

  .card-specialist__inner {
    height: 210px;
  }
}

.card-specialist__header {
  height: auto;
}

.card-info {
  height: 40vh;
}

.specialities-list .slider-container.owl-carousel .owl-stage-outer {
  padding: 30px 0 30px;
}

/* About page */
.about__content>.about__title,
.rewards__title,
.mission__title,
.stuff__title,
.branches__title {
  font-family: var(--bold-font);
  font-size: 32px;
  line-height: 30px;
  color: #232427;
  margin-bottom: 35px;
}

.rewards {
  padding: 90px 0;
  background: #EDF2F5;
}

.rewards__list {
  margin: 0 -15px;
}

.rewards__list .col-md-4 {
  padding: 0;
}

.reward {
  background: #FFF;
  border-radius: 6px;
  margin-bottom: 15px;
}

.reward__image-container {
  padding: 35px 40px 25px;
  border-bottom: 1px rgba(226, 231, 236, .6) solid;
}

.reward__image {
  width: 100%;
  cursor: pointer;
}

.reward__title {
  padding: 20px 40px;
  font-size: 14px;
  line-height: 20px;
  color: #909EAA;
}

@media (max-width: 1199px) {
  .reward__image-container {
    padding: 15px 20px 10px;
  }

  .reward__title {
    padding: 10px 20px;
  }
}

.load-more {
  display: flex;
  justify-content: center;
  height: 72px;
  padding: 26px;
  border-radius: 4px;
  margin-top: 50px;
}

.load-more:hover {
  cursor: pointer;
  background: rgba(144, 158, 170, .1);
}

.load-more__title {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #232427;
}

.about__numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 90px 0;
}

.about__number {
  text-align: center;
  width: 190px;
}

.about__number-value {
  font-family: var(--medium-font);
  font-size: 40px;
  line-height: 40px;
  color: var(--second-main-color);
  padding-bottom: 10px;
  white-space: nowrap;
}

.about__number-title {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
  color: #909EAA;
}

@media (max-width: 991px) {
  .about__numbers {
    justify-content: space-around;
    padding: 45px 0;
  }

  .about__number {
    margin: 25px 0;
  }
}

@media (max-width: 500px) {
  .about__numbers {
    padding: 0;
  }

  .about__number {
    margin: 15px 0;
  }
}

.benefit {
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.benefit:nth-of-type(2n) {
  flex-direction: row-reverse;
}

.benefit__text {
  max-width: 45%;
}

.benefit__title {
  font-family: var(--bold-font);
  font-size: 32px;
  line-height: 30px;
  margin-bottom: 50px;
}

.benefit__content {
  font-size: 16px;
  line-height: 30px;
  color: #778998;
}

.benefit__image {
  max-width: 50%;
  border-radius: 6px;
}

@media (max-width: 991px) {
  .benefit {
    margin-bottom: 50px;
  }

  .benefit__title {
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {

  .benefit,
  .benefit:nth-of-type(2n) {
    flex-direction: column;
  }

  .benefit__text,
  .benefit__image {
    max-width: 100%;
  }

  .benefit__image {
    margin-top: 20px;
  }
}

.about {
  height: 700px;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.about .container {
  position: relative;
  height: 100%;
}

.about__content {
  max-width: 500px;
  min-height: 325px;
  background: #FFF;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 40px 60px;
}

.about__description {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
  color: #778998;
  margin-bottom: 50px;
}

.about-location__main {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
  color: #909EAA;
}

.about-location__address {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 25px;
  color: #9AA7B2;
  margin-bottom: 20px;
}

@media (max-width: 1199px) {
  .about {
    background-position: center;
  }
}

@media (max-width: 424px) {
  .about {
    background-position: 60%;
  }
}

@media (max-width: 424px) {
  .about__content {
    padding: 40px;
  }
}

.mission {
  padding: 90px 0;
  overflow: hidden;
}

.mission__content {
  display: flex;
  justify-content: space-between;
}

.mission__text {
  max-width: 45%;
}

.mission__quote {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
  color: #778998;
  margin-bottom: 45px;
  position: relative;
  padding-left: 40px;
}

.mission__quote-icon {
  font-family: var(--medium-font);
  font-size: 60px;
  line-height: 60px;
  color: #778998;
  opacity: .15;
  position: absolute;
  left: 0;
  top: 5px;
}

.mission__position {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  color: #232427;
  margin-bottom: 5px;
}

.mission__name {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
  color: #778998;
}

.mission__image {
  height: 460px;
}

@media (max-width: 991px) {
  .mission__content {
    flex-direction: column;
    align-items: center;
  }

  .mission__text,
  .mission__image {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .mission__image {
    display: none;
  }
}

.stuff {
  padding: 90px 0;
  background: #EDF2F5;
  overflow: hidden;
}

.stuff__description,
.stuff__numbers {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
  color: #778998;
}

.stuff__description li:not(:first-child) {
  list-style: inside;
}

.stuff-banner {
  position: relative;
  height: 350px;
}

.stuff-banner__people {
  z-index: 1;
  position: absolute;
  bottom: 0;
}

.stuff-banner__background {
  z-index: 0;
  background: #909EAA;
  opacity: .1;
  border-radius: 8px;
  height: 230px;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.stuff-banner__link {
  position: absolute;
  right: 100px;
  bottom: 85px;
  z-index: 3;
}

@media (max-width: 1199px) {
  .stuff-banner__link {
    right: 50px;
  }
}

@media (max-width: 991px) {
  .stuff-banner__link {
    top: auto;
    bottom: 30px;
    right: 30px;
  }

  .stuff-banner__people {
    left: -50px;
  }
}

@media (max-width: 767px) {
  .stuff-banner {
    height: 300px;
  }

  .stuff-banner__background {
    height: 200px;
  }

  .stuff-banner__people {
    left: -30px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .stuff {
    padding-bottom: 40px;
  }

  .stuff-banner {
    height: 200px;
  }

  .stuff-banner__background {
    height: 100px;
  }

  .stuff-banner__link {
    top: auto;
    bottom: 5px;
    right: 0;
  }
}

@media (max-width: 424px) {
  .stuff-banner__link {
    bottom: -40px;
  }

  .stuff-banner__people {
    width: 120%;
    left: -30px;
  }
}

.branches {
  overflow: hidden;
  padding: 90px 0;
}

.branches-aside {
  position: relative;
  z-index: 3;
}

.branches-aside__nav {
  padding: 0 20px;
  transition: color .3s, background .3s;
}

.branches-aside__text {
  line-height: 30px;
  padding: 10px 0;
  border-bottom: 1px solid #EDF2F5;
}

.branches-aside__nav:last-of-type .branches-aside__text {
  border-bottom: none;
}

.branches-aside__nav:hover:not(.active) {
  cursor: pointer;
  color: var(--main-color);
}

.branches-aside__nav.active {
  background: #EDF2F5;
  border-radius: 6px;
}

.branch__title {
  font-family: var(--medium-font);
  font-size: 22px;
  line-height: 26px;
  letter-spacing: .5px;
}

.branch__description {
  line-height: 28px;
  color: #909EAA;
  padding: 20px 0;
}

.branch__description a {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
  color: var(--main-color);
}

.branch__description a:hover {
  color: var(--light-color);
}

.branch-contact {
  display: flex;
  justify-content: space-between;
  max-width: 380px;
  padding-bottom: 60px;
}

.branch-contact__address,
.branch-phone__value {
  font-family: var(--medium-font);
  line-height: 20px;
  margin-bottom: 10px;
  transition: color .3s;
}

.branch-phone__value:hover {
  color: var(--main-color);
}

.branch-contact__weekdays,
.branch-contact__weekends,
.branch-phone__info {
  line-height: 24px;
  color: #909EAA;
}

.slider-container::-webkit-scrollbar {
  display: none;
  /* Chrome */
  width: 0;
}

.slider-container.owl-carousel .owl-stage-outer {
  padding: 60px 0 30px;
}

.slider-container .slider-btns {
  position: absolute;
  right: 0;
  top: -40px;
}

@media (max-width: 767px) {
  .slider-container {
    display: flex !important;
    overflow-x: scroll;
    padding: 15px 0 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .card-service__wrapper {
    position: relative;
    min-width: 310px;
    margin-right: 0;
  }

  .card-service__wrapper:nth-of-type(1) {
    margin-left: 20px;
  }
}

.branch__nav {
  display: none;
}

.branch .branch__body {
  position: relative;
  z-index: 2;
  display: none;
}

.branch.active .branch__body {
  display: block;
}

.branch__gallerystub {
  position: absolute;
  z-index: 2;
  width: 100vw;
  height: 100%;
  left: -100vw;
  background: white;
}

.branch__image {
  cursor: pointer;
  border-radius: 6px;
}

@media (max-width: 991px) {

  .rewards,
  .mission,
  .stuff,
  .branches {
    padding: 50px 0;
  }

  .branches-aside {
    display: none;
  }

  .branches .branch {
    display: block !important;
    border-bottom: 1px solid #EDF2F5;
  }

  .branch__nav {
    display: block;
  }

  .branches .branch .branch__nav {
    margin: 0;
    padding: 20px 50px 20px 0;
    font-size: 20px;
    position: relative;
  }

  .branches-about .branch__title {
    display: none;
  }

  .branches-about .branch__description {
    padding-top: 0;
  }

  .branches .branch__nav i {
    position: absolute;
    font-size: 10px;
    top: 30px;
    right: 20px;
    transition: transform .4s ease;
  }

  .branches .branch.active .branch__nav i {
    transform: rotate(-180deg);
  }
}

@media (max-width: 767px) {
  .branch__gallerystub {
    display: none;
  }
}

@media (max-width: 424px) {
  .branch__contact {
    flex-direction: column;
  }

  .branch-contact__block>div {
    margin-bottom: 10px;
  }

  .card-service__wrapper:nth-of-type(1) {
    margin-left: 20px;
  }

  .card-service__wrapper {
    min-width: 170px;
  }
}

/* end About page */
.news {
  height: 100%;
  padding: 100px 0;
}

@media (max-width: 1199px) {
  .news {
    padding: 50px 0;
  }

  .col-md-7 {
    width: 100%;
  }
}

.call-me {
  padding: 140px 0;
}

.call-me__inner {
  width: 50%;
  margin-left: auto;
  position: relative;
}

.call-me__title {
  font-family: var(--medium-font);
  font-size: 24px;
  margin-bottom: 20px;
}

.call-me__paragraph {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 60px;
  color: #7C90A0;
}

.call-me__image {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  max-width: 100%;
  max-height: 200%;
}

@media (max-width: 1199px) {
  .call-me__image {
    max-width: 110%;
  }
}

@media (max-width: 991px) {
  .call-me {
    padding: 50px 0;
  }

  .call-me__inner {
    width: 100%;
  }

  .call-me__paragraph {
    margin-bottom: 0;
  }

  .call-me__image {
    position: initial;
    transform: initial;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 424px) {
  .call-me__paragraph {
    font-size: 16px;
    line-height: 24px;
    color: #7C90A0;
  }

  .call-me {
    padding: 25px 0;
  }

  .call-me__title {
    width: 70%;
    font-family: var(--bold-font);
    font-size: 22px;
    line-height: 28px;
    color: #232427;
  }
}

#mainPage .call-me~.main-activities {
  background: #EDF2F5;
}

#mainPage .specialities-list~.main-activities {
  background: #EDF2F5;
}

#mainPage .call-me~.specialities-list~.main-activities {
  background: #fff;
}

#mainPage .call-me~.specialities-list {
  background: #EDF2F5;
}

.specialities-list {
  overflow: hidden;
  background: #fff;
  ;
  padding-top: 100px;
  padding-bottom: 90px;
}

.hyphen-list {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 24px;
  color: #909EAA;
  overflow: visible;
  list-style-type: none;
}

.hyphen-list__item {
  margin-bottom: 15px;
  position: relative;
}

.hyphen-list__item::before {
  content: "-";
  position: absolute;
  left: -10px;
}

@media (max-width: 991px) {
  .specialities-list {
    padding: 50px 0;
  }
}

@media (max-width: 424px) {
  .specialities-list {
    padding: 25px 0;
  }
}

.main-slider {
  background: #EDF2F5;
}

.main-slider__title {
  margin-bottom: 30px;
  font-family: var(--bold-font);
  font-size: 32px;
  line-height: 40px;
  color: #232427;
  max-width: 520px;
}

.main-slider__link {
  display: inline-block;
  height: 50px;
  padding: 0 25px;
  line-height: 50px;
  text-align: center;
  font-family: var(--medium-font), sans-serif;
  font-size: 14px;
  color: var(--main-color);
  cursor: pointer;
}

.main-slider__paragraph {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 26px;
  color: #232427;
  max-width: 400px;
}

.main-slider__dots {
  display: none;
}

.info-block__wrap {
  display: flex;
  height: 545px;
}

.info-block__slider {
  width: 74%;
  padding: 50px 35px 50px 0;
  position: relative;
}

.info-block__slider_without-articles {
  width: 100%;
  padding: 50px 0px 50px 0;
}

.owl-carousel .owl-stage-outer {
  border-radius: 6px;
}

.owl-carousel.mobile {
  display: flex;
}

.info-block__slider .owl-carousel .owl-stage-outer {
  height: 445px;
}

.main-slider__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 85px;
  z-index: 3;
  right: 50px;
}

.main-slider__buttons .base-btn {
  height: 48px;
  line-height: 48px;
}

.info-block__news {
  width: 26%;
  margin: 50px 0;
  padding: 15px 25px 30px;
  background-color: #FFF;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-block__title {
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 44px;
  color: #232427;
}

.info-block__item {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 18px;
  border-bottom: 1px solid #E1E4E7;
  padding-bottom: 25px;
  margin-bottom: 20px;
}

.info-block__item:nth-last-of-type(1) {
  border-bottom: none;
  margin-bottom: 0;
}

.info-block__date {
  font-family: var(--medium-font);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .01em;
  color: #95A6B3;
}

.info-block__name {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  max-height: 35px;
  cursor: pointer;
  transition: color .2s;
}

.info-block__name:hover {
  color: var(--dark-color);
  transition: color .2s;
}

.info-block__news .base-btn {
  margin-top: 10px;
  white-space: nowrap;
}

.info-block__news .base-btn--size-l {
  height: 40px;
  font-size: 14px;
}

.info-block__news .base-btn--size-l.base-btn--tertiary {
  line-height: 40px;
  padding-right: 65px;
}

.main-slider .owl-item {
  height: 506px;
}

.main-slider__slide {
  background-color: #FFF;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: right bottom;
  padding-top: 40px;
  padding-left: 40px;
  height: 445px;
}

.main-slider__image {
  background-color: #FFF;
  background-size: 47%;
  background-repeat: no-repeat;
  background-position: right;
  padding-top: 40px;
  padding-left: 40px;
  height: 445px;
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
}

/* hide slider items while owl is loading */
body:not(.ko-ready) .main-slider__image {
  display: none;
}

body:not(.ko-ready) .main-slider__slides>div:not(:first-of-type),
body:not(.ko-ready) .slider-container>div:not(:first-of-type) {
  display: none;
}

.owl-dots {
  display: none;
}

.main-slider__button {
  display: inline-block;
  margin: 0 20px 0 0;
}

@media only screen and (max-width: 1199px) {
  .main-slider__slides .title__1 {
    font-size: 40px;
  }
}

@media (max-width: 991px) {
  .info-block__slider {
    width: 100%;
    padding: 45px 20px;
    position: relative;
  }

  .info-block__news {
    display: none;
  }

  .main-slider__controls {
    bottom: 85px;
  }

  .main-slider__image {
    background-size: 44%;
  }
}

@media (max-width: 767px) {
  .info-block__slider {
    position: static;
  }

  .info-block__wrap {
    height: 100%;
    display: flex;
    margin-left: -20px;
    margin-right: -20px;
  }

  .main-slider .owl-item {
    height: 476px;
  }

  .main-slider__controls {
    display: none;
  }

  .main-slider__navs {
    display: none;
  }

  .main-slider__slides {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;

  }

  .main-slider__slides::-webkit-scrollbar {
    display: none;
  }

  .main-slider__slides .title__1 {
    font-size: 32px;
    line-height: 36px;
  }

  .main-slider__slides .main-slider__slide1 {
    background-position: 0 0;
  }

  .main-slider__slide {
    min-width: 330px;
    height: 400px;
    border-radius: 16px;
    margin-right: 20px;
    padding: 25px;
    display: flex;
    flex-flow: column nowrap;
    overflow-y: hidden;
    background-size: 250px;
    background-repeat: no-repeat;
    background-position-y: bottom;
  }

  .info-block__slider {
    width: 100%;
    border-radius: 16px;
    padding: 30px 0 0;
  }

  .activities-cards::-webkit-scrollbar {
    display: none;
  }

  .info-block__slider .owl-carousel .owl-stage-outer {
    height: 360px;
  }

  .main-slider__slide {
    min-width: 360px;
    height: 345px;
    border-radius: 16px;
    margin-right: 27px;
    justify-content: space-between;
  }

  .main-slider .slider-btns,
  .slider-container .slider-btns {
    display: none;
  }

  .main-slider__slide:nth-of-type(1) {
    margin-left: 27px;
  }

  .main-slider__title {
    opacity: 1;
    visibility: visible;
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 24px;
    margin-top: 0;
    color: #000;
    transform: unset;
    max-height: 48px;
  }

  .main-slider__slide--news .main-slider__title {
    margin-top: unset;
    font-family: var(--medium-font);
    font-size: 18px;
    color: #232427;
  }

  .main-slider__paragraph {
    max-height: 55px;
    font-size: 14px;
  }

  .main-slider__buttons {
    margin-bottom: 0px;
  }

  .main-slider__paragraph,
  .main-slider__buttons {
    display: block;
  }

  .main-slider__image {
    background-size: 100%;
    height: 120px;
    max-height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 10px;
    position: relative;
    width: auto;
  }

}

@media (max-width: 400px) {
  .blur-inner #mainPage {
    padding-top: 20px;
  }

  .main-slider__paragraph::after {
    content: '';
    height: 100%;
    width: 100%;

  }

  .main-slider__slide {
    min-width: 260px;
    height: 345px;
    border-radius: 16px;
    margin-right: 27px;
    justify-content: space-between;
  }
}

@media (max-width: 330px) {
  .warning-label .warning-label__message {
    font-size: 12px;
  }

  .main-slider__paragraph {
    margin-bottom: 40px;
  }

  .main-slider__slide {
    min-width: 90px;
    height: 345px;
    border-radius: 16px;
    margin-right: 27px;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 424px) {
  .main-slider__slides .title__1 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .main-slider__slides .title__2 {
    font-size: 16px;
    line-height: 1.23;
  }
}

/* Footer */
.footer,
.header-responsive__footer {
  background: #414D5C;
}

.footer__main-text {
  display: block;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  color: #FFF;
  transition: color .3s;
}

.footer__smartcaptcha_notice {
  margin-top: 80px;
}

.footer__smartcaptcha_notice_accent {
  color: var(--main-color);
  transition: color .3s;
}

.footer__smartcaptcha_notice:hover .footer__smartcaptcha_notice_accent {
  color: var(--second-main-color);
}

.footer__primary-text {
  display: inline-block;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  color: var(--light-color);
  transition: color .3s;
}

.footer__secondary-text {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  color: #909EAA;
}

.footer__secondary-link {
  font-family: var(--regular-font);
  font-size: 12px;
  line-height: 20px;
  color: #FFF;
  transition: color .3s;
}

.footer-menu {
  padding: 75px 0 40px;
  border-bottom: 1px solid #5A6673;
  display: flex;
}

.footer-menu__col {
  flex: 1;
}

.footer-menu__col:not(:last-child):not(:only-child) {
  margin-right: 10px;
}

.footer-menu__col:nth-child(1) {
  transform: translateX(15px);
}

.footer-menu__col:nth-child(2) {
  transform: translateX(10px);
}

.footer-menu__col:nth-child(3) {
  transform: translateX(7px);
}

.footer-menu__title a {
  display: inline-block;
  padding: 0 0 14px;
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 24px;
  color: #FFF;
  transition: color .3s;
}

.footer-menu__item {
  padding: 5px 0;
}

.footer-menu__item a {
  font-family: var(--medium-font);
  font-size: 14px;
  color: #909EAA;
  transition: color .3s;
}

.footer-first-row {
  padding: 40px 0;
  border-bottom: 1px solid #5A6673;
  color: #909EAA;
}

.footer-contacts__phone-number {
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 24px;
  color: #FFF;
  transition: color .3s;
}

.footer-contacts__ceo {
  display: inline-block;
}

.footer-address__wrapper {
  display: flex;
  align-items: end;
}

.footer-address__text {
  position: relative;
}

.footer-address__text-block {
  width: 200px;
}

.footer-map {
  position: relative;
  top: -5px;
}

.footer-logo-col {
  margin-left: 100px;
}

.footer-social-buttons__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.footer-social-buttons__wrapper-mobile {
  display: flex;
  flex-direction: row;
}

.footer-social-buttons__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #5A6673;
  border-radius: 4px;
  width: 45px;
  height: 45px;
  margin-right: 12px;
  transition: border-color .3s;
}

.footer-social-buttons__logo>i {
  font-size: 22px;
  color: #FFF;
}

.footer-second-row {
  padding: 50px 0;
  color: #909EAA;
}

.footer-quality-control {
  margin-top: 50px;
}

.footer-quality-control__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footer-quality-control__wrapper img {
  height: 71px;
  width: 67px;
}

.footer-quality-control__text {
  margin-left: 14px;
}

.footer-offer {
  font-family: var(--regular-font);
  font-size: 12px;
  line-height: 18px;
  color: #909EAA;
  margin-top: 50px;
}

.footer-offer__policy {
  margin-top: 15px;
  color: #FFF;
}

.footer-offer__apps {
  margin-top: 15px;
  width: 300px;
}

body.cecutient .footer-copyright>.footer-copyright__license,
body.cecutient .footer__secondary-link,
body.cecutient .footer-authors__item {
  font-size: 18px;
}

body.cecutient .footer-first-row {
  border: none;
}

.footer-copyright__license {
  font-family: var(--regular-font);
  font-size: 12px;
  line-height: 20px;
  color: #909EAA;
}

.footer-authors__wrapper {
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: .02em;
  color: #909EAA;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-end;
  padding-left: 23px;
}

.footer-authors__item {
  display: flex;
  flex-direction: column;
  align-items: self-start;
  color: #909EAA;
  transition: color .3s;
}

.footer-authors__logo {
  margin-bottom: 10px;
}

a.footer__main-text:hover,
.footer__primary-text:hover,
.footer__secondary-link:hover,
.footer-menu__title a:hover,
.footer-menu__item a:hover,
.footer-contacts__phone-block:hover .footer-contacts__phone-number,
.footer-authors__item:hover {
  color: var(--second-main-color);
}

.footer-social-buttons__logo:hover {
  border-color: var(--light-color);
}

.header-responsive__footer {
  display: none;
}

.footer-abridged-ref-mobile {
  display: none;
}

.footer-hotline {
  margin-top: 20px;
  padding-left: 78px;
}

.footer-hotline__description {
  font-family: var(--regular-font);
  font-size: 12px;
  line-height: 18px;
  color: #909EAA;
  margin-top: 10px;
}

.footer-hotline__phone-number {
  color: #909EAA;
}

.footer__main-text:hover .footer-hotline__phone-number {
  color: var(--light-color);
}

.footer-banner {
  margin-top: 50px;
  margin-left: -8px;
  border: 0;
}

.footer-contacts-mobile {
  display: none;
}

.footer-address-mobile {
  display: none;
}

.footer-btn-up {
  position: absolute;
  top: 20px;
  background-color: white;
  width: 48px;
  height: 48px;
  right: 1vh;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.footer-btn-up .icon-dropdown {
  transform: rotate(180deg);
}

.footer-address-time-col-mobile {
  display: none;
}

@media (max-width: 1199px) {

  .footer-menu,
  .footer-first-row,
  .footer-second-row {
    padding: 25px 10px;
  }

  .footer__smartcaptcha_notice {
    margin-top: 65px;
  }

  .footer-address__text {
    padding-right: 30px;
  }
}

@media (max-width: 991px) {

  .footer-menu,
  .footer-address,
  .footer-social-buttons,
  .footer-abridged-ref {
    display: none;
  }

  .footer-address__text {
    padding-right: 0px;
  }

  .footer-address__text-block {
    margin-right: 28px;
  }

  .footer-offer {
    margin-top: 0;
  }

  .footer-banner {
    margin-top: 0;
  }

  .footer__smartcaptcha_notice {
    margin-top: 10px;
    margin-bottom: 130px;
  }

  .footer-authors {
    margin-top: 20px;
  }

  .footer-contacts-mobile {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #5A6673;
    display: block;
  }

  .footer-contacts {
    display: none;
  }

  .footer-quality-control {
    margin-top: 0;
  }

  .footer-abridged-ref-mobile,
  .footer-address-mobile {
    display: block;
  }

    .footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-authors__wrapper {
    padding-left: 0;
    justify-content: unset;
  }

  .footer-authors__item:first-child {
    margin-right: 45px;
  }
  .footer-btn-up {
    top: 25px;
    right: 10px;
  }
}

@media (max-width: 767px) {

  .footer-contacts-col,
  .footer-address-time-col,
  .footer-logo-col,
  .footer-offer__policy{
    display: none;
  }

  .footer-contacts-mobile__wrapper {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 20px;
  }

  .footer-address-mobile {
    margin-top: 20px;
  }

  .footer-contacts__ceo {
    margin-top: 10px;
  }

  .footer-authors__logo {
    max-height: 40px;
  }

  .footer-address__text-block {
    margin-right: 0;
  }

  .footer-first-row {
    border: none;
    padding-bottom: 0;
  }

  .footer__smartcaptcha_notice {
    margin: 8px 0;
  }

  .footer-quality-control__wrapper {
    flex-direction: column;
  }

  .footer-quality-control__text {
    margin: 20px 0 0;
    text-align: center;
  }

  .footer-copyright, .footer-address-time-col-mobile {
    display: block;
  }

  .header-responsive__footer {
    padding-top: 20px;
    display: block;
  }

  .header-responsive__footer .footer-copyright__license {
    margin: 25px 0;
  }

  .footer-abridged-ref-mobile {
    margin-top: 10px;
  }

  .footer-hotline {
    padding-left: unset;
    text-align: center;
    border-bottom: 1px solid #5A6673;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .footer-btn-up {
    right: 16px;
  }
}

/* end Footer */
.section-breadcrumbs {
  padding: 35px 0 30px;
}

.content-with-aside {
  display: flex;
  padding-bottom: 100px;
}

.content-with-aside__inner {
  width: 100%;
  margin-right: 120px;
  max-width: 750px;
}

.content-with-aside__aside {
  margin-left: auto;
  min-width: 370px;
  padding-top: 40px;
}

.content-with-aside__aside-inner {
  position: sticky;
  top: 150px;
  transition: top .3s;
}

body.up .content-with-aside__aside-inner {
  top: 230px;
}

.content-with-aside__aside-title {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
  color: rgba(35, 36, 39, .5);
  padding: 10px 0 15px;
  border-bottom: 1px solid #E1E4E7;
  margin-bottom: 15px;
}

.content-with-aside__navigation-item {
  list-style: none;
}

.content-with-aside__navigation-item a {
  color: #909EAA;
  font-size: 18px;
  line-height: 20px;
  padding: 15px 0;
  display: inline-block;
  transition: color .3s;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}

.content-with-aside__navigation-item a:hover {
  color: var(--light-color);
}

.content-with-aside__navigation-item.active a {
  font-family: var(--medium-font);
  color: #232427;
  font-weight: 600;
  font-size: 20px;
}

@media (max-width: 991px) {
  .content-with-aside__inner {
    margin-right: 0;
    max-width: 100%;
  }

  .content-with-aside__aside {
    display: none;
  }
}

/* Poll Page */
.poll-page {
  background: #EDF2F5;
}

.poll-inner {
  margin: 35px auto 230px;
  width: 100%;
  max-width: 970px;
  background: #FFF;
  border-radius: 6px;
}

.poll-description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #FFF;
  margin: 35px auto 50px;
  padding: 35px 80px;
  border-radius: 6px;
  width: 100%;
  max-width: 970px;
}

.poll__header {
  padding: 35px 80px;
  border-bottom: 1px solid #EEF0F1;
}

.poll__counter {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
  color: #9AA7B2;
  margin-bottom: 15px;
}

.poll__title {
  font-family: var(--bold-font);
  font-size: 24px;
  line-height: 24px;
}

.poll__answer {
  display: block;
  padding: 20px 80px;
  border-bottom: 1px solid #EEF0F1;
}

.poll__sub-content {
  margin: 20px 0 15px 45px;
}

.poll__footer {
  padding: 25px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.poll__footer .base-btn:only-child {
  margin-left: auto;
}

.poll-result-inner {
  width: 100%;
  max-width: 570px;
  margin: 35px auto 230px;
  background: #FFF;
  border-radius: 6px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 50px;
  text-align: center;
  flex-direction: column;
}

.poll-result__title {
  font-family: var(--bold-font);
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 30px;
}

.poll-result__description {
  font-size: 16px;
  line-height: 32px;
  color: #575757;
  margin-bottom: 25px;
}

.poll-result__btn {
  margin-top: 55px;
}

.poll-result__form {
  max-width: 400px;
  margin: 0 auto;
}

.poll-result__form-row {
  margin-bottom: 25px;
  text-align: left;
}

.poll-result__form .base-btn {
  width: 100%;
}

.poll-result__form .validationMessage {
  margin-bottom: 40px;
}

.poll-result__form .poll-result__privacy {
  margin: 40px 0 20px;
  max-width: 390px;
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .test-container {
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .poll-inner {
    margin: 35px auto 60px;
  }

  .poll-description {
    margin: 35px auto 40px;
    padding: 30px;
  }

  .poll__header {
    padding: 30px;
  }

  .poll-result-inner {
    padding: 40px 30px;
    margin-bottom: 130px;
  }

  .poll__answer,
  .poll__footer {
    padding: 20px 30px;
  }
}

@media (max-width: 424px) {
  .poll__footer .base-btn:only-child {
    margin-left: unset;
  }

  .poll__footer .validationMessage {
    padding: 10px 0;
  }

  .poll__footer {
    flex-direction: column;
    align-items: center;
  }

  .poll__footer .base-btn {
    margin: 5px 0;
  }
}

/* Speciality Page */
/* specialists */
.section-specialists {
  padding: 30px 0;
}

.speciality-card {
  background: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  overflow: hidden;
  transition: color .3s;
}

.speciality-card__inner {
  padding: 25px 30px 30px;
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.speciality-card__title {
  font-family: var(--medium-font);
  font-size: 18px;
  transition: color .3s;
}

.speciality-card__doctor-data:hover .speciality-card__title {
  color: var(--main-color);
}

.speciality-card__description {
  font-size: 14px;
  line-height: 18px;
  max-width: 70%;
  margin-top: 10px;
  letter-spacing: .5px;
  color: #909EAA;
}

body.cecutient .speciality-card__description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.speciality-card__consultation-text {
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 20px;
  color: #909EAA;
}

.speciality-card__consultation-price {
  margin-bottom: 12px;
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
  color: #232427;
}

.speciality-card__btn {
  display: inline-flex;
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  color: var(--main-color);
}

.speciality-card__btn:hover,
.speciality-card__btn:focus {
  color: var(--light-color);
}

.speciality-card__photo {
  position: absolute;
  bottom: 0;
  right: -20px;
  display: block;
  max-height: 180px;
  max-width: 50%;
}

.speciality-card__photo-placeholder {
  height: inherit;
}

.speciality-loader {
  display: flex;
  justify-content: center;
}

/* services */
.services__search {
  width: 100%;
  padding: 10px 0;
  position: relative;
}

.services__search>.icon-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  font-size: 18px;
  color: var(--main-color);
  transition: .3s color;
}

.status-container {
  padding-bottom: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 10px;
}

.status-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.status-message {
  font-size: 24px;
  font-family: var(--medium-font);
  line-height: 28px;
  margin-bottom: 16px;
}

.status-description {
  font-size: 16px;
  font-family: var(--regular-font);
  margin: 0;
}

.btn-confirm {
  text-align: center;
  max-width: 152px;
  padding: 15px 20px;
  background-color: var(--main-color);
  color: white;
  font-family: var(--medium-font);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-confirm:hover {
  background-color: #e67e22;
}

.status-text-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.status-text-container>h2 {
  font-size: 24px;
  font-family: 'Core Sans A 55 Medium';
}

.services__search input {
  width: 100%;
  border: 1px solid #E2E9ED;
  border-radius: 5px;
  padding: 10px 20px 10px 55px;
  font-family: var(--regular-font), sans-serif;
  font-size: 16px;
  line-height: 24px;
  transition: border .3s;
}

.services__search input::placeholder {
  color: #909EAA;
  transition: opacity .3s;
}

.services__search input:focus {
  border-color: var(--second-main-color);
}

.services__search input:focus::placeholder {
  opacity: 0;
}

.services__sort {
  padding: 10px 0;
}

.services__sort-text {
  display: inline-block;
  line-height: 36px;
}

.table-prices {
  width: 100%;
}

.table-prices tr {
  display: block;
  border-radius: 5px;
  margin: 0 -30px;
  padding: 0 30px;
  transition: background-color .3s;
}

.table-prices tr:hover {
  background-color: #EDF2F5CC;
  cursor: pointer;
}

.table-prices tr td {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EDF2F5CC;
}

.table-prices tr td:last-child {
  min-width: 100px;
  text-align: right;
}

.table-prices__name {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 24px;
  color: #232427;
}

td:hover .table-prices__name.description {
  color: var(--main-color)
}

.procedure-active .table-prices__name {
  font-family: var(--bold-font);
}

.table-prices__prepare {
  font-size: 12px;
  font-weight: bold;
  color: transparent;
  white-space: nowrap;
  transition: color .3s;
}

.table-prices__prepare>i {
  font-size: 14px;
  font-weight: normal;
  color: #BAC3CA;
  transition: color .3s;
}

.table-prices__prepare:hover,
.table-prices__prepare:hover>i {
  color: var(--main-color);
}

.table-prices__price {
  font-family: var(--bold-font);
  font-size: 16px;
  line-height: 24px;
  color: #232427;
}

.table-prices__btns {
  /* divider color */
  color: #C3C9CF;
}

.table-prices__btn {
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 24px;
  color: #909EAA;
  transition: color .3s;
}

.table-prices__btn:hover {
  color: var(--main-color);
}

/* popular services */
.popular-services-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

/* preparation */
.speciality-preparation__title {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 24px;
  color: #232427;
  width: 90%;
}

/* preparation accordion */
.content-block .b-accordion {
  padding-top: 0;
  margin-top: -15px;
}

.content-block .b-accordion-item {
  border-bottom: 1px solid #E1E4E7;
}

.content-block .b-accordion-control {
  display: block;
  padding: 20px 0;
}

.content-block .plus-minus-toggle {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  right: 0;
  margin: 0;
}

.content-block .plus-minus-toggle::before,
.content-block .plus-minus-toggle::after {
  width: 14px;
}

/* show more */
.show-more {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  font-family: var(--medium-font);
  font-size: 14px;
  color: #242528D9;
  width: 100%;
  transition: background .3s;
  border-radius: 5px;
}

.show-more:hover {
  background-color: #909EAA1A;
  cursor: pointer;
}

.show-more .icon-plus {
  margin-right: 15px;
}

/* restyle editor_style */
.editor_style {
  margin-bottom: 25px;
}

.editor_style h2 {
  font-size: 40px;
}

.editor_style h3 {
  font-size: 16px;
}

.editor_style h4 {
  font-size: 14px;
}

.editor_style h5 {
  font-size: 16px;
}

.editor_style h6 {
  font-size: 14px;
}

.editor_style p {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 28px !important;
}

.editor_style tbody p {
  margin-bottom: 0 !important;
}

.editor_style ul li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.editor_style ol li {
  list-style-type: none !important;
}

.editor_style iframe {
  width: 100%;
}

@media (max-width: 991px) {
  .table-prices tr {
    margin: 0 -15px;
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  .show-more {
    margin-top: 15px;
    background-color: #909EAA1A;
  }

  .show-more>a {
    line-height: 20px;
  }

  .section-specialists {
    padding: 15px 0;
  }

  .table-prices tr td {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .popular-services-list {
    flex-wrap: nowrap;
    overflow-y: hidden;
    margin: 0;
  }

  .speciality-card__description {
    max-width: unset;
  }

  .editor_style h1 {
    font-size: 32px;
  }

  .editor_style h2 {
    font-size: 30px;
  }

  .editor_style h3 {
    font-size: 18px;
  }

  .editor_style h4 {
    font-size: 16px;
  }

  .editor_style h5 {
    font-size: 10px;
  }

  .editor_style h6 {
    font-size: 7px;
  }
}

@media (max-width: 424px) {
  .speciality-card__photo.mobile {
    max-height: 220px;
  }

  .speciality-card__photo {
    max-height: 120px;
  }

  .speciality-card__description {
    font-size: 11px;
  }

  .specialists {
    padding: 25px 0;
  }

  .editor_style h1 {
    font-size: 28px !important;
  }

  .editor_style h2 {
    font-size: 24px !important;
  }

  .editor_style h3 {
    font-size: 16px !important;
  }

  .editor_style h4 {
    font-size: 14px !important;
  }

  .editor_style h5 {
    font-size: 12px !important;
  }

  .editor_style h6 {
    font-size: 10px !important;
  }
}

/* Disease Page */
/* discount */
.discount {
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  margin-bottom: 40px;
  padding: 25px 40px 25px 150px;
  background: url(../assets/images/icons/discount.svg) 40px 25px no-repeat;
  background-size: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.discount__btn {
  white-space: nowrap;
  margin-left: 40px;
}

.discount__title {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 24px;
}

.discount__text {
  font-size: 14px;
  line-height: 24px;
  color: #909EAA;
}

@media (max-width: 991px) {
  .discount {
    padding-top: 130px;
    padding-left: 25px;
    padding-right: 25px;
    background-position-x: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .discount__btn {
    margin: 30px 0 0;
  }
}

/* services */
.disease-services-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
  padding-bottom: 60px;
}

/* Content-blocks */
.content-block {
  padding-bottom: 64px;
  font-size: 16px !important;
}

.content-block--disease-services {
  padding-bottom: 90px;
}

.content-block--banner {
  padding-top: 0;
}

body.cecutient .content-block--banner {
  padding: 0;
}

.content-block__title {
  font-family: var(--bold-font);
  line-height: 32px;
  color: #232427;
  margin-bottom: 24px;
  word-break: break-word;
}

.editor_style h1 {
  font-size: 44px;
  line-height: 52px;
}

.editor_style h2 {
  font-size: 32px;
  line-height: 40px;
  font-family: var(--bold-font);
  color: #232427;
  margin-bottom: 24px;
  word-break: break-word;
}

.editor_style h3 {
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 28px;
}

.editor_style h4 {
  font-size: 20px;
  line-height: 28px;
}

.editor_style h5 {
  font-size: 13px;
}

.editor_style h6 {
  font-size: 9px;
}

.content-block__site {
  padding-bottom: 20px;
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
  cursor: pointer;
}

.branches-list__item-phone {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 24px;
  color: #232427;
  margin-top: 15px;
}

.branches-list__item-phone .icon-phone {
  color: #95A6B3;
}

.content-block__site a {
  color: var(--main-color);
}

.content-block__text {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  color: #232427;
}

@media (max-width: 767px) {
  .content-block {
    padding: 15px 0;
  }

  .content-block--banner {
    padding-top: 0;
  }

  .content-block--banner .banner {
    margin: 0 -20px;
  }

  .content-block__title {
    padding-bottom: 25px;
    font-size: 24px !important;
    line-height: 28px !important;
  }
}

/* Banners */
.banner {
  background: #EDF2F5;
  border-radius: 6px;
  padding: 40px;
  position: relative;
}

body.cecutient .banner {
  padding: 10px;
}

.banner--partner {
  padding: 10px;
  display: flex;
  align-items: center;
}

.banner__inner {
  width: 70%;
  padding: 0;
}

.banner--partner .banner__inner {
  padding-left: 40px;
}

.banner__title_specialist-name {
  margin-right: 35px;
}

.banner__title {
  font-family: var(--medium-font);
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  letter-spacing: 1px;
}

.banner__description {
  font-size: 14px;
  line-height: 24px;
  color: #7C90A0;
  margin-top: 12px;
}

.banner__description.banner__description--price {
  margin-top: 5px;
  max-width: 50%;
}

.banner__btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.banner__btns-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.banner__btns-row--filters {
  align-items: flex-start;
  margin-bottom: 75px;
  flex-wrap: nowrap;
}

.select-type__description {
  margin-top: 10px;
  font-size: 12px;
  line-height: 14px;
  font-family: var(--regular-font);
}

@media (max-width: 991px) {
  .banner__btns-row--filters {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .banner__btns-row--filters .select-type {
    margin-bottom: 40px;
  }

  .banner__btns-row--filters .select-type:last-child {
    margin-top: 40px;
  }
}

.banner__btns .base-btn {
  margin-right: 30px;
}

.banner__program-price {
  margin-left: 20px;
  font-family: var(--medium-font);
  font-size: 20px;
  line-height: 24px;
  color: #232427;
}

.banner__program-price_mobile {
  display: inline-block;
  padding: 15px 0;
  font-family: var(--medium-font);
  font-size: 20px;
  line-height: 24px;
  color: #232427;
}

.banner__program-price_mobile::before {
  content: 'Стоимость';
  display: block;
  font-size: 12px;
  font-family: var(--regular-font);
  line-height: 20px;
  color: #7C90A0;
}

.banner__select-container {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
}

.banner__select-container .selectize--no-search {
  width: 240px;
}

.banner__select-container .selectize-input,
.banner__select-container .selectize-dropdown-content {
  padding: 10px 20px;
  border-radius: 8px;
}

.banner__select-container>div:first-child {
  margin-right: 24px;
}

.banner__doctor-price-container {
  display: flex;
  margin: 26px 0 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.banner__doctor-price {
  display: flex;
  flex-direction: column;
  font-family: var(--medium-font);
  font-size: 18px;
  margin-right: 25px;
}

.banner__doctor-price>span:first-child {
  font-size: 12px;
  font-family: var(--regular-font);
  line-height: 20px;
  color: #7C90A0;
}

.doctor-price__info-container {
  position: relative;
  margin: 0 0 8px 15px;
}

@media (max-width: 767px) {
  .doctor-price__info-popup {
    top: 30px !important;
    left: -250px !important;
    width: 300px !important;
  }
}

.doctor-price__info-icon {
  cursor: pointer;
  transition: .3s color;
  color: #BEC8D0;
}

.doctor-price__info-icon:hover {
  color: var(--main-color);
}

.doctor-price__info-popup {
  display: none;
  width: 400px;
  padding: 20px;
  position: absolute;
  left: 22px;
  top: -24px;
  z-index: 101;
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
  color: #232427;
}

.doctor-price__info-icon:hover+.doctor-price__info-popup {
  display: block;
}

.banner__btns .loader-wrapper {
  margin-right: 20px;
}

/* article banner blocks */
.banner__footer {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
}

.banner__footer img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  margin-right: 10px;
  background-color: #FFF;
}

.banner__footer-author {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  margin-right: 40px;
}

.banner__footer-author:hover {
  color: var(--main-color);
}

.banner__footer-date {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  margin-right: 40px;
  color: #7C90A0;
}

.banner__footer-professional {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  color: #7C90A0;
  padding-left: 30px;
  background: url('../assets/images/icons/article_professional.svg') left center no-repeat;
}

.banner__partner-logo {
  max-width: 130px;
  background-color: #FFF;
  border-radius: 4px;
  padding: 15px;
}

.banner__article-logo {
  position: absolute;
  padding-right: inherit;
  padding-top: inherit;
  top: 0;
  right: 0;
  max-width: 30%;
}

@media (max-width: 767px) {
  .banner__article-logo {
    display: none;
  }

  .banner--partner {
    padding: 10px;
  }

  .banner--partner .banner__inner {
    padding-left: unset;
  }

  .banner__footer {
    flex-wrap: wrap;
  }

  .banner__footer-date {
    margin: 10px 0;
    flex: 100%;
  }
}

/* Doctor banner blocks */
.banner__doctor-img {
  position: absolute;
  bottom: 0;
  right: 20px;
  height: 90%;
  width: 30%;
  background-image: url('/static/mobile_app/www/assets/images/specialist-placeholder.png');
  background-position: 100% 100%;
  background-size: contain;
  background-repeat: no-repeat;
}

.banner__specialisations {
  display: flex;
  overflow-y: auto;
  border-bottom: 1px solid #E1E4E7;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  max-width: 100%;
  height: 45px;
  position: relative;
  overflow: hidden;
}

.banner__speciality {
  padding: 10px 0;
  margin: 0 20px;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  cursor: pointer;
  transition: color .2s;
  white-space: nowrap;
}

.banner__speciality:first-of-type {
  margin-left: 0;
}

.banner__speciality:last-of-type {
  margin-right: 0;
}

.banner__speciality:not(.active):hover {
  color: var(--main-color);
}

.banner__speciality-underline {
  display: block;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--main-color);
  transition: left .4s ease-in, width .4s;
}

.doctor__record-btns .base-btn:not(.disabled):first-child {
  border-right-color: var(--extra-dark-color);
}

@media (max-width: 767px) {
  .banner {
    padding: 30px 20px;
    border-radius: 0;
  }

  .banner__inner {
    width: 100%;
  }

  .banner__title {
    font-family: var(--bold-font);
    font-size: 24px;
    line-height: 28px;
    font-weight: normal;
    letter-spacing: 0;
  }

  .banner__description {
    margin: 15px 0;
  }

  .banner__description.banner__description--price {
    max-width: 80%;
  }

  .banner__program-price {
    display: none;
  }

  .banner__doctor-img {
    display: none;
  }
}

@media (max-width: 424px) {
  .banner__btns {
    flex-direction: column;
  }

  .banner__btns .base-btn {
    margin-right: 0;
    width: 100%;
  }

  .banner__btns .base-btn--secondary {
    border: none;
    margin-top: 5px;
  }

  .banner__btns .base-btn--buy {
    width: 20%;
  }

  .banner__btns .doctor__record-btns {
    width: 100%;
  }

  .banner__program-price {
    margin-top: 20px;
    margin-left: 0;
  }

  .banner__partner-logo {
    display: none;
  }
}

/* Services Pages */
.section-program {
  padding-bottom: 100px;
}

body.show-main-search .container>.service-list {
  transition: padding-top .8s ease;
}

.service-list {
  display: flex;
  flex-flow: row wrap;
  margin: 20px -10px 30px;
}

.service-list__box {
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  width: calc(33.3% - 20px);
  height: 300px;
  position: relative;
  padding: 30px;
  margin: 10px;
  transition: border .3s;
}

.service-list__title {
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 24px;
  color: #232427;
  display: inline-block;
  padding-bottom: 20px;
  transition: color .3s;
}

/* Только когда указана ссылка */
.service-list__box[href]:hover {
  border-color: var(--main-color);
}

.service-list__box:not([href]) {
  cursor: default;
}

.service-list__box[href]:hover .service-list__title {
  color: var(--main-color);
}

.service-list__links {
  height: 150px;
  overflow: hidden;
}

.service-list__link {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 30px;
  color: #909EAA;
  padding: 5px 0;
  transition: color .3s;
}

.service-list__link:hover {
  color: var(--main-color);
}

.service-list__more {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
  color: var(--main-color);
  position: absolute;
  bottom: 0;
  padding-bottom: 30px;
}

/* service_type page */
.service-list__box--oneline {
  width: calc(33.3% - 20px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-list__box--oneline:active {
  transform: translateY(1px);
}

.service-list__box--oneline .service-list__title {
  font-size: 16px;
  line-height: 20px;
  padding: 0;
  text-align: center;
}

body.cecutient .service-list__box--oneline .service-list__title {
  font-size: 22px;
}

.content-with-aside .service-list__box--oneline {
  width: calc(50% - 20px);
}

@media (max-width: 991px) {

  .service-list__box,
  .service-list__box--oneline {
    width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .service-list {
    margin-top: -10px;
    margin-bottom: 20px;
  }

  .service-list__box,
  .service-list__box--oneline,
  .content-with-aside .service-list__box--oneline {
    width: 100%;
    margin: 10px 0;
  }
}

/* Specialists list in alphabet order */
.letters-list {
  padding: 30px 0 10px;
  margin: 0 -5px;
  width: 100%;
  background-color: #FFF;
  z-index: 1;
  transition: top .4s;
}

body.up .letters-list {
  position: sticky;
  top: 150px;
}

body.down .letters-list {
  position: sticky;
  top: 70px;
}

.letters-list__item {
  display: inline-block;
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 24px;
  color: var(--main-color);
  transition: color .2s;
  padding: 5px;
}

.letters-list__item+.letters-list__item {
  margin-left: 20px;
}

.letters-list__item:hover {
  color: var(--light-color);
}

.alphabetical-specialists {
  margin-bottom: 150px;
}

.alphabetical-specialists__group {
  padding: 30px 0 0 50px;
  margin-left: -50px;
  position: relative;
}

.alphabetical-specialists__group-letter {
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 24px;
  position: absolute;
  top: 55px;
  left: 0;
  cursor: default;
}

.alphabetical-specialists__group-box {
  display: flex;
  flex-wrap: wrap;
}

.alphabetical-specialists__group-item {
  height: 72px;
  width: 270px;
  padding: 0 5px;
  line-height: 20px;
  display: flex;
  margin-right: 30px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1299px) {
  .alphabetical-specialists__group {
    padding-left: 0;
    padding-top: 50px;
    margin-left: 0;
  }

  .alphabetical-specialists__group-letter {
    top: 20px;
  }
}

@media (max-width: 1199px) {
  .alphabetical-specialists__group-item {
    width: calc(33.33333% - 30px);
  }

  .letters-list {
    margin: 0;
    padding: 0 20px;
  }

  .letters-list .container {
    white-space: nowrap;
    overflow-x: auto;
    padding: 10px 0;
  }
}

@media (max-width: 767px) {
  .alphabetical-specialists__group-item {
    width: calc(50% - 30px);
  }

  .letters-list .container {
    margin: 0;
  }
}

@media (max-width: 600px) {
  .alphabetical-specialists__group-item {
    width: 100%;
    margin-right: 0;
  }

  .alphabetical-specialists__group-box {
    margin-right: 0;
  }
}

/* Vacancy page */
.vacancy-list .row {
  margin-top: -15px;
}

.vacancy-filters {
  padding: 20px 0;
  border-bottom: 1px solid #E1E4E7;
}

.vacancy-filter {
  display: inline-block;
}

.vacancy-filter+.vacancy-filter {
  margin-left: 30px;
}

.card-vacancy {
  display: flex;
  flex-direction: column;
  background: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  padding: 25px;
  height: 280px;
  margin-top: 30px;
  cursor: pointer;
  transition: color .3s, border .3s;
}

.card-vacancy__name {
  font-family: var(--medium-font);
  margin-bottom: 20px;
}

.card-vacancy__clinic {
  font-size: 14px;
  color: #909EAA;
}

.card-vacancy__city {
  font-size: 12px;
  line-height: 18px;
  font-family: var(--medium-font);
  color: #909EAA;
  margin-top: auto;
}

.card-vacancy:hover {
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.vacancy-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 100px 0 130px;
}

.vacancy-banner__content {
  max-width: 45%;
}

.vacancy-banner img {
  max-width: 50%;
}

.vacancy-banner__title {
  margin-bottom: 20px;
  font-family: var(--medium-font);
  font-size: 24px;
  line-height: 44px;
}

.vacancy-banner__text {
  margin-bottom: 60px;
  font-size: 18px;
  line-height: 28px;
  color: #909EAA;
}

@media (max-width: 1199px) {
  .vacancy-banner {
    margin: 50px 0;
  }
}

@media (max-width: 991px) {
  .vacancy-banner__title {
    line-height: 32px;
  }
}

@media (max-width: 767px) {
  .card-vacancy {
    height: 240px;
  }

  .vacancy-filters {
    padding: 15px 0;
    border-bottom: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
  }

  .vacancy-filter {
    max-width: calc(50% - 15px);
  }

  .vacancy-filter .selectize-control {
    width: 100%;
  }

  .vacancy-filter .selectize-input>div.item {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .vacancy-filter+.vacancy-filter .selectize-dropdown {
    right: -20px;
    left: initial !important;
  }

  .card-vacancy {
    margin-top: 15px;
  }

  .vacancy-banner {
    flex-direction: column;
  }

  .vacancy-banner__content {
    max-width: initial;
  }

  .vacancy-banner img {
    max-width: 100%;
  }
}

/* Clinic selector */
.clinic-selector {
  padding: 30px 60px 5px;
  position: relative;
}

.clinic-selector__tab {
  background: #FFF;
  border: none;
  user-select: none;
  position: relative;
  padding: 10px 20px;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
  transition: color .3s;
  white-space: nowrap;
}

.clinic-selector__tab:not(.active):hover {
  color: var(--main-color);
}

.clinic-selector__tab.active {
  background-color: var(--second-main-color);
  border-radius: 3px;
  color: #FFF;
  transition: none;
}

body.cecutient .clinic-selector__tab:first-child {
  padding-left: 0;
}

body.cecutient .clinic-selector__tabs {
  font-size: 17px;
}

.clinic-selector__tabs {
  margin-bottom: 12px;
  white-space: nowrap;
  overflow-x: hidden;
  overflow-y: visible;
  display: flex;
  align-items: center;
}

.clinic-slider-btn_left,
.clinic-slider-btn_right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.clinic-slider-btn_left:hover,
.clinic-slider-btn_right:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--main-color);
}

.clinic-slider-btn_left.disabled,
.clinic-slider-btn_right.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.clinic-slider-btn_left {
  left: 10px;
}

.clinic-slider-btn_right {
  right: 10px;
}

.clinic-slider-btn_left svg,
.clinic-slider-btn_right svg {
  width: 16px;
  height: 16px;
  fill: var(--main-color);
}

@media (max-width: 1175px) {
  .clinic-selector {
    padding: 30px 0 5px;
  }
}

body:has(#payment_status__page) {
  padding-top: 33px;
  transition: padding-top .8s ease;
}

#payment_status__page {
  width: 100%;
  height: 500px;
  display: block;
  margin-top: 192px;
  padding-top: 100px;
  text-align: center
}

@media (max-width: 1175px) {
  .clinic-selector__tabs {
    display: flex;
    width: 100%;
    overflow-x: scroll;
    overflow-y: visible;
    -ms-overflow-style: none;
    align-items: center;
    /* IE 10+ */
    scrollbar-width: none;
    /* Firefox */
  }

  .clinic-selector__tabs::-webkit-scrollbar {
    display: none;
    /* Chrome */
    width: 0;
  }
}

/* AgeType Selector on Specialist Page */
/* Clinic selector */
.specialist__clinic-selector {
  margin: 25px 0 30px;
  max-width: 300px;
}

.banner__select-container .single-clinic {
  background-color: #FFF;
  border-radius: 4px;
  padding: 7px 20px;
  font-family: var(--regular-font);
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  align-content: center;
  color: #414D5C;
}

.banner__select-container .single-clinic--child {
  background: #FFF url('/static/mobile_app/www/assets/images/icons/child-icon.svg') 10px center no-repeat;
  padding-left: 40px;
}

.specialist__clinic-selector .toggle-button {
  width: 50%;
  padding: 8px 15px;
}

.specialist__clinic-selector .toggle-button span {
  font-family: var(--regular-font);
  font-size: 13px;
  line-height: 20px;
}

.specialist__clinic-selector .toggle-button--active span {
  font-family: var(--medium-font);
}

.clinic-divider {
  height: 1px;
  background: #E1E4E7;
}

/* Articles Page */
.article-navigation__divider {
  margin-top: 32px;
}

.article-navigation__filters {
  margin-top: 32px;
}

.article-navigation__filter {
  margin-right: 24px;
}

@media (max-width: 425px) {
  .article-navigation__divider {
    margin-top: 16px;
  }

  .article-navigation__filters {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
  }

  .article-navigation__filter {
    margin-right: 0;
  }
}

.articles__nav {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

.articles__professional-filter {
  margin-left: auto;
}

.articles__professional-filter .base-checkbox__text {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
}

.articles__nav-filter {
  margin-left: 40px;
}

.articles__nav-filter,
.articles__nav-filter .selectize-input div.item {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
}

.articles__nav-filter .selectize-input div.item {
  text-transform: lowercase;
}

.articles__nav-filter .selectize-input div.item::first-letter {
  text-transform: uppercase;
}

/* articles */
.article-list {
  display: flex;
  flex-flow: row wrap;
}

.articles-main-page {
  margin: 40px -15px 20px;
  overflow-x: auto;
  /* Firefox */
  scrollbar-width: none;
}

.articles .loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.articles-main-page::-webkit-scrollbar {
  display: none;
  /* Chrome */
  width: 0;
}

.banner__article-archived {
  display: inline-block;
  background: #9CA0A3;
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: 25px;
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .04em;
  color: #FFF;
}

.video-content {
  position: relative;
  overflow: hidden;
  /* keep aspect ratio (height 9 ÷ width 16) */
  padding-top: 56.25%;
}

.video-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1199px) {
  .articles__nav-filter {
    margin-left: 40px;
  }
}

@media (max-width: 1175px) {
  .articles__nav {
    flex-wrap: wrap;
  }

  .articles__professional-filter {
    margin-top: 15px;
    margin-left: 0;
  }

  .articles__nav-filter {
    margin-left: 25px;
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  .articles-main-page {
    flex-wrap: nowrap;
  }
}

/* Reviews page */
.section-reviews {
  padding-bottom: 100px;
}

.reviews-list {
  padding-bottom: 30px;
}

.card-review {
  background: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  padding: 25px;
  height: 300px;
  cursor: pointer;
  color: #95A6B3;
  transition: color .3s, border .3s;
  position: relative;
  margin-top: 30px;
  overflow: hidden;
}

.card-review:hover .card-review__time,
.card-review:hover .card-review__username {
  color: var(--main-color);
}

.card-review:hover {
  border-color: var(--main-color);
}

.card-review__doctors-container {
  position: relative;
  z-index: 2;
}

.card-review__doctors-carousel-buttons {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0;
  right: 0;
}

.card-review__doctors-carousel-buttons.disabled {
  display: none;
}

.card-review__doctors-container .slider-btn {
  margin: 3px;
  width: 22px;
  height: 22px;
  font-size: 10px;
  line-height: 20px;
}

.card-review__doctors-carousel {
  border-bottom: 1px solid #E2E9ED;
  padding-bottom: 25px;
  display: flex;
  flex-direction: row;
  margin-bottom: 25px;
  width: 100%;
  height: 100%;
  max-height: 80px;
  position: relative;
  transition: left .5s ease-in-out;
  overflow: hidden;
}

.card-review__doctors-carousel-element {
  height: 100%;
  width: 100%;
  float: left;
  display: flex;
  align-items: flex-start;
}

.card-review__doctors-carousel .card-review__doctors-title {
  font-size: 12px;
}

.card-review__doctors-text {
  display: flex;
  flex-direction: column;
  width: 70%;
}

.card-review__doctors-name {
  margin-top: 5px;
  font-size: 14px;
  color: #232427;
  font-family: var(--medium-font);
  width: 100%;
}

.card-review__doctors-image {
  border-radius: 12px;
  min-width: 55px;
  min-height: 55px;
  margin-right: 20px;
  position: relative;
  background-size: 30px;
  background: #EDF2F5 url('../assets/images/specialist-placeholder.png') center 5px / contain no-repeat;
}

.card-review__text {
  color: #232427;
  font-size: 14px;
  overflow: hidden;
  min-height: 90px;
}

.card-review__content {
  height: 100%;
}

.card-review__info::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  height: 40px;
  background: linear-gradient(to top, #FFF 25%, #FFF0);
}

.card-review__link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.card-review__info {
  position: absolute;
  padding-bottom: inherit;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: inherit;
  padding-right: inherit;
  background: #FFF;
}

.card-review-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-review-info__image {
  border-radius: 7px;
  min-width: 32px;
  min-height: 32px;
  position: relative;
  background: #EDF2F5 url('../assets/images/specialist-placeholder.png') center contain no-repeat;
  background-repeat: no-repeat;
  background-position: center;
}

.card-review-info__date {
  color: #95A6B3;
}

.card-review-info__image_size_m {
  border-radius: 4px;
  width: 48px;
  height: 48px;
}

.card-review__info-image {
  margin-right: 20px;
}

.card-review-info__text {
  flex-grow: 1;
}

.card-review__time {
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 20px;
  transition: color .3s;
}

.card-review__username {
  position: relative;
  height: 20px;
  font-family: var(--medium-font);
  font-size: 12px;
  line-height: 20px;
  transition: background .3s, color .3s;
}

.card-review__username::after {
  position: absolute;
  right: 0;
  font-family: 'icomoon';
  font-size: 13px;
  content: '\e906';
}

.review-text {
  line-height: 28px;
}

.review-modal__description {
  margin-bottom: 30px;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 20px;
}

/* Tests/polls */
.section-tests {
  padding-bottom: 100px;
}

.tests-list {
  display: flex;
  flex-flow: row wrap;
  margin: -10px;
}

.test-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.card-test {
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  width: calc(25% - 20px);
  height: 250px;
  margin: 10px;
  padding: 25px;
  position: relative;
  transition: border .3s;
  overflow: hidden;
}

.content-with-aside__inner .card-test {
  width: calc(50% - 20px);
}

.card-test__title {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  color: #232427;
  display: inline-block;
  padding-bottom: 20px;
  transition: color .3s;
}

.card-test:hover {
  border-color: var(--main-color);
}

.card-test:hover .card-test__title {
  color: var(--main-color);
}

.card-test__description {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  color: #909EAA;
  height: 80%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1200px) {
  .card-test {
    width: calc(33.3% - 20px);
  }
}

@media (max-width: 767px) {
  #payment_status__page {
    width: 100%;
    height: 500px;
    display: block;
    margin-top: 149px;
    padding-top: 140px;
    text-align: center;
  }

  .card-test {
    width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .card-test {
    width: 100%;
  }
}

/* end Tests/polls */
.disable-scroll {
  overflow: hidden !important;
}

.video-overlay {
  /* overlay */
  position: fixed;
  visibility: hidden;
  opacity: 0;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity .5s, visibility .5s;
  background: rgba(65, 77, 92, .8);
  /* image */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-origin: content-box;
  padding: 5%;
}

.video-overlay__responsive-container {
  position: absolute;
  width: 80%;
  padding-top: 45%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-overlay iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateY(-50%) translateX(-50%);
}

.video-overlay--active {
  visibility: visible;
  opacity: 1;
  cursor: pointer;
}

.video-overlay__play-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  height: 100%;
  width: 100%;
  background: url(../assets/images/icons/play-icon.svg) 50% 50% no-repeat;
}

.video-overlay .icon-close {
  position: absolute;
  top: 50px;
  right: 50px;
  font-size: 2em;
  color: white;
  transition: color .3s;
}

.video-overlay .icon-close:hover {
  color: var(--dark-color);
}

@media (max-width: 991px) {
  .video-overlay .icon-close {
    top: 25px;
    right: 25px;
    font-size: 1em;
    padding: 15px;
    background-color: rgba(65, 77, 92, .9);
    border-radius: 50%;
    transition: color .3s;
  }
}

@media (max-width: 767px) {
  .video-overlay {
    padding: 100px 50px;
  }
}

@media (max-width: 424px) {
  .video-overlay {
    padding: 100px 0;
  }
}

.disease-doctors .content-block__title {
  padding-bottom: 0;
}

/* Partners */
.section-partners {
  padding-bottom: 100px;
}

.partners-list {
  display: flex;
  flex-flow: row wrap;
  margin: -15px;
}

.partner-card {
  border-radius: 6px;
  padding: 25px;
  margin: 15px;
  height: 250px;
  width: calc(25% - 30px);
  cursor: pointer;
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  transition: color .3s, border .3s;
  text-align: center;
  position: relative;
}

.partner-card:hover {
  color: var(--main-color);
  border-color: var(--main-color);
}

.partner-card__logo {
  padding-bottom: 10px;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
}

.partner-card__content {
  position: absolute;
  left: 0;
  right: 0;
  padding-right: inherit;
  padding-left: inherit;
  top: 55%;
}

.partner-card__name {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  padding-bottom: 10px;
}

.partner-card__description {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
  color: #7C90A0;
  text-align: left;
}

.card-article__description {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  color: #909EAA;
  height: 150px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .partner-card {
    width: calc(33.33% - 30px);
  }
}

@media (max-width: 767px) {
  .partner-card {
    width: calc(50% - 30px);
  }
}

@media (max-width: 424px) {
  .partner-card {
    width: calc(100% - 30px);
  }
}

/* Error pages */
.page-error {
  text-align: center;
  padding-bottom: 150px;
}

.page-error__image {
  margin-bottom: 50px;
  height: 400px;
  background: url('../assets/images/error/error.png') center bottom no-repeat;
  background-size: contain;
  position: relative;
}

.page-error__image:hover {
  background-image: url('../assets/images/error/error-active.png');
}

.page-error__image>div {
  z-index: -1;
  font-family: var(--bold-font);
  font-size: 400px;
  line-height: 300px;
  color: #EDF2F5;
  position: absolute;
  left: 0;
  right: 0;
}

.page-error__title {
  font-family: var(--bold-font);
  font-size: 32px;
  line-height: 48px;
  color: #232427;
  margin-bottom: 20px;
}

.page-error__text {
  font-size: 20px;
  line-height: 32px;
  color: #7C90A0;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .select-branch-wrap .select_dropdown__options_container.dropdown-select__branch {
    height: 50vh;
  }

  .page-error__image {
    height: 300px;
  }

  .page-error__image>div {
    font-size: 300px;
    line-height: 250px;
  }
}

@media (max-width: 767px) {
  .page-error__image {
    height: 200px;
  }

  .page-error__image>div {
    font-size: 200px;
    line-height: 150px;
  }
}

@media (max-width: 424px) {
  .page-error__image {
    height: 150px;
  }

  .page-error__image>div {
    font-size: 150px;
    line-height: 120px;
  }
}

/* Procedure links page */
.procedure-links {
  overflow-x: scroll;
}

.procedure-links__table {
  border-collapse: collapse;
  font-family: var(--medium-font);
  font-size: 14px;
}

.procedure-links__table th,
.procedure-links__table td {
  padding: 5px;
  border: 1px solid black;
}

.procedure-links__table a {
  transition: color .4s;
}

.procedure-links__table a:hover {
  color: var(--main-color);
}

/* Poll results */
.poll-result__title,
.poll-result__title a {
  font-size: 20px;
}

.poll-result__options {
  margin-top: 5px;
  margin-left: 10px;
  width: 65%;
}

.poll-result__options li {
  padding: 5px 0;
  line-height: 18px;
}

.poll-result__other-list {
  position: relative;
}

.poll-result__other-list:not(.opened) .poll-result__other-item:nth-of-type(n+3)::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 45px;
  background: linear-gradient(to top, #FFF, #FFF0);
}

.poll-result__other-list:not(.opened) .poll-result__other-item:nth-of-type(n+4) {
  display: none;
}

.poll-result__show-all {
  font-size: 16px;
  margin-bottom: 10px;
}

.poll-result__other-list:not(.opened) .poll-result__show-all:nth-of-type(1),
.poll-result__other-list.opened .poll-result__show-all:nth-of-type(2) {
  display: inline;
}

.poll-result__other-list.opened .poll-result__show-all:nth-of-type(1),
.poll-result__other-list:not(.opened) .poll-result__show-all:nth-of-type(2) {
  display: none;
}

@media (max-width: 991px) {
  .poll-result__options {
    width: 100%;
  }
}

/* Favorite button */
.favorite-wrap {
  cursor: pointer;
}

.banner .favorite-wrap {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 101;
}

.speciality-card__inner .favorite-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
}

.favorite-card__сontent .favorite-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 30px 20px;
  border-left: 1px solid #EDF2F5;
}

.cart__item-control .icon-favorite {
  padding: 10px;
  margin: -10px;
}

.favorite-wrap .tooltip-bottom {
  right: 0;
  padding: 15px;
  width: 180px;
  margin-top: 10px;
  border: 1px solid #E1E4E7;
  box-shadow: none;
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
}

.favorite-wrap .tooltip-bottom::before {
  content: "Добавить в избранное";
}

.favorite-wrap--active .tooltip-bottom::before {
  content: "Убрать из избранного";
}

.favorite-card__сontent .favorite-wrap .tooltip-bottom {
  top: 50px
}

.cart__item-control .favorite-wrap .tooltip-bottom {
  top: 15px;
  bottom: unset;
  width: 200px;
  white-space: nowrap;
}

.icon-favorite {
  font-size: 16px;
  color: #BFD2E2;
  cursor: pointer;
  transition: color .3s;
}

body.cecutient .icon-favorite {
  font-size: 22px;
}

.favorite-wrap--active .icon-favorite {
  color: var(--main-color);
}

/* Disable touch acting as hover */
@media (hover: hover) {
  .favorite-wrap:hover .icon-favorite {
    color: var(--main-color);
  }
}

.banner .icon-favorite {
  font-size: 25px;
}

.cart__item-control .icon-favorite {
  font-size: 13px;
}

@media (max-width: 767px) {
  .favorite-card__сontent .favorite-wrap .tooltip-bottom {
    display: none;
  }
}

@media (max-width: 424px) {
  .favorite-card__сontent .favorite-wrap {
    top: 10px;
    right: 10px;
    bottom: unset;
    padding: 0;
    border-left: none;
  }

  .favorite-card__сontent .favorite-wrap .tooltip-bottom {
    top: 10px
  }
}

.banner__btns .select-type {
  width: 250px;
  display: inline-block;
  margin-right: 40px;
  position: relative;
}

.banner__btns .select-type .toggle-button {
  font-size: 13px;
  padding: 7px 0;
}

body:not(.show-main-search) .warning-label {
  position: relative;
  margin-top: -200px;
  z-index: 10;
  opacity: 0;
  transition: opacity .2s, margin-top .2s linear;
}

body.show-main-search .warning-label {
  opacity: 1;
  margin-top: 0;
  transition: opacity 1s ease, margin-top .5s ease;
}

.warning-label {
  padding: 20px 0;
  opacity: 1;
  transition: opacity .5s, margin-top .5s linear;
}

@media(max-width: 1100px) {
  body.show-main-search .warning-label {
    padding: 10px 0 0;
  }
}

.warning-label__message {
  text-align: center;
  color: var(--main-color);
  font-family: var(--medium-font), sans-serif;
  font-size: 14px;
}

.btn__long-text-indents {
  height: auto;
  padding: 10px 20px;
  line-height: 28px;
}

/* Custom select similar selectize knockout */
.select_dropdown__container {
  position: relative;
  background: transparent;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.select_dropdown__lable {
  cursor: pointer;
  border-radius: 8px;
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  padding: 15px 20px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  overflow: hidden;
  position: relative;
  color: #333;
  font-family: var(--regular-font), sans-serif;
  font-size: 13.5px;
  line-height: 17px;
  transition: color .3s;
  height: 49px;
  z-index: 1;
}

.choice_city {
  flex: 1;
  font-family: var(--bold-font), sans-serif;
  color: #000;
  transition: background-color .2s;
  cursor: pointer;
  margin-bottom: 0;
  font-size: 14px;
}

.change-city {
  flex: 1;
  font-family: var(--medium-font), sans-serif;
  color: #000;
  transition: background-color .2s;
  cursor: pointer;
  margin-bottom: 0;
  font-size: 14px;
}

.change-city:hover {
  color: var(--main-color);
}

.icon-city {
  margin-right: 4px;
}

.icon-city::before {
  content: url(../assets/images/icons/geo_new.svg)
}

.select_dropdown__lable.disabled {
  cursor: default;
  opacity: 0.5;
}

.select_dropdown__lable:not(.disabled):hover {
  color: var(--main-color);
}

.select_dropdown__lable:not(.age)::before {
  position: absolute;
  font-family: 'icomoon';
  content: "\e936";
  font-size: 16px;
  left: 15px;
}

.select_dropdown__lable:not(.disabled)::after {
  position: absolute;
  font-family: 'icomoon';
  content: '\e900';
  font-size: 12px;
  transition: transform .3s, color .3s;
  color: #232427;
  right: 22px;
}

.select_dropdown__options_container {
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: fit-content;
  border: 1px solid #E4E6E8;
  border-radius: 4px;
  padding: 10px 20px;
  background: #FFF;
  box-shadow: 0 10px 35px rgba(155, 178, 190, .2);
  font-family: var(--regular-font), sans-serif;
  font-size: 14px;
  color: #909EAA;
  position: absolute;
  z-index: 999;
  width: 100%;
}

.select_dropdown__options_item {
  cursor: pointer;
  color: #333;
  padding: 10px 0;
  overflow: hidden;
  opacity: .5;
  user-select: none;
}

.select_dropdown__options_item:hover {
  color: var(--main-color);
  opacity: 1;
}

/* End custom select similar selectize knockout */

.hide_doctor_filling_block {
  width: 16px;
  height: 14px;
  background-color: transparent;
  background-image: url(/static/mobile_app/www/assets/images/icons/minus_icons.png);
  background-size: 27px;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  display: block;
  top: 10px;
  right: 8px;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.hide_doctor_filling_block::after {
  position: absolute;
  content: '';
  margin: -8px;
  height: 200%;
  width: 200%;
}

.service-card__remove::after {
  position: absolute;
  content: '';
  margin-left: -73px;
  margin-top: -10px;
  height: 200%;
  width: 200%;
}

.city-helper {
  margin-left: 16px;
  display: flex;
  gap: 4px;
}

.city-helper__title {
  font-size: 14px;
}

.city-helper-container>button:first-child:hover,
.city-helper>button:first-child:hover {
  background-color: #D5531C;
}

.city-helper-container>button:first-child,
.city-helper>button:first-child {
  border: none;
  border-radius: 3px;
  text-align: center;
  font-family: var(--medium-font),
    sans-serif;
  font-size: 14px;
  background-color: var(--main-color);
  color: #fff;
  cursor: pointer;
  height: 25px;
}

.city-helper-container>button:nth-child(2),
.city-helper>button:nth-child(2) {
  border: 1px solid #E1E4E7;
  background: transparent;
  border-radius: 3px;
  text-align: center;
  font-family: var(--medium-font),
    sans-serif;
  font-size: 14px;
  color: #232427;
  cursor: pointer;
  height: 25px;
}

.city-helper-container>button:nth-child(2):hover,
.city-helper>button:nth-child(2):hover {
  border: 1px solid #F4662A4D;
  color: #F4662A;
}

.change-city-middle {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.change-city-middle>span,
.change-city-middle p {
  font-size: 14px;
}

.modal-center {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

#cityHelper {
  height: 124px;
  padding: 20px;
  max-width: 280px;
}

#cityChange {
  width: 390px;
  height: 193px;
  padding: 40px;
}

.helper-city__header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: 240px;
  justify-content: start;
}

.helper-city__header span {
  margin-right: 4px;
}

.helper-city__title {
  font-weight: 700;
}

.helper-icon {
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

.close-city-modal {
  border: none;
  font-size: 25px;
  cursor: pointer;
}

.choice_city__btn {
  font-size: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.change-city-modal__header {
  font-size: 24px;
  font-weight: 400;
  font-family: 'Core Sans A 55 Medium';
  text-align: left;
  margin-bottom: 16px;
}

.helper-city__header>p {
  margin-bottom: 0 !important;
  margin-left: -4px;
}

.change_city__mobile {
  display: none;
  position: absolute;
  align-items: center;
  top: 11px;
  right: 0;
}

.change_city__mobile>span {
  margin-right: 4px;
  font-size: 14px;
}

.header-top-city {
  position: absolute;
  width: 100%;
  height: 35px;
  background-color: #F6F9FB
}

body:has(.notification-wrapper.open) .warning-label {
  position: relative;
  margin-top: -300px;
}

body:has(.notification-wrapper.open) .header_mobile {
  height: 160px;
}

body:has(#cosmetology) .specialists {
  background: none;
}

body:has(.notification-wrapper.open) .warning-label {
  position: relative;
  margin-top: -300px;
}

body:has(.notification-wrapper.open) .header_mobile {
  height: 160px;
}

body:has(#cosmetology) .specialists {
  background: none;
}

body:has(.notification-wrapper.open) .warning-label {
  position: relative;
  margin-top: -300px;
}

body:has(.notification-wrapper.open) .header_mobile {
  height: 160px;
}

.change-city__header {
  gap: 4px;
  position: absolute;
  top: 5px;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.cecutient .header-top-city {
  background-color: transparent;
}

.cecutient .change-city__header {
  align-items: baseline;
  background-color: transparent;
}

.cecutient .city-helper>button:first-child {
  background-color: #000;
  color: #fff !important;
  width: 150px;
  height: 40px;
  font-size: 18px;
}

.cecutient .city-helper>button:nth-child(2) {
  background-color: #fff;
  color: #000 !important;
  width: 150px;
  height: 40px;
  font-size: 18px;
}

.modal-title {
  max-width: 600px;
  font-weight: bold;
}

.modal-title__block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

@media (max-width: 767px) {
  .change_city__mobile {
    display: flex;
  }
}

body:has(#sms_code-container, #sms_code-validation) .blur-inner {
  background-color: white !important;
}

/* Общие стили для формы */
.opt-form {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
  justify-items: start;
}

/* Контейнер для полей ввода */
.opt-form .opt-inputs-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.opt-form .opt-input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.opt-form .opt-input.opt-input-complete {
  background-color: #F6F9FB;
  /* Светлый фон для заполненных полей */
  border: 1px solid #fff;
  /* Убираем рамку, если поле валидное */
}

.opt-form .opt-input.opt-input-error {
  background-color: rgba(255, 38, 51, 0.15)
}


.sms_code-container {
  padding: 40px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
  height: 340px;
  border: 1px solid #E1E4E7;
  margin-bottom: 160px;
  text-align: center;
}

@media (max-width: 767px) {
  .modal-center {
    top: 40% !important;
    width: 280px !important;
  }

  body:has(.notification-wrapper.open) .header-responsive {
    top: 160px;
  }

  body:has(.notification-wrapper.open) .header_mobile {
    height: 160px;
  }

  body:has(.notification-wrapper.open) .navigation-list__item-inner {
    top: 90px;
  }

  #cityChange {
    height: 168px !important;
    padding: 40px 20px 20px 20px;
  }

  .city-modal__title {
    font-size: 24px !important;
    line-height: 22px;
  }

  .header__title {
    font-size: 24px;
  }

  .change-city-modal__header {
    margin-bottom: 20px !important;
  }

  .change-city-middle {
    display: none;
  }

  .modal-title__block {
    margin-bottom: 0;
  }
}

@media (max-width: 370px) {

  .change_city__mobile p,
  .change_city__mobile span {
    font-size: 13px;
  }
}

@media (max-width: 376px) {
  .modal-title {
    max-width: 250px;
  }
}

@media (max-width: 1060px) {
  body.active-search .warning-label {
    display: none !important;
  }

  body.active-search,
  body.active-search:has(.header_mobile--hidden) {
    padding-top: 50px !important;
    transition: padding-top .5s ease;
  }
}

@media (max-width: 1060px) {
  .letters-list {
    position: sticky;
    top: 75px !important;
  }
}

.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  border-top: 1px solid #ccc;
  z-index: 9999;
}

.cookie-banner__content {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  padding: 15px 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.cookie-banner__content a {
  color: var(--second-dark-color);
  text-decoration: underline;
  font-size: 16px;
}

.cookie-banner__content button {
  padding: 12px 24px;
  font-size: 16px;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-banner__content button:hover {
  background-color: var(--dark-color);
}

@media (max-width: 700px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 20px;
  }

  .cookie-banner__content p {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .cookie-banner__content {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-banner__content button,
  .cookie-banner__content a {
    width: 100%;
    font-size: 14px;
  }
}

@media(max-width:576px) {
  .opt-form .opt-inputs-container input {
    width: 32px;
    height: 32px;
  }
}
