/* Root */
:root {
    font-size: 12pt;
}

.auth.auth-bg-1 {
    background-position: center;
}

/* Main Page */
.sidebar {
    position: fixed;
    max-height: calc(100vh - 63px);
    overflow: auto;
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.sidebar::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

.sidebar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #1c45ef;
    background-image: -webkit-linear-gradient(45deg,
            rgba(255, 255, 255, .2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, .2) 50%,
            rgba(255, 255, 255, .2) 75%,
            transparent 75%,
            transparent)
}

.sidebar,
.navbar.default-layout .navbar-brand-wrapper {
    width: 230px;
}

.main-panel,
.navbar.default-layout .navbar-menu-wrapper {
    width: calc(100% - 230px);
    min-width: 160px;
}

.navbar-nav.mobile {
    display: none;
}

@media screen and (min-width: 991px) {
    .main-panel {
        margin-left: 230px;
    }
}

@media (max-width: 390px) {
    .navbar.default-layout .navbar-menu-wrapper .navbar-nav .nav-item.user-dropdown {
        margin-left: 0px;
    }

    .main-panel,
    .navbar.default-layout .navbar-menu-wrapper {
        width: 100%;
    }

    .navbar-brand-wrapper {
        display: none !important;
    }

    .navbar-nav.mobile {
        display: inline;
    }
}

@media (max-width: 991px) {
    .main-panel {
        width: 100%;
    }
}

/* Page */
.page-title {
    line-height: 1.25rem;
}

.page-title h4 {
    margin: 0;
}

.page-title span {
    font-size: 0.75rem;
    color: #6c757d;
}

.page-header .quick-links li:last-child {
    border-right: none;
    margin-right: 0;
}

.page-header .quick-links li:last-child>a {
    color: #6c757d;
}

.page-title-header {
    margin-bottom: 0;
}

.card h4.card-title {
    padding: 5px 0;
    font-size: 1.1rem;
}

.card h5.card-title {
    padding: 5px 0;
    font-size: 1rem;
}

/* Menu */
.sidebar>.nav .nav-item.active {
    background: #0f25d5;
}

.sidebar>.nav .nav-item:not(.hover-open) .collapse .sub-menu .nav-item.active .nav-link:before {
    background: #fff;
}

.sidebar>.nav .nav-item .nav-link .menu-icon {
    display: initial;
    margin-right: .75rem;
}

.sidebar>.nav>.nav-item:not(.nav-profile)>.nav-link:before {
    display: none;
}

.sidebar>.nav .nav-item .nav-link {
    padding: 15px 15px;
}

.sidebar>.nav:not(.sub-menu)>.nav-item:hover:not(.nav-profile):not(.hover-open)>.nav-link:not([aria-expanded="true"]) {
    padding-left: 25px;
}

.sidebar>.nav .nav-item:not(.hover-open) .collapse .sub-menu .nav-item .nav-link,
.sidebar>.nav .nav-item:not(.hover-open) .collapsing .sub-menu .nav-item .nav-link {
    padding-left: 43px;
}

.sidebar>.nav .nav-item:not(.hover-open) .collapse .sub-menu .nav-item .nav-link:before,
.sidebar>.nav .nav-item:not(.hover-open) .collapsing .sub-menu .nav-item .nav-link:before {
    left: 30px;
}

.sidebar>.nav .nav-item .nav-link .menu-title {
    font-size: 14px;
}

.sidebar>.nav .nav-item.nav-profile {
    margin: 10px auto;
}

.navbar.default-layout .navbar-brand-wrapper .navbar-brand img {
    max-height: 55px;
}

/* Profile */
.change-photo {
    background-color: white;
}


/* Table */
.table td,
.table th {
    white-space: initial;
    padding: 8px 12px;
}

.table th.action-1 {
    width: 4rem;
}

.table th.action-2 {
    width: 6rem;
}

.table th.action-3 {
    width: 8rem;
}

.table td.action {
    line-height: 1.9rem;
}

.no-data:before {
    font-family: "Material Design Icons";
    content: "\F1F8";
    display: block;
    font-size: 110px;
    margin-bottom: 5px;
}

.table td ul,
.table td ol {
    margin: 0;
}

/* Form */
.form-control {
    font-weight: 400;
}

.form-control::placeholder {
    color: #999;
}

.form-control-plaintext {
    border: 1px solid #dee2e6;
    font-size: 0.75rem;
    padding: 0.43rem 0.75rem;
    line-height: 1rem;
    min-height: 32px;
}

