img {
    max-width: 100%;
    height: auto;
}

/* Boostrap Overrides */
.btn-wrap .btn {
    min-width: 74px;
}

.btn-secondary {
    color: #666 !important;
    background-color: #E1E1E1 !important;
}

    .btn-secondary:hover {
        background-color: #ddd !important;
    }

.form-control:disabled,
.form-select:disabled {
    color: #888;
    background-color: #eee;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #eee;
    opacity: 1;
}

.paddingtop {
    padding-top: 30px;
}

/* Alert Box */
.alert-box {
    text-align: center;
}

    .alert-box .btn {
        min-width: 100px;
    }

.field-wrap {
    /* width: 100px; */
    position: relative;
}

    .field-wrap label.form-label {
        font-size: 12px;
        position: absolute;
        top: -16px;
        left: 0;
    }

    .field-wrap select {
        padding-right: 2.5rem !important;
    }

/* Phone Field CSS */
.phone-field {
    display: flex;
}

    .phone-field select {
        width: 100px;
        margin-right: -1px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .phone-field input {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

/* Switch Button CSS */
.switch-wrap {
    display: flex;
    align-items: center;
}

    .switch-wrap input[switch] + label:before {
        line-height: 22px;
    }

    .switch-wrap label {
        margin-bottom: 0;
    }

        .switch-wrap label:last-child {
            margin-left: 0.3rem;
        }

/* Settings Pages */
div.admin-sec > div.col-2 {
    -ms-flex: 0 0 250px;
    flex: 0 0 250px;
    max-width: 250px;
    padding: 0;
}

div.admin-sec > div.col-10 {
    -ms-flex: 0 0 calc(100% - 250px);
    flex: 0 0 calc(100% - 250px);
    max-width: calc(100% - 250px);
}

div.admin-sec > div.row {
    height: 100%;
}

div.admin-sec div.row > div.col-2 {
    -ms-flex: 0 0 250px;
    flex: 0 0 250px;
    max-width: 250px;
    border-right: 1px solid #ddd;
}

div.admin-sec div.row > div.col-10 {
    -ms-flex: 0 0 calc(100% - 250px);
    flex: 0 0 calc(100% - 250px);
    max-width: calc(100% - 250px);
    padding-top: 20px;
}

.admin-main-menu {
    /* display: flex; */
    /* background-color: #eee; */
    min-height: calc(100vh - 208px);
    border-right: 1px solid #ddd;
    padding: 0 12px;
}

    .admin-main-menu ul {
        list-style: none;
        padding: 10px 0;
    }
        /* .admin-main-menu ul li{
    margin-top: 20px;
} */
        .admin-main-menu ul li a {
            display: block;
            padding: 10px 10px 10px 35px;
            color: #666;
            position: relative;
            font-size: 15px;
            -webkit-transition: all .4s;
            transition: all .4s;
            position: relative;
        }

            .admin-main-menu ul li a:hover {
                color: #53b700;
            }

        .admin-main-menu ul li.active a {
            color: #53b700;
            font-weight: 600;
            background-color: #f8f9fa;
        }

        .admin-main-menu ul li a em {
            width: 25px;
            text-align: center;
            position: absolute;
            left: 0;
            top: 13px;
        }

ul.ucl-secondary-list,
ul.ucl-secondary-list ul {
    list-style: none;
    padding: 0;
}

ul.ucl-secondary-list {
    padding-top: 8px;
}

    ul.ucl-secondary-list li a {
        width: 100%;
        display: inline-block;
        font-size: 1rem;
        font-weight: 600;
        color: #666;
        text-transform: capitalize;
        padding: 12px 10px;
    }

        ul.ucl-secondary-list li a:hover {
            color: #53b700;
        }

    ul.ucl-secondary-list li.active a {
        font-weight: 600;
        /* color: #53b700; */
    }

    ul.ucl-secondary-list ul li a {
        padding: 9px 10px;
        font-weight: normal !important;
        font-size: 0.9375rem;
    }

    ul.ucl-secondary-list ul li.active a {
        background: #f8f9fa;
        font-weight: 600 !important;
        color: #53b700;
    }

    ul.ucl-secondary-list li a em {
        float: right;
        font-size: 14px;
        position: relative;
        top: 7px;
    }

    ul.ucl-secondary-list li.active em {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    ul.ucl-secondary-list ul {
        display: none;
    }

.pt-20 {
    padding-top: 20px;
}

/* General Ledger */
.gjournal-sec > div.col-2 {
    -ms-flex: 0 0 270px;
    flex: 0 0 270px;
    max-width: 270px;
    padding: 20px 24px 0 0;
    border-right: 1px solid #ddd;
    min-height: calc(100vh - 237px);
}

.gjournal-sec > div.col-10 {
    -ms-flex: 0 0 calc(100% - 270px);
    flex: 0 0 calc(100% - 270px);
    max-width: calc(100% - 270px);
    padding: 20px 0 10px 24px;
}

/* Action Wrap */
.action-wrap .btn-primary {
    position: relative;
}

/* Table and Datatable CSS */
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.28em !important;
}

.dt-right .dataTables_filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .dt-right .dataTables_filter .input-group {
        max-width: 160px;
    }

    .dt-right .dataTables_filter label {
        width: 100%;
        max-width: 420px;
        margin: 0 !important;
    }

.datatable-search {
    width: 100% !important;
    display: inline-block !important;
}

table a {
    color: #0ca1d3;
}

    table a:hover {
        color: #128ab2;
    }

div.dt-footer-left {
    display: flex;
    align-items: center;
}

    div.dataTables_paginate ul.pagination,
    div.dt-footer-left div#dataTableGrid_length label {
        margin: 0 !important;
    }

    div.dt-footer-left div#dataTableGrid_info {
        padding: 0 !important;
    }

