@charset "windows-1251";


@font-face {
  font-family: 'FontAwesome';
  src: url('/fonts/fontawesome-webfont.eot?v=4.1.0');
  src: url('/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'), url('/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'), url('/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'), url('/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* для старых иконок */
@font-face {
  font-family: 'FontAwesome';
  src: url('/fonts/fontawesome-webfont.eot?v=4.1.0');
  src: url('/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'), url('/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'), url('/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'), url('/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* для новых иконок с классом fab*/
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fonts/fa-solid-900.eot");
  src: url("/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("/fonts/fa-solid-900.woff2") format("woff2"), url("/fonts/fa-solid-900.woff") format("woff"), url("/fonts/fa-solid-900.ttf") format("truetype"), url("/fonts/fa-solid-900.svg#fontawesome") format("svg"); }

@font-face {
  font-family: "Roboto";
  src: url('/fonts/Roboto-Regular.eot?t=v13'); /* IE9*/
  src: url('/fonts/Roboto-Regular.eot?t=v13#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('/fonts/Roboto-Regular.woff?t=v13') format('woff'), /* chrome, firefox */
  url('/fonts/Roboto-Regular.ttf?t=v13') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
  url('/fonts/Roboto-Regular.svg?t=v13#Roboto-Regular') format('svg'); /* iOS 4.1- */
}

body {
	color: #777;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	padding-top:84px
	
}



.style-loader {
  z-index: 9999; /* Помещает блок поверх остальных элементов */
  top:0; left:0; width:100%;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
   /* transition: all 0.3s;*/
}
h1 {/*background-color:#f6f6f6;*/ background-color:#DEF3F0; font-size: 1.6rem; padding:16px}

input[type="checkbox"] { /* change "blue" browser chrome to yellow */
  filter: hue-rotate(240deg); 
}

.border-left-thicker { border-left: 3px solid #006a5b !important;}
.topBorder>td {border-top: 3px solid #006A5B;}
.topBorder .lead {font-size:1.1rem;}
.text-dotted {border-bottom: dotted 2px;}

/*  замена стилей bootstrap  */
.badge {font-weight:100}
.btn-success { font-weight:bold}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    color: #fff;
    background-color: #218838;
    border-color: #285e8e; 
}
.btn-secondary {background-color: #F3F3F3;color:#666; border-color:#E1E1E1}
.btn-info {background:#006A5B;color:#fff;border:none}
.btn-info:focus, .btn-info:hover {
    color: #fff;
    background-color: inherit;
    border-color: none;
    box-shadow: none;
}
.btn-default:hover, .btn-default:active, .btn-default:focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
	font-size:.9rem;
	
}
.btn-default .navbar-toggler-icon {color: #333}
.btn-default.btn-sm {font-size:0.8rem}
.custom-file-label::after {	content: "Поиск"!important;} 
.btn-outline-secondary {font-size:13px}
.modal-header .close {    margin: -1rem -1rem -1rem -1rem;}
.modal[id^=a] .modal-header{border-bottom:none }

.green, .border-success, .text-success {color: #006A5B!important;}

.nav-tabs>li>a {
    margin-right: 2px;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}
.btn-group .dropdown-menu {font-size:.9rem}
.dropdown-item:hover {
    color:inherit;
    text-decoration: none;
    background-color: white;
	cursor:pointer
}
.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0;
}


.table .form-control {font-size:13px}

.tooltip-inner {
    background-color: #F5F5F5;color:#777
}
.tooltip.bs-tooltip-right .arrow:before {
    border-bottom-color: #F5F5F5!important;
}
.tooltip.bs-tooltip-left .arrow:before {
    border-bottom-color: #F5F5F5 !important;
}
.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #F5F5F5!important;
}
.tooltip.bs-tooltip-top .arrow:before {
    border-bottom-color: #F5F5F5 !important;
}
#lk .dropdown-toggle::after {display:none}
.modal-content {border-radius: 0.5rem}
  input[type='radio']:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

    input[type='radio']:checked:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #006A5B;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }
.modal { overflow: auto !important; }
.w-40 {width:40% !important;}
.table-unstriped tbody tr:nth-of-type(odd),
.table-unstriped tbody tr:nth-of-type(even) {
    background-color: transparent !important;
}

.btn-success, .btn-success:hover {
    background-color: #006A5B;
    border-color:#006A5B;
}
.badge-success {
    background-color: #006A5B;
}
.bg-light-green {background-color:#E4F3E7}
.bg-red, .dataTable  .bg-red {background-color:#F6E9D3}
.red {color:#B13A3E}
/*  ! замена стилей bootstrap  */


.fab {
  font-family: 'Font Awesome 5 Free';
  font-weight: 400; }
.fa {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-search:before {content: "\f002"} .fa-shopping-cart:before {content: "\f07a"} .fa-file-image-o:before {content: "\f1c5";}
.fa-cart-circle-check:before {    content: "\f218";}
.fa-user:before{content:"\f007"; font-size:1.3rem}.fa-phone:before {content: "\f095"} .fa-th-list:before {  content: "\f00b";} .fa-bell:before {content: "\f0f3"}
.fa-arrows-up-down-left-right:before {  content: "\f047";}
.icon-menu:before {   content: "\f0c9"}
.fa-repeat:before { content: "\f01e";}
.fa-calendar-days:before { content: "\f073"; cursor:pointer}
.fa-heart-o:before {content:"\f08a"; cursor:pointer}
.fa-heart:before {content:"\f004"; color:#006A5B}
.fa-dolly:before {  content: "\f02e"; }
.fa-info-circle {content: "\f05a"; color: #006A5B; cursor:pointer; font-size:1.5rem}
.fa-filter {content: "\f0b0"; font-size:1.1rem; color: #AAA; padding-left:10px}
.fa-list-ol:before{content: "\f0cb";}
.fa-list-ol{ font-size:1.1rem; color:#006A5B}
.fa-visible:before, .fa-visible-all:before {content: "\f06e"; cursor:pointer}
.fa-eye-slash, .fa-eye {
	margin-left: -30px; 
	margin-top:10px;
	cursor: pointer;
	position:relative;
	z-index:1000;
	font-size:16px
}
.fa-eye-delete:before {content: "\f06e";}
.fa-info-circle:before { content: "\f05a";}
.fa-pencil-square-o:before {    content: "\f044";}
.fa-trash:before { content: "\f014";}
.fa-chevron-left:before{content: "\f053"}
.fa-chevron-right:before{content: "\f054"}
.fa-download:before { content: "\f019";}
.fa-copy:before {content:"\f0c5";}
.fa-truck:before {    content: "\f0d1";}
.fa-bars:before {content: "\f0c9";}
.fa-angle-double-down:before {  content: "\f103";}
.fa-magnifying-glass:before { content:   "\f002";}
.fa-question-circle-o:before{content: "\f128"; cursor:pointer}
.fa-trash-o:before { content: "\f014";}


#catalog-menu {width:300px; font-size:0.8rem;}
#menu2 .ul_root>li>span {font-size:1.1rem; font-weight:bold}

#filter-body .form-check {justify-content: left}
#filter-body .btn-sm {font-size:0.75rem !important;}
#filter-body .close {font-size:0.75rem}
#filter-body button span.close {float: none; opacity: 1; font-size: 1.25rem; line-height: 1;}
#filter-body .d-inline-block {min-width:180px}

#login { background: url('/images/login-background.jpg'); background-repeat: repeat	}
#login .card-header {background-color:#006A5B}
#search {width:100%}
.menuChosen {background-color:#DEF3F0}

/*  ЛК значки меню  */
#lk .dropdown-menu {font-size:0.8rem}
#lk {white-space: nowrap; cursor:pointer}
#lk ul {margin-block-end:0em;margin-block-start:0em}

.link, #productTree li {color:#006A5B; text-decoration:underline; cursor:pointer}

.header {background-color:#fff; height:84px;}
.table-prices td {padding:0; margin:0;font-size:0.75rem; width:50%}

*[id^=error] {top:200px;}

div[id^=error] .modal-header {background-color:#C30; color:white}
div[id^=error] .close {color:white}

#leftMenu .list-group-item, #leftMenu .card-header {background-color:inherit !important;}

[id^=form] input {
    display: inline-block;
    padding: 0.375rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	text-align:right
}
[id^=form] button {
	 border: 1px solid #ced4da;
    border-radius: 0.25rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.8rem;
    font-weight: 400;
	}
[id^=form] input:focus-visible {outline: none !important;}
.quanty {color: #9D1F2A; font-weight:bold}
.request-line, table-striped tbody tr.request-line:nth-of-type(odd), table-striped tbody tr.request-line { background-color: #FCEFF0 !important }
#empModal .modal-header {border:none !important}



.status {
	width:15px;
	height:15px;
	display:inline-block;
	margin-right:5px
	
}
.hand {cursor:pointer}

/*  Pagination  */

table tr.selected {
    background-color: #DDF4DD !important;
}
.table-prices .primary {background-color:rgb(61, 118, 65)!important; color:white!important}
#mask {
    display: none;/**/
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 9998;
    background-color: rgb(255, 255, 255);
}
#spinner {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    display: none;/**/
}
#add .modal-footer {border-top:none}


/* ссылки на страницы в подгруппах 
 CSS themes for simplePagination.js */
.light-theme a:hover {
	text-decoration: none;
	background: #FCFCFC;
}

#pagination1.light-theme .current {
	background: #666;
	color: #FFF;
	border-color: #444;
	box-shadow: 0 1px 0 rgba(255,255,255,1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
	cursor: default;
}

.light-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}
#pagin-top {visibility:hidden; text-align:right}
#pagin-small {display:inline}
#pagin-small ul {float:right}
.small-pagin span, .small-pagin a {padding:0 5px}
.small-pagin a:hover {
	background: inherit; color:#269833
}
/* ссылки на страницы в search_show, search_list 
.pagination {padding:0; padding-left:.5em}
.pagination span {
	display: inline-block;
	height: 48px;
	width:32px;
	line-height: 48px;
	padding: 0 10px;
	text-align: center;
	text-decoration:underline;
	border-right: 2px solid #DDDDDD;
	margin-bottom:.5em;
	background-color:white
}
.pagination span.current {
	background-color: #F7F7F7;
	text-decoration:none;
	font-weight:bold
}
*/

/* ссылки на страницы в подгруппах 
 CSS themes for simplePagination.js
*/

ul.simple-pagination {list-style: none;}
.simple-pagination {
	display: block;
	overflow: hidden;
	padding: 0 5px 5px 0;
	margin: 0;
}
.simple-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.simple-pagination li {
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
}
#pagination1 {margin-top:1em}
#pagination1.light-theme a, #pagination1.light-theme span {
	float: left;
	color: #666;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #BBB;
	min-width: 14px;
	padding: 0 7px;
	margin: 0 5px 0 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}

.light-theme a:hover {
	text-decoration: none;
	background: #FCFCFC;
}

#pagination1.light-theme .current {
	background: #666;
	color: #FFF;
	border-color: #444;
	box-shadow: 0 1px 0 rgba(255,255,255,1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
	cursor: default;
}

.light-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}



.dotted {border-bottom: 1px dotted #269833; cursor:pointer}
#fileformlabel {z-index:1000; padding-left:15px} /* имя файла в окне загрузки */
#fileName .input-group {width:50%}

.greenText {color:#006A5B}
.single-line {
  white-space: nowrap; /* Запрещаем переносы */
  overflow: hidden; /* Обрезаем всё, что выходит за границы */
  text-overflow: ellipsis; /* Добавляем многоточие */
  min-width: 0
}
input[type="checkbox"] {
  accent-color: #006A5B !important; /* check=checked */
}
.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
}
.form-check .form-check-input {
  float: left;
  margin-left: -1.5em;
}

.form-check-input {
  width: 1em;
  height: 1em;
  margin-top: 0.25em;
  vertical-align: top;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, 0.25);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
}
.form-check-input[type=checkbox] {
  border-radius: 0.25em;
}
.form-check-input[type=radio] {
  border-radius: 50%;
}
.form-check-input:active {
  filter: brightness(90%);
}
.form-check-input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}
.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=radio] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}
.form-check-input[type=checkbox]:indeterminate {
  background-color: #0d6efd;
  border-color: #0d6efd;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}
.form-check-input:disabled {
  pointer-events: none;
  filter: none;
  opacity: 0.5;
}
.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
  opacity: 0.5;
}

.form-switch {
  padding-left: 2.5em;
}
.form-switch .form-check-input {
  width: 2em;
  margin-left: -2.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
  background-position: left center;
  border-radius: 2em;
  transition: background-position 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-switch .form-check-input {
    transition: none;
  }
}
.form-switch .form-check-input:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e");
}
.form-switch .form-check-input:checked {
  background-position: right center;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-inline {
  display: inline-block;
  margin-right: 1rem;
}



.priceOffer tr td input.form-control {min-width: 100px}

/* collapsed sidebar  */
/* https://bootstrapious.com/p/bootstrap-sidebar*/

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

i, span { display: inline-block;}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.main-wrapper {
      height: calc(100vh - 84px);
	 overflow: hidden; /* Запрещаем скролл всей страницы, скроллим только центр */
}
/* Строка внутри wrapper должна занимать 100% высоты */
.main-wrapper > .row {
  height: 100% !important;
}

#sidebar
{
    background: #006A5B;
    color: #fff;
	width: 75px;
    flex-shrink: 0;
	height: 100%; /* Растягиваем до самого низа */
}
#sidebar li {line-height:1; margin-bottom:12px}
#sidebar li  small {visibility:hidden;font-size:12px}
#sidebar li:hover  small {visibility:visible;}
/*#sidebar.active .components:hover {
	 transition: all 0.3s;
}  */
#sidebar.active:hover li {border-right: 1px solid #006A5B}
#sidebar.active .fa-chevron-right {display:block}
#sidebar .fa-chevron-right, #sidebar.active .fa-chevron-left{display:none}
#sidebar.active:hover ul li a i {display:inline-block}
	
	
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
}

/* можно решить с помощью js mouseenter*/
#sidebar.active:hover  {
    display:block;
	z-index:1050
}
/* #sidebar.active .components:hover span {display:inline-block}*/

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
	text-align: center;

}
#sidebar.active ul li a {    padding: 20px 25px;}

#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.5em;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active .dropdown-toggle::after, #sidebar.active  ul li span {
	display:none
}

/*#sidebar.active:hover .dropdown-toggle::after {display:block}*/
#sidebar ul.components {    padding: 10px 0;}

#sidebar ul li:hover {
    color: #006A5B;
    background: #fff;
}
#sidebar .collapse.show li:hover {
    color: #fff;
}

#sidebar ul li:hover ul {
    color: #fff;
    background: #006A5B;
}

#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active>a,
#sidebar a[aria-expanded="true"] {
    color:  #fff;
    background: #006A5B;
}

a[data-toggle="collapse"] {    position: relative;}

.dropdown-toggle::after { /* стрелочк */
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #006A5B;
}


/* ---------------------------------------------------
    ЗАГРУЗКА БОМА
----------------------------------------------------- */
.drop-zone {
    height: 200px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    padding: 20px;
}

.drop-zone span {
    color: #0288d1;
    text-decoration: underline;
}

#file-list {
    margin-top: 15px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Стили для сгенерированной таблицы */
.excel-table-render {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.excel-table-render td {
    border: 1px solid #ccc;
    padding: 6px 12px;
    white-space: nowrap;
}
.excel-table-render tr:first-child {
    font-weight: bold;
    background-color: #f2f2f2;
}

.swap {
	font-size:0.8rem;
	max-height: 130px;
    overflow: auto;
    vertical-align: bottom;
}


/*	
#filter-body {
    overflow-x: auto;
    white-space: nowrap;
 }
*/












/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
    #sidebar ul ul a {
        padding: 10px !important;
    }
    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}

#sidebarCollapse {
    position: absolute;
    top: 0;
    right: 0;
    width: 73px;
    height: 50px;
}


.grey-background {background-color: #e9ecef}
#orderChoose .modal-content {min-height:500px}
#orderChoose tr {cursor:pointer}
#orderChoose tr:hover {color:#060}

.fixed-top .lead, #searchTable .lead{font-size:1.15rem;}
#searchTable .position-absolute {top:5px; }



@media (max-width: 980px) {
  /* Задаем жесткую фиксированную ширину для страницы */
  html, body {
    width: 980px !important;
    min-width: 980px !important;
    overflow-x: auto !important; /* Появится горизонтальный скролл на мобильных */
  }

  /* Заставляем контейнеры Bootstrap держать фиксированный размер */
 .fixed-top,
 .container-fluid {
        width: 980px !important;
        max-width: 980px !important;
        min-width: 980px !important;
   }

  /* Запрещаем флекс-элементам и колонкам перестраиваться в одну строку */
  .row {
    display: flex !important;
    flex-wrap: nowrap !important; /* Колонки больше не упадут друг под друга */
  }

  /* Возвращаем колонкам сетки их процентную ширину, которая была на десктопе */
  .col-1  { flex: 0 0 8.333333% !important; max-width: 8.333333% !important; }
  .col-2  { flex: 0 0 16.666667% !important; max-width: 16.666667% !important; }
  .col-6  { flex: 0 0 50% !important; max-width: 50% !important; }
  .col-11 { flex: 0 0 91.666667% !important; max-width: 91.666667% !important; }
  .col-auto { flex: 0 0 auto !important; width: auto !important; max-width: 100% !important; }

  
  .flex-fill {
    flex: 1 1 auto !important;
  }
  
   /* Блок Фильтры в поиске */

    #data {
         min-width: 960px !important; 
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

    }
  
}




/* Fancybox карусель и лайтбокс   */
.not-selectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.carousel{position:relative;box-sizing:border-box}.carousel *,.carousel *:before,.carousel *:after{box-sizing:inherit}.carousel.is-draggable{cursor:move;cursor:grab}.carousel.is-dragging{cursor:move;cursor:grabbing}.carousel__viewport{position:relative;overflow:hidden;max-width:100%;max-height:100%}.carousel__track{display:flex}.carousel__slide{flex:0 0 auto;width:var(--carousel-slide-width, 60%);max-width:100%;padding:1rem;position:relative;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.has-dots{margin-bottom:calc(0.5rem + 22px)}.carousel__dots{margin:0 auto;padding:0;position:absolute;top:calc(100% + 0.5rem);left:0;right:0;display:flex;justify-content:center;list-style:none;user-select:none}.carousel__dots .carousel__dot{margin:0;padding:0;display:block;position:relative;width:22px;height:22px;cursor:pointer}.carousel__dots .carousel__dot:after{content:"";width:8px;height:8px;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background-color:currentColor;opacity:.25;transition:opacity .15s ease-in-out}.carousel__dots .carousel__dot.is-selected:after{opacity:1}.carousel__button{width:var(--carousel-button-width, 48px);height:var(--carousel-button-height, 48px);padding:0;border:0;display:flex;justify-content:center;align-items:center;pointer-events:all;cursor:pointer;color:var(--carousel-button-color, currentColor);background:var(--carousel-button-bg, transparent);border-radius:var(--carousel-button-border-radius, 50%);box-shadow:var(--carousel-button-shadow, none);transition:opacity .15s ease}.carousel__button.is-prev,.carousel__button.is-next{position:absolute;top:50%;transform:translateY(-350%)}.carousel__button.is-prev{left:10px}.carousel__button.is-next{right:10px}.carousel__button[disabled]{cursor:default;opacity:.3}.carousel__button svg{width:var(--carousel-button-svg-width, 50%);height:var(--carousel-button-svg-height, 50%);fill:none;stroke:currentColor;stroke-width:var(--carousel-button-svg-stroke-width, 1.5);stroke-linejoin:bevel;stroke-linecap:round;filter:var(--carousel-button-svg-filter, none);pointer-events:none}html.with-fancybox{scroll-behavior:auto}body.compensate-for-scrollbar{overflow:hidden !important;touch-action:none}.fancybox__container{position:fixed;top:0;left:0;bottom:0;right:0;direction:ltr;margin:0;padding:env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);box-sizing:border-box;display:flex;flex-direction:column;color:var(--fancybox-color, #fff);-webkit-tap-highlight-color:transparent;overflow:hidden;z-index:1050;outline:none;transform-origin:top left;--carousel-button-width: 48px;--carousel-button-height: 48px;--carousel-button-svg-width: 24px;--carousel-button-svg-height: 24px;--carousel-button-svg-stroke-width: 2.5;--carousel-button-svg-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.4))}.fancybox__container *,.fancybox__container *::before,.fancybox__container *::after{box-sizing:inherit}.fancybox__container :focus{outline:none}body:not(.is-using-mouse) .fancybox__container :focus{box-shadow:0 0 0 1px #fff,0 0 0 2px var(--fancybox-accent-color, rgba(1, 210, 232, 0.94))}@media all and (min-width: 1024px){.fancybox__container{--carousel-button-width:48px;--carousel-button-height:48px;--carousel-button-svg-width:27px;--carousel-button-svg-height:27px}}.fancybox__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:var(--fancybox-bg, rgba(24, 24, 27, 0.92))}.fancybox__carousel{position:relative;flex:1 1 auto;min-height:0;height:100%;z-index:10}.fancybox__carousel.has-dots{margin-bottom:calc(0.5rem + 22px)}.fancybox__viewport{position:relative;width:100%;height:100%;overflow:visible;cursor:default}.fancybox__track{display:flex;height:100%}.fancybox__slide{flex:0 0 auto;width:100%;max-width:100%;margin:0;padding:48px 8px 8px 8px;position:relative;overscroll-behavior:contain;display:flex;flex-direction:column;outline:0;overflow:auto;-webkit-overflow-scrolling:touch;--carousel-button-width: 36px;--carousel-button-height: 36px;--carousel-button-svg-width: 22px;--carousel-button-svg-height: 22px}.fancybox__slide::before,.fancybox__slide::after{content:"";flex:0 0 0;margin:auto}@media all and (min-width: 1024px){.fancybox__slide{padding:64px 100px}}.fancybox__content{margin:0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);padding:36px;color:var(--fancybox-content-color, #374151);background:var(--fancybox-content-bg, #fff);position:relative;align-self:center;display:flex;flex-direction:column;z-index:20}.fancybox__content :focus:not(.carousel__button.is-close){outline:thin dotted;box-shadow:none}.fancybox__caption{align-self:center;max-width:100%;margin:0;padding:1rem 0 0 0;line-height:1.375;color:var(--fancybox-color, currentColor);visibility:visible;cursor:auto;flex-shrink:0;overflow-wrap:anywhere}.is-loading .fancybox__caption{visibility:hidden}.fancybox__container>.carousel__dots{top:100%;color:var(--fancybox-color, #fff)}.fancybox__nav .carousel__button{z-index:40}.fancybox__nav .carousel__button.is-next{right:8px}@media all and (min-width: 1024px){.fancybox__nav .carousel__button.is-next{right:40px}}.fancybox__nav .carousel__button.is-prev{left:8px}@media all and (min-width: 1024px){.fancybox__nav .carousel__button.is-prev{left:40px}}.carousel__button.is-close{position:absolute;top:8px;right:8px;top:calc(env(safe-area-inset-top, 0px) + 8px);right:calc(env(safe-area-inset-right, 0px) + 8px);z-index:40}@media all and (min-width: 1024px){.carousel__button.is-close{right:40px}}.fancybox__content>.carousel__button.is-close{position:absolute;top:-40px;right:0;color:var(--fancybox-color, #fff)}.fancybox__no-click,.fancybox__no-click button{pointer-events:none}.fancybox__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:50px;height:50px;color:var(--fancybox-color, currentColor)}.fancybox__slide .fancybox__spinner{cursor:pointer;z-index:1053}.fancybox__spinner svg{animation:fancybox-rotate 2s linear infinite;transform-origin:center center;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:100%;height:100%}.fancybox__spinner svg circle{fill:none;stroke-width:2.75;stroke-miterlimit:10;stroke-dasharray:1,200;stroke-dashoffset:0;animation:fancybox-dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:currentColor}@keyframes fancybox-rotate{100%{transform:rotate(360deg)}}@keyframes fancybox-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.fancybox__backdrop,.fancybox__caption,.fancybox__nav,.carousel__dots,.carousel__button.is-close{opacity:var(--fancybox-opacity, 1)}.fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop,.fancybox__container.is-animated[aria-hidden=false] .fancybox__caption,.fancybox__container.is-animated[aria-hidden=false] .fancybox__nav,.fancybox__container.is-animated[aria-hidden=false] .carousel__dots,.fancybox__container.is-animated[aria-hidden=false] .carousel__button.is-close{animation:.15s ease backwards fancybox-fadeIn}.fancybox__container.is-animated.is-closing .fancybox__backdrop,.fancybox__container.is-animated.is-closing .fancybox__caption,.fancybox__container.is-animated.is-closing .fancybox__nav,.fancybox__container.is-animated.is-closing .carousel__dots,.fancybox__container.is-animated.is-closing .carousel__button.is-close{animation:.15s ease both fancybox-fadeOut}.fancybox-fadeIn{animation:.15s ease both fancybox-fadeIn}.fancybox-fadeOut{animation:.1s ease both fancybox-fadeOut}.fancybox-zoomInUp{animation:.2s ease both fancybox-zoomInUp}.fancybox-zoomOutDown{animation:.15s ease both fancybox-zoomOutDown}.fancybox-throwOutUp{animation:.15s ease both fancybox-throwOutUp}.fancybox-throwOutDown{animation:.15s ease both fancybox-throwOutDown}@keyframes fancybox-fadeIn{from{opacity:0}to{opacity:1}}@keyframes fancybox-fadeOut{to{opacity:0}}@keyframes fancybox-zoomInUp{from{transform:scale(0.97) translate3d(0, 16px, 0);opacity:0}to{transform:scale(1) translate3d(0, 0, 0);opacity:1}}@keyframes fancybox-zoomOutDown{to{transform:scale(0.97) translate3d(0, 16px, 0);opacity:0}}@keyframes fancybox-throwOutUp{to{transform:translate3d(0, -30%, 0);opacity:0}}@keyframes fancybox-throwOutDown{to{transform:translate3d(0, 30%, 0);opacity:0}}.fancybox__carousel .carousel__slide{scrollbar-width:thin;scrollbar-color:#ccc rgba(255,255,255,.1)}.fancybox__carousel .carousel__slide::-webkit-scrollbar{width:8px;height:8px}.fancybox__carousel .carousel__slide::-webkit-scrollbar-track{background-color:rgba(255,255,255,.1)}.fancybox__carousel .carousel__slide::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:2px;box-shadow:inset 0 0 4px rgba(0,0,0,.2)}.fancybox__carousel.is-draggable .fancybox__slide,.fancybox__carousel.is-draggable .fancybox__slide .fancybox__content{cursor:move;cursor:grab}.fancybox__carousel.is-dragging .fancybox__slide,.fancybox__carousel.is-dragging .fancybox__slide .fancybox__content{cursor:move;cursor:grabbing}.fancybox__carousel .fancybox__slide .fancybox__content{cursor:auto}.fancybox__carousel .fancybox__slide.can-zoom_in .fancybox__content{cursor:zoom-in}.fancybox__carousel .fancybox__slide.can-zoom_out .fancybox__content{cursor:zoom-out}.fancybox__carousel .fancybox__slide.is-draggable .fancybox__content{cursor:move;cursor:grab}.fancybox__carousel .fancybox__slide.is-dragging .fancybox__content{cursor:move;cursor:grabbing}.fancybox__image{transform-origin:0 0;touch-action:none;user-select:none;transition:none}.has-image .fancybox__content{padding:0;background:transparent;min-height:1px}.is-closing .has-image .fancybox__content{overflow:visible}.has-image[data-image-fit=contain]{overflow:visible;touch-action:none}.has-image[data-image-fit=contain] .fancybox__content{flex-direction:row;flex-wrap:wrap}.has-image[data-image-fit=contain] .fancybox__image{max-width:100%;max-height:100%;object-fit:contain}.has-image[data-image-fit=contain-w]{overflow-x:hidden;overflow-y:auto}.has-image[data-image-fit=contain-w] .fancybox__content{min-height:auto}.has-image[data-image-fit=contain-w] .fancybox__image{max-width:100%;height:auto}.has-image[data-image-fit=cover]{overflow:visible;touch-action:none}.has-image[data-image-fit=cover] .fancybox__content{width:100%;height:100%}.has-image[data-image-fit=cover] .fancybox__image{width:100%;height:100%;object-fit:cover}.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,.fancybox__carousel .fancybox__slide.has-map .fancybox__content,.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,.fancybox__carousel .fancybox__slide.has-video .fancybox__content,.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content{flex-shrink:1;min-height:1px;overflow:visible}.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,.fancybox__carousel .fancybox__slide.has-map .fancybox__content,.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content{width:100%;height:80%}.fancybox__carousel .fancybox__slide.has-video .fancybox__content,.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}.fancybox__carousel .fancybox__slide.has-map .fancybox__content,.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,.fancybox__carousel .fancybox__slide.has-video .fancybox__content,.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content{padding:0;background:rgba(24,24,27,.9);color:#fff}.fancybox__carousel .fancybox__slide.has-map .fancybox__content{background:#e5e3df}.fancybox__html5video,.fancybox__iframe{border:0;display:block;height:100%;width:100%;background:transparent}.fancybox-placeholder{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.fancybox__thumbs{flex:0 0 auto;position:relative;padding:0px 3px;opacity:var(--fancybox-opacity, 1)}.fancybox__container.is-animated[aria-hidden=false] .fancybox__thumbs{animation:.15s ease-in backwards fancybox-fadeIn}.fancybox__container.is-animated.is-closing .fancybox__thumbs{opacity:0}.fancybox__thumbs .carousel__slide{flex:0 0 auto;width:var(--fancybox-thumbs-width, 96px);margin:0;padding:8px 3px;box-sizing:content-box;display:flex;align-items:center;justify-content:center;overflow:visible;cursor:pointer}.fancybox__thumbs .carousel__slide .fancybox__thumb::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-width:5px;border-style:solid;border-color:var(--fancybox-accent-color, rgba(34, 213, 233, 0.96));opacity:0;transition:opacity .15s ease;border-radius:var(--fancybox-thumbs-border-radius, 4px)}.fancybox__thumbs .carousel__slide.is-nav-selected .fancybox__thumb::after{opacity:.92}.fancybox__thumbs .carousel__slide>*{pointer-events:none;user-select:none}.fancybox__thumb{position:relative;width:100%;padding-top:calc(100%/(var(--fancybox-thumbs-ratio, 1.5)));background-size:cover;background-position:center center;background-color:rgba(255,255,255,.1);background-repeat:no-repeat;border-radius:var(--fancybox-thumbs-border-radius, 4px)}.fancybox__toolbar{position:absolute;top:0;right:0;left:0;z-index:20;background:linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.006) 8.1%, rgba(0, 0, 0, 0.021) 15.5%, rgba(0, 0, 0, 0.046) 22.5%, rgba(0, 0, 0, 0.077) 29%, rgba(0, 0, 0, 0.114) 35.3%, rgba(0, 0, 0, 0.155) 41.2%, rgba(0, 0, 0, 0.198) 47.1%, rgba(0, 0, 0, 0.242) 52.9%, rgba(0, 0, 0, 0.285) 58.8%, rgba(0, 0, 0, 0.326) 64.7%, rgba(0, 0, 0, 0.363) 71%, rgba(0, 0, 0, 0.394) 77.5%, rgba(0, 0, 0, 0.419) 84.5%, rgba(0, 0, 0, 0.434) 91.9%, rgba(0, 0, 0, 0.44) 100%);padding:0;touch-action:none;display:flex;justify-content:space-between;--carousel-button-svg-width: 20px;--carousel-button-svg-height: 20px;opacity:var(--fancybox-opacity, 1);text-shadow:var(--fancybox-toolbar-text-shadow, 1px 1px 1px rgba(0, 0, 0, 0.4))}@media all and (min-width: 1024px){.fancybox__toolbar{padding:8px}}.fancybox__container.is-animated[aria-hidden=false] .fancybox__toolbar{animation:.15s ease-in backwards fancybox-fadeIn}.fancybox__container.is-animated.is-closing .fancybox__toolbar{opacity:0}.fancybox__toolbar__items{display:flex}.fancybox__toolbar__items--left{margin-right:auto}.fancybox__toolbar__items--center{position:absolute;left:50%;transform:translateX(-50%)}.fancybox__toolbar__items--right{margin-left:auto}@media(max-width: 640px){.fancybox__toolbar__items--center:not(:last-child){display:none}}.fancybox__counter{min-width:72px;padding:0 10px;line-height:var(--carousel-button-height, 48px);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased}.fancybox__progress{background:var(--fancybox-accent-color, rgba(34, 213, 233, 0.96));height:3px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:30;user-select:none}.fancybox__container:fullscreen::backdrop{opacity:0}.fancybox__button--fullscreen g:nth-child(2){display:none}.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(1){display:none}.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(2){display:block}.fancybox__button--slideshow g:nth-child(2){display:none}.fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(1){display:none}.fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(2){display:block}
