body #app .el-button--primary {
  --el-button-bg-color: #5cb85c !important;
  --el-button-border-color: #4cae4c !important;
  --el-button-text-color: #ffff !important;
  --el-button-hover-bg-color: #407f40 !important;
  --el-button-hover-border-color: #347634 !important;
  --el-button-active-bg-color: #5cb85c !important;
  --el-button-active-border-color: #5cb85c !important;
  --el-button-disabled-bg-color: rgba(92, 184, 92, 0.5) !important;
  --el-button-disabled-border-color: rgba(76, 174, 76, 0.5) !important ;
}

.el-card {
  --el-text-color-primary: $text-color !important;
  --el-text-color-regular: $text-color !important;
}

.el-pager {
  --el-pagination-hover-color: #407f40 !important ;
}

.el-table {
  --el-table-header-text-color: $text-color !important;
}

.el-menu {
  --el-menu-hover-bg-color: #407f40 !important;
}

.el-select-dropdown__item {
  --el-color-primary: #5cb85c !important;
}

.el-header,
.el-footer {
  background-color: #7f7f7f;
  color: #333;
  text-align: left;
  line-height: 60px;
}

.el-aside {
  background-color: #090709;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #a1daaf;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

body {
  margin: 0;
  height: 100%;
  background: #a1daaf;
}

.el-menu {
  background: #090709 !important;
  border: none !important;
}

.el-dropdown-link {
  cursor: pointer;
  color: #a1daaf;
}

.el-icon-arrow-down {
  font-size: 12px;
}

html {
  height: 100%;
}

#app {
  height: 100%;
  min-height: 800px;
}
@media screen and (max-width: 800px) {
  #app {
    height: auto;
  }
}

body {
  height: 100vh;
}

.el-container {
  height: 100%;
}

.login {
  width: 270px;
  margin: 0 auto;
}

.el-menu-item.is-active a:-webkit-any-link:active {
  color: #ffffff;
  text-decoration: none;
}

.router-link-active {
  color: #c2c56f !important;
  text-decoration: none !important;
}

.el-menu-item a {
  color: #ffffff;
  text-decoration: none;
}
.el-menu-item a:-webkit-any-link {
  color: #ffffff;
  text-decoration: none;
}

