﻿:root {
    --masterPageHeaderHeight: 75px;
    --masterPageHeaderHeightWithMenu: 160px;
    --mainSelectionGridHeight: 260px;
    --crudPageSearchCriteriaAreaHeight: 48px;
    --fixedGridHeight: 204px;
}

* {
    font-family: Verdana;
    font-size: 8.5pt;
}

html {
    width: 100%;
    height: 100%;
}

body {
    background-color: #ffffff;
    margin: 0px;
    padding: 0px;
}

form {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

.right {
    text-align: right !important;
}

.center {
    text-align: center !important;
}

.top {
    vertical-align: top !important;
}

.hidden {
    visibility: hidden;
}

input.cell {
    border-width: 1px !important;
    border-color: #eeeeee !important;
    border-radius: 0px !important;
}

input[type=text], input[type=password] {
    border-radius: 15px 15px;
}

input[type=submit], input[type="date"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="button"], input[type="reset"], button, div [class*="input-group form-control"] {
    border-radius: 15px 15px !important;
}

input[type=text][maxlength="10"] {
    text-align: center;
}

div[class^='input-group form-control']:has(input[type=checkbox][disabled=disabled]) {
    height: 30px !important;
    background-color: #F0F0F0 !important;
    border: 1px solid #D0D0D0 !important;
    color: #202020 !important;
}

div[class^='input-group form-control']:has(input[type=checkbox][disabled!=disabled]) {
    height: 30px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #D0D0D0 !important;
    color: #000000 !important;
}

div[class*='row'] div[class*='col'] div[class='form-control']:has(input[type='checkbox']) {
    height: 25px !important;
    background-color: #F0F0F0 !important;
    border: 1px solid #D0D0D0 !important;
    border-radius: 15px 15px !important;
    color: #202020 !important;
    padding: 0px;
    overflow: hidden;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('/images/DropDown.png') no-repeat right;
    background-size: 26px 28px !important;
    text-indent: 0px;
    text-overflow: "";
}

.square {
    border-radius: 0px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background: url('/images/DropDownSquare.png') no-repeat right !important;
    background-size: 26px 28px !important;
    text-indent: 0px !important;
    text-overflow: "" !important;
    background-color: #ffffff !important;
}

div[class*="col-"] select {
    border-radius: 15px 15px !important;
    display: inline-block;
    overflow: hidden;
    border: 1px solid #cccccc;
}

div[class*="col-"] textarea {
    border-radius: 15px 15px;
    display: inline-block;
    overflow: hidden;
    border: 1px solid #cccccc;
}

div[id^="grd"][id$="_container"]:has(table[id^="grd"][data-grid-type="igGrid"]), div[id^="grd"][id$="_container"]:has(table[id^="grd"][data-grid-type="igHierarchicalGrid"]) {
    border-top-width: 1px;
    border-style: solid;
    border-color: #aaaaaa;
}

div[id^="grd"][id$="_caption"] {
    background-color: #444444;
    color: #ffffaa;
    font-weight: bold;
    font-size: 10pt;
    padding-top: 4px;
    padding-bottom: 4px;
}

div[id^="grd"][id$="_container"] div[id^="grd"][id$="_groupbyarea"] {
    background-color: #cccccc;
}

    div[id^="grd"][id$="_container"] div[id^="grd"][id$="_groupbyarea"] ul li.ui-state-default {
        background-color: #999999 !important;
        color: #ffffff !important;
    }

    div[id^="grd"][id$="_container"] div[id^="grd"][id$="_groupbyarea"] ul li span.ui-icon {
        color: #ffffff !important;
    }

    div[id^="grd"][id$="_container"] div[id^="grd"][id$="_groupbyarea"] ul li span.ui-iggrid-groupbylabelrightedgeend {
        border-color: #ccc #ccc #ccc transparent !important;
    }

div[id^="grd"][id$="_hiding_modalDialog"], div[id^="grd"][id$="_multiplesorting_modalDialog"], div[id^="grd"][id$="_container_dialog"], div[id^="grd"][id$="_moving_movingDialog"] {
    top: 0px !important;
    height: auto !important;
}

table[id^="grd"][data-grid-type="igGrid"] thead tr th, table[id^="grd"][data-grid-type="igHierarchicalGrid"] thead tr th {
    border-top-width: 1px !important;
    border-bottom-width: 1px !important;
    border-style: solid !important;
    border-color: #aaaaaa !important;
}

div[id^="grd"][id$="_hiding_modalDialog_caption_button_container"], div[id^="grd"][id$="_multiplesorting_modalDialog_caption_button_container"], div[id^="grd"][id$="_moving_movingDialog_caption_button_container"] {
    background-color: transparent;
    border: 0px;
}

div[id^="grd"][id$="_hiding_modalDialog_content"], div[id^="grd"][id$="_multiplesorting_modalDialog_content"], div[id^="grd"][id$="_container_dialog_content"] {
    height: auto !important;
    max-height: 150px !important;
    overflow-y: auto;
}

div[id^="grd"][id$="_container"]:has(table[id^="grd"][data-grid-type="igGrid"]), div[id^="grd"][id$="_container"]:has(table[id^="grd"][data-grid-type="igHierarchicalGrid"]) {
    margin-top: -5px;
}

table[id^="grd"][data-grid-type="igGrid"] tbody tr, table[id$="grd"][data-grid-type="igHierarchicalGrid"] tbody tr {
    cursor: pointer;
}

input[type=text]:disabled {
    background-color: #F0F0F0 !important;
    color: #202020 !important;
}

textarea:disabled {
    background-color: #F0F0F0 !important;
    color: #202020 !important;
}

select:disabled {
    background-color: #F0F0F0 !important;
    color: #202020 !important;
}

.disabled {
    background-color: #F0F0F0 !important;
    color: #202020 !important;
}

.text-field-height {
    height: 30px !important;
}

.form-control-prepend {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.form-control-append {
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.image-button-div {
    width: 28px;
    height: 28px;
    border: 1px solid #d0d0d0;
    border-radius: 14px;
    padding: 0px;
    margin: 0px;
}

.image-button {
    border: 0px !important;
    border-radius: 0px !important;
    background-color: rgba(0, 0, 0, 0) !important;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

.image-button-img {
    height: 80%;
    padding: 0px;
    margin: 0px;
}

#tdHeader {
    background-color: #000;
}

.form-panel {
    background-color: #5b5b5b;
}

div[class*="form-panel"]:has(div button[onclick$="Save'); }"]):not(:has(div button[onclick*="handler=Save'); }"])) {
    background-color: #114466 !important;
    /* z-index: 65500; */
}

.cursorhand, .CursorHand {
    cursor: pointer;
    padding: 4px 4px 4px 4px;
}

.NoDisplay {
    display: none;
}

.WebDatePickerButtonSize {
    height: 10px !important;
    width: 10px !important;
}

.row div[class*="col-"] {
    padding-top: 5px;
    color: #000000;
}

.pad-bottom {
    padding-bottom: 8px;
}

.form-header-text {
    color: #ffffff !important;
}

.section-label {
    white-space: nowrap;
    margin-top: 5px;
    padding: 3px 10px 3px 5px;
    font-weight: bold;
    background-color: #0099dd;
    color: #fff;
    display: inline-block;
    border-bottom-right-radius: 10px;
    box-shadow: #444 2px 2px;
}

.control-group-box {
    border: 1px solid #d0d0d0;
    border-radius: 15px;
    margin: 10px 0px 0px 0px;
    padding: 5px 5px 10px 5px;
}

#spToggle {
    float: right;
    margin-right: -13px;
    margin-top: 2px;
    padding: 3px 3px 3px 3px;
    font-size: 10pt;
    background-color: #ddd;
    color: #444;
    border-radius: 5px;
}

#tdButtons {
    width: 100vw !important;
}

#divControls {
    background-color: #ffffff;
}

