.list-td-value {
  margin-top: 7px;
  display: block;
  margin-left: 13px;
}

.control-view__settings .col-xl-7 {
  display: block;
  width: 100%;
}

.control-view {
  display: grid;
  grid-template-columns: 1fr 350px;
}

@media screen and (max-width: 1300px ) {
  .control-view {
    display: flex;
    flex-direction: column;
  }
}

.control-view__settings label {
  width: 100%;
}

.control-view__settings .checkbox-container {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  width: 98%;
  margin-left: 1%;
  padding: 0;
}

.control-view__settings .checkbox-container .col-xl-7 {
  float: left;
  top: -30px;
  position: relative;
}

.checkbox-container label {
  left: 24px;
  position: relative;
}

div.tree {
  background-color: #fff;
  border-radius: 4px;
  padding: 10px;
  padding-left: 20px;
  margin-top: 54px;
}

.goods-photo img {
  max-width: 100px;
  max-height: 100px;
}

.dropdown-menu .dropdown-item {
  cursor: pointer;
}

.img-preview {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
}

ul.tree {
  overflow: hidden;
  padding-left: 5px !important;
}

.tree-node-name {
  display: flex !important;
  cursor: pointer;
  user-select: none;
}
.tree-node-name button,
.tree-node-name a {
  display: inline-block;
  padding: 2px 4px 4px 4px;
  background-color: transparent;
  border-radius: 4px;
  border: none;
  font-size: 15px;
  text-align: left;
}

.tree-node-name .active {
  color: #ffffff;
  background-color: #0d6efd;
  cursor: not-allowed;
}

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

input[type='number'] {
  -moz-appearance: textfield;
}
input[type='number']:hover,
input[type='number']:focus {
  -moz-appearance: number-input;
}

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

.field-clear.field-clear__button {
  right: 0;
  left: 0;
  border: none;
}

.photogallery__close {
  right: 0;
  top: 0;
}

.modal-dialog-scrollable .modal-content {
  min-height: 600px;
}

.meassure {
  font-size: 18px;
}

.list-toggle-link {
  cursor: pointer;
}

.list-toggle-link.desc {
  cursor: default;
  user-select: none;
  border-top: 0;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #000;
  border-left: 5px solid transparent;
}

.list-toggle-link.asc {
  cursor: default;
  user-select: none;
  border-top: 5px solid #000;
  border-right: 5px solid transparent;
  border-bottom: 0;
  border-left: 5px solid transparent;
}
.list-toggle-link.m-hidden {
  cursor: default;
  user-select: none;
  opacity: 0;
  border-top: 5px solid #000;
  border-right: 5px solid transparent;
  border-bottom: 0;
  border-left: 5px solid transparent;
}
.list-toggle-link.label {
  color: #0d6efd;
}

.users-total {
  margin-left: auto;
}

.users-td-action--sticked {
  position: sticky;
  left: 0;
  background-color: #ffffff !important;
  border-color: #dee2e6 !important;
  border-width: 0 1px 0 0 !important;
}

.users-td-action--sticked:before {
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #dee2e6;
}

.users-td-action--sticked--right {
  left: auto;
  right: 0;
}

.users-td-action--sticked--right:before {
  right: auto;
  left: -1px;
}

.without-border {
  border: 1px solid transparent;
}

.without-border:hover {
  border: 1px solid #dee2e6;
}

.dropzone {
  flex: 1;
  height: 300px;
}

.grid-item-content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #08e;
  display: flex;
  justify-content: center;
  color: white;
  border-radius: 0.5em;
}

.list-group-item {
  display: flex;
}

.list-group-item .users-dropdown-toggle {
  width: 35px;
  height: 45px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.listing-column {
  white-space: nowrap !important;
  min-width: 200px !important;
}

.filter-content {
  padding: 1rem;
  background: #f5f5f5;
}

.toggle-content-filter {
  display: none;
}

.toggle-content-filter.active {
  display: block;
}

.header-checkbox {
  margin-top: -10px;
  margin-bottom: -30px;

  top: 50%;
  left: 50%;
}

.btn,
.btn:focus,
.btn:active {
  outline: none !important;
  box-shadow: none;
}

.bi-arrow-up-circle.arrow-down {
  transform: rotate(180deg);
}

.loader {
  z-index: 50;
}

.form-check-input {
  flex-shrink: 0;
}

.layout {
  overflow: visible;
}

.preset-active {
  text-decoration: none;
  font-weight: 500;
  color: #212529;
}

.preset-active:hover {
  color: #212529;
  cursor: not-allowed;
}

.preset-active-close {
  text-decoration: none;
  font-weight: 500;
  color: #212529;
}

.preset-item:hover .preset-active-close {
  display: block !important;
}

.search-form {
  width: 25%;
}

@media screen and (max-width: 768px) {
  .search-form {
    width: 50%;
  }
}

.searchButton {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 8px !important;
}

.searchButton .spinner-border-sm {
  position: relative;
  top: 2px;
  width: 18px;
  height: 18px;
}

.control-view__apply {
  background: #f5f5f5;
  margin: 1rem 1rem 0 0;
  padding: 1rem;
}

.attribute-single-level-string-array__elements-list > input {
  margin-bottom: 10px;
}

.attribute-single-level-string-array__elements-list {
  max-height: 300px;
  overflow: auto;
}

.configurator-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.configurator-buttons button {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 600px) {
  .configurator-buttons {
    display: flex;
    flex-direction: column;
  }
}
