/* Thin & Thin Italic (Weight: 100) */
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* Light & Light Italic (Weight: 300) */
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Regular & Italic (Weight: 400) */
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Bold & Bold Italic (Weight: 700) */
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Black & Black Italic (Weight: 900) */
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato/Lato-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

body, html, p, h1, h2, h3, h4, h5, h6, input, button, select, textarea, .e-grid {
    font-family: "Lato", "Helvetica Neue", Helvetica, "Inter", sans-serif !important;
}
.dt-container.dt-bootstrap5 table th , .dt-container.dt-bootstrap5 table td , .dt-container.dt-bootstrap5 table td a
{
    font-size: 15px;
}

@media (max-width:768px){

.container-fluid{
    padding-left:12px;
    padding-right:12px;
}

.toolbar{
    padding-top:6px;
    padding-bottom:6px;
}

.page-title h1{
    font-size:18px;
}

}
.menu-header-bg{
	background-image: url("/static/assets/media/misc/menu-header-bg.jpg");
}
.swal2-html-container{
	margin-top: 1px !important;
}
.avatars-blank-bg{
	background-image: url("/static/assets/media/svg/avatars/blank.svg");
}
.image-input-bg{
	background-image: url("/static/assets/media/avatars/300-1.jpg");
}
.w-63{
	width: 63% !important;
}
.switch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.1rem;
}
#kt_aside {
    background-color: #ffffff !important;
}
.data-table-header tr:first-child th .dt-orderable-asc .dt-orderable-desc {
    display: none;
}

.dataTables_pager {
    display: flex !important;
    justify-content: end !important;
}

.dataTables_pager div select {
    margin-top: 13px;
}

.modal .modal-dialog-aside {
    width: 444px;
    max-width: 80%;
    height: 100%;
    margin: 0;
    transform: translate(0);
    transition: transform .2s;
}

.modal .modal-dialog-aside .modal-content {
    height: inherit;
    border: 0;
    border-radius: 0;
}

.modal .modal-dialog-aside .modal-content .modal-body {
    overflow-y: auto
}

.modal.fixed-left .modal-dialog-aside {
    margin-left: auto;
    transform: translateX(100%);
}

.modal.fixed-right .modal-dialog-aside {
    margin-right: auto;
    transform: translateX(-100%);
}

.modal.show .modal-dialog-aside {
    transform: translateX(0);
}

.valid-password {
    color: green;
}

.invalid-password {
    color: red;
}

.input-group-text {
    cursor: pointer;
}

.progress-bar.bg-danger {
    background-color: #dc3545;
}

.progress-bar.bg-warning {
    background-color: #ffc107;
}

.progress-bar.bg-success {
    background-color: #28a745 !important;
}

.strong-password-success {
    color: green;
}

/* Tree view css */
.k-checkbox.k-state-indeterminate,
.k-checkbox:indeterminate {
    color: #3c3b90 !important;
}

.k-checkbox {
    color: #3c3b90 !important;
    margin-right: 10px !important;
}

.k-checkbox:checked {
    color: #3c3b90 !important;
}

.k-checkbox:hover {
    color: #3c3b90 !important;
}

.k-checkbox:checked:focus {
    border-color: #3c3b90 !important;
}

.k-checkbox:focus {
    border-color: #3c3b90 !important;
}

.k-treeview-leaf.k-selected.k-hover,
.k-treeview-leaf.k-selected:hover {
    background-color: #3c3b90 !important;
    color: white !important;
}

.k-treeview-leaf {
    font-size: 1.075rem !important;
}

.k-treeview-leaf.k-selected {
    background-color: #3c3b90 !important;
    color: white !important;
}

.text-right {
    text-align: right !important
}

/* ONLY red border, keep number */
.stepper-item.stepper-error .stepper-icon {
    border: 2px solid #f1416c !important;
    background-color: #fff !important;
    /* keep white */
}

/* KEEP number visible */
.stepper-item.stepper-error .stepper-number {
    display: block !important;
    color: #3f4254 !important;
    /* normal number color */
}

/* Hide check icon (Metronic sometimes swaps it) */
.stepper-item.stepper-error .stepper-check {
    display: none !important;
}

@media (min-width: 992px) {
    .aside-enabled.aside-fixed .wrapper {
        padding-left: 100px !important;
    }
}

@media (min-width: 992px) {
    .aside-enabled.aside-fixed.header-fixed .header {
        left: 100px !important;
    }
}

/* ============================= */
/* ASIDE BACKGROUND WHITE */
/* ============================= */
#kt_aside,
#kt_aside .aside,
#kt_aside .aside-menu,
#kt_aside .aside-wrapper,
.aside .aside-logo {
    background-color: #141B33 !important;
    /*background-color:var(--bs-text-gray-700) !important;*/
}

/* ============================= */
/* ICON DEFAULT COLOR */
/* ============================= */
#kt_aside .menu-icon i,
#kt_aside .menu-icon svg {
    color: #FFF;
    fill: #FFF;
}

