@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,600;0,700;1,100;1,300;1,400;1,600;1,700&display=swap');

html, body {
    padding: 0;
    margin: 0;
}
body {
    background: #f2f3f8;
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    min-height: 100vh;
    font-size: 16px;
    scrollbar-width: thin;
}
@media only screen and (max-width: 1440px) {
    body {
        font-size: 14px;
    }
}
@media only screen and (max-width: 991px) {
    body {
        font-size: 13px;
    }
}

/* GENERAL */
h1, h2, h3, h4, h5 {
    font-weight: normal;
}
a {
    color: #959cb6;
}
a:hover {
    color: #5A5F70;
}

.btn-copy {
    cursor: pointer;
}
.img-wrapper {
    position: relative;
}
.img-wrapper > img {
    width: 100%;
}
.img-wrapper > .btn-remove {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    padding: 0;
    position: absolute;
    top: -6px;
    right: -8px;
    line-height: 1;
}
.img-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
}
.loader {
    border: 2px solid #f3f3f3; /* Light grey */
    border-top: 2px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;   
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.thumbnail {
    max-width: 300px;
}
.thumbnail-sm {
    max-width: 60px;
}
.logo-wrapper {
    max-width: 200px;
}
.text-dark {
    color: #58605F !important;
}
.clearfix {
    overflow: auto;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.cursor-pointer { cursor: pointer; }
.cursor-grabbing { cursor: grabbing; }
.cursor-allscroll { cursor: all-scroll; }

/* BADGE */
.badge {
    line-height: 1.5;
}

/* BACKGROUND */
.bg-primary { background-color: #5867dd !important; }
.bg-secondary { background-color: #e1e1ef !important; }
.bg-success { background-color: #1dc9b7 !important; }
.bg-warning { background-color: #ffb822 !important; }
.bg-danger { background-color: #fd397a !important; }
.bg-info { background-color: #5578eb !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #343a40 !important; }

/* FORM CONTROLS */
label {
    color: #8d8c9b;
    font-weight: 400 !important;
}
input:focus, 
input:active, 
input:hover {
    outline: none !important;
    box-shadow: none !important;
}
.form-control {
    border-radius: 12px;
    color: #495057;
    font-weight: 300;
}
.form-control, .form-select {
    /* height: calc(1.5em + 1rem + 2px); */
    font-size: 0.875rem;
}
select.form-control {
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #3e5569 60%), linear-gradient(135deg, #3e5569 40%, transparent 50%) !important;
    background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px, 100% 0;
    background-size: 5px 5px, 5px 5px;
    padding-right: 2rem;
}
select.form-control.is-invalid {
    background-image: none;
}
.input-group-text {
    border: 0;
}
.input-group-append .input-group-text {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback):not(.form-control):last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.input-group>.input-group-prepend {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow: hidden;
}
.input-group>.input-group-prepend.input-group-text {
    background-color: #ececec;
}
.input-group .primary-item {
    font-size: 1rem;
    position: absolute;
    right: 10%;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.checkboxes > .form-check {
    width: 25%;
}
.form-check-input[type=checkbox] {
    border-radius: 2px;
    margin-top: 2px;
}
.form-check-input[type=checkbox]:checked {
    background-color: #74b9ff;
    border-color: #74b9ff;
}
.form-check-input[type=checkbox]#checkall:checked {
    background-color: #00cec9;
    border-color: #00cec9;
}
.form-check-input[type=checkbox].group-checkall:checked {
    background-color: #0984e3;
    border-color: #0984e3;
}
.form-switch .form-check-input[type=checkbox] {
    border-radius: 12px;
}
.password-toggle {
    cursor: pointer;
}
.datepicker {
    border-radius: 12px;
}
form .section-title {
    font-size: 1rem;
    position: relative;
    display: block;
    overflow: hidden;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* OVERRIDE DATETIME PICKER */
.datetimepicker td, .datetimepicker th {
    padding: 5px 10px;
}
.glyphicon {
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.glyphicon-arrow-left:before {
    content: "\F013D";
}
.glyphicon-arrow-right:after {
    content: "\F013E";
}

/* INNER TABS */
.nav.inner-tabs .nav-link.active {
    font-weight: bold;
}

/* TinyMCE Override */
.tox.tox-tinymce {
    border-radius: 18px;
    border-color: #e9ecef !important;
}
.tox-toolbar__primary {
    background: #ffffff !important;
    border-bottom: 1px solid #e9ecef !important;
}
.tox .tox-menubar+.tox-toolbar, 
.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary,
.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) {
    border-color: #e9ecef !important;
}
.tox .tox-statusbar {
    border-top: 1px solid #e9ecef !important;
}
.tox-statusbar__branding {
    display: none !important;
}

/* LEFT SIDEBAR */
#main-wrapper .left-sidebar[data-sidebarbg=skin5], 
#main-wrapper .left-sidebar[data-sidebarbg=skin5] ul {
    background: #242939;
}
.left-sidebar {
    overflow-y: scroll;
}
.left-sidebar::-webkit-scrollbar {
    width: 4px;
}
.left-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.left-sidebar::-webkit-scrollbar-thumb {
    background-color: #637099;
    border-radius: 20px;
    border: 3px solid transparent;
    padding-right: 4px;
}
.sidebar-nav ul .sidebar-item .sidebar-link {
    color: #c0c4d1;
}
.sidebar-nav ul .sidebar-item.selected>.sidebar-link {
    background: #1f2433;
}

/* HEADER */
#navbarSupportedContent {
    background-color: #ffffff !important;
}
.logo-icon {
    max-width: 48px;
}
.logo-icon > img {
    width: 100%;
}

/* BUTTON */
.btn {
    border-radius: 12px;
    font-weight: 300;
}
.btn.btn-sm {
    padding: 0.25rem 0.5rem;
}
.btn-primary { color: #fff; background-color: #5867dd; border-color: #5867dd; }
.btn-primary:hover { color: #fff; background-color: #384ad7; border-color: #2e40d4; }
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle { color: #fff; background-color: #2e40d4; border-color: #293ccc; }

.btn-secondary { background-color: transparent; border: 1px solid #e2e5ec; color: #646c9a; }
.btn-secondary:hover { color: #646c9a; background-color: #e2e5ec; border-color: #e2e5ec; }
.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle { color: #212529; background-color: #c0c0dd; border-color: #b7b7d9; }

.btn-success { color: #ffffff; background-color: #1dc9b7; border-color: #1dc9b7; }
.btn-success:hover { color: #fff; background-color: #18a899; border-color: #179c8e; }
.btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle { color: #fff; background-color: #179c8e; border-color: #159184; }

.btn-warning { color: #212529; background-color: #ffb822; border-color: #ffb822; }
.btn-warning:hover { color: #212529; background-color: #fbaa00; border-color: #eea200; }
.btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .show > .btn-warning.dropdown-toggle { color: #212529; background-color: #eea200; border-color: #e19900; }

.btn-danger { color: #fff; background-color: #fd397a; border-color: #fd397a; }
.btn-danger:hover { color: #fff; background-color: #fd1361; border-color: #fc0758; }
.btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, .show > .btn-danger.dropdown-toggle { color: #fff; background-color: #fc0758; border-color: #f40252; }

.btn-info { color: #fff; background-color: #5578eb; border-color: #5578eb; }
.btn-info:hover { color: #fff; background-color: #335de7; border-color: #2754e6; }
.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle { color: #fff; background-color: #2754e6; border-color: #1c4be4; }

.btn-light { color: #212529; background-color: #ffffff; border-color: #ffffff; }
.btn-light:hover { color: #212529; background-color: #ececec; border-color: #e6e6e6; }
.btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle { color: #212529; background-color: #e6e6e6; border-color: #dfdfdf; }

.btn-dark { color: #fff; background-color: #645ca1; border-color: #645ca1; }
.btn-dark:hover { color: #fff; background-color: #554e89; border-color: #504a80; }
.btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, .show > .btn-dark.dropdown-toggle { color: #fff; background-color: #504a80; border-color: #4b4578; }

/* CARD */
.card {
    border-radius: 24px;
}
.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #ebedf2;
}
.card .card-title {
    font-weight: normal;
    font-size: 1rem;
}

/* ALERT */
.alert {
    border-radius: 12px;
}
.alert-dismissible .btn-close {
    font-size: 10px;
    padding: 1.125rem;
}

/* DATA TABLE */
.dataTables_wrapper {
    padding: 0;
}
table.table {
    border-radius: 12px;
    overflow: hidden;
}
table.dataTable>thead .sorting:before, table.dataTable>thead .sorting:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_asc_disabled:after, table.dataTable>thead .sorting_desc_disabled:before, table.dataTable>thead .sorting_desc_disabled:after {
    bottom: 1rem;
    color: #646c9a;
}
.table thead th {
    color: #646c9a;
}
table.dataTable td, table.dataTable th {
    vertical-align: middle;
}
div.dataTables_wrapper div.dataTables_info {
    font-size: 12px;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    font-size: 12px;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination .paginate_button {
    margin-left: 4px;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
    border: none;
    border-radius: 25px;
    color: #3e5569;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item.active .page-link {
    background-color: #3e5569;
    color: #ffffff;
}
div.dataTables_wrapper .thumbnail {
    max-width: 80px;
    border-radius: 8px;
    box-shadow: 3px 5px 15px -6px #cacaca;
}
.table.table-sm td,
.table.table-sm th {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* SEPARATOR */
.separator {
    border-top: 1px solid #e9ecef;
    opacity: 1;
    margin: 2rem 0;
    display: block;
}

/* DROPDOWN MENU */
.dropdown-menu {
    border-radius: 12px;
    overflow: hidden;
}
.dropdown-item {
    color: #a1a8c3;
}

/* AUTH */
.auth-wrapper {
    width: 100%;
    height: 100%;
    max-width: 500px;
    margin: auto;
}
.auth-wrapper .auth-inner-wrapper {
    width: 80%;
    max-width: 1200px;
    height: 80%;
    background: #ffffff;
    border-radius: 25px;
}
/* .auth-wrapper .auth-left {
    width: 50%;
} */
.auth-box {
    width: 100%;
    max-width: 400px;
}

/* PAGE WRAPPER */
.page-wrapper {
    background: #f2f3f8;
    padding-top: 64px;
}

/* BANK ACCOUNTS */
.bank-accounts-wrapper .item:not(:last-child) {
    border-bottom: 1px solid #e9ecef!important;
}
.bank-accounts-wrapper .thumbnail {
    width: 50px;
    overflow: hidden;
}
.bank-accounts-wrapper .label {
    color: #333333;
    padding: 0;
    line-height: 1.5;
    font-size: 0.75rem;
}
.bank-accounts-wrapper .value {
    font-style: italic;
}

/* FOOTER */
.footer {
    color: #a1a8c3;
}

.CodeMirror {
    border: 1px solid #ededed;
    border-radius: 15px;
}
