/* --------------------------------------------------- */
/* ------------------ Общие параменты ---------------- */
/* --------------------------------------------------- */
body {
  font-family: 'Times New Roman';
	font-size: 14pt;
  margin: 0;
}
/* Логотип **************************************** */
.index_time {
	position: absolute; /* Абсолютное позиционирование */
	top: 11px;
	left: 30px;
	/* width: 308; */
	height: 30px;
	/* border: 1px solid #929292; */
	text-align: center;
	font-size: 20pt;
	color: #676767;
	-webkit-user-select: none;  /* Выдиление */
}
.load {
	text-align: center;
	/* margin: 0 0 0 -50px; */
	/* width: 100px; */
}

/* --------------------------- */
.plate {
  position: absolute;
  top: 70px;
  border: 1px solid #a9a9a9;
  background-color: #ffffffed;
  padding: 5px;
  display: none;
  box-shadow: 0 0 4px #929292;
}
.small {
  left: calc(50% - 300px);
  width: 400px;
  height: auto;
  min-height: 300px;
}
.average {
  left: calc(50% - 500px);
  width: 500px;
  height: auto;
  min-height: 300px;
  max-height: 80vh;
}
.big {
  left: calc(50% - 500px);
  width: 1000px;
  height: 430px;
}

/* Унифицированная система модалок */
.app-modal-root {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
}
.app-modal-root.is-open {
  display: block;
}
.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.app-modal-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
#app-modal-plate {
  display: block;
  position: relative;
  left: auto;
  top: auto;
  margin: 0;
  width: min(92vw, 760px);
  min-height: 160px;
  max-height: calc(100vh - 40px);
  overflow: visible;
  border: 1px solid #d7d7d7;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
}
#app-modal-plate.small {
  width: min(90vw, 520px);
}
#app-modal-plate.average {
  width: min(92vw, 760px);
}
#app-modal-plate.big {
  width: min(96vw, 1100px);
}

.app-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #ececec;
}
.app-modal-title {
  margin: 0;
  font-size: 16pt;
  font-weight: 600;
}
.app-modal-close {
  border: 1px solid #b9b9b9;
  background: #fff;
  width: 34px;
  height: 34px;
  line-height: 1;
  font-size: 22px;
}
.app-modal-body {
  padding: 14px 16px;
}
.app-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #ececec;
}
.app-modal-note {
  margin: 0 0 10px;
  color: #444;
}
.app-modal-comments {
  max-height: 360px;
  overflow: auto;
  padding: 8px;
  border: 1px solid #e1e1e1;
  background: #f8f8f8;
  margin-bottom: 14px;
}
.app-comment-item {
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 10px;
  margin-bottom: 8px;
}
.app-comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 600;
}
.app-comment-date {
  color: #666;
  font-size: 11pt;
  font-weight: 400;
}
.app-comment-text-view {
  white-space: pre-wrap;
  word-wrap: break-word;
}
.app-modal-empty {
  text-align: center;
  color: #7f7f7f;
  padding: 14px;
  margin-bottom: 14px;
}
.app-comment-textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid #d3d3d3;
  padding: 10px;
  box-sizing: border-box;
}
.close_plate {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 50%;
  background: url(images/del.png) center no-repeat;
  background-size: 14px;
  background-color: #fff;
  border: 1px solid #b8b8b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  z-index: 9999;
  cursor: pointer;
}

.close_plate:hover {
  background-color: #f7f7f7;
  border-color: #999;
}

#app-modal-plate .scroll {
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 4px 8px;
}

.plate_submit {
  position: absolute;
  left: calc(50% - 100px);
  bottom: -50px;
  width: 200px;
  /* height: 32px; */
  border: 1px solid #929292;
  box-shadow: inset 0 0 3px #929292;

  text-align: center;
  padding: 5px 0 5px 0;

  display: none;
  background-color: #fff;
}

.plate .del {
  background-color: #f37272;
}


fieldset.hover:hover  {
  /* background-color: #d6e8ff; */
  /* background: rgba(255,255,255,1); */
/* background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(214,232,255,1) 100%); */
/* background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(214,232,255,1) 100%); */
/* background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(214,232,255,1) 100%); */
/* background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(214,232,255,1) 100%); */
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(214,232,255,1) 100%);
}

/* --------------------------- */

.red {
  color: red;
}

:active, :hover, :focus {
  outline: 0;
  outline-offset: 0;
}
[onClick], [href] {
	cursor: pointer;
}
a {
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
}
.submit {
	text-align: center;
	border: 1px solid #929292;
	font-size: 16pt;
}
.submit:hover {
	background: #b8f5b8;
	border: 1px solid #82c58f;
}
#next, .blok { /* Не активные кнопки */
  color: #ccc;
  pointer-events: none;
}

.icon {
  float: right;
  width: 22px;
  height: 22px;
  margin: 0px 2px 0px 2px;
}

/* --------------------------------------------------- */
/* ------------------ Размеры */
.h30 {
  height: 30px;
}
.hCal {    /* Размер ячеек календаря */
  height: 34px;
}
.w100 {
  width: 100px;
}
.w120 {
  width: 120px;
}
.w150 {
  width: 150px;
}
.w200 {
  width: 200px;
}
/* --------------------------------------------------- */
/* ------------------ Color text */
.color_green {
  color: green;
  text-shadow: #0000003d 0px 0px 2px;
}
.color_blue {
  color: blue;
  text-shadow: #0000003d 0px 0px 2px;
}
.color_orange {
  color: #ff8800;
  text-shadow: #0000003d 0px 0px 2px;
}
.color_purple {
  color: #ff00ff;
  text-shadow: #0000003d 0px 0px 2px;
}


