/* Main style */
body.is_app {
  -webkit-overflow-scrolling: touch;
}
body.is_app * {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box !important;
  user-select: none;
  -webkit-user-select: none;
}
body.is_app input,
.is_app textarea {
  user-select: initial !important;
  -webkit-user-select: initial !important;
}
input[type="password"] {
  position: relative;
}
.content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 3.5rem 0;
  overflow-y: scroll;
}
@media (max-width: 991px) {
  .cabinet .mobile-content {
    margin-bottom: 3.5rem;
  }
}
.visible-lg {
  display: block;
}
.hidden-lg {
  display: none !important;
}
.visible-xs {
  display: none !important;
}
.hidden-xs {
  display: block;
}
@media (max-width: 991px) {
  .visible-lg {
    display: none !important;
  }
  .hidden-lg {
    display: block !important;
  }
}
@media only screen and (max-width: 600px) {
  .visible-xs {
    display: block !important;
  }
  .hidden-xs {
    display: none !important;
  }
}
.h100 {
  min-height: 100vh;
}
/* analysis */
@media (max-width: 767px) {
  .profile.container {
    padding: 0 !important;
    margin-bottom: 40px;
    margin-top: 0;
  }
  .profile .row,
  .profile [class*='col-'],
  .profile ul {
    padding: 0 !important;
    margin: 0 !important;
  }
  .profile ul li {
    width: 20%;
    height: 60px;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 0 !important;
    border-left: 0;
    margin-bottom: 0;
    text-align: center;
    line-height: 55px;
  }
  .profile ul li span {
    margin: auto !important;
  }
  .profile ul li:not(.current) span:not([class]) {
    display: none;
  }
  .profile ul li span:not([class]) {
    font-size: .9em;
    display: inline-block;
    line-height: 1.5em;
    vertical-align: middle;
    white-space: pre-wrap;
    max-width: 75%;
    padding-left: 5px;
  }
  .profile ul li.current {
    width: 40%;
    z-index: 10;
    box-shadow: 0 15px 46px rgba(6, 72, 122, .18);
    border-color: #FFF;
    color: var(--main-color);
  }
}
@media (max-width: 424px) {
  .profile ul li {
    width: 15%;
  }
  .profile ul li.current {
    width: 55%;
  }
}
/* calendar */
@media (max-width: 991px) {
  .popup-info {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: none;
  }
  .popup-info::before {
    content: '';
    display: block;
    position: fixed;
    height: 100px;
    top: -100px;
    left: 0;
    right: 0;
    background: #FFF;
  }
  .popup-info .info-record__header {
    padding: 20px 0;
  }
  .popup-info .info-record__header .title {
    text-transform: uppercase;
  }
  .popup-info .info-record__header img {
    height: 23px;
  }
}
/* mobile-select */
.mobile-select {
  padding: 0 15px;
  line-height: 25px;
  padding-bottom: 1em;
}
.mobile-select .items-wrapper {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 0 20px;
  background: #FFF;
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  visibility: hidden;
}
.mobile-select.active .items-wrapper {
  visibility: visible;
}
.mobile-select.active .items-wrapper::-webkit-scrollbar {
  height: 0;
}
.mobile-select.active .items-wrapper .item {
  display: inline-block;
  padding: 20px 20px 20px 0;
  color: rgb(137, 152, 165);
}
.mobile-select.active .items-wrapper .item.active {
  color: rgb(40, 41, 43);
  font-family: var(--bold-font), sans-serif;
}
.PageHome .mobile-select {
  padding: 0 20px;
  line-height: 3em;
}
.PageAnalyses .mobile-select {
  padding: 0 0 1em;
}
.edit-buttons {
  display: flex;
  flex-wrap: wrap;
}
/* mobile-app */
.screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}
.page-header {
  background-color: white;
  height: 3.5rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  width: 100%;
  border-bottom: 1px solid #E3E6E8;
  /* box-shadow:  0px 10px 15px 0px rgba(231, 239, 243, 0.65); */
}
.page-header h1 {
  line-height: 3.5rem;
  font-size: 1.3rem;
}
.page-content {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: auto;
}
.edit .banner.mobile_app {
  min-height: calc(100vh - 7rem);
  padding-bottom: 0;
}
@media (max-width: 991px) {
  /* popup */
  .is_app #calendarPrintModal.popup {
    max-height: 100vh;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow-y: scroll;
    transition: unset;
    margin: 0 !important;
  }
  .is_app #calendarPrintModal.popup .popup__inner {
    padding: 20px 15px;
  }
  .is_app #calendarPrintModal.popup .popup__bottom {
    padding: 0 20px 15px;
    display: block !important;
  }
  /* modal-generic */
  .modal-generic {
    position: fixed;
    top: 2rem;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 1001;
    margin: 0;
  }
  .modal-generic .popup_inner {
    min-height: 300px;
  }
  .modal-generic .popup__inner {
    padding: 30px;
    padding-bottom: 80px;
    overflow: auto;
    max-height: calc(100vh - 120px);
  }
  .record_fail_style {
    margin-bottom: 80px;
  }
  .modal-generic .popup__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 30px;
    background: #FFF;
    border-top: 1px solid #DFE8ED;
  }
  .modal-generic .popup__bottom .base-btn + .base-btn {
    color: var(--main-color);
    border: none;
    box-shadow: none;
  }
  .modal-generic.modal-center {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .modal-generic.modal-center .popup__inner {
    max-height: calc(100% - 50px);
  }
}
@media (max-width: 767px) {
  .popup-info .bottom .active {
    top: 0;
    right: 0;
  }
  .modal-generic {
    width: initial;
    min-width: initial;
  }
}
/* Feedback */
#feedbackForm form > div {
  margin-bottom: 20px;
}
#feedbackForm textarea {
  resize: none;
}
/* mobile record */
.content #recordModalNew {
  margin-top: 0 !important;
  margin-bottom: 0;
  height: auto;
  overflow-y: auto;
}
@media (max-width: 991px) {
  .cabinet .btn-wrapper__bottom {
    margin-bottom: 3.5rem;
  }
}
.is_app .mobile_buttons_container .btn-wrapper__bottom,
.is_app .mobile_buttons_container .feedback-button-wrapper {
  display: block !important;
  position: absolute;
  bottom: 3.5rem;
  background-color: rgb(237, 243, 246);
  left: 0;
  right: 0;
  padding: 15px;
  z-index: 1000;
}
.is_app .mobile_buttons_container .feedback-button-wrapper button {
  width: 50% !important;
}
.is_app .page-header {
  box-shadow: none;
}
div[class^="preload"] {
  position: absolute;
  top: -10000px;
  left: -10000px;
}
.is_app .tabs-wrapper .tabs li {
  width: 50%;
  /* height: 60px; */
  border-bottom: none;
}
.is_app .tabs-wrapper .tabs li.active {
  width: 50%;
}
.is_app .tabs-wrapper .tabs li:not(.active)::after {
  content: none;
}
.is_app .popup-appointment__inner .popup__inner {
  box-shadow: none;
}
.is_app img {
  vertical-align: middle;
}
.is_app .record-verify__header {
  padding-top: 0;
}
.is_app .popup-appointment__info {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  #analyse-form .analyses-filter-block {
    flex-direction: column;
    width: 100%;
  }
  #analyse-form .analyses-filter-block .analyses_search_item:first-child {
    justify-content: space-between;
  }
  #analyse-form .analyses-filter-block .analyses_search_item:first-child > div {
    margin: 0;
  }
  #analyse-form .analyses-filter-block .analyses_search_item.search-field {
    top: 43px;
    left: 200px;
  }
  .search-select .mobile-select {
    padding-left: 0;
    padding-right: 35px;
    display: inline-block;
  }
}
@media (max-width: 500px) {
  #analyse-form .analyses-filter-block .analyses_search_item.search-field.active {
    left: 0;
  }
}
/* popup-calendar-events */
.is_app #popup-calendar-events.popup-info {
  top: 0 !important;
  height: 100vh !important;
}
.is_app #popup-calendar-events .info-record {
  padding: 40px 20px 20px !important;
}
/* Pincode Form */
.delete-icon {
  background: url(../assets/images/icons/delete.svg) 35% 50% no-repeat;
  background-size: 70%;
}
.pincode-form {
  max-width: 250px;
  margin: 20px auto 0;
}
.pincode-form .dots {
  display: flex;
  justify-content: space-evenly;
  width: 180px;
  margin: auto;
  margin-bottom: 3vh;
}
.pincode-form .dot {
  position: relative;
  background: #FFF;
  border: 2px solid #BAC3CB;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: background .2s ease;
}
.pincode-form .dot.active {
  background: #BAC3CB;
}
.pincode-form .dot.wrong {
  animation: wrong .6s ease;
}
.pincode-form .dot.correct {
  animation: correct .6s ease;
}
.pincode-form .numbers {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0 -20px;
}
.pincode-form .numbers .btn {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 5px 20px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.8em;
  user-select: none;
}
.filler {
  background-color: transparent !important;
}
.pincode-form .numbers .btn:active {
  background-color: #EEF2F5;
}
.pincode-form__description {
  margin-top: 25px;
  color: #7C90A0;
  font-size: 14px;
  display: block;
}
@-webkit-keyframes wrong {
  20% {
    background: #FA5252;
    border-color: #FA5252;
  }
  40% {
    -webkit-transform: translate(-15px, 0);
    transform: translate(-15px, 0);
  }
  60% {
    -webkit-transform: translate(10px, 0);
    transform: translate(10px, 0);
  }
  80% {
    -webkit-transform: translate(-5px, 0);
    transform: translate(-5px, 0);
  }
}
@keyframes wrong {
  20% {
    background: #FA5252;
    border-color: #FA5252;
  }
  40% {
    -webkit-transform: translate(-15px, 0);
    transform: translate(-15px, 0);
  }
  60% {
    -webkit-transform: translate(10px, 0);
    transform: translate(10px, 0);
  }
  80% {
    -webkit-transform: translate(-5px, 0);
    transform: translate(-5px, 0);
  }
}
@-webkit-keyframes correct {
  20% {
    background: #7ADE7D;
    border-color: #7ADE7D;
  }
  40% {
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
  }
  60% {
    -webkit-transform: translate(0, 5px);
    transform: translate(0, 5px);
  }
  80% {
    -webkit-transform: translate(0, -5px);
    transform: translate(0, -5px);
  }
}
@keyframes correct {
  20% {
    background: #7ADE7D;
    border-color: #7ADE7D;
  }
  40% {
    -webkit-transform: translate(0, -10px);
    transform: translate(0, -10px);
  }
  60% {
    -webkit-transform: translate(0, 5px);
    transform: translate(0, 5px);
  }
  80% {
    -webkit-transform: translate(0, -5px);
    transform: translate(0, -5px);
  }
}
.is_app .PageRequestPin .loader,
.is_app .PageInputPin .loader {
  margin: 0 auto;
}
/* cabinet mobile app  */
.mobile {
  margin: 0;
  padding: 0;
}
.mobile .auth {
  width: 100vw !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.mobile .auth * {
  text-align: center;
}
.mobile .auth__header {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile .auth__content {
  flex-grow: 2;
  max-width: 480px;
}
.mobile .auth__header .auth__back-button {
  background: url(../assets/images/cabinet/arrow__return.svg) no-repeat center left;
  width: 20px;
  height: 30px;
}
.mobile .auth__header .auth__cancel-button {
  padding: 0;
  background-color: transparent;
  border: none;
  font-family: var(--regular-font), sans-serif;
  font-size: 16px;
  color: #7C90A0;
}
.mobile .auth__header + .auth__content {
  padding-top: 0;
}
.mobile .auth__content .auth__logo {
  background: var(--logo) 50% 50% no-repeat;
  background-size: 80px;
  height: 80px;
  width: 80px;
  margin: auto;
  margin-bottom: 3vh;
}
.mobile .auth__content .auth__title {
  font-family: var(--medium-font);
  color: #232427;
  font-size: 18px;
}
.mobile .auth__content .auth__description {
  margin-top: 10px;
  font-size: 14px;
  line-height: 24px;
  color: #7C90A0;
}
.mobile .auth__content .base-input {
  margin: 10px 0;
  max-width: 400px;
  background-color: #F4F5F7;
  border-radius: 6px;
  border-color: transparent;
}
.mobile .auth__content .base-input:first-of-type {
  margin: 30px 0 10px;
}
.mobile .auth__content .base-input:focus,
.mobile .auth__content .base-input:active {
  background-color: #FFF;
}
.mobile .auth__content .base-input[type="password"].validation-error {
  border-color: #F42A2A;
}
.mobile .auth__content .base-input[type="tel"].validation-error {
  background: #FF26331A;
}
.mobile .auth__content .auth__content-text {
  font-size: 14px;
  line-height: 24px;
  color: #232427;
}
@media (min-width: 500px) {
  .mobile .auth__content {
    margin: auto;
  }
}
.mobile .auth__footer {
  flex-grow: 1;
  max-height: fit-content;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mobile .auth__footer .auth__footer-button {
  background-color: transparent;
  border: none;
  font-family: var(--regular-font);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .02em;
  color: var(--main-color);
}
.mobile .auth__footer .auth__footer-button:not(:first-of-type) {
  margin-top: 15px;
  color: #7C90A0;
}
.mobile .auth__content .auth__button-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 113px;
  min-width: 250px;
}
.mobile .auth__content .auth__button-submit button {
  margin: 40px 0 25px;
  width: 220px;
}
.mobile .auth__content .form-information {
  font-family: var(--regular-font);
  font-size: 14px;
  max-width: 250px;
  margin: 0 auto;
}
.mobile .auth__popup {
  text-align: center;
  position: absolute;
  top: 10vh;
  right: 3vw;
  left: 3vw;
  padding: 5vh 2vw;
  background-color: white;
  z-index: 889;
}
.mobile .auth__popup .auth__popup-title {
  font-family: var(--medium-font), sans-serif;
  padding: 1em 2em;
  font-size: 16px;
}
.mobile .auth__popup .auth__popup-message {
  padding: 1em 0;
  color: #7C90A0;
  font-size: 14px;
}
.mobile .auth__popup .auth__popup-button {
  font-family: var(--medium-font), sans-serif;
  margin-top: 4em;
  font-size: 16px;
  color: var(--dark-color);
  border: none;
  background-color: transparent;
}
#About .accordion > li {
  border: none;
  padding-top: 0;
  margin-top: 0;
}
#About .accordion-header {
  padding: 15px 40px 15px 0;
  font-size: 15px;
}
#About .plus-minus-toggle {
  right: 0;
}
.app-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  bottom: 0;
}
.app-menu .base-btn {
  margin: auto 0 111px 0;
}
p a[href^='https'] {
  color: var(--dark-color);
}
.is_app .feedback-button {
  display: flex;
  justify-content: center;
  align-items: center;
}
.is_app .app-version {
  color: #95A6B3;
}
