tr.selected {
    background-color: #a9abb8;
    color: black;
}

tr.active /* td:not(:last-child) */ {
    background-color: #5a5c69;
    color:#f8f9fc;
}

.btn-group {
    margin-left: 14px;
}

.photo-button {
    margin-top: 2px;
    margin-bottom: 2px;
}

#product-type-edit {
    float: none;
    margin: 32px 0px 0px -20px;
}

#product-photo-current {
    text-align: center;
}

.photobox {
    height: 100%;
}

#product-photo {
    max-width: 320px;
    max-height: 240px;
    box-shadow: 0px 0px 8px rgb(0,0,0,0.5);
}

#product-photo.nophoto {
    box-shadow: none;
    width: 50%;
}

.product-thumb {
    border-radius: 5px;
    max-height: 80px;
    width: auto;
    margin: 2px;
}

#property-list {
    height: 100%;
}

.logo {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("/img/lily.svg");
}

.bi { /* disable bootstrap icons */
    display: none;
}

td.dt-right {
    text-align: right;
}
td.dt-center {
    text-align: center;
    vertical-align: middle;
}
td.dt-nopad {
    position: relative;
    padding: 0 0;
    margin: 0 0;
}

#busyModal {
    color: white;
}

#progress {
    margin-left: 20px;
}

.badge {
    color: white;
    background-color: #a9abb8;
}

.badge-overlay {
    position: absolute;
    right: 2px;
    bottom: 2px;
}

.form-control-plaintext:focus-visible {
    outline: none;
}

@media print {
    body {
        line-height: 1.0;
    }
    .table {
        color: black;
    }
    .table td {
        padding: 0.1em 1em;
    }
    .badge {
        display: block;
        background-color: white;
        color: black;
        text-align: left;
        padding: 0;
        border: none;
        font-weight: normal;
        font-size: 100%;
    }
    a:link {
        color: black;
        border-bottom: none !important;
        text-decoration: unset !important;
    }
    a[href]:after {
        content: none !important;
    }
}

.bg-login-image {
    background: url("/img/lily.svg");
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: darkgrey;
}

.dataTables_filter {
    display: none;
}

.dropdown-item i {
    margin-right: 0.25rem;
}

.btn-group > .dropdown-group {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}


/* Admin layout styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #5a5c69 10%, #1a1b1f 100%);
    color: #f8f9fc;
}

.admin-brand {
    min-height: 70px;
    padding: 1rem;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.admin-brand:hover {
    color: #fff;
    text-decoration: none;
}

.admin-brand .logo {
    flex-shrink: 0;
}

.admin-brand > div:last-child {
    margin-left: 1rem;
}

.admin-sidebar hr {
    border-color: rgba(255,255,255,.15);
    margin: 0.5rem 1rem;
}

.admin-nav-item {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255,255,255,.8);
    text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    color: #fff;
    background-color: rgba(255,255,255,.1);
    text-decoration: none;
}

.admin-nav-item i {
    margin-right: 0.5rem;
}

.admin-nav-item small {
    display: block;
    margin-left: 1.75rem;
    color: inherit;
}

.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-page {
    flex: 1;
    padding: 0 1.5rem 1.5rem;
}

.admin-footer {
    padding: 1rem;
    background: #fff;
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
}