/* --------------------------------------------------- */
/* ------------------ Авторизация -------------------- */
/* --------------------------------------------------- */
.login {
  position: fixed;
  top: 40%;
  left: 50%;
  width: min(420px, calc(100vw - 28px));
  transform: translate(-50%, -50%);
  padding: 30px 28px 26px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #b8c0c8;
  border-radius: 0;
  box-shadow: 0 10px 22px rgba(31, 45, 61, 0.12);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  color: #16202a;
}
.login .top {
  margin: 0;
  text-align: center;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.login .subtitle {
  margin: 8px 0 22px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a7785;
}
.login form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login input, .login select {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  padding: 0 14px;
  font-family: inherit;
  font-size: 17px;
  border: 1px solid #ccd4dd;
  border-radius: 0;
  background: #ffffff;
  color: #16202a;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.login input:focus, .login select:focus {
  border-color: #5f7386;
  background: #ffffff;
  box-shadow: none;
}
.login input::placeholder {
  color: #8a98a7;
}
.login input:-webkit-autofill,
.login input:-webkit-autofill:hover,
.login input:-webkit-autofill:focus {
  -webkit-text-fill-color: #16202a;
  -webkit-box-shadow: 0 0 0 1000px #f9fbfd inset;
  transition: background-color 5000s ease-in-out 0s;
}
.login .submit {
  margin-top: 6px;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  height: 48px;
  min-height: 48px;
  line-height: 46px;
  text-align: center;
  border: 1px solid #2f3f52;
  border-radius: 0;
  background: #34495d;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.16s ease, border-color 0.16s ease;
  margin-left: auto;
  margin-right: auto;
}
.login .submit:hover {
  background: #2d4153;
  border-color: #273949;
}
.login .load {
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0.55;
  display: block;
}
@media (max-width: 520px) {
  .login {
    top: 50%;
    padding: 24px 18px 20px;
    border-radius: 0;
  }
  .login .top {
    font-size: 28px;
  }
  .login .subtitle {
    margin-bottom: 18px;
    font-size: 12px;
  }
}
/* -------------------- Swup loader only -------------- */
/* ---------------------------------------------------- */
.transition-fade {
  opacity: 1;
  transition: opacity 1ms linear;
  animation-name: swup-noop;
  animation-duration: 1ms;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

html.is-animating .transition-fade {
  opacity: 1 !important;
}

/* swup with animationScope: containers (kept for compatibility, no fade) */
.transition-fade.is-changing {
  opacity: 1;
  animation-name: swup-noop;
  animation-duration: 1ms;
}

.transition-fade.is-rendering,
.transition-fade.is-animating {
  opacity: 1 !important;
}

@keyframes swup-noop {
  from { opacity: 1; }
  to { opacity: 1; }
}

#swup-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.swup-loader-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid #d7d7d7;
  border-top-color: #6e8eb7;
  animation: swup-spin 0.8s linear infinite;
}

.swup-loader-gif {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

@keyframes swup-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* ---------------------------------------------------- */
/* -------------------- Контент ----------------------- */
/* ---------------------------------------------------- */
.content {
  position: absolute;
  /* position: relative; */
  top: 46px;
  left: 280px;
  width: 1120px;
  /* width:  calc(100% - 500px); */
  height: calc(100% - 50px);
  /* border: 1px solid #929292; */
  -webkit-user-select: none;   /* Выдиление !!!!!!!!!!!!!!!! */
  overflow: scroll;
}
/* ---------------------------------------------------- */
/* -------------------- Блок комментариев справа ----- */
/* ---------------------------------------------------- */
.comments-sidebar {
  position: fixed;
  top: 46px;
  right: 0;
  width: 400px;
  height: calc(100% - 50px);
  background: #fff;
  border-left: 1px solid #ddd;
  overflow-y: auto;
  display: none;
  z-index: 100;
  -webkit-user-select: none;
}
@media (min-width: 1920px) {
  .comments-sidebar {
    display: block;
  }
  .content {
    width: calc(100% - 680px); /* 280px (menu) + 400px (sidebar) */
  }
}
.content::-webkit-scrollbar { /* chrome based */
    /* width: 2px;  /* ширина scrollbar'a */
    background: transparent;  /* опционально */
}


.scroll {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(50vh - 60px);
  padding: 5px;
}
/* ---------------------------------------------------- */
/* -------------------- Услуги sevice ----------------- */
/* ---------------------------------------------------- */
.service {
  /* width: 100%; */
  /* width:  calc(100% - 500px); */
  /* height: calc(100% - 270px); */
  /* border: 1px solid #929292; */

  -webkit-user-select: none;
  overflow-y: auto;
}

.service-comment-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}

.service-comment-icon,
.service-comment-count {
  font-size: 12pt;
  font-weight: 600;
}

.service-comment-icon {
  color: #374151;
}

.service-comment-count {
  color: #0d5bd6;
  min-width: 1ch;
  text-align: center;
}

#file_service, #file_user {
  /* opacity:0 */
  display: none;
}
/* Фон загрузки файла */
.background_load {
  background: linear-gradient(to right, #d7e6ff 0%, #fff 0%);
}
/* ---------------------------------------------------- */
/* ----------------------- Поиск ---------------------- */
/* ---------------------------------------------------- */
.search {
    position: absolute;
    left: 280px;
}
.search .logo_search {
	width: 30px;
	border: 1px solid #929292;
	text-align: center;
}
.logo_search img {
	width: 15px;
}
.search input, #search_price {
	width: 100%;
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
	outline:none;
    border:none;
	height: 40px;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.search .slave {
	width: 711px;
	border: 1px solid #929292;
	padding-left: 4px;
}


input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
  display: none;
}
/* -------------------- Поиск в форме ----------------- */
.form_search {
    position: absolute;
    display: none;
}
.list_search {
  background: #fff;
  width: calc(100% - 9px);
}
.list_search tr{
  background-color: #91cfff;
}

