﻿/*
    Defined default class in this project
*/
html {
    position: fixed;
    height: 100vh;
    width: 100%;
    overflow: auto;
}

body {
    background-color: var(--main-bg-body-color) !important;
    color: var(--main-txt-color);
    font-size: 11pt !important;
    font-weight: 600;
    font-family: Bai Jamjuree, serif, Sans-serif, cursive, fantasy, monospace;
    max-height: 100vh;
    height: 100%;
    overflow: auto;
    width: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

    body .app-body {
        position: relative;
        min-width: 1366px;
        margin-bottom: 30px;
    }

    body .app-footer {
        position: absolute;
        bottom: 0;
        height: 30px;
        width: 100%;
        z-index: -1;
        font-size: 0.65rem;
    }

/*------Font Start------*/
@font-face {
    font-family: 'Bai Jamjuree';
    src: url('../fonts/Bai_Jamjuree/BaiJamjuree-Regular.ttf');
}

@font-face {
    font-family: 'FontAwesome';
    src: url('/fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'password';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/password.ttf');
}

/*------Background------*/
.bgMainColor {
    background-color: var(--main-color);
}

/* Custom class for this project only */
/* Login */
.login-bg {
    /*background-image: var(--login-bg-url);*/ /*ย้ายไปใส่ tag body แทน*/
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.login-logo-container {
    height: 90px;
    text-align: center;
    margin: 20px 0px;
    /*animation: bounce1 0.8s;*/
    -webkit-appearance: none;
}

.login-logo {
    height: inherit;
    width: auto;
}

.login-card-container {
    height: auto;
    margin-bottom: 50px;
    animation: bounce 1.2s;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
    -webkit-appearance: none;
}

.login-card {
    background: #ffffffdb !important;
    border-radius: 7px !important;
}

.login-card-shadow {
    box-shadow: 0px 6px 20px 0px #d4d4d4;
}

.input-field-container {
    padding: 0px 20px;
    /*margin-bottom: 30px;*/
    /*animation: bounce2 0.8s;*/
    -webkit-appearance: none;
}

.input-group {
    margin-bottom: 1rem !important;
}

.login-input input {
    height: 45px !important;
    min-height: 45px;
}

.login-btn {
    min-width: 130px;
    background: var(--main-color);
    border: none;
    font-size: 18px !important;
    color: var(--txt-white);
}

    .login-btn:hover, .login-btn:active {
        opacity: 0.8;
        outline: none !important;
    }

.login-forgot-btn {
    font-weight: 700;
    color: var(--main-color) !important;
}

    .login-forgot-btn:hover {
        text-decoration: none;
        opacity: 0.9;
    }

@keyframes bounce {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
}


/* Modification template */
/* Modification title */
#LeaseNoContainer {
    font-size: 1rem;
}

.modi-title-lease-no {
    color: var(--main-color);
    font-weight: bolder;
    padding: 0px 5px;
    font-size: 1.2rem;
}

.modi-title-lease-version {
    font-weight: bolder;
    padding: 0px 5px;
}

.modi-title-lease-status {
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 0.25rem;
}

    .modi-title-lease-status.draft {
        background: #444444;
    }

    .modi-title-lease-status.submitted {
        background: #f4aa06;
    }

    .modi-title-lease-status.reject {
        background: #f91632;
    }

    .modi-title-lease-status.activelease {
        background: #0ea588;
    }

    .modi-title-lease-status.expired {
        background: #878787;
    }

    .modi-title-lease-status.writenoff {
        background: #878787;
    }

    .modi-title-lease-status.deletedraft {
        background: #878787;
    }

    .modi-title-lease-status.deleteactive {
        background: #878787;
    }

    .modi-title-lease-status.inactive {
        background: #878787;
    }


/* Modification Step */
.modi-step {
    margin: 0px 0px 5px 0px;
    background: var(--modi-wiz-bg);
    padding: 10px 5px 5px 5px;
    border-radius: 7px;
    justify-content: center;
}

/*IE 11 and Above Style*/
_:-ms-fullscreen, :root .reassessment {
    margin: 0px 0px 5px 0px;
    background: var(--modi-wiz-bg);
    padding: 10px 5px 5px 5px;
    border-radius: 7px;
    justify-content: flex-start;
    padding-left: 17%;
}

_:-ms-fullscreen, :root .modi-step-container {
    max-width: 26%;
}

.modi-step-container {
    margin: 0 3px;
    max-width: 24%;
    padding-top: 4px !important;
}

    .modi-step-container:not(.open-state):not(.disabled-state):not(.waiting-state):hover {
        cursor: pointer;
    }

    .modi-step-container:not(.actived-state):not(.past-state):hover {
        cursor: default;
    }

    .modi-step-container.actived-state {
        border-top: 3px solid var(--main-color);
    }

    .modi-step-container.open-state,
    .modi-step-container.waiting-state,
    .modi-step-container.past-state {
        border-top: 3px solid var(--main-gray-color);
    }

    .modi-step-container.disabled-state {
        border-top: 3px solid #d2d2d2;
    }

    .modi-step-container .modi-step-no {
        display: table;
        vertical-align: middle;
        height: 100%;
        padding: 0px;
    }

        .modi-step-container .modi-step-no div {
            text-align: center;
            display: table-cell;
            vertical-align: middle;
            font-size: 2rem;
            font-weight: bold;
            /*color: var(--main-color);*/
        }

    .modi-step-container.actived-state .modi-step-no div {
        color: var(--main-color);
    }

    .modi-step-container.open-state .modi-step-no div,
    .modi-step-container.past-state .modi-step-no div {
        color: var(--main-gray-color);
    }

    .modi-step-container.disabled-state .modi-step-no div,
    .modi-step-container.waiting-state .modi-step-no div {
        color: #d2d2d2;
    }

.modi-step-icon {
    vertical-align: middle;
    display: table;
    text-align: center;
    justify-items: center;
    padding: 3px !important;
    height: 100%;
}

    .modi-step-icon .modi-icon {
        vertical-align: middle;
        display: table-cell;
    }

        .modi-step-icon .modi-icon div {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            justify-content: center;
            text-align: center;
            vertical-align: middle;
            display: table-cell;
        }

            .modi-step-icon .modi-icon div img {
                max-width: 26px;
                height: auto;
            }

.modi-step-container.actived-state .modi-step-icon .modi-icon div {
    background-color: var(--main-color);
}

.modi-step-container.open-state .modi-step-icon .modi-icon div {
    background-color: transparent;
    border: 3px solid var(--main-color);
}

.modi-step-container.disabled-state .modi-step-icon .modi-icon div,
.modi-step-container.waiting-state .modi-step-icon .modi-icon div {
    background-color: #d2d2d2;
}

.modi-step-container.past-state .modi-step-icon .modi-icon div {
    background-color: var(--main-gray-color);
}

.modi-step-text {
    padding: 0px 0px 0px 7px;
}

    .modi-step-text .modi-step-title {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
    }

.modi-step-container.actived-state .modi-step-text .modi-step-title,
.modi-step-container.open-state .modi-step-text .modi-step-title {
    color: var(--main-color);
}

.modi-step-container.disabled-state .modi-step-text .modi-step-title,
.modi-step-container.waiting-state .modi-step-text .modi-step-title {
    color: #d2d2d2;
}

.modi-step-container.past-state .modi-step-text .modi-step-title {
    color: var(--main-gray-color);
}

.modi-step-text .modi-step-subtitle {
    line-height: 1;
    font-size: 0.875rem;
    font-weight: 600;
}

.modi-step-container.actived-state .modi-step-text .modi-step-subtitle,
.modi-step-container.open-state .modi-step-text .modi-step-subtitle {
    color: var(--main-gray-color);
}

.modi-step-container.disabled-state .modi-step-text .modi-step-subtitle,
.modi-step-container.waiting-state .modi-step-text .modi-step-subtitle {
    color: #d2d2d2;
}

.modi-step-text .modi-step-desc {
    font-size: 0.75rem;
    color: #777;
    overflow-wrap: break-word;
    margin-top: 6px;
    line-height: 1;
}

.modi-condi-card {
    border: none;
}

.modi-condi-card-header {
    line-height: 2.2;
    font-size: 2.5rem;
}

.modi-condi-btn-checked {
    left: -15px;
    height: 27px;
    width: 27px;
    position: absolute;
    top: 23%;
    z-index: 1;
    background-color: var(--modi-bg-color);
    border: 2px solid var(--main-color);
    border-radius: 50%;
    padding: 3px;
    color: var(--main-color);
}

.modi-condi-lst {
    padding-right: 7%;
}

    .modi-condi-lst .modi-condi-btn {
        width: 75%;
        padding: 0px;
        margin: 2px 0 !important;
        background: #f0f6f7;
        border: 2px solid white;
        border-radius: 0.35rem !important;
    }

        .modi-condi-lst .modi-condi-btn:focus,
        .modi-condi-lst .modi-condi-btn.active:focus {
            outline: none !important;
            box-shadow: none !important;
        }

        .modi-condi-lst .modi-condi-btn .modi-condi-btn-checked {
            display: none;
        }

        /* btn condi when hover */
        .modi-condi-lst .modi-condi-btn:not(.active):not(.disabled):hover {
            border: 2px solid var(--main-gray-color);
        }

            .modi-condi-lst .modi-condi-btn:not(.active):not(.disabled):hover .modi-condi-btn-txt {
                color: var(--main-gray-color);
            }


        /* btn condi when active*/
        .modi-condi-lst .modi-condi-btn.active,
        .modi-condi-lst .modi-condi-btn.active:hover {
            background: var(--modi-bg-color);
            border: 2px solid white;
        }

            .modi-condi-lst .modi-condi-btn.active .modi-condi-btn-icon,
            .modi-condi-lst .modi-condi-btn.active:hover .modi-condi-btn-icon {
                background: var(--main-color);
                border-top-left-radius: 0.25rem;
                border-bottom-left-radius: 0.25rem;
            }

            .modi-condi-lst .modi-condi-btn.active .modi-condi-btn-txt {
                color: var(--main-gray-color);
            }

            .modi-condi-lst .modi-condi-btn.active .modi-condi-btn-checked {
                display: block;
            }

        .modi-condi-lst .modi-condi-btn .modi-condi-btn-icon {
            background: #ebeced;
            padding: 5px;
            border-top-left-radius: inherit;
            border-bottom-left-radius: inherit;
        }

            .modi-condi-lst .modi-condi-btn .modi-condi-btn-icon img {
                width: 54px;
                height: auto;
            }

        .modi-condi-lst .modi-condi-btn .modi-condi-btn-txt {
            align-self: center;
            font-size: 1rem;
            font-weight: 600;
            color: var(--main-color);
        }

        .modi-condi-lst .modi-condi-btn.disabled .modi-condi-btn-txt {
            align-self: center;
            font-size: 1rem;
            font-weight: 600;
            color: var(--main-gray-color);
        }

.modi-condi-header-icon {
    border-radius: 50%;
    background-color: var(--main-color);
    width: 64px;
    height: 64px;
    position: absolute;
    right: 69%;
    z-index: 1;
    border: 4px solid white;
    top: -9px;
    padding: 7px;
}

    .modi-condi-header-icon img {
        width: 45px;
        height: 45px;
    }

.title-disabled {
    background: #959595 !important;
}

.modi-condi-header-title {
    background-color: var(--main-color);
    color: white;
    padding: 10px 5px;
    justify-items: center;
    text-align: center;
    font-size: 1.2rem;
    position: relative;
    width: 75%;
    border-radius: 0.35rem;
    float: right;
    margin-bottom: 3px;
}

/* Scope of lease */
.modi-percent-decrease-title {
    color: var(--main-color);
    font-size: 2rem;
}

.modi-percent-decrease {
    border-radius: 0.35rem;
    color: var(--main-color);
    font-size: 2rem;
    text-align: center;
    line-height: 2.5rem;
    padding: 5px;
    min-width: max-content;
}

/* Modification Lease */
.modi-v-of-lease-container {
    background: var(--main-gray-color);
    line-height: 2;
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 0px;
    border-radius: 0.35rem;
}

    .modi-v-of-lease-container .modi-v-of-lease-title label {
        color: white;
    }

.modi-condi-of-lease-container {
    margin: 4px 0px;
    background: var(--main-color);
    line-height: 2rem;
    color: white;
    font-weight: 600;
    border-radius: 0.35rem;
    padding-bottom: 8px;
}

.lease-term-title,
.scope-title,
.amount-title,
.scope-detail-title,
.stand-alone-price-title {
    font-size: 0.8rem;
    color: white;
    font-weight: bolder;
}

    .lease-term-title label {
        margin-left: 0px;
    }

.lease-condi-selected,
.scope-condi-selected,
.amount-condi-selected,
.stand-alone-price-val {
    line-height: 1;
    margin-bottom: 15px;
    font-size: 1rem;
    padding-left: 10px;
    overflow: visible;
    display: table-header-group;
    word-wrap: break-word;
    max-width: 125px;
    /*line-height: 0.5;
    margin-bottom: 15px;
    font-size: 1rem;
    padding-left: 10px;
    overflow: visible;
    white-space: nowrap;
    display: table-header-group;*/
}

.scope-decrease-detail i {
    font-size: 13px !important;
    margin-bottom: 11px !important;
}

.scope-detail-new,
.scope-detail-cur {
    line-height: 0.5;
    margin-bottom: 15px;
    font-size: 1rem;
}

.scope-detail-unit {
    padding-left: 5px;
    line-height: 0.5;
    margin-bottom: 15px;
    font-size: 1rem;
}

.scope-decrease {
    /*display: -webkit-inline-box;*/
}

    .lease-term img:first-child,
    .amount img:first-child,
    .scope-decrease img:first-child {
        margin-top: 6px !important;
    }

.modi-next-btn {
    padding-right: 7%;
}

.modi-finish label {
    margin: 20px 0;
    color: var(--main-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.modi-finish-btn {
}

.stand-alone-price-container {
    min-height: 45px;
    margin-top: 5px;
}

.stand-alone-price {
    margin: 5px 7% 0 auto;
    padding: 10px;
    width: 53%;
    background-color: var(--modi-bg-color);
    /*line-height: 2.5;*/
    font-size: 1rem;
    color: var(--main-gray-color);
    border-radius: 0.3rem;
    font-weight: 600;
}

    .stand-alone-price .stand-alone-price-radio {
        color: var(--main-color);
    }

/*--------- Standard status color --------*/
/* Icon status */
.draft i, i.draft {
    color: #999 !important;
    background-color: transparent;
}

.submitted i, i.submitted {
    color: #f4aa06 !important;
    background-color: transparent;
}

.reject i, i.reject {
    color: #f91632 !important;
    background-color: transparent;
}

.activelease i, i.activelease {
    color: #0ea588 !important;
    background-color: transparent;
}

.expired i, i.expired {
    color: #878787 !important;
    background-color: transparent;
}

.writenoff i, i.writenoff {
    color: #878787 !important;
    background-color: transparent;
}

.deletedraft i, i.deletedraft {
    color: #878787 !important;
    background-color: transparent;
}

.deleteactive i, i.deleteactive {
    color: #878787 !important;
    background-color: transparent;
}

.inactive i, i.inactive {
    color: #878787 !important;
    background-color: transparent;
}

/*--------- Standard font style --------*/
.fontBold {
    font-weight: bold;
}

.fontDark {
    color: #3ab8cc;
}

.fontMedium {
    color: var(--txt-medium);
}

.fontLight {
    color: var(--txt-light);
}

.fontLighter {
    color: var(--txt-lighter);
}

.fontSize14 {
    font-size: 14px;
}

/*----- Main container custom start -----*/
.main .container-fluid {
    padding: 0 18px;
    margin-top: 87px; /*91px;*/
    margin-bottom: 20px;
}

    body::-webkit-scrollbar, .main .container-fluid::-webkit-scrollbar, .app-body::-webkit-scrollbar {
        display: block;
        width: 10px !important;
        height: 10px !important;
        margin-left: 5px;
    }

    body::-webkit-scrollbar-track, .main .container-fluid::-webkit-scrollbar-track, .app-body::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px white;
        border-radius: 0.5rem;
    }

    body::-webkit-scrollbar-thumb, .main .container-fluid::-webkit-scrollbar-thumb, .app-body::-webkit-scrollbar-thumb {
        background: #a6a6a6;
        border-radius: 0.5rem;
    }

.search-container {
    display: flex;
}

/* label style custom */
label {
    padding: 0px !important; /*remove defualt padding*/
    padding-left: 2px !important;
}

/* form custom */
input {
    max-width: inherit !important;
}

.col-form-label {
    display: block;
    padding-bottom: 0px !important;
}

#divLeaseNo .col-form-label {
    display: inline-block;
}

label.disableLabel {
    min-height: 1.85rem;
    font-size: 0.8rem;
    padding: 5px 10px !important;
    border: 1px solid #f5f7f8;
    width: 100%;
    border-radius: 0.25rem;
    background: #f5f7f8;
    color: #858585;
    cursor: default;
}

.hideText {
    display: none;
}

.showText {
    display: block;
}

.textCenter {
    text-align: center !important;
}

.textRight {
    text-align: right !important;
}

.textLeft {
    text-align: left !important;
}

.width100PerTbl {
    width: 100% !important;
}

/*------Validate Boostrap Start------*/
.help-block {
    color: #dc3545 !important;
    font-size: 0.85rem;
    padding: 3px;
}

.validControl {
    /*border-color: #28a745 !important;*/
    outline: none;
}

.invalidControl {
    border-color: #dc3545 !important;
    outline: none !important;
}

.validControl:focus {
    /*border-color: #28a745 !important;*/
    outline: none;
    box-shadow: none; /*0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;*/
}

.invalidControl:focus {
    border-color: #dc3545 !important;
    outline: none !important;
    box-shadow: none !important;
}


/* Nav bar custom */
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/*-------IE Style Start-----*/

/* IE 11 and Above Style Logo */
_:-ms-fullscreen, :root .app-header .navbar-brand {
    position: static !important;
}

/*IE 11 and Above Style Card*/
_:-ms-fullscreen, :root .card-header-container {
    width: 100%;
}

_:-ms-fullscreen, :root .dt-container, .dataTable {
    overflow-x: hidden !important;
}

/* IE 11 and Above Style Main Sidebar */
@media screen and (min-width: 576px) and (max-width: 1000px) {
    _:-ms-fullscreen, :root .sidebar-fixed.sidebar-lg-show .main, .sidebar-fixed.sidebar-lg-show .app-footer {
        margin-left: 0px !important;
    }
}
/*-------IE Style END-----*/

/*Microsoft Edge Style Start*/
@supports (-ms-ime-align:auto) {
    .card-header-container {
        width: 100%;
    }
}
/*Microsoft Edge Style END*/

/* Width Control*/
input, select, textarea {
    max-width: none !important;
}

/* Margin*/
.marginTop25 {
    margin-top: 25px;
}

.marginTop15 {
    margin-top: 15px;
}

.marginBottom15 {
    margin-bottom: 15px;
}

.marginBottom20 {
    margin-bottom: 20px;
}

.marginBottom40 {
    margin-bottom: 40px;
}


.marginLeft10 {
    margin-left: 10px;
}

.marginLeft15 {
    margin-left: 15px;
}

.marginLeft22 {
    margin-left: 22px;
}

.marginTop4 {
    margin-top: 4px;
}

.marginTop5 {
    margin-top: 5px;
}

.marginTop6 {
    margin-top: 6px;
}

.marginTop20 {
    margin-top: 20px;
}

.marginTop30 {
    margin-top: 30px;
}

.marginRight5 {
    margin-right: 5px;
}

/*Padding*/
.paddingTop10 {
    padding-top: 10px;
}

.paddingTop15 {
    padding-top: 15px;
}

.paddingTop18 {
    padding-top: 18px;
}

.paddingTop25 {
    padding-top: 25px;
}

.paddingTop28 {
    padding-top: 28px;
}

.paddingTop32 {
    padding-top: 32px;
}

.paddingRight10 {
    padding-right: 10px;
}

.paddingRight30 {
    padding-right: 30px;
}

.paddingLeft10 {
    padding-left: 10px;
}

.paddingBottom30 {
    padding-bottom: 30px;
}

.paddingBottom15 {
    padding-bottom: 15px;
}

/*-----Card panel Start-----*/
.card {
    border-radius: 0.35rem;
    margin-bottom: 20px;
}

.card-header-container {
    padding: 8px 17px;
    background: #f0f3f5;
    border-bottom: #c8ced3;
    display: table;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

    .card .card-header-container,
    .card[aria-expanded] .card-header-container,
    .card-header-container[aria-expanded] {
        color: white;
        background: var(--main-color);
    }

.card-header {
    background-color: inherit !important;
    border-bottom: 0px !important;
    vertical-align: middle;
    display: table-cell;
    font-size: 0.85rem;
    font-weight: 600;
    width: 75%;
    padding: 0px;
}

.card-header-title {
    height: 100%;
    align-self: center;
}

    .card-header-title strong {
        font-size: 1rem;
        font-weight: bolder;
        align-self: baseline;
    }

.card-body {
    padding: 15px;
}
/*-----Card panel End-----*/


/*----- Defualt page title start-----*/
#pagetitle {
    position: absolute;
    z-index: 3;
    height: 35px;
    width: 100vw;
    padding: 7px 15px;
    display: table;
    margin-bottom: 20px !important;
    box-shadow: 0px 2px 5px #e4e5e6;
}

.page-title-txt {
    font-size: 1.5125rem;
}

.page-title-container {
    display: table-cell !important;
    vertical-align: middle;
}

.sidebar-fixed #pagetitle {
    position: absolute;
    top: inherit;
    width: 100% !important;
}

