@charset "utf-8";
/*reset*/
html, body, div, span,
h1, h2, h3, h4, p, blockquote, a,
small, strike, strong, b, em, i, sub, sup, img, ins,
ul, ol, li, dl, dt, dd,
fieldset, form, label,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: none;
  padding: 0;
  margin: 0;
  outline: 0;
  vertical-align: baseline
}

html{
    overflow: auto;
}

html, body {
  height: 100%;
}


body{
    overflow-y: scroll1;
}

.btn-reset {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#wrap {
  position: relative;
  width: 100%;
  min-height: 100%;
  background-color: #faf9fa;
  height: auto;
  padding-bottom: 22px;
}

#center_side a {
  text-decoration: underline;
}


#center_side .dropdown-menu li > a {
  text-decoration: none;
}

#center_side a.btn {
  text-decoration: none;
}

#center_side .pagination a {
  text-decoration: none;
}

#top_side a {
  text-decoration: underline;
}

#top_side a.btn {
  text-decoration: none;
}

#wrap .select2-container a.select2-choice {
  text-decoration: none;
  font-size: 13px;
}

.select2-results li {
  font-size: 13px;
}

#center_side a.pseudo-link {
  text-decoration: none;
}

#center_side a.pseudo-link:hover {
  text-decoration: none;
}

#top_side_bar {
  /*margin-bottom: 20px;*/
}

#top_side_bar #system_header {
  /*height: 40px;*/
  /*padding: 0 0 0 30px;*/
  /*background-color: #0088CC;*/
}

#top_side_bar #system_header h1 a {
  color: #fff;
  font-family: Trebuchet MS, Arial, sans-serif;
  font-size: 22px;
  white-space: nowrap;
}

#top_side_bar #system_header h1 a:hover {
  text-decoration: none;
}

#top_side_bar .navbar {
  margin: 0;
}

#top_side_bar #current_user {
  /*float:right;*/
  color: #fff;
  /*margin-right:15px;*/
  /*margin-top:12px;*/
}

#top_side_bar #user_notifs {
  float: right;
  color: #fff;
  margin-right: 9px;
  margin-top: 13px;

}

#top_side_bar #user_notifs a {
  color: #fff;
}

#top_side_bar #user_notifs .badge {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 11px;
  padding-left: 7px;
  padding-right: 7px;
  background: #1ABB9C !important;
  border: 1px solid #1ABB9C !important;
  color: #fff;
}

#top_side_bar #patient_search_block {
  /*position: absolute;*/
  /*right: 5px;*/
  /*top:47px;*/
  /*float: right;*/
  /*margin-top: 5px;*/
}

#top_side_bar #patient_search_block .patient_search_input {
  width: 240px;
}

#top_side_bar #patient_search_block .btn {
  margin-top: 0;
}

#top_side_bar #current_user a {
  color: #fff;
}

#top_side_bar #current_user a:hover {
  background-color: transparent;
}

#top_side_bar #current_user .dropdown-menu a {
  color: #222;
}

#top_side_bar #current_user .dropdown-menu a:hover {
  color: #fff;
}

#top_side_bar #current_user .dropdown .caret {
  border-top-color: rgb(255, 255, 255);
  border-bottom-color: rgb(255, 255, 255);
  opacity: 1;
  margin-top: 9px;
}

#top_side_bar #page_header {
  /*margin: 0 0 0 30px;*/
}

#top_side {
  position: relative;
  margin: 0 20px 0 15px;
}

#center_side {
  position: relative;
  padding: 0 0 0 12px;
  /*width: 100%;*/
}

.messages {
  width: 400px;
  padding: 0;
  margin: 0;
}

.messages li {
  list-style-type: none;
}

.messages li div {
  margin-top: 20px;
}

#footer {
  width: 100%;
  clear: both;
  height: 30px;
  line-height: 30px;
  padding: 5px 0 5px 0;
  text-align: center;
  color: #fff;
  background-color: #0088CC;
}

#footer a {
  color: #fff;
  text-decoration: underline;
}


.clear {
  clear: both;
}

.text-center {
  text-align: center;
}

h4.text-error {
  border: 1px solid #B94A48;
  padding: 10px;
  margin: 0 0 10px 0;
  width: 1000px;
}

#center_side .nav.nav-tabs a {
  text-decoration: none;
  color: #555555;
}

#center_side .nav-tabs > li > a {
  border-color: #eeeeee #eeeeee #dddddd;
}

#center_side .nav > li > a {
  text-decoration: none;
  background-color: #eeeeee;
}

#center_side .nav-tabs > .active > a, .nav-tabs > .active > a:hover {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  background-color: #FFFFFF;
  border-color: #DDDDDD #DDDDDD rgba(0, 0, 0, 0);
  border-image: none;
  border-style: solid;
  border-width: 1px;
  color: #555555;
  cursor: default;
  font-weight: bold;
}