.list_search .fullname {
	border: 1px solid #929292;
	padding-left: 6px;
  padding-top: 3px;
  padding-bottom: 2px;
	white-space: nowrap;
  font-size: 14pt;
}

.list_search .solo {
  background-color: #e2e2e2;
  /* text-align: center; */
}

.list_search .yes:hover {
    background: #a1e7ff;
}
/* ---------------------------------------------------- */
/* -------------------- Меню -------------------------- */
/* ---------------------------------------------------- */
.menu {
	position: relative;
	top: 328px;
	left: 2px;
	float: left;
  width: 267px;
  -webkit-user-select: none; /* Google Chrome, Opera Next, Safari */
}
.menu table {
	font-size: 16pt;
}
.menu .menu_main {
	background: #e2e2e2;
	border: 1px solid #929292;
	text-align: center;
}
.menu .menu_slave {
	width: 230px;
	border: 1px solid #929292;
	border-left: none;
	padding-right: 10px;
}
.menu .menu_slave:hover {
    background: #a1e7ff;
}

.chat-sound-controls span {
  cursor: pointer;
  user-select: none;
  font-size: 12pt;
  line-height: 1;
}

.comments-sidebar-new-blink {
  animation: comments-sidebar-new-blink 1.2s ease-in-out 1;
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

@keyframes comments-sidebar-new-blink {
  0%, 100% {
    background-color: #f9f9f9;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
  }
  45% {
    background-color: #fff4b3;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.45);
  }
}

.menu .hover {
	width: 230px;
  background: #a1e7ff;
	border: 1px solid #929292;
	border-left: none;
	padding-right: 10px;
	pointer-events: none;
}

.menu .raquo {
  padding-left: 5px;
  padding-right: 3px;
  padding-bottom: 3px;
}
/* ---------------------------------------------------- */
/* -------------------- Календарь --------------------- */
/* ---------------------------------------------------- */
.calendar {
    position: absolute;
    top: 46px;
    left: 10px;
    width: 267px;
		  -webkit-user-select: none;
}
.calendar table{
    width: 100%;
    font-size: 14pt;
}
.calendar td {
	height: 34px;
	padding: 0px;
	text-align: center;
	border: 1px solid #929292;
}
.calendar .week {
	background: #eaeaea80;
}
.calendar .today {	/* Текуший день */
  background: #0000ff90;
  color: #fff;
	border: 1px solid #929292;
}
.calendar .output { /* Выходной */
	background: #8a8a8a40;
}

.calendar .style {
	background: #ff000020;
	border: 1px solid #ff0000;
	pointer-events: none;
}

.calendar #hover {  /* Выбранный день */
	background: #ff000020;
	border: 1px solid #ff0000;
	pointer-events: none;
	color: #000;
}
.calendar .control {
	font-size: 18pt;
	padding-bottom: 2px;
}
.calendar .load1 {
	background: #00ff0060;
}
.calendar .load2 {
	background: #ffff0060;
}
.calendar .load3 {
	background: #ff810060;
}
.calendar .load4 {
	background: #ff0000;
}

.calendar .day:hover, .calendar .output:hover, .calendar .today:hover, .calendar .control:hover, .calendar .load:hover {
	background: #ff000020;
	border: 1px solid #ff0000;
	color: #000;
	box-shadow: inset 0 0 10px #ff00008a;
}

/* ---------------------------------------------------- */
/* -------------------- Формы -------------------------- */
/* ---------------------------------------------------- */
.form {
  width: 100%;
	-webkit-user-select: none;
}

.form .slave {
  font-size: 15pt;
	text-align: left;
	border: 1px solid #929292;
	width: 140px;
  padding-left: 10px;
}

.form .city {
  font-size: 15pt;
	text-align: left;
	border: 1px solid #929292;
	width: 230px;
  padding-left: 10px;
}

.form .main {
	text-align: center;
	border: 1px solid #929292;
	font-size: 16pt;
	background: #eaeaea80;
  vertical-align: middle;
}
.form .main_left {
  padding-left: 5px;
	text-align: left;
	border: 1px solid #929292;
	font-size: 14pt;
	background: #eaeaea80;
}

.form .text {
	text-align: left;
	border: 1px solid #929292;
	font-size: 16pt;
	padding-left: 5px;
  height: 29px;
  -webkit-user-select: text;
}

.form .val {
	text-align: left;
	border: 1px solid #929292;
	font-size: 16pt;
	padding-left: 5px;
  height: 29px;
  -webkit-user-select: text;
}
.form .note textarea {
  width: calc(100% - 10px);
  height: 232px;
  resize: none;
  background: #ffffffba;
  font-size: 14pt;
  font-family: 'Times New Roman';
  padding-left: 6px;
  border: 1px solid #505050;
  margin: 5px;
}
.form .note {
  border: 1px solid #929292;
  width: 400px;
}

.form .img {
  text-align: center;
  border: 1px solid #929292;
  width: 170px;
}

/* --------------------------------- */

.form input, .form select, .form textarea {
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
	outline:none;
  border:none;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.form select {
	margin-left: -4px;
}
.form textarea {
	margin-top: 0px;
	margin-bottom: 0px;
  width: 100%;
  resize: vertical;
}
.form input[type=text], input[type=search], .form select{
	width: 95%;
}

.form .val:hover {
	background: #ff000020;
	border: 1px solid #ff0000;
}

.form #fullname {
  text-transform: capitalize;
}

.form [status='delete'] {
  border: 1px solid #929292;
  width: 27px;
  background: url(images/del.png) center no-repeat;
  background-size: 20px;
}

.form [status='load'] {
    border: 1px solid #929292;
    background: url(images/load_mini.gif) center no-repeat;
    background-size: 20px;
    width: 27px;
}
.form [status='date'] {
    width: 27px;
}