.form-control-plaintext.gray {
    background-color: #fafafa;
}

textarea.form-control {
    padding: .55rem .75rem;
}

.form-group.row:last-child {
    margin-bottom: 0;
}

form label>span.required {
    color: #ff6258;
}

/* Datepicker */
.datepickers-container {
    z-index: 1060;
}

/* Detail */
.form-group.row.detail {
    margin-bottom: 0;
}

.modal-header .close {
    margin: -1rem -1rem -1rem auto;
}

@media (min-width: 576px) {
    .detail-value::before {
        content: '\00a0:\00a0';
        vertical-align: top;
    }
}

@media (max-width: 576px) {
    .detail .detail-label {
        padding-bottom: 0.25rem;
    }

    .detail .detail-value {
        padding-top: 0.25rem;
    }
}

/* Modal */
.modal-md {
    max-width: 720px;
}

.modal-sm {
    max-width: 500px;
}

.modal-xs {
    max-width: 300px;
}

/* Image Thumbnail */
.img-thumbnail {
    max-width: 100px;
    max-height: 100px;
}

/* Image Popup */
.mfp-bg {
    z-index: 1052;
    opacity: 0.9;
}

.mfp-wrap {
    z-index: 1053;
}


/* Select2 */
span.selection {
    font-size: 0.75rem;
}

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

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px;
}

/* Button */
.btn {
    font-size: 1rem;
}

.btn.btn-sm {
    padding: 0.4rem 0.8rem;
}

.btn.btn-xs {
    padding: 0.4rem 0.6rem;
}

.btn.disabled,
.btn:disabled {
    cursor: not-allowed;
}

/* Floating Button */
.float {
    position: fixed;
    bottom: 100px;
    right: 60px;
}

/* File Upload */
.custom-file-input,
.custom-file {
    height: 2rem;
}

.custom-file .custom-file-label {
    height: 2rem;
    font-size: 0.75rem;
}

.custom-file {
    height: calc(2rem - 2pt);
}

.custom-file-label::after {
    content: 'Pilih Berkas';
    background-color: #6837d8;
    border-color: #602dd5;
    color: white;
    height: calc(2rem);
    top: -1px;
    right: -1px;
    line-height: 1.3rem;
}

/* Search */
#search .input-group-append button.btn {
    padding: 0.3rem 1rem 0 1rem;
}

/* Input Clear */
.btn-clear {
    margin-left: -30px;
    z-index: 100;
    padding: 0 11px;
    font-size: 10pt;
    font-weight: bold;
    display: none;
}

.btn-clear::after {
    content: '×';
}

/* Button */
.btn i {
    vertical-align: middle;
}


/* Parsley */
.parsley-error {
    border-color: #dc3545;
}

span.select2.select2-container .select2-selection.parsley-error {
    border: 1px solid #dc3545;
}

.form-control-file.parsley-error {
    border: 1px solid #dc3545;
}

.parsley-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.parsley-errors-list {
    list-style-type: none;
    padding-left: 0px;
    width: 100%;
    margin: 0.25rem 0;
    font-size: 80%;
    color: #dc3545;
}

/* Light Color */
.badge-success,
.badge-warning,
.btn-outline-success:hover,
.btn-outline-warning:hover {
    color: #fff;
}

.btn-outline-warning {
    color: #ffaf00;
}

.btn-outline-success {
    color: #19d895;
}

/* Input Loading */
.input-group .loading-icon {
    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;
    -webkit-animation: mdi-spin 2s infinite linear;
    animation: mdi-spin 2s infinite linear;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: mdi-spin;
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    height: 1.5rem;
}

.loading-icon::before {
    content: "\F771";
}

/* Text */
small,
.text-small {
    font-size: 0.65rem;
}

/* Line Height */
.lh-0 {
    line-height: 0.875rem !important;
}

.lh-1 {
    line-height: 1rem !important;
}

.lh-2 {
    line-height: 1.25rem !important;
}

.lh-3 {
    line-height: 1.5rem !important;
}

.lh-4 {
    line-height: 1.75rem !important;
}

.lh-5 {
    line-height: 2rem !important;
}

/* Spinner */
.loading {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.loading>div {
    background-color: #00b1e1;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.loading .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.loading .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.loading .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.loading .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.d-flex-stretch {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 4px 0px;
    gap: 0px 15px;
}