/* Arcticmodal */
.arcticmodal-container_i2 .popup {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: scale(.1, .1) translate(-30%, -50%);
  -webkit-transition: transform .6s ease;
  -moz-transition: transform .6s ease;
  -o-transition: transform .6s ease;
  transition: transform .6s ease;
  border-radius: 8px;
}

.arcticmodal-overlay,
.arcticmodal-container {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.arcticmodal-overlay {
  top: -100px;
}

.arcticmodal-container {
  overflow: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-collapse: collapse;
}

@media (max-width: 991px) {
  .cabinet .arcticmodal-container {
    margin-bottom: 3.5rem;
  }
}

*:first-child+html .arcticmodal-container {
  height: 100%;
}

.arcticmodal-container_i {
  height: 100%;
  margin: 0 auto;
  width: 100%;
}

.arcticmodal-container_i2 {
  padding: 24px;
  margin: 0;
  border: 0;
  vertical-align: middle;
  position: relative;
}

.arcticmodal-error {
  padding: 20px;
  border-radius: 10px;
  background: #000;
  color: #FFF;
}

.owl-item>div {
  cursor: pointer;
}

.owl-item.center>div {
  cursor: auto;
}

.arcticmodal-loading {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: #000 url(loading.gif) no-repeat 50% 50%;
}

/* Generic modal */
.popup .popup__bottom {
  padding: 0 50px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.modal-generic {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.modal-generic .popup_inner {
  position: relative;
  height: auto;
  width: 100%;
  background-color: white;
  border-radius: 8px;
}

.modal-generic .overlay {
  background: rgba(255, 255, 255, .65);
}

@media (max-width: 991px) {
  .modal-generic:not(.modal-app) {
    margin: 0 !important;
    position: relative !important;
    height: calc(100vh - 7rem) !important;
  }
}

.open {
  padding-top: 0 !important;
  -webkit-transition: transform .6s ease;
  -moz-transition: transform .6s ease;
  -o-transition: transform .6s ease;
  transition: transform .6s ease;
}

.open .popup {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: scale(1, 1) translate(-50%, 0);
  -webkit-transition: transform .6s ease;
  -moz-transition: transform .6s ease;
  -o-transition: transform .6s ease;
  transition: transform .6s ease;
}

.open .popup#onboarding {
  top: 10%;
  transform: scale(1, 1) translate(-50%, 0);
}

.close .popup {
  top: 100%;
  -webkit-transition: top.6s ease;
  -moz-transition: top .6s ease;
  -o-transition: top .6s ease;
  transition: top .6s ease;
}

.popup {
  background-color: #FFF;
  position: relative;
  margin: 0 auto;
}

.open .popup.popup--position-top {
  top: 0;
  transform: scale(1, 1) translate(-50%, 0);
}

.popup--size-s {
  width: 450px;
  z-index: 1001;
}

.popup--in-app {
  z-index: 2;
}

.popup--size-m {
  width: 570px;
}

.popup--size-l {
  width: 964px;
  max-width: 100%;
}

.popup--size-full {
  width: 100%;
}

.popup__close {
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-image: url('../assets/images/icons/popup-close.png');
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  display: block;
  top: 20px;
  right: 20px;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.popup__content {
  padding: 45px 0;
}

.popup__content.popup__content-foreigner {
  padding-top: 30px;
  padding-bottom: 45px;
  background-color: #EBF0F3;
}

.popup__inner {
  padding: 40px 50px;
}

.popup__inner::after {
  content: " ";
  clear: both;
  display: block;
}

.popup__inner .editor_style {
  margin: 0;
}

.popup__inner .editor_style ul:not([class]) {
  margin-left: 0;
}

@media only screen and (max-width: 991px) {
  .popup {
    padding: 0;
    min-width: 280px;
  }

  .popup--size-l {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .popup--size-m {
    width: 100%;
  }

  .popup__content {
    padding: 30px 0;
  }
}

@media only screen and (max-width: 600px) {
  .popup--size-s {
    width: 100%;
  }

  .popup__inner {
    padding: 10px 10px;
  }

  .popup__inner .title__4 {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .open .popup.popup--size-s,
  .open .popup.popup--size-m {
    top: 0;
    transform: scale(1, 1) translate(-50%, 0);
  }
}

/* --------------------- Другие попапы ------------------ */
.popup .popup__content .popup__description {
  margin-bottom: 30px;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  color: #232427;
}

.popup .popup__content .popup__description-warn {
  margin-bottom: 16px;
  font-family: var(--bold-font), sans-serif;
  font-size: 14px;
  line-height: 24px;
}

.popup .popup__content .popup__description-login {
  line-height: 32px;
}

.popup .popup__content .popup__row {
  padding: 0 45px;
  margin: 10px 0 25px;
}

.popup .popup__content .popup__row.records_info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.popup .popup__content .popup__row-foreigner {
  padding: 0 45px;
  margin: 10px 0;
  background-color: #FFF;
}

.popup .popup__content .popup__row--center {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
}

.popup .popup__content .popup__row--center .base-btn~.base-btn {
  margin-top: 10px;
}

.popup .popup__content .popup__row--two-elements {
  margin: 20px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.popup .popup__content .popup__row--last {
  margin-top: 20px;
  margin-bottom: 0;
}

.popup .popup__content .popup__row.popup__row--two-elements>.base-label {
  width: 100%;
}

.popup .popup__content .popup__row.popup__row--two-elements .popup__row-item {
  width: 48%;
}

.popup .popup__content .popup__row.popup__row--two-elements .popup__row-item.popup__row-item--patient {
  width: 67%;
}

.popup .popup__content .popup__row.popup__row--two-elements .popup__row-item.popup__row-item--birthdate {
  width: 31%;
}

.popup .popup__content .popup__row .base-label {
  margin-bottom: 15px;
}

.popup .popup__content .popup__row iframe {
  width: 100%;
}

.popup .popup__content .popup__row .toggle-buttons {
  margin-bottom: 40px;
}

.popup .popup__content .popup__single-text {
  font-family: var(--regular-font), sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.popup .popup__content .popup__single-text .popup__single-text-gray {
  font-family: var(--medium-font), sans-serif;
  font-size: 14px;
  color: #909EAA;
}

.popup .popup__content .popup__row .validationMessage {
  display: block;
  margin-top: 15px;
}

.popup .popup__content .popup__row-login-third-party {
  display: flex;
  justify-content: space-between;
  padding: 20px 45px;
}

.popup .popup__content .popup__row-login-third-party .popup__login-third-party {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  padding: 16px;
}

.popup .popup__content .popup__row-login-third-party .login-third-party__top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.popup .popup__content .popup__row-login-third-party .login-third-party__text {
  font-family: var(--regular-font), sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #909EAA;
  margin: 0;
  margin-top: 15px;
  transition: color .2s;
  cursor: pointer;
}

.popup .popup__content .popup__row-login-third-party .popup__login-third-party:hover .login-third-party__text {
  color: var(--light-color);
}

.popup .popup__content .login-gosuslugi__img {
  background: url(../assets/images/gosuslugi.png) 100% no-repeat;
  background-size: contain;
  width: 100px;
  height: 24px;
}

.popup .popup__content .login-sberbank-logo__svg {
  background: url(../assets/images/logo-sberbank.svg) no-repeat;
  background-size: contain;
  width: 100px;
  height: 24px;
}

.popup .popup__content .login-third-party__top::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #FFF url(../assets/images/icons/Small_arrow_grey.svg) 50% no-repeat;
}

.popup .popup__content .popup__login-third-party:hover .login-third-party__top::after {
  background: #FFF url(../assets/images/icons/Small_arrow_orange.svg) 50% no-repeat;
}

.popup .popup__content .popup__row.popup__row-password-eye {
  position: relative;
}

.popup__list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
  position: relative;
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
}

.popup__list>li {
  padding-left: 10px;
}

.popup__list-text {
  margin: 10px 0;
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 24px;
  color: #7C90A0;
}

/* Second level list */
.popup__list ul>li::before {
  content: "—";
  position: absolute;
  left: 10px;
}

body.cecutient .popup__list ul>li::before {
  left: 2px;
}

/* Header */
.popup__header {
  padding: 20px 48px;
}

.popup .popup__title {
  font-family: var(--bold-font);
  font-size: 32px;
  line-height: 36px;
  color: #232427;
  margin-bottom: 15px;
}

.popup .popup__subtitle {
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 24px;
  color: #232427;
  margin-bottom: 15px;
}

.popup .header__title {
  font-size: 30px;
  font-family: var(--bold-font);
}

.popup__warning {
  margin-top: 30px;
  letter-spacing: .3px;
  color: #232427;
  background-image: url(../assets/images/record/record_warning.svg);
  padding-left: 100px;
  background-repeat: no-repeat;
  background-position: left top;
  min-height: 65px;
}

body.cecutient .popup__warning p {
  font-size: 18px;
}

.popup__warning.popup__warning--callback {
  background-image: url(../assets/images/record/record_warning_callback.svg);
}

.popup__warning p {
  margin: 0;
}

.popup__warning p+p {
  margin-top: 10px;
}

.popup.modal-app {
  width: 100%;
}

.popup .popup__login-information {
  font-size: 14px;
  line-height: 28px;
  color: #28292B;
}

@media (max-width: 991px) {
  .popup--size-l .popup__content .popup__row {
    padding: 0 15px;
  }

  .popup .popup__title {
    font-size: 24px;
    line-height: 1.3;
  }
}

@media (max-width: 767px) {

  .popup--size-m .popup__content .popup__row,
  .popup__row--last {
    padding: 0 15px;
  }
}

@media (max-width: 600px) {
  .popup--size-s .popup__content .popup__row {
    padding: 0 15px;
  }
}

@media (max-width: 424px) {
  .popup .popup__content .popup__row.popup__row--two-elements {
    flex-wrap: wrap;
  }

  .popup .popup__content .popup__row.popup__row--two-elements .popup__row-item,
  .popup .popup__content .popup__row.popup__row--two-elements .popup__row-item.popup__row-item--patient,
  .popup .popup__content .popup__row.popup__row--two-elements .popup__row-item.popup__row-item--birthdate {
    width: 100%;
    margin-bottom: 10px;
  }

  .popup .popup__content .login-gosuslugi__img {
    background: url(../assets/images/gosuslugi_mobile.svg) 100% no-repeat;
  }

  .popup .popup__content .login-sberbank-logo__svg {
    background: url(../assets/images/sberbank_mobile.svg) center no-repeat;
    background-size: contain;
  }

  .popup .popup__content .login-gosuslugi__img {
    height: 50px;
    width: 47px;
    margin: auto;
  }

  .popup .popup__content .login-sberbank-logo__svg {
    height: 50px;
    margin: auto;
  }

  .popup .popup__content .login-third-party__top::after {
    display: none;
  }

  .popup__row-vertical-block {
    margin-left: 0;
  }

  .open .popup#onboarding {
    top: 0;
  }
}

/* ------------------- Попапы записи -------------------- */
.popup-appointment__inner {
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 100%;
  background: #EBF0F3;
}

.popup-appointment__inner::-webkit-scrollbar {
  display: none;
}

.popup-appointment__days {
  width: 595px;
  overflow: hidden;
  margin: -10px -10px 25px;
}

#modalCalendar .popup-appointment__days {
  width: 500px;
  margin: auto;
}

.popup-appointment__day {
  display: block;
  float: left;
  position: relative;
  margin: 10px 10px 0;
  font-size: 20px;
  width: 65px;
  height: 72px;
  border: 1px solid #FFF;
  background-color: #FFF;
  border-radius: 6px;
  color: #232427;
  font-family: var(--medium-font), sans-serif;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

body.cecutient .popup-appointment__day {
  border: 1px solid #E4EAEE;
}

#modalCalendar .popup-appointment__day {
  width: 56px;
  height: 64px;
  margin: 7px 7px 0;
}

.popup-appointment__day::before,
.popup-appointment__day::after {
  display: block;
  position: absolute;
  transition: color .2s;
}

.popup-appointment__day::before {
  left: 10px;
  top: 5px;
  font-size: 12px;
  line-height: 10px;
  color: #7C90A0;
  content: attr(data-day-label);
}

.popup-appointment__day::after {
  left: 0;
  right: 0;
  text-align: center;
  bottom: 20px;
  font-size: 20px;
  line-height: 20px;
  color: #232427;
  content: attr(data-day-num);
}

.popup-appointment__day.disabled {
  background-color: #E4EAEE;
  border-color: #E4EAEE;
  cursor: default;
}

#modalCalendar .popup-appointment__day-wrap:not(.popup-appointment__day--other-month) .popup-appointment__day.disabled {
  background-color: rgba(190, 200, 208, .2);
  border-color: transparent;
  color: rgba(35, 36, 39, .5);
}

.popup-appointment__day.active {
  background-color: var(--main-color);
}

.record-time__card.active {
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.popup-appointment__day.active::before,
.popup-appointment__day.active::after {
  color: #FFF;
}

.popup-appointment__day--other-month .popup-appointment__day {
  background: transparent;
  border-color: #BFD2E2;
  cursor: default;
  pointer-events: none;
}

.popup .popup-appointment__days-of-week {
  display: none;
}

body.cecutient .popup-appointment__day--other-month .popup-appointment__day {
  border-color: #000;

}

.popup-appointment__day:not(.active):not(.disabled):hover {
  border: 1px solid var(--main-color);
  background-color: #FFF;
}

.popup-appointment__day:not(.active):not(.disabled):hover::before,
.popup-appointment__day:not(.active):not(.disabled):hover::after {
  color: var(--main-color);
}

.popup-appointment__bottom-total {
  border-top: 1px solid #E2E9ED;
  padding: 30px 0;
}

.popup-appointment__bottom-total>span {
  color: #232427;
  font-size: 16px;
  line-height: 24px;
  font-family: var(--regular-font);
}

.popup-appointment__selected-datetime {
  margin-top: 15px;
  display: flex;
}

.popup-appointment__selected-datetime>span {
  margin-right: 45px;
  white-space: nowrap;
  font-family: var(--medium-font);
  font-size: 20px;
  line-height: 24px;
  color: #232427;
}

.popup-appointment__selected-datetime i {
  margin-right: 10px;
  vertical-align: baseline;
  font-size: 20px;
  line-height: 24px;
  color: #909EAA;
}

.selected-time {
  margin-bottom: 40px;
}

#modalCalendar .selected-time {
  margin-bottom: 45px;
}

.popup-appointment__time-filters {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  margin-bottom: 30px;
}

.popup-appointment__time-filter {
  position: relative;
  display: inline-block;
}

.popup-appointment__time-filter>input {
  display: none;
}

.popup-appointment__time-filter>label {
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 24px;
  padding: 4px 8px;
  cursor: pointer;
  user-select: none;
}

.popup-appointment__time-filter>input[type="radio"]:checked~label {
  border-bottom: 3px solid var(--main-color);
}

.popup-appointment__time-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.popup-appointment__time {
  margin: 10px;
  width: 88px;
  height: 40px;
  background-color: #FFF;
  border: 1px solid #FFF;
  border-radius: 6px;
  text-align: center;
  font-family: var(--medium-font), sans-serif;
  font-size: 14px;
  line-height: 30px;
  color: #232527;
  letter-spacing: .5px;
  transition: background-color .2s, color .2s, border-color .2s;
}

#modalCalendar .popup-appointment__time {
  background-color: #F6F9FB;
  border: 1px solid #E2E9ED;
  height: 33px;
  width: 68px;
  margin: 6px;
}

.popup-appointment__time.active,
#modalCalendar .popup-appointment__time.active {
  background-color: var(--main-color);
  color: #FFF;
  border-color: var(--main-color);
}