/* -- Список под формой */
.form .name {
	text-align: left;
	border: 1px solid #929292;
	padding-left: 5px;
  font-size: 14pt;
}
.form .type {
	border: 1px solid #929292;
  font-size: 14pt;
  width: 200px;
  text-align: center;
}
.form .type select{
  text-align-last: center;
}

.form .delete {
    border: 1px solid #929292;
    width: 27px;
    background: url(images/del.png) center no-repeat;
    background-size: 20px;
}
.form #delete:hover {
  background: #ffcfcf;
	border: 1px solid #ff0000;
}
/* ------- Мини форма ------------- */
/* -- После переделики профиля удалить! */
.form_mini {
  width: 100%;
	-webkit-user-select: none;
}

.form_mini input {
	font-family: 'Times New Roman';
	font-size: 16pt;
	margin-top: -6px;
	margin-bottom: -6px;
	outline:none;
  border:none;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.form_mini .slave {
	text-align: left;
	border: 1px solid #929292;
	padding-left: 7px;
  height: 29px;
}
.form_mini .slave input {
	width: 99%;
  text-align: left;
}

.table_status {
  width: 100%;
  font-size: 11pt;
  font-family: monospace;
  font-weight: 900;
}
.table_status .icon {
  width: 16px !important;
  background-size: 18px !important;
}
.table_status .date {
  width: 95px !important;
}
.table_status .txt {
  width: 85px;
}
.table_status td {
  text-align: center;
}
.table_status .border {
  border-right: 1px solid #929292;
}


/* ------------------------------------------------------ */
/* -------------------- Дневник -------------------------- */
/* ------------------------------------------------------ */

.form .device_list .device_submit {
  padding-top: 4px;
  margin-left: -1px;
  width: 110px;
  height: 45px;
  font-size: 14pt;
  text-align: center;

  z-index: 1;
  border: 1px solid #929292;
  margin-bottom: 3px;
  float: left;
}

.form .monospace { /* Текст справато от типа счетчика */
  font-family: monospace;
  /* float: right; */
  font-size: 11pt;
  color: #a50000;
  margin-top: 3px;
  white-space: nowrap; /* Запрещаем перенос строк */
  overflow: hidden; /* Обрезаем все, что не помещается в область */
  text-overflow: ellipsis; /* Добавляем многоточие */
}

.form .device_del {
  padding: 2px 4px 2px 4px;
	width: 27px;
  height: 27px;
  background: url(images/del.png) center no-repeat;
  background-size: 20px;
  margin-right: 5px;
  border: 1px solid #929292;
  border-left: none;
  float: left;
}

.form .preview {
  padding: 2px 4px 2px 4px;
	width: 27px;
  height: 45px;
  background: url(images/preview.png) center no-repeat;
  background-size: 27px;
  margin-right: 5px;
  border: 1px solid #929292;
  border-left: none;
  float: left;
}

.form .dot {         /* Вертикальные точки */
  padding: 2px 4px 2px 4px;
	width: 25px;
  height: 45px;
  background: url(images/dot_vertical.png) center no-repeat;
  background-size: 23px;
  border: 1px solid #929292;
  float: left;
  margin-right: 5px;
}


.form .device_plus {
  padding: 2px 4px 2px 4px;
  margin-left: 2px;
	width: 27px;
  height: 45px;
  background: url(images/proc_plus.png) center no-repeat;
  background-size: 16px;
  border: 1px solid #929292;
  float: left;
}

.device_list [hover='1'] div{
  background-color: #a1e7ff;
  color: black;
}






::-webkit-inner-spin-button { display: none; }
/* ------------------------------------------------------ */
/* -------------------- Списки -------------------------- */
/* ------------------------------------------------------ */

.list {
	font-size: 14pt;
	width: calc(100% - 6px);
}

.register-full-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 0 7px 10px 0;
  padding: 8px 10px;
  border: 1px solid #c9c9c9;
  background: #f5f5f5;
}

.register-full-filters label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12pt;
}

.register-full-filters select {
  min-width: 150px;
  padding: 4px 6px;
  font-family: 'Times New Roman';
  font-size: 13pt;
  border: 1px solid #939393;
  background: #fff;
}

.register-full-filter-reset {
  padding: 5px 14px;
  border: 1px solid #868686;
  background: #e7e7e7;
  font-family: 'Times New Roman';
  font-size: 13pt;
}

.register-full-filter-reset:hover {
  border-color: #1a66cc;
  background: #d8ecff;
}

.list_fieldset {
  box-shadow: 0px 10px 15px -15px #000000;
  margin-bottom: 10px;
  margin-right: 7px;
  padding: 4px 0px 4px 5px;
}

.list_fieldset legend {
  font-size: 15pt;
  font-weight: 900;
}

.list .top {
	border: 1px solid #929292;
  text-align: center;
	background: #e2e2e2;
}

tr.register-return-focus {
  animation: register-return-blink 0.5s ease-in-out 6;
}

@keyframes register-return-blink {
  0%, 100% { box-shadow: inset 0 0 0 9999px transparent; }
  50% { box-shadow: inset 0 0 0 9999px rgba(255, 235, 59, 0.45); }
}

tr.chat-history-new-row td {
  animation: chat-history-new-blink 0.5s ease-in-out 6;
}

td.chat-history-new-cell {
  animation: chat-history-new-blink 0.5s ease-in-out 6;
}

@keyframes chat-history-new-blink {
  0%, 100% { background-color: transparent; }
  50% { background-color: rgba(129, 236, 136, 0.45); }
}

.list .number {
	width: 40px;
	text-align: center;
	border: 1px solid #929292;
}

.list .num {
	width: 50px;
	text-align: center;
	border: 1px solid #929292;
}

.list .raquo {
	width: 30px;
	text-align: center;
	border: 1px solid #929292;
}