#dataTableGrid_length select {
    width: 65px;
}

div.dt-footer-right .dataTables_paginate {
    display: flex;
    justify-content: flex-end;
}

/*** Loader ***/
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
}

    .loader:after {
        content: "";
        border: 6px solid #eee;
        border-radius: 50%;
        border-top: 6px solid #53b700;
        width: 50px;
        height: 50px;
        -webkit-animation: spin 1s linear infinite;
        /* Safari */
        animation: spin 0.75s linear infinite;
    }

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Action Menu Dropdown */
.dd-wrap {
    position: relative;
    display: inline-block;
}

    .dd-wrap .dd-btn {
        display: flex;
    }

        .dd-wrap .dd-btn > a {
            color: #7fba00;
        }

    .dd-wrap .dd-action {
        display: flex;
        align-items: center;
        width: 20px;
        height: 20px;
        padding: 0;
        border: none !important;
        outline: none !important;
        background: none !important;
        cursor: pointer;
        margin-left: 4px;
    }

        .dd-wrap:hover .dd-action,
        .dd-wrap .dd-action:hover {
            color: #2b354f !important;
        }

    .dd-wrap.dd-open:hover .dd-action svg circle,
    .dd-wrap.dd-open .dd-action svg circle {
        opacity: 1 !important;
    }

    .dd-wrap .dd-list {
        min-width: 180px;
        display: none;
        background: #fff;
        border: 1px solid #ddd;
        /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.15); */
        border-radius: 2px;
        position: absolute;
        top: 22px;
        /*right: 0;*/
        left:30px;
        z-index: 9;
        margin: 0;
        /*padding: 7px 18px 7px 15px;*/
        padding: 0px;
        list-style: none;
    }

table tr:nth-last-child(-n+2) .dd-wrap .dd-list {
    top: auto;
    bottom: 0;
}

.dd-wrap.dd-open .dd-list {
    display: block;
    z-index: 15;
}

.dd-wrap .dd-list li {
    /* font-size: 14px; */
    padding: 0;
    /*margin: 5px 0;*/
    border: none;
    text-align: left;
}

    .dd-wrap .dd-list li a {
        white-space: nowrap;
        transition: all .3s;
        color: #666;
        padding: 6px 18px;
        display: block;
    }

        .dd-wrap .dd-list li a:hover {
            color: #7fba00;
            text-decoration: none;
            background-color:#e5e5e5;
        }

/* Dashboard */
.mini-card > a {
    height: 100%;
    display: block;
}

.mini-card .card {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #eee;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 0.25rem;
    /* box-shadow: 0 3px 3px rgba(56,65,74,.1); */
    padding: 1rem;
    margin-bottom: 0;
}

    .mini-card .card em {
        font-size: 2rem;
        margin-right: 1rem;
    }

    .mini-card .card h5 {
        color: #666;
        margin-bottom: 5px;
    }

    .mini-card .card p:last-of-type {
        color: #666;
        margin: 0;
    }
/*Asset Page css*/
.hidden {
    display: none;
}

.shrinkable {
    word-break: break-all;
}

.btn-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
    padding: 5px 5px;
    z-index: 9999;
    text-align: right;
}

/*  .btn-wrap .btn {
        min-width: 120px;
    }*/

/*breadcrumb font changes*/
.breadcrumb-item {
    font-size: 13px !important;
    font-weight: normal !important
}

    .breadcrumb-item.active {
        color: #999999 !important;
        cursor: default !important;
    }

    .breadcrumb-item > a {
        color: #666666 !important;
        cursor: pointer !important;
    }

/* Checks */
.check-box {
    color: #282828;
    text-transform: uppercase;
    border: 1px solid #282828;
    background-color: #FBFBFB;
    padding: 20px;
}

.check-no,
.check-date {
    display: flex;
    float: right;
    margin-bottom: 20px;
    clear: both;
}

    .check-no input {
        text-align: center;
        border: none;
        border-bottom: 1px solid #282828;
        outline: none !important;
        background: none !important;
    }