.popup-appointment__time:not(.active):hover {
  border: 1px solid var(--main-color);
  background-color: #FFF;
}

.popup-appointment__time.disabled {
  background-color: #EDF2F5;
  color: #96A8B3;
  cursor: default;
}

.popup .callback__form .input__row {
  width: 48%;
}

.popup .callback__form .input__row.right {
  float: right;
}

.popup .popup-appointment__inner .popup__inner .active-value {
  color: rgb(254, 84, 3);
}

.popup-appointment__inner .popup__inner {
  background-color: #EDF3F6;
  padding: 40px 50px;
  /* compensate fixed button container */
  display: flex;
  flex-direction: column;
}

.popup-appointment__inner .popup__header {
  background-color: #FFF;
  padding: 0 25px;
}

#modalCalendar .popup-appointment__inner .popup__inner {
  background-color: #FFF;
}

#recordModalNew {
  margin-top: 0;
}

@media (max-width: 991px) {
  .cabinet #recordModalNew {
    margin-bottom: 3.5rem;
  }
}

#recordModalNew .popup__hide {
  display: none;
}

#recordModalNew .search__dropdown {
  position: unset;
  margin-top: 1px;
}

#recordModalNew .search__dropdown__alphabet--letter {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #EBF0F3;
  font-size: 14px;
  text-align: center;
  color: #95A6B3;
  text-transform: initial;
  font-family: var(--regular-font), sans-serif;
  padding: 5px 20px;
  border-bottom: none;
  user-select: none;
}

