:root {
  --mp-bg: #f8f8f8;
  --mp-primary: #008c3a;
  --mp-secondary: #97c21a;
  --mp-tertiary: #ffd400;
  --mp-noactive: #aaaaaa;
  /*--mp-highlight: rgba(151,151,151,.25);*/
  --mp-highlight: #aaaaaa;
  --mp-notification: #d73235;
  --mp-notification-hover: #b22528;
  --mp-link: #141414;
  --mp-hover: #e6f4ec;
  --mp-red-hover: #ffeaea;
  --mp-btn-hover: #00692c;
  --mp-statusgreen: #cce8d8;
  --mp-statusyellow: #fff3b3;
  --mp-statusflash: #ffd400;
  --mp-statusred: #f3c2c3;
  /*--mp-statusgrey: #616161;*/
  --mp-statusgrey: #dedede;
  --mp-white: #ffffff;
  --mp-black: #000000;
  --mp-accent: #008c3a;
  --mp-globalmw: 1840px;
  --mp-font-family: 'Inter', sans-serif;
  --mp-font-fa: 'Font Awesome 5 Free';
  --mp-font-bi: 'bootstrap-icons';
  --mp-table-min-w: 972px;
  --bs-form-check-bg: #ffffff;
}

.custom-tooltip {
  /*--bs-tooltip-bg: var(--mp-hover);*/
  /*--bs-tooltip-color: var(--mp-black);*/
  --bs-tooltip-opacity: .9;
  --bs-tooltip-bg: var(--mp-primary);
  --bs-tooltip-padding-x: 10px;
  --bs-tooltip-padding-y: 10px;
}

.custom-tooltip * {
  text-align: left;
  line-height: 1.2;
}

/* ***************** custom SCROLLBAR ********************** */

/* width */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */

::-webkit-scrollbar-track {
  box-shadow: none;
  /*background: var(--mp-statusgrey);*/
  background: rgba(50,50,50,.025);
  border-radius: 10px;
}

/* Handle */

::-webkit-scrollbar-thumb {
  background: rgba(0, 140, 58, .72);
  border-radius: 10px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
  background: var(--mp-btn-hover);
}

/* Buttons */

/* ::-webkit-scrollbar-button {
  background: rgba(50,50,50,.025);
  width: 5px;
  height: 5px;
} */

/* @media only screen and (max-width: 900px) {
  .nav.nav-pills::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }
}

@media only screen and (max-width: 900px) {
  .nav.nav-pills::-webkit-scrollbar-thumb {
    background: #E6F4EC;
    border-radius: 10px;
  }
}

@media only screen and (max-width: 900px) {
  .nav.nav-pills::-webkit-scrollbar-thumb:hover {
    background: var(--mp-btn-hover);
  }
} */

body {
  font-family: var(--mp-font-family);
  background-color: var(--mp-white);
  /*min-width: 1336px;*/
  min-width: 100%;
}

@media only screen and (max-width: 1024px) {
  body {
    min-width: 100%;
    max-width: 100%;
  }
}

p, ul, ol, li, textarea {
  font-size: 14px;
}

.mp-list {
  list-style: none;
  padding: 0 14px;
  line-height: 1.2;
}

.mp-list li {
  width: 100%;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 10px 0;
}

.mp-list li:last-of-type {
  margin-bottom: 0;
}

.mp-list li a, .mp-list li span {
  text-decoration: none;
  color: currentColor;
  cursor: pointer;
}

.mp-list li:hover a, .mp-list li:hover span, .mp-list li.active a, .mp-list li.active span {
  color: var(--mp-primary);
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  max-width: 100%;
}

#wrapper {
  background-color: var(--mp-bg);
  min-height: calc(100vh - 80px);
}

#wrapper > .container {
  max-width: var(--mp-globalmw);
  margin: 0 auto;
}

.navbar-top > .container-fluid {
  max-width: var(--mp-globalmw);
}

.navbar-top {
  height: 80px;
  background-color: rgba(255,255,255,1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--mp-statusgrey);
}

.img-logo {
  max-height: 28px;
}

.link-icon {
  display: block;
  position: relative;
  font-size: 20px;
  padding: 8px;
}

.link-icon span {
  display: flex;
  font-size: 10px;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: var(--bs-red);
  color: #ffffff;
  position: absolute;
  top: .5em;
  right: -.2em;
}

.navbar-collapse {
  gap: 1rem;
}

.navbar-box .navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.btn-mp.btn {
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--mp-primary);
  transition: all .18s ease-in-out;
  line-height: 0;
}

.btn-mp.btn span {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  min-width: 70px;
}

.btn-mp.btn.btn-dropdown, .btn-mp.btn.btn-number, .input-daterange {
  border: 1px solid var(--mp-noactive);
}

.btn-mp.btn.btn-dropdown.show, .btn-mp.btn.btn-dropdown:hover, .btn-mp.btn.btn-dropdown:focus, .btn-mp.btn.btn-number:hover, .btn-mp.btn.btn-number:focus, .input-daterange:hover, .input-daterange:focus {
  border: 1px solid var(--mp-primary);
}

a.btn-mp.btn {
  line-height: 1.3;
}

.btn-mp.btn-tertiary {
  background-color: var(--mp-white);
  color: var(--mp-primary);
  border-color: var(--mp-primary);
  transition: all .18s ease-in-out;
}

.editorbox.active .btn-mp.btn-tertiary {
  background-color: transparent;
}

.btn-mp.btn-tertiary:hover {
  background-color: var(--mp-hover);
  border-color: var(--mp-primary);
}

.btn-mp.btn-tertiary.btn-red {
  background-color: var(--mp-white);
  color: var(--mp-notification);
  border-color: var(--mp-notification);
}

.btn-mp.btn-tertiary.btn-red:hover {
  background-color: var(--mp-red-hover);
  border-color: var(--mp-notification);
}

.btn-mp.btn-secondary {
  background-color: var(--mp-hover);
  color: var(--mp-black);
  border-radius: 50px;
  border-color: var(--mp-hover);
}

.btn-mp.btn-secondary:hover, .btn-mp.btn-secondary.active {
  color: var(--mp-white)!important;
  background-color: var(--mp-primary);
  border-color: var(--mp-primary);
}

.btn-mp.btn-primary {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-color: var(--mp-primary);
}

.btn-mp.btn-primary.btn-notif {
  background-color: var(--mp-notification);
  border-color: var(--mp-notification);
}

.btn-mp.btn-primary:hover {
  color: var(--mp-white);
  background-color: var(--mp-btn-hover);
  border-color: var(--mp-primary);
}

.btn-mp.btn-primary.btn-notif:hover {
  border-color: var(--mp-notification);
  background-color: var(--mp-notification-hover);
}

.btn-mp.btn-cancel {
  background-color: var(--mp-white);
  color: var(--mp-black);
  border-color: var(--mp-noactive);
  transition: all .18s ease-in-out;
}

.btn-mp.btn-cancel:hover {
  background-color: var(--mp-statusgrey);
  border-color: var(--mp-noactive);
}

.btn-mp.ileft img {
  margin-right: 0.5em;
}

.btn-mp.iright img {
  margin-left: 0.5em;
}

.btn-inline {
  font-size: 14px;
  color: currentColor;
  padding: 0;
  margin: 0;
  height: auto;
  width: auto;
  border: none;
  cursor: pointer;
}

.btn-inline.color-exclamation {
  color: var(--mp-notification);
}

.btn-inline.color-accent {
  color: var(--mp-accent);
}

.btn-img {
  padding: 0;
  border-radius: 10px;
  border: none;
}

.btn-img.mob-txt span {
  display: none;
  padding: 0 .5em;
  font-size: 12px;
}

@media only screen and (max-width: 576px) {
  .btn-img.mob-txt span {
    display: inline-block;
  }
}

.btn-img:hover img {
  background-color: var(--mp-hover);
  border-radius: 8px;
}

.btn-img.btn-red:hover img {
  background-color: var(--mp-statusred);
  border-radius: 8px;
}

.btn-img:active {
  border: none;
}

.mainbox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 60px;
  gap: 3.6%;
  padding-bottom: 10px;
}

@media only screen and (max-width: 1024px) {
  .mainbox {
    padding-top: 30px;
  }
}

.mainbox--item {
  display: block;
  /*min-height: calc(100vh - 200px);*/
  width: 100%;
}

.mainbox--item.sidebox {
  width: 286px;
  min-width: 286px;
  background-color: var(--mp-white);
  border-radius: 10px;
  padding: 30px;
  position: sticky;
  top: 140px;
}

.mainbox--item.contentbox {
  flex-grow: 1;
  min-height: calc(100vh - 200px);
  max-width: calc(100% - 336px);
}

@media only screen and (max-width: 1280px) {
  .mainbox--item.contentbox {
    max-width: 100%;
  }
}

.sidebar-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  /*border-bottom: 2px solid transparent;*/
}

figure.avatar span {
  display: block;
  width: 100px;
  height: 100px;
  position: relative;
}

figure span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figure.avatar {
  margin: 0 14px 8px 14px;
  border-radius: 100%;
  overflow: hidden;
  position: relative;
}

figure.avatar .addpic {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  cursor: pointer;
  opacity: 0;
}

figure.avatar span::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

figure.avatar:hover span::before {
  background: rgba(0,0,0,.5) url("../../assets/img/icon-camera.svg") no-repeat center center;
}

/* figure.avatar:hover input[type=file] + span {
  opacity: .5;
  background: rgba(0,0,0,.5) url("../../assets/img/icon-camera.svg") no-repeat center center;
} */

.mainbox--item.sidebox h3, .mainbox--item.sidebox h4, .mainbox--item.sidebox p {
  padding: 0 14px;
}

