﻿
.modal-backdrop {
    opacity: 0.5 !important;
}

.editTable > table > tbody {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    /*width: 100%;*/
}

.editTable tr > td {
    height: auto;
}

.editTable tr.editRow {
    margin: 5px 0px;
    margin-top: -1px 0px;
    display: flex;
    flex-wrap: wrap; /* allow to wrap on multiple rows */
    border-spacing: 3px 3px;
    /*line-height: 20px;*/
    /*       width: 100%;*/
}

.editTable tr.selected {
    border-color: #E7E7E7;
    border-width: thin;
    border-style: solid;
    /*border-top: 0;*/
}

.editTable td {
    display: block;
    padding: 1px;
    flex: 1; /* to evenly distributs flex elements */
    /*height: 20px;*/
    border-spacing: 0px 0px;
    padding-top: 0px;
}

    .editTable td .sortHandle {
        cursor: grab;
        display: inline-block;
        width: 24px;
        text-align: center;
        font-weight: 900;
        height: 100%;
    }

        .editTable td .sortHandle:active {
            cursor: grabbing;
        }

.editTable .details {
    margin: 20px 1%;
    display: none;
    height: auto;
    width: 100%; /* fill entire width,row */
    flex: auto; /* reset the flex properti to allow width take over */
}


.editTable tr {
    margin: 5px 0px;
    margin-top: -1px 0px;
    display: flex;
    flex-wrap: wrap; /* allow to wrap on multiple rows */
    border-spacing: 3px 3px;
    /*line-height: 20px;*/
    /*       width: 100%;*/
}







.detailsTable > table > tbody {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    /*width: 100%;*/
}


.detailsTable tr .detailsRow {
    margin: 5px 0px;
    margin-top: -1px 0px;
    display: flex;
    flex-wrap: wrap; /* allow to wrap on multiple rows */
    border-spacing: 3px 3px;
    /*line-height: 20px;*/
    /*       width: 100%;*/
}

/*.detailsTable tr:first-child td {
    border-top: none;
}*/

.detailsTable td {
    display: block;
    padding: 1px;
    flex: 1; /* to evenly distributs flex elements */
    /*height: 20px;*/
    border-spacing: 0px 0px;
    padding-top: 0px;
}

/*.table td .sortHandle {
    cursor: grab;
    display: inline-block;
    width: 24px;
    text-align: center;
    font-weight: 900;*/
/*font-size: 12px;*/
/*}

    .table td .sortHandle:active {
        cursor: grabbing;
    }*/


/*.editTable .dynamicRowInsertNew {
        display: table-row;
        position: absolute;
        width: 100%;
        height: 10px;
        vertical-align: middle;
    }*/

/* .editTable .dynamicRowInsertNew > div {
            display: table-cell;
            position: absolute;
            width: 100%;
            height: 3px;
            border-spacing: 0px 0px;
        }*/

/*  .editTable .dynamicRowDetails:not(:hover) {
        display: table-row;
        height: 100px;
        transition: height 0.25s ease-out;
        vertical-align: middle;
    }

    .editTable .dynamicRowDetails:hover {
        max-height: 500px;
        transition: max-height 0.25s ease-in;
    }*/

/*.editTable .inlineNewItem {
        position: absolute;
        background-color: lightgreen;
        width: 100%;
        left: 0px;
        top: -11px;
        border: 0px;
    }*/

/* .editTable .inlineNewItemButton {
        position: absolute;
        background-color: lightgreen;
        width: 22px;
        left: 0px;
        top: -11px;
        border: 0px;
    }
*/

.btn a span {
    vertical-align: top;
}


.actionList.table-striped > tbody > tr:nth-child(even) {
    background-color: AliceBlue;
}

.actionList.table-striped > tbody > tr:nth-child(odd) {
    background-color: #F9F9F9;
}

.actionList.table-hover tbody tr:hover {
    background-color: antiquewhite;
}

    .actionList.table-hover tbody tr:hover td {
        background-color: antiquewhite;
    }

.actionList.table-striped > tbody > tr.selected td {
    background-color: #F6B26B;
    /*flash-effect: #f6f66a;*/
}

.buttonCell {
    display: table-cell;
    height: 100%;
    max-width: 33px;
    width: 33px;
    border-spacing: 0px 0px;
}

a.btn-link {
    padding-left: 8px;
    padding-right: 8px;
}


.custom-context-menu {
    list-style-type: none;
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    border: 1px solid #CCC;
    white-space: nowrap;
    font-family: sans-serif;
    background: #FFF;
    color: #333;
    border-radius: 5px;
}

    .custom-context-menu li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .custom-context-menu li:hover {
            background-color: #DEF;
        }



.table > thead > tr:first-child > th,
.table > tbody > tr:first-child > th,
.table > tfoot > tr:first-child > th,
.table > thead > tr:first-child > td,
.table > tbody > tr:first-child > td,
.table > tfoot > tr:first-child > td {
    line-height: 1.42857143;
    vertical-align: middle;
    border-top: 0px solid #ddd;
}

input[type=checkbox]:not([data-toggle="toggle"]) {
    width: 18px;
    height: 18px;
}

.table {
    margin-bottom: 0px;
}


    .table.propertygrid:not(.actionList) > tbody > tr {
        height: 50px;
    }


.panel-body {
    overflow-x: auto;
    overflow-y: auto;
    padding: 0;
}


/*STICKY HEADER*/

.sticky {
    min-height: 100px;
    background-color: white;
    top: 45px;
    right: 0px;
    left: 0px;
    padding-left: 265px;
    position: fixed;
    z-index: 995; /*sidebar goes on top of this*/
    padding-bottom: 10px;
    padding-top: 20px;
    padding-right: 15px;
}

#stickyHeader h2 {
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    float: left;
    line-height: 1.4;
    margin-bottom: 0;
}

/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media (max-width: 800px) {

    .sticky {
        min-height: 100px;
        background-color: white;
        top: 45px;
        right: 0px;
        left: 0;
        position: fixed;
        z-index: 995;
        padding-bottom: 10px;
        padding-top: 20px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

.glyphicon-none:before {
    content: "\2122";
    color: transparent !important;
}

#task-detail-popup {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #f2f2f2;
    padding: 2px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(173, 216, 230, 0.1);
    z-index: 99;
    min-width: 30vw;
    max-width: 50vw;
    height: 305px;
}

.task-container {
    display: none;
}

.inlineDeviceOpInfo {
    display: none;
}

#taskNotifications > .alert {
    margin: 0 0 3px 0;
}

/* Add this CSS style to highlight the filtered elements */
.highlighted {
    background-color: yellow !important;
}

.alert-dialog {
    padding: 4px 12px 4px 12px;
    margin-bottom: 2px;
    border: 1px solid transparent;
    border-radius: 0;
}

.content {
    /*min-width:fit-content;*/
}

/*Property table - Modern style*/
/*.inputContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-self: end;
    text-align: -webkit-right;
    justify-content: center;
}

.configRow {
    border-radius: 0.375rem;
    padding: 0.5rem;
    display: grid;
    gap: 3rem;
    margin-bottom: 0.25rem;
    grid-auto-flow: column;
    grid-auto-columns: auto;
}

.editElement > input, select {
    max-width: fit-content;
}

.fieldInfoContainer {
    max-width: fit-content;
}

.propertyDescription {
    max-width: min(fit-content,50%);
}

.modernPropertyGrid {
    justify-self: center;
    max-width: 120ch;
}
*/