#recordModalNew .search__dropdown--categories>li:last-child {
  border-bottom: none;
}

#recordModalNew .btn-wrapper__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#recordModalNew .btn-wrapper__bottom .popup__warning-msg__large-msh {
  margin-bottom: 90px;
}

#recordModalNew.modal-app {
  width: 100%;
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  overflow-y: auto;
  height: calc(100vh - 7rem);
}

#recordModalNew .tabs-wrapper {
  height: 100%;
  background-color: #EBF0F3;
}

#recordModalNew .popup-appointment__relative {
  position: relative;
}

#recordModalNew .popup-appointment__relative .input-row {
  margin-bottom: 25px;
  width: 460px;
}

#recordModalNew .popup-appointment__relative .input-row__half {
  width: 215px;
  display: inline-block;
}

#recordModalNew .popup-appointment__relative .input-row-container,
#recordModalNew .callback__form .input-row-container {
  display: flex;
  width: 100%;
  gap: 20px;
}

#recordModalNew .popup-appointment__relative .input-row-container .input-row__field,
#recordModalNew .callback__form .input-row-container .input-row__field {
  width: 28%;
}

@media (max-width: 991px) {

  #recordModalNew .popup-appointment__relative .input-row-container,
  #recordModalNew .callback__form .input-row-container {
    flex-direction: column;
  }

  #recordModalNew .popup-appointment__relative .input-row-container .input-row__field,
  #recordModalNew .callback__form .input-row-container .input-row__field {
    width: 100%;
    max-width: 460px;
    margin-bottom: 20px;
  }
}

#recordModalNew .popup-appointment__relative .input-row__half:first-of-type {
  margin-right: 30px;
}

#recordModalNew .popup-appointment__relative .input-row__half:only-child {
  margin-bottom: 0 !important;
  margin-right: 0;
  width: 460px;
}

#recordModalNew .popup-appointment__form .switcher {
  margin-bottom: 20px;
}

#recordModalNew .popup-appointment__login-wrap {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#recordModalNew .popup-appointment__login-wrap__col:first-of-type {
  display: flex;
  max-width: 460px;
  flex-wrap: wrap;
  margin-right: 30px;
}

#recordModalNew .popup-appointment__login-wrap__col .input-row__half:first-of-type {
  margin-right: 30px;
}

#recordModalNew .popup-appointment__form__login-btn,
#recordModalNew .popup-appointment__login-wrap__col .loader-wrapper {
  margin-top: 45px;
}

#recordModalNew .popup-appointment__authorized-user-text {
  font-family: var(--medium-font);
  padding-left: 35px;
  position: relative;
  margin-bottom: 20px;
}

#recordModalNew .popup-appointment__authorized-user-text>.icon-check {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 18px;
  height: 18px;
  background-color: #27AE60;
  border-radius: 50%;
  font-size: 12px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

#recordModalNew .popup-appointment__authorized-user-logout {
  display: inline-block;
  color: var(--main-color);
  cursor: pointer;
  margin-left: 20px;
  font-family: var(--medium-font);
  transition: color .2s;
}

#recordModalNew .popup-appointment__authorized-user-logout:hover {
  color: var(--light-color);
}

#recordModalNew .popup-appointment__same-name {
  margin-top: 15px;
}

#recordModalNew .phone-input+.validationMessage {
  display: none;
}

#recordModalNew .phone-input.showValidation+.validationMessage {
  display: block;
}

#recordModalNew .input__row__fio {
  width: 450px;
  top: 80px;
  position: absolute;
}

#recordModalNew .search__dropdown__fio {
  box-shadow: 0 15px 46px rgba(6, 72, 122, .18);
  border-radius: 4px !important;
}

#recordModalNew .search__dropdown--categories--inner li a {
  padding: 10px 20px !important;
  line-height: 30px !important;
}

#recordModalNew .search__dropdown--categories--inner li a:hover::after {
  display: none;
}

#recordModalNew:not(.modal-app) .popup-appointment__inner {
  margin-bottom: 0;
  position: relative;
  display: block;
  table-layout: unset;
}

#recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
  backface-visibility: visible;
  background: #EBF0F3;
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px 50px;
  z-index: 1;
  box-shadow: 0 -4px 20px rgba(146, 152, 162, .1);
  margin: 15px -50px -40px;
  position: -webkit-sticky;
}

#recordModalNew .record-search__popular-result .base-btn {
  margin-right: 10px;
  margin-bottom: 10px;
  height: auto;
}

#recordModalNew .btn-wrapper__bottom .base-btn {
  line-height: 1;
}

#record #recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
  position: fixed;
  margin: 0 0 3.5rem;
  margin-bottom: calc(3.5rem + env(safe-area-inset-bottom));
}

.record-validation_input {
  width: 200px;
  margin-top: 18px;
}

/* popup__record-progress */
.popup__record-progress {
  display: flex;
}

.popup__record-progress .record-progress__item {
  padding: 25px 0;
  margin: 0 25px;
  font-family: var(--medium-font);
  font-size: 18px;
  line-height: 20px;
  color: #BEC8D0;
  cursor: pointer;
}

.popup__record-progress .record-progress__item--past {
  cursor: pointer;
  color: #232427;
}

.popup__record-progress .record-progress__item--active {
  color: var(--dark-color);
  border-bottom: 3px solid var(--main-color);
}

@media (max-width: 767px) {
  #recordModalNew .popup__header {
    padding: 0 20px;
  }

  .popup__record-progress .record-progress__item {
    display: none;
    margin: 0;
  }

  .popup__record-progress .record-progress__item--active {
    display: initial;
  }
}

/* end Record progress */
.popup-appointment__mobile {
  display: none;
}

.popup .choice-clinic {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin-bottom: 16px;
  gap: 14px;
  width: 100%;
}

.popup .choice-clinic .select-type,
.popup .choice-clinic .select-age {
  width: 250px;
  display: inline-block;
  margin-right: 40px;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-5px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-5px);
  }

  80% {
    transform: translateX(5px);
  }

  100% {
    transform: translateX(0);
  }
}