.mainbox--item.sidebox .sidebar-menu li > a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  transition: background-color .18s ease-in-out;
  font-size: 16px;
  font-weight: 500;
  color: var(--mp-black);
  margin-bottom: 2px;
}

.mainbox--item.sidebox .sidebar-menu li.active a, .mainbox--item.sidebox .sidebar-menu li a:hover {
  background-color: var(--mp-hover);
  border-radius: 8px;
  font-weight: 600;
}

.mainbox--item.sidebox .sidebar-menu li a:hover {
  font-weight: 500;
}

.mainbox--item.sidebox .sidebar-menu li.active a:hover {
  font-weight: 600;
}

.sidebox h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 04px;
}

.sidebox h4 {
  font-size: 16px;
  color: var(--mp-highlight);
}

.sidebox h4 + p {
  margin-top: 16px;
  margin-bottom: 50px;
  color: var(--mp-notification);
}

.sidebox p a {
  text-decoration: none;
  line-height: 1;
  color: var(--mp-notification);
}

.title-page {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 10px;
}

.title-page.subtitle {
  font-size: 24px;
}

.title-page .title-page--title {
  font-size: 18px;
}

.title-page .flex-buttons {
  display: flex;
  gap: 20px;
}

.title-underline {
  width: 100%;
  font-size: 16px;
  font-weight: normal;
  color: var(--mp-primary);
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid currentColor;
}

@media only screen and (max-width: 576px) {
  .title-page:not(.subtitle), .title-page.subtitle > .no-mobile {
    display: none;
  }
}

@media only screen and (max-width: 576px) {
  .title-page .flex-buttons {
    flex-direction: column;
    width: 100%;
  }
}

/* nav pills */

.nav-tabs-wrapper > .nav.nav-pills {
  border-bottom-color: transparent;
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: nowrap;
  overflow: hidden;
  overflow-x: auto;
  padding-bottom: 10px;
}

.nav-tabs-wrapper > .nav.nav-pills > .nav-item {
  min-width: fit-content;
}

.nav-tabs-wrapper > .tab-content {
  padding: 30px 0;
}

.nav-tabs-wrapper > .tab-content > .tab-pane {
  position: relative;
  min-height: 470px;
  margin: 0;
  padding: 0;
}

.tab-pane.empty-box {
  background: url("../../assets/img/no-info.svg") center / auto no-repeat;
}

.btn-mp.btn-dropdown {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 32px 14px 14px;
  position: relative;
  z-index: 1;
}

.btn-mp.btn-dropdown .noactive {
  display: none;
}

.btn-mp.btn-dropdown.show .noactive {
  display: block;
  z-index: 200;
  font-size: 14px;
  margin-right: 6px;
}

.btn-mp.btn-dropdown.show .noactive::first-letter {
  text-transform: uppercase;
}

.btn-mp.btn-dropdown.btn-primary.show {
  color: var(--mp-black);
}

.btn-mp.dropdown-toggle > span {
  font-size: 14px;
}

/* Buttons */

.btn-mp {
  height: 44px;
  font-size: 16px;
  font-weight: normal;
}

.btn-mp.btn-big {
  height: 49px;
}

@media only screen and (max-width: 576px) {
  .btn-mp:not(.nav-link) {
    font-size: 14px;
  }
}

/* Filter box */

.filter-box {
  margin-bottom: 30px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.dd-wrapper {
  width: 15%;
  max-width: 300px;
  min-width: 210px;
  flex-grow: 1;
}

.dd-wrapper.input-n-doc {
  width: 150px;
  max-width: 150px;
  min-width: 150px;
}

.dd-wrapper.one-calendar {
  max-width: 180px;
  min-width: 180px;
  width: 180px;
}

.dd-wrapper.one-calendar .input-daterange {
  min-width: 180px;
}

@media only screen and (max-width: 576px) {
  .dd-wrapper {
    min-width: 100%;
  }
}

/* .dd-wrapper:has(.money-box) {
  max-width: 222px;
} */

/* .dd-wrapper:has(#datepicker) {
  min-width: 206px;
  max-width: 206px;
} */

.dd-wrapper p {
  margin-bottom: .2em;
  font-weight: 600;
}

.dropdown-toggle:not(.note-btn)::after {
  border: none;
  content: '\f282';
  font-family: var(--mp-font-bi);
  color: var(--mp-primary);
  margin-bottom: -2px;
  transition: all .1s ease;
  position: absolute;
  right: 14px;
}

.dropdown-toggle.show:not(.note-btn)::after {
  content: '\f286';
}

.select2-container .dropdown-toggle-select:not(.note-btn)::after {
  border: none;
  content: '\f282';
  font-family: var(--mp-font-bi);
  color: var(--mp-primary);
  margin-bottom: -2px;
  transition: all .1s ease;
  position: absolute;
  right: 14px;
  bottom: 10px;
}

.select2-container.select2-container--open .dropdown-toggle-select:not(.note-btn)::after {
  content: '\f286';
}

.dropdown-toggle, .dropdown-toggle.show, .dropdown-toggle:hover {
  background-color: var(--mp-white);
}

.dropdown-menu.show {
  margin-top: -8px !important;
  border-radius: 0 0 8px 8px;
  border-color: var(--mp-primary);
  border-top: none;
  width: 100%;
}

.dropdown-menu {
  font-size: 14px;
}

.dropdown-menu p {
  padding: 0 14px;
}

.dropdown-menu p input[type=search] {
  width: 100%;
  padding-left: 40px;
}

.dd-menu-wrapper {
  max-height: 230px;
  overflow: hidden;
  overflow-y: auto;
  margin-right: 14px;
}

.dd-menu-wrapper .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  justify-content: flex-start;
  padding: 0 14px;
  margin: 10px 0;
  cursor: pointer;
}

.dd-menu-wrapper .form-check input[type=checkbox] {
  width: 24px;
  height: 24px;
  margin: 0;
  position: relative;
  cursor: pointer;
}

.dd-menu-wrapper .form-check input[type=checkbox]:hover {
  border-color: var(--mp-primary);
}

.dd-menu-wrapper .form-check input:checked[type=checkbox]:hover {
  background-color: var(--mp-btn-hover);
  color: var(--mp-white);
}

.dd-menu-wrapper .form-check input:checked[type=checkbox] {
  background-color: var(--mp-primary);
  background-image: none;
}

.dd-menu-wrapper .form-check input:checked[type=checkbox]::after {
  content: '\f26e';
  font-family: var(--mp-font-bi);
  font-size: 24px;
  line-height: .93;
  position: absolute;
  left: -1px;
  max-width: 18px;
  color: var(--mp-white);
}

.dd-menu-wrapper .form-check input:checked[type=checkbox], .dd-menu-wrapper .form-check input:focus[type=checkbox] {
  box-shadow: none;
  border-color: var(--mp-primary);
}

