﻿body {
    margin: 0;
    padding: 0;
    background-color: #bababa;
    /*background-color: #2A3B4D;*/
}

.bg-dark {
    background-color: #1c2f44 !important;
}

.search-results {
    max-height: 40vh;
    overflow: auto !important;
}

.search-results-lg {
    max-height: 70vh;
    overflow: auto !important;
}

.search-result-selected {
    color: white !important;
    background-color: #007bff;
    font-weight: 600;
}

th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px; 
    vertical-align: middle;
    font-size: 12px;
}

    th.sortable {
        cursor: pointer;
        background-color: whitesmoke;
    }
    th.sortable:hover{
        background-color: whitesmoke;
    }


    th i {
        margin-left: 5px;
    }

.modal-backdrop-blur {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9997;
    backdrop-filter: blur(10px); /*blur intensity*/
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.5); /*opacity*/
}

.table th,
.table td {
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
}
.table-hover tbody tr:hover {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}
.table-hover .no-hover:hover {
    background-color: transparent;
}
.header {
    background: linear-gradient(to top, #2A3B4D, #3595D5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: auto; /*9997*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.img-logo {
    max-height: 80px;
    width: auto;
}

.header-divider {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #555;
    z-index: auto; /*9996*/
}
.selected {
    background-color: #007bff;
}
.header-content {
    font-size: 2rem;
    font-weight: 700;
    color: #343a40;
}
p.custom-header{
    font-size: 2rem;
}
@media (max-width: 576px) {
    p.custom-header{
        font-size: 1.25rem;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    p.custom-header{
        font-size: 1.5rem;
    }
}


.main-content {
    margin-top: 120px;
}
.align-label {
    margin-top: 4px;
}
@media (max-width: 576px) {
    #search-options{
        font-size: .7rem;
    }
}
.flex-grow-1 {
    text-align: center;
}

.btn:disabled,
.btn[disabled] {
    z-index: 0; 
    opacity: 0; /* hide button when disabled */
    cursor: not-allowed; 
    pointer-events: none; 
    background-color: #e9ecef; 
    color: #6c757d; 
}
#search-options {
    -webkit-appearance: button;
    -moz-appearance: button;
    -webkit-user-select: none;
    -moz-user-select: none;
    background: transparent;
    border: none;
    border-radius: 2px;
    color: #555;
    font-size: inherit;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: underline;
    font-weight: bold;
    padding: 0;
    width: auto;
    height: auto;
}
.nestedth{
    color: black;
}
    .nestedth:hover {
        color: #007bff;
    }

#selected {
    background-color: #007bff;
}