.shaking {
  animation: shake 0.82s ease 0.2s;
}

.select-type .toggle-buttons__label {
  display: flex;
  align-items: center;
}

.popup .choice-clinic .select-type .toggle-button,
.popup .choice-clinic .select-age .toggle-button {
  flex: 1 1 50%;
  height: 60px;
}

.select-type__popup {
  display: none;
  width: 400px;
  padding: 20px;
  position: absolute;
  left: 25px;
  z-index: 101;
  background-color: #FFF;
  border: 1px solid #E1E4E7;
  border-radius: 6px;
  font-size: 14px;
  line-height: 20px;
  font-family: var(--regular-font);
  color: #232427;
}

.popup .choice-clinic .select-branch-wrap {
  display: inline-block;
  width: 100%;
}

.popup .choice-clinic .select-branch-wrap .selectize-input {
  border-radius: 8px;
}

.popup .choice-clinic .select-branch-wrap .selectize-input {
  padding-left: 40px;
}

.popup .choice-clinic .select-branch-wrap .selectize-input::before {
  position: absolute;
  font-family: 'icomoon';
  content: "\e936";
  font-size: 16px;
  left: 15px;
}

.popup .choice-clinic .select-branch-wrap .disabled-message {
  position: relative;
  color: #7C90A0;
  font-size: 16px;
  padding-left: 40px;
}

.popup .choice-clinic .select-branch-wrap .disabled-message::before {
  position: absolute;
  font-family: 'icomoon';
  content: "\e936";
  left: 15px;
}

.popup .choice-clinic .select-branch.jq-selectbox {
  width: 100%;
  height: 42px;
  background: #FFF;
  border: 1px solid #CBD9E2;
  border-radius: 4px;
  font-size: 14px;
}

.popup .choice-clinic .select-branch.jq-selectbox.opened {
  border-radius: 4px 4px 0 0 !important;
}

.popup .choice-clinic .select-branch .jq-selectbox__select {
  padding: 0 40px 0 20px;
  line-height: 40px;
}

.popup .choice-clinic .select-branch .jq-selectbox__trigger {
  right: 20px;
}

.popup .choice-clinic .select-branch .jq-selectbox__dropdown {
  right: 0 !important;
  left: 0 !important;
  text-align: left;
  margin-top: 0;
  border-radius: 0 0 4px 4px;
}

@media (max-width: 600px) {
  .popup .choice-clinic {
    flex-direction: column;
    align-items: unset;
    gap: 0;
  }

  .popup .choice-clinic .select-branch-wrap {
    margin-top: 16px;
  }
}

.popup .choice-clinic__hiding-btn {
  display: inline-block;
  color: var(--dark-color);
  font-size: 14px;
  cursor: pointer;
  align-self: flex-end;
  font-family: var(--medium-font), sans-serif;
  margin-bottom: 15px;
  line-height: 2em;
}

.popup .selected-clinic {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.popup .selected-clinic__text {
  display: inline-block;
  cursor: default;
  margin-right: 15px;
}

.popup .selected-clinic__dropdown .jq-selectbox {
  vertical-align: initial;
  display: block !important;
}

.popup .selected-clinic__dropdown .jq-selectbox__select-text {
  color: var(--dark-color);
}

.popup .selected-clinic__dropdown .jq-selectbox__trigger-arrow {
  background-image: var(--scroll-top) !important;
  width: 9px !important;
  height: 6px !important;
  margin-top: -2px !important;
}

.popup .selected-clinic__dropdown .jq-selectbox__dropdown {
  left: -12px;
}

.popup .popup__inner .select-language {
  margin-top: 50px;
}

.popup .search__record {
  margin-bottom: 40px;
  box-shadow: none;
  position: relative;
  border-radius: 8px;
}

.popup .record-search__search-input {
  padding-right: 55px;
  background-image: none;
}

body.cecutient fieldset>.record-search__search-input {
  font-size: 22px;
}

.popup .record-search__more {
  display: block;
  margin: 0 auto;
  padding: 15px 0;
  font-family: var(--medium-font);
  font-size: 14px;
  line-height: 26px;
  color: var(--main-color);
  text-align: center;
  text-transform: uppercase;
  transition: color .3s;
}

.popup .record-search__more:hover {
  color: var(--dark-color);
}

.popup .record-search__chosen-wrap {
  position: absolute;
  top: 0;
  padding: 0 20px;
  width: 100%;
  bottom: 0;
  line-height: 56px;
}

.popup .record-search__chosen-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-right: 40px;
}

.popup .record-search__filters-wrap {
  position: relative;
  margin-top: 12px;
  width: 100%;
  display: flex;
}

.popup .record-search__filters-wrap.record-search__filters-wrap--specialist {
  margin-top: 0;
}

.popup .record-search__filters-inline {
  font-family: var(--medium-font), sans-serif;
  font-size: 16px;
  line-height: 20px;
}

.popup .record-search__filters-wrap .select-type__popup-wrap {
  position: relative;
  color: #9AA7B2;
  font-size: 14px;
  line-height: 20px;
  margin-right: 25px;
  display: flex;
  align-items: center;
}

@media (max-width: 500px) {
  .popup .record-search__filters-wrap .select-type__popup-wrap {
    display: none;
  }
}

.popup .record-search__filters-wrap .select-type {
  width: 250px;
  position: relative;
  margin-bottom: 30px;
}

.popup .record-search__filters-wrap .select-type:first-child {
  margin-right: 12px;
}

.popup .record-search__filters-wrap .select-type .toggle-buttons {
  padding: 3px;
  background: #FFF;
  border-radius: 8px;
  border: 1px solid #E1E4E7;
}

.popup .select-type .toggle-button {
  background: #FFF;
  color: #95A6B3;
  padding-left: 10px;
  padding-right: 10px;
}

.popup .select-type .toggle-button--active {
  background: var(--second-main-color);
  color: #FFF;
  border-radius: 0;
}

.select-type .toggle-button--disabled {
  opacity: .4;
  user-select: none;
  cursor: default;
  pointer-events: none;
}

.popup .record-search__filters-content {
  display: flex;
}

.popup .record-search__filters-wrap .select-type--disabled {
  display: flex;
  align-items: center;
}

.popup .record-search__filters-wrap .select-type--disabled .icon-info {
  margin-right: 15px;
  color: rgba(144, 158, 170, .5);
  font-size: 20px;
  cursor: pointer;
}

@media (max-width: 500px) {
  .popup .record-search__filters-wrap {
    flex-direction: column;
  }

  .popup .record-search__filters-wrap .select-type {
    margin-bottom: unset;
  }

  .popup .record-search__filters-wrap .select-type:first-child {
    margin-right: unset;
  }

  .popup .record-search__filters-wrap .select-type:last-child {
    margin-top: 12px;
  }
}

.record-search__action {
  z-index: 1;
  width: 56px;
  height: 56px;
  position: absolute;
  right: 10px;
  top: 0;
  cursor: pointer;
}

.record-search__action-new {
  margin: 32px 0;
  width: 100%;
  text-align: center;
}

.record-search__loader {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.record-search__clear {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #EDF2F5;
  border-radius: 50%;
  text-align: center;
  font-size: 8px;
  line-height: 24px;
  color: #909EAA;
}

.popup .calendar-wrap {
  position: relative;
  margin-bottom: 50px;
}

.popup .popup-appointment__wrapper .calendar-title {
  margin-bottom: 50px;
  padding-right: 30px;
  font-family: var(--bold-font), sans-serif;
  font-size: 32px;
  line-height: 36px;
  color: #232427;
}

.popup .calendar-wrap .calendar-controls-wrap {
  position: absolute;
  left: 610px;
  top: 10px;
}

#modalCalendar .calendar-wrap .calendar-controls-wrap {
  position: relative;
  left: unset;
  top: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.calendar-controls-wrap .new-date {
  font-size: 14px;
  margin-bottom: 10px;
}

.popup-appointment__nav__period .slider-btns {
  margin-right: 5px;
}

#modalCalendar .popup-appointment__nav__period {
  position: relative;
  width: 100%;
}