.SplitterPane {
    transition: 1.5s;
}

.hide {
    display: none;
    visibility: hidden;
}

.show {
    display: block;
    visibility: visible;
}

.div-links {
    position: absolute;
    right: -45px;
    transition: 0.5s;
    padding: 10px 10px 10px 10px;
    z-index: 9999;
}

.div-links2 {
    display: inline-block;
    position: absolute;
    right: -8192px;
    transition: 0.5s;
    padding: 0px;
    width: fit-content;
    height: fit-content;
}

.fas.fa-bars {
    font-size: 18pt;
    color: #fff;
    cursor: pointer;
    margin-right: 7px;
}

    .fas.fa-bars.sub-grid {
        font-size: 16pt !important;
        color: #4af !important;
        cursor: pointer;
        margin-right: 7px;
    }

.search-show {
    overflow: hidden;
}

.search-hide {
    overflow: hidden;
}

.grid-overflow-visible {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.btn-enabled {
    font-size: 16pt;
    color: #fff;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

.fas.fa-plus.btn-enabled {
    color: #0f0 !important;
}

.fas.fa-edit.btn-enabled {
    color: #ff0 !important;
}

.fas.fa-save.btn-enabled {
    color: #4Af !important;
}

.fas.fa-ban.btn-enabled {
    color: #f80 !important;
}

.fas.fa-trash-alt.btn-enabled {
    color: #f00 !important;
}

.fas.fa-trash-restore-alt.btn-enabled {
    color: #0f0 !important;
}

.fas.fa-history.btn-enabled {
    color: #ff0 !important;
}

.fas.fa-copy.btn-enabled {
    color: #ff0 !important;
}

.fas.fa-cut.btn-enabled {
    color: #ff0 !important;
}

.fas.fa-paste.btn-enabled {
    color: #0f0 !important;
}

.fas.fa-tools.btn-enabled {
    color: #4Af !important;
}

div[id="divSearch"] div div:has(i[class*="window"]) {
    position: absolute;
    top: 8px;
    right: 7px;
    white-space: nowrap;
}

div[class*="form-panel"]:has(div button[onclick$="Save'); }"]) div:has(i[class*="window"]) {
    float: right;
    top: 8px;
    right: 7px;
    white-space: nowrap;
}

.far.fa-window-maximize, .far.fa-window-restore, .far.fa-window-minimize {
    color: #fff !important;
    font-size: 14pt;
    cursor: pointer;
    margin-right: 7px;
}

div[id="divSearch"] div div .far.fa-window-maximize, div[id="divSearch"] div div .far.fa-window-restore, div[id="divSearch"] div div .far.fa-window-minimize {
    color: #fff !important;
    font-size: 14pt !important;
    cursor: pointer;
    margin-right: 7px;
}

.far.fa-window-maximize.sub-grid, .far.fa-window-restore.sub-grid, .far.fa-window-minimize.sub-grid {
    color: #4af !important;
    font-size: 14pt;
    cursor: pointer;
    margin-right: 7px;
}

.btn-enabled-dark {
    font-size: 16pt;
    color: #444;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

.btn-disabled {
    font-size: 16pt;
    color: #888;
    background-color: Transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

.button-panel-button {
    height: 23px !important;
    width: 100% !important;
    padding-top: 2px !important;
}

.info-link {
    color: #fff;
    padding-left: 5px;
    padding-right: 5px;
}

.grid-control {
    padding: 0px 0px 0px 0px;
    height: calc(100vh - var(--masterPageHeaderHeight) - 80px);
    overflow: scroll;
}

.splitter {
    height: calc(100vh - var(--masterPageHeaderHeight));
}

.workspace-height {
    height: calc(100vh - var(--masterPageHeaderHeight));
}

.splitter2 {
    height: calc(100vh - var(--masterPageHeaderHeight) - 265px);
}

.grid-control2 {
    padding: 0px;
    margin: 0px;
    /*
    height: 204px;
    */
    overflow: scroll;
}

.grid-control3 {
    padding: 0px;
    margin: 0px;
    /*
    min-height: 204px;
    max-height: 204px;
    */
    height: 204px;
    overflow: scroll;
}

.grid-row-select > tbody > tr {
    cursor: pointer;
}

.tab-pane-borders {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.image-list {
    width: 100%;
    border: 2px solid #888888;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

.autoCompleteHighlight {
    background-color: #4080c0;
    color: #ffffff;
}

.bg_pink {
    background-color: #ffcccc !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.bg_green {
    background-color: #ccffcc !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
}

.bg_yellow {
    background-color: #ffffcc !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
}

.bg_white {
    background-color: #ffffff !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
}

td[role="gridcell"]:has(div.bg_pink) {
    background-color: #ffcccc !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

td[role="gridcell"]:has(div.bg_green) {
    background-color: #ccffcc !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

td[role="gridcell"]:has(div.bg_yellow) {
    background-color: #ffffcc !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

td[role="gridcell"]:has(div.bg_white) {
    background-color: #ffffff !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

tr[role="row"]:has(div.bg_pink) {
    background-color: #ffcccc !important;
    border: 0px !important;
    min-height: 35px !important;
}

tr[role="row"]:has(div.bg_green) {
    background-color: #ccffcc !important;
    border: 0px !important;
    min-height: 35px !important;
}

tr[role="row"]:has(div.bg_yellow) {
    background-color: #ffffcc !important;
    border: 0px !important;
    min-height: 35px !important;
}

.bg_td_pink {
    background-color: #ffcccc !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
}

.bg_td_green {
    background-color: #ccffcc !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
}

.bg_td_yellow {
    background-color: #ffffcc !important;
    border: 0px !important;
    min-height: 35px !important;
    vertical-align: middle !important;
    display: table-cell;
    padding-top: 0px;
    padding-bottom: 0px;
}

td[role="gridcell"]:has(div.bg_td_pink) {
    background-color: #ffcccc !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

td[role="gridcell"]:has(div.bg_td_green) {
    background-color: #ccffcc !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

td[role="gridcell"]:has(div.bg_td_yellow) {
    background-color: #ffffcc !important;
    border: 1px 0px 0px 0px !important;
    min-height: 35px !important;
}

.fg_green {
    color: #00ff00 !important;
}

.fg_red {
    color: #ff0000 !important;
}

.bg_opt_pink {
    background-color: #ffcccc !important;
}

.background_yellow {
    background-color: yellow !important;
}

.background_green {
    background-color: lightgreen !important;
}

.background_red {
    background-color: lightpink !important;
}

.background_white {
    background-color: white;
}

.form-group .input-group input[class*='required']:has(+div button:not(button[disabled='disabled'])), .form-group .input-group input[class*='required']:not([readonly='readonly']), .form-group .input-group textarea[class*='required']:not([readonly='readonly']) {
    background: linear-gradient(0deg, #ffffff 0%, #ffe0e0 33%, #ffc0c0 66%, #ffb0b0 100%) !important;
}

.form-group .input-group select[class*='required']:not([disabled='disabled']) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('/images/DropDown.png') no-repeat right, linear-gradient(0deg, #ffffff 0%, #ffe0e0 33%, #ffc0c0 66%, #ffb0b0 100%) !important;
    background-size: 26px 28px !important;
    text-indent: 0px;
    text-overflow: "";
}

ul li .ui-corner-all {
    color: #eee !important;
}

ul li .ui-state-hover {
    color: #222 !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.ui-igtree-expander {
    left: 0.5em !important;
    top: 0.5em !important;
}

img[data-role="node-image"] {
    position: relative !important;
    top: 4px !important;
    left: 1px !important;
}

.driver-popover.driverjs-theme {
    background-color: #fde047;
    color: #000;
}

    .driver-popover.driverjs-theme .driver-popover-title {
        font-size: 20px;
    }

    .driver-popover.driverjs-theme .driver-popover-title,
    .driver-popover.driverjs-theme .driver-popover-description,
    .driver-popover.driverjs-theme .driver-popover-progress-text {
        color: #000;
    }

    .driver-popover.driverjs-theme button {
        flex: 1;
        text-align: center;
        background-color: #000;
        color: #ffffff;
        border: 2px solid #000;
        text-shadow: none;
        font-size: 14px;
        padding: 5px 8px;
        border-radius: 6px;
    }

        .driver-popover.driverjs-theme button:hover {
            background-color: #000;
            color: #ffffff;
        }

    .driver-popover.driverjs-theme .driver-popover-navigation-btns {
        justify-content: space-between;
        gap: 3px;
    }

    .driver-popover.driverjs-theme .driver-popover-close-btn {
        color: #9b9b9b;
    }

        .driver-popover.driverjs-theme .driver-popover-close-btn:hover {
            color: #000;
        }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
        border-left-color: #fde047;
    }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
        border-right-color: #fde047;
    }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
        border-top-color: #fde047;
    }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
        border-bottom-color: #fde047;
    }