.empty_row td {
  text-align: center;
  padding: 15px;
}

.ajax-spinner {
  background-image: url('../img/select2-spinner.gif');
  /*background-position: 7px 5px;*/
  /*background-repeat: no-repeat;*/
  width: 16px;
  height: 16px;
  /*display: inline-block;*/
  display: none;
}

#top_side .pseudo_link {
  cursor: pointer;
  color: #0088cc;
  text-decoration: none;
  border-bottom: 1px dotted #0088cc;
  /*border-bottom: 1px dashed #0088cc;*/
  cursor: pointer;
  display: inline-block;
  font-size: 0.9em;
  /*margin-left: 104px;*/
  margin-top: 3px;
  text-decoration: none;
}

#center_side .pseudo_link {
  cursor: pointer;
  border-bottom: 1px dashed #0088cc;
  text-decoration: none;
  display: inline-block;
}


/*new layout adaption*/
.header {
  padding: 0 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  padding: 4px 20px;
  background-color: #0088CC;
}

.eclinic__title {
  display: flex;
}

.eclinic__title-link {
  display: inline-block;
  width: 50px;
  margin-right: 4px;
}

.eclinic__title-img {

}

.current__user {
  display: flex;
  align-items: center;
}

.header__bottom-btns {
  display: flex;
  justify-content: right;
  width: auto;
  margin-right: 10px;
}

.header__bottom-btns div:not(:last-child) {
  margin-right: 8px;
}

.patient_search_block {
  order: 4;
}

.navbar .nav {
  margin: 0;
  margin-left: -10px;
  display: flex;
  float: none;
}

.navbar-inner {
  display: flex;
  align-items: center;
  padding: 5px 20px;
  justify-content: space-between;
}

.header__page {
  white-space: nowrap;
  display: inline-block;
  padding: 0 10px;
}

.navbar-inner:before, .navbar-inner:after {
  display: none;
}


.header-right__btns {
  display: flex;
  align-items: center;
}

.plus-btn {
  order: 5;
}

.add-patient-btn {
  margin: 0 !important;
}

.header__bottom-btns i {
  width: 14px;
  height: 14px;
}

.navbar .nav > li {
  float: none;
  white-space: nowrap;
}

.navbar .nav > li > a {
  padding: 10px;
}

.appoint__btn-search {
  white-space: nowrap;
}

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

.appoint__filter-first {
  display: flex;
  width: 920px;
  max-width: 100%;
  justify-content: space-between;
  padding-right: 10px;
}


.appoint__block {
  flex: 1;
  padding-left: 10px;
}

.appointment__spec-search {
  position: relative;
  display: flex;
  width: 38%;
}

.appoint__filter-select .cabinet_field {
  width: 100%;
}

.appoint__filter-select {
  width: 100%;
}

.appoint__filter-select .resource_field.l {
  width: 100%;
}

.spec-search__text {
  display: inline-block;
  margin-right: 10px;
  padding: 5px 0;
}

.appointment__date {

}

.filter__select-bottom {
  display: flex;
}

.appoint__not-empty {
  display: flex;
  align-items: center;
}

.appoint__not-empty label {
  white-space: nowrap;
}

.appoint__date {
  margin-right: 10px;
}

.date__input:not(:last-child) {
  margin-right: 14px;
}

.date__input input {
  width: 100px !important;
}

.filter_form {
  max-width: 1500px;
}

.registry {
  display: flex;
  align-items: flex-start;
  padding: 20px 0 0 0;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}

.registry__col:not(:last-child) {
  margin-right: 40px;
}

.regis__col {
  display: flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 22px;
}

.regis__col-label {
  white-space: nowrap;
  display: inline-block;
  margin-right: 7px;
}

.regis__col a {
  width: 100%;
  display: inline-block;
}


.regis__input-check input {
  display: inline-block;
  margin-right: 10px;
}

.regis__group-service .service_type_field {
  width: 100%;
}

.regis__col-filter {
  display: flex;
  padding: 20px 0;
  flex-direction: column;
}

.regis__col-oms-title {
  margin: 0 !important;
  margin-right: 15px !important;
  white-space: nowrap;
  width: 78px;
}

.regis__col-oms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.regis__col-oms select {
  display: block;
}

.oms__filter-select {
  display: flex;
  align-items: center;
}

.registry__search-result {

}

.regis-result {
  display: flex;
  align-items: flex-end;
  max-width: 1500px;
  padding: 0 20px 0 0;
}

.regis-result__table {
  width: 850px;
  margin: 0;
}

.regis-result__btn {
  display: flex;
  margin-left: 15px;
  margin-top: 0;
}

.see__class {
  order: 4;
  display: flex;
  align-items: center;
}

