@import "../font/SF-Font/sf-font.css";

:root {
    /* BACKGROUND Kuning */
    --core-bg-yellow: #FEEFB3;
    /* BACKGROUND Hijau */
    --core-bg-green: #DFF2BF;
    /* BACKGROUND Merah */
    --core-bg-red: #FFBABA;
    /* BIRU (soft) NOTE/BACKGROUND/BUTTON */
    --core-bg-blue: #D9EDF7;
    /* BIRU BUTTON */
    --core-blue: #006DCC;
    /* ABU ABU BUTTON */
    --core-grey: #E2E2E2;
    /* KUNING BUTTON */
    --core-yellow: #FFC800;
    /* HIJAU BUTTON */
    --core-green: #9ECB42;
    /* MERAH BUTTON */
    --core-red: #F66A70;
    --border-color: rgba(0, 0, 0, 0.1);
}

html,
body {
    font-family: 'SF UI Text Regular';
    height: 100vh;
}

body {
    font-size: 13px;
}

.form-control {
    font-size: 13px;
}

.no-scroll-bar {
    max-height: 70vh;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scroll-bar::-webkit-scrollbar {
    display: none;
}

.btn {
    border-radius: 0;
}

.btn-grey {
    background-color: var(--core-grey);
    color: #000;
}


.btn-grey:focus,
.btn-grey:focus-visible,
.btn-grey:active,
.btn-grey:hover {
    background-color: var(--core-grey) !important;
    border-color: var(--core-grey) !important;
    color: #000 !important;
}

.btn-green {
    background-color: var(--core-green) !important;
    color: #000 !important;
}

.btn-green:focus,
.btn-green:focus-visible,
.btn-green:active,
.btn-green:hover {
    background-color: var(--core-green) !important;
    border-color: var(--core-green) !important;
    color: #000 !important;
}

.btn-blue {
    background-color: var(--core-blue) !important;
    color: #fff !important;
}

.btn-blue:focus,
.btn-blue:focus-visible,
.btn-blue:active,
.btn-blue:hover {
    background-color: var(--core-blue) !important;
    border-color: var(--core-blue) !important;
    color: #fff !important;
}

.btn-outline-blue {
    background-color: #fff !important;
    color: var(--core-blue) !important;
    border-color: var(--core-blue) !important;
}

.btn-outline-blue:focus,
.btn-outline-blue:focus-visible,
.btn-outline-blue:active,
.btn-outline-blue:hover {
    background-color: #FFF !important;
    border-color: var(--core-blue) !important;
    color: var(--core-blue) !important;
}

.btn-yellow {
    background-color: var(--core-yellow);
    color: #000;
}

.btn-yellow:focus,
.btn-yellow:focus-visible,
.btn-yellow:active,
.btn-yellow:hover {
    background-color: var(--core-yellow) !important;
    border-color: var(--core-yellow) !important;
    color: #000 !important;
}

.btn-black {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #FFF !important;
}

.btn-black:focus,
.btn-black:focus-visible,
.btn-black:active,
.btn-black:hover {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #FFF !important;
}

.btn-red {
    background-color: var(--core-red);
    color: #fff;
}

.btn-red:focus,
.btn-red:focus-visible,
.btn-red:active,
.btn-red:hover {
    background-color: var(--core-red) !important;
    color: #fff !important;
}

.navbar-nav .nav-link.active {
    font-family: 'SF UI Text Medium';
}

.navbar-nav .nav-link {
    font-size: 14px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.medium {
    font-family: 'SF UI Text Medium';
}

.semi-bold {
    font-family: 'SF UI Text Semibold';
}

.bold {
    font-family: 'SF UI Text Bold';
}

.border-bottom-core {
    border-bottom: 2px solid var(--core-blue);
}

.loader,
.overlay,
.loading {
    width: 100%;
    height: 100vh;
    z-index: 1059;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: #0003;
}

.overlay {
    background-color: #00000066
}

.loading {
    background-color: #0009;
}

.loading .spinner-border {
    width: 70px;
    height: 70px;
    font-size: 40px;
    margin: 0 auto;
    color: #FFF;
}

.loading span {
    margin-top: 15px;
    font-size: 20px;
    color: #FFF;
}

.loader .spinner-border {
    border-width: .5rem;
    width: 3rem;
    height: 3rem;
}


.select2-container--default .select2-selection--multiple {
    min-height: 38px;
    border-radius: .375rem;
    border: 1px solid #ced4da;
}

.modal-dialog .select2-container--default {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field {
    height: 26px;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border-radius: .375rem;
    border: 1px solid #ced4da;
}

.select2-results__option--selectable,
.select2-container--default .select2-selection--single {
    font-size: 1rem;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    height: 100%;
    align-items: center;
    display: flex;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.nav-link[disabled] {
    color: var(--core-grey);
}

.bg-white {
    background: #fff;
}

.bg-green {
    background: var(--core-bg-green) !important;
}

.bg-grey {
    background: var(--core-grey) !important;
}

.bg-light-grey {
    background: #f4f4f4 !important;
}

.bg-green-dark {
    background: var(--core-green);
}

.bg-yellow {
    background: var(--core-bg-yellow) !important;
}

.bg-blue-dark {
    background: var(--core-blue) !important;
    color: #fff !important;
}

.bg-blue {
    background: var(--core-bg-blue);
}

.bg-light-red {
    background-color: #FFDADA !important;
}

.bg-red {
    background: var(--core-bg-red) !important;
}

.text-grey {
    color: var(--core-grey) !important;
}

.text-green {
    color: var(--core-green) !important;
}

.text-red {
    color: red !important;
}

.text-light-red {
    color: var(--core-red) !important;
}

table.no-border> :not(caption)>*>* {
    border-bottom-width: 0;
}

/* Only for this project */
.core-card {
    /* width: 100%; */
    border: 2px solid var(--core-grey);
}

.table-responsive {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.table-responsive::-webkit-scrollbar {
    display: none;
}

.table-fixed-header thead tr td,
.table-fixed-header thead tr th {
    background-color: #ddd !important;
    text-align: center;
}

.table-fixed-header th,
.table-fixed-header td {
    padding: 8px;

    border-width: 0;
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    border-color: #b6b6b6;
}

table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting_asc_disabled,
table.dataTable thead>tr>th.sorting_desc_disabled,
table.dataTable thead>tr>td.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting_asc_disabled,
table.dataTable thead>tr>td.sorting_desc_disabled {
    padding-right: 16px;
}

table.dataTable thead>tr>th.sorting::before,
table.dataTable thead>tr>th.sorting::after,
table.dataTable thead>tr>th.sorting_asc::before,
table.dataTable thead>tr>th.sorting_asc::after,
table.dataTable thead>tr>th.sorting_desc::before,
table.dataTable thead>tr>th.sorting_desc::after,
table.dataTable thead>tr>th.sorting_asc_disabled::before,
table.dataTable thead>tr>th.sorting_asc_disabled::after,
table.dataTable thead>tr>th.sorting_desc_disabled::before,
table.dataTable thead>tr>th.sorting_desc_disabled::after,
table.dataTable thead>tr>td.sorting::before,
table.dataTable thead>tr>td.sorting::after,
table.dataTable thead>tr>td.sorting_asc::before,
table.dataTable thead>tr>td.sorting_asc::after,
table.dataTable thead>tr>td.sorting_desc::before,
table.dataTable thead>tr>td.sorting_desc::after,
table.dataTable thead>tr>td.sorting_asc_disabled::before,
table.dataTable thead>tr>td.sorting_asc_disabled::after,
table.dataTable thead>tr>td.sorting_desc_disabled::before,
table.dataTable thead>tr>td.sorting_desc_disabled::after {
    right: 6px;
}

.fileUpload {
    width: 100%;
    padding: 15px;
    background-color: #e6e6e6;
    min-height: 100px;
    display: flex;
    outline: 2px dashed var(--core-grey);
    border: 3px solid #fff;
    border-radius: 8px;
}

.fileUpload .default {
    margin: 0 auto;
    height: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    align-self: center;
}

.fileUpload img.loaded {
    height: 80px;
    width: 80px;
    border-radius: 10px;
    border: 1px solid #a3a3a3;
    display: flex;
    align-items: center;
    align-self: center;
}

#progress-wrp {
    border: 1px solid var(--core-green);
    padding: 1px;
    position: relative;
    height: 20px;
    border-radius: 3px;
    margin-top: 10px;
    text-align: left;
    background: #fff;
    width: 70%;
}

#progress-wrp .progress-bar {
    height: 100%;
    border-radius: 3px;
    background-color: var(--core-bg-green);
    width: 0;
}

#progress-wrp .status {
    font-size: 12px;
    top: 0;
    left: 50%;
    position: absolute;
    display: inline-block;
    color: #000;
}

.select-seri,
.select-office {
    min-width: 140px;
    width: max-content;
    font-size: 12px !important;
    padding: .3rem .5rem;
    position: relative;
}

.select-office span {
    right: -12px;
    z-index: 10;
}

.ava {
    height: 50px;
    width: 50px;
    border-radius: 13px;
    background: var(--core-grey);
    color: #333;
    justify-content: center;
    align-items: center;
    display: flex;

    font-family: 'SF UI Text Medium';
}

.divider-form {
    width: 100%;
    height: 2px;
    background-color: var(--core-grey);
}

.datepicker-dropdown {
    z-index: 1060 !important;
}

.dataTables_paginate .pagination,
.dataTables_paginate .paginate_button .page-link {
    font-size: 13px !important;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: #FFF;
    background-color: var(--core-blue);
    border-color: var(--core-blue);
}

.page-link:hover {
    z-index: 2;
    color: #FFF;
    background-color: var(--core-blue);
    border-color: var(--core-blue);
}


.table-beban tr td .input-beban {
    font-size: 12px;
    border-radius: 5px;
    text-align: end;
}

.table-beban tr td .input-beban:focus {
    box-shadow: none;
}

.table-beban tr td:last-child {
    width: 60px;
}

.table-kesimpulan tbody tr td .form-control {
    outline: none;
    box-shadow: none;
    border-color: #ced4da;
}

.table-kesimpulan thead tr th {
    font-weight: bold;
    background-color: #ddd !important;
    text-align: center;
}

.table-kesimpulan .thead-style {
    font-weight: bold;
    background-color: #ddd !important;
    text-align: center;
}

.table-kesimpulan .font-normal {
    font-weight: normal;
}

.table-kesimpulan tbody,
.table-kesimpulan td,
.table-kesimpulan tfoot,
.table-kesimpulan th,
.table-kesimpulan thead,
.table-kesimpulan tr {
    border-color: #b6b6b6;
    vertical-align: middle;
}


.table-kesimpulan {
    position: relative;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.table-kesimpulan>tbody>*>* {
    padding: .7rem .5rem;
}

.table-kesimpulan>thead>*>* {
    padding: .3rem .5rem;
}

.table-kesimpulan thead tr th {
    z-index: 2;
    position: sticky;
    top: 0;
}

.table-kesimpulan tr th,
.table-kesimpulan tr td {
    border-right: none;
    border-bottom: 1px solid #b6b6b6;
}

.table-kesimpulan tr th:last-child,
.table-kesimpulan tr td:last-child {
    border-right: 1px solid #b6b6b6;
}

.frozen-left {
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
    background: #fff;
}

.table-kesimpulan tr th:first-child,
.table-kesimpulan tr td:first-child {
    border-left: 1px solid #b6b6b6;
}

.table-kesimpulan thead tr th,
.table-kesimpulan thead tr td {
    border-top: 1px solid #b6b6b6;
}

#data input.form-control {
    border: none;
    border-radius: 0;
}

.disable-action {
    pointer-events: none;
    background-color: #f4f4f4 !important;
}

.disable-action input.form-control {
    background: #f4f4f4 !important;
    border-radius: 0;
}


.modal-header {
    background: var(--border-color);
    border-radius: 0px;
}

.modal-title {
    font-weight: 600;
    opacity: 0.8;
}

.modal-content {
    border-radius: 0px;
    border: 0px;
    box-shadow: var(--shadow);
}

.card-header {
    border-radius: 0px !important;
    background-color: #dddddd;
    border-bottom: 0px;
}

.card.card-flatten {
    border: 1px solid var(--border-color);
    border-radius: 0px;
}

.swal2-input {
    margin: 1em 2em 3px;
}