.list .center {
	text-align: center;
	border: 1px solid #929292;
}


.list .name {
  position: relative;
	border: 1px solid #929292;
	padding-left: 5px;
	padding-right: 5px;
}

/* Stable plus icon cell in list headers/actions */
.list .list-plus-cell {
  height: 34px;
  padding: 4px 5px;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  box-sizing: border-box;
}

.list .list-plus-icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  object-fit: contain;
  vertical-align: top;
  pointer-events: none;
  transform: translateZ(0);
}

.list .fullname {
	border: 1px solid #929292;
	padding-left: 5px;
	padding-right: 5px;
	white-space: nowrap;
}

.list .phone {
	border: 1px solid #929292;
	padding-left: 5px;
	padding-right: 5px;
  text-align: center;
	white-space: nowrap;
  width: 150px;
}

.list .address {
	border: 1px solid #929292;
	padding-left: 5px;
	width: 300px;
}

.list .date {
	width: 100px;
	border: 1px solid #929292;
	text-align: center;
}

.list .date_time {
	width: 150px;
	border: 1px solid #929292;
	text-align: center;
}

.list .worker {
	width: 140px;
	border: 1px solid #929292;
  padding-left: 5px;
}

.list .size {
	width: 70px;
	text-align: right;
  padding-right: 5px;
	border: 1px solid #929292;
}

.list .price {
	width: 100px;
	text-align: right;
  padding-right: 5px;
	border: 1px solid #929292;
}

.list .maps, .form .maps {
	text-align: center;
	border: 1px solid #929292;
	width: 26px;
}

.list .copy, .form .copy,
.list .contract, .form .contract {
  width: 26px;
	border: 1px solid #929292;
}

.list .copy, .form .copy {
  background: url(images/copy.png) center no-repeat;
  background-size: 19px;
}

.list .contract, .form .contract {
  text-align: center;
	background: none;
	font-weight: bold;
	color: #1f9d55;
}

.list .status {
	text-align: center;
	border: 1px solid #929292;
	width: 26px;
}

.list .later {
  color: blue;
}


[status='0'] .status_text {
  color: green;
}
[status='10'] .status_text {
  color: #c03913;
}
[status='20'] .status_text {
  color: blue;
}
[status='60'] .status_text {
  color: #cc00ff;
}
[status='90'] .status_text {
  color: black;
}
[status='100'] .status_text {
  color: red;
}


[status='0'] .status, .icon[status='0']  {
  width: 27px;
  background: url(images/plus.png) center no-repeat;
  background-size: 18px;
}
[status='10'] .status, .icon[status='10'] {
  width: 27px;
  background: url(images/delivered.png) center no-repeat;
  background-size: 20px;
}
[status='20'] .status {
  width: 27px;
  background: url(images/sent.png) center no-repeat;
  background-size: 20px;
}
[status='30'] .status, .icon[status='30'] {
  width: 27px;
  background: url(images/stock.png) center no-repeat;
  background-size: 20px;
}
[status='40'] .status {
  width: 27px;
  background: url(images/drying.png) center no-repeat;
  background-size: 18px;
}
[status='50'] .status, .icon[status='50'] {
  width: 27px;
  background: url(images/wash.png) center no-repeat;
  background-size: 20px;
}
[status='60'] .status, .icon[status='60'] {
  width: 27px;
  background: url(images/ok.png) center no-repeat;
  background-size: 18px;
}
[status='90'] .status {
  width: 27px;
  background: url(images/clock.png) center no-repeat;
  background-size: 20px;
}
[status='100'] .status {
  width: 27px;
  background: url(images/no.png) center no-repeat;
  background-size: 20px;
}


[check='yes'] .number {
  background: url(images/ok.png) center no-repeat;
  background-size: 19px 20px;
}

.list .paid {
	text-align: center;
	border: 1px solid #929292;
	padding: 0 3px;
	width: 130px;
}

.list tr[paid_reg='1'] {
  background: linear-gradient(90deg, rgba(0,196,6,0.4654236694677871) 0%, rgba(255,255,255,0) 66%, rgba(255,255,255,0) 100%);
}
.list tr[paid_reg='2'] {
  background: linear-gradient(90deg, rgb(103 103 103 / 47%) 0%, rgba(255,255,255,0) 66%, rgba(255,255,255,0) 100%);
}

.list tr[paid='1'] {
  background: linear-gradient(to right, rgba(73,155,234,0) 0%, rgba(137,255,174,1) 100%);
}
.list tr[paid='1'] td {
	background-color: #00ff0020;
  border: 1px solid #006600bf;
	pointer-events: none;
}
.list tr[paid='1'] .paid {
	pointer-events: auto;
  background-color: #00ff0020;
}

.list tr[paid='1'] .status {
  pointer-events: none;
  background-color: #00ff0020;
}

.list tr[hover='1'] {
	pointer-events: none;
  background-color: #a1e7ff;
}
.list tr[plan='1'] .num {
  background-color: #0000ff42;
  border: 1px solid #0000ff63;
}

.list .type {
	width: 170px;
  text-align: center;
}

.list .class {
	width: 130px;
	text-align: center;
	border: 1px solid #929292;
}

.list .time {
	width: 80px;
	text-align: center;
	border: 1px solid #929292;
}


.list .service {
	/* width: 250px; */
	border: 1px solid #929292;
}

.list .load {
	border: 1px solid #929292;
  height: 26px;
}

.list .submit {
	border: 1px solid #929292;
	text-align: center;
}
.list .close_submit {
  width: 140px;
  border: 1px solid #ff6060;
  text-align: center;
  background-color: #ff7676;
}
.list .close_submit:hover {
  border: 1px solid #91c1ff;
  background-color: #d6e8ff;
}


.update_list {
  height: 29px;
}