.see__class input {
  margin-top: 0;
  margin-right: 5px;
}

.filter_form,
.filter-form {
  padding-top: 20px;
}

.after__header-fixed {
  height: 100px;
  margin-bottom: 20px;
}

@media (max-width: 1370px) {
  .header__bottom-btns {
    margin-right: 0;
  }

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

  .patient_search_block {
    margin-top: 5px;
  }

  .after__header-fixed {
    height: 118px;
  }
}


@media (max-width: 1300px) {
  .appointment__filter {
    display: flex !important;
    flex-direction: column !important;
  }

  .appointment__filter a:not(:last-child) {
    margin-bottom: 7px;
  }

}

@media (max-width: 1240px) {
  .payer_field,
  .regis__group-service .service_type_field,
  .regis__col .services_field {
    width: 250px !important;
  }

  .date__input input {
    width: 84px !important;
  }

}

@media (max-width: 1200px) {
  .header__page {
    font-size: 14px !important;
  }
}

@media (max-width: 576px) {
  .after__header-fixed {
    height: 0;
  }
}

/* стили из base.html */
.add-service-item-btns {
  margin-bottom: 25px;
  display: block;
  width: 150px;
  align-self: flex-end;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
}

.select-mg {
  margin-bottom: 10px;
}

.warehouse-input {
  appearance: none !important;
  padding: 4px 0 4px 4px !important;
  background: none !important;
  border: 1px solid rgba(60, 60, 60, .26) !important;
  border-radius: 4px !important;
  white-space: normal;
  display: block;
  width: 100%;
  outline: none;
  margin-bottom: 10px;
}

.field {
  width: 70px;
  cursor: text !important;
  background: transparent !important;
  color: black;
  text-align: center;
  outline: none;
}

.notEditableField {
  border: 1px solid transparent;
}

.editableField {
  border: 1px solid rgba(82, 168, 236, 0.8);
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(82 168 236 / 60%);
}

.array-price__name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.array-price__title {
  padding: 0 10px;
  text-align: left;
  display: inline-block;
}

.price-btn__delete {
  display: inline-block;
  padding: 0;
  font-size: 12px;
  border: none;
  background: transparent;
}

.price-container-btn {
  display: flex;
  justify-content: space-between;
}

@media print {
  #addItemSlidePanel {
    border: 5px solid black;
  }
}

.logbook_form-btn {
  margin-top: 0 !important;
}

#top_side_bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
}

.example {
  border: 2px solid red;
}

.message-center-button-unread {
  padding: 1px 12px !important;
}

.sidebar.middle {
  width: 700px;
}

.select-option {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 5px 0;
}

.select-option-name {
  white-space: break-spaces;
}

.select-option-price {
  display: flex;
  justify-content: center;
  height: 20px;
  align-items: center;
  padding: 2px 5px;
}

.select-option:hover {
  color: white;
}

.vs__dropdown-option--highlight .select-option-price {
  color: #fff;
}

/* общие стили для страниц */

.top-page {
  border: 1px solid #dbdee1;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 7%);
  margin-bottom: 25px;
  padding: 20px;

}


.top-page {
  border: 1px solid #dbdee1;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 7%);
  margin-bottom: 25px;
  padding: 20px;
}

.selected {
  opacity: 0.5;
}

.addclass {
  background: #0f5132 !important;
}

.for-drag-example {
  width: 500px;
  height: 100px;
  border: 1px solid teal;
  background-color: lightgoldenrodyellow;
  margin-bottom: 20px;
}


.second-zone {
  width: 500px;
  height: 100px;
  border: 1px solid lightgoldenrodyellow;
  background-color: teal;
}

.drop-backlight {
  opacity: 0;
}

.openSlidePanel {
  animation: open-slide-panel 0.3s  linear;
}

.sidebar.openSlidePanel {
  right: 0;
}

/* .sidebar {
  animation: close-slide-panel 0.3s  linear;
} */

@keyframes open-slide-panel {
  0% {
   right: -600px;
  }
  100% {
    right: 0;
  }
}

@keyframes close-slide-panel {
  0% {
    right: -600px;
   }
   100% {
     right: 0;
   }
}

.remains-wareh {
  display: flex;
  align-items: center;
}

.rem-wareh__title {
  font-weight: bold;
}

.remains-wareh__text {
  min-width: 150px;
}

.war-rem-danger {
  color: red;
  font-weight: bold;
}

.service-calc-panel .table tbody+tbody {
  border-top: 0 !important;
}


.bottom-btns__block {
  display: flex;
}

.bottom-btns__block button:not(:last-child) {
  margin-right: 10px;
}

.sidebar-content input {
  text-align: left;
}

.supplierError {
  color: red;
}

.notifyjs-corner {
  z-index: 2000 !important;
}