.sidebar .nav-dropdown-toggle::before { /* Change direction of icon side menu*/
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}
/* Side bar opened */
.sidebar-fixed.sidebar-show.sidebar-lg-show #pagetitle,
.sidebar-fixed.sidebar-lg-show #pagetitle,
.sidebar-fixed.sidebar-show #pagetitle {
    width: calc(100% - 200px) !important; /* 100% ลบขนาด side bar */
}

/* Mini-bar opened */
.sidebar-fixed.sidebar-lg-show.sidebar-minimized #pagetitle {
    width: calc(100% - 50px) !important;
}

.sidebar-show .main::before, .aside-menu-show .main::before {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1018;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.71);
    -webkit-animation: opacity 0.25s;
    animation: opacity 0.25s;
    overflow: hidden;
}

@media (min-width: 992px) {
    .sidebar-minimized .sidebar .nav > .nav-dropdown:hover {
        background: var(--main-color);
    }

    .sidebar-minimized .sidebar .nav-item:hover > .nav-link {
        background: var(--main-color);
    }
}

@media (max-width: 991px) {

    /* เมื่อเป็น Size mobile application จะงดการคำนวณขนาดของ Side bar */
    #pagetitle {
        width: 100%;
        min-width: 1366px;
    }
}

/*-----DataTable Start-----*/

