
tr.selectable:hover {
    cursor: pointer;
    background: rgba(0,0,0,0.2);
}

tr.selectable.selected {
    background: rgba(29, 40, 53, 0.5);

}



[data-bs-theme=dark] {

    tr.selectable:hover {
        cursor: pointer;
        background: rgba(255,255,255,0.2);
    }



    tr.selectable.selected {
        background: rgba(255,255,255,0.4)

    }

}


.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

tr.selectable td {
    text-overflow: ellipsis;
    overflow: hidden;

}

@media (max-width: 1000px) {
    .hsm {
        display: none
    }
}

.text-right {
    text-align: right;
}

.col-success {
    color: lightseagreen;
}

.col-warning {
    color: orange;
}

.col-danger {
    color: red;
}

.col-primary {
    color: #0271ff;
}

.toasts-container {
    z-index: 9999999999999999999 !important;
    left: 0 !important;
    right:0 !important;
    margin: auto;
    top: 1rem !important;
}

.toast {
    background: var(--bs-toastbg);
}

#safeCover {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0,0,0,0.5);
    display: none;
}

.form-control, .form-select {
    background-color: rgba(255,255,255,0.15) !important;
}

.striked {
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,0.4);
    text-decoration-style: dashed;

}

.striked td {
    color: #999 !important;
}

.selected .striked td {
    color: #444 !important;
}

#form-control-box {

    top: 50px;
    position: fixed;
    z-index:  9999;
    right:  0px;
    background:  var(--bs-app-header-bg);
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;

}

.form-label {
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    white-space: nowrap;
}

[data-bs-theme=light] {
    --bs-toastbg: #fff;
    --bs-green: #249d79
}

[data-bs-theme=dark] {

    --bs-body-bg-gradient: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgb(0, 0, 0) 80%);
    --bs-app-header-bg: rgba(29, 40, 53, 0.8);
    --bs-body-bg-rgb: 0,0,0;
    --bs-body-bg-cover : url(/assets/cm.jpeg) !important;
    --bs-optionbg: #000;
    --bs-toastbg: #000;
    --bs-green: #249d79


}
.table-dark {
    --bs-table-bg: #385fa0
}

select option {
    background: var(--bs-optionbg);
}

.b {
    font-weight: bold;
}

.col-danger {
    color: red !important
}

.nav-admin{
    color: lightgreen;
    font-weight:  bold;
}

.addovi:hover {
    text-decoration: underline;
}

.oviRow {
    border-bottom: 1px solid var(--bs-border-color);
    padding: 5px;
}

.oviRow:hover {
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}
.oviParent {
    background: #222;
}

#content {
    max-width: 1500px;
}

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #fff;
}
.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.loader:after {
    color: #d1d11f;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}


#loader {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999999999;
    background: rgba(0,0,0,0.95);
    display: none;

}

#loaderBox  {

    min-width: 200px;
    width: 100%;
    height: 100%;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    cursor: pointer;
    transition: .2s linear;
}


input.detSearch, select.detSearch {
    line-height: 20px;
    font-size: 11px;
    padding: 2px;
    height: 25px;
}


:root,[data-bs-theme=light] {
    --bs-tablerow:#f9f9f9;
    --bs-selecthover: rgba(255,255, 255,0.5);
}

[data-bs-theme=dark] {
    --bs-tablerow:initial;
    --bs-selecthover: rgba(0, 0, 0, 0.2);

}


tbody tr {
    background: var(--bs-tablerow);
}

tr.selectable:hover {
    background: var(--bs-selecthover)
}

.btn-block {
    display: block;
    width: 100%;
}
.text-left {
    text-align: left;
}

#offlineIndicator {
    padding: 5px;
    background-color: rgba(200,0,0,1);
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    display: none;
    position: fixed;
    z-index: 9999;
    width: 100%;

}

#bugReporter {
    padding-top: 8px;
    padding-right: 5px;
}
#formHelp {
    position: fixed;
    z-index: 9999999999999999999999999999999;
    top: 8px;
    left: 200px;
}