.hamburger {
  padding: 15px 15px 15px 0;
  line-height: 46px;
  float: left;
  cursor: pointer;
  transition: background 0.3s;
  -webkit-tap-highlight-color: transparent;
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.hamburger.is-active {
  transform: rotate(180deg);
}

.el-menu-item.is-active a {
  color: #c2c56f !important;
}

.el-menu-item {
  padding: 0 !important;
}
.el-menu-item a {
  padding-left: 20px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.el-dropdown-menu__item a {
  width: 100%;
}

.base-validation__message {
  color: red;
}

.el-input__inner:focus {
  border-color: #a1daaf !important;
}
.el-input__inner::-moz-placeholder {
  color: rgba(92, 94, 64, 0.5) !important;
}
.el-input__inner:-ms-input-placeholder {
  color: rgba(92, 94, 64, 0.5) !important;
}
.el-input__inner::placeholder {
  color: rgba(92, 94, 64, 0.5) !important;
}

.el-button--primary {
  background: #a1daaf;
  border-color: #a1daaf;
}
.el-button--primary:hover, .el-button--primary.active, .el-button--primary:focus {
  background: #bbe4c5;
  border-color: #bbe4c5;
}

.el-aside {
  position: relative;
}

.app-version-block {
  line-height: normal;
  margin-top: 20px;
}
.app-version-block__label {
  color: white;
  height: 30px;
}

.el-aside {
  --el-aside-width: 220px !important;
}

.el-menu-vertical-demo {
  position: relative;
}
.el-menu-vertical-demo__logo {
  height: 100px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.el-menu-vertical-demo__logo img {
  max-width: 100px;
}

.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before {
  content: "" !important;
  margin-right: 0 !important;
}
.el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:after {
  content: "*";
  color: #5c5e40;
  margin-left: 6px;
}

.el-table table {
  width: 0px;
}

.email-button {
  white-space: nowrap;
  overflow: hidden;
  max-width: 270px;
  text-overflow: ellipsis;
}
.email-button span {
  white-space: nowrap;
  overflow: hidden;
  max-width: 270px;
  text-overflow: ellipsis;
  display: block;
  position: relative;
  padding-right: 15px;
}
@media screen and (max-width: 600px) {
  .email-button span {
    max-width: 50px;
  }
}
.email-button span .el-icon {
  position: absolute;
  right: 0px;
}

.width-max-content {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.login .login-button {
  width: 100%;
  margin-top: 40px;
}
.login .forgot-password {
  margin-top: 10px;
  color: #9fa05f;
}
.login .forgot-password:hover {
  color: #5c5e40;
}
.login .login .el-input__inner:hover {
  border-color: #a1daaf;
}
.login .login .el-input__prefix {
  background: #eeedea;
  left: 0;
  height: calc(100% - 2px);
  left: 1px;
  top: 1px;
  border-radius: 3px;
}
.login .login .el-input__prefix .el-input__icon {
  width: 30px;
}
.login .login .el-input input {
  padding-left: 35px;
}
.login .login .el-card {
  padding-top: 0;
  padding-bottom: 30px;
}
.login h2 {
  font-family: "Open Sans";
  letter-spacing: 1px;
  font-family: Roboto, sans-serif;
  padding-bottom: 20px;
}
.login a {
  color: #a1daaf;
  text-decoration: none;
}
.login a:hover, .login a:active, .login a:focus {
  color: #bbe4c5;
}
.login .login .el-card {
  width: 340px;
  display: flex;
  justify-content: center;
}
.login .el-form {
  width: 270px;
}
.login h2 {
  margin: 20px auto;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.login__header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login__logo {
  height: 100px;
  margin-top: 60px;
  margin-bottom: 10px;
}
.login__logo img {
  max-width: 100px;
}
.login__name {
  font-size: 40px;
  margin: 40px 0;
}

.goods-page *, .good-create-page *, .good-edit-page * {
  line-height: 100%;
}
.goods-page__header, .good-create-page__header, .good-edit-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.goods-page .table, .good-create-page .table, .good-edit-page .table {
  width: 100%;
  border: none;
  margin-bottom: 20px;
  border-collapse: separate;
  border-spacing: 0;
}
.goods-page .table tr, .good-create-page .table tr, .good-edit-page .table tr {
  background-color: var(--el-table-tr-bg-color);
}
.goods-page table tr th, .good-create-page table tr th, .good-edit-page table tr th {
  font-weight: bold;
  font-size: 14px;
  text-align: left;
  padding-left: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: "Nunito", sans-serif;
  border-bottom: 1px solid #ebeef5;
}
.goods-page table tr th:last-child, .good-create-page table tr th:last-child, .good-edit-page table tr th:last-child {
  width: 180px;
}
.goods-page tbody div, .good-create-page tbody div, .good-edit-page tbody div {
  display: contents;
}
.goods-page tbody tr, .good-create-page tbody tr, .good-edit-page tbody tr {
  cursor: pointer;
  transition: background 0.3s;
}
.goods-page tbody tr:hover, .good-create-page tbody tr:hover, .good-edit-page tbody tr:hover {
  background: #f5f7fa !important;
}
.goods-page .table td, .good-create-page .table td, .good-edit-page .table td {
  text-align: left;
  border: none;
  padding: 12px 10px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid #ebeef5;
}
.goods-page .table tr:nth-child(even), .good-create-page .table tr:nth-child(even), .good-edit-page .table tr:nth-child(even) {
  background: #fafafa;
}
.goods-page .table tr:last-child td, .good-create-page .table tr:last-child td, .good-edit-page .table tr:last-child td {
  border-bottom: 1px solid #ddd;
}

.good-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.good-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}

.sizes-page *, .size-create-page *, .size-edit-page * {
  line-height: 100%;
}
.sizes-page__header, .size-create-page__header, .size-edit-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.size-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.size-form__select .el-form-item__content {
  display: flex;
  justify-content: left;
}
.size-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}

.products-page *, .product-create-page *, .product-edit-page * {
  line-height: 100%;
}
.products-page a, .product-create-page a, .product-edit-page a {
  text-decoration: none;
}
.products-page__header, .product-create-page__header, .product-edit-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.product-form__selects {
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 600px) {
  .product-form__selects {
    flex-direction: column;
  }
}
.product-form__checkbox {
  display: flex;
}
.product-form__select {
  margin-right: 30px;
}
@media (max-width: 600px) {
  .product-form__select {
    margin-right: 0;
  }
  .product-form__select .base-validation {
    width: 100%;
  }
  .product-form__select .el-select {
    width: 100%;
  }
}
.product-form__select .base-validation {
  display: flex;
  flex-direction: column;
}
.product-form__select .el-form-item__content {
  display: flex;
  justify-content: left;
}
.product-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}

.chains-page *, .chain-create-page *, .chain-edit-page * {
  line-height: 100%;
}
.chains-page a, .chain-create-page a, .chain-edit-page a {
  text-decoration: none;
}
.chains-page__header, .chain-create-page__header, .chain-edit-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chains-page .el-tag, .chain-create-page .el-tag, .chain-edit-page .el-tag {
  margin-right: 5px;
}
.chains-page .selected-row, .chain-create-page .selected-row, .chain-edit-page .selected-row {
  --el-table-tr-bg-color: var(--el-color-primary-light-5);
}
.chains-page .selected-row .el-table__cell, .chain-create-page .selected-row .el-table__cell, .chain-edit-page .selected-row .el-table__cell {
  background: none !important;
}

.chain-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.chain-form .base-validation {
  display: flex;
  flex-direction: column;
}
.chain-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}
.chain-form .el-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.chain-form .el-tag .el-select__tags-text {
  overflow: hidden;
}
.chain-form .el-tag .el-tag__close {
  top: 1px;
}
.chain-form .el-select__tags span {
  display: flex !important;
  flex-wrap: wrap;
}

.stores-page *, .store-create-page *, .store-edit-page * {
  line-height: 100%;
}
.stores-page a, .store-create-page a, .store-edit-page a {
  text-decoration: none;
}
.stores-page__header, .store-create-page__header, .store-edit-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.store-form .base-validation {
  display: flex;
  flex-direction: column;
}
.store-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}