.list .down {
	width: 30px;
	border: 1px solid #929292;
  background: url(images/down.png) center no-repeat;
  background-size: 19px;
}
.list .up {
	width: 30px;
	border: 1px solid #929292;
  background: url(images/up.png) center no-repeat;
  background-size: 19px;
}

.list .selected {
  background: #e2e2e2;
}
.list .hover:hover {
  background: #a1e7ff;
	color: black;
}
.list [hover='1'] {
  background: #a1e7ff;
	color: black;
}

.list #delete:hover {
  background: #ffcfcf;
	border: 1px solid #ff0000;
}
.list #update:hover {
  background: #cfffcf;
  border: 1px solid #087d1a;
}

.list input {
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* для списка услуг */


.list .plus, .form .plus {
	border: 1px solid #929292;
	width: 27px;
  background: url(images/proc_plus.png) center no-repeat;
  background-size: 16px;
}
.list .minus, .form .minus{
	border: 1px solid #929292;
	width: 27px;
  background: url(images/proc_minus.png) center no-repeat;
  background-size: 16px;
}

.form .edit{
	border: 1px solid #929292;
	width: 27px;
  background: url(images/preview.png) center no-repeat;
  background-size: 25px;
}

.form .change{
	border: 1px solid #929292;
	width: 27px;
  background: url(images/change.png) center no-repeat;
  background-size: 25px;
}

.list .proc {
  width: 46px;
  text-align: center;
  border: 1px solid #929292;
  font-family: 'Courier New';
  font-size: 14pt;
  font-weight: 600;
  padding-top: 4px;
}
.list .pay {
  text-align: right;
  border: 1px solid #929292;
  padding-right: 7px;
  width: 100px;
}
.list .sum {
  text-align: right;
  border: 1px solid #929292;
  padding-right: 7px;
  width: 100px;
}
.list .count {
  width: 40px;
  text-align: center;
  border: 1px solid #929292;
  font-family: 'Courier New';
  font-size: 14pt;
  font-weight: 600;
  padding-top: 4px;
}


.list .type_pay {
	border: 1px solid #929292;
	width: 27px;
}
.list .type_pay:hover {
  border: 1px solid #929292;
  box-shadow: inset 0 0 4px #929292;
}

.list [type_pay='load'] {
  background: url(images/expand_load.gif) center no-repeat;
  background-size: 15px;
}
.list [type_pay='0'] { /* Вид оплата не определно */
  background: url(images/!.png) center no-repeat;
  background-size: 9px;
}
.list [type_pay='1'] {
  background: url(images/cash.png) center no-repeat;
  background-size: 22px;
}
.list [type_pay='2'] {
  background: url(images/bank.png) center no-repeat;
  background-size: 22px;
}
.list [type_pay='3'] {
  background: url(images/balance.png) center no-repeat;
  background-size: 22px;
}


.list .delete {
    border: 1px solid #929292;
    width: 27px;
    background: url(images/del.png) center no-repeat;
    background-size: 20px;
}
/* --------------------------------------- */
.list .expand {
  border: 1px solid #929292;
  width: 25px;
}
.list .info {
  background-color: #d7e6ff;
}
.list .info td {
  border: 1px solid #89b5ff;
}
.list .open {
  background-color: #d7e6ff;
}
.list .open td {
  border: 1px solid #89b5ff;
}

.list .close:hover {
  background: #a1e7ff;
	color: black;
}

.list [expand='open'] {
  background: url(images/expand_open.png) center no-repeat;
  background-size: 15px;
}
.list [expand='close'] {
  background: url(images/expand_close.png) center no-repeat;
  background-size: 15px;
}
.list [expand='load'] {
  background: url(images/expand_load.gif) center no-repeat;
  background-size: 15px;
}
.list [expand='znak'] {
  background: url(images/!.png) center no-repeat;
  background-size: 9px;
  border: 1px solid #fc6b6b;
  width: 25px;
  box-shadow: inset 0 0 4px #fc6969;
}

.right_text { /* Текст справато от типа счетчика */
  font-family: monospace;
  float: right;
  font-size: 12pt;
  color: blue;
  margin-top: 1px;
}

/* --------------------------------------- */
/* ------------- Итоги ------------------- */
.itogo {
  width: 100%;
}

.itogo .pay_slave {
	border: 1px solid #929292;
	padding-left: 10px;
	font-size: 14pt;
}
.itogo .pay {
	border: 1px solid #929292;
	text-align: right;
	padding-right: 7px;
	width: 80px;
	font-size: 14pt;
}

.itogo .summ_pay {
	background: #ccffcc; /* Цвет фона */
}


/* Путевой лист */
.waybill {
  box-shadow: 0px 10px 15px -15px #000000;
  margin-bottom: 10px;
  margin-right: 7px;
  padding: 7px 0px 10px 5px;
}

fieldset.online {
  background-color: #ecffec;
}

fieldset.hide {
  opacity:  0.2;
}

fieldset.hide:hover {
    opacity: 0.7;
}

.waybill legend {
  font-size: 15pt;
  font-weight: 900;
  padding: 1px 8px 2px 8px;
  background-color: #fff;
  border: 1px solid #6c6c6c;
  box-shadow: 0px 4px 5px -3px;
}

/* Меню путевой лист */
.menu_fieldset {
  float: right;
  margin: -11px 8px 4px 0px;
}

.menu_fieldset_bottom {
  float: right;
  margin: 4px 8px -5px -3px;
}

.menu_fieldset div, .menu_fieldset_bottom div {
  float: left;
  text-align: center;
  margin-left: 5px;
  padding: 3px 7px 3px 7px;
  background-color: #dce9f1;
  border: 1px solid #767676;
}

.menu_fieldset div:hover, .menu_fieldset_bottom div:hover {
  border: 1px solid #0043ff;
  background-color: #00adffb3;
}

/* --------------------------------------- */
/* ------------- Касса и отчёты, отчеты------------------- */
.menu_slave #date {
  font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.menu_slave #date_start {
  font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.menu_slave #date_end {
  font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
  margin-left: -2px;
	outline:none;
  border:none;
	width: 100%;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}