.check-date {
    border-bottom: 1px solid #282828;
}

    .check-date strong,
    .check-for strong {
        font-weight: bold;
    }

    .check-date .date-txt {
        padding-left: 20px;
    }

.check-amount-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    clear: both;
}

.check-amount {
    order: 2;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .check-amount strong {
        font-size: 20px;
        font-weight: bold;
    }

    .check-amount .amount-txt {
        width: 160px;
        text-align: right;
        border: 1px solid #282828;
        padding: 1px 5px;
        margin-left: 1px;
    }

.check-pay,
.check-inwords,
.check-for {
    width: 75%;
    margin-bottom: 20px;
    border-bottom: 1px solid #282828;
    clear: both;
}

.check-inwords {
    margin-bottom: 30px;
}

.check-pay strong {
    display: inline-block;
    width: 100px;
    line-height: 1;
    font-weight: bold;
}

.pay-txt {
    padding-left: 30px;
}

.sign-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.check-for {
    width: 45%;
    border-bottom: 1px solid #282828;
    margin-bottom: 10px;
}

.check-sign {
    width: 220px;
    border-bottom: 1px solid #282828;
    margin-bottom: 10px;
}
/*attchment style*/

.attachments-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

    .attachments-list li {
        margin-bottom: 0.5rem;
    }

.btn-delete-file {
    display: inline-block;
    margin: -1px 0 0 10px;
}

    .btn-delete-file:hover path {
        fill: #ec4561 !important;
    }

.ma-info img {
    max-width: 80px;
    border-radius: 5px;
    margin-top: 10px;
}

.bold {
    font-weight: bold !important;
}

.report-item-card {
    box-shadow: none !important;
}

.report-link {
    color: #7fba00;
}

    .report-link:hover {
        color: #429200;
    }


.invalid-select2 {
    border: 1px solid red !important;
}

.valid-select2 {
    border-color: #53b700 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2353B700' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.select2-dropdown-arrow {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}


.select2, .select2-container {
    font-family: "Open Sans" !important;
}


.select2-search__field:focus {
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83,183,0,.25) !important;
    outline: 0 !important;
}

.select2-selection__rendered {
    font-size: 0.875rem !important;
    color: #444 !important;
    height: 35px !important;
}

.select2-selection .select2-selection--single {
    font-size: 0.875rem !important;
    color: #444 !important;
    height: 35px !important;
    line-height: 35px !important;
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83,183,0,.25) !important;
    outline: 0 !important;
}

.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83,183,0,.25) !important;
    outline: 0 !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83,183,0,.25) !important;
    outline: 0 !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83,183,0,.25) !important;
    outline: 0 !important;
}

.select2-container--default.select2-container--below.select2-container--focus .select2-selection {
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83,183,0,.25) !important;
    outline: 0 !important;
}

.select2-container--focus .select2-selection {
    border-color: #53b700 !important;
    box-shadow: 0 0 0 0.15rem rgba(83, 183, 0, .25) !important;
    outline: 0 !important;
}

.void-row {
    color: #ff0000;
}

.dataTables_wrapper .dataTables_wrapper {
    padding: 0px 10px 0px 50px;
}

.child-datatable th {
    background: #e5e5e5;
}

.td-expand {
    cursor: pointer;
}


.detail-grid tbody td {
    padding: 0px !important;
}

.detail-grid input {
    border: 0.5px solid #fff;
    border-radius: 0px;
    padding: 5px;
}

.tt-highlight {
    font-weight: 700 !important;
}

.tt-menu {
    background-color: white !important;
    border: 1px solid #ccc;
    cursor: pointer; /* Add cursor arrow */
    width: 100%; /* Set width to match text field */
    box-sizing: border-box; /* Include padding and border in the width */
}


.tt-suggestion {
    padding: 5px 10px;
}

.tt-cursor {
    background-color: #e0e0e0;
}


#sidebar-menu ul li a {
    padding: 8px 20px 8px 11px !important;
}


#sidebar-menu-dashboard-item {
    font-weight: 700 !important
}

/*******Check**********/
.che-vend-address {
    font-size: 9pt !important;
    height: 62px !important;
    font-family: 'Courier New', Courier, monospace;
}
.che-signature-table {
    margin-top: 12pt !important;
    margin-left: 15pt !important;
}
.che-micr-table {
    width: 580pt;
    margin-top: 15pt !important;
    margin-bottom: 5pt !important;
}
.che-vend-name-issue-date {
    border-collapse: collapse !important;
    width: 565pt;
    margin-top: 50pt !important
}
.che-amount-in-words {
    margin-top: 10pt !important;
    margin-bottom: 5pt !important;
    margin-left: 10pt !important
}
.che-check-date-box {
    width: 90pt;
    border: 1pt solid black !important;
    padding: 3pt !important;
    display: inline-block;
    margin-top: 7pt !important;
}
.email-log-label{padding:10px; border: 1px solid #e5e5e5;width:100%;}
.tr-odd td, .tr-odd input{background-color:#f1f1f1 !important;}