#modalCalendar .popup-appointment__nav__period .period-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  font-family: var(--medium-font);
  cursor: default;
}

.popup--size-m .popup-appointment__closest-reception {
  margin-bottom: 20px;
}

#modalCalendar .slider-btns {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 32px;
}

#modalCalendar .slider-btns .slider-btn--small {
  z-index: 1;
  border: none;
  line-height: 30px;
}

.popup-appointment__nav__period .period-text {
  line-height: 32px;
  font-size: 14px;
  display: inline-block;
  vertical-align: text-bottom;
}

.popup-appointment__closest-reception {
  margin-top: 25px;
}

.popup-appointment__remote {
  margin-top: 25px;
}

.popup-appointment__remote.btn.active {
  background-color: var(--dark-color);
  color: white;
}

.popup-appointment__info {
  padding: 20px 40px;
  background: #FFF;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
}

.popup-error .popup-appointment__info {
  margin-top: 30px;
}

.popup-appointment__info-col {
  width: 47%;
}

.popup-appointment__info-row {
  display: flex;
  align-items: baseline;
  margin: 10px 0;
}

.popup-appointment__info-col-title {
  width: 100px;
  color: #95A6B3;
  flex: 0 0 auto;
}

.popup-appointment__info-col-value {
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.popup-appointment__inner .search__record .limit-items-list {
  overflow-y: none;
  max-height: unset;
}

.popup-appointment__patient-name {
  font-family: var(--medium-font), sans-serif;
  font-size: 20px;
  line-height: 32px;
}

.popup-appointment__info-col-value.communication {
  padding-left: 30px;
  background-size: 22px;
  background-repeat: no-repeat;
}

.popup-appointment__info-col-value.skype {
  background-image: url('/static/mobile_app/www/assets/images/record/skype_icon.svg');
}

.popup-appointment__info-col-value.whatsapp {
  background-image: url('/static/mobile_app/www/assets/images/record/whatsapp_icon.svg');
}

@media (max-width: 991px) {
  #recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
    padding: 15px 45px;
    flex-wrap: wrap;
  }

  #recordModalNew .btn-wrapper__bottom {
    align-items: center;
  }

  #recordModalNew .popup__warning-msg {
    width: 100%;
    margin-right: 20px;
  }

  #recordModalNew .popup__row,
  #recordModalNew .popup__row--last {
    padding: 0 50px;
  }

  .popup .calendar-wrap .calendar-controls-wrap {
    position: initial;
    display: flex;
    justify-content: space-between;
    max-width: 575px;
    margin-bottom: 10px;
    align-items: center;
  }

  .popup .calendar-wrap .popup-appointment__days {
    margin-top: 0;
  }

  .popup-appointment__closest-reception {
    margin: 0;
  }

  #recordModalNew:not(.modal-app) .popup-appointment__inner {
    padding-top: 0;
  }

  #recordModalNew .popup--appointment__header {
    position: static;
  }
}

@media (max-width: 767px) {
  #recordModalNew {
    background: #FFF;
  }

  #recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
    margin: 15px -20px -20px;
  }

  .popup .choice-clinic__hiding-btn {
    align-items: flex-start;
    margin: 20px 0 0;
  }

  #recordModalNew .tabs-wrapper .tabs li {
    width: 100%;
    display: block;
    padding: 10px 15px;
    font-size: 12px;
    letter-spacing: .02em;
    color: #778998;
    line-height: 20px;
    border-top: 1px solid #E1E4E7;
    border-bottom: none;
    border-left: none;
    background: #FFF;
  }

  #recordModalNew .tabs-wrapper .tabs li.active {
    color: var(--main-color);
  }

  #recordModalNew .tabs-wrapper .tabs li::after {
    display: none;
  }

  #recordModalNew .popup__inner {
    padding: 20px;
  }

  #recordModalNew:not(.modal-app) .popup-appointment__inner {
    padding-top: 0;
  }

  #recordModalNew .popup__row,
  #recordModalNew .popup__row--last {
    padding: 0 20px;
  }

  .popup-appointment__info {
    flex-direction: column;
  }

  .popup-appointment__info-col {
    width: 100%;
  }

  #recordModalNew .record-search__popular-result .base-btn {
    margin-right: 5px;
    margin-bottom: 10px;
  }

  .popup .record__inner .record-search__search-input {
    padding-right: 45px;
  }

  #recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 767px) {
  .popup .calendar-wrap {
    margin-bottom: 30px;
  }

  .popup .calendar-wrap .popup-appointment__days {
    width: initial;
    margin: 0 -5px 20px;
  }

  .popup-appointment__day {
    margin: 5px;
    width: 12.5%;
  }

  .popup-appointment__time-wrap {
    margin: -5px;
  }

  .popup-appointment__time {
    margin: 5px;
    width: 12.5%;
  }
}