/* Font color in table */
table.dataTable {
    color: var(--main-txt-color) !important;
    line-height: 1.4rem;
    margin-top: 0px !important;
}

    /* L1 table head */
    table.dataTable thead tr {
        background-color: var(--main-color) !important;
        color: var(--tbl-head-txt-color) !important;
        line-height: 1;
        font-size: 0.8rem !important;
    }

    table.dataTable thead th, table.dataTable thead td {
        border-bottom: none !important; /*1px solid #bbbdbe !important; IVL-17835 */
    }

    /* L1 stripe tag */
    table.dataTable tbody tr.odd { /*แถวคู่สีเทา*/
        height: 30px;
        background-color: var(--tbl-odd-row);
    }

    table.dataTable tbody tr.even,
    table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected { /*แถวคี่สีขาว*/
        height: 30px;
        background-color: var(--tbl-even-row);
    }

    table.dataTable tbody td {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

        table.dataTable tbody td.nowrap {
            max-width: 100px;
        }

    /* table row hover */
    table.dataTable tbody tr:hover {
        background-color: var(--tbl-row-hover);
    }

    table.dataTable tbody tr.selected {
        background-color: var(--tbl-tr-seleted) !important;
    }

    table.dataTable tbody tr.odd.trcheckbox.selected {
        background-color: var(--tbl-odd-row);
    }

    table.dataTable tbody tr.even.trcheckbox.selected {
        background-color: var(--tbl-even-row);
    }

    table.dataTable tbody tr:not([class]):hover {
        background-color: inherit;
    }

    table.dataTable > tbody > tr.selected > * {
        box-shadow: inset 0 0 0 9999px var(--tbl-tr-seleted) !important;
        box-shadow: inset 0 0 0 9999px var(--tbl-tr-seleted) !important;
        color: var(--main-txt-color);
        /*color: rgb(var(--dt-row-selected-text))*/
    }

/* L2 stripe tag */
[class^="tbl-l2"] thead tr {
    background-color: var(--main-color) !important;
    color: var(--tbl-head-txt-color) !important;
    line-height: 1;
    font-size: 0.85rem !important;
}

div.dt-scroll-body div[class^="tbl-l2"] thead tr th {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

div.dt-scroll-body div[class^="tbl-l2"] div.dt-info,
div.dt-scroll-body div[class^="tbl-l2"] div.dt-container {
    padding: 0px;
    margin : 0px !important;
}


[class^="tbl-l2"] thead tr:hover {
    background-color: var(--main-color) !important;
}

[class^="tbl-l2"] tbody tr:hover {
    background-color: var(--tbl-row-hover);
}

.dt-container, .dataTable { /* Setting ของทั้งตาราง */
    padding: 0px;
    background: var(--tbl-bg-color);
    border-bottom: none; /*1px solid #ddd !important;*/
    font-weight: 500;
    font-size: var(--tbl-txt-content-size) !important;
    margin-bottom: 10px !important;
    overflow-x: scroll;
}

    .dt-container .dt-length { /* hide page entries */
        display: none;
    }

    .dt-container .row {
        margin: 0;
    }

        .dt-container .row [class^="col-"] {
            padding: 0px;
            /*         width: auto;
            max-width: 94.5%;*/
        }

[id^="tblAmortization"].dt-container .dt-length,
[id^="tblSchedule"].dt-container .dt-length { /* hide page entries */
    display: block !important;
}

[id^="tblAmortization"].dt-container .dt-length select,
[id^="tblSchedule"].dt-container .dt-length select {
    min-width: 50px;
    margin: 0 5px;
    width: auto;
    display: inline-block;
}

.dt-container .dt-info { /* text info under table */
    font-size: var(--tbl-txt-content-size) !important;
    /*padding: 0px !important;*/
}

.dt-container .dt-paging {
    font-size: var(--pagination-txt-size) !important;
}

    .dt-container .dt-paging .dt-paging-button:focus,
    .dt-container .dt-paging .dt-paging-button:active {
        outline: none !important;
        box-shadow: none;
    }

    .dt-container .dt-paging .dt-paging-button a {
        border: none;
        padding: 0.4rem 0.7rem !important;
        font-size: var(--pagination-txt-size) !important;
        color: var(--main-color);
    }

    .dt-container .dt-paging .page-item.active .page-link {
        background-color: var(--main-color);
        color: rgba(255, 255, 255, 0.8);
    }

    .dt-container .dt-paging .dt-paging-button a:focus,
    .dt-container .dt-paging .dt-paging-button a:active {
        outline: none !important;
        box-shadow: none;
    }

/* Scrollbar in table */
.dataTables_scrollBody, .fixheader {
    border-bottom: 1px solid #ddd !important;
}

    .dataTables_scrollBody::-webkit-scrollbar,
    .fixheader::-webkit-scrollbar,
    .dt-container::-webkit-scrollbar {
        display: block;
        margin-left: 5px;
        height: 15px !important;
    }

    .dataTables_scrollBody::-webkit-scrollbar-track,
    .fixheader::-webkit-scrollbar-track,
    .dt-container::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px white;
        border-radius: 0.5rem;
    }

    .dataTables_scrollBody::-webkit-scrollbar-thumb,
    .fixheader::-webkit-scrollbar-thumb,
    .dt-container::-webkit-scrollbar-thumb {
        background: #dbdde0;
        border-radius: 0.5rem;
    }

.dt-container .dt-processing {
    width: 100px !important;
    padding: 0.5em 0 !important;
    border: none;
}

/* DataTable sorting */
table.dataTable thead th.sorting.sorting_asc {
    background-image: url("../images/DataTable/sort_asc.png") !important;
}

table.dataTable thead th.sorting.sorting_desc {
    background-image: url("../images/DataTable/sort_desc.png") !important;
}

table.dataTable thead .sorting_asc_disabled {
    background-image: url("../images/DataTable/sort_asc_disabled.png") !important;
}

table.dataTable thead .sorting_desc_disabled {
    background-image: url("../images/DataTable/sort_desc_disabled.png") !important;
}

table.dataTable thead .sorting {
    background-image: url("../images/DataTable/sort_both.png") !important;
}

/* DataTable edit control */
.dt-container #editInput.form-control {
    padding: 0.05rem 0.5rem;
    height: calc(1.4rem + 1px) !important;
}

