/*
 ----------------------------------------
 REDESIGN THEME LOOK
 ----------------------------------------
 Author : Imam Nc
*/

:root {
    --primary: #1a3b70;
    --success: #5cb85c;
    --warning: #faa61a;
    --danger: #f45944;
    --white: #ffffff;
    --info: #2578e9;
}

/* GENERAL */
body {
    position: relative;
    font-family: 'Inter', sans-serif !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
span:not(.glyphicon, .fa),
p,
small,
div,
table,
td,
th,
button,
label,
strong,
b {
    font-family: 'Inter', sans-serif !important;
}

body.fixed .wrapper {
    margin-top: 0 !important;
    padding-top: 40px;
}

.content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fw-bold {
    font-weight: bold;
}

.justify-content-left {
    justify-content: flex-start !important;
}

.navbar .navbar-brand {
    margin-right: 30px !important;
}

.back-to-top {
    width: 50px;
    height: 50px;
    border: solid 2px #fff;
    text-align: center;
    color: #fff;
    background-color: #1a3b70;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    border-radius: 100%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.cursor-default {
    cursor: default !important;
}

.disabled {
    /* opacity: 0.7; */
    cursor: not-allowed;
    pointer-events: none;
}

.row-flex {
    display: flex;
    flex-wrap: wrap !important;
}

select[disabled] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.vendor-input-group:has(select[disabled]) .fa-chevron-circle-down {
    display: none !important;
}

.vendor-input-group:has(.selectize-disabled) .fa-chevron-circle-down {
    display: none !important;
}

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

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


/* SCROLLBAR */
/* ::-webkit-scrollbar {
    width: 10px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} */


/* LOADER */
.page-loader {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #fff !important;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page-loader img {
    width: 130px;
}


/* BUTTON */
.btn-title {
    width: 35px !important;
    height: 35px !important;
    font-size: 14px !important;
    border-radius: 100%;
    margin-left: 5px !important;
}

.btn,
.--btn {
    cursor: pointer;
}

.btn:hover,
.--btn:hover {
    color: #fff !important;
}


/* FORM */
input.--form-control {
    color: #3c3c3c;
    background-color: #fff !important;
    border: 1px solid #ccc;
    box-shadow: none !important;
    /* text-align: center; */
    height: 50px;
}

input[type="text"].--form-control {
    color: #3c3c3c;
    background-color: #fff !important;
    border: 1px solid #ccc;
    box-shadow: none !important;
    /* text-align: center; */
    height: 50px;
    border-radius: 10px;
}

input[type="email"].--form-control {
    color: #3c3c3c;
    background-color: #fff !important;
    border: 1px solid #ccc;
    box-shadow: none !important;
    /* text-align: center; */
    height: 50px;
    border-radius: 10px;
}

textarea.--form-control {
    color: #3c3c3c;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    height: 5em;
    min-height: 40px;
    border-radius: 10px;
}

textarea {
    min-height: 40px !important;
}

select.--form-control {
    color: #3c3c3c;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    /* text-align: center; */
    height: 50px;
    border-radius: 10px;
}

select.form-control:not([disabled]),
select.--form-control:not([disabled]) {
    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='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 16px 12px;
    appearance: none;
}

input.--form-control:focus,
textarea.--form-control:focus {
    box-shadow: 0 0 0 var(--info) !important;
}

input.--form-control:disabled,
textarea.--form-control:disabled,
select.--form-control:disabled {
    background-color: #eee !important;
    border: 1px solid #ccc !important;
    color: #555555 !important;
    /* margin-bottom: 0 !important; */
}

.input-group {
    border-radius: 10px !important;
    border: solid 1px #ccc !important;
    overflow: hidden;
}

.input-group span {
    transform: translate(0) !important;
}

.input-group input {
    /* border-radius: 10px !important; */
    margin: 0 !important;
    border: 0 !important;
    height: 45px !important;
}

.input-group select {
    border-radius: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    height: 45px;
}

.input-group button {
    border-radius: 0 !important;
    margin: 0 !important;
    height: 45px;
}

.input-group .input-group-cont {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
}

.input-group .input-group-btn {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

.input-group .--form-control:disabled,
.input-group textarea.--form-control:disabled,
.input-group select.--form-control:disabled {
    border: 0 !important;
}

.input-group .input-group-addon {
    border: 0 !important;
    color: #fff;
    background-color: var(--primary) !important;
}

.input-group .input-group-addon button {
    margin: 0 !important;
}

.input-group .input-group-cont input[type=file] {
    padding-top: 10px !important;
}

.input-group:has(.--upload-button) input[type=text][disabled], .form-inline:has(.--upload-button) input[type=text][disabled] {
    background: #fff !important;
}

.input-group:has(button[disabled]) input[type=text][disabled], .form-inline:has(.--upload-button input[type=file][disabled]) input[type=text][disabled] {
    background: #cecece !important;
}

.input-group:has(.--upload-button) input[type=text][disabled], .form-inline:has(.--upload-button) input[type=text][disabled]::placeholder {
    color: #777;
}

.input-group:has(button[disabled]) input[type=text][disabled], .form-inline:has(.--upload-button input[type=file][disabled]) input[type=text][disabled]::placeholder {
    color: #333 !important;
}

.form-control,
.--form-control {
    height: 48px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif !important;
    font-weight: normal !important;
}

/* input.form-control,
input.--form-control {
    text-align: left !important;
} */

.input-group .btn,
.input-group .--btn {
    min-height: 44px;
}

.selectize-input {
    height: 43px;
    font-weight: normal !important;
}

.selectize-disabled {
    background: #cecece !important;
}

.selectize-disabled .selectize-input {
    background: #eee !important;
}

.selectize-disabled .selectize-input::after {
    opacity: 0;
}

.selectize-input.disabled::after {
    opacity: 0;
}

.--selectize .selectize-input, .selectize-input {
    border-radius: 10px;
    padding-right: 29px !important;
}

.selectize-disabled {
    background-color: white;
    border-radius: 10px;
    border: 2px solid #bbb !important;
    box-shadow: none !important;
}

.selectize-disabled .selectize-input {
    background: #eee !important;
    border: none;
    border-radius: 10px;
    box-shadow: none !important;
    padding: 13px 15px;
    height: 40px;
}

.selectize-control .selectize-input.disabled {
    opacity: 1 !important;
    background-color: #eee;
    background: #eee;
}

.selectize-input .item {
    max-width: 95% !important;
    text-wrap: nowrap !important;
    overflow: hidden;
}

.selectize-input:has(.item) input:focus {
    top: -4px !important;
}

.form-control.date-picker-background[disabled] {
    background-color: #eee !important;
    opacity: 1;
}

.form-control:focus{
    -webkit-box-shadow:unset!important;
    box-shadow:unset!important;
}

.--selectize {
    border: 1px solid #ccc !important;
}

.--selectize:has(.selectize-input):has(input[disabled]) {
    background-color: #eee !important;
    opacity: 1 !important;
}

.--selectize .selectize-input.locked {
    background-color: #eee !important;
    opacity: 1 !important;
}

.--selectize .selected{
    border-radius: 0!important;
}

.--input-group {
    display: flex;
}

.--input-group button {
    flex: 1;
    box-shadow: unset;
}


/* TABLE */
.table-responsive {
    border-radius: 0.75em !important;
}

.table,
.--table {
    border-radius: 0.75em;
}

.table thead {
    border-radius: 0.75em;
    overflow: hidden !important;
}

table.table-nowrap thead th {
    white-space: nowrap;
    border-radius: 0 !important;
}

table.table-nowrap tbody td {
    white-space: nowrap;
}

table th a {
    color: #fff !important;
}

table th a:hover {
    color: #fff !important;
}

.legend .btn,
.legend .--btn {
    cursor: default;
}

.btn-warning,
.--btn-warning {
    background: var(--warning) !important;
    background-color: var(--warning) !important;
}

.legend .btn-success:hover,
.legend .--btn-success:hover {
    background-color: var(--success) !important;
    background: var(--success) !important;
    filter: brightness(1) !important;
}

.legend .btn-primary:hover,
.legend .--btn-primary:hover {
    background-color: var(--primary) !important;
    background: var(--primary) !important;
    filter: brightness(1) !important;
}

.legend .btn-info:hover,
.legend .--btn-info:hover {
    background-color: var(--info) !important;
    background: var(--info) !important;
    filter: brightness(1) !important;
}

.legend .btn-danger:hover,
.legend .--btn-danger:hover {
    background-color: var(--danger) !important;
    background: var(--danger) !important;
    filter: brightness(1) !important;
}

.legend .btn-warning:hover,
.legend .--btn-warning:hover {
    background-color: var(--warning) !important;
    background: var(--warning) !important;
    filter: brightness(1) !important;
}


/* SIDEBAR */
.scrollbarSideBar::-webkit-scrollbar {
    width: 10px;
}

.scrollbarSideBar::-webkit-scrollbar-track {
    background: #1A3B70;
}

.scrollbarSideBar::-webkit-scrollbar-thumb {
    background: #112850;
}

.scrollbarSideBar::-webkit-scrollbar-thumb:hover {
    background: #0b1d38;
}

.left-side {
    width: 250px;
}


/* PAGINATION */
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}


/* HEADER */
header.header {
    padding: 10px;
    background-color: var(--primary);
    height: 75px;
    max-height: unset !important;
}

body>header>a.logo:hover {
    background-color: transparent !important;
}

.logo-large,
.logo-small {
    background-color: rgb(255 255 255 / 38%) !important;
    width: 80px;
    height: 100%;
    padding: 7px !important;
    border-radius: 7px !important;
    text-align: center;
    margin-right: 5px;
}

.logo-large img,
.logo-small img {
    height: 100%;
    vertical-align: unset !important;
}


/* FOOTER */
.footer {
    padding: 25px 15px;
    border-top: solid 3px #9c9c9c;
    display: flex;
    align-items: center;
}

.footer div {
    flex: 1;
}


/* NOT FOUND */
.not-found {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
}

.not-found img {
    width: 300px;
}


/* ETC */
.close:hover,
.close:focus {
    color: #f45944;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: .5 !important;
}

.text-hide {
    display: none !important;
    transition: none !important;
    margin-left: unset !important;
}

.blockUI {
    z-index: 30000 !important;
}

.modal .blockMsg {
    top: 35% !important;
    left: 35% !important;
}

.bootbox-body {
    word-wrap: break-word !important;
}

td.day.new {
    color: var(--info) !important;
    font-weight: bold !important;
}

.datepicker table.table th {
    background-color: unset;
    color: #333 !important;
}

/* TREEVIEW MODIFICATION */
.tree-grid-row a:has(.tree-icon) {
    cursor: pointer;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin-right: 10px;
}

.tree-grid-row a:has(.fa-chevron-down) {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    background-color: var(--danger);
    color: #fff;
}

.tree-grid-row a:has(.fa-chevron-right) {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    background-color: var(--info);
    color: #fff;
}

.tree-grid-row a > .tree-icon {
    padding: 12px !important;
}

.skin-blue .sidebar>.sidebar-menu>li>a:hover,
.skin-blue .sidebar>.sidebar-menu>li>label.label-sidebar:hover,
.skin-blue .sidebar>.sidebar-menu>li.active>a {
    color: white;
    background: #3d69b1 !important;
    transition: ease 0.3s;
}

.no-hover a:hover {
    background-color: #fff !important;
}

.table-footer .table-pagination .pagination {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

.table-footer .table-pagination * {
    font-size: 16px !important;
}

.table-footer h4 {
    font-size: 16px !important;
    font-weight: bold !important;
}

.table-footer .table-pagination h4 {
    font-size: 16px !important;
    font-weight: bold !important;
}

.table-footer .table-limit {
    display: flex;
    justify-content: end;
    align-items: center;
}

.table-footer .table-limit label {
    margin-bottom: 0 !important;
    font-weight: bold;
    display: block;
    text-align: left;
}

.table-footer .table-limit label h4 {
    font-weight: bold;
}

.table-footer .table-limit label, .table-footer .table-limit label * {
    font-size: 16px !important;
}

.table-footer .table-limit select {
    width: 80px !important;
    height: 44px;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] {
    background-color: #eee;
    opacity: 1;
}

*[disabled]::placeholder {
    color: #333;
    opacity: 1; /* Firefox */
}

.grupfile {
    background: #fff !important;
    border: 1px solid #ccc !important;
}

.grupfile label {
    margin-bottom: 0 !important;
}

.grupfile:has(label.cursor-not-allowed) {
    background: #cecece !important;
}

.grupfile:has(label.cursor-not-allowed) label {
    background-color: #bababa !important;
    color: #555555 !important;
}

.grupfile:has(label.cursor-not-allowed) span {
    background-color: #cecece !important;
    color: #555555 !important;
}

.growl .growl-message {
    word-break: break-word;
}

.border-right-none,
.border-right-none .selectize-input {
    border-top-right-radius: unset !important;
    border-bottom-right-radius: unset !important;
}

.border-left-none,
.border-left-none .selectize-input {
    border-top-left-radius: unset !important;
    border-bottom-left-radius: unset !important;
}

dl dd, .dl-horizontal dd {
    display: flex;
    word-break: break-all !important;
}

.alert {
    display: block !important;
}

.--btn:disabled:hover {
    filter: brightness(1) !important;
    color: #949494 !important;
}

.--upload-button button i {
    display: none !important;
}

/* Small Screen */
@media (max-width: 992px) {
    .hide-on-small {
        display: none !important;
    }

    .blockMsg {
        width: 60% !important;
        left: 20% !important;
    }

    .right-side {
        padding-left: 5px !important;
        overflow: hidden;
    }

    .logo-small {
        display: inline-block;
    }

    .logo-large {
        display: none;
    }

    body.fixed .sidebar-offcanvas {
        margin-top: 70px !important;
    }

    body.fixed>.wrapper {
        margin-top: 0px !important;
    }
}

/* Large screen */
@media screen and (min-width: 992px) {
    .hide-on-large {
        display: none !important;
    }

    .left-side {
        top: 80px;
        transition: all 0.25s;
        left: 0;
    }

    .logo-small {
        display: none;
    }

    .logo-large {
        display: inline-block;
    }
}

.badge {
    display: inline-block;
    padding: .5em 1em;
    font-size: 14px;
    font-weight: 100;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    background-color: #eee;
    color: #000;
}

.badge.badge-pill {
    border-radius: 100rem;
}

.badge-primary {
    background-color: var(--primary);
    color: #fff;
}

.badge-success {
    background-color: var(--success);
    color: #fff;
}

.badge-warning {
    background-color: var(--warning);
    color: #fff;
}

.badge-danger {
    background-color: var(--danger);
    color: #fff;
}

.badge-info {
    background-color: var(--info);
    color: #fff;
}

.upload-btn-flex {
    background-color: #1a3b70;
    color: white;
    padding: 7px;
    margin-bottom: 0;
    width: 33%;
    height: 43px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-label-flex {
    display: flex;
    align-items: center;
    overflow: auto hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-left: 5px;
    word-break: break-word;
    width: 80%;
    height: 43px;
}

.upload-label-disabled {
    display: flex;
    align-items: center;
    overflow: auto hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-left: 5px;
    word-break: break-word;
    width: 80%;
    height: 43px;
    background-color: #eee !important;
}

.upload-remove-btn {
    color: red;
    width: 5%;
    margin: 5px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-container-addition {
    background-color: #f2f2f2;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    align-items: center;
}