@media (max-width: 600px) {
  #recordModalNew .popup-appointment__relative .input-row__half:first-of-type {
    margin-right: 0;
  }

  #recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
    padding: 10px 20px;
  }

  #recordModalNew .popup-appointment__relative .input__row {
    margin-bottom: 20px;
  }

  #recordModalNew .popup-appointment__form+.popup-appointment__info {
    margin: 0;
  }

  #recordModalNew .popup-appointment__login-wrap {
    flex-direction: column;
  }

  #recordModalNew .popup-appointment__login-wrap__col:first-of-type {
    max-width: 100%;
  }

  #recordModalNew .popup-appointment__form__login-btn {
    margin: 0 0 20px;
  }

  .popup-appointment__inner .popup__header {
    position: relative;
    padding: 15px;
  }

  .popup-appointment__inner .switch__wrap {
    position: relative;
    top: 0;
    left: 0;
  }

  .popup__inner.record__inner .input_checkbox {
    margin-top: 10px;
  }

  .modal-app .popup__inner.record__inner .input_checkbox {
    padding-bottom: 80px;
  }

  .popup-appointment__inner .jq-selectbox__select-text {
    font-size: 16px;
  }

  .popup-appointment__inner .jq-selectbox {
    max-width: 100%;
  }

  .popup-appointment__inner .slider {
    background-color: #B8C4CB;
  }

  .popup-appointment__inner .popup__inner {
    padding: 15px;
    border-top: 1px solid #D1DDE5;
  }

  .popup-appointment__inner .search__record .search__dropdown {
    border: 1px solid #D1DDE5;
    border-top: none;
    border-bottom: none;
    position: relative;
  }

  .popup-appointment__inner .scroll-content {
    overflow: hidden;
    margin-top: -15px;
    padding-top: 15px;
    padding-bottom: 80px;
  }

  .modal-app .popup-appointment__inner .popup__inner .btn-wrapper__bottom {
    bottom: 3.5rem;
  }

  .popup-appointment__inner .popup__inner .btn-wrapper__bottom:not(.one-btn) button {
    display: inline-block;
    width: 140px;
    min-width: initial;
  }

  .new-mobile-design .popup-appointment__wrapper {
    padding-bottom: 25px;
  }

  .new-mobile-design .popup-appointment__nav {
    font-size: 16px;
  }

  .new-mobile-design .popup-appointment__days {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
  }

  .new-mobile-design .popup-appointment__day-wrap {
    width: 13%;
  }

  .new-mobile-design .popup-appointment__day--other-month {
    opacity: 1;
  }

  .new-mobile-design .popup-appointment__day,
  .new-mobile-design .popup-appointment__day:hover,
  #modalCalendar .popup-appointment__day,
  #modalCalendar .popup-appointment__day:hover {
    width: 100%;
    margin: 0;
    border-radius: 2px;
  }

  .new-mobile-design .popup-appointment__time {
    margin: 0 5px 10px;
    padding: 0 10px;
    width: initial;
  }

  .new-mobile-design .popup-appointment__form {
    flex: 1;
    padding-bottom: 15px;
  }

  .new-mobile-design.popup--size-s {
    z-index: 2;
  }

  .popup .record__inner .search__record {
    margin-top: 10px;
    margin-bottom: 25px;
  }

  .popup .selected-clinic {
    flex-direction: column;
  }

  .popup .selected-clinic__text {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .popup .selected-clinic__dropdown .jq-selectbox__dropdown {
    left: 0;
  }

  .popup .calendar-wrap .popup-appointment__days {
    margin: 0;
  }

  .popup-appointment__info {
    display: none;
  }

  .popup-appointment__inner .popup__header {
    position: relative;
  }

  .popup-appointment__inner .switch__wrap {
    position: absolute;
    top: 20px;
    left: 35px;
  }

  .popup .choice-clinic .select-branch .jq-selectbox__trigger .jq-selectbox__trigger-arrow {
    background-image: var(--scroll-top)
  }

  .popup .calendar-wrap .calendar-controls-wrap {
    max-width: initial;
    margin-bottom: 0;
    display: block;
  }

  .popup .popup-appointment__nav__period {
    position: relative;
  }

  .popup .popup-appointment__nav__period .slider-btns {
    width: 100%;
    display: block;
    height: 40px;
    margin: 0;
  }

  .popup .popup-appointment__nav__period .slider-btns .slider-btn {
    float: initial;
    margin: -18px 0 0;
    position: absolute;
    top: 50%;
    border-color: #FFF;
    background-size: 17px;
  }

  .popup .popup-appointment__nav__period .slider-btns .slider-btn:first-of-type {
    left: 10px;
  }

  .popup .popup-appointment__nav__period .slider-btns .slider-btn:last-of-type {
    right: 10px;
  }

  .popup .popup-appointment__nav__period .period-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--medium-font), sans-serif;
    font-size: 16px;
  }

  .popup .calendar-controls-wrap .popup-appointment__closest-reception {
    display: none;
  }

  .popup-appointment__mobile {
    display: block;
  }

  .popup-appointment__mobile .popup-appointment__closest-reception {
    width: 100%;
    margin-bottom: 25px;
  }

  .popup .selected-date__select-wrap {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .popup .selected-date__select {
    flex: 1;
    margin-right: 15px;
  }

  .popup .selected-date__calendar-btn {
    box-shadow: 0 3px 5px rgba(5, 89, 134, .1);
    border-radius: 50px;
    width: 48px;
    height: 48px;
    background: #FFF url(../assets/images/icons/calendar-1_orange.svg) 50% no-repeat;
    background-size: 18px;
  }

  .popup .selected-date:not(.open-calendar) .calendar-wrap {
    display: none;
  }

  .popup .calendar-wrap {
    background: #FFF;
    padding: 15px 0 20px;
    margin: 0 -15px 20px;
    position: relative;
  }

  .popup .calendar-wrap::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #FFF;
    position: absolute;
    top: -10px;
    right: 29px;
  }

  .popup-appointment__day::before {
    display: none;
  }

  .popup-appointment__day::after {
    bottom: unset;
  }

  .popup-appointment__day {
    background: #FFF !important;
    border: none !important;
    padding: 10px;
    height: 40px;
    font-size: 18px;
    font-family: var(--regular-font);
  }

  .popup-appointment__day--other-month .popup-appointment__day {
    border: none !important;
    color: rgba(35, 36, 39, .2);
  }

  .popup-appointment__day.disabled::after,
  .popup-appointment__day--other-month .popup-appointment__day::after {
    color: rgba(35, 36, 39, .2);
  }

  .popup-appointment__day.active::after {
    color: var(--main-color);
  }

  .popup-appointment__time-wrap {
    display: none;
  }

  .popup-appointment__time-filters {
    display: none;
  }

  .popup select:disabled {
    opacity: .6;
  }

  .popup select:disabled+.validationMessage {
    display: none !important;
  }

  .popup .popup-appointment__days-of-week {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
  }

  .popup .popup-appointment__day-of-week {
    width: 13%;
    text-align: center;
    opacity: .5;
  }

  #recordModalNew .popup-appointment__relative .input-row {
    width: 100%;
    margin-bottom: 20px;
  }

  #recordModalNew .popup-appointment__relative .input-row__half {
    width: 100%;
    display: block;
    margin: 0;
  }

  #recordModalNew .popup-appointment__relative .input-row__half:first-of-type {
    margin-bottom: 20px;
    width: 100%;
  }

  #recordModalNew .popup-appointment__login-wrap__col:first-of-type {
    margin-right: 0;
    margin-bottom: 20px;
  }

  #recordModalNew .popup-appointment__login-wrap__col .input-row__half:first-of-type {
    margin-right: 0;
  }

  .record-verify__info .popup-appointment__info {
    display: block;
  }

  #modalCalendar .popup-appointment__nav__period .period-text {
    top: 50%;
    left: 50%;
    right: unset;
  }
}

@media (min-width: 600px) {
  .popup-appointment__msg--wrap {
    margin-bottom: 40px;
  }
}

@media (max-width: 500px) {
  #recordModalNew .popup-appointment__inner .popup__inner .btn-wrapper__bottom.one-btn button {
    margin-left: auto;
    width: auto;
  }

  .select-type__popup {
    width: 270px;
  }

  .popup .callback__form {
    margin-bottom: 20px;
  }

  .popup .callback__form .input__row {
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  #recordModalNew .radio-languages-wrapper .base-btn {
    width: 46% !important;
  }

  .popup .choice-clinic__hiding-btn {
    margin-bottom: 15px;
    margin-top: 5px;
  }

  .popup-appointment__selected-datetime {
    justify-content: space-between;
  }

  .popup-appointment__selected-datetime>span {
    margin-right: 0;
  }

  .popup .popup-appointment__wrapper .calendar-title {
    font-size: 24px;
    line-height: 28px;
    font-family: var(--medium-font);
    margin-bottom: 25px;
  }

  #modalCalendar .popup-appointment__days {
    width: unset;
  }
}

@media (max-width: 424px) {

  .popup .choice-clinic .select-type,
  .popup .choice-clinic .select-age,
  .popup .choice-clinic .select-branch-wrap {
    width: 100%;
    margin-right: 0;
  }

  .popup .choice-clinic .select-type .toggle-button,
  .popup .choice-clinic .select-age .toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .popup .record-search__filters-wrap .select-type {
    margin-right: unset;
    margin-bottom: 12px;
  }
}

.record-verify__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0 40px;
  flex-wrap: wrap;
}

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

.record-verify__text {
  margin-bottom: 20px;
}

.record-verify__pdf-link {
  font-size: 14px;
  color: var(--dark-color);
}

.record-verify__form .record-verify__row {
  margin-bottom: 20px;
}

.record-verify__form .input__row {
  max-width: 320px;
}

.record-verify__form a {
  color: var(--dark-color);
}

.record-verify__privacy {
  line-height: 20px;
}

.record-verify__privacy--desktop {
  font-size: 12px;
  max-width: 340px;
  margin-left: auto;
}

.record-verify__privacy--mobile {
  font-size: 14px;
  display: none;
}

.record-verify__rules {
  margin-top: 65px;
  width: 100%;
  position: relative;
}

.record-verify__rules-image {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.record-verify__rules-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 40px;
}