/* DataTable select multiple rows*/
table.dataTable thead th.select-checkbox,
table.dataTable thead th.select-checkbox {
    position: relative;
}

    table.dataTable thead th.select-checkbox:before {
        content: ' ';
        margin-top: -6px;
        margin-left: -6px;
        border: 1px solid white;
        border-radius: 3px;
        display: block;
        position: absolute;
        top: 1.2em;
        left: 50%;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
    }

    table.dataTable thead th.select-checkbox.selected:after {
        content: '\2714';
        margin-top: -11px;
        margin-left: -4px;
        text-align: center;
        display: block;
        position: absolute;
        font-weight: lighter;
        font-size: 0.85rem;
        top: 1.2rem;
        left: 50%;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
    }

/* CUSTOM ONLY : Vendor table*/
/*for vendor on search*/
#tblVendor_wrapper.dt-search,
#tblVendor_wrapper.dt-search label {
    width: 100% !important;
    font-size: 0.8rem;
}

    #tblVendor_wrapper.dt-search label input {
        width: calc(100% - 50px) !important;
    }

    #tblVendor_wrapper.dt-search,
    #tblVendor_wrapper.dt-search label {
        width: 100% !important;
        font-size: 0.8rem;
    }

        #tblVendor_wrapper.dt-search label#text {
            content: "Search";
        }

        #tblVendor_wrapper.dt-search label input {
            width: calc(100% - 50px) !important;
            display: inline-block;
        }

/*for vendor on transfer*/
#tblVendor_Popup_wrapper.dt-search,
#tblVendor_Popup_wrapper.dt-search label {
    width: 100% !important;
    font-size: 0.8rem;
}

    #tblVendor_Popup_wrapper.dt-search label input {
        width: calc(100% - 50px) !important;
    }

    #tblVendor_Popup_wrapper.dt-search,
    #tblVendor_Popup_wrapper.dt-search label {
        width: 100% !important;
        font-size: 0.8rem;
    }

        #tblVendor_Popup_wrapper.dt-search label#text {
            content: "Search";
        }

        #tblVendor_Popup_wrapper.dt-search label input {
            width: calc(100% - 50px) !important;
            display: inline-block;
        }


#tblWBS_wrapper.dt-search,
#tblWBS_wrapper.dt-search label {
    width: 100% !important;
    font-size: 0.8rem;
}

    #tblWBS_wrapper.dt-search label input {
        width: calc(100% - 50px) !important;
    }

    #tblWBS_wrapper.dt-search,
    #tblWBS_wrapper.dt-search label {
        width: 100% !important;
        font-size: 0.8rem;
    }

        #tblWBS_wrapper.dt-search label#text {
            content: "Search";
        }

        #tblWBS_wrapper.dt-search label input {
            width: calc(100% - 50px) !important;
            display: inline-block;
        }



/*for userprofile team*/
#tbTeam_wrapper.dt-search,
#tbTeam_wrapper.dt-search label {
    width: 100% !important;
    font-size: 0.8rem;
}

    #tbTeam_wrapper.dt-search label input {
        width: calc(100% - 50px) !important;
    }

    #tbTeam_wrapper.dt-search,
    #tbTeam_wrapper.dt-search label {
        width: 100% !important;
        font-size: 0.8rem;
    }

        #tbTeam_wrapper.dt-search label#text {
            content: "Search";
        }

        #tbTeam_wrapper.dt-search label input {
            width: calc(100% - 50px) !important;
            display: inline-block;
        }
/*-----DataTable End-----*/


#pencilEdit {
    color: #20a8d8 !important;
}

    #pencilEdit:hover {
        color: #167495 !important;
    }

/*pagination fontsize*/
.dt-paging.paging_simple_numbers {
    font-size: 8px !important;
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: flex-end !important;
}

/*entrires fontsize*/
.dt-length {
    font-size: 0.75rem !important;
}

    /*entrires dropdown fontsize*/
    .dt-length .custom-select {
        font-size: inherit !important;
    }

/*description page fontsize*/
.dt-info {
    font-size: 10px !important;
}
.table.dataTable.stripe > tbody > tr:nth-child(odd) > *, table.dataTable.display > tbody > tr:nth-child(odd) > * {
    box-shadow: none !important;
    /*IVL-17758*/
}
/*Search Filter*/
.dt-search {
    font-size: 0.8rem !important;
    text-align: left !important;
    display: flex !important;
    align-items: baseline !important;
}

table.dataTable tbody tr:nth-child(odd):not([data-dt-row]) {
    background-color: #f4f4f4;
}

table.dataTable tbody tr:nth-child(even):not([data-dt-row]) {
    background-color: #e8e8e8;
}

table.dataTable tbody tr:nth-child(odd):not([data-dt-row]):hover,
table.dataTable tbody tr:nth-child(even):not([data-dt-row]):hover {
    background-color: #c6c6c6;
}