.orders-page .cell-order-quantity {
  cursor: pointer;
  height: 45px;
  display: flex;
  align-items: center;
  color: #1a202c;
  font-size: 17px;
  padding: 5px;
  font-weight: bold;
}
.orders-page__quantity_bold {
  color: #1a202c;
  font-size: 17px;
  font-weight: bold;
}
.orders-page .cell-order-name {
  cursor: pointer;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  text-align: center;
}
.orders-page .el-button.is-circle {
  padding: 3px;
  min-height: 14px;
}
.orders-page .approved-input {
  color: #4cae4c;
  padding: 15px;
}
.orders-page .declined-input {
  color: #ff363d;
  padding: 15px;
}
.orders-page .packed-production-status {
  background: var(--el-bg-color);
  color: gainsboro;
  font-size: 14px;
}
.orders-page .finished-production-status {
  background: var(--el-bg-color);
  color: gainsboro;
}
.orders-page .pending-production-status {
  background: var(--el-bg-color);
  opacity: 0.1;
}
.orders-page .el-button + .el-button {
  margin-left: 5px;
}
.orders-page * {
  line-height: 100%;
}
.orders-page a {
  text-decoration: none;
}
.orders-page__no-data {
  color: var(--el-text-color-secondary);
}
.orders-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 600px) {
  .orders-page__header {
    justify-content: center;
    flex-wrap: wrap;
  }
  .orders-page__header .el-input {
    width: 150px !important;
  }
}
.orders-page__sub-header {
  display: flex;
  float: right;
  margin-bottom: 18px;
}
.orders-page__header-filters {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 600px) {
  .orders-page__header-filters {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.orders-page__header-filters-item {
  margin-left: 10px;
}
.orders-page__goods-item {
  transform: rotate(-90deg);
  white-space: nowrap;
}
.orders-page th {
  text-align: center !important;
}
.orders-page__store {
  background: #f5f7fa;
}
.orders-page__table:not(.orders-page__table_manager) .is-leaf .cell {
  height: 100px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.orders-page__table input {
  border: 0;
  outline: 0;
  background: none;
  font-size: 14px;
  color: var(--el-table-text-color);
  font-family: "Nunito", sans-serif;
  max-width: 100%;
  min-width: 100%;
  display: block;
}
.orders-page__table input:focus {
  background: none;
  outline: none !important;
}
.orders-page .popover-reference {
  height: 13px;
  position: absolute;
  top: 3px;
  width: 13px;
  right: 5px;
}
.orders-page__filled {
  background: var(--el-bg-color);
  font-weight: bold;
}
.orders-page .orders-page__override-comment {
  margin-top: 10px;
  text-align: left;
  font-size: 14px;
}
.orders-page .orders-page__override-comment-label {
  color: red;
  font-weight: bold;
}
.orders-page .orders-page__comment {
  margin-top: 10px;
  text-align: left;
}
.orders-page .orders-page__comment .el-form-item__label {
  font-weight: bold;
  text-align: left;
}
.orders-page .orders-page__comment .el-textarea__inner:focus {
  border-color: #5cb85c;
}
.orders-page .orders-page__errors-item {
  font-size: 14px;
  color: #ff363d;
}
.orders-page .orders-page__errors-item:not(:first-child) {
  padding-top: 5px;
}
.orders-page__manager-comment {
  padding: 5px;
}
.orders-page__comment-form {
  padding: 5px;
}
.orders-page__comment-form:nth-child(2) {
  margin-top: 10px;
}
.orders-page__comment-form textarea {
  width: 98%;
  height: 50px;
}
.orders-page__comment-label {
  padding-left: 2px;
}

.drop-down--modal .drop-down-menu li {
  background: white;
  margin-top: -1px;
  border: 1px solid #407f40;
  cursor: pointer;
  display: flex;
  justify-content: center;
}
.drop-down--modal .drop-down-menu li:hover {
  background: #407f40 !important;
}
.drop-down--modal .drop-down-menu span {
  font-size: 25px;
  line-height: 20px;
  color: black;
}

.admin-orders-table tbody td {
  padding: 0 !important;
}
.admin-orders-table tbody td .cell {
  padding: 0 !important;
}
.admin-orders-table .approved-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1px;
  border: red solid 1px;
}

.admin-orders-total-table .el-table__cell {
  border-top: var(--el-table-border);
  border-left: var(--el-table-border);
  border-right: var(--el-table-border);
}

.units-page *, .unit-create-page *, .unit-edit-page * {
  line-height: 100%;
}
.units-page__header, .unit-create-page__header, .unit-edit-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.unit-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.unit-form__select .el-form-item__content {
  display: flex;
  justify-content: left;
}
.unit-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}

.user-form__actions .el-form-item__content {
  display: flex;
  justify-content: left;
}
.user-form__select .el-form-item__content {
  display: flex;
  justify-content: left;
}
.user-form .base-validation__message {
  display: flex;
  padding-top: 10px;
}
.user-form #passwordInput, .user-form #cofirmPasswordInput {
  -webkit-text-security: disc;
}

