.logo-admin {
  max-width: 100%;
}

nav.main-header {
  ul.navbar-nav {
    li.nav-item-user-menu {
      .dropdown-menu {
        position: absolute;
        z-index: 1000;
      }
    }

    li.nav-item {
      margin-left: 10px;

      .btn {
        margin-top: 7px;
      }
    }
  }
}

.main-sidebar p {
  font-size: 0.8rem;
}

.nav-link {
  padding: 0.5rem 0.5rem;
}

.nav-treeview .nav-link {
  padding: 0.2rem 0.5rem 0.2rem 1.2rem;
}

//TODO à réecrire correctement
.table.datatable-simple .highlight {
  background: var(--teal);
}

.datatable-field-search.small {
  width: 50px;
}

.dataTables_length, .dataTables_filter {
  padding: .75rem 1.25rem 0.25rem;
}

table.fixedHeader-floating {
  margin-top: 0px !important;
}

.card-body table.lc-table-list th.filtered {
  border-top: 2px solid var(--primary);
}

.card-body table.lc-table-list th.sorted, table th.sorting_asc, table th.sorting_desc {
  border-top: 2px solid var(--success);
}

.card-body table.lc-table-list th.sorted.filtered {
  border-top: 0px;
  position: relative;
}

.card-body table.lc-table-list th.sorted.filtered:after {
  content: '';
  height: 2px;
  position: absolute;
  left: 0;
  width: 100%;
  right: 0;
  top: -1px;
  background: linear-gradient(to right, var(--success) 0%, var(--success) 50%, var(--primary) 50%, var(--primary) 100%);
}

.table-filters-line th {
  font-weight: 400;
  position: relative;
}

.table-filters-line th input {
}

#list_filter_id {
  width: 60px;
}

.delivery-field .form-group {
  display: inline-block;
  margin-bottom: 0px;
  margin-right: 15px;
}

.delivery-field .form-group .form-control {
  width: 90px;
}

.table {
  thead a {
    color: #212529
  }

  .date-range {
    width: 130px;
  }

  th, td {
    padding: 0.35rem;
  }

  th input {
    width: 100%;
  }

  th.filtered {
    border-top: 2px solid var(--primary);
  }

  th.actions, td.actions {
    white-space: nowrap;
    text-align: right;
  }

  th .select2-container--default .select2-selection--single {
    padding: 0.3rem 0.4rem;
  }

  th.sorting_asc, th.sorting_desc {
    border-top: 2px solid var(--success);
  }

  .actions .btn-sm {
    margin-right: 3px;
  }
}

.select2-container--bootstrap4 .select2-results__option[aria-disabled="true"] {
  color: #777;
  cursor: not-allowed;
  display: none;
}

.hidden {
  display: none;
}

.badge.stripped{background-image: url('../img/stripped.png');}

.ui-sortable-helper {
  display: table;
}
.lc-draggable{width: 100%;}
.sortable{width: 100%}