:root
{
    --global-background: #eeeeee;
    --global-text-color: rgb(53, 53, 53);
    --global-header-background: rgb(29,53,87);
    --global-menu-background: rgb(40, 83, 107);
    --global-submenu-background: #cccccc;
    --global-active-background: rgba(157, 195, 248, 0.3);
    --global-accordion-bg: linear-gradient(#28536b,#377495,#28536b);
    --global-header-light: linear-gradient(#ddd,#eee,#ddd);
    --global-header-darker: linear-gradient(#ccc,#eee,#ccc);
    --global-header-custom: rgb(38, 49, 86, 0.62);
    --global-header-dark: #bfbfbf;
    --global-record-hover: #f7f1f1;
    --global-menu-text: #dcdcdc;
    --global-row-bg: #d3d3d313;
    --bs-table-hover-bg: rgba(200,200,200,.08);
}
html
{
    font-size: 15px;
    color: ghostwhite;
}
body > div.bootbox.modal.show > div > div > div.modal-body > div > form.bootbox-form
{
    max-height: 400px;
    overflow-y: auto;
}
*.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus
{
    box-shadow: 0 0 0 0.1em white, 0 0 0 0.25em #258cfb;
}
span.form-control,
textarea[readonly],
select.form-select:disabled
{
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

html
{
    position: relative;
    min-height: 100%;
}
#mdrStatus,
#mdrHeader
{
    height: 32px;
    padding: .25em .5em;
    background-color: var(--global-menu-background);
    font-size: small;
    color: ghostwhite;
    opacity:.7;
}
#mdrHeader,
#mdrBody,
#mdrStatus
{
    position: fixed;
    width: 100%;
}
#mdrHeader
{
    top: 0;
}
#mdrStatus
{
    bottom: 0;
}
#mdrBody::before
{
    content: "";
    background-image: url('../lib/login/images/bgfloralpattern.jpg');
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: .8;
}
#PaymentScreen
{
    content: "";
    background-image: url('../lib/login/images/bg-Gold.jpg');
    background-size: cover;
}
#mdrBody
{
    width: 100%;
    top: 33px;
    bottom: 33px;
    background-color: #5555;
}
#flex-menu > div.flex-child > button
{
    background-color: #cca02b;
    color: ghostwhite !important;
    width: 100% !important;
    height: 100% !important;
    border: 1px outset #ddd;
    font-size: .7em !important;
    padding: 0 .5em;
}
    #flex-menu > div.flex-child > button:hover
    {
        background-color: #cca02b81;
        border: 1px inset #ddd;
    }
div.tableFixHead, #controlDiv
{
    overflow: auto;
    height: calc(100vh - 7.4em) !important;
    overflow-y: auto !important;
    background-color: #fffe;
}
#ModalContainerForm > div.modal-body, #ModalContainer > div > div > div.modal-body
{
    height: calc(100vh - 66px) !important;
}
@media (min-width: 640px) /*>=640px*/
{
    #ModalContainerForm > div.modal-body, #ModalContainer > div > div > div.modal-body
    {
        padding-bottom: 50px !important;
    }
    #PaymentScreen
    {
        max-width: 35em;
        height: 86vh;
        margin-top: 1%;
        border-radius: 1em;
        padding-bottom: 3.2em !important;
    }

    #flex-menu > div.flex-child
    {
        height: 92px !important;
        min-width: 25%;
        text-align: center;
    }

        #flex-menu > div.flex-child > button
        {
            width: 90px !important;
        }

            #flex-menu > div.flex-child > button > i
            {
                font-size: 3.2em !important;
                padding: 0 !important;
                margin-top: 0;

            }
}
@media (max-width: 640px) /*<=640px*/
{
    #ModalContainerForm > div.modal-body,
    #ModalContainer > div > div > div.modal-body
    {
        padding-bottom: 100px !important;
    }
    /*div.tableFixHead,
    #controlDiv
    {
        padding-bottom: 50px !important;
    }*/
    #PaymentScreen
    {
        width: 100% !important;
        height: calc(100vh - 4em) !important;
        padding-bottom: 3.2em !important;
    }
    #flex-menu > div.flex-child
    {
        width: 74px !important;
        height: 80px !important;
    }
        #flex-menu > div.flex-child > button > i
        {
            font-size: 2.2em !important;
            padding: 0 !important;
            margin-top: 0;
        }
}
body > div.bootbox > div > div > div.modal-body
{
    text-align: center;
}

table.tableLeanLine > tbody > tr > td
{
    vertical-align: middle;
    line-height: 2em;
    padding: 3px;
}

table.tableLeanLine > tbody > tr > td,
table.tableLeanLine > thead > tr > th,
table.tableLeanLine > tfoot > tr > th
{
    font-size: small !important;
}

table.tableLeanLine > thead > tr > th,
table.tableLeanLine > tfoot > tr > th
{
    font-weight: 600;
}

table.tableLeanLine > tbody > tr > td input
{
    margin-top: 2px;
}

.bg-linear-header /*div*/
{
    background: var(--global-header-light);
}

    .bg-linear-header > div[class^="col-"]
    {
        background: var(--global-header-light);
        line-height: 2.4em;
        padding-top: 0;
        padding-bottom: 0;
        border-left: solid 1px #ccc;
        border-bottom: inset 1px #eee;
    }

    div.tableFixHead table > thead > tr > th,
    #controlDiv table > thead > tr > th
    {
        position: sticky;
        top: 0;
        z-index: 1;
    }

.text-danger-sm,
.text-danger,
label.error,
.field-validation-error
{
    --bs-text-opacity: 1;
    color: #fb4b4b !important;
    font-size: .8em;
}

label.error
{
    box-shadow: none !important;
}

button[btnName="LOV"]
{
    padding: 0 .25em !important;
    margin: 2px 0 0 0;
}

a
{
    text-decoration: none;
    color: inherit;
}

.table-striped > tbody > tr:nth-of-type(odd) > *
{
    background-color: #9fdffa5b;
}

.table-striped > tbody > tr:hover
{
    background-color: #bbf;
}

tr.table-bgl-header > th
{
    background: var(--global-header-light);
    border: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

tr.table-bgd-header > th
{
    background: var(--global-header-darker);
    border: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

/*#ModalContainerForm > div.modal-header,
#partialBody > form > div.row
{
    min-height: 38px;
    align-items: center;
}*/

#partialBody > form > div.row > div.col-sm-6.text-end > div
{
    padding-right: 5px;
}

.center
{
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.header
{
    grid-area: header;
    background-color: var(--global-header-background);
}

.error, .input-validation-error
{
    -moz-box-shadow: 0 0 3px 1px #fb4b4b !important;
    box-shadow: 0 0 3px 1px #fb4b4b !important;
}

.blink
{
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation
{
    to
    {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation
{
    to
    {
        visibility: hidden;
    }
}

@media (min-width: 768px)
{
    .card img
    {
        height: 11em;
    }
}
/*scrollbar width */
.menuScrollbar::-webkit-scrollbar
{
    max-width: 10px;
}
/*scrollbar Track */
.menuScrollbar::-webkit-scrollbar-track
{
    box-shadow: inset 0 0 1px lightgray;
    background-color: rgb(240 240 240 / 1);
}
/*scrollbar Handle */
.menuScrollbar::-webkit-scrollbar-thumb
{
    background-color: #5a412d78;
    border-radius: 2px;
}
/*----------------------------------*/
/*----------------------------------*/
/*Start of modal customized property*/
/*----------------------------------*/
/*----------------------------------*/
.modal.left_modal, .modal.right_modal
{
    position: fixed;
}

    .modal.left_modal .modal-dialog,
    .modal.right_modal .modal-dialog
    {
        position: fixed;
        margin: auto;
        width: 32%;
        height: 100%;
        -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
        -o-transform: translate3d(0%, 0, 0);
        transform: translate3d(0%, 0, 0);
    }
#controlButton{
    margin: 0 1px;
}
#controlButton.row
{
    flex-wrap: nowrap;
    /*//padding: .1em .2em;*/
    /*background-color: rgb(129, 124, 124,1)*/
}

@media (max-width: 680px)
{
    #controlButton button[btnAction]
    {
        width: 33px;
    }

    #controlButton div.input-group > label
    {
        display: none;
    }
}

@media (min-width: 576px)
{
    .left_modal .modal-dialog
    {
        max-width: 100%;
    }

    .right_modal .modal-dialog
    {
        max-width: 100%;
    }
}

.modal.left_modal .modal-content,
.modal.right_modal .modal-content
{
    height: 100vh !important;
}

.modal.left_modal .modal-body,
.modal.right_modal .modal-body
{
    padding: 15px 15px 30px;
}

.modal-backdrop
{
    display: none;
}

/*Left*/
.modal.left_modal.fade .modal-dialog
{
    left: -50%;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left_modal.fade.show .modal-dialog
{
    left: 0;
    box-shadow: 0px 0px 19px rgba(0,0,0,.5);
}

/*Right*/
.modal.right_modal.fade .modal-dialog
{
    right: -50%;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right_modal.fade.show .modal-dialog
{
    right: 0;
    box-shadow: 0px 0px 19px rgba(0,0,0,.5);
}
/* ----- MODAL STYLE ----- */
.modal-content
{
    border-radius: 0;
    border: 2px outset whitesmoke;
}

.modal-header.left_modal, .modal-header.right_modal
{
    padding: 10px 15px;
    border-bottom-color: #EEEEEE;
    background-color: #FAFAFA;
}

.modal_outer .modal-body
{
    /* height:90%; */
    overflow-y: auto;
    overflow-x: hidden;
    height: 91vh;
}
/*----------------------------------*/
/*----------------------------------*/
/* End of modal customized property */
/*----------------------------------*/
/*----------------------------------*/

ul > li.select2-results__option > strong.select2-results__group
{
    font-weight: bold !important;
    font-size: 1em !important;
    padding-left: .2em !important;
    line-height: 1em !important;
}

li.select2-results__option[role="option"]
{
    padding-left: 1em !important;
    line-height: .9em !important;
    font-size: .9em !important;
}

::-webkit-input-placeholder
{ /* Edge */
    color: lightgray !important;
}

:-ms-input-placeholder
{ /* Internet Explorer */
    color: lightgray !important;
}

::placeholder
{
    color: lightgray !important;
}

textarea.bootbox-input-textarea
{
    height: 6em;
}

.polaroid
{
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 0;
    min-height: 100px;
}

body > div.ui-multiselect-menu > ul > li > ul
{
    list-style: none;
    padding-left: .5em;
}

    body > div.ui-multiselect-menu > ul > li > ul > li > label,
    body > div.ui-multiselect-menu > ul > li > label
    {
        padding: 1px 4px;
        border: 1px solid transparent;
    }

body > div > div > ul > li
{
    margin: .5em;
    display: inline-block;
    font-size: .9em;
    font-weight: 500;
    cursor: pointer;
}

body > div > ul > li > label > span,
body > div.ui-multiselect-menu > ul > li > ul > li > label > span
{
    margin-left: .4em;
    font-size: 1.1em;
    font-weight: 400;
    cursor: pointer;
}

body > div.ui-multiselect-menu > ul > li
{
    margin: 3px;
    font-weight: 600;
    font-size: small;
}

body > div.ui-multiselect-menu > ul
{
    height: auto !important;
    max-height: 400px;
}

.bootbox-radiobutton-list
{
    text-align: start;
    margin-inline-start: 3em;
}
