body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 0.9rem;
    position: relative;
}

.btn {
    font-size: 0.9rem;
}

.is-invalid .select2-container--default .select2-selection--single {
    border: 1px solid #e0e0e0;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: 97px;
}

.brand-link .brand-image {
    margin-top: -1px;
    margin-left: 9px;
}

.user-panel .company-logo {
    width: 100%;
    height: auto;
}

.navbar-nav > .user-menu .user-image {
    margin-top: 0px;
    margin-right: 0px;
    float: none;
    height: 15px;
    width: 15px;
}

a.btn-outline-dark:hover {
    color: #fff !important;
}

.table-bordered thead td,
.table-bordered thead th {
    border-bottom-width: 0px;
    border-top-width: 0px;
}

.dataTables_length .select2-container {
    display: inline-table;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(244 246 249);
}

.modal-content {
    box-shadow: none;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    margin-top: -1px;
}

.user-panel .info {
    padding: 5px 10px;
}

label:not(.form-check-label):not(.custom-file-label) {
    color: #343a40;
    font-weight: normal;
}

.modal {
    margin-top: 0 !important;
}

.modal-backdrop.show {
    opacity: 0;
}

table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > td:first-child:before,
table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > th:first-child:before {
    top: 14px;
    left: 7px;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    display: grid;
}

.navbar-light .navbar-nav .nav-link {
    padding: 1rem;
    height: unset;
    color: #f2f2f2 !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    color: rgb(224, 224, 224);
}

.dropdown-menu {
    border-color: #f2f2f2;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header .img-circle {
    z-index: 5;
    height: 90px;
    width: 90px;
    border: 3px solid;
    border-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #e0e0e0;
}

.form-control {
    border-color: #e0e0e0;
    font-size: 0.9rem;
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #e0e0e0;
}

.login-card-body
    .input-group
    .form-control.is-invalid
    ~ .input-group-append
    .input-group-text,
.register-card-body
    .input-group
    .form-control.is-invalid
    ~ .input-group-append
    .input-group-text {
    border-color: #e0e0e0;
}

.login-logo,
.register-logo {
    font-size: 1.7rem;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.brand-link {
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.dropdown-menu {
    font-size: 0.9rem;
}

.input-group-text {
    font-size: 0.9rem;
}

.custom-file-label::after {
    line-height: 1.8;
}

.custom-file-label {
    padding: 0.5rem 0.75rem 0.375rem 0.75rem;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file-input:lang(en) ~ .custom-file-label::after {
    content: "Pilih File";
}

.page-link:focus {
    box-shadow: none;
}

.select2-container--default .select2-dropdown {
    z-index: 9999;
}

.modal {
    overflow-y: auto !important;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection {
    background: #e9ecef;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__arrow,
select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__clear {
    display: none;
}

.card .overlay,
.info-box .overlay,
.overlay-wrapper .overlay,
.small-box .overlay {
    z-index: 99999;
}

.dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:active {
    background: rgba(0, 0, 0, 0.1);
    outline: none;
    color: inherit;
}

button:focus {
    outline: none;
}

.blink-me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
    }
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    margin-top: -3px;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "";
}

.alert-dismissible .close,
.alert-dismissible .mailbox-attachment-close {
    top: -4px;
}

.dropdown-toggle::after {
    display: none;
}

.sidebar li > a > .pull-right-container {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -11px;
}

.wrapper .content-wrapper {
    min-height: calc(100vh - calc(4.3rem));
}

.navbar-toggler {
    border: none;
}

.icon-menu {
    width: 18px;
    text-align: left;
}

.bg-primary,
.select2-container--default
    .select2-results__option--highlighted[aria-selected],
.select2-container--default
    .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #820d18 !important;
}

.form-control:focus,
.login-card-body
    .input-group
    .form-control:focus
    ~ .input-group-append
    .input-group-text,
.register-card-body
    .input-group
    .form-control:focus
    ~ .input-group-append
    .input-group-text {
    border-color: #b9858a !important;
}

.btn-primary {
    background-color: #820d18 !important;
    border-color: #820d18 !important;
}

.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    background-color: #750d18 !important;
    border-color: #750d18 !important;
}

.page-link {
    color: #820d18 !important;
}

.text-primary {
    color: #1565c0 !important;
}

.page-item.active .page-link {
    color: #f2f2f2 !important;
    background-color: #820d18 !important;
    border-color: #820d18 !important;
}

.page-link:hover {
    color: #750d18 !important;
}

.turbolinks-progress-bar {
    height: 5px;
    background-color: #49080e;
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 5.5rem auto;
    }
}

.badge-primary,
.datepicker table tr td.active:active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > td:first-child:before,
table.dataTable.dtr-inline.collapsed
    > tbody
    > tr[role="row"]
    > th:first-child:before {
    background-color: #1565c0 !important;
}

.swal2-styled.swal2-confirm,
.icheck-primary
    > input:first-child:checked
    + input[type="hidden"]
    + label::before,
.icheck-primary > input:first-child:checked + label::before {
    background-color: #1565c0 !important;
    border-color: #1565c0 !important;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default .select2-dropdown .select2-search__field:focus,
.select2-container--default
    .select2-search--inline
    .select2-search__field:focus,
.custom-file-input:focus ~ .custom-file-label {
    border-color: #b9858a;
}

.text-danger {
    color: #f70018 !important;
}