/* ============================= */
/* ICON HOVER → BLACK */
/* ============================= */
#kt_aside .menu-link:hover .menu-icon i,
#kt_aside .menu-link:hover .menu-icon svg {
    color: #FFF !important;
    fill: #FFF !important;
}

/* ============================= */
/* ACTIVE MENU ICON → BLACK */
/* ============================= */
#kt_aside .menu-item.here>.menu-link .menu-icon i,
#kt_aside .menu-item.active>.menu-link .menu-icon i,
#kt_aside .menu-item.here>.menu-link .menu-icon svg,
#kt_aside .menu-item.active>.menu-link .menu-icon svg {
    color: #000000 !important;
    fill: #000000 !important;
}

/* ============================= */
/* DUOTONE ICON FIX (Metronic) */
/* ============================= */

/* Hover title */
#kt_aside .menu-link:hover .menu-title {
    color: #000000;
}

.aside-menu .menu>.menu-item>.menu-link.active {
    transition: color .2s ease;
    background-color: #ffffff;
    color: #f5f5f5;
}

.aside-menu .menu>.menu-item.here>.menu-link,
.aside-menu .menu>.menu-item>.menu-link.active {
    border: 1px solid #ffffff;
}

.aside {
    width: 90px !important;
}

.aside .menu-title {
    display: none;
}

.aside .menu-link.active {
    background-color: #f1faff;
    border-radius: 12px;
}

/* .aside .menu-link.active .menu-icon i {
    color: #3e97ff !important;
} */
.aside .menu-item {
    margin: 0 !important;
}

.aside .menu-link {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

.aside .menu-icon {
    margin: 0 !important;
    line-height: 1 !important;
}

.tooltip-inner {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    max-width: 250px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: left;
}

.aside .aside-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    height: 90px;
    padding: 0 20px;
    flex-shrink: 0;
}

.aside-menu .menu>.menu-item>.menu-link {
    width: 60px;
    height: 50px;
    margin: 0 auto;
    flex-direction: column;
    display: flex;
    border-radius: .475rem;
    border-top-left-radius: 0.475rem;
    border-top-right-radius: 0.475rem;
    border-bottom-right-radius: 0.475rem;
    border-bottom-left-radius: 0.475rem;
}

.aside .menu-link.active svg {
    color: #3e97ff;
}

.aside .menu-link {
    color: #A1A5B7;
}

.aside.menu-link:hover,
.aside.menu-link.active {
    color: #3E97FF;
}

@media (min-width: 992px) {
    .aside-enabled.aside-fixed .wrapper {
        padding-left: 70px !important;
    }
}

@media (min-width: 992px) {
    .aside-enabled.aside-fixed.header-fixed .header {
        left: 70px !important;
        padding-top: .75rem !important;
    }
}

#custom-column-visibility-container .buttons-colvis.dropdown-toggle {
    padding: 6px 10px !important;
}

.btn .call-modal i {
    display: flex !important;
    align-items: center !important;
    line-height: 12px !important;
}

.pr-4 {
    padding-right: 1.5rem !important;
}

.ki-duotone span.dark-icon:before {
    opacity: 1 !important;
}

.ki-duotone span.dark-icon {
    color: gray !important;
}

.menu-title-gray-700 .menu-item .menu-link .menu-title {
    color: #3f4254;
    font-weight: 500;
    font-size: 1.1rem;
}

.aside .menu-link.active .menu-icon i {
    color: #FFF !important;
}

.aside-enabled.aside-fixed.toolbar-fixed .toolbar {
    left: 70px !important;
    transition: left ease !important;
}

.toolbar-enabled.toolbar-fixed .content {
    padding-top: 35px !important;
}
.dtfh-floatingparent.dtfh-floatingparent-head {
    padding-top: 45px !important;
}
.datatable-form-filter input.form-control {
    height: 35px !important;
    padding: 0.5rem 0.8rem !important;
}
.bg-custom-light-danger{
    background-color: #ffe2e5!important;
}
.bg-custom-light-info{
    background-color: #c9f7f5!important
}
.buttons-colvis.dropdown-toggle::after {
    display: none !important;
}
.g-xl-12 {
    --bs-gutter-y: 4.5rem;
}
.bg-custom-light-primary{
    background-color: var(--bs-primary-light)!important
}
.jsFilterData span{
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 75%; 
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap; 
    vertical-align: baseline;
    border-radius: 0.375rem; 
    color: black;
    background-color: #f1f1f4; 
    margin-right: 10px;
}
.filter-color{
    background-color: #f1f1f4 !important; 
}
.filter-color:hover{
    background-color: #c4cada !important; 
}
.toolbar-enabled.toolbar-fixed .content {
    padding-top: 25px !important;
}
div#kt_content_container {
    padding: 0 14px !important;
}
#kt_data_table.table.gy-3 td{
    padding-top: .90rem !important;
    padding-bottom: .90rem !important;
}
div.table-responsive>div.dt-container>div.row>div[class^=col-]:first-child {
    padding-left: 14px !important;
    padding-top: 22px !important;
}
.e-grid .e-gridfooter.grid-footer-sticky {
    position: sticky !important;
    bottom: 0;
}