div.dt-container div.dt-search input {
    margin-left: .5em;
    display: inline-block;
}
/* บังคับให้ column ที่ DataTables สร้าง (col-md-auto me-auto) กลับมาเป็น full width */
.dt-layout-row > .col-md-auto {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
/* เอา me-auto ออก เพื่อไม่ให้ดัน content */
.dt-layout-row > .me-auto {
    margin-right: 0 !important;
} .dt-container .dt-paging .dt-paging-button {
    color: transparent !important;
    margin-left: 0px;
    padding: 0em !important;
    border: 0px !important;
    border-radius: 0px;
}
/* บังคับ search bar ให้เต็มแถว */
/*.dt-search {
    width: 100% !important;
}*/
.dt-search input {
    width: 100% !important;
    margin-bottom: .5em;
} .dt-container .dt-paging .dt-paging-button {
    color: transparent !important;
    margin-left: 0px;
    padding: 0em !important;
    border: 0px;
    border-radius: 0px;
} .dt-container .dt-paging .dt-paging-button:hover {
        color: transparent !important;
        background: none;
        border: 0px;
        border-radius: 0px;
    }
/*-----DataTable END-----*/
/*-----Jquery-ui Start-----*/
.ui-icon, .ui-widget-content .ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_444444_256x240.png") !important;
} .ui-widget-header .ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_444444_256x240.png") !important;
} .ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-button:hover .ui-icon, .ui-button:focus .ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_555555_256x240.png") !important;
} .ui-state-active .ui-icon, .ui-button:active .ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_ffffff_256x240.png") !important;
} .ui-state-highlight .ui-icon, .ui-button .ui-state-highlight.ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_777620_256x240.png") !important;
} .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_cc0000_256x240.png") !important;
} .ui-button .ui-icon {
    background-image: url("../images/Jquery-ui/ui-icons_777777_256x240.png") !important;
}
/*-----Jquery-ui END-----*/
/*Button Style*/
.btn {
    font-size: 0.8rem;
} .btn.focus, .btn.focus:focus, .btn:focus {
        outline: none !important;
        box-shadow: none !important;
    } .btn:disabled, .btn.disabled {
        cursor: default !important;
    } .btn-primary.disabled, .btn-primary:disabled {
    color: white;
    background-color: var(--btn-disabled) !important;
    border-color: var(--btn-disabled);
} .btn-primary:not(.disabled), .btn-primary:not(:disabled) {
    border: var(--main-color);
    background-color: var(--main-color);
} .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {
        color: white;
        opacity: 0.9;
        background-color: var(--btn-active);
        border-color: var(--btn-active);
    } .btn-main {
    font-size: 0.85rem;
    min-width: 100px;
} .btn-main i {
        margin: 0;
    } .btn-main:not(:disabled):not(.disabled) {
        color: white;
        background-color: var(--main-color);
        border-color: var(--main-color);
    } .btn-main:not(:disabled):not(.disabled):active, .btn-main:not(:disabled):not(.disabled).active, .show > .btn-main.dropdown-toggle {
            color: white;
            background-color: var(--main-color);
            border-color: var(--main-color);
        } .btn-main:not(:disabled):not(.disabled):focus, .btn-main.focus {
            outline: none;
            box-shadow: none;
        } .btn-main:not(:disabled):not(.disabled):hover {
            color: white;
            opacity: 0.8;
        } .btn-main:disabled, .btn-main.disabled, .btn-main:disabled:hover, .btn-main.disabled:hover {
        color: white;
        background-color: var(--btn-disabled);
        border-color: var(--btn-disabled);
        cursor: default;
    } #btnNext.btn-main:not(:disabled):not(.disabled) {
    font-size: 0.95rem;
    font-weight: bolder;
} #btnNext.btn-main:disabled, #btnNext.btn-main.disabled {
    color: #000;
    font-size: 0.95rem;
    font-weight: bolder;
} .btn-cancel {
    min-width: 100px;
    color: white;
    background-color: var(--btn-cancel-bg);
    border-color: var(--btn-cancel-bg);
} .btn-cancel:not(:disabled):not(.disabled):active, .btn-cancel:not(:disabled):not(.disabled).active, .show > .btn-cancel.dropdown-toggle {
        color: white;
        background-color: var(--btn-cancel-bg);
        border-color: var(--btn-cancel-bg);
    } .btn-cancel:focus, .btn-main.focus {
        outline: none;
        box-shadow: none;
    } .btn-cancel:hover {
        color: white;
        background-color: var(--btn-cancel-hover);
        border-color: var(--btn-cancel-hover);
    } .btn-topmenu {
    min-width: 130px;
    width: max-content;
    padding: 0.5rem 0.75rem 0.2rem 0.75rem;
} .btn-topmenu:not(:disabled):not(.disabled) {
        color: var(--main-txt-color);
        font-weight: 600;
        background-color: transparent;
        border-color: transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    } .btn-topmenu:not(:disabled):not(.disabled):active {
            background-color: #dddddd8c;
            border-radius: 0.35rem;
        } .btn-topmenu:not(:disabled):not(.disabled):hover {
            background-color: #dddddd8c;
            border-radius: 0.35rem;
            box-shadow: 0px 1px 3px #b2c1c4;
        } .btn-topmenu:not(:disabled):not(.disabled) .btn-topmenu-img {
            color: white;
        } .btn-topmenu:not(:disabled):not(.disabled).light .btn-topmenu-img {
            background: var(--main-color);
        } .btn-topmenu:not(:disabled):not(.disabled).dark .btn-topmenu-img {
            background: var(--main-gray-color);
        } .btn-topmenu:disabled, .btn-topmenu.disabled {
        background-color: transparent;
        border-color: transparent;
        /*border:0px;  IVL-16414*/
    } .btn-topmenu:disabled:hover, .btn-topmenu.disabled:hover {
            cursor: default;
        } .btn-topmenu-img {
    height: 40px !important;
    width: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-height: 40px;
    max-width: 40px;
    border-radius: 50%;
    padding-top: 1px;
    margin: auto;
} .btn-topmenu-img img {
        width: calc(100% - 10px);
        margin: 5px 0;
        vertical-align: -webkit-baseline-middle;
    } .btn-topmenu:disabled .btn-topmenu-img, .btn-topmenu.disabled .btn-topmenu-img {
    background: #aaa;
} .btn-topmenu:disabled .btn-topmenu-img i, .btn-topmenu.disabled .btn-topmenu-img i {
        color: black;
        font-weight: bolder;
    } .btn-topmenu-title {
    color: var(--main-color);
    line-height: 1;
    margin-bottom: 15px;
    font-size: 1rem;
    padding-left: 10px;
    overflow: visible;
    white-space: nowrap;
    display: table-header-group;
    text-align: left;
} .btn-topmenu:disabled .btn-topmenu-title, .btn-topmenu.disabled .btn-topmenu-title {
    color: #96999a;
} .btn-topmenu-subtitle {
    font-size: 0.9rem;
    color: var(--main-gray-color);
    font-weight: bolder;
    text-align: left;
} .btn-green {
    color: white;
    background-color: #17968c;
    border-color: #17968c;
} .btn-green:not(:disabled):not(.disabled):active, .btn-green:not(:disabled):not(.disabled).active, .show > .btn-green.dropdown-toggle {
        color: white;
        background-color: #0c7068;
        border-color: #0c7068;
    } .btn-green:focus, .btn-green.focus {
        box-shadow: 0 0 0 0.2rem rgba(48, 206, 104, 0.5);
    } .btn-green:hover {
        color: white;
        background-color: #169e94;
        border-color: #1bc5b9;
    } .btn-gray {
    background: #414141;
    color: white;
} .btn-gray:focus, .btn-gray.focus {
        box-shadow: 0 0 0 0.2rem rgba(74, 74, 74, 0.42);
    } .btn-gray:hover {
        color: white;
        background-color: #585858;
        border-color: #585858;
    }
