.customizer {
    position: fixed;
    z-index: 9999;
    top: 100px;
    right: -380px;
    transition: all .3s ease-in-out;
    width: 380px;
}
.customizer.open { right: 0; }
.customizer .handle {
    position: absolute;
    display: flex;
    align-items: center;
    top: 8px;
    left: -40px;
    cursor: pointer;
    padding: 10px 10px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: -3px 0 4px rgba(0, 0, 0, .06);
    font-size: 20px;
    transition: all .3s ease-in-out;
}
.customizer .handle,
.customizer .handle:hover {
    background: #e35b39;
    color: #fff;
}
.customizer .customizer-body {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 20px 1px rgba(0, 0, 0, .06), 0 1px 4px rgba(0, 0, 0, .08);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: visible;
    padding: 16px;
}

.sidebar-wrapper .logo-wrapper img,
.sidebar-wrapper .logo-icon-wrapper img,
.sidebar-wrapper .sidebar-links > .back-btn img,
.page-header .header-logo-wrapper .logo-wrapper img {
    filter: none;
    -webkit-filter: none;
}

.sidebar-wrapper .sidebar-main-title h6 {
    color: rgba(255, 255, 255, .55) !important;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.sidebar-wrapper .sidebar-links .sidebar-link span,
.sidebar-wrapper .sidebar-links .sidebar-submenu li a {
    color: rgba(255, 255, 255, .85) !important;
}
.sidebar-wrapper .sidebar-links .sidebar-link svg,
.sidebar-wrapper .sidebar-links .sidebar-link i {
    color: rgba(255, 255, 255, .85);
    stroke: rgba(255, 255, 255, .85);
}
.sidebar-wrapper .sidebar-links .sidebar-link .according-menu i { color: rgba(255, 255, 255, .7); }

.sidebar-wrapper .sidebar-links .sidebar-submenu li a:hover { color: #fff !important; }

.sidebar-wrapper .sidebar-links .sidebar-submenu[style*="block"]::before,
.sidebar-wrapper .sidebar-links .sidebar-link.active ~ .sidebar-submenu::before {
    height: calc(100% - 8px) !important;
}

.sidebar-wrapper .sidebar-links .sidebar-link.active {
    background-color: rgba(255, 255, 255, .16) !important;
    border-radius: 10px;
}
.sidebar-wrapper .sidebar-links .sidebar-link.active span,
.sidebar-wrapper .sidebar-links .sidebar-link.active svg,
.sidebar-wrapper .sidebar-links .sidebar-link.active i {
    color: #fff !important;
    stroke: #fff !important;
}
.sidebar-wrapper .sidebar-links .sidebar-submenu li a.active,
.sidebar-wrapper .sidebar-links .sidebar-submenu li.active > a {
    color: #fff !important;
    font-weight: 600;
    background-color: rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.page-body-wrapper .page-body {
    min-height: calc(100vh - 160px);
}
.page-body-wrapper footer.footer {
    position: static;
    width: auto;
    margin-top: 24px;
    padding: 16px 30px;
    background: #fff;
    border-top: 1px solid #eff4fb;
}

.page-body .main-content { width: 100%; }

.btn-rounded { border-radius: 30px; }
.waves-effect { position: relative; overflow: hidden; }
.page-body .btn { white-space: nowrap; vertical-align: middle; }
.page-body .card-body .btn.btn-rounded { padding: .45rem 1.15rem; }
.btn i { vertical-align: middle; line-height: 1; }
.page-body .card-body .btn i { margin-left: .35rem; }

.btn-primary,
.btn-primary:focus,
.btn-primary.btn-white,
.page-body .btn-primary {
    background-color: #006666 !important;
    border-color: #006666 !important;
    color: #fff !important;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:not([disabled]):not(.disabled):active,
.btn-primary:not([disabled]):not(.disabled).active {
    background-color: #005151 !important;
    border-color: #005151 !important;
    color: #fff !important;
}
.btn-outline-primary {
    color: #006666 !important;
    border-color: #006666 !important;
}
.btn-outline-primary:hover {
    background-color: #006666 !important;
    color: #fff !important;
}
.btn-secondary,
.btn-secondary:focus {
    background-color: #FE6A49 !important;
    border-color: #FE6A49 !important;
    color: #fff !important;
}
.btn-secondary:hover {
    background-color: #ef5636 !important;
    border-color: #ef5636 !important;
}
.page-body a.text-primary,
.page-body .text-primary { color: #006666 !important; }

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.btn:focus-visible,
.btn:not([disabled]):not(.disabled):active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active {
    box-shadow: none !important;
}

.page-body .card {
    border: none;
    box-shadow: 0 0 20px rgba(89, 102, 122, .1);
    border-radius: 15px;
    margin-bottom: 30px;
}
.page-body .card .card-title { font-weight: 600; }

.page-body .table thead th {
    border-top: none;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    color: #2f2f3b;
}

.page-body > .container-fluid,
.page-body .breadcrumb { margin-top: 0; }

.page-body .main-content > .alert:first-child { margin-top: 12px; }

.bmd-label-floating { color: #7c8db5; }

.login-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 30px 12px;
    background: #f6f7fb;
}
.login-card .login-main {
    width: 450px;
    max-width: 100%;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 37px rgba(8, 21, 66, .05);
    margin: 0 auto;
    background: #fff;
}
.login-card .login-main .auth-logo { text-align: center; margin-bottom: 24px; }
.login-card .login-main .auth-logo img { max-width: 220px; width: 100%; }
.login-card .login-main h4 { margin-bottom: 6px; font-weight: 600; }
.login-card .login-main p { margin-bottom: 22px; color: #999; }
.login-card .login-main .btn-primary { width: 100%; padding: 10px; }

.mr-0{margin-right:0!important}.ml-0{margin-left:0!important}.pr-0{padding-right:0!important}.pl-0{padding-left:0!important}
.mr-1{margin-right:.25rem!important}.ml-1{margin-left:.25rem!important}.pr-1{padding-right:.25rem!important}.pl-1{padding-left:.25rem!important}
.mr-2{margin-right:.5rem!important}.ml-2{margin-left:.5rem!important}.pr-2{padding-right:.5rem!important}.pl-2{padding-left:.5rem!important}
.mr-3{margin-right:1rem!important}.ml-3{margin-left:1rem!important}.pr-3{padding-right:1rem!important}.pl-3{padding-left:1rem!important}
.mr-4{margin-right:1.5rem!important}.ml-4{margin-left:1.5rem!important}.pr-4{padding-right:1.5rem!important}.pl-4{padding-left:1.5rem!important}
.mr-5{margin-right:3rem!important}.ml-5{margin-left:3rem!important}.pr-5{padding-right:3rem!important}.pl-5{padding-left:3rem!important}
.mr-auto{margin-right:auto!important}.ml-auto{margin-left:auto!important}

.pull-left,.float-left{float:left!important}
.pull-right,.float-right{float:right!important}

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

.font-weight-light{font-weight:300!important}
.font-weight-normal{font-weight:400!important}
.font-weight-bold{font-weight:700!important}
.font-weight-bolder{font-weight:bolder!important}
.font-italic{font-style:italic!important}

.btn-block{display:block;width:100%}
.form-group{margin-bottom:1rem}
.no-gutters{margin-right:0;margin-left:0}
.no-gutters>.col,.no-gutters>[class*="col-"]{padding-right:0;padding-left:0}
.form-row{display:flex;flex-wrap:wrap;margin-right:-5px;margin-left:-5px}
.form-row>.col,.form-row>[class*="col-"]{padding-right:5px;padding-left:5px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.badge-primary{color:#fff;background-color:#0f233b}
.badge-secondary{color:#fff;background-color:#6c757d}
.badge-success{color:#fff;background-color:#198754}
.badge-danger{color:#fff;background-color:#dc3545}
.badge-warning{color:#212529;background-color:#ffc107}
.badge-info{color:#fff;background-color:#0dcaf0}
.badge-light{color:#212529;background-color:#f8f9fa}
.badge-dark{color:#fff;background-color:#212529}
.badge-pill{border-radius:10rem}

.close{float:right;font-size:1.5rem;font-weight:700;line-height:1;color:#000;opacity:.5;background:transparent;border:0}
.close:hover{opacity:.75}

.input-group-append,.input-group-prepend{display:flex}
.input-group-append{margin-left:-1px}
.input-group-prepend{margin-right:-1px}
.input-group-append>.input-group-text{border-top-left-radius:0;border-bottom-left-radius:0}
.input-group-prepend>.input-group-text{border-top-right-radius:0;border-bottom-right-radius:0}
.input-group>.form-control{flex:1 1 auto;width:1%;min-width:0}

.page-body .card-header .btn_delete_record,
.page-body .card-header a.pull-right,
.page-body .card-header a.float-right {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle;
}
.page-body .card-header .btn_delete_record i,
.page-body .card-header a.pull-right i,
.page-body .card-header a.float-right i {
    font-size: 1.05rem;
    line-height: 1;
    vertical-align: middle;
}
.page-body .card-header a.pull-right,
.page-body .card-header a.float-right {
    margin-right: 3px !important;
}
.page-body .card-header .btn_delete_record.pull-right,
.page-body .card-header .btn_delete_record.float-right {
    margin-left: 4px !important;
    margin-right: 10px !important;
}

.sidebar-wrapper .logo-wrapper {
    position: relative;
}
.sidebar-wrapper .logo-wrapper a img {
    max-width: 178px;
    width: auto;
}
.sidebar-wrapper .logo-wrapper .toggle-sidebar {
    top: 50% !important;
    transform: translateY(-50%);
}

.modal {
    position: fixed !important;
}

.modal-footer {
    flex-wrap: nowrap;
}
.modal-footer > .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}
.modal-footer .btn.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-gray,
.btn-gray:focus {
    background-color: #666 !important;
    border-color: #666 !important;
    color: #fff !important;
}
.btn-gray:hover,
.btn-gray:active,
.btn-gray:not([disabled]):not(.disabled):active {
    background-color: #545454 !important;
    border-color: #545454 !important;
    color: #fff !important;
}
.btn-white:not(.btn-primary):not(.btn-secondary):not(.btn-gray) {
    background-color: #fff !important;
    border-color: #e6e6e6 !important;
    color: #2c323f !important;
}
.btn-white:not(.btn-primary):not(.btn-secondary):not(.btn-gray):hover {
    background-color: #f2f2f2 !important;
    border-color: #d9d9d9 !important;
    color: #2c323f !important;
}

.page-body .breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.page-body .breadcrumb > ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.page-body .breadcrumb > ul > li { display: inline-flex; align-items: center; }
.page-body .breadcrumb .link-back {
    position: static !important;
    right: auto !important;
    margin-left: auto !important;
}

.btn-primary:has(> .icon-arrow-left),
.page-body .btn-primary:has(> .icon-arrow-left) {
    background-color: #FE6A49 !important;
    border-color: #FE6A49 !important;
    color: #fff !important;
}
.btn-primary:has(> .icon-arrow-left):hover,
.page-body .btn-primary:has(> .icon-arrow-left):hover {
    background-color: #f2542f !important;
    border-color: #f2542f !important;
    color: #fff !important;
}

.customizer { top: 150px; }

.customizer .filters .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}
.customizer .filters .btn {
    white-space: nowrap;
}
.customizer .filters .row > .col-md-6 {
    margin-bottom: 8px;
}

.page-body .breadcrumb {
    padding-left: 12px;
    padding-right: 12px;
}

.separator-breadcrumb {
    display: none !important;
}

.login-card .login-main .auth-logo {
    display: block;
    text-align: center;
    margin-bottom: 0 !important;
}
.login-card .login-main .auth-logo img {
    display: inline-block;
    float: none;
}

.login-card .btn-outline-info,
.login-card .send-otp-code,
#modal-info-body .btn-outline-info,
#modal-info-body .send-otp-code {
    white-space: nowrap;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
}

.login-card .send-otp-code-current h5,
#modal-info-body .send-otp-code-current h5 {
    margin-bottom: 1.25rem;
}

.profile-dropdown.onhover-show-div {
    width: 320px !important;
    min-width: 320px !important;
    right: 0 !important;
    left: auto !important;
}

.profile-dropdown li a {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.profile-dropdown li a span {
    white-space: nowrap;
}

.nav-right .profile-dropdown.onhover-show-div:before,
.nav-right .profile-dropdown.onhover-show-div:after {
    right: 14px !important;
    left: auto !important;
}

.page-header .header-wrapper .nav-right .profile-media {
    align-items: center;
}

.badge-top-container .header-icon.i-Bell {
    font-size: 22px;
}

.page-body .breadcrumb > ul > li + li::before {
    content: "|";
    color: #b7bcc4;
    margin-right: 10px;
}

.checkbox, .radio {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.radio { border-radius: 50%; }
.checkbox input, .radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox .checkmark, .radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 4px;
    background-color: #dee2e6;
}
.radio .checkmark { border-radius: 50%; }
.checkbox:hover input ~ .checkmark, .radio:hover input ~ .checkmark {
    background-color: #bbb;
}
.checkbox input:checked ~ .checkmark, .radio input:checked ~ .checkmark {
    background-color: #006666;
}
.checkbox .checkmark:after, .radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 0;
    top: 0;
    right: 0;
    width: 4px;
    bottom: 0;
    margin: auto;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
}
.checkbox input:checked ~ .checkmark:after, .radio input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-primary input:checked ~ .checkmark,
.checkbox-outline-primary input:checked ~ .checkmark {
    background-color: #006666 !important;
}

.card-1 .card-body img {
    max-width: 100% !important;
    width: auto !important;
    max-height: 38px;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
}
.card-1 .card-body .btn {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-1 .card-body .btn + .btn,
.card-1 .card-body a.btn-block + a.btn-block {
    margin-top: 6px;
}

button.pointer:not(.btn),
button.px-2.border.pointer {
    background: transparent !important;
    border: none !important;
    line-height: 1;
    color: inherit;
}
button.pointer:not(.btn):hover {
    color: #006666;
}

.capitalfin-tan-table td .input-group {
    flex-wrap: nowrap;
    min-width: 90px;
}
.capitalfin-tan-table td .input-group .form-control {
    min-width: 60px;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    -moz-appearance: textfield;
}
.capitalfin-tan-table td .input-group .form-control::-webkit-outer-spin-button,
.capitalfin-tan-table td .input-group .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.capitalfin-tan-table td .input-group .input-group-append .input-group-text {
    padding: 0 6px;
}

.timeline {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}
.timeline .timeline-item {
    position: relative;
    width: 50%;
    display: inline-block;
}
.timeline .timeline-item:nth-child(even) {
    padding: 0 3rem 3rem 0;
}
.timeline .timeline-item:nth-child(even) .timeline-badge {
    left: calc(100% - 24px);
}
.timeline .timeline-item:nth-child(odd) {
    float: right;
    padding: 0 0 3rem 3rem;
    margin-top: 6rem;
}
.timeline .timeline-item:nth-child(odd) .timeline-badge {
    right: calc(100% - 24px);
}
.timeline .timeline-item .timeline-badge {
    position: absolute;
    width: 48px;
    height: 48px;
}
.timeline .timeline-item .badge-img {
    display: inline-block;
    border-radius: 50%;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.timeline .timeline-line {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background: #e9ecef;
    left: 0;
    right: 0;
    margin: auto;
}
@media (max-width: 767px) {
    .timeline .timeline-item {
        width: 100%;
        padding: 4rem 0 3rem !important;
    }
    .timeline .timeline-item:nth-child(odd) {
        margin-top: 1rem;
    }
    .timeline .timeline-item .timeline-badge {
        left: 0 !important;
        right: 0 !important;
        top: -16px;
        margin: auto;
    }
}

label.switch:has(.slider) {
    position: relative;
    display: inline-block;
    width: auto;
    height: 16px;
    padding-left: 50px;
}
label.switch:has(.slider) input {
    display: inline-block;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}
label.switch:has(.slider) span:not(.slider) {
    position: relative;
    top: -2px;
    cursor: pointer;
}
label.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    width: 42px;
    height: 16px;
    background-color: #dee2e6;
    border-radius: 34px;
    transition: 0.4s;
}
label.switch .slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: -1px;
    bottom: -4px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
        0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
    transition: 0.4s;
}
label.switch input:checked + .slider {
    background-color: #003473;
}
label.switch input:checked + .slider:before {
    transform: translateX(20px);
}