div#Grid_toolbarItems.e-sticky {
    top: 80px !important;
}

.e-gridheader.e-sticky {
    top: 120px !important;
}

/* #table th {
    color: #343a40; 
}
.th-dark-text {
    color: #212529 !important;
} */

#kt_table_users thead th {
    color: #3c3b90 !important;
}
label#password-error {
    width: 100%;
}

.datatable-form-filter span.select2-selection.select2-selection--single {
    height: 35px;
}

.info-hover {
    transition: all 0.25s ease;
    border-radius: 6px;
}

.info-hover:hover {
    background-color: rgba(25, 135, 84, 0.08);
    transform: translateX(4px);
}

.info-hover:hover .menu-icon i {
    transform: scale(1.1);
}



/* excel sticky */

.e-grid .e-gridfooter.grid-footer-sticky {
    position: sticky;
    bottom: 0;
}
div#Grid_toolbarItems.e-sticky {
    top: 114px !important;
}
.e-gridheader.e-sticky {
    top: 153px !important;
}


div#kt_wrapper {
    background-color: #fbf6f0 !important;
}

.custom-wrapper {
    border: 4px solid #e2e5f1;
    border-radius: 20px;
    padding: 0px;
}

.custom-wrapper1 {
    border: 4px solid #e2e5f1;
    padding: 0px;
}


.ckeditor.ck-initialized.text-danger.d-block.fs-6 {
    display: none !important;
}

input.text-danger,select.text-danger {
    color: var(--bs-gray-700) !important;
}

#kt_header_nav .rounded-pill.custom-menu-link.bg-primary.menu-active .menu-title
{
    color: #FFF !important;
}

.tempus-dominus-widget .toolbar {
    position: unset !important;
}
.min-width-300 {
            min-width: 300px!important;
        }
        .min-width-180{
            min-width: 180px!important;
        }
        .min-width-100{
            min-width: 100px!important;
        }
        .min-width-200{
            min-width: 200px!important;
        }
        .min-width-120{
            min-width: 120px!important;
        }

.min-width-180 {
        min-width: 180px !important;
        
    }

.textarea.text-danger,select.text-danger {
    color: var(--bs-gray-700) !important;
}

/* this is for NBI table css */
 .custom-table {
            width: 100%;
            border-collapse: collapse;
            border: 1px solid #999;
        }

        .custom-table td,
        .custom-table th,
        .custom-table tr {
            border: 1px solid #999;
        }

        .font-weight {
            color: #575656;
        }
        .custom-table td {
    padding: 0.25rem;
    }


/* .input-group small.text-danger {
    width: 100%;
    order: 10;
}
.input-group input.d-block.mt-1.fs-6 {
    margin-top: 0 !important;
}
.input-group label.text-danger {
    width: 100%;
    order: 10;
} */

.buyer-module .thead-light{
       background-color: #f3f6f9;
}
.buyer-module tfoot {

   background-color: #f3f6f9;
}
.buyer-module .buyer-card{
 background-color: #f3f6f9;
}


.buyer-module.table-responsive {
    max-height: 365px;   /* Approx 5 rows visible */
    overflow-y: auto;
    position: relative;
}


.buyer-module .table thead {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 2;
}

.buyer-module .table tfoot  {
    position: sticky;
    bottom: 0;
    background: #f8f9fa;
    z-index: 2;
   
}

.buyer-module .buyer-tabel {
    border-collapse: collapse !important;
}
.buyer-module .card-footer{
    z-index: 99;
}

.buyer-module .buyer-tabel{

    padding: 0px !important;
    margin: 0 !important;
}

.table-custom {
            table-layout: fixed;
            width: 100%;
        }
        .table-custom td {
            word-break: break-word;
            white-space: normal;
            vertical-align: top;
        }

