.dark-mode {
    background-color: darkgray;
    color: white;
}

.bd-light {
    border-radius: 10px;
    border: solid 3px; 
    border-color: black;
}

.tHeader{
    background-color:white
}

td {
    padding: 0px;
}

.dashboard {
    background-color: rgba(255, 255, 255, 0.5)
}

.black-text {
    color: black;
}

.main-sidebar{
    z-index: 1035;
    width: 100%;
    position: fixed;
    top: 0;
    height: 100%;
}

.auto-resize-textarea {
    width: 400px;
    height: 200px;
    resize: both;
    overflow-y: auto;
    font-size: 12px
}

.view-container{
    width:auto;
    position:center;
}

.bg-lightblue {
    background-color: #99ceff;
}

.bg-lightgray {
    background-color: #d9d9d9;
}

#renderBodyView {
    display: flex;
    justify-content: center;
    align-items: center; 
}
body {
    background-image: url('../res/flyingv_roof.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border: 0px;
}
.opaque-background {
    background-color: rgba(255, 255, 255, 0.4);
}


.card{
    border-radius:5px;
}

.card-body-login {
    padding: 25px;
    background-image: url('../res/flyingv_station.png');
    border-top-right-radius: 20px
}

small-box{
    border-radius:5px;
}

.dropdown-scrollable {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-dropdown .select2-container {
    width: 100%;
}

.custom-dropdown .select2-selection {
    border-radius: 0;
}

.custom-dropdown .select2-selection__rendered {
    padding: 0.5rem 0;
}

.dtHorizontalVerticalExampleWrapper {
    max-width: 600px;
    margin: 0 auto;
}

#dtHorizontalVerticalExample th, td {
    white-space: nowrap;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,`
table.dataTable thead .sorting_desc_disabled:before {
    bottom: .5em;
}

.table {
    overflow-y: hidden
}

.my-custom-scrollbar {
    position: relative;
    height: auto;
    overflow: auto;
}

.table-wrapper-scroll-y {
    display: block;
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555; 
}

::-webkit-scrollbar-corner {
    background: rgba(0,0,0,0);
}

:root {
    --animate-duration: 1s;
}

@keyframes moveHandle {
    0%
    {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0);
    }
}

.bootstrap-switch-animate .bootstrap-switch-handle-on,
.bootstrap-switch-animate .bootstrap-switch-handle-off {
    animation: moveHandle 0.3s;  
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;  
}

.red-background {
    background-color: red;
}

.title-bar {
    background-color: gray;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 5px;
    margin-bottom: 5px;
    height: 40px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}

.custom-dropdown .select2-selection__choice {
    transition: none !important;  Prevent transition effects on active selections 
}

.dropdown-scrollable .select2-results__option--highlighted {
    transition: none !important;  Prevent transition effects on highlighted options 
}

/* toggle tab */
.nav-tabs .nav-link {
    color: grey;
    font-weight: normal;
    border: none; /* removes default border */
}

/* Active tab */
.nav-tabs .nav-link.active {
    color: black;
    font-weight: bold;
    border: none;
    border-bottom: 3px solid #0d6efd; /* blue underline (never shows)*/
}