.cbox {
    width: 16px;
    height: 16px;
}

div.rowitem:hover {
    cursor: pointer;
    background: rgba(100,100,100,0.2);
}

div.rowitem {
    padding: 3px;
    border-bottom: 1px solid #ccc

}

[data-bs-theme=dark] {

    div.rowitem:hover {
        cursor: pointer;
        background: rgba(255,255,255,0.2);
    }



    div.rowitem {
        padding: 3px;
        border-bottom: 1px solid #333

    }

}


:root,[data-bs-theme=light] {
    --bs-darkbg:rgba(255,255,255,0.5);
    --bs-secsubhead:rgba(150,150,150,1);
    --bs-secitem: rgba(200,200,200,0.5);
    --bs-sechead: rgba(50,50,50,0.5);
}

[data-bs-theme=dark] {
    --bs-darkbg: rgba(50,50,50,0.5);
    --bs-secsubhead: rgba(0,0,0,1);
    --bs-sechead: rgba(2,113,255,0.7);
    --bs-secitem: rgba(30,30,30,1);
}

.secHead {
    font-size: 12px;
    font-weight: bold;
    background: var(--bs-darkbg);
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    margin-bottom: 5px;
    cursor: pointer;
    line-height: 35px;
}
.secHead:hover, .secItem:hover {
    background-color: var(--bs-sechead);
}

.secItem {
    font-size: 12px;
    font-weight: bold;
    background:var(--bs-secitem);
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    margin-bottom: 5px;
    cursor: pointer;

}
.secSubHead {
    font-size: 12px;
    font-weight: bold;
    background: var(--bs-secsubhead);
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 2px;
    margin-bottom: 5px;
    line-height: 35px;
}

.secItem.selected {
    background: #1f8869
}



a.badge:hover {
    color: #000
}

.swal2-container {
    z-index: 1000000000000000 !important;
}


.sideMenuItem {
    border-bottom: 1px solid #222;
    padding: 5px;
    cursor: pointer;
}

.sideMenuItem:hover {
    background: rgba(255,255,255,0.1);
}

.sideMenuItem.active {
    font-weight: bold;
}

[data-bs-theme=light] {
    .sideMenuItem:hover {
        background: rgba(0,0,0,0.1);
    }
}



    :root,[data-bs-theme=light] {
        --bs-ctrlboxbg:#eee; 
        --bs-shadow: -5px 0px 5px 0px rgba(150,150,150,0.75);
    }
    
    [data-bs-theme=dark] {
        --bs-ctrlboxbg:#222;
        --bs-shadow: -5px 0px 5px 0px rgba(0,0,0,0.75);
    }
    
    #ctrlFader {
        position: fixed;
        top: 0;
        right: -4000px;
        width: 100%;
        height: 100%;
        background: rgba(170,170,170,0.8);

        z-index: 999999999998;

    }

    #ctrlBox {
        position: fixed;
        top:0;
        right: -1200px;
        height: 100%;
        overflow: auto;
        background: var(--bs-ctrlboxbg);
        width: 90%;
        max-width: 1200px;
        z-index: 999999999999;
        padding: 20px;
        box-shadow: var(--bs-shadow);



    }

    #ctrlBox.active, #ctrlFader.active {
        right: 0;
    }
    
    
    #chatCont {
        width: 90%;
        max-width: 500px;
        height: 100%;
        position: fixed;
        top: 0;
        right: -100%;
        background: #000;
        z-index: 9999999999999999999999999999;
        box-shadow: -4px 0px 5px 0px rgba(38,38,38,1);
    }
    #chatCont.active {
        right:0;
    }
    
    
    .itemInact {
        background: rgba(255,0,0,0.1);
    }
    
    
    #highLayer {
        z-index: 99999;
        position: fixed;
        width: 99%;
        height: 99%;
        background: #000;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        margin: auto;
        box-shadow: 0px 1px 22px 5px rgba(0,0,0,0.75);
        display: none;
    }
    
    .text-muted {
        color: #444 !important;
    }
    
    .text-muted2 {
        color: #777 !important;
    }