.example .example-preview+.example-code {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

.example .example-preview+.example-code .example-copy {
    top: 0;
    height: 25px
}

.example .example-preview+.example-code pre[class*=language-] {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}


.example.example-compact .example-preview+.example-code {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}



/* timeline  */
.timeline-badge {
    position: relative;
}

.timeline-label:before {
    left: 157px !important;
}

hr{
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.text-label {
    color: #3f4254 !important;
    font-weight: bold !important;
}

.min-width-80 {
    min-width: 80px !important;
}
.min-width-90 {
    min-width: 90px !important;
}
.min-width-100 {
    min-width: 100px !important;
}
.min-width-110 {
    min-width: 110px !important;
}
.min-width-120 {
    min-width: 120px !important;
}
.min-width-140 {
    min-width: 140px !important;
}
.min-width-160 {
    min-width: 160px !important;
}
.min-width-180 {
    min-width: 180px !important;
}
.min-width-150 {
    min-width: 150px !important;
}

.text-muted-grey{
    color: #9d9595;
}


.my-editor-class{
    display: none !important;
}
.currency-input-hidden-accessible {
    border: 0!important;
    clip: rect(0 0 0 0)!important;
    -webkit-clip-path: inset(50%)!important;
    clip-path: inset(50%)!important;
    height: 1px!important;
    overflow: hidden!important;
    padding: 0!important;
    position: absolute!important;
    width: 1px!important;
    white-space: nowrap!important;
}



.custom-gray-bold {
    font-weight: 800 !important;
    color: #3f4254 !important; /* gray */
}
.custom-gray-medium {
    color: #3f4254 !important;
}
.custom-gray-light{
    color: #b5b5c3 !important;
}


.input-group small.text-danger {
    width: 100%;
    order: 10;
}
.input-group input.d-block.fs-6 {
    margin-top: 0 !important;
}

.custom-label{
     color: #575656 !important;
}

textarea.text-danger,select.text-danger {
    color: var(--bs-gray-700) !important;
}

div#kt_wrapper {
    /*background-color: #F5F6F9 !important;*/
    background-color: var(--bs-scrollbar-hover-color) !important;
}
#kt_aside {
    border-right: 1px solid #eeeaeb;
}
div#kt_content_container .card {
    outline: 1px solid #eeeaeb;
    box-shadow: unset !important;
}
.bg-primary.menu-active {
    background-color: transparent !important;
    color: #000 !important;
    border-bottom: 2px solid;
    border-radius: 0 !important;
}
.menu-state-primary .menu-item > .menu-link
{
    color: #000 !important;
}
.menu-state-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here), .menu-state-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
    transition: unset;
    color:  #000 !important;
}
.menu-title-gray-700 .menu-item .menu-link .menu-title {
    color: #000;
}
.menu-state-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-title, .menu-state-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title {
    color: #000;
}
.menu-state-primary .menu-item.here>.menu-link .menu-title {
    color: #000 !important;
    font-weight: 600 !important;
}
#kt_header_nav .rounded-pill.custom-menu-link.bg-primary.menu-active .menu-title {
    color: #000 !important;
}
.cm-table tbody,.cm-table td,.cm-table tfoot,.cm-table th,.cm-table thead,.cm-table tr {
    border-color: lightgrey;
    height: 40px;
}

.accordions-show-forcefully .collapse {
     display: block !important; 
}
.accordions-show-forcefully [data-bs-toggle="collapse"] {
    pointer-events: none;
}
.sticky-card-header {
    position: sticky !important;
    top: 114px !important;
    z-index: 99 !important;
    background-color: #f3f6f9 !important;
}
div#kt_header {
    background-color: #FFF !important;
}
.header .header-menu .menu>.menu-item.here>.menu-link
{
    background-color: transparent !important;
}
.nav-pills .nav-link, .nav-pills .show>.nav-link{
    font-weight: 400;    
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link, .nav-pills .nav-link:hover {
    color: #FFF;
    background-color: #3c3b90;
}
table.cm-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    vertical-align: middle !important;
}

table.cm-table td , table.cm-table th {
    border-top: 1px solid lightgrey !important;

}


table.cm-table tr:first-child th:first-child,
table.cm-table tr:first-child td:first-child {
    border-top-left-radius: 5px !important;
}


table.cm-table tr:first-child th:last-child,
table.cm-table tr:first-child td:last-child {
    border-top-right-radius: 5px !important;
}


table.cm-table tr:last-child td:first-child {
    border-bottom-left-radius: 5px !important;
    border-bottom: 1px solid lightgrey !important;
}


table.cm-table tr:last-child td:last-child {
    border-bottom-right-radius: 5px !important;
    border-bottom: 1px solid lightgrey !important;
}
table.cm-table table td , table.cm-table table th , table.cm-table table tr:last-child td:last-child , table.cm-table table tr:first-child td:first-child{
    border: unset !important;
}

.swal2-actions .btn.btn-success
{
    background-color: transparent !important;
    border: 1px solid var(--bs-success) !important;
    color:var(--bs-success) !important;
}

body .swal2-actions .btn.btn-success:hover
{
    background-color: var(--bs-success-light) !important;
}
body .swal2-actions .btn.btn-success:active:not(.btn-active)
{
    background-color: var(--bs-success-light) !important;
}

body .swal2-cancel.btn.btn-danger:hover
{
    background-color: var(--bs-danger-light) !important;
}
.file-uploader-custom label , .file-uploader-custom button {
    height: 43px;
}
textarea
{
    resize: none;
}
.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__display {
    margin-left: 1.1rem;
    font-size: 1rem;
    white-space: nowrap;
}
.select2-container--bootstrap5 .select2-selection--multiple {
    min-height: 46px !important;
    height: auto !important;
    border: 1px solid #ced4da !important;
    padding: 2px 6px !important;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
}