/*******************************************************/
.btn-search:not(:disabled):not(.disabled) {
    color: var(--main-txt-color);
    font-weight: 600;
    margin: auto 5px;
    padding: 0px 5px;
    min-width: 130px;
    height: 47px;
    width: max-content;
    background-color: var(--main-color);
    box-shadow: none;
    border-radius: 5rem;
    border-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
} .btn-search:not(:disabled):not(.disabled):hover {
        opacity: 0.8;
    } .btn-search:not(:disabled):not(.disabled):focus {
        box-shadow: none;
        outline: none;
    } .btn-search:not(:disabled):not(.disabled) .btn-search-img i {
        color: white;
    } .btn-search:disabled, .btn-search.disabled {
    background-color: #96999a;
} .btn-search:disabled:hover, .btn-search.disabled:hover {
        cursor: default;
    } .btn-search-img {
    height: 40px !important;
    width: 40px !important;
    max-height: 40px;
    border-radius: 50%;
    padding-top: 1px;
    margin: auto;
} .btn-search-img img {
        width: calc(100% - 5px);
        margin: 5px 0;
        vertical-align: -webkit-baseline-middle;
    } .btn-search-title {
    color: white;
    line-height: 1;
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding-left: 10px;
    overflow: visible;
    white-space: nowrap;
    display: table-header-group;
} .btn-search-subtitle {
    font-size: 0.85rem;
    color: white;
    font-weight: bolder;
}
/******************************************************/
.btn-transparent {
    color: var(--main-txt-color);
    font-size: 1rem;
    font-weight: 600;
    background-color: transparent;
    border-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
} .btn-transparent:not(:disabled):hover {
        color: #3ab8cc;
        font-weight: 600;
    } .btn-transparent:not(:disabled):focus {
        box-shadow: none;
        outline: none;
    } .btn-transparent:disabled:hover {
        color: inherit;
    } .btn-v-of-lease {
    color: var(--main-gray-color);
    background: var(--btn-v-of-lease);
    padding: 3px 11px;
    font-weight: bolder;
    font-size: 0.95rem;
    margin: 0 5px;
} .btn-v-of-lease:hover {
        /*opacity: 0.8;*/
        color: var(--main-gray-color);
        background-color: var(--btn-v-of-lease);
    } .btn-latest-lease {
    color: white;
    background: var(--main-color);
    padding: 3px 11px;
    font-weight: bolder;
    font-size: 0.95rem;
    margin: 0 5px;
} .btn-latest-lease:hover {
        /*opacity: 0.8;*/
        color: black;
        background-color: var(--main-color);
    }
/* Bootstrap dropdown select */
.bootstrap-select.btn-dropdown-light {
    color: #212529;
    background-color: white;
    border-color: #c7c7c7;
} .btn-dropdown-light:disabled button .filter-option, .btn-dropdown-light.disabled button .filter-option {
    background: #f5f7f8 !important;
    border: 1px solid #f5f7f8 !important;
    color: var(--main-txt-color) !important;
} .dropdown-item:active, .dropdown-item.selected.active {
    background-color: var(--main-color);
}
/*----  Checkbox custom start ----*/
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--custom-checkbox);
} .custom-checkbox .custom-control-input:active ~ .custom-control-label::before {
    color: white;
    background-color: var(--custom-checkbox);
}
/*---- Radio custom start ----*/
.custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    background-color: transparent;
    border: 3px solid var(--main-color);
} .custom-radio .custom-control-input:not(:checked) ~ .custom-control-label::before {
    background-color: transparent;
    border: 3px solid var(--main-color);
} .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--custom-checkbox);
} .custom-control-label::before {
    top: 0.2rem;
    left: -1.45rem;
    width: 1.2rem;
    height: 1.2rem;
} .custom-control-input:focus, .custom-control-input:focus ~ .custom-control-label::before {
    outline: none;
    box-shadow: none;
} .custom-control-label::after {
    width: 1.3rem;
    height: 1.3rem;
    top: 0.15rem;
    left: -1.5rem;
    background-size: 55% 72%;
} .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: var(--radio-color-url);
}
/*---- Datepicker color custom ----*/
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid var(--main-color) !important;
    background: var(--main-color) !important;
    font-weight: normal;
    color: white !important;
} .ui-state-highlight:not(.ui-state-active), .ui-widget-content .ui-state-highlight:not(.ui-state-active), .ui-widget-header .ui-state-highlight:not(.ui-state-active) {
    border: 1px solid #c5c5c5 !important;
    color: var(--main-color) !important;
    background: #f6f6f6 !important;
} .ui-datepicker-month > option:hover, .ui-datepicker-month > option.selected, .ui-datepicker-year > option:hover, .ui-datepicker-year > option.selected {
    color: white;
    background: var(--main-color) !important;
}
/*UnderLine*/
.underLine {
    text-decoration: underline !important;
}
/*Font color*/
.colorWhite {
    color: white !important;
} .colorRed {
    color: var(--btn-cancel-bg) !important;
} .colorYellow {
    color: yellow !important;
} .color-warning {
    color: #FBAB18;
} .colorGreen {
    color: #0ea588 !important;
} .colorBlue { /* Code สีเดิมเป็นสีเทา แต่ชื่อคลาสเป็นสีน้ำเงิน??? แล้วมีเรียกไปใช้หลายหน้า เปลี่ยนไม่ได้ | กวางสงสัย */
    color: var(--main-txt-color) !important;
} .colorGray {
    color: #878787 !important;
} .colorOrange {
    color: #f4aa06 !important;
} .cursorPointer {
    cursor: pointer;
}
/* form control custom start */
.form-control {
    padding: 0.2rem 0.5rem;
    height: calc(1.9rem + 1px) !important;
} .form-control:focus {
        color: #5c6873;
        background-color: white;
        border-color: var(--main-color);
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 151, 169, 0.1);
    } .form-control.disabled {
        font-family: Bai Jamjuree, serif, Sans-serif, cursive, fantasy, monospace;
        font-weight: 500;
        border-radius: 0.35rem;
        background-color: var(--control-disabled);
        opacity: 0.8;
    }
/* Popover custom start */
.form-control .popover {
        font-family: Bai Jamjuree, serif, Sans-serif, cursive, fantasy, monospace;
        font-weight: 500;
        max-width: 320px !important;
        border-radius: 0.35rem;
        background-color: var(--tooltip-bg-color);
        opacity: 0.8;
    } .popover .popover-header {
    border-top-left-radius: calc(0.85rem - 1px) !important;
    border-top-right-radius: calc(0.85rem - 1px) !important;
    padding: 10px 15px;
    background-color: var(--tooltip-bg-color);
}
/*.popover .popover-body {
    padding: 10px 15px;
    background-color: var(--tooltip-bg-color);
}*/
.popover.bs-popover-top .arrow::after, .bs-popover-auto[data-popper-placement^="top"] .arrow::after {
    border-top-color: var(--tooltip-bg-color) /*#f8f8f8*/;
} .popover.bs-popover-right .arrow::after, .bs-popover-auto[x-placement^="right"] .arrow::after {
    border-right-color: var(--tooltip-bg-color) /*#f8f8f8*/;
} .popover.bs-popover-bottom .arrow::after, .bs-popover-auto[x-placement^="bottom"] .arrow::after {
    border-bottom-color: var(--tooltip-bg-color) /*#f8f8f8*/;
} .popover.bs-popover-left .arrow::after, .bs-popover-auto[x-placement^="left"] .arrow::after {
    border-left-color: var(--tooltip-bg-color) /*#f8f8f8*/;
}
/*Tooltip BS 5 Start*/
.bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after, .bs-popover-top > .popover-arrow::after {
    border-top-color: var(--tooltip-bg-color);
} .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after, .bs-popover-right > .popover-arrow::after {
    border-top-color: var(--tooltip-bg-color);
} .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after, .bs-popover-bottom > .popover-arrow::after {
    border-top-color: var(--tooltip-bg-color);
} .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after, .bs-popover-left > .popover-arrow::after {
    border-top-color: var(--tooltip-bg-color);
}
/*Tooltip BS 5 END*/
/* Tooltip custom start */
.tooltip .tooltip-inner {
    padding: 10px;
    background-color: var(--tooltip-bg-color);
    color: var(--tooltip-font-color);
    font-weight: bolder;
    font-size: 0.9rem;
} .tooltip.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: var(--tooltip-bg-color);
} .tooltip.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: var(--tooltip-bg-color);
} .tooltip.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: var(--tooltip-bg-color);
} .tooltip.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: var(--tooltip-bg-color);
}
/* Tooltip in td */
td[title] {
    position: relative;
} td[title]:hover:before {
        opacity: 0;
    } td[title]:before {
        opacity: 0;
        content: attr(title);
        position: absolute;
        top: 30px;
        right: -90px;
        padding: 12px;
        color: var(--tooltip-font-color);
        font-size: 0.75rem;
        background-color: var(--tooltip-bg-color);
        border-radius: 0.35rem;
        width: 150px;
        pointer-events: none;
    } #tooltipTb {
    position: absolute;
    z-index: 1001;
    display: none;
    border: 0px solid #ebebeb;
    border-radius: 5px;
    padding: 10px;
    background-color: var(--tooltip-bg-color);
    color: var(--tooltip-font-color);
    max-width: 250px;
    min-width: 250px;
    word-break: break-word;
    white-space: initial;
}
/*Label popover*/
label a.popoverToggle {
    text-decoration: none !important;
    color: inherit !important;
} label a.popoverToggle:hover {
        text-decoration: none !important;
        color: inherit !important;
    } label a.popoverToggle:focus {
        text-decoration: none !important;
        color: inherit !important;
        outline: none;
        box-shadow: none;
    }