.cash_head {
  text-align: center;
  font-size: 16pt;
  margin: 10px 0 10px 0;
}

.cash {
  width: 100%;
  font-size: 14pt;
}
.cash td{
  border: 1px solid #929292;
}
/* .cash .doc{
	background-color: #eaeaea;
} */

.cash .price, .cash .discount, .cash .pay, .cash .bonus {
  padding-right: 5px;
  text-align: right;
  width: 100px;
}
.cash .name{
	padding-left: 5px;
}
.cash .top td{
	text-align: center;
}
.cash .top{
	background-color: #eaeaea; /* Цвет фона */
}

.cash .count {
	text-align: center;
  width: 115px;
}

.cash .count_2 {
	text-align: center;
  width: 70px;
}

.cash .num {
  width: 30px;
	text-align: center;
}
.cash .pattern {
  width: 24px;
  padding: 0px;
  border: 1px solid #d2d2d2;
}
.cash .summ {
	background: #eaeaea; /* Цвет фона */
}
.cash .lines_1 {
  background: url(images/1.png) center no-repeat;
  border: 1px solid #929292;
}
.cash .lines_2 {
  background: url(images/2.png) center no-repeat;
  border: 1px solid #929292;
}
.cash .lines_3 {
  background: url(images/3.png) center no-repeat;
  border: 1px solid #929292;
}


/* ---------------------------------------------------- */
/* -------------------- Таблицы ----------------------- */
/* ---------------------------------------------------- */
.table_service {
  font-size: 14pt;
  width: 100%;
	-webkit-user-select: none;
}

.table_service input[type='text'], .table_service input[type='date'], .table_service select, .table_service textarea {
	font-family: 'Times New Roman';
	font-size: 14pt;
	margin-top: -6px;
	margin-bottom: -6px;
	outline:none;
  border:none;
  background-image:none;
  background-color:transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.table_service input[type='text'] {
  width: 100px;
  text-align: center;
}


.table_service select {
	margin-left: -4px;
}
.table_service textarea {
	margin-top: 0px;
	margin-bottom: 0px;
  width: 100%;
  resize: vertical;
}

.table_service .slave {
	border: 1px solid #929292;
	padding-left: 5px;
	width: 310px;
}

.table_service .main {
	padding-left: 5px;
	border: 1px solid #929292;
	font-size: 16pt;
	background: #eaeaea80;
}

.table_service .right {
	text-align: right;
}
.table_service .left {
	text-align: left;
}
.table_service .center {
	text-align: center;
  padding: 0px;
}





.table_service .name {
	text-align: left;
	border: 1px solid #929292;
	padding-left: 5px;
  -webkit-user-select: text;
}

.table_service .checkbox {
	text-align: center;
	border: 1px solid #929292;
  width: 30px;
}
.table_service .input {
	border: 1px solid #929292;
  background-color: #e3ecf9;
}
.table_service .input input{
	text-align: left;
  width: 100%;
  height: 35px;
}
.table_service .table_checkbox {
	text-align: center;
	border: 1px solid #929292;
  width: 115px;
}

.table_service .hover:hover {
  background: #a1e7ff;
	color: black;
}
.table_service [onClick]:hover {
  border: 1px solid #0043ff;
  background-color: #00adffb3;
}

/* ---------------------------------------------------- */
/* ------------------- Расписание --------------------- */
/* ---------------------------------------------------- */
.rasp_move {
  /* width: 100%; */
  padding: 0;
	-webkit-user-select: none;
	font-size: 9pt;
}
.rasp_move .date {
	text-align: center;
	border: 1px solid #929292;
}
.rasp_move .time {
  background-color: #e2e2e2d4;
  width: 60px;
  text-align: center;
  border: 1px solid #929292;
}

.rasp_move .chair {
    text-align: center;
    border: 1px solid #929292;
}
.rasp_move .user {
	border: 1px solid #929292;
	font-size: 10pt;
	text-align: center;
	/* width: 200px; */
  padding: 0 5px;

  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.rasp_move .no {
	border: 1px solid #929292;
	width: 270px;
  padding: 0 5px;
}

.rasp_move .hover_move:hover {
  background-color: #a1e7ff !important;
}

.rasp_move .hover:hover {
  border: 1px solid #00beff;
  box-shadow: inset 0 0 2px #008eff;
  background-color: #a1e7ff !important;
  color: black;
}


/* ----- Сплываюшая меню ------ */
.form_list {
    background-color: #f5f5f5;
    position: fixed;
    width: 300px;
    display: none;
}
.form_list .close{
    background-color: #fbefd2;
    border: 1px solid #929292;
    font-size: 16pt;
    text-align: center;
    height: 30px;
}


/* ---------------------------------------------------- */
/* ------------------- Доп меню ----------------------- */
/* ---------------------------------------------------- */
.status_menu {
	display: none;
	position: fixed;
	width: 206px;
	-webkit-user-select: none;
  background-color: #fff;
}
.status_menu table,
.payment_menu table {
	color: #000;
  width: 100%;
  font-size: 14pt;
	border-spacing: 2px;
}

.status_menu td,
.payment_menu td {
  border: 1px solid #5c8567;
}

.status_menu tr,
.payment_menu tr {
	background-color: #ffffff80;
}
.status_menu .cansel,
.payment_menu .cansel {
	text-align: center;
}
.status_menu .status_hover:hover td,
.payment_menu .payment_hover:hover td {
    background-color: #10ff003d;
    color: #000;
    /* border: 1px solid #006600; */
    /* cursor: pointer; */
    box-shadow: inset 0 0 3px #5c8567;
}

.payment_menu {
	display: none;
	position: fixed;
	width: 190px;
	-webkit-user-select: none;
  background-color: #fff;
}
.payment_menu .status {
	text-align: center;
}
.payment_menu .payment_text,
.status_menu .status_text {
	padding-left: 5px;
}

/* --------- DataTable Фильтр-------------- */

.sorting_1 {
  background-color: #d7e6ff8f;
}
.paginate_button {
  border: 1px solid #929292;
  padding: 3px 10px;
  margin-left: 5px;
}


.dataTables_paginate {
  position: absolute;
  right: 2px;
  cursor: pointer;
}
.dataTables_paginate span .paginate_button {
  padding-left: 10px;
  padding-right: 10px;
}
.dataTables_paginate .ellipsis {
  margin-left: 5px;
}
.dataTables_paginate .disabled {
  cursor: default;
}

.dataTables_paginate .current{
  cursor: default;
  background: #a1e7ff;
  color: black;
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-button {
    background-color: #fff0;
}
::-webkit-scrollbar-corner {
    background-color: #fff;
}
::-webkit-scrollbar-thumb {
    background-color: #929292;
}
::-webkit-scrollbar-track {
    /* background-color: #b46868; */
}

/* ---------------------------------------------------- */
/* ------------------ Adaptive layout ----------------- */
/* ---------------------------------------------------- */
#swup {
  height: 100vh;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: 'sidebar main';
  gap: 10px;
  padding: 8px 10px 10px;
  box-sizing: border-box;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

#swup .layout-menu-toggle {
  display: none;
}

#swup .layout-overlay {
  display: none;
}

#swup .layout-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 8px;
  align-self: start;
  height: calc(100vh - 16px);
  max-height: calc(100vh - 16px);
  overflow: hidden;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: none;
  padding: 3px;
  display: flex;
  flex-direction: column;
}