.balance_sheet_model .balance_p {
    padding: 0 20px !important;
}
.balance_sheet_model .header_height{
    height: 57px !important;
}

.balance_sheet_model .balance_sheet{
    height: 100%;
    overflow: hidden;
}
.balance_sheet_model .balance-sheet-scroll{
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.balance_sheet_model .balance-sheet-scroll::-webkit-scrollbar{
    display: none;
}

.balance_sheet_model .table-responsive{
    overflow: auto;
}

.balance_sheet_model .jsBalanceSheetHeaders th{
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}


.balance_sheet_model .header_center {
    vertical-align: middle;
}

.btn.btn-success {
    color: #fff !important;
    background-color: #1bc5bd !important;
    border-color: #1bc5bd !important;
}
.btn-check:active+.btn.btn-success, .btn-check:checked+.btn.btn-success, .btn.btn-success.active, .btn.btn-success.show, .btn.btn-success:active:not(.btn-active), .btn.btn-success:focus:not(.btn-active), .btn.btn-success:hover:not(.btn-active), .show>.btn.btn-success {
    color: #fff !important;
    background-color: #1bc5bd !important;
    border-color: #1bc5bd !important;
}
.btn-check:active+.btn.btn-success, .btn-check:checked+.btn.btn-success, .btn.btn-success.active, .btn.btn-success.show, .btn.btn-success:active:not(.btn-active), .btn.btn-success:focus:not(.btn-active), .btn.btn-success:hover:not(.btn-active), .show>.btn.btn-success {
    background-color: transparent !important;
    border: 1px solid var(--bs-success) !important;
    color:var(--bs-success) !important;
}
.swal2-cancel.btn.btn-danger
{
    background-color: transparent !important;
    border: 1px solid var(--bs-danger) !important;
    color:var(--bs-danger) !important;

}

.card .card-footer {
    padding: 1rem 1rem;
}
.card .card-body {
    padding: 1rem 1rem;
    color: var(--bs-card-color);
}
.AAaccordion td , .AAaccordion th , .tab-pane table td ,  .tab-pane table th ,  .accordion table td label,.accordion td , .accordion th
{
    font-size: 14px !important;
}
.btn-blue-gray
{
    color: #000 !important;
    background-color: #B2BEB5 !important;
}
.btn-blue-gray:hover
{
    color: #000 !important;
    background-color: #A9A9A9 !important;
}
.btn-icon.btn-danger[data-repeater-delete] {
    background-color: transparent;
}

.btn-check:active+.btn.btn-danger[data-repeater-delete], .btn-check:checked+.btn.btn-danger[data-repeater-delete], .btn.btn-danger.active[data-repeater-delete], .btn.btn-danger[data-repeater-delete].show, .btn.btn-danger[data-repeater-delete]:active:not(.btn-active), .btn.btn-danger[data-repeater-delete]:focus:not(.btn-active), .btn.btn-danger[data-repeater-delete]:hover:not(.btn-active), .show>.btn.btn-danger[data-repeater-delete] {
    background-color: transparent !important;
    color: var(--bs-danger);
}
.btn-icon.btn-danger[data-repeater-delete]:hover , .btn-icon.btn-danger[data-repeater-delete]:focus , .btn-icon.btn-danger[data-repeater-delete]:active {
    background-color: transparent; 
    color: var(--bs-danger);
}
.btn-icon.btn-danger[data-repeater-delete] i{
    color: var(--bs-danger);
    font-size: 1.35rem !important;
}

.btn-icon.btn-danger[data-repeater-delete]:hover i{
    color: var(--bs-danger);
}

#TransferBuyerForm .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    font-size: 14px;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active
{
    border-color:#eeeaeb #eeeaeb var(--bs-body-bg);
}
.btn-group-sm>.btn:not(.btn-outline):not(.btn-dashed):not(.btn-bordered):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon):not(.btn-hover-outline), .btn:not(.btn-outline):not(.btn-dashed):not(.btn-bordered):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon):not(.btn-hover-outline).btn-sm {
    padding: calc(.55rem + 1px) calc(1rem + 1px) calc(.55rem + 2px);
}
.table>thead {
    vertical-align: top !important;
}
/*.table thead th
{
    white-space: nowrap;
}*/
input, select, textarea {
    color: #000 !important;
    font-weight: 400 !important;
}
.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    font-weight: 400 !important;
}