.supplierVue .sidebar input {
  margin-bottom: 0;
}

.supplierVue .sidebar label {
  margin-bottom: 10px;
}

.backError {
  display: block;
  color: red;
  font-size: 10px;
}

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

.flex-top-page {
  display: flex;
  align-items: baseline;
}

.reset-height input{
  height: 24px !important;
}

.isTaskPanelOpen {
  right: 0 !important;
}

#tasks-app.tasks {
  .tasks__top {
    display: flex;
    justify-content: space-between;
    align-items: start;

    .v-select {
      width: 212px;
    }

    .btn2 {

    }

    .controls {
      display: flex;
      align-items: center;
      gap: 20px;
      padding-top: 20px;
    }

    .custom-checkbox {
      margin-bottom: 0;
    }

    .tasks__top-checkboxes {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

  }

  .tasks__groups {
    padding: 20px 0;
  }

  .tasks__filters {
    display: flex;
    align-items: end;
    gap: 30px
  }

  .tasks__search {
    display: flex;
    flex-direction: column;

    & input {
      margin-bottom: 0;
      height: 22px;
    }
  }

  .tasks__dates-block {
    display: flex;
    gap: 20px;
  }


  .sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .isTaskPanelOpen {
    right: 0 !important;
  }

  .sidebar .sidebar-content .form-group .form-control {
    margin-bottom: 0;
  }


  .errordate {
    color: red;
  }

  .task__btn {
    padding: 5px 30px;
    font-size: 16px !important;
    color: #fff;
  }

  .task__create-btn {
    flex: 0.8 1 0%;
    background-color: #28a745;
    border-color: #28a745;
  }

  .task__save-btn {
    flex: 0.6 1 0%;
    background-color: #28a745;
    border-color: #28a745;
  }

  .task__close-btn {
    color: #000;
  }

  .vue-datepicker__input {
    margin-left: 0 !important;;
  }

  .vue-datepicker__control {
    margin-right: 0 !important;
  }

  .completed {
    opacity: 0.4;
  }
}

.my-css {
  .custom-checkbox {
    display: flex !important;
  }

  .custom-checkbox > input {
    position: absolute;
    z-index: -1;
    opacity: 0;
  }

  .custom-checkbox > span {
    display: inline-flex;
    align-items: center;
    user-select: none;
  }

  .custom-checkbox > span::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #696a6b;
    border-radius: 0.25em;
    margin-left: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 18px;
    order: 2;
  }


  .custom-checkbox>input:checked+span::before {
    border-color: #0088CC;
    background-color: #0088CC;
    background-image: url("check.svg");
    background-size: cover;
    font-size: 18px;
    order: 2;
  }

  /* стили при наведении курсора на checkbox */
  .custom-checkbox>input:not(:disabled):not(:checked) + span:hover::before {
    border-color: #b3d7ff;
  }

  /* стили для чекбокса, находящегося в состоянии disabled */
  .custom-checkbox>input:disabled+span::before {
    background-color: #e9ecef;
    border: 1px solid #e0dcdc;
    color: #979393;
    order: 2;
  }

  .custom-checkbox {
    margin-bottom: 24px;
  }

  .custom-checkbox > span::before {
    margin-right: 0.5em;
    margin-left: 0;
    order: inherit;
  }

  .custom-checkbox > span {
    font-size: 16px;
    white-space: nowrap;
  }

  .custom-checkbox > input:checked + span::before {
    order: inherit;
  }

  .custom-checkbox > input:disabled + span::before {
    order: inherit
  }
}

.vs--single.vs--searching .vs__selected {
  display: none !important;
}


.text-overflow-select .vs__selected-options {
  flex-wrap: nowrap !important;
}

.text-overflow-select .vs__selected {
  display: inline !important;
  text-overflow: ellipsis !important;
  overflow: hidden;
  display: -webkit-box !important;;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-top: 6px;
}



.spec-column {
  position: relative;
  /*width: 100%;*/
  /*height: 100%;*/
}

.spec-extra-info-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: initial !important;
  height: initial !important;;
  cursor: pointer !important;;
}

.time_scale .col_header div.spec-column  div.spec-extra-info-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: initial;
  height: initial;
  cursor: pointer;
}

.spec-extra-info {
  display: block;
  position: absolute;
  left: 0;
  /*z-index: -1;*/
  /*border: 2px solid red;*/
  /*height: 500px;*/
}

.spec-extra-info-modal {
  display: none;
    position: absolute;
    z-index: 5000;
    min-width: 60px !important;
    padding: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding-top: 35px;
    top: 0;
    left: 0;
}

.spec-extra-modal-cross {
  position: absolute;
  font-size: 16px;
  cursor: pointer;
  right: 10px;
  top: 10px;
}

.spec-extra-modal-cross:hover {
  color: #000
}
