/* This file is reserved for overriding and extending the template styles. */
html[data-radius='rounded'] {
    --border-radius-lg: 12px;
    --border-radius-md: 8px;
    --border-radius-sm: 6px;
    --border-radius-xl: 25px;
}


html .logo a {

    font-family: Cairo;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--light-text);
}

html .logo {

    font-family: Cairo;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--light-text);
}

html[data-placement='vertical'] .nav-container .nav-content .logo a,
html[data-placement='horizontal'] .nav-container.mobile-side-ready .nav-content .logo a,
html[data-placement='vertical'] .nav-container.mobile-side-ready .nav-content .logo a {
    overflow: hidden;
    display: inline-block;
    width: 250px;
}

html[data-navcolor='light'] .logo a {
    color: var(--primary);
}


table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(13, 110, 253);
    box-shadow: inset 0 0 0 9999px rgb(var(--primary-rgb));
    color: rgb(255, 255, 255);
    color: rgb(var(--light-text-rgb))
}

table.dataTable > tbody > tr.selected > td > * {
    color: rgb(var(--light-text-rgb))
}

div.dtsb-titleRow {
    display: none !important;
}

div.dtsb-searchBuilder {
    display: none;
}

    div.dtsb-searchBuilder.show {
        display: block;
    }

table.dataTable tr.dtrg-group th {
    background-color: var(--dark);
    color: var(--light-text) !important;
    text-align: left;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
}

.side-menu a[data-bs-target] .icon {
    display: inline-block !important;
}

:root {
    --card-spacing: 1rem;
    --card-spacing-sm: 0.75rem;
    --card-spacing-xs: 0.25rem;
    --small-title-height: 1.5rem;
    --title-spacing: 0rem;
}

.form-check-input[class~="warning"]:checked {
    background-color: var(--warning);
    border-color: var(--warning) !important;
}

.form-control:disabled,
.form-control[readonly] {
    background: rgba(var(--separator-rgb), 0.5) !important;
    border-color: rgba(var(--separator-rgb), 0.5) !important;
    color: var(--body);
    -webkit-text-fill-color: var(--body) !important;
}

.form-control:disabled ~ span {
    background: transparent !important;
}

.top-label select.form-control:not([size]):not([multiple]) {
    height: auto;
    min-height: 52px;
    padding: 1.7rem 0.75rem 0.5rem 0.75rem;
}

#scrollSpyMenu {
    position: sticky;
    overflow-y: auto;
    width: 190px;
}

@media (min-width: 1400px) {
    #scrollSpyMenu {
        width: 190px;
    }
}

.tox .tox-edit-area::before {
    border: 0 !important;
}

.fixed-background {
    background: url("../img/background/background-primary.webp") no-repeat center center fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.select2-container--bootstrap4 .select2-selection__clear {
    background-color: transparent;
    color: var(--alternate);
    margin-right: .9em;
    position: relative;
    top: -0.9em;
}

.select2-container--bootstrap4 .select2-selection__clear:hover {
    background-color: transparent;
}



.form-control-color.no-validate:valid {
    border-color: var(--separator);
    padding-right: .375rem;
    background: none;
}

table {
    caption-side: bottom;
    border-collapse: inherit;
}



table.dataTable > tbody > tr.child ul.dtr-details {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 1em;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    border-bottom: 0px solid #efefef;
    padding: .5em 0;
}

.data-table-boxed table.dataTable > tbody > tr:nth-child(odd of :not(.child)) > td,
table.dataTable > tbody > tr:nth-child(odd of :not(.child)) + .child > td {
    background-color: rgba(var(--body-rgb), 0.05);
}

    table.dataTable > tbody > tr {
        height: 34px; /* or whatever height you need to make them all consistent */
    }

.logo-default {
    width: 35px;
    min-height: 35px;
    object-position: left;
    object-fit: cover;
    background-repeat: no-repeat;
}

.logo-full {
    width: 45px;
    min-height: 45px;
    object-position: left;
    object-fit: cover;
    background-repeat: no-repeat;
}

html[data-color='light-blue'] .logo-default {
    background-image: url(../img/logo/logo-dark.svg);
}