.toast-top-center {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* data table css  */

.dt-column-header {
    width: 100%;
}
table.dataTable>thead .dt-ordering-asc:after,table.dataTable>thead .dt-ordering-desc:after
{
    display: none !important;
}
table.dataTable th.dt-type-numeric div.dt-column-header, table.dataTable th.dt-type-numeric div.dt-column-footer, table.dataTable th.dt-type-date div.dt-column-header, table.dataTable th.dt-type-date div.dt-column-footer, table.dataTable td.dt-type-numeric div.dt-column-header, table.dataTable td.dt-type-numeric div.dt-column-footer, table.dataTable td.dt-type-date div.dt-column-header, table.dataTable td.dt-type-date div.dt-column-footer
{
    flex-direction: row !important;
}

.form-control.form-control-solid {
    border-color: var(--bs-gray-300) !important;
}
.nav.nav-tabs  a {
    cursor: pointer;
}
.btn-lemon {
 --bs-btn-bg:#fff6c9; --bs-btn-border-color:#fff6c9; --bs-btn-color:#6b5900;--bs-btn-hover-bg:#ffef9e; --bs-btn-hover-border-color:#ffef9e; --bs-btn-hover-color:#6b5900;
}
.btn-peach { 
    --bs-btn-bg:#ffe4d6; --bs-btn-border-color:#ffe4d6; --bs-btn-color:#7a3b1e;
                   --bs-btn-hover-bg:#ffd2bd; --bs-btn-hover-border-color:#ffd2bd; --bs-btn-hover-color:#7a3b1e; 
}
.border-cm-gray , .border-cm-gray *
{
    border-color: lightgrey !important;
}
.file-uploader-custom small {
    color: gray;
}
#kt_aside_menu_wrapper
{
    overflow-y: auto !important;
    width: 100%;
    margin-left: 0 !important;
    padding: 0 !important;
}
#kt_aside.aside {
    width: 70px !important;
}
.aside-enabled.aside-fixed .wrapper {
    padding-left: 70px !important;
}
.setting-tab-ul ul {
    position: sticky;
    top: 11rem;
    flex-wrap: nowrap;
}
.setting-tab-ul .tab-pane.fade {
    border: 1px solid #eeeaeb;
    padding: 15px;
    border-radius: 10px;
}
.setting-tabs {
    max-height: calc(100vh - 180px); /* Adjust as needed */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin; /* Firefox */
}

/* Chrome, Edge, Safari */
.setting-tabs::-webkit-scrollbar {
    width: 6px;
}

.setting-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.setting-tabs::-webkit-scrollbar-thumb {
    background: #b5b5b5;
    border-radius: 10px;
}

.setting-tabs::-webkit-scrollbar-thumb:hover {
    background: #888;
}
.setting-tabs {
    height: 500px;
    overflow-y: auto;
}

.sticky-side-sub-menu
{
    position: sticky;
    top: 11rem;
}
.sticky-side-sub-menu .nav-item a {
    display: flex;
    flex-wrap: wrap;
    padding: 7px 10px !important;
}
.sticky-side-sub-menu .nav-item a .text-small
{
    font-size: 11px;
}
table tbody tr td {
    word-wrap: break-word !important;
    word-break: break-word !important;
}
.dataTables_pager
{
    align-items: center;
}
span.select2.select2-container {
    margin-right: 10px;
}
.select2-container--bootstrap5 .select2-dropdown #select2-dt-length-0-results .select2-results__option {
    padding: .55rem 1rem;
}
.select2-container--bootstrap5 .select2-dropdown {
    padding: 0.5rem 0;
    z-index: 1060;
}
.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    color: #000;
}
.select2-results__options li {
    color: #000 !important;
}
/*table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: right;
}*/

.dt-processing {
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    background: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border:unset;
    border-radius: 6px;
    padding: 20px;
    z-index: 1050;
    align-items: center;
    justify-content: center;
    outline: unset !important;
}

.dt-processing > div {
    display: none !important;
}

.dt-processing::after {
    content: "";
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;      
    border-top: 3px solid #3498db;  
    border-radius: 50%;
    animation: dt-spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes dt-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

td.trade-list-no, td.concentration-list-no, td.past-list-no {
    width: 50px;
    text-align: center;
    vertical-align: middle;
    padding: 0 !important;
}
td.turnover {
    width: 90px;
}

/* For Logs Timeline */

 .logs-timeline {
        position: relative;
        padding-left: 35px;
    }

    /* The vertical line on the left side */
    .logs-timeline::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: #e4e6ef;
    }

    /* Individual Timeline Block */
    .logs-timeline-card-wrapper {
        position: relative;
        margin-bottom: 2.5rem;
    }

    /* The teal dot resting on the timeline line */
    .logs-timeline-dot {
        position: absolute;
        left: -24px;
        top: 52px;
        /* Positioned to line up nicely with the card arrow */
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #0bb7af;
        /* Teal color matching screenshot */
        border: 2px solid #fff;
        z-index: 2;
    }

    /* The grey content card container */
    .logs-card {
        position: relative;
        background-color: #f3f6f9;
        /* Light grey backdrop */
        border-radius: 8px;
        padding: 1.5rem;
    }

    /* The speech-bubble arrow notch pointing left */
    .logs-card::before {
        content: '';
        position: absolute;
        left: -8px;
        top: 48px;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 8px solid #f3f6f9;
    }

    /* this is for log ribbon */
    .ribbon.ribbon-clip.ribbon-end .ribbon-label {
    right: -27px;
    }
    