#swup .layout-menu-close {
  display: none;
}

#swup .layout-sidebar-top {
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: 34px 6px 274px;
  grid-template-columns: minmax(0, 1fr);
  height: 350px;
  min-height: 350px;
  max-height: 350px;
  overflow: hidden;
  contain: layout paint;
}

#swup .layout-menu-scroll {
  flex: 1 1 auto;
  min-height: 0;
  height: calc(100% - 314px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #7a7a7a transparent;
}

#swup .layout-menu-scroll::-webkit-scrollbar {
  width: 3px;
}

#swup .layout-menu-scroll::-webkit-scrollbar-track {
  background: transparent;
}

#swup .layout-menu-scroll::-webkit-scrollbar-thumb {
  background: #7a7a7a;
  border-radius: 2px;
}

#swup .layout-main {
  grid-area: main;
  min-width: 0;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

#swup .index_time {
  grid-row: 1;
  position: static;
  top: auto;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  margin: 0;
  padding: 0;
  line-height: 34px;
  white-space: nowrap;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: 20pt;
}

#swup .calendar,
#swup .menu {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  float: none;
  margin: 0;
}

#swup .calendar {
  grid-row: 3;
  height: 307px;
  min-height: 307px;
  max-height: 307px;
  overflow: hidden;
}

#swup .calendar table {
  table-layout: fixed;
}

#swup .calendar .load {
  min-height: 274px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#swup .layout-main > .search {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  table-layout: fixed;
  margin: 0 0 8px;
  z-index: 1200;
}

#swup .layout-main > .search .logo_search {
  width: 30px;
}

#swup .layout-main > .search .slave {
  width: auto;
}

#swup .content {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#swup .content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#swup .comments-sidebar {
  display: none;
}

@media (min-width: 1920px) {
  #swup {
    grid-template-columns: 280px minmax(0, 1fr) 360px;
    grid-template-areas: 'sidebar main comments';
  }

  #swup .comments-sidebar {
    display: block;
    grid-area: comments;
    position: sticky;
    top: 8px;
    right: auto;
    width: auto;
    height: calc(100vh - 16px);
    border: 1px solid #ddd;
  }
}

@media (max-width: 1024px) {
  #swup {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'main';
    padding: 56px 10px 10px;
  }

  #swup .layout-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2100;
    border: 1px solid #929292;
    background: #fff;
    padding: 7px 12px;
    font-family: 'Times New Roman';
    font-size: 14pt;
    box-shadow: 0 1px 5px #0000002a;
  }

  #swup .layout-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: auto;
    width: min(88vw, 360px);
    max-height: none;
    z-index: 2050;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    overflow: hidden;
    border-right: 1px solid transparent;
    border-left: none;
    border-top: none;
    border-bottom: none;
    box-shadow: 0 0 14px #00000040;
    padding: 12px 10px 20px;
  }

  #swup.panel-open .layout-sidebar {
    transform: translateX(0);
  }

  #swup .layout-overlay {
    position: fixed;
    inset: 0;
    background: #0000004f;
    z-index: 2000;
    display: none;
  }

  #swup.panel-open .layout-overlay {
    display: block;
  }

  #swup .layout-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #929292;
    background: #fff;
    font-size: 18px;
    margin: 0 0 8px auto;
  }

  #swup .content {
    height: auto;
  }

  #swup .layout-main {
    padding-top: 0;
  }

  #swup .layout-sidebar-top {
    contain: none;
  }

  #swup .comments-sidebar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #swup {
    padding: 56px 6px 8px;
  }

  #swup .layout-sidebar {
    width: min(92vw, 340px);
  }

  #swup .menu table,
  #swup .search input,
  #swup .search #search_price {
    font-size: 13pt;
  }

  .app-modal-shell {
    padding: 8px;
  }

  #app-modal-plate {
    max-height: calc(100vh - 20px);
  }

  .app-modal-title {
    font-size: 14pt;
  }
}