.record-verify__rules-wrap .record-verify__rules-card {
  background: #FFF;
  border-radius: 8px;
  padding: 22px 125px 25px 22px;
  max-width: 645px;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .record-verify__rules-wrap .record-verify__rules-card {
    padding: 22px 75px 25px 22px;
  }

  .record-verify__rules-image {
    display: none;
  }
}

.record-verify__rules-card ol {
  position: relative;
  margin-top: 24px;
}

.record-verify__rules-card ol li {
  margin-left: 16px;
  margin-bottom: 12px;
}

.record-verify__rules-card ol li::before {
  content: "•";
  color: #7C90A0;
  opacity: .3;
  font-size: 2em;
  position: absolute;
  left: 0;
}

.record-verify__rules-title {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 18px;
  font-family: var(--medium-font), sans-serif;
}

.record-verify__rules-bottom {
  font-family: var(--medium-font), sans-serif;
  margin-top: 10px;
}

@media (max-width: 767px) {
  .record-verify__header {
    padding-bottom: 15px;
  }

  .record-verify__title {
    margin-bottom: 10px;
    margin-right: 0;
    line-height: initial;
  }

  .record-verify__privacy--desktop {
    display: none;
  }

  .record-verify__privacy--mobile {
    display: block;
  }
}

.record-type__title-first {
  font-size: 20px;
  line-height: 20px;
  font-family: var(--medium-font), sans-serif;
  text-align: center;
  margin-bottom: 20px;
}

.record-type__title-second {
  font-size: 48px;
  line-height: 32px;
  text-align: center;
  font-family: var(--medium-font), sans-serif;
  margin-bottom: 50px;
}

.record-type__choice {
  display: flex;
  margin: auto;
}

.record-type__choice-item {
  width: 220px;
  height: 200px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 6px;
}

.record-type__choice-item+.record-type__choice-item {
  margin-left: 45px;
}

.record-type__item-text {
  font-family: var(--medium-font), sans-serif;
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 35px;
  text-align: center;
}

.remote-record__img {
  background: url('/static/mobile_app/www/assets/images/record/remote_record.svg') 50% no-repeat;
  flex: 1;
}

.personal-record__img {
  background: url('/static/mobile_app/www/assets/images/record/personal_record.svg') 50% no-repeat;
  flex: 1;
}

#modalSuccess .popup__inner {
  background: #EBF0F3;
}

.download-instruction {
  color: var(--dark-color);
}

.download-instruction::before {
  font-family: 'icomoon';
  content: "\e90f";
  font-size: 20px;
  color: var(--dark-color);
  padding-right: 8px;
}

body.cecutient .download-instruction::before {
  color: black;
}

#modalSuccess .modal-success__attention {
  background-color: #EDF2F5;
  border-radius: 6px;
  padding: 20px 20px 20px 50px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 24px;
}

#modalSuccess .modal-success__attention-title {
  font-size: 18px;
  line-height: 24px;
  color: #232427;
  font-family: var(--medium-font), sans-serif;
  padding-left: 30px;
  margin-left: -30px;
  margin-bottom: 20px;
  background: url(../assets/images/icons/attention_red.svg) left 30% no-repeat;
}

#modalSuccess .modal-success__attention-text {
  padding-bottom: 10px;
  border-bottom: 1px solid #BEC8D04D;
  margin-bottom: 10px;
}

#modalSuccess .popup__list {
  font-family: var(--medium-font);
  font-size: 16px;
}

#modalSuccess .dot-list {
  margin-left: 0;
  margin-top: 5px;
}

#modalSuccess .dot-list li+li {
  margin-top: 5px;
}

.popup__calendar {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 240px;
}

#modalSuccessRemote .popup__calendar {
  justify-content: space-between;
}

.popup__calendar-title {
  font-size: 14px;
  line-height: 16px;
  color: #909EAA;
  font-family: var(--medium-font), sans-serif;
}

.popup__calendar-btn-group {
  display: flex;
  align-items: flex-end;
}

.popup__calendar-btn {
  width: 34px;
  height: 34px;
  margin-left: 15px;
  box-shadow: 0 3px 5px rgba(5, 89, 134, .1);
  border-radius: 50px;
  cursor: pointer;
  background-size: contain;
}

#modalSuccessRemote .popup__calendar-btn {
  width: 30px;
  height: 30px;
}

.popup__calendar-btn.ical {
  background: #FFF url(../assets/images/icons/ical.png) 50% no-repeat;
}

.popup__calendar-btn.google {
  background: #FFF url(../assets/images/icons/google.png) 50% no-repeat;
  background-size: 18px;
}

.popup__calendar-btn.yandex {
  background: #FFF url(../assets/images/icons/yandex.png) 48% no-repeat;
  background-size: 14px;
}

@media (max-width: 600px) {
  #modalSuccess .popup__inner {
    padding: 20px;
  }
}

/* cke vacancy */
.popup__content .cke_vacancy p {
  font-family: var(--regular-font), sans-serif;
  font-size: 14px;
  line-height: 24px;
  margin: 0 !important;
}

.doctor-carousel {
  position: relative;
  overflow: hidden;
  max-width: 950px;
}

.doctor-carousel-item__container {
  position: relative;
  min-width: 280px;
}

.doctor-carousel-item__container.active {
  border: 1px solid var(--main-color);
}

.doctor-carousel__inner {
  display: flex;
  transform: transform 0.5s ease;
  gap: 32px;
}

.doctor-carousel__item {
  width: 280px;
  height: 440px;
  padding: 24px;
  border-radius: 6px;
  border: 1px solid #E1E4E7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doctor-carousel__item>img {
  object-fit: contain;
  width: 100px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: #F6F9FB;
  padding-top: 5px;
}

.doctor-carousel-item__text {
  display: flex;
  flex-direction: column;
}

.doctor-carousel-item__text p {
  margin: 0;
}

.doctor-carousel-item__text>p:first-child {
  font-size: 14px;
  font-family: var(--medium-font);
}

.doctor-carousel-item__text>p:nth-child(2) {
  font-size: 12px;
  font-family: var(--regular-font);
  color: #95A6B3;
  margin-bottom: 16px;
}

.doctor-carousel-item__text p:nth-last-of-type(-n+3) {
  font-size: 14px;
  font-family: var(--regular-font);
  margin: 4px 0;
}

.popup__content .cke_vacancy h3 {
  font-family: var(--bold-font), sans-serif;
  font-size: 20px;
  line-height: 26px;
  padding: 20px 0;
  margin: 0 !important;
}

.modal-btn__block {
  position: relative;
  display: flex;
  gap: 16px;
}

/* cke END */
#recordModalNew .popup__content {
  padding-top: 20px;
  background-color: #EBF0F3;
}

@media (max-width: 991px) {
  #recordModalNew .popup__content {
    margin-bottom: 30px;
  }
}

#recordModalNew .popup__content .callback__form-resize {
  max-width: unset;
}

#recordModalNew .popup__content .callback__form-resize .popup__row-languages-wrap {
  max-width: 600px;
  align-items: baseline;
}

#recordModalNew .popup__description-record {
  max-width: 600px;
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 28px;
}

#recordModalNew .radio-languages-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
}

#recordModalNew .radio-languages-wrapper .base-btn {
  width: 140px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  margin-bottom: 16px;
  font-family: var(--medium-font), sans-serif;
  font-size: 14px;
  line-height: 20px;
}

#recordModalNew .radio-languages-wrapper .base-btn input {
  display: none;
}

#recordModalNew .radio-languages-wrapper .base-btn input[type="radio"]:checked {
  background-color: #E2E7EC;
}

@media (max-width: 424px) {
  #recordModalNew .radio-languages-wrapper .base-btn {
    margin-right: 0;
  }
}

/* Remote services */
#recordModalNew .remote__title {
  font-family: var(--medium-font);
  font-size: 20px;
  line-height: 32px;
  color: #232427;
  margin-bottom: 25px;
}