.default-year-toggle:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
}
.select2-results__options  li[aria-disabled="true"]{
    background-color: #f9f9f9 !important;
    cursor: not-allowed !important;
}
.color-header{
    background-color: #f3f6f9 !important;
}
.color-header .form-check-input {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 5px;
    background-size: 12px;
}
.color-header .px-4 {
    margin-top: 5px !important;
}

.form-check,
.form-check-input,
.form-check-radio {
    cursor: pointer !important;
}
.aside-menu .menu>.menu-item.here>.menu-link, .aside-menu .menu>.menu-item>.menu-link.active {
    border: 1px solid transparent;
}
.aside-menu .menu>.menu-item>.menu-link.active {
    transition: color .2s ease;
    background-color: transparent;
    color: #f5f5f5;
}

.menu-title-gray-700 > .menu-item > a.menu-link > .menu-title {
    font-weight: bold;
}
.action-cm span.dt-column-title {
    display: flex;
    align-items: center;
}
.custom-badge > span {
    height: 2.78rem !important;
    padding: calc(.55rem + 1px) calc(1rem + 1px) calc(.55rem + 2px);
}


.btn-check:active+.btn.btn-danger .svg-icon, .btn-check:active+.btn.btn-danger i, .btn-check:checked+.btn.btn-danger .svg-icon, .btn-check:checked+.btn.btn-danger i, .btn.btn-danger.active .svg-icon, .btn.btn-danger.active i, .btn.btn-danger.show .svg-icon, .btn.btn-danger.show i, .btn.btn-danger:active:not(.btn-active) .svg-icon, .btn.btn-danger:active:not(.btn-active) i, .btn.btn-danger:focus:not(.btn-active) .svg-icon, .btn.btn-danger:focus:not(.btn-active) i, .btn.btn-danger:hover:not(.btn-active) .svg-icon, .btn.btn-danger:hover:not(.btn-active) i, .show>.btn.btn-danger .svg-icon, .show>.btn.btn-danger i {
    color: var(--bs-danger);
.symbolp>img{
    width: 80px;
    height: 80px;
}
}

.cp_card_height {

    height: 83vh;
}

.image-input-wrapper{

    background-size: contain !important;
    background-position: center !important;
}
/*    
form label.error {
    color: var(--bs-danger, #dc3545) !important; 
    display: block !important;                   
    font-size: 1.1rem !important;               
    margin-top: 0.25rem;
} */



 .btn-load-more {
        background-color: #17c6b8;
        color: #ffffff;
        border-radius: 8px;
        font-weight: 500;
        padding: 12px 0;
        width: 100%;
        border: none;
        transition: background-color 0.2s ease-in-out;
    }
    .btn-load-more:hover {
        background-color: #14b3a6;
        color: #ffffff;
    }


.ki-dots-horizontal .path3:before {
    opacity: 1;
}
.ki-dots-horizontal .path2:before {
    opacity: 1;
}

.joint-insured-label {
    vertical-align: top !important;
    padding-top: 18px !important;
}


.session-modal .modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.session-modal .modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.session-modal .modal-title {
    color: #2b2b2b;
    font-weight: 400;
    font-size: 1.25rem;
}


.session-modal .modal-body {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.session-modal .session-message {
    order: 1;
    font-weight: 400 !important;
    color: #4a4a4a;
    margin-bottom: 0.75rem;
}

.session-modal .progress-container {
    order: 2;
    height: 10px !important;
    background-color: #e9ecef;
    border-radius: 50rem;
    overflow: hidden;
    margin-top: 0.5rem;
}

.session-modal .session-progress-bar {
    background-color: #3f3d89 !important;
    background-image: none !important; 
    border-radius: 50rem;
    transition: width 1s linear;
}

.session-modal .countdown-text {
    order: 3;
    font-size: 0.95rem !important;
    text-align: left !important;
    color: #4a4a4a;
    margin-top: 0.5rem;
    margin-bottom: 0;
}


.session-modal .modal-footer {
    border-top: none;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}


.session-modal .btn-stay {
    background-color: #3f3d89 !important;
    border: none !important;
    border-radius: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    color: #ffffff;
}


.session-modal .btn-logout {
    background-color: #ff5263 !important;
    border: none !important;
    border-radius: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    color: #ffffff;
}


.session-modal .btn-stay:hover,
.session-modal .btn-logout:hover {
    opacity: 0.9;
}

span.select2-selection.select2-selection--single[aria-labelledby="select2-amount-format-container"] {
    height: 35px;
    width: 165px !important;
}
.svg-icon.svg-icon-cm svg {
    height: 1.45rem !important;
    width: 1.45rem !important;
}
span#selectedAmountFormat {
    font-size: 14px !important;
    line-height: 14px;
}