/*Label Validate*/
.lblValidate::after {
    content: " *";
    color: red;
}
/*Remove * Label have class disableLabel using label name dupilcate*/
.disableLabel::after {
    content: none !important;
}
/*Loading Start*/
#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 0.7;
    background-color: white;
    z-index: 9998;
    text-align: center;
} #loading-image {
    position: absolute;
    z-index: 9999;
    max-height: 100%;
    max-width: 100%;
    left: 49%;
    margin-left: -50px;
    top: 50%;
    margin-top: -50px;
}
/*Loading END*/
/*Font Awesome Icon LeftMenu Style */
@media (min-width: 992px) {
    .sidebar-minimized .sidebar .nav-link .fa {
        display: block;
        float: left;
        width: 50px;
        text-align: center;
    }
} .sidebar .nav-link i {
    color: var(--link-icon) !important;
} .sidebar .nav-link.active, .sidebar .nav-link.active i {
    color: var(--main-color) !important;
    background-color: transparent;
} .sidebar .nav-link:hover {
    color: var(--link-icon-hover) !important;
    background-color: var(--main-color) !important;
} .sidebar .nav-link:hover i {
        color: var(--link-icon-hover) !important;
    } .sidebar .nav-dropdown > ul.nav-dropdown-items {
    margin-left: 20px;
    font-size: 0.8rem;
    font-weight: bold;
} .sidebar .nav-dropdown > ul.nav-dropdown-items a:hover, .sidebar .nav-dropdown > ul.nav-dropdown-items a:hover i {
        background-color: transparent !important;
        color: var(--main-color) !important;
    } .sidebar-minimized .nav-dropdown > ul.nav-dropdown-items {
    margin-left: 0px;
}
/*Font Awesome Icon LeftMenu Style */
/*btn-light เป็นปุ่มที่ dropdown bootstrap สร้างขึ้นมา*/
.btn-light {
    background-color: white !important;
    border-color: #c7c7c7;
} .btn-light:hover {
        background-color: white !important;
    } .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle {
        background-color: white !important;
    } .height75 {
    min-height: 75px !important;
    height: auto !important;
} .noResize {
    resize: none;
} .hideScroll {
    overflow: hidden;
}
/*Editor Datatable HideLabel Start*/
div.DTE_Field:after {
    display: block;
    content: ".";
    height: 0;
    line-height: 0;
    clear: both;
    visibility: hidden;
} div.DTE_Inline div.DTE_Field {
    width: 100%;
} div.DTE_Inline div.DTE_Field > div {
        width: 100%;
        padding: 0;
    } div.DTE_Inline div.DTE_Field label {
        display: none;
    } div.DTE_Inline div.DTE_Field input {
        width: 100%;
        color: black;
    } div.DTE_Inline div.DTE_Field div.help-block {
        display: none;
    } div.DTE_Bubble {
    position: absolute;
    z-index: 11;
    margin-top: -6px;
    opacity: 0;
} div.DTE_Bubble div.DTE_Bubble_Liner {
        position: absolute;
        bottom: 0;
        width: 300px;
        margin-left: -150px;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        border-radius: 6px;
        padding: 0 0 0.5em 0;
        border: 1px solid rgba(0, 0, 0, 0.2);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table {
            display: table;
            width: 100%;
        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form {
                display: table-cell;
            } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content {
                    padding: 0;
                } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content div.DTE_Field {
                        position: relative;
                        zoom: 1;
                        margin-bottom: 0.5em;
                    } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content div.DTE_Field:last-child {
                            margin-bottom: 0;
                        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content div.DTE_Field label, div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content div.DTE_Field > div {
                            width: 100%;
                            float: none;
                            clear: both;
                            text-align: left;
                        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content div.DTE_Field label {
                            padding-bottom: 4px;
                        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Table div.DTE_Form_Buttons {
                display: table-cell;
                vertical-align: bottom;
                padding: 0 1em 0.75em 0.75em;
                width: 1%;
            } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Header {
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
            background-color: #f7f7f7;
            border-bottom: 1px solid #ebebeb;
            font-size: 14px;
            width: 100%;
        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Form_Error {
            float: none;
            display: none;
            padding: 0;
            margin-bottom: 0.5em;
        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Close {
            position: absolute;
            top: -11px;
            right: -11px;
            width: 22px;
            height: 22px;
            border: 2px solid white;
            background-color: black;
            text-align: center;
            border-radius: 15px;
            cursor: pointer;
            *cursor: hand;
            z-index: 12;
            box-shadow: 2px 2px 6px #111;
        } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Close:after {
                content: '\00d7';
                color: white;
                font-weight: bold;
                font-size: 18px;
                line-height: 18px;
            } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Close:hover {
                background-color: #092079;
                box-shadow: 2px 2px 9px #111;
            } div.DTE_Bubble div.DTE_Bubble_Liner div.DTE_Bubble_Close:after {
                margin-top: -2px;
                display: block;
            } div.DTE_Bubble div.DTE_Bubble_Triangle {
        position: absolute;
        height: 10px;
        width: 10px;
        top: -6px;
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-top: none;
        border-right: none;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    } div.DTE_Bubble_Background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.05);
}
/*Editor Datatable HideLabel End*/
/* Bootstrap carosu carousel */
#outer {
    float: left;
    width: 500px;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
} #left-button {
    float: left;
    width: 30px;
    text-align: center;
} #right-button {
    float: left;
    width: 30px;
    text-align: center;
} #inner:first-child {
    margin-left: 0;
}
/*label {
    margin-left: 10px;
}*/
.hide {
    display: none;
}
/*.bstimeslider {
    width: 500px;
    height: 30px;
    background: transparent;
    position: relative;
}

.bktibx {
    float: left;
    margin: 0 40px 0 0;
    font-size: 18px;
    width: 60px;
    display: block;
    background: #000;
    color: white;
}

#tslshow {
    position: absolute;
    left: 0;
    width: 1200px;
}

#leftArrow {
    width: 40px;
    height: inherit;
    background: #ff0000;
    position: absolute;
    left: 0px;
}

#rightArrow {
    width: 40px;
    height: inherit;
    background: #ff0000;
    position: absolute;
    right: 0px;
    z-index: 1;
}

#viewContainer {
    width: 500px;
    height: 100%;
    position: absolute;
    left: 0;
    margin-left: 0;
    overflow: hidden;
}*/
/*.multi-item-carousel .carousel-inner > .item {
    transition: 0.6s ease-in-out all;
}

.multi-item-carousel .carousel-inner .active.left {
    left: -33%;
}

.multi-item-carousel .carousel-inner .active.right {
    left: 33%;
}

.multi-item-carousel .carousel-inner .next {
    left: 33%;
}

.multi-item-carousel .carousel-inner .prev {
    left: -33%;
}

.multi-item-carousel .carouse-control.left,
.multi-item-carousel .carouse-control.right {
    background-image: none;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .multi-item-carousel .carousel-inner > .item {
        transition: 0.6s ease-in-out all;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
        -webkit-perspective: none;
        -webkit-transform: none !important;
        transform: none !important;
    }
}*/
/* Bootstrap carosu carousel */
/*Style Lease Add Start*/
.sizeAdd {
    font-size: 28px !important;
} .colorAdd {
    color: var(--main-color) !important;
} .colorAdd:hover {
        color: (--main-color-opacity08);
    } .colorBGRow {
    background-color: #d9d9d9 !important;
} .colorBGRow label {
        padding: 5px 10px !important;
    } .colorFontRow {
    color: #0070c0;
}
/*Style Lease Add END*/
/*disable ddl for similar label*/
.disbledControl, .disbledControl:hover, .disbledControl:active {
    background-color: #f0f3f5 !important;
    border-color: none !important;
    cursor: context-menu !important;
}
/*** Custom Checkbox **/
.checkbox label:after, .radio label:after {
    content: '';
    display: table;
    clear: both;
} .checkbox {
    margin: auto !important;
    vertical-align: middle !important;
    display: inline-grid !important;
    text-align: center !important;
} .checkbox label {
        margin: auto !important;
        margin-bottom: 0px !important;
    } .checkbox .cr {
        position: relative;
        display: inline-block;
        border: 1px solid #a9a9a9;
        border-radius: .25em;
        width: 1.3em;
        height: 1.3em;
        float: left;
    } .radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
} .radio .cr {
    border-radius: 50%;
} .checkbox .cr .cr-icon, .radio .cr .cr-icon {
        position: absolute;
        font-size: .8em;
        line-height: 0;
        top: 50%;
        left: 20%;
    } .radio .cr .cr-icon {
        margin-left: 0.04em;
    } .checkbox label input[type="checkbox"], .radio label input[type="radio"] {
    display: none;
} .checkbox label input[type="checkbox"] + .cr > .cr-icon, .radio label input[type="radio"] + .cr > .cr-icon {
        transform: scale(3) rotateZ(-20deg);
        opacity: 0;
        transition: all .3s ease-in;
    } .checkbox label input[type="checkbox"]:checked + .cr > .cr-icon, .radio label input[type="radio"]:checked + .cr > .cr-icon {
        transform: scale(1) rotateZ(0deg);
        opacity: 1;
    } .checkbox label input[type="checkbox"]:disabled + .cr, .radio label input[type="radio"]:disabled + .cr {
        opacity: .5;
    }