.dd-menu-wrapper .form-check label {
  width: 100%;
  line-height: 23px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.search-input {
  height: 44px;
  padding: 0 14px 0 44px;
  outline: none;
  border: 1px solid var(--mp-noactive);
  border-radius: 10px;
}

.search-input:focus {
  border-color: var(--mp-primary);
}

p:has(.search-input)::before {
  content: '\f52a';
  font-family: var(--mp-font-bi);
  font-size: 22px;
  color: var(--mp-noactive);
  position: absolute;
  left: 26px;
  top: 15px;
}

p:has(.search-input:focus)::before {
  color: var(--mp-primary);
}

p:has(.search-input)::after {
  content: '\f5e1';
  font-family: var(--mp-font-bi);
  font-size: 22px;
  color: white;
  position: absolute;
  right: 26px;
  top: 15px;
}

.btn-mp.btn-number {
  position: relative;
  width: 100%;
  padding: 0 0 0 14px;
  text-align: left;
  background-color: var(--mp-white);
}

/* .money-box--item:has(.yes)::after {
  content: "\f622";
  font-family: var(--mp-font-bi);
  display: block;
  position: absolute;
  right: 16px;
  top: 11px;
  color: var(--mp-noactive);
} */

.money-box {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.money-box--item {
  position: relative;
  min-width: calc(50% - 5px);
}

.money-box--item .reset {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 18px;
  height: 18px;
  translate: -80% 75%;
}

.money-box--item .reset:hover::after {
  color: var(--mp-primary);
  cursor: pointer;
}

.money-box--item > .yes + .reset {
  display: block;
}

.reset::after {
  content: "\f622";
  font-family: var(--mp-font-bi);
  display: block;
  color: var(--mp-noactive);
  font-size: 18px;
  line-height: 1;
}

.fas.fa-ruble-sign {
  display: inline-block;
  padding: 0 0 0 .5em;
  color: inherit;
  opacity: 1;
  font-size: .9em;
  color: var(--mp-black);
}

.query-note {
  color: var(--mp-noactive);
  text-align: center;
  padding: .25em 0 !important;
}

.dd-wrapper.r-group {
  width: 270px;
  min-width: 270px;
}

.radio-group {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 4px;
}

.radio-group .form-check {
  gap: .3em;
}

/* *** tables *** */

.table-fixed {
  width: 100%;
}

.table-fixed thead {
  overflow: hidden;
  /*overflow-y: scroll;*/
  padding-right: 6px;
  background-color: var(--mp-white);
  border-bottom: 1px solid var(--mp-noactive);
}

.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
  display: block;
}

.table-fixed th, .table-fixed td {
  padding: 5px 14px;
}

/* table orders */

.table-orders .thw-01, .table-orders .tdw-01 {
  width: 10%;
}

.table-orders .thw-02, .table-orders .tdw-02 {
  width: 20%;
}

.table-orders .thw-03, .table-orders .tdw-03 {
  width: 18%;
}

.table-orders .thw-04, .table-orders .tdw-04 {
  width: 18%;
}

.table-orders .thw-05, .table-orders .tdw-05 {
  width: 10%;
}

.table-orders .thw-06, .table-orders .tdw-06 {
  width: 14%;
}

.table-orders .thw-07, .table-orders .tdw-07 {
  width: 10%;
}

/* table order */

.table-order .thw-100, .table-order .tdw-100 {
  width: 100%;
}

.table-order .thw-100 span, .table-order .tdw-100 span {
  width: auto;
  display: inline-block;
  text-align: right;
}

.table-order .thw-01, .table-order .tdw-01 {
  width: 6%;
}

.table-order .thw-02, .table-order .tdw-02 {
  width: 21%;
}

.table-order .thw-03, .table-order .tdw-03 {
  width: 10%;
}

.table-order .thw-04, .table-order .tdw-04 {
  width: 14%;
}

.table-order .thw-05, .table-order .tdw-05 {
  width: 8%;
}

.table-order .thw-06, .table-order .tdw-06 {
  width: 8%;
}

.table-order .thw-07, .table-order .tdw-07 {
  width: 10%;
}

.table-order .thw-08, .table-order .tdw-08 {
  width: 8%;
}

.table-order .thw-09, .table-order .tdw-09 {
  width: 5%;
}

.table-order .thw-010, .table-order .tdw-010 {
  width: 10%;
}

/* table returns */

.table-returns .thw-01, .table-returns .tdw-01 {
  width: 9%;
}

.table-returns .thw-02, .table-returns .tdw-02 {
  width: 6%;
}

.table-returns .thw-03, .table-returns .tdw-03 {
  width: 23%;
}

.table-returns .thw-04, .table-returns .tdw-04 {
  width: 8%;
}

.table-returns .thw-05, .table-returns .tdw-05 {
  width: 14%;
}

.table-returns .thw-06, .table-returns .tdw-06 {
  width: 14%;
}

.table-returns .thw-07, .table-returns .tdw-07 {
  width: 18%;
}

.table-returns .thw-08, .table-returns .tdw-08 {
  width: 8%;
}

/* table store */

.table-store .thw-01, .table-store .tdw-01 {
  width: 32%;
}

.table-store .thw-02, .table-store .tdw-02 {
  width: 46%;
}

.table-store .thw-03, .table-store .tdw-03 {
  width: 11%;
}

.table-store .thw-04, .table-store .tdw-04 {
  width: 11%;
}

/* table buyer */

.table-buyer .thw-01, .table-buyer .tdw-01 {
  width: 32%;
}

.table-buyer .thw-02, .table-buyer .tdw-02 {
  width: 18%;
}

.table-buyer .thw-03, .table-buyer .tdw-03 {
  width: 14%;
}

.table-buyer .thw-04, .table-buyer .tdw-04 {
  width: 18%;
}

.table-buyer .thw-05, .table-buyer .tdw-05 {
  width: 18%;
}

/* table shopper */

.table-shopper .thw-01, .table-shopper .tdw-01 {
  width: 14%;
}

.table-shopper .thw-02, .table-shopper .tdw-02 {
  width: 22%;
}

.table-shopper .thw-03, .table-shopper .tdw-03 {
  width: 36%;
}

.table-shopper .thw-04, .table-shopper .tdw-04 {
  width: 14%;
}

.table-shopper .thw-05, .table-shopper .tdw-05 {
  width: 14%;
}

/* table shoppers */

.table-shoppers .thw-01, .table-shoppers .tdw-01 {
  width: 40%;
}

.table-shoppers .thw-02, .table-shoppers .tdw-02 {
  width: 30%;
}

.table-shoppers .thw-03, .table-shoppers .tdw-03 {
  width: 30%;
}

/* table goods - 12 columns */

.table-goods .thw-line_number, .table-goods .tdw-line_number {
  width: 4%;
}

.table-goods .thw-01, .table-goods .tdw-01 {
  width: 5%;
}

.table-goods .thw-02, .table-goods .tdw-02 {
  width: 9%;
}

.table-goods .thw-03, .table-goods .tdw-03 {
  width: 8%;
}

.table-goods .thw-04, .table-goods .tdw-04 {
  width: 25%;
}

.table-goods .thw-05, .table-goods .tdw-05 {
  width: 6%;
}

.table-goods .thw-06, .table-goods .tdw-06 {
  width: 7%;
}

.table-goods .thw-07, .table-goods .tdw-07 {
  width: 8%;
}

.table-goods .thw-08, .table-goods .tdw-08 {
  width: 8%;
}

.table-goods .thw-09, .table-goods .tdw-09 {
  width: 8%;
}

.table-goods .thw-010, .table-goods .tdw-010 {
  width: 6%;
}

.table-goods .thw-011, .table-goods .tdw-011 {
  width: 6%;
}

.table-goods .thw-012, .table-goods .tdw-012 {
  width: 5%;
}

/* table goods - 11 columns */

.table-goods.noyandex  .thw-line_number, .table-goods.noyandex  .tdw-line_number {
  width: 4%;
}

.table-goods.noyandex .thw-01, .table-goods.noyandex .tdw-01 {
  width: 5%;
}

.table-goods.noyandex .thw-02, .table-goods.noyandex .tdw-02 {
  width: 10%;
}

.table-goods.noyandex .thw-03, .table-goods.noyandex .tdw-03 {
  width: 8%;
}

.table-goods.noyandex .thw-04, .table-goods.noyandex .tdw-04 {
  width: 25%;
}

.table-goods.noyandex .thw-05, .table-goods.noyandex .tdw-05 {
  width: 6%;
}

.table-goods.noyandex .thw-06, .table-goods.noyandex .tdw-06 {
  width: 6%;
}

.table-goods.noyandex .thw-07, .table-goods.noyandex .tdw-07 {
  width: 8%;
}

.table-goods.noyandex .thw-08, .table-goods.noyandex .tdw-08 {
  width: 12%;
}

.table-goods.noyandex .thw-09, .table-goods.noyandex .tdw-09 {
  width: 11%;
}

.table-goods.noyandex .thw-010, .table-goods.noyandex .tdw-010 {
  width: 5%;
}

.table-goods.noyandex .thw-011, .table-goods.noyandex .tdw-011 {
  /*width: 7%;*/
  display: none;
}

.table-goods.noyandex .thw-012, .table-goods.noyandex .tdw-012 {
  width: 5%;
}

.table-responsive:has(.table-goods) + .table-footer {
  height: auto;
  justify-content: center;
}

.table-responsive:has(.table-goods) + .table-footer p {
  margin: 0;
  color: var(--mp-noactive);
}

/* table docs */

.table-docs .thw-01, .table-docs .tdw-01 {
  width: 10%;
}

.table-docs .thw-02, .table-docs .tdw-02 {
  width: 48%;
}

.table-docs .thw-03, .table-docs .tdw-03 {
  width: 16%;
}

.table-docs .thw-04, .table-docs .tdw-04 {
  width: 16%;
}

.table-docs .thw-05, .table-docs .tdw-05 {
  width: 10%;
}

.table-docs .thw-11, .table-docs .tdw-11 {
  width: 10%;
}

.table-docs .thw-12, .table-docs .tdw-12 {
  width: 25%;
}

.table-docs .thw-13, .table-docs .tdw-13 {
  width: 20%;
}

.table-docs .thw-14, .table-docs .tdw-14 {
  width: 20%;
}

.table-docs .thw-15, .table-docs .tdw-15 {
  width: 15%;
}

.table-docs .thw-16, .table-docs .tdw-16 {
  width: 10%;
}

.editorbox:not(.active) .edit-view.form-check-input, .editorbox:not(.active) .edit-view, .editorbox.active .edit-no-view, .editorbox.active .link-go.btn-img {
  display: none;
}

.table-fixed tbody td, .table-fixed thead > tr > th {
  float: left;
  display: flex;
  /*flex-wrap: wrap;*/
  align-items: center;
  justify-content: center;
  border-bottom: none;
  gap: 6px;
}

.table-fixed tbody {
  width: 100%;
  height: auto;
  max-height: 420px;
  overflow-y: scroll;
}

.table-docs tbody {
  width: 100%;
  height: auto;
  max-height: 420px;
  overflow-y: scroll;
}

.table-fixed.table-buyer tbody {
  height: auto;
  max-height: 420px;
}

.table-fixed.table-shopper tbody {
  height: auto;
  max-height: 420px;
}

.table-wrapper {
  max-height: 350px;
  overflow-y: auto;
  width: 100%;
  border: 1px solid #ddd;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
}

.table-wrapper thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.table-box-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--mp-noactive);
}

.table-box {
  border-radius: 10px;
  overflow: hidden;
  overflow-x: auto;
  /*overflow-y: scroll;*/
  /*max-height: 300px;*/
}

.table-box .table-responsive {
  min-width: var(--mp-table-min-w);
}

.table-box .table-responsive.table-big, .table-box .table-responsive.table-big + .table-footer {
  min-width: 1280px;
}