.usersform-tab{
    min-height: 400px;
}

.role-permission-table {
    width: 100%;
    table-layout: fixed !important;
}

.role-permission-module {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
}

.role-permission-action {
    width: auto !important;
    text-align: left !important;
}
.ck-body-wrapper {
    z-index: 9999 !important;
}
.input-group-text.js-toggle-password{
    border-top-right-radius: .475rem !important;
    border-bottom-right-radius: .475rem !important;
}

/* role */
.form-actions-sticky{
    z-index: 60;
}

.card-header.color-header {
    position: sticky;
    top: 115px;
    z-index: 20;
}

/* Right side permission result card */
.role-permission-right {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}


  /* ---- Sticky card header ---- */
  .color-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 50px;
    padding: 10px 20px;
    background-color: #eef1f5; 
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .color-header h3 {
    margin: 0;
    font-size: 1.1rem;
  }

  .rolep-table-responsive {
    overflow-x: unset;
  }

  table.role-permission-table {
    width: 100%;
    border-collapse: collapse;
  }

  .role-permission-table th,
  .role-permission-table td {
    padding: 10px 14px;
    text-align: center;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
  }

  .role-permission-table td:nth-child(2),
  .role-permission-table th:nth-child(2) {
    text-align: left;
  }

  /* ---- Sticky table head, offset below the card header ---- */
  .role-permission-table thead th {
    position: sticky;
    top: 165px; 
    z-index: 10;
    background-color: #f5f8fa;
    border-bottom: 2px solid #ddd;
  }

  .role-permission-table tbody tr:hover {
    background-color: #fafcff;
  }

.users-image {
      width: 150px !important;
      height: 150px !important;
  }
.policy-timeline {
    position: relative;
    padding-left: 10px;
}

.policy-timeline-item {
    position: relative;
    display: flex;
    gap: 18px;
    padding-bottom: 28px;
}

/* Vertical line */
.policy-timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 42px;
    bottom: 0;
    width: 2px;
    background-color: var(--bs-gray-200);
}

/* Icon */
.policy-timeline-icon {
    position: relative;
    z-index: 2;

    width: 42px;
    height: 42px;
    min-width: 42px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--bs-light);
    border: 1px solid var(--bs-gray-200);
}

/* Content */
.policy-timeline-content {
    flex: 1;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bs-gray-200);
}

/* Title */
.policy-timeline-content h4 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--bs-gray-800);
}

/* Fields */
.timeline-row {
    display: inline-flex;
    flex-direction: column;
    min-width: 140px;
    margin-right: 35px;
    margin-bottom: 8px;
}

.timeline-row span {
    color: var(--bs-gray-500);
    font-size: 13px;
    margin-bottom: 2px;
}

.timeline-row strong {
    color: var(--bs-gray-700);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {

    .timeline-row {
        display: flex;
        margin-right: 15px;
    }

}

.custom-card-case .custom-main-count{
    font-size: 30px !important;
}
.custom-card-case .custom-main-name{
    font-size: 17px !important;
}
.custom-card-case .card-footer .row span{
    font-size: 15px !important;
}
.custom-card-case.card-body{
    height: 90px !important;
    padding-bottom: 0px !important;
}
.custom-card-case .card-footer{
    height: 75px !important;
    background-color: #F1F1F4 !important;
}
.JsCaseCounter {
    cursor: pointer !important;
}

.select2-type {
    font-size: 12px;
    font-style: italic !important;
    color: #999 !important;
    line-height: 18px;
}

.maxlength-counter {
    position: relative;
    font-size: 12px;
    color: #999;
    pointer-events: none;
}
/* 
.maxlength-counter.maxlength-limit {
    color: red;
} */


.is-invalid + .select2-container--bootstrap-5 .select2-selection,
.is-invalid + .select2-container .select2-selection {
    border-color: #dc3545 !important;
}

.is-invalid + .select2-container--bootstrap-5 .select2-selection,
.is-invalid + .select2-container.select2-container--open .select2-selection {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}
/* Forces Select2 to show a green border when validation passes */
.is-valid + .select2-container--bootstrap-5 .select2-selection,
.is-valid + .select2-container .select2-selection {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}
.ckeditor.is-invalid + .ck-editor .ck-editor__main .ck-content,
.ckeditor.is-invalid + .ck-editor .ck-content {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

/* CKEditor validation - valid */
.ckeditor.is-valid + .ck-editor .ck-editor__main .ck-content,
.ckeditor.is-valid + .ck-editor .ck-content {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
}

.input-group > .form-control {
    border-top-right-radius: 0.475rem !important;
    border-bottom-right-radius: 0.475rem !important;
}

.input-group span.maxlength-counter {
    width: 100%;
    text-align: left;
    left: 0;
}
.select2-container .select2-selection--single {
    background-image: none !important;
}