.keyboard-modal .el-dialog__body {
  padding: 0 !important;
}
.keyboard-modal .el-dialog__header {
  display: none !important;
}
.keyboard-modal .keyboard-input {
  font-size: 25px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 98%;
}

.keyboard {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  font-size: 25px;
  line-height: 20px;
  background: white;
  color: black;
  width: 100%;
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition-property: transform visibility;
  transition-duration: 0.2s;
  font-weight: 300;
  border-top: 1px solid #e5e5e5;
}
.keyboard.hidden {
  visibility: hidden;
  transform: translate3d(0, 100%, 0);
}
.keyboard table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.keyboard td {
  text-align: center;
  width: 25%;
  height: 75px;
  border: 1px solid #ddd;
  cursor: pointer;
}
.keyboard td:nth-of-type(-n+3) {
  font-weight: 600;
}
.keyboard td:active {
  background-color: #ddd;
}
.keyboard td:first-child {
  border-left: none;
}
.keyboard td:last-child {
  border-right: none;
}
.keyboard td.active {
  background: #dff0ff;
}
.keyboard td.transition {
  transition: background ease 0.1s;
}
.keyboard .icon {
  font-size: 25px;
}
.keyboard td[data-code=K] {
  font-size: 25px;
  background: green;
  color: #ddd;
  border-bottom: 1px solid green;
}
.keyboard td[data-code=K].active {
  color: #fff;
}

@-webkit-keyframes cursor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes cursor {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.keyboard-input {
  display: inline-block;
  text-align: right;
  width: 100%;
  height: 100%;
}
.keyboard-input.keyboard-focus {
  position: relative;
}
.keyboard-input.keyboard-focus::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  border-right: 0.02rem solid #108EE9;
  -webkit-animation: cursor infinite 1s step-start;
          animation: cursor infinite 1s step-start;
}
.keyboard-input span {
  display: inline-block;
}
.keyboard-input .placeholder {
  color: #ddd;
}

/**
 * css for text-left
 */
.keyboard-input.left {
  text-align: left;
}
.keyboard-input.left .icon-clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.2rem;
  display: flex;
}
.keyboard-input.left .icon-clear svg {
  fill: #8E8E93;
  width: 0.28rem;
  height: 0.28rem;
}
.keyboard-input.left.keyboard-focus::after {
  display: none;
}
.keyboard-input.left.keyboard-focus .input-value {
  position: relative;
}
.keyboard-input.left.keyboard-focus .input-value::before {
  content: " ";
  display: inline-block;
}
.keyboard-input.left.keyboard-focus .input-value::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  border-right: 0.02rem solid #108EE9;
  -webkit-animation: cursor infinite 1s step-start;
          animation: cursor infinite 1s step-start;
}