/*** Custom Checkbox end ***/
/*แว่นขยายในtextbox หน้า Search*/
.search-input-box {
    height: 2.3rem;
    border: 1px solid #e4e4e4;
    background-color: white;
} .search-input input#SearchLease {
    border: none;
    height: 100% !important;
    background: inherit;
    position: relative;
} .search-input input#SearchLease:focus {
        outline: none;
        box-shadow: none;
    } .search-input-btn {
    text-align: right;
} .search-input-btn .btn, .search-input-btn .btn:active {
        height: 100% !important;
        color: var(--main-color);
        padding: 0px 8px 5px 0px;
    } .search-input-btn .btn:hover, .search-input-btn .btn:focus {
            height: 100% !important;
            color: var(--main-gray-color);
            padding: 0px 8px 4px 0px;
        }
/*เปลี่ยน Text สีแดง*/
.textRed {
    color: red !important;
}
/*ใช้กับ Master*/
.rectangleBox {
    background-color: white;
    border-radius: 0.35rem;
    padding-top: 10px;
    padding-bottom: 10px;
} .linkText {
    color: var(--main-color) !important;
    text-decoration: underline !important;
}
/*set bg-color can edit cell*/
.color-Edit {
    background-color: var(--tbl-edit-cell); /*#d9d9d9;*/
    background-clip: content-box, padding-box;
    outline-offset: -8px;
    outline: solid 1.5px #c7c7c7;
    min-height: 45px !important;
    height: 45px !important;
    max-height: 45px !important;
}
/*set bg-color validate cell*/
.color-Validate {
    background-color: #fdc3c3;
    background-clip: content-box, padding-box;
} .min-width150 {
    min-width: 150px;
}
/*Set max width of each column.*/
.max-width250 {
    max-width: 250px;
} .max-width300 {
    max-width: 300px;
}
/*Set position top checked multiSelect dropdown*/
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    top: 11px !important;
} @media screen and (min-width: 100px) and (max-width: 575px) {
    body .app-body {
        margin-bottom: 20px !important;
    }

    .login-bg {
        overflow: auto;
    }

    .login-logo {
        width: 80%;
    }

    .login-card-container {
        margin-top: 70px;
    }

    #loading-image {
        height: 40px;
    }
} @media screen and (min-width: 576px) and (max-width: 768px) {
    body .app-body {
        margin-bottom: 20px !important;
    }

    .login-logo {
        width: 80%;
    }

    .login-card-container {
        margin-top: 100px;
    }

    /*-----Upload Style Start-----*/
    #ulImg {
        min-height: 200px !important;
        border-style: dashed;
    }
    /*-----Upload Style END-----*/

    #loading-image {
        height: 50px;
    }
} @media screen and (min-width: 576px) and (max-width: 1000px) {
    body .app-body {
        margin-bottom: 20px !important;
    }

    .login-logo {
        width: 80%;
    }

    /*-----Upload Style Start-----*/
    #ulImg {
        min-height: 200px !important;
        border-style: dashed;
    }
    /*-----Upload Style END-----*/

    #loading-image {
        height: 50px;
    }
} @media screen and (min-width: 1001px) and (max-width: 1478px) {
    _:-ms-fullscreen, :root .modi-step-text .modi-step-title {
        font-size: 1.1rem;
        font-weight: 600;
        line-height: 1.2;
    }
} @media screen and (min-width: 1001px) and (max-width: 1365px) {
    body .app-body {
        margin-bottom: 20px !important;
    }

    #loading-image {
        height: 70px;
    }
} @media screen and (min-width: 1366px) and (max-width: 1920px) {
    /*-----Upload Style Start-----*/
    #ulImg {
        min-height: 300px !important;
        border-style: dashed;
    }
    /*-----Upload Style END-----*/

    #loading-image {
        height: 100px;
    }
} @media screen and (min-width: 1366px) and (max-width: 1599px) {
} @media screen and (min-width: 1600px) and (max-width: 1920px) {
}
/**** Custom dropdown search control ****/
.popup-search-btn {
    display: flex;
    position: relative;
    width: 100%;
    min-height: 32px;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #c7c7c7;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
} .popup-search-btn i {
        color: var(--txt-medium);
        position: absolute;
        top: 0.5rem;
        right: 0.75rem;
        font-size: 0.85rem;
    } .popup-text-value {
    font-size: 0.8rem;
    font-weight: 100;
    color: #999;
    width: 97%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
} .popup-search-btn.disabled {
    cursor: default !important;
    background-color: var(--control-disabled);
    border: 1px solid var(--control-disabled);
} table {
    min-width: 100%;
}
/*data preview ใน Dropzone ไม่ให้ทับ Page title */
.dz-image, .dz-details, .dropzone .dz-preview, .dz-preview.dz-file-preview.dz-processing.dz-sucess.dz-complete, .dz-preview.dz-file-preview.dz-error.dz-complete {
    z-index: 1 !important;
} .form-control:disabled, .form-control[readonly] {
    background-color: #f5f7f8;
    border-color: #f5f7f8;
} .form-control {
    border: 1px solid #c7c7c7;
} .btn-light:hover {
    border-color: #c7c7c7;
} .custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(32, 37, 31, 0.5);
} .dropdown-item.active, .dropdown-item:active {
    background-color: var(--main-color);
}
/*Radio Modification StandAlonePrice*/
.custom-radio .custom-control-input.rdoDisabled:disabled:checked ~ .custom-control-label::before {
    background: #e9e8e8 !important;
} .custom-radio .custom-control-input.rdoDisabled ~ .custom-control-label::before {
    border: 3px solid #999999 !important
} .custom-radio .custom-control-input:checked.rdoDisabled ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgb(153, 153, 153)'/%3E%3C/svg%3E") !important;
}
/*Radio Create IspurchaseOption*/
.custom-radio .custom-control-input.rdoDisabled-purchase:disabled:checked ~ .custom-control-label::before {
    background: #e9e8e8 !important;
} .custom-radio .custom-control-input.rdoDisabled-purchase ~ .custom-control-label::before {
    border: 3px solid #999999 !important
} .custom-radio .custom-control-input:checked.rdoDisabled-purchase ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgb(153, 153, 153)'/%3E%3C/svg%3E") !important;
} .custom-control-input.rdoDisabled-purchase:disabled ~ .custom-control-label {
    color: var(--main-txt-color);
}
/*style auto complete scrollbar*/
.ui-autocomplete {
    max-height: 150px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
} th {
    line-height: normal;
} .square-shape {
    background: #3d3d3d;
    max-width: 100%;
    height: 100px;
    /*margin-left: 20%;*/
    border-radius: 1em;
    -webkit-box-shadow: 0 0 10px #000000;
    cursor: pointer;
} .square-shape:not(.disabled):hover {
        background: #3fbbc4;
        border-radius: 1em;
        cursor: pointer;
    } .font-square {
    margin-top: 5%;
} .icon-square {
    margin-top: 5%;
    font-size: 30px;
} .marginLeft38 {
    margin-left: 38%;
} #divUF.disabled {
    background-color: gray;
    border-radius: 1em;
    cursor: auto;
} .heightULCard {
    height: 430px;
} .heightULCard-530 {
    height: 530px;
} .bootstrap-select > select.mobile-device:focus + .dropdown-toggle, .bootstrap-select .dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 151 169 / 10%) !important;
} .min-width-200 {
    min-width: 200px;
} .font-red {
    color: red;
} .font-red:hover {
     color: red;
}

