﻿ /*master*/
body {
    height: 100%;
    overflow: hidden;
    padding-top: 0/*;    50px*/
    /*padding-bottom: 20px;*/
}

button,
[type="button"],
[type="reset"],
[type="submit"],
[type="image"],
[type="checkbox"],
[type="radio"],
summary {
    cursor: pointer;
}

.logodark {
    white-space: nowrap;
    display: block;
    float: left;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    width: 320px;
    font-family: Arial, sans-serif;
    padding: 0 15px;
    font-weight: 300;
    background-image: url("/images/WidHart.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
}

.wid-image {
    white-space: nowrap;
    display: block;
    float: left;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 10px;
    background-image: url("/images/WidHart.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.tdl-bgcolor {
    background-color: black;
}

.li-img {
    padding-top: 10px;
}

.li-text {
    padding-top: 15px;
}

.navbar li {
    font-size: 1rem;
}

    .navbar li a.active {
        font-weight: bold !important;
    }

.fontClassSmall {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.625em;
}

.fontClassSmaller {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.5em;
}

/*master end*/
/*tabs niu*/
.tabStyle {
    background-color: lightgray;
}

.blackGlossBtn {
    background: linear-gradient(to bottom, #333 0%, #111 50%, #222 51%, #444 100%);
    border: 1px solid black;
    border-radius: 5px;
    color: white;
    font-family: "Helvetica", "Verdana", "Arial", sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0px -1px 0px black;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5), inset 0px 1px 0px rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

    .blackGlossBtn:hover {
        background: linear-gradient(to bottom, #444 0%, #222 50%, #333 51%, #555 100%);
    }

    .blackGlossBtn:active {
        background: linear-gradient(to bottom, #222 0%, #111 50%, #333 51%, #444 100%);
        box-shadow: inset 0px 0px 13px rgba(0, 0, 0, 0.75);
    }

    .blackGlossBtn:disabled {
        background: linear-gradient(to bottom, #444 0%, #222 50%, #333 51%, #555 100%);
        color: rgba(255, 255, 255, 0.5);
        cursor: not-allowed;
    }
.inputBtnGl {
    height: 40px;
}

textarea {
    height: 100px;
/*    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    display: block;
    width: 100%;
    border-radius: 0.375rem;*/
}

/*form controls*/
/* default is 1rem or 16px */
.form-horizontal {
    font-size: 12px;
    line-height: 1;
}

.form-control-sm {
    font-size: 0.75rem !important;
    height: 28px !important;
}

.col-form-label {
    font-size: 0.75rem !important;
}

.form-group {
    font-size: 0.75rem;
}

    .form-group input {
        /*width: 50px;*/
        height: 28px;
        padding-left: 4px;
    }
/*select2*/
.select2-container {
    font-size: 0.75rem;
}

.select2-dropdown {
    font-size: 0.75rem;
}
/*    .select2-dropdown.modalS2Css {
        z-index: 999999;
    }*/

.select2-container--classic .select2-results > .select2-results__options {
    max-height: 400px;
    min-height: auto; /* ✅ Allow the height to be dynamic */
    overflow-y: auto;
}

.select2-container .select2-selection__rendered > *:first-child.select2-search--inline {
    width: 50% !important;
}

    .select2-container .select2-selection__rendered > *:first-child.select2-search--inline .select2-search__field {
        width: 50% !important;
    }

.no-search-box .select2-container .select2-container--default .select2-container--open .select2-dropdown .select2-dropdown--below .select2-search .select2-search--dropdown .select2-search__field {
    display: none !important;
}
/*end select2*/
/*removes padding from select*/
.selector {
    padding: 0 !important;
}

/*date picker*/
.dpWidth {
    width: 120px !important;
    display: flex;
    flex-wrap: nowrap; /* Prevent the input and icon from wrapping */
}

    .dpWidth .form-control {
        /* Make the input take up the remaining space after the icon's width */
        width: calc(100% - 40px); /* Adjust 40px as needed based on icon width */
    }

    .dpWidth .input-group-text {
        width: 40px; /* Fixed width for the icon container */
        flex-shrink: 0; /* Prevent the icon container from shrinking */
    }

.calenderIcon {
    height: 28px;
}

.appendIcon {
    height: 28px;
    /*width: 28px;*/
}

/* solution 1:*/
/*.datepicker {
    font-size: 0.875em;
}*/
    /* solution 2: the original datepicker use 20px so replace with the following:*/
/*    .datepicker td, .datepicker th {
        width: 2em;
        height: 1.5em;
    }*/
/*end form controls*/

/*tabulator*/
.toggleChevron {
    color: forestgreen;
    font-weight: bold;
    font-size: 0.875rem;
}

.toggleChevronEmpty {
    color: orange;
    font-weight: bold;
    font-size: 0.875rem;
}

.tab_bold {
    font-weight: bold;
}
/*table*/
/*Theme the Tabulator element*/
.tableHeight {
    height: calc(100vh - 110px);
}
.tdlTbl {
    background-color: #ccc;
    border: 1px solid #333;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;/*    0.6875em*/
}  

    /*Theme the header*/
    .tdlTbl .tabulator-header {
        background-color: #333;
        color: black;
    }
        /*Allow column header names to wrap lines*/
        .tdlTbl .tabulator-header .tabulator-col,
        .tdlTbl .tabulator-header .tabulator-col-row-handle {
            white-space: normal;
        }

    /*Color the table rows*/
    .tdlTbl .tabulator-tableHolder .tabulator-table .tabulator-row {
        color: #fff;
        background-color: #666;
    }
        /*Color even rows*/
        .tdlTbl .tabulator-tableHolder .tabulator-table .tabulator-row:nth-child(even) {
            background-color: #444;
        }

    .tdlTbl .tabulator-edit-select-list {
        background-color: #ffffff;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.6875em;
    }

        .tdlTbl .tabulator-edit-select-list .tabulator-edit-select-list-item:hover,
        .tdlTbl .tabulator-edit-select-list .tabulator-edit-select-list-item.active {
            color: #ffffff;
        }

    .tdlTbl .tabulator-row {
        min-height: 21px;
    }

    .tdlTbl .tabulator-cell {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    /*    change*/
    .tdlTbl .tabulator .tabulator-header .tabulator-col {
        text-align: center;
    }

    .tdlTbl .tabulator .tabulator-header .tabulator-col-group > .tabulator-col-content {
        text-align: center;
    }

    .tdlTbl .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow {
        display: inline-block;
        position: absolute;
        top: 9px;
        right: 3px;
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 4px solid #bbb;
    }

    .tdlTbl .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
        white-space: normal;
        padding-right: 0.94rem;
    }

    .tdlTbl .tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title {
        padding-right: 12px !important;
    }

    .tdlTbl .tabulator .tabulator-header .tabulator-col .tabulator-col-content {
        padding: 0.5em !important;
    }

input[type=search] {
    border-color: lightgray;
    border-style: solid;
    height:25px;
}

.tabulator .tabulator-tableHolder .tabulator-placeholder span {
    font-size: 1em;
}

.tabulator-placeholder {
    color: black; /* Change this to any color you prefer */
    font-weight: bold; /* Make the placeholder text bold */
    text-align: center; /* Center the placeholder text */
    padding: 20px; /* Add some padding for better visibility */
    background-color: #f5f5f5; /* Change the background color if needed */
}

/*group*/
.tabulator-row.tabulator-group .tabulator-arrow {
    border-left-color: darkgrey;
}

/*.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {
    border-left-color: forestgreen;
}*/

.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow {
    margin-right: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid darkgrey;
    border-bottom: 0;
}
/*end group*/
/*responsive*/
.tdlTbl .tabulator-cell .tabulator-responsive-collapse-toggle {
    background-color: lightgray;
}

.tdlTbl .tabulator-row .tabulator-responsive-collapse table {
    font-size: 0.75em !important;
}

.tdlTbl .tabulator-cell .tabulator-responsive-collapse-toggle-open {
    background-color: lightgray;
}

.tdlTbl .tabulator-cell .tabulator-responsive-collapse-toggle-close {
    background-color: lightgray;
}
/*end responsive*/
/*subTable*/
.holderEl {
    box-sizing: border-box;
    padding: 2px;
    border: 1px solid lightgray;
    background: black;
    display: none;
}

.tableEl {
    border: 1px solid lightgray;
}
/*Tree*/
.treeHeight {
    height: calc(100vh - 212px);
    overflow: auto;
}
.treeHeightFull {
    height: calc(100vh - 140px);
    overflow: auto;
}

.treeSearchIcon {
    font-size: 1rem;
}

/*modal*/
.searchBox {
    width: 400px;
}

.modal-header, h4, .close {
    background-color: darkgrey;
    color: white !important;
    text-align: center;
    font-size: 1.25em;
}

.modal-footer {
    background-color: darkgrey;
}

.card-header {
    background-color: darkgrey;
    padding-left: 10px;
}

.card-link {
    font-size: 1.25em;
    font-weight: bold;
    color: white !important;
}

.modSaveBtn {
    color: lightgrey;
    background-color: black;
    /*btn btn-sm text-white-50 bg-dark*/
}

.modCloseBtn {
    color: lightgrey;
    background-color: whitesmoke;
}
.btn-dark {
    border-radius: var(--bs-border-radius, 0.25rem);
}
/*modal end*/
/*popover*/
.popover-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px !important;
    width: auto !important;
}

.popover-header {
    background-color: black !important;
    font-size: 0.75rem !important;
}

.popover-footer {
    background-color: lightgray;
}
/*end popover*/

/*Quill*/
.ql-container.ql-snow {
    height: auto;
}

.ql-editor {
    height: 400px;
    overflow-y: scroll;
}

/*.ql-container {
    border: none !important;*/ /* ✅ Removes unwanted red border */
/*}

.ql-editor {
    border: none !important;*/  /*✅ Forces editor background without a border*/ 
/*}*/

/*end Quill*/

/*Custom checkbox bs4*/
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: green;
}

/*.custom-control-input:checked ~ .custom-control-label::before {
            color: green;
            background-color: green;
        }*/
/*end Custom checkbox bs4*/

.hideSection {
    display: none;
}

.required::after {
    content: '*'; /* '<span>*</span>'class="red"*/
    color: red;
}

/*validation*/
.red {
    color: red;
}

.error {
    color: red;
}
