body.close-sidepopup {
  overflow-x: hidden;
}

.hasDatepicker {
  height: 0px !important;
  width: 0px !important;
}

.navigation__item.active {
  padding-left: 43px;
  background-color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.section__title-wrap {
  position: relative;
  margin-right: 48px;
  padding-left: 23px;
  padding-right: 40px;
  padding-top: 3px;
}

.section__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .section__title-wrap {
    margin-right: 12px;
  }
  .section__title {
    font-size: 18px;
  }
}

button.section__create {
  display: inline-block;
  padding: 8px 16px;
  margin-right: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  background: #adea00;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.section__search {
  position: relative;
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #ffffff;
  border-radius: 8px;
  display: flex;
}

.section__search input[type="search"] {
  flex-grow: 1;
  height: 34px;
  padding: 0 60px 0 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.3s;
}

.section__search button[type="reset"] {
  position: absolute;
  top: 11px;
  right: 10px;
  height: 12px;
  width: 12px;
  background-image: url(/images/icons/stack.svg#close);
}

.single-wrapper.close-sidepopup {
  position: relative;
  overflow: hidden;
}

.single-overlay {
  position: fixed;
  z-index: 102;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding-left: 278px;
  transition: right 0.5s, left 0.5s;
  overflow-y: auto;
}

.single-overlay.close {
  left: 100%;
  right: -100%;
  transition: right 0.5s, left 0.5s, padding-left 0.5s;
  padding-left: 80px;
  background-color: transparent;
}

.single-wrapper .single {
  position: relative;
  background-color: #e0e7ee;
  padding: 20px 16px 10px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.single-wrapper--min .single {
  max-width: 853px;
  margin-left: auto;
}

.single__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.single__title-wrap {
  position: relative;
  margin-right: 20px;
  padding-right: 40px;
  padding-top: 3px;
}

.single__flag {
  position: absolute;
  top: 21px;
  left: auto;
  right: 100%;
  width: auto;
  height: 28px;
  font-weight: 500;
  line-height: 28px;
  background-color: #f5f7f8;
  border-radius: 16px 0 0 16px;
  padding-left: 28px;
  padding-right: 8px;
}

.single__close {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  padding: 0;
  background-color: #8ea2b5;
  -webkit-mask-image: url(/images/icons/stack.svg#close);
  mask-image: url(/images/icons/stack.svg#close);
  -webkit-mask-size: 12px;
  mask-size: 12px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.sidepopup .single-overlay {
  background-color: #8ea2b580;
}

.sidepopup__single__title-wrap {
  margin-bottom: 20px;
}

.sidepopup__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.sidepopup__single__body {
  display: flex;
  width: 100%;
  flex: 1 1 auto;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 8px;
  border: #e0e7ee 1px solid;
}

.sidepopup__single__form {
  width: 100%;
}

.sidepopup .docs__title {
  font-weight: 500;
  font-size: 15px;
}

.modal-wrapper .modal {
  max-height: 90vh;
}

/* -START- Реализация и опалата в товаре ------- */
.order-transation-block {
  display: flex;
  border-radius: 8px;
  background-color: rgba(245, 247, 248, 1);
  border: rgba(224, 231, 238, 1) 1px solid;
  padding: 16px;
  font-size: 13px;
  margin-bottom: 12px;
}

.order-transation-block:last-child {
  margin-bottom: 0px;
}

.order-transation-block b {
  font-size: 15px;
}

.order-transation-block .order-transation-apply,
.order-transation-block .order-transation-text {
  display: flex;
  flex-direction: column;
  align-self: center;
}

.order-transation-block .order-transation-buttons {
  display: flex;
  align-self: center;
}

.order-transation-block .order-transation-buttons button {
  margin-left: 20px;
}

.order-transation-block .order-transation-apply {
  margin-right: 16px;
}

.order-transation-block .order-transation-trash {
  margin-left: 16px;
}

.order-transation-block .order-transation-apply div {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 60px;
  border: rgba(224, 231, 238, 1) solid 1px;
}

.order-transation-apply img {
  width: 18px;
  height: 18px;
}

.order-transation-block .order-transation-text {
  flex-grow: 1;
}

.order-transation-block .order-transation-text p:last-child {
  margin-top: 8px;
}
/* ------- Реализация и опалата в товаре --END-- */

/* -START- Кнопки в задолженности ------- */
.debt_button {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}
.debt_button_sale {
  background-color: rgba(255, 103, 17, 1);
  color: #fff;
}

.debt_button_payment {
  background-color: rgba(173, 234, 0, 1);
  color: #000;
}

.debt__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}

.debt__field {
  display: flex;
  max-width: 320px;
  margin-top: 16px;
  align-items: center;
  padding-left: 23px;
}

@media (max-width: 1023px) {
  .debt__row {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* ------- Кнопки в задолженности --END-- */

.table__row__slim {
  padding-top: 9px;
  padding-bottom: 8px;
}