#recordModalNew .remote__about {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #E1E4E7;
  font-size: 14px;
  line-height: 24px;
}

#recordModalNew .remote__list {
  background: #FFF;
  border-radius: 6px;
}

#recordModalNew .remote__list li {
  display: flex;
  align-items: center;
  padding: 15px 40px;
  cursor: pointer;
  transition: background-color .3s;
}

#recordModalNew .remote__list li+li {
  border-top: 1px solid #EDF2F5;
}

#recordModalNew .remote__list li:hover {
  background-color: var(--extra-light-color);
}

#recordModalNew .remote__select-service {
  position: relative;
  opacity: 0;
  margin-left: auto;
  padding-right: 30px;
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
  color: var(--main-color);
  transition: opacity .3s;
}

#recordModalNew .remote__select-service .icon-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  font-size: 16px;
  line-height: 20px;
}

#recordModalNew .remote__list li:hover .remote__select-service {
  opacity: 1;
}

#recordModalNew .remote__header .record-search__more {
  background-color: #FFF;
  border-radius: 6px;
}

@media (max-width: 424px) {
  #recordModalNew .remote__list li {
    flex-direction: column;
    align-items: initial;
  }

  #recordModalNew .remote__select-service {
    margin-left: 0;
    margin-top: 20px;
    padding-right: 30px;
  }
}

/* Onboarding */
.onboarding__content {
  padding: 45px;
  text-align: center;
}

.onboarding__content .owl-item>div {
  transform: scale(.8);
  transition: transform .4s ease-in-out;
}

.onboarding__content .owl-item.center>div {
  transform: scale(1);
}

.onboarding__title {
  font-family: var(--bold-font);
  font-size: 24px;
  line-height: 20px;
  text-align: center;
  color: #232427;
  margin-bottom: 15px;
}

.onboarding__description {
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #909EAA;
}

.onboarding__content-items {
  overflow: auto;
}

.onboarding__image {
  width: unset !important;
  display: initial !important;
  max-width: 100%;
  max-height: 350px;
  margin-top: 10px;
}

.onboarding__video {
  width: 100%;
  margin-bottom: 35px;
  max-width: 100%;
  margin-top: 10px;
}

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

.onboarding__btns button {
  border: none;
  background: transparent;
  color: var(--main-color);
  font-family: var(--medium-font);
  font-size: 16px;
  line-height: 20px;
  transition: color .3s;
}

.onboarding__btns button:hover {
  border: none;
  background: transparent;
  color: var(--main-color);
}

.onboarding__btns .onboarding__btns-previous {
  display: none;
}

.communication-selector {
  margin-bottom: 40px;
}

.communication-selector [type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.communication-selector [type=radio]~img {
  cursor: pointer;
  width: 35px;
  height: 35px;
}

.communication-selector [type=radio]:checked~img {
  border: 2px solid var(--main-color);
  border-radius: 90px;
}

.communication-selector__title {
  margin-bottom: 15px;
}

.communication-selector__item+.communication-selector__item {
  margin-left: 15px;
}

.password-requirements {
  font-family: var(--regular-font);
  font-size: 14px;
  line-height: 20px;
  color: #7C90A0;
}

#modalAppUpdate {
  bottom: 0% !important;
}

.popup__row-fio {
  max-width: 268px;
  margin-top: 32px;
}

/* new styles for record calendar */
.calendar_new__days-of-week {
  display: flex;
}

.calendar-new__days {
  width: 404px;
  overflow: hidden;
  height: auto;
  margin: 0 !important;
}

.calendar-new__day {
  margin: 10px;
  display: block;
  float: left;
  position: relative;
  /* margin: 10px 10px 0; */
  font-size: 20px;
  width: 32px;
  height: 32px;
  /* border: 1px solid #FFF; */
  background-color: #FFF;
  border-radius: 50%;
  color: #232427;
  font-family: var(--medium-font), sans-serif;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
  border: none;
}

.calendar-new__day::after {
  left: 0;
  right: 0;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  color: #232427;
  content: attr(data-day-num);
  top: 50%;
  transform: translate(0, -50%);
  bottom: inherit;
}

.calendar-new__day-of-week {
  margin: 10px;
  width: 32px;
  height: 32px;
  text-align: center;
}

.disable-day::after {
  color: #95A6B3;
  user-select: none;
  cursor: default;
}

.disable-day:hover {
  border: none !important;
  user-select: none;
  cursor: default;
}

.disable-day:hover::after {
  color: #95A6B3 !important;
  user-select: none;
  cursor: default;
}

.calendar-new__day:not(.active):not(.disable-day):hover::before,
.calendar-new__day:not(.active):not(.disable-day):hover::after {
  color: #fff;
}

.calendar-new__day:not(.active):not(.disable-day):hover {
  background-color: var(--main-color);
  border: none;

}

.popup-appointment__day--other-month>.calendar-new__day::after {
  color: #95A6B3;
}

.calendar-wrap-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.record-time__card {
  position: relative;
  width: 80px;
  height: 40px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #E1E4E7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.record-time__container {
  display: grid;
}

.time-of-day__container {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.doctor-cards__container {
  position: absolute;
  background: white;
  padding: 15px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 200px;
  z-index: 100;
}

.doctor-info__photo-block {
  border-radius: 100%;
  width: 100px;
  background-color: #F6F9FB;
  height: 100px;
  object-fit: cover;
}

.doctor-info__photo {
  border-radius: 100%;
  width: 90px;
  height: 90px;
}

.doctor-info.active {
  border: 1px solid var(--main-color);
}

.doctor-cards__container[style*="block"] {
  display: block !important;
}


.multiple-doctors__container {
  position: absolute;
  margin-top: 16px;
  top: 100%;
  background: #fff;
  padding: 40px 20px 20px 20px;
  width: 280px;
  height: 159px;
  border-radius: 6px;
  border: 1px solid #E1E4E7;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.multiple-doctors__container>.popup__close {
  top: 16px;
  right: 16px;
}

.avaliable-doctor-count__text {
  color: black;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--medium-font);
  line-height: 19px;
}

.time-of-day__time {
  display: grid;
  grid-template-columns: repeat(7, 80px);
  gap: 8px;
}

.time-of-day__title {
  font-family: 'Core Sans A 55 Medium';
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 8px;
}

.no-appointment__title {
  font-family: 'Core Sans A 45 Regular';
  font-size: 14px;
  font-weight: 400;
}

/* new styles for record calendar */

@media (max-width:900px) {
  .calendar-wrap-container {
    flex-direction: column;
    gap: 20px;
    align-items: start;
  }

  .record-time__container {
    margin: 0;
  }

  .multiple-doctors__container {
    left: 50%;
    top: 80%;
  }

  .record-time__container {
    order: 2;
    width: 100%;
  }
}

@media(max-width:1150px) {
  .time-of-day__time {
    grid-template-columns: repeat(5, 80px);
  }
}

@media (max-width: 500px) {
  .calendar-wrap-container {
    align-items: center;
  }

  .time-of-day__time {
    grid-template-columns: repeat(4, 80px);
  }

  .record-time__container{
    justify-content: center;
  }
}

@media (max-width:377px) {
  .time-of-day__time {
    grid-template-columns: repeat(4, 70px);
  }

  .record-time__card {
    width: 60px;
  }
}

@media (max-width: 1000px) {
  #record-select-doctor-modal .doctor-carousel__item {
    width: auto;
    height: auto;
  }
}

@media (max-width:576px) {
  .modal-btn__block {
    margin-top: 20px;
  }

  .slider-wrapper {
    margin-bottom: 0 !important;
  }

  .record-time__card {
    position: static;
  }

  .multiple-doctors__container {
    top: auto;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
  }


}
