.clearfix:before, .clearfix:after, .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after {
  content: none;
}
html {font-size: 16px; line-height: normal;}
.navbar-brand {height: 40px; line-height: normal; padding: 0.3125rem 0;}
.navbar {border: none;}

.table {--bs-table-bg: transparent;}

/*
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
  padding: 13px 13px !important;
  line-height: inherit;
  vertical-align: middle;
  border-top: none;
}
*/

.table > thead > tr > th {vertical-align: top;}

th > a1 {color: #0064b9 !important;}
a.asc:after, a.desc:after {content: ''; display: inline-block; margin: 0 0 0 4px; line-height: 0.5; background: transparent;}
a.asc:after {content: '\2193'; font-size: 18px; font-weight: 500; font-family: 'Source Sans Pro',Helvetica,Arial,sans-serif;}
a.desc:after {content: '\2191'; font-size: 18px; font-weight: 500; font-family: 'Source Sans Pro',Helvetica,Arial,sans-serif;}

#finance-goods1 .table > tbody > tr > td,
#finance-goods1 .table > tfoot > tr > td,
#finance-packages1 .table > tbody > tr > td,
#finance-packages1 .table > tfoot > tr > td
{
  padding: 13px 17px !important;
}

.table1 thead th:first-child,
.table1 tbody td:first-child {
  padding: 13px 17px;
  border-right: none;
}

.shortcut {
  position: relative;
  border-right: none;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shortcut-wide {
  position: relative;
  border-right: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shortcut div.shortcut-text,
.shortcut-wide div.shortcut-text {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: auto;
  height: 100%;
  background-color: #FFFFFF;
  border: 1px solid #F6F6F6;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(200,200,200,0.5);
  color: #0064b9;
  cursor: pointer;
  align-items: center;
  display: flex;
}
.shortcut div.shortcut-text {
  padding-left: 13px;
  padding-right: 13px;
}
.shortcut-wide div.shortcut-text {
  padding-left: 8px;
  padding-right: 8px;
}
div.shortcut-text:hover {
  text-decoration-line: underline;
  text-decoration-style: dotted;
}

.table tbody td.min {max-width: 200px;}
.table tbody td.min2 {max-width: 150px;}



.table tbody td.colored-status {padding: 0 !important;}
.table tbody td.colored-status div {padding: 13px 17px !important; border-radius: 0;}

.table tbody td.colored-status2 {padding: 3px 3px !important;}
.table tbody td.colored-status2 div {padding: 10px 14px !important; border-radius: 4px;}

.table tbody td.colored-status3 {padding: 6px 6px !important;}
.table tbody td.colored-status3 div {padding: 7px 11px !important; border-radius: 4px;}

.table tbody td.colored-status4 {padding: 9px 9px !important;}
.table tbody td.colored-status4 div {padding: 4px 8px !important; border-radius: 4px;}

.table tbody td.colored-status5 {padding: 12px 12px !important;}
.table tbody td.colored-status5 div {padding: 1px 5px !important; border-radius: 6px;}

.table tbody td.colored-status6 {padding: 13px 8px 12px !important;}
.table tbody td.colored-status6 div {padding: 0 9px 1px !important; border-radius: 11px;}

.table tbody td.colored-status7 {padding: 13px 11px 12px !important;}
.table tbody td.colored-status7 div {padding: 0 6px 1px !important; border-radius: 4px; display: inline-block;}

.table tbody td.colored-status8 {padding: 13px 9px 12px !important;}
.table tbody td.colored-status8 div {padding: 0 8px 1px !important; border-radius: 11px; display: inline-block;}

.table tbody td.colored-status {padding: 9px 9px !important;}
.table tbody td.colored-status div {padding: 3px 12px 5px !important; border-radius: 14px; display: inline-block;}

div.colored-status {display: inline-block; padding: 3px 12px 5px !important; border-radius: 14px;}



.btn-table {
  padding: 0.15rem 0.3rem;
  font-size: .5rem;
}


p.help-block {font-size: 13px;}

.fade {opacity: 1;}
.modal.fade {opacity: 1 !important;}
.modal-body .fade.in {opacity: 1;}
.modal-content.h-auto .modal-body {height: auto;}
.modal-content.h-fit .modal-body {height: calc(100vh - 260px); overflow: auto;}
.modal-content.h-fit .modal-body .tab-content {height: calc(100vh - 360px);}

@media (max-width: 1000px) {
  .modal-body {height: calc(100vh - 120px); overflow: auto;}
  .modal-body .tab-content {height: calc(100vh - 220px);}
}

#flash_modal .modal-body {margin-bottom: 0; padding: 0;}
#flash_modal .alert {margin-bottom: 0; padding: 18px; border-radius: 0;}
#flash_modal .modal-body button {display: none;}


.navbar-nav {float: none; margin: 0;}
label {margin-bottom: 0; font-weight: normal;}
input {color: fieldtext;}
input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control {
  line-height: inherit;
}

.form-control {height: inherit;}

/* Активный пункт меню */
li.nav-item > a.nav-link.active {background: #e1f1ff !important;}
li.nav-item > a.nav-link.active > span.nav-link-text {color: #0064b9 !important;}

.nav-tabs > li {margin-bottom: 0;}
.nav-tabs > li > .nav-link > .badge-nav {top: 14px; right: 8px; font-size: 12px; background-color: #0064b9 !important;}


.table thead th:first-child label::before,
.table tbody td:first-child label::before {
  margin-right: 0;
}

.table thead th.thcheckbox,
.table tbody td.tdcheckbox {
  width: 0.1%;
  padding: 13px 17px;
  border-right: 1px solid #c9d3db;
}
.table tbody td.tdcheckbox > span.editable {
  top: 0;
  left: 0;
  display: inline-block;
  border-top: 8px solid green;
  border-right: 8px solid transparent;
}
div > span.editable {
  width: 6px;
  height: 6px;
  top: 6px;
  left: -19px;
  display: block;
  border-radius: 50%!important;
  background-color: green;
}

.table thead th.thcheckbox div,
.table tbody td.tdcheckbox div{
  margin: 0;
  width: auto;
}

.table thead th.thcheckbox label,
.table tbody td.tdcheckbox label {
  margin-bottom: 0;
}

.table thead th.thcheckbox label::before,
.table tbody td.tdcheckbox label::before {
  margin: -2px 0 -2px;
}


.integrations .table td:nth-child(2) {width: 30%;}
.integrations .table td:nth-child(3) {width: 35%;}
.integrations .table td {padding: 5px !important; white-space: normal;}



.datepicker-dropdown.dropdown-menu {background-color: #fff !important;}
.bootstrap-timepicker .input-group-addon {width: auto !important;}
.bootstrap-timepicker-widget.dropdown-menu {width: 210px !important; background-color: #fff !important;}
.bootstrap-timepicker-widget table td:not(.separator) {min-width: 1rem !important;}
.bootstrap-timepicker-widget {min-width: inherit !important;}
.bootstrap-timepicker input.picker {cursor: text; !important}

.dropup ul.dropdown-menu {
  top: inherit !important;
  z-index: 800 !important;
}
.dropdown-menu {
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  color: #212529 !important;
  text-align: left !important;
  list-style: none !important;
  background-color: #0b1d2d !important;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0.25rem !important;
  z-index: 800 !important;
}
.datepicker.dropdown-menu {
  z-index: 1100 !important;
}

.dropdown-menu > li {padding: 0.25rem 1rem !important;}
.dropdown-menu > li > a {padding: 0 !important;}

.dropdown-menu > li,
.dropdown-menu > li > a,
.dropdown-menu .dropdown-item
{
  color: #fff !important;
  background-color: transparent !important;
  cursor: pointer !important;
}
.dropdown-menu > li:hover,
.dropdown-menu > li > a:hover,
/*.dropdown-menu > li.active > a,*/
.dropdown-menu > li.active > a:hover,
.dropdown-menu .dropdown-item:hover
{
  color: #fff !important;
  text-decoration: none !important;
  background-color: #1979cc !important;
}
.dropdown-menu > .active > a
{
  background-color: transparent !important;
}


.login-form input + span {
  width: 30px;
  height: 30px;
  right: 5px;
  top: 8px;
  cursor: pointer;
}

.main-filter-show-inner {width: 95.7%;}
@media (max-width: 768px) {
  .main-filter-show-inner {
    width: 100%;
  }
}

.main-pagination {height: 73px; z-index: 600;}
/*.pagination > li {height: 36px;}*/
.pagination > li > a, .pagination > li > span {padding: 6px 16px; border: 1px solid #dee2e6; color: #337ab7 !important;}
.pagination > li:first-child > a,
.pagination > li:last-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > span
{padding: 6px 10px;}
/*.pagination > li.active > a {color: #0064b9 !important; background-color: transparent!important; border: 1px solid #9dd1ff !important;}*/
.pagination > li.active .bg-white-newclass {color: #0064b9 !important; background-color: #e1f1ff !important; border: 1px solid #9dd1ff !important;}
.pagination > li.disabled > span {color: #ccc !important;}



.main-table1 {overflow-y: visible; overflow-x: visible;}
.main-table1 table {overflow-y: hidden; overflow-x: hidden;}
.main-table1 table th {
  position: static;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 10px;
}

.main-table.float-head table {position: relative;}
.relative-head {
  position: relative; z-index: 600;
}
.buttons_panel {
  /*position: relative;*/
  z-index: 650;
  top: 0;
  position: -webkit-sticky !important;
  position: sticky !important;
}
@media (max-width: 999px) {
  .buttons_panel {
    top: 57px;
  }
  .buttons_panel .btn {
    font-weight: normal !important;
  }
}

#buttons_panel2 {
  /*position: fixed;*/
  z-index: 700;
}



.btn:active, .btn.active {box-shadow: none;}
.btn:disabled {border: 1px solid #c9d3db; color: var(--bs-btn-disabled-color);}
.btn-list {
  border: 1px solid #e6e6e6 !important;
  border-left: 3px solid var(--bs-primary) !important;
  border-radius: 4px !important;
  text-align: left !important;
  white-space: normal !important;
}
/*
.btn-list:hover {
  background-color: #f0f9ff !important;
}
*/

.badge {padding: 0.25em 0.5em !important; font-size: 12px !important; vertical-align: middle; font-weight: bold;}

.main-filter-show-js-pvz .clear:hover {
  background-color: transparent !important;
  color: #1979cc !important;;
}


.form .control-label.required:after,
.form-horizontal .control-label.required:after,
form .form-group.required label:after {
  content: "*";
  color: #ff3333;
  font-size: 0.9rem;
  line-height: 0.7;
  margin: 0 0 0 3px;
}

/*
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, .bs-tooltip-top .tooltip-arrow::before {
  top: -3px; left: -3px;
}
.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before, .bs-tooltip-end .tooltip-arrow::before {
  top: -3px; right: -3px;
}
*/

.modal-dialog.w-mid, .modal-content.w-mid {max-width: 944px !important;}


/* Тултипы ПВЗ и доп услуг */
.tooltip_advprices_wrapper, .tooltip_pvz_wrapper {font-size: 10px;}
.tooltip_advprices_body, .tooltip_pvz_body {min-width: 160px; border-bottom: 1px solid gray;}
.tooltip_advprices_name, .tooltip_pvz_name {float: left; width: 75%; padding: 2px; text-align: left;}
.tooltip_advprices_price, .tooltip_pvz_price {float: left; width: 25%; min-width: 40px; padding: 2px; text-align: right; white-space: nowrap;}
.tooltip_advprices_clear, .tooltip_pvz_clear {clear: both;}
.tooltip_pvz_name {width: 60%;}
.tooltip_pvz_price {width: 40%;}

.popover .popover-body {padding: 10px;}

button.znak {width: 18px; height: 18px; border: none; background-image: url(/images/znak.png);}
button.znak:focus {border: none; outline: none; box-shadow: 0 0 4px rgba(0,0,0,0.5);}

.prettydropdown:not(.disabled) > ul.active {z-index: 950 !important;}
#prettydropdown-parent {margin-bottom: 0 !important;}

#service_loader {height: 40px; padding: 12px 0 0 8px;}

#flash_modal {z-index: 1060;}


div.container-fluid.menu-hidden .left {width: 50px;}
div.container-fluid.menu-hidden .right {width: calc(100% - 56px);}
div.container-fluid.menu-hidden .footer {display: none;}
div.container-fluid.menu-hidden .navbar-menu {height: 40px;}
div.container-fluid.menu-hidden .navbar-brand {display: none;}
div.container-fluid.menu-hidden .header {overflow: hidden; padding-right: 0 !important;}
div.container-fluid.menu-hidden .menu {margin-right: 0;}

div.container-fluid .menu-img {display: block;}
div.container-fluid.menu-hidden .menu-img {display: none;}
div.container-fluid .menu-img-hidden {display: none;}
div.container-fluid.menu-hidden .menu-img-hidden {display: block;}


.btn-filter.filtered:before {content: "\2022"; font-size: 22px; line-height: 12px; margin-bottom: 2px; color: #ff3c33 !important; margin-right: 4px;}

.p-link {border-bottom-style: dashed; border-bottom-width: 1px;}
.p-link:hover {text-decoration: none;}

img.filetype {width: 24px; float: left;}

.modal-footer .btn + .btn,
.modal-footer .btn + .dropup,
.modal-footer .dropup + .dropup
{margin-left: 8px;}

.starbars {width: 100%;}
.starbars > div {width: 100%; margin: 0 auto;}
.starbar {float: left; width: 32px; height: 32px; text-align: center; cursor: pointer; background-repeat: no-repeat; background-position: 0 0; background-size: cover;}
.starbar {background-image: url('/images/stars.png');}


/* Select2 styles */
/* Field */
.select2-container--bootstrap .select2-selection {
  width: 100%!important;
  margin-top: .25rem!important;
  padding-top: .5rem!important;
  padding-right: .5rem!important;
  padding-bottom: .5rem!important;
  padding-left: .5rem!important;
  background-color: #ffffff !important;
  border-radius: 0.375rem !important;
  font-size: 14px !important;
  border: 1px solid #c9d3db !important;
  box-shadow: none !important;
  font: inherit !important;
}
/* Dropdown container */
.select2-container--bootstrap .select2-dropdown {
  padding: 0.5rem 0 !important;
  margin: 0;
  font-size: 14px;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #0b1d2d;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0.25rem;
  z-index: 1100 !important;
}
/* Options list */
.select2-container--bootstrap .select2-results__options {
}
/* Each option */
.select2-container--bootstrap .select2-results__option {
  padding: 0.25rem 1rem !important;
  color: #fff;
  background-color: #0b1d2d;
  cursor: pointer;
}
.select2-container--bootstrap .select2-results__option:hover {
  color: #fff;
  text-decoration: none;
  background: #0e263b;
}
/* Choosen list */
.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered{
}
/* Choosen element */
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
  margin: 0 2px 0 0 !important;
  background-color: #ebf0f5 !important;
  border: none !important;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
  padding: 0 !important;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__clear {
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  line-height: 1;
}
/* Search container */
.select2-container--bootstrap .select2-selection--multiple .select2-search--inline {
}
/* Search field */
.select2-container--bootstrap .select2-selection--multiple .select2-search__field {
  padding: 0 !important;
  height: 20px !important;
}


.main-header-js {z-index: 10;}

.form-label {margin-bottom: 0 !important;}