.custom-lw-table tr td div.table-column-content {
    max-height: 20px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.custom-lw-table tr.expanded td div.table-column-content {
    max-height: none;
}

.custom-lw-table tr.expanded .expand-row {
    transform: rotate(90deg);
}

.custom-lw-table .expand-all-rows.expanded {
    transform: rotate(90deg);
}


.explore-table {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Highlight selected rows */
table.explore-table tbody tr:has(td input.selectedItems:checked) td {
    background-color: #C0F2DE;
}

.dark-layout .explore-table tbody tr:has(td input.selectedItems:checked) td {
    color: #656b77;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

html body {
    background-color: #ffffff;
}


/* Tables */
#filterContainer {
    display: block;
}

#filterContainer:has(div.filter-block.hide-filter) {
    display: none;
}

#filterContainer:has(div.filter-block.hide-filter) + #contentContainer {
    width: 100% !important;
}

.main-menu .navbar-header .navbar-brand .brand-logo img.expanded {
    max-width: 134px;
}
.main-menu .navbar-header .navbar-brand .brand-logo img.collapsed {
    max-width: 55px;
}

.main-menu.expanded .navbar-header .navbar-brand .brand-logo img.expanded {
    display: block!important;
}

.main-menu:not(.expanded) .navbar-header .navbar-brand .brand-logo img.expanded {
    display: none;
}

.main-menu.expanded .navbar-header .navbar-brand .brand-logo img.collapsed {
    display: none;
}

.main-menu:not(.expanded) .navbar-header .navbar-brand .brand-logo img.collapsed {
    display: block!important;
}

.main-menu .navbar-header .navbar-brand {
    margin-top: auto;
}


.auth-wrapper.auth-cover .brand-logo {
    position: relative;
}

.auth-wrapper.auth-cover .brand-logo img {
    max-width: 600px;
    object-fit: contain;
}

table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after {
    opacity: .35;
}

table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_desc:after {
    opacity: 1;
}

.vertical-layout.vertical-menu-modern.menu-expanded .main-menu {
    width: 290px;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu.expanded {
    width: 290px;
}

.main-menu .navbar-header {
    width: 290px;
}

html .content {
    margin-left: 290px;
}

.header-navbar.fixed-top, .header-navbar.floating-nav {
    left: 290px;
}


#baseTableContainer table th.construction_certs__url,
#baseTableContainer table th.plot_addresses__typologie_d_immeuble,
#baseTableContainer table th.transaction_vendeurs__vendeur,
#baseTableContainer table th.transaction_acheteurs__acheteur {
    min-width: 200px!important;
}

#baseTableContainer table th.plots__condensed_address,
#baseTableContainer table th.construction_certs__adresse,
#baseTableContainer table th.owners__name,
#baseTableContainer table th.construction_certs__proprietaire,
#baseTableContainer table th.building_chauffages__generateur_de_chaleur,
#baseTableContainer table th.building_chaudes__generateur_de_chaleur,
#baseTableContainer table th.building_chauffages__source_d_energie,
#baseTableContainer table th.building_chaudes__source_d_energie,
#baseTableContainer table th.construction_certs__description,
#baseTableContainer table th.construction_certs__mandataire{
    min-width: 300px!important;
}

#baseTableContainer table th.transactions__transaction {
    min-width: 700px!important;
}

.was-validated .input-group:has(:invalid) ~ .invalid-feedback, .was-validated .input-group:has(:invalid) ~ .invalid-tooltip,
.input-group:has(.is-invalid) ~ .invalid-feedback, .input-group:has(.is-invalid) ~ .invalid-tooltip,
.was-validated .iti:has(:invalid) ~ .invalid-feedback, .was-validated .iti:has(:invalid) ~ .invalid-tooltip,
.iti:has(.is-invalid) ~ .invalid-feedback, .iti:has(.is-invalid) ~ .invalid-tooltip {
    display: block;
}

#root {
    min-height: 0px !important;
}

.noUi-handle {
    cursor: grab;
}

.noUi-handle.noUi-active {
    cursor: grabbing;
}

.noUi-connect {
    background: #3b82f6;
}

.table-links-img {
    padding: 3px;
}

.table-links-img:hover {
    transform: scale(1.2);
    transition: transform 0.1s;
}