.table-footer {
  height: 60px;
  min-width: var(--mp-table-min-w);
  background-color: var(--mp-white);
  padding: 10px 14px;
  /*text-align: right;*/
  overflow: hidden;
  /*overflow-y: scroll;*/
  padding-right: 6px;
  border-top: 1px solid var(--mp-noactive);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media only screen and (max-width: 1024px) {
  .table-footer {
    justify-content: flex-start;
  }
}

.table-footer:has(nav[hidden]) {
  height: 20px;
}

.mp-table {
  font-size: 14px;
  font-weight: 400;
  color: var(--mp-black);
  margin: 0;
}

.mp-table th, .mp-table td {
  font-size: 14px;
  height: 60px;
  vertical-align: middle;
  border: 1px solid var(--mp-noactive);
  padding: 5px 10px;
}

.mp-table td {
  font-size: 12px;
  text-align: center;
}

.mp-table thead th {
  border-top: none;
  text-align: center;
  white-space: nowrap;
  background-color: var(--mp-white);
  font-size: 12px;
  font-weight: 600;
  border-top: none;
  border-left: none;
}

.mp-table thead th:first-of-type {
  border-left: none;
  text-align: center;
}

.mp-table thead th:last-of-type {
  border-right: none;
}

.mp-table tbody td:first-of-type {
  border-left: none;
  text-align: center;
}

.mp-table tbody td:last-of-type {
  border-right: none;
}

.mp-table tbody tr:last-of-type td {
  border-bottom: none;
}

.mp-table tbody td.text-right:last-of-type {
  text-align: right;
}

.mp-table tbody td.text-left:last-of-type {
  text-align: left;
}

.mp-table tbody td:nth-child(2) {
  font-size: 14px;
  text-align: left;
  justify-content: flex-start;
}

.mp-table.table-goods tbody td {
  font-size: 12px !important;
}

.mp-table.table-returns tbody td:nth-child(2) {
  font-size: 14px;
  text-align: center;
  justify-content: center;
}

.mp-table.table-buyer tbody td:nth-child(2) {
  justify-content: center;
  gap: 1em;
}

.mp-table.table-shopper tbody td:nth-child(2) {
  justify-content: center;
  gap: 1em;
}

.mp-table.table-store tbody td:nth-child(2) {
  justify-content: center;
  gap: 1em;
}

.mp-table.table-shopper tbody td:nth-child(2) span {
  width: auto;
}

.mp-table tbody tr td {
  border-left: none;
  position: relative;
}

.mp-table tbody tr:nth-child(odd):not(.row-yellow,.row-green) td {
  background-color: var(--mp-bg);
}

.mp-table tbody tr:not(.row-yellow,.row-green) td {
    background-color: var(--mp-white);
}

.mp-table tbody tr.row-yellow td {
    background-color: var(--mp-statusyellow);
}

.mp-table tbody tr.row-green td {
    background-color: var(--mp-statusgreen);
}

.mp-table td span {
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  align-items: center;
}

.mp-table td span.text-left {
  width: 100%;
}

.mp-table td span.just-center {
  width: 100%;
}

.mp-table td span.g-description {
  width: 100%;
  white-space: nowrap;
  display: block;
}

.mp-table td span + span {
  margin-left: 0.3em;
}

.mp-table td span.no-ellipsis {
  align-items: flex-start;
}

.mp-table td span:last-of-type {
  margin-right: 0;
}

.mp-table .bi, .mp-table .fas {
  color: currentColor;
  padding: 0 .5em;
}

.mp-table input {
  height: 36px;
  padding: 5px !important;
}

.mp-table input[type="number"] {
  text-align: right;
}

.icon-sorting img {
  height: 16px;
  cursor: pointer;
  margin-left: .25em;
}

.icon-sorting img {
  opacity: .25;
  rotate: 0;
}

.icon-sorting.arrow-down img {
  rotate: 180deg;
}

.icon-sorting.active img {
  opacity: 1;
}

.status {
  position: relative;
  display: inline-block;
  font-size: 12px;
  line-height: 1.1;
  padding: 10px;
  border-radius: 50px;
}

.table-docs .tdw-04 .status,
.table-docs .tdw-15 .status {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.status-yellow {
  background-color: var(--mp-statusyellow);
}

.status-grey {
  background-color: var(--mp-statusgrey);
}

.status-red {
  background-color: var(--mp-statusred);
}

.status-green {
  background-color: var(--mp-statusgreen);
}

.txt-edges .status {
  top: 1px;
}

.img-txt span:has(img) {
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid var(--mp-noactive);
}

.img-txt span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

td.img-txt {
  flex-wrap: nowrap !important;
  gap: 6px;
}

.i-calendar {
  line-height: 1;
  font-size: 20px;
  width: 21px;
  height: 23px;
}

.i-date.example {
  color: var(--mp-noactive);
}

.link-back {
  text-decoration: none;
  color: var(--mp-primary);
}

.link-back::before {
  content: "\f12f";
  display: inline-block;
  font-family: var(--mp-font-bi);
  line-height: 1;
  position: relative;
  top: .15em;
  margin-right: .3em;
}

p:has(.link-back) {
  margin-bottom: 10px;
}

/* Cards */

.mp-cards {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  grid-gap: 30px 40px;
  flex-wrap: wrap;
}

.mp-cards--item {
  padding: 20px;
  background-color: var(--mp-white);
  width: 30%;
  min-width: 350px;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  .mp-cards--item {
    min-width: 100%;
  }
}

@media only screen and (max-width: 576px) {
  .mp-cards--item {
    padding: 16px 8px;
  }
}

.mp-cards--item h4 {
  font-size: 16px;
  color: var(--mp-primary);
  border-bottom: 1px solid var(--mp-primary);
  padding: 0 10px 10px 10px;
}

.txt-edges {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  margin: 0 10px;
  border-bottom: 1px solid var(--mp-statusgrey);
}

.txt-edges .status {
  font-size: 16px;
  font-weight: 500;
  border-radius: 3px;
}

.txt-edges:last-of-type {
  border-bottom-color: transparent;
}

.mp-cards--item p:not(.txt-edges) {
  margin-top: 0;
  margin-bottom: 10px;
}

.mp-cards--item p.aslabel {
  padding: 0 10px;
  margin: 20px 0 5px 0;
}

.mp-comment {
  padding: 14px;
  margin: 0 10px 10px 10px;
  background-color: var(--mp-bg);
  border-radius: 10px;
  min-height: 6em;
}

.mp-comment .pholder {
  color: var(--mp-noactive);
}

.mp-cards--item > *:last-child, .mp-cards--item > div > *:last-child {
  margin-bottom: 0 !important;
  border-bottom: none;
}

.mp-cards--item > div > .txt-edges:last-of-type {
  border-bottom: none;
}

.mp-cards--item > div:has(.txt-edges) {
  margin-bottom: 20px;
}

.mp-cards--item .form-check {
  margin: 10px;
  padding: 0;
}

.mp-cards--item .form-check .form-check-input {
  margin-left: 0;
  margin-right: .5em;
  cursor: pointer;
}

.mp-cards--item .form-check .form-check-input:checked[type=radio], .mp-cards--item .form-check .form-check-input:focus[type=radio] {
  background-color: var(--mp-primary);
  border-color: var(--mp-primary);
  box-shadow: none;
}

.mp-cards--item .form-check .form-check-label {
  cursor: pointer;
}

.mp-cards--item .dropdown {
  margin: 0 10px;
}

.mp-cards--item p:has(button) {
  padding: 0;
  margin: 20px 0;
}

.h5 {
  font-size: 14px;
  font-weight: bold;
  color: var(--mp-primary);
  margin: 0 2em 0 0;
}

.descr-spans span:last-of-type, .prm-spans span:last-of-type {
  margin: 0;
}

.prm-spans {
  margin: 0 2em 0 0;
  position: relative;
  font-size: 12px;
}

.prm-spans span {
  margin: 0 .5em 0 0;
  font-weight: 600;
}

.prm-spans span + span {
  font-weight: 500;
}

.section {
  margin-bottom: 30px;
}

.no-ellipsis {
  white-space: normal !important;
  height: 3em;
  /*align-items: flex-start;*/
}

.fs-12 {
  /*font-size: 12px;*/
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.ellipsis-3l {
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4em;
}

.box-success {
  padding: 30px 20px;
  background-color: var(--mp-statusgreen);
  border-radius: 10px;
}

/* modals */

.m-alert {
  width: 480px;
  height: auto;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}

.m-alert .modal-body, .m-qrcode .modal-body {
  padding: 40px 100px;
}

.m-alert .modal-body img {
  margin-bottom: 30px;
}

.m-alert .modal-body p {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

.m-alert .modal-body button {
  width: 200px;
  max-width: 100%;
}

.m-global .modal-dialog {
  width: 550px;
  height: 93vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-global .modal-content {
  width: 550px;
  padding: 40px 80px 0 80px;
}

.m-global .btn-close {
  position: absolute;
  right: 0;
  top: 4px;
}

@media only screen and (max-width: 768px) {
  .m-global .modal-dialog {
    width: 96.5%;
  }
}

@media only screen and (max-width: 768px) {
  .m-global .modal-content {
    width: 100%;
    padding: 32px 20px 0 20px;
  }
}

/* @media only screen and (max-width: 768px) {
  .m-global .btn-close {
    right: 0;
  }
} */

@media only screen and (max-width: 768px) {
  .m-alert {
    width: 96.5%;
  }
}

.m-global .btn-close:focus {
  box-shadow: none;
}

.m-global .modal-body {
  padding: 0;
  /*justify-content: center;*/
}

.m-global .modal-body h4 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
}

.m-global .modal-body .imgbox {
  width: 350px;
  max-width: 100%;
  height: 350px;
  overflow: hidden;
  background-color: var(--mp-white);
  margin: 0 auto;
}

.m-global .modal-body .imgbox img, .m-global .modal-body .imgbox svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.m-global .modal-footer {
  justify-content: space-between;
  padding: 30px 0 40px 0;
  gap: 11px;
  flex-direction: row;
  flex-wrap: nowrap;
}

.m-global .modal-footer .btn-mp {
  width: 150px;
}

.m-global .modal-footer.bttns-group .btn-mp {
  width: 100%;
}

img.img-block-center {
  display: block;
  margin: 0 auto 30px auto;
}

h5 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.co-section {
  padding: 30px;
  background-color: var(--mp-white);
  border-radius: 10px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 30px;
}

@media only screen and (max-width: 1024px) {
  .co-section {
    max-width: 100%;
  }
}

@media only screen and (max-width: 576px) {
  .co-section {
    padding: 14px;
  }
}

.co-section.no-bg {
  background-color: transparent;
  padding: 1px 0 0 0;
  margin-bottom: 30px;
}

.co-section.toedit {
  border: 1px solid var(--mp-statusgrey);
}

.co-section.toedit:has(textarea:focus) {
  border-color: var(--mp-primary);
}

.mp-cols {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.mp-cols > .mp-col {
  width: auto;
  flex-grow: 1;
  flex-direction: row;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}

.mp-cols > .mp-col.txt-right {
  justify-content: flex-end;
}

@media only screen and (max-width: 1596px) {
  .mp-cols > .mp-col.txt-right {
    justify-content: flex-start;
  }
}

.mp-cols > .mp-col .label-input {
  margin: 0;
  width: 264px;
  min-width: 264px;
}

@media only screen and (max-width: 576px) {
  .mp-cols > .mp-col .label-input {
    width: 100%;
    min-width: 100%;
  }
}

@media only screen and (max-width: 576px) {
  .mp-col .btn-mp {
    width: 100%;
  }
}

.spacer {
  height: 30px;
}

.bttns {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}

@media only screen and (max-width: 576px) {
  .bttns {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 576px) {
  .bttns > .btn-mp {
    min-width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 576px) {
  .bttns.bttns-inline {
    flex-wrap: nowrap;
    width: 100%;
  }
}

@media only screen and (max-width: 576px) {
  .bttns.bttns-inline .btn-mp {
    max-width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 576px) {
  .title-page .bttns .btn-mp {
    min-width: calc(50% - 10px);
  }
}

@media only screen and (max-width: 390px) {
  .bttns .btn-mp {
    min-width: 100%;
  }
}

.title-page .bttns {
  margin: 0;
}

.file-input {
  position: relative;
  width: 100%;
  height: 180px;
  border: 2px dashed var(--mp-primary);
  border-radius: 4px;
  overflow: hidden;
}

.file-input input[type=file] {
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 4;
}

.file-input > span {
  display: block;
  position: absolute;
  left: 50%;
  translate: -50% 0;
  bottom: 40px;
  text-align: center;
}

.file-input img {
  display: block;
  margin: 0 auto 20px auto;
}

.file-input > span span {
  color: var(--mp-accent);
  font-size: 14px;
  font-weight: normal;
}

.file-input + p {
  text-align: center;
  color: var(--mp-noactive);
  margin: 20px 10px 0 10px;
}

.t-file {
  width: 100%;
  height: auto;
  cursor: pointer;
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  z-index: 4;
}

.big-descr {
  width: 100%;
  height: 180px;
  resize: vertical;
  border: none;
  padding: 0;
}

.big-descr:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.img-mag {
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-color: var(--mp-noactive);
}

.img-mag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.txt-mag {
  width: 100%;
  min-height: 180px;
  font-size: 14px;
}

.txt-mag p {
  margin-bottom: 0;
}

/* Store section */

section.mp-global-section {
  position: relative;
  margin: 0 0 40px 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.mp-starter {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 470px;
}

.mp-starter.center-center {
  align-items: center;
  justify-content: center;
}

.open-up {
  width: 350px;
  height: 350px;
  background-color: var(--mp-white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.open-up h4 {
  font-size: 26px;
  font-weight: bold;
  color: var(--mp-noactive);
  margin: 0;
  text-align: center;
  display: block;
  padding: 0 14px;
  width: 100%;
}

.open-up h4 + button {
  margin-top: 40px;
}

.flex-sb {
  width: 100%;
  /*max-width: 1000px;*/
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.form-global {
  width: 100%;
  max-width: 800px;
  margin: 10px 0;
}

.form-global .label-input {
  margin-bottom: 40px;
}

/* .form-global .label-input:last-of-type {
  margin-bottom: 0;
} */

.form-control:focus {
  box-shadow: none;
  border-color: var(--mp-primary);
}

.form-global input.field-error {
  border-color: var(--mp-notification);
}

.label-input .form-error {
  display: none;
}

.label-input .field-error + .form-error {
  display: block;
  padding: 1px 14px;
  font-size: 14px;
  color: var(--mp-notification);
}

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

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

.icon-circle {
  display: inline-block !important;
  width: auto !important;
  line-height: 1;
}

.icon-circle::after {
  content: "\f287";
  font-family: var(--mp-font-bi);
  font-size: 8px;
  margin: 0 1em;
  line-height: 1;
  display: inline-block;
  align-self: center;
}

.icon-circle.icon-flash {
  color: var(--mp-statusflash);
}

.icon-circle.icon-green {
  color: var(--mp-primary);
}

.d-flex.center.end {
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

/* Pagination */

.pagination {
  margin-bottom: 0;
}

.pager {
  justify-content: center;
}

@media only screen and (max-width: 1024px) {
  .pager {
    justify-content: flex-start;
  }
}

.pager .page-link {
  font-size: 14px;
  color: var(--mp-black);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.pager .page-link:focus {
  box-shadow: none;
  background-color: var(--mp-hover);
}

.pager .page-link[aria-label=Previous], .pager .page-link[aria-label=Next] {
  margin-right: 1em;
  font-size: 16px;
  line-height: 1;
  position: relative;
  border-radius: 8px;
  color: var(--mp-black);
  outline: none;
  box-shadow: none;
}

.pager .page-item.disabled .page-link[aria-label=Previous], .pager .page-item.disabled .page-link[aria-label=Next] {
  color: var(--mp-noactive);
  background-color: var(--mp-white);
}

.pager .page-item.disabled:hover .page-link[aria-label=Previous], .pager .page-item.disabled:hover .page-link[aria-label=Next], .pager .page-item.disabled:focus .page-link[aria-label=Previous], .pager .page-item.disabled:focus .page-link[aria-label=Next] {
  border-color: var(--mp-noactive);
  background-color: var(--mp-white);
  cursor: default;
}

.pager .page-item:hover:not(.disabled) .page-link[aria-label=Previous], .pager .page-item:hover:not(.disabled) .page-link[aria-label=Next], .pager .page-item:focus:not(.disabled) .page-link[aria-label=Previous], .pager .page-item:focus:not(.disabled) .page-link[aria-label=Next] {
  border-color: var(--mp-noactive);
  background-color: var(--mp-hover);
}

.pager .page-link[aria-label=Next] {
  margin-right: 0;
  margin-left: 1em;
}

.pager .page-link[aria-label=Previous] span, .pager .page-link[aria-label=Next] span {
  display: none;
}

.pager .page-link[aria-label=Previous]::before {
  content: "\f12f";
  font-family: var(--mp-font-bi);
  line-height: 1;
}

.pager .page-link[aria-label=Next]::before {
  content: "\f138";
  font-family: var(--mp-font-bi);
}

.pager .page-item.p-first .page-link {
  border-radius: 8px 0 0 8px;
}

.pager .page-item.p-last .page-link {
  border-radius: 0 8px 8px 0;
}

.pager .page-item.active .page-link, .pager .page-item:hover .page-link {
  background-color: var(--mp-hover);
  border-color: var(--mp-accent);
  box-shadow: none;
}

.wrapper-flex {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.fl-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /*flex-grow: 1;*/
}

.fl-column-inrow {
  flex-direction: row;
  justify-content: flex-start;
}

@media only screen and (max-width: 576px) {
  .fl-column-inrow {
    flex-direction: column;
  }
}

@media only screen and (max-width: 576px) {
  .fl-column-inrow.bttns {
    flex-direction: row;
  }
}

@media only screen and (max-width: 576px) {
  .flex-col-mob {
    flex-direction: column;
  }
}

@media only screen and (max-width: 576px) {
  .flex-col-mob > .fl-column-inrow {
    min-width: 100%;
  }
}

.fl-column-inrow.col-big {
  flex-grow: 1;
}

.fl-column p > span {
  margin-right: .25em;
}

.color-noactive {
  color: var(--mp-noactive);
}

.fl-column-inrow .dd-wrapper {
  max-width: 300px;
  width: 100%;
}

.align-self-end {
  align-self: flex-end;
}

.just-center {
  justify-content: center;
}

.just-right {
  justify-content: flex-end;
}

.just-left {
  justify-content: flex-start;
}

.head-card {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.card-in-head {
  width: 32%;
  min-width: 360px;
  padding: 20px 30px;
  background-color: var(--mp-white);
  border-radius: 10px;
  margin-bottom: 40px;
}

@media only screen and (max-width: 576px) {
  .card-in-head {
    width: 100%;
    padding: 16px 8px;
    min-width: 280px;
  }
}

.head-card .title-page > span {
  font-size: 14px;
  display: block;
  margin-top: 10px;
  color: var(--mp-noactive);
}

@media only screen and (max-width: 768px) {
  .head-card {
    flex-direction: column;
  }
}

.mp-company {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.8%;
}

.mp-company.form-global {
  max-width: none;
}

.mp-comp-column {
  display: flex;
  flex-direction: column;
  min-width: 48%;
}

@media only screen and (max-width: 576px) {
  .mp-company {
    flex-direction: column;
  }
}

@media only screen and (max-width: 576px) {
  .mp-comp-column {
    min-width: 100%;
  }
}

@media only screen and (max-width: 576px) {
  .title-page.flex-sb {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 20px;
  }
}

.selected {
    color: #666; /* Серый цвет */
}

.mp-comp-column > .mp-cards--item {
  max-width: 100%;
  min-width: 100%;
  border-radius: 10px;
  margin-bottom: 40px;
}

.contentbox label, .contentbox input:not(.form-check-input) {
  font-size: 14px;
  display: block;
  width: 100%;
  margin: 0;
}

.contentbox input:focus {
  border-color: var(--mp-primary);
}

.contentbox .label-input {
  padding: 0 0px;
  margin: 16px 0 0 0;
}

.contentbox .form-check-input {
  border: 1px solid var(--mp-noactive);
  width: 22px;
  height: 22px;
  cursor: pointer;
  padding: 0;
}

.contentbox span + .form-check-input {
  margin-left: .6em;
  display: block;
}

.contentbox .form-check-input + .form-check-label {
  width: auto;
  cursor: pointer;
}

.contentbox .form-check-input:focus {
  box-shadow: none;
}

.contentbox .form-check-input:checked {
  background-color: var(--mp-primary);
  border-color: var(--mp-primary);
}

.form-check {
  display: flex;
  flex-direction: row;
  gap: .5em;
  padding: 0;
}

.form-check .form-check-input {
  flex-grow: 0;
  margin: 0;
  padding: 0;
}

.co-section .form-global .label-input:first-of-type {
  margin-top: 0;
}

.co-section.no-bg .form-global .label-input {
  padding: 0;
}

.acc-set .co-section .form-global .label-input {
  margin-bottom: 20px;
}

.contentbox .form-label {
  position: relative;
  margin-bottom: .2em;
  font-weight: 600;
}

.contentbox input, .contentbox .input-txt, .contentbox .span-file {
  border: 1px solid var(--mp-noactive);
  background-color: var(--mp-white);
  border-radius: 10px;
  box-shadow: none;
  outline: none;
  padding: 10px 14px;
  margin: 0;
}

.contentbox input[readonly] {
  background-color: var(--mp-statusgrey);
  border-color: var(--mp-statusgrey) !important;
}

.contentbox .input-txt {
  border: 1px solid var(--mp-bg);
  background-color: var(--mp-bg);
  min-height: 43px;
}

.fa-asterisk {
  font-size: .5em;
  color: var(--mp-notification);
  padding-left: .5em;
  translate: 0 -.7em;
}

.contentbox .form-label .txt-volum {
  color: var(--mp-noactive);
  margin-left: 1em;
  font-weight: normal;
}

.form-control::placeholder {
  color:#aaaaaa;
}

.form-control.add-doc {
  height: 43px;
}

.span-file {
  display: flex;
  flex-direction: row;
  gap: .5em;
  align-items: center;
  padding: 5px 14px;
  height: 44px;
  font-size: 12px;
  position: relative;
}

.span-file > span {
  display: inline-block;
  font-weight: normal;
  color: var(--mp-noactive);
  white-space: nowrap;
}

.span-file > .span-file--info {
  padding: 3px 6px;
  background-color: var(--mp-statusgreen);
  border-radius: 6px;
  color: var(--mp-black);
}

.span-file > .span-file--data {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  box-sizing: border-box;
}

.box-grey-border {
  width: 100%;
  padding: 10px 14px 4px 14px;
  background-color: var(--mp-white);
  border: 1px solid var(--mp-noactive);
  border-radius: 10px;
}

.box-grey-border textarea {
  border: none;
  padding: 0;
  width: 100%;
  outline: none;
}

.box-photos {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.label-input > .box-photos {
  margin-top: -8px;
}

@media only screen and (max-width: 576px) {
  .box-photos {
    flex-direction: column;
    gap: 0;
  }
}

.box-photos > .photo-main {
  width: 100%;
  max-width: 180px;
  height: auto;
  border: 5px dashed var(--mp-statusgree);
}

.box-photos > .photo-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.box-photos .photo-up {
  width: 100%;
  min-width: 180px;
  height: 240px;
  min-height: 240px;
  border: 1px dashed var(--mp-statusgreen);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: var(--mp-primary);
  overflow: hidden;
}

.box-photos .photo-up:hover {
  /*border-style: solid;*/
  background-color: var(--mp-statusgreen);
}

.box-photos > .photo-items > .photo-up {
  width: 80px;
  min-width: 80px;
  height: 80px;
  min-height: 80px;
}

.box-photos > .photo-main > .photo-up + p {
  color: var(--mp-noactive);
  text-align: center;
  margin-top: 0.5em;
}

.photo-up > .input-file {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 10;
  cursor: pointer;
  opacity: 0;
}

.photo-up:has(img:not(.icon)) {
  border-style: dashed;
  border-color: green;
}


.photo-up img {
  max-width: 180px;
  max-height: 180px;
}

.photo-up img:not(.icon) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-up .trashcan {
  display: flex;
  width: 30px;
  height: 30px;
  background-color: var(--mp-white);
  border-radius: 100%;
  overflow: hidden;
  position: absolute;
  right: 8px;
  top: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .5;
  transition: opacity .25s ease-in-out;
}

.photo-up .trashcan:hover {
  opacity: 1;
}

.photo-up .trashcan img {
  display: block;
  object-fit: cover;
  width: 50%;
  height: 60%;
}

.progress {
  width: 90%;
  margin: 0 auto;
  background-color: var(--mp-statusgrey);
  height: 8px;
}

.progress-bar {
  background-color: var(--mp-primary);
  color: transparent;
}

.section-buttons {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: left;
  margin-bottom: 20px;
}

/* calendar */

.cal-con {
  width: 400px;
  height: auto;
}

.input-daterange {
  max-width: 100%;
  min-width: 206px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  height: 44px;
  padding: 2px 14px;
  border-radius: 10px;
  background-color: var(--mp-white);
}

.input-daterange:hover {
  border-color: var(--mp-primary);
}

.input-daterange:hover .i-calendar {
  color: var(--mp-primary);
}

.input-daterange > .d-flex {
  align-items: center;
}

.input-daterange .form-control {
  width: 72px;
  max-width: 90px;
  font-size: 14px;
  padding: 4px 0;
  border: none;
  cursor: pointer;
}

.input-daterange .form-control::placeholder {
  color: var(--mp-noactive);
}

.datepicker-dropdown {
  border: 1px solid var(--mp-primary);
  z-index: 10000 !important;
}

.datepicker-dropdown.datepicker-orient-top:before {
  border-top-color: var(--mp-primary);
}

.datepicker-dropdown.datepicker-orient-bottom:before {
  border-bottom-color: var(--mp-primary);
}

.datepicker .datepicker-switch {
  font-size: 14px;
  font-weight: 400;
}

.datepicker .datepicker-switch:hover {
  background-color: transparent;
}

.datepicker .prev, .datepicker .next {
  position: relative;
}

.datepicker .prev::before, .datepicker .next::before {
  content: "\f27a";
  font-family: var(--mp-font-bi);
  opacity: 1;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--mp-white);
  color: var(--mp-primary);
}

.datepicker .next::before {
  content: "\f27b";
}

.datepicker-days th.dow {
  color: var(--mp-noactive);
  font-weight: 400;
}

.datepicker table tr td.day.old, .datepicker table tr td.day.new {
  color: var(--mp-noactive);
}

.datepicker table tr td.day:hover, .datepicker table tr td.focused {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-radius: 8px;
  background-image: none;
}

.day.selected.range-start, .day.selected.range-start.old, .day.selected.range-start.new {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-radius: 8px 0 0 8px;
  background-image: none;
}

.day.selected.range-end, .day.selected.range-end.old, .day.selected.range-end.new {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-radius: 0 8px 8px 0;
  background-image: none;
}

.datepicker table tr td.active.active.focus, .datepicker table tr td.active.active:focus, .datepicker table tr td.active.active:hover, .datepicker table tr td.active.highlighted.active.focus, .datepicker table tr td.active.highlighted.active:focus, .datepicker table tr td.active.highlighted.active:hover, .datepicker table tr td.active.highlighted:active.focus, .datepicker table tr td.active.highlighted:active:focus, .datepicker table tr td.active.highlighted:active:hover, .datepicker table tr td.active:active.focus, .datepicker table tr td.active:active:focus, .datepicker table tr td.active:active:hover {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-color: var(--mp-primary);
}

.datepicker table tr td.active.active, .datepicker table tr td.active.highlighted.active, .datepicker table tr td.active.highlighted:active, .datepicker table tr td.active:active {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-color: var(--mp-primary);
  background-image: none;
}

.datepicker table tr td.selected.active.focus, .datepicker table tr td.selected.active:focus, .datepicker table tr td.selected.active:hover, .datepicker table tr td.selected.highlighted.active.focus, .datepicker table tr td.selected.highlighted.active:focus, .datepicker table tr td.selected.highlighted.active:hover, .datepicker table tr td.selected.highlighted:active.focus, .datepicker table tr td.selected.highlighted:active:focus, .datepicker table tr td.selected.highlighted:active:hover, .datepicker table tr td.selected:active.focus, .datepicker table tr td.selected:active:focus, .datepicker table tr td.selected:active:hover {
  background-color: var(--mp-primary);
  color: var(--mp-white);
  border-color: var(--mp-primary);
  background-image: none;
}

.datepicker table tr td.range {
  background-color: var(--mp-hover);
}

/* .ui-datepicker-header {
  background-color: #2196f3;
  color: white;
  text-align: center;
  font-family: 'Roboto';
  padding: 10px;
  height: 40px;
  border-radius: 8px 8px 0px 0px;
}

.ui-datepicker-prev span, .ui-datepicker-next span {
  display: none;
}

.ui-datepicker-prev:after {
  content: "<";
  font-size: 2rem;
  float: left;
  margin-left: 10px;
  cursor: pointer;
}

.ui-datepicker-next:after {
  content: ">";
  float: right;
  font-size: 2rem;
  margin-right: 10px;
  cursor: pointer;
}

.ui-datepicker-calendar th {
  padding: 10px;
  color: #2196f3;
}

.ui-datepicker-calendar {
  text-align: center;
  margin: 0 auto;
  padding: 8px;
}

.ui-datepicker-title {
  padding: 10px;
}

.ui-datepicker-calendar td {
  padding: 4px 0px;
}

.ui-datepicker-calendar .ui-state-default {
  text-decoration: none;
  color: black;
}

.ui-datepicker-calendar .ui-state-active {
  color: #2196f3;
} */

.lk-cards {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  background-color: transparent;
  padding: 0;
  margin-bottom: 45px;
}

.lk-cards .card {
  display: flex;
  width: 32%;
  min-width: 300px;
  max-width: 330px;
  height: 250px;
  padding: 30px 30px 20px 30px;
  border: 1px solid var(--mp-bg);
  border-radius: 20px;
  background-color: var(--mp-white);
  background-image: radial-gradient(ellipse at top left, rgba(204,232,216,.5) 0%,rgba(204,232,216,0) 40%);
  position: relative;
  transition: border-color .25s ease-in-out;
  flex-grow: 1;
}

.lk-cards .card:hover {
  border: 1px solid var(--mp-primary);
}

.lk-cards .card.card-orders:hover {
  border-color: #2B46CD;
}

.lk-cards .card.card-returns:hover {
  border-color: #842CC8;
}

.lk-cards .card.card-rating:hover {
  border-color: #EDBE26;
}

.lk-cards .card.card-orders {
  background-image: radial-gradient(ellipse at top left, rgba(231,241,255,.5) 0%,rgba(204,232,216,0) 40%);
}

.lk-cards .card.card-returns {
  background-image: radial-gradient(ellipse at top left, rgba(241,231,249,.5) 0%,rgba(204,232,216,0) 40%);
}

.lk-cards .card.card-rating {
  background-image: radial-gradient(ellipse at top left, rgba(254,249,234,1) 0%,rgba(204,232,216,0) 40%);
}

.lk-cards .card > .card-body {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.card-body > .card-body--item {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.card-body > .card-body--item.cb-title h4 {
  font-size: 1.875rem;
  font-weight: 600;
}

.card-rating .card-body > .card-body--item.cb-title h4 {
  font-size: 6.25rem;
  font-weight: 500;
}

.card-body > .card-body--item.cb-title h4 span {
  font-size: .6em;
  font-weight: normal;
  margin-left: 1rem;
}

.card-body > .card-body--item.cb-title {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.card-rating .card-body > .card-body--item.cb-title {
  align-items: flex-start;
}

.card-body > .card-body--item p span {
  display: inline-block;
  margin-left: .5em;
}

.card-body > .card-body--item a {
  text-decoration: none;
  font-size: 12px;
}

.card-body > .card-body--item p {
  margin-bottom: 6px;
}

.card-body > .card-body--item p:last-of-type {
  margin-bottom: 0;
  margin-top: 10px;
}

.card-rating .card-body > .card-body--item p:last-of-type {
  margin-top: 0;
}

.noactive {
  color: var(--mp-noactive);
}

.btn-links {
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-direction: row;
}

@media only screen and (max-width: 576px) {
  .btn-links {
    padding-bottom: 4px;
    overflow: hidden;
    overflow-x: auto;
  }
}

@media only screen and (max-width: 576px) {
  .btn-links .nav-link.btn-mp {
    font-size: 14px;
    white-space: nowrap;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
  }
}

.btn-links a.btn {
  display: block;
}

.link-full {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.link-go {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--mp-link);
  flex-grow: 1;
}

.link-go:hover {
  background-color: transparent;
}

.mp-table .link-go img {
  max-height: 40px;
}

/* .co-section:has(.switch-mode) {
  margin-bottom: 10px;
} */

p.switch-mode {
  margin-bottom: 0;
}

.switch-mode {
  width: 100%;
  display: flex;
  align-items: center;
}

.gotoedit {
  position: relative;
  margin: 0 1em;
  width: 48px;
  height: 24px;
  display: inline-block;
  background-color: var(--mp-white);
  border: 1px solid var(--mp-noactive);
  border-radius: 12px;
  padding: 3px;
}

.gotoedit .ball {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background-color: var(--mp-highlight);
  transition: translate .25s ease-in-out;
}

.gotoedit:has(input:checked) {
  border-color: var(--mp-primary);
}

.gotoedit:has(input:checked) .ball {
  translate: 24px;
  background-color: var(--mp-primary);
}

.gotoedit input {
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.editorbox {
  display: block;
  margin: -12px;
  padding: 12px;
  background-color: transparent;
  border-radius: 10px;
  transition: background-color .3s ease-in-out;
}

.co-section:has(input:checked) ~ .editorbox, .editorbox.active {
  background-color: #E6F4EC;
}

.editor-tools {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease-in-out;
}

.editorbox.active .editor-tools {
  max-height: 500px;
  overflow: visible;
}

.mw25 {
  max-width: 25%;
}

.mw50 {
  max-width: 50%;
}

.mw75 {
  max-width: 75%;
}

.mw100 {
  max-width: 100%;
}

.w100px {
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
}

@media only screen and (max-width: 576px) {
  .dd-wrapper.w100px, .dd-wrapper.one-calendar {
    width: 100% !important;
    max-width: 100% !important;
  }
}

a {
  color: var(--mp-link);
}

a:has(img):hover {
  background-color: var(--mp-hover);
  border-radius: 10px;
}

span.ellipse {
  display: inline-block !important;
}

.ellipse {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flex-cols {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.flex-cols > .label-input {
  flex-grow: 1;
  width: 100%;
}

.flex-cols > .label-input.flex-cols--21 {
  min-width: calc(70% - 4.055%);
}

@media only screen and (max-width: 768px) {
  .flex-cols {
    flex-direction: column;
    gap: 0;
  }
}

@media only screen and (max-width: 768px) {
  .flex-cols > .label-input, .flex-cols > .label-input.flex-cols--21 {
    min-width: 100%;
  }
}

/* MOBILE version */

@media only screen and (max-width: 1280px) {
    :root {
        --mp-globalmw: 100%;
    }

    body {
        max-width: 100%;
        min-width: auto;
    }

    #wrapper > .container {
        padding-bottom: 80px;
    }

    .mainbox--item.sidebox {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 80px;
        width: 102%;
        transform: translate(100%, 0);
        z-index: 99;
        overflow-y: auto;
        transition: translate .25s ease-in;
        display: flex;
        justify-content: space-between;
    }

    .mainbox--item.sidebox [class*="sidebar-"] {
        width: 45%;
    }

    .sidebar-avatar {
        display: flex;
        align-items: flex-start;
    }

    .sidebar-avatar .figure.avatar {
        margin-left: 0;
    }

    .sidebar-avatar .avatar + div {
        margin-top: 8px;
    }

    .mainbox--item.sidebox.show {
        transform: translate(0, 0);
    }

    .lk-cards .card {
        min-width: calc(50% - 10px);
    }
}

@media only screen and (max-width: 700px) {
  .sidebar-avatar {
    flex-direction: column;
  }
}

@media only screen and (max-width: 576px) {
    .sidebar-avatar {
        flex-direction: row;
    }

    .mainbox--item.sidebox {
        flex-direction: column;
    }

    .mainbox--item.sidebox [class*="sidebar-"] {
        width: 100%;
    }

    .lk-cards .card {
        min-width: 100%;
    }
}

/* navbar bottom */

.navbar-bottom {
  width: 100%;
  height: 80px;
  background-color: var(--mp-white);
  border-top: 1px solid var(--mp-statusgrey);
  display: none;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px 32px;
  gap: 20px;
}

.navbar-bottom .nb-link {
  width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--mp-highlight);
  font-size: 14px;
  font-weight: 500;
}

.navbar-bottom .nb-link.active, .navbar-bottom .nb-link:hover {
  color: var(--mp-primary);
  background-color: transparent;
}

.navbar-bottom .nb-link img, .navbar-bottom .nb-link svg {
  filter: grayscale(1);
  opacity: .5;
}

.navbar-bottom .nb-link:hover img, .navbar-bottom .nb-link:hover svg, .navbar-bottom .nb-link.active img, .navbar-bottom .nb-link.active svg {
  filter: grayscale(0);
  opacity: 1;
}

@media only screen and (max-width: 1280px) {
    .navbar-bottom {
        display: flex;
        position: fixed;
        bottom: 0;
        top: auto;
        z-index: 99;
    }

    .navbar-bottom .nb-link--shop {
        display: none;
    }

    .switch-button-div {
        width: 200px;
    }
}

@media only screen and (max-width: 576px) {
    .navbar-bottom {
        padding: 14px 16px 10px 16px;
    }

    .switch-button-div {
        width: 100%;
    }

    .navbar-bottom .nb-link--shop {
        display: flex;
        min-width: 72px;
    }

    .navbar-bottom .nb-link--menu {
        display: none;
    }

    .btn-gamburger, .page-name {
        display: flex;
        align-items: center;
        margin-bottom: 0;
        font-weight: 600;
    }

    .navbar-box {
        width: 100%;
    }

    .navbar-box > .page-name {
        position: relative;
    }

    .navbar-box > .page-name.page-menu::after {
        content: "Меню";
        display: block;
        line-height: 46px;
        text-align: center;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background-color: var(--mp-white);
    }

    .btn-gamburger img, .btn-gamburger svg {
        display: block;
        width: 22px;
        margin-top: 2px;
    }

    .btn-gamburger.active .times {
        display: block;
    }

    .btn-toshop, .navbar-brand {
        display: none;
    }
}

.btn-gamburger, .page-name {
  display: none;
}


@media (min-width: 577px) {
  .btn-gamburger, .burger {
    display: none;
    position: absolute; top: -9999px; left: -9999px;
  }
}

.navbar-box {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

@media only screen and (max-width: 1920px) {
  .btn-gamburger .times, .btn-gamburger.active .burger {
    display: none;
  }
}



.aka-placeholder {
  color: var(--mp-noactive);
}

.aka-placeholder-active {
    color: #333; /* Черный цвет */
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

textarea::-webkit-input-placeholder {
  color: #aaaaaa;
}

textarea::-moz-placeholder {
  color: #aaaaaa;
}

textarea::-ms-input-placeholder {
  color: #aaaaaa;
}

input::placeholder {
  color: #aaaaaa;
}

input::-webkit-placeholder {
  color: #aaaaaa;
}

input::-moz-placeholder {
  color: #aaaaaa;
}

input::-ms-input-placeholder {
  color: #aaaaaa;
}

input[disabled] {
  background-color: var(--mp-statusgrey);
}

.elli-lines {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal !important;
  max-height: 3em;
  text-align: left;
}

.elli-lines:hover{
  color: #2C54BB;
}

.mw40 {
  max-width: 40px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
  border: none;
  color: var(--mp-black);
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: var(--mp-primary);
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:disabled {
  color: var(--mp-noactive);
}

.tooltip-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 22px;
  background-color: #DEDEDE;
  width: 213px;
  height: 24px;
  border-radius: 50px;
}

.tooltip-container-wide {
  width: 220px;
  padding-left: 7px;
}

.tooltip-container-wide button.tooltip-btn {
  background-image: url("/images/icons/moderate-tooltip.svg");
}

.tooltip-btn {
  background-image: url("../../../../../../icon.svg");
  width: 16px;
  height: 16px;
  border: 0;
  margin-left: 7px;
  background-color: #DEDEDE;
}

.tooltip-btn:hover{
  cursor: pointer;
}

.tooltip-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
}

.pager-products {
  justify-content: center;
}

.products-perpage {
  position: absolute;
  left: 10px;
}

.products-perpage .dropdown-menu {
  --bs-dropdown-min-width: auto;
}

#dropdown-perpage button {
  padding-left: 0;      /*14*/
  padding-right: 16px;  /*32*/
}

#dropdown-perpage .dropdown-menu span {
  padding-left: 5px;
  padding-right: 10px;
}

.review-page #trash-alert {
  font-size: 12px;
  width: 200px;
  z-index: 1000;
  background: #393939;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 6px;
  position: absolute;
  display: none;
}
.review-page #trash-alert button {
  margin-top: 10px;
  font-size: 12px;
  color: #FFFFFF;
}
.review-page #trash-alert button.active {
  background-color: #008C3A;
  border: none;
}

.review-page .tooltiptext {
  position: relative;
  text-decoration: none;
}
.review-page .tooltiptext::after {
  font-size: 12px;
  content: attr(data-tooltip);
  position: absolute;
  top: -25px;
  right: -10px;
  z-index: 1000;
  background: #393939;
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 6px;
  display: none;
  white-space: nowrap;
}
.review-page .tooltiptext:hover::after {
  display: block;
}
.review-page .table-reviews .user-name {
  color: #AAAAAA;
  font-size: 12px;
}
.review-page .table-reviews .review-images img {
  border-radius: 5px;
  width: 50px;
  margin: 5px;
}
.review-page .table-reviews .badge {
  font-size: 10px;
  font-weight: 400;
  width: max-content;
  height: 20px;
  border-radius: 10px;
  padding: 4px 8px;
}
.review-page .table-reviews .badge.bange-green {
  color: #008C3A;
  background-color: #E6F4EC;
}
.review-page .table-reviews .badge.bange-purple {
  color: #9914D7;
  background-color: #9914D71A;
}
.review-page .btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: .25em .25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
  border: 0;
  border-radius: .375rem;
  opacity: 0.5;
}
#modal-review-edit * {
  font-size: 12px;
}
#modal-review-edit .modal-header img, #mre-image {
  height: 40px;
}
#modal-review-edit .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}
#modal-review-edit .modal-body {
  padding-top: 0;
}
#modal-review-edit .review-info {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 20px;
}
#modal-review-edit .review-info img {
  width: 80px;
  border-radius: 10px;
  margin-right: 10px;
}
#modal-review-edit #mre-content_html {
  max-height: 210px;
  overflow: auto;
}
form#mre-form .stars .fa-star {
  cursor: pointer;
}

.review-products-slider {
  width: 100%;
}
.review-products-slider .review-products-slider-item {
  text-align: center;
  max-width: 290px;
  height: 251px;
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 16px 8px;
  position: relative;
  margin: 0 auto 30px;
}
.review-products-slider .review-products-slider-item:hover  {
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}
.review-products-slider .review-products-slider-item img {
  height: 70px;
  border-radius: 6px;
  margin: 14px auto 16px;
}
.review-products-slider .review-products-slider-item-footer {
  position: absolute;
  bottom: 15px;
  width: 100%;
  font-size: x-large;
}
.review-products-slider .review-products-slider-item-title {
  max-height: 100px;
  font-size: 14px;
  font-weight: 400;
  overflow: auto;
}
.review-products-slider .arrow {
  width: 40px;
  height: 40px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #F0F0F0;
  border-radius: 50%;
  border: 1px solid #888;
  opacity: 0.6;
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  cursor: pointer;
}
.review-products-slider .arrow.left_arrow {
  left: -25px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3e%3crect width='40' height='40' rx='20' fill='%23F0F0F0' fill-opacity='0.6'/%3e%3cpath d='M22.5 15L17.7121 19.7879C17.595 19.905 17.595 20.095 17.7121 20.2121L22.5 25' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e");
}
.review-products-slider .arrow.right_arrow {
  right: -25px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'%3e%3crect width='40' height='40' rx='20' fill='%23F0F0F0' fill-opacity='0.6'/%3e%3cpath d='M17.5 25L22.2879 20.2121C22.405 20.095 22.405 19.905 22.2879 19.7879L17.5 15' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e");
}
.review-products-slider .close {
  margin: -10px auto 0;
  font-size: 1.2rem;
  font-weight: lighter;
}
.review-products-slider .review-products-slider-item-footer.tooltiptext {
  position: absolute;
}
#modal-user-review-edit .mre-review-empty-images {
  min-height: 140px;
  border-radius: 10px;
  text-align: center;
  display: flex    ;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #138F46;
  color: #138F46;
  width: 100%;
}
#modal-user-review-edit .mre-review-images {
  border: 1px dashed #138F46;
  border-radius: 10px;
  color: #138F46;
}

#modal-user-review-edit .input-file-row {
  display: inline-block;
}
#modal-user-review-edit .input-file,
#modal-user-review-edit .input-file-small{
  position: relative;
  display: inline-block;
}
#modal-user-review-edit .input-file input[type=file],
#modal-user-review-edit .input-file-small input[type=file] {
  position: absolute;
  z-index: -1;
  opacity: 0;
  display: block;
  width: 0;
  height: 0
}
#modal-user-review-edit label.input-file-small img {
  padding: 24px;
}
#modal-user-review-edit label.input-file-small {
  display: flex;
}
#modal-user-review-edit .input-file-small {
  border: 1px dashed #138F46;
  border-radius: 10px;
  height: 100px;
  width: 100px;
}
#modal-user-review-edit .input-file-small img {

}
#modal-user-review-edit .input-file img,
#modal-user-review-edit .input-file-small img {
  cursor: pointer;
}
#modal-user-review-edit .input-file-list {
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}
#modal-user-review-edit .curren-images {
  display: flex;
  flex-wrap: wrap;
}
#modal-user-review-edit .curren-images .input-file-list-item {
  border: none;
}
#modal-user-review-edit .input-file-list-item {
  margin: 0 15px 15px;
  display: flex;
  position: relative;
  border-radius: 10px;
  border: 1px solid #AAAAAA;
  width: 100px;
  height: 100px;
}
#modal-user-review-edit .input-file-list-item img {
  width: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
#modal-user-review-edit .input-file-list-remove {
  color: #AAAAAA;
  text-decoration: none;
  display: inline-block;
  position: absolute;
  padding: 4px 0;
  margin: 0;
  top: 5px;
  right: 5px;
  background: #F5F5F5;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 16px;
  border-radius: 50%;
}
#modal-user-review-edit .mre-error-text {
  color: red;
  background-color: #FFE4E5;
  padding: 3px;
  text-align: center;
  margin-bottom: 5px;
  display: none;
}
#modal-review-thanks .caption {
  font-weight: bold;
  font-size: 24px;
}
#modal-review-thanks .modal-header {
  border-bottom: none;
}
#modal-review-thanks .review-thanks-body img {
  width: 254px;
  margin-bottom: 32px;
}

.btn-input-file {
  position: relative;
  display: flex !important;
  border: 1px dashed #008c3a;
  border-radius: 5px;
  height: 35px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}
.btn-input-file input[type=file] {
  position: absolute;
  z-index: -1;
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}
#modal-products-refresh .info {
  font-size: small;
  text-align: justify;
  background-color: #eeeeee;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 30px;
  margin-top: -24px;
  max-height: 300px;
  overflow: auto;
}