i.fas {
    font-display: swap !important;
}

html,
body {
    height: 100%;
    position: relative;
}

h1 {
    font-weight: bold !important;
    font-size: 1.8rem !important;
}

body {
    color: #111 !important;
    font-family: Sans-serif !important;
}

.eye-class {
    width: 1.35rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.btn {
    border-radius: 0.2rem !important;
}

#wrapper,
#content-wrapper {
    background-color: rgb(238, 242, 255, 0.3) !important;
}

.p-label {
    padding: 0.4rem !important;
}

.badge-info,
.alert-info {
    background-color: rgb(224, 231, 255) !important;
    color: rgb(30, 64, 175) !important;
}

.btn-primary {
    background-color: rgb(9, 32, 64) !important;
    border-color: rgb(9, 32, 64) !important;
}

.btn-info {
    background: rgb(30, 64, 175) !important;
    border-color: rgba(30, 64, 175, 0.7) !important;
}

.badge-warning {
    background-color: rgb(254, 240, 138) !important;
    color: rgb(133, 77, 14) !important;
}

.btn-warning {
    background-color: rgb(230, 184, 11) !important;
    border-color: rgb(230, 184, 11) !important;
}

.badge-success,
.alert-success {
    background-color: rgb(220, 252, 231) !important;
    color: rgb(22, 101, 52) !important;
}

.btn-success {
    background-color: rgb(22, 101, 52) !important;
    border-color: rgba(22, 101, 52, 0.7) !important;
}

.badge-danger,
.alert-danger {
    background-color: rgb(254, 226, 226) !important;
    color: rgb(153, 27, 27) !important;
}

.btn-danger {
    background-color: rgb(253, 27, 27) !important;
    border-color: rgb(253, 27, 27) !important;
}

.badge-secondary {
    background-color: rgba(40, 40, 40, 0.2) !important;
    color: rgb(40, 40, 40) !important;
}

.login-form {
    width: 900px;
    margin: 0rem auto;
}

.form-control {
    border-color: rgb(169, 171, 186) !important;
    border-radius: 0.2rem !important;
}

@media screen and (max-width: 1024px) {
    .login-form {
        width: calc(100% - 8rem);
        margin-left: 4rem;
        margin-right: 4rem;
    }
}

@media screen and (max-width: 768px) {
    .login-form {
        width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .sidebar {
        z-index: 9999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 0 !important;
        box-sizing: border-box !important;
        display: none !important;
    }

    .sidebar.toggled {
        display: flex !important;
        width: 18rem !important;
    }

    .sidebar .nav-item .nav-link {
        width: 100% !important;
        padding-left: calc(1rem + 5px) !important;
    }

    .sidebar .nav-item.active .nav-link {
        padding-left: 1rem !important;
    }

    .sidebar .nav-item .nav-link span {
        margin-left: 1rem;
    }
}

.nav-item.active {
    background: rgba(220, 220, 220, 0.5);
}

select.form-control {
    appearance: base-select;
}

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

.sidebar .nav-item .collapse,
.sidebar .nav-item .collapsing {
    margin: 0rem !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
    color: #222 !important;
    background: rgba(220, 220, 220, 0.3);
}

.sidebar .nav-item .collapse .collapse-inner,
.sidebar .nav-item .collapsing .collapse-inner {
    border-bottom: thin solid rgba(180, 180, 180, 0.4);
    padding: 0rem !important;
    margin: 0rem !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover {
    border-radius: 0.2rem !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
    margin: 0rem !important;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}

.sidebar-light .nav-item .nav-link,
.sidebar-light .nav-item .nav-link i {
    color: rgb(40, 40, 40) !important;
}

.event-banner-on-admin {
    height: 10rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.transaksi-hidden-bg {
    background-color: rgba(254, 155, 74, 0.5);
}

.transaksi-cek-ulang-bg {
    background-color: rgba(255, 60, 60, 0.2);
}

.event-tags {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 99;
    font-size: 1.2rem;
}

.event-tab {
    color: #000 !important;
}

.event-tab.active {
    font-weight: bold;
}

.event-banner-on-admin img {
    display: block;
    max-width: 100%;
    max-height: 10rem;
    height: auto;
    width: auto;
    margin: auto;
}

.login-logo {
    width: 18rem;
}

.card-login {
    height: 32rem;
    box-sizing: border-box;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
}

.background-avatar {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    aspect-ratio: 1/1;
}

.card-login.first {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.card-login.last {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.mobile-show,
.medium-show {
    display: none;
}

.sidebar-toggled .nav-link span {
    display: none;
}

.profile-pic {
    width: 3rem;
    height: 3rem;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.bg-gradient-primary {
    background: #fff !important;
    border-right: thin solid rgba(180, 180, 180, 0.7);
}

@media screen and (max-width: 1024px) {
    .medium-hide {
        display: none;
    }

    .medium-show {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }

    .login-logo-mobile {
        width: 5rem;
    }
}

/* custom protix css */
.nav-item.active {
    background-color: transparent;
}

.sidebar-light .nav-item.active .nav-link {
    color: rgb(9, 32, 64) !important;
    border-left: 5px solid rgb(9, 32, 64) !important;
    background-color: rgba(9, 32, 64, 0.1) !important;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item.active,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
    background-color: rgba(9, 32, 64, 0.05);
    color: rgb(9, 32, 64) !important;
    border-radius: 0.2rem !important;
    margin: 0rem !important;
}

footer.sticky-footer {
    margin-top: 2rem;
    padding: 1rem 0 !important;
}

#form-cari input {
    padding: 0.4rem 0.8rem !important;
    font-size: 10pt;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

#form-cari button {
    padding: 0.4rem !important;
    font-size: 10pt;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.mobile-menu-open-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 88;
    background-color: rgba(40, 40, 40, 0.5);
}

.bg-primary,
.modal-header {
    background-color: rgb(9, 32, 64) !important;
}

.modal-header {
    color: #fff !important;
}

.btn-close {
    background-color: #fff !important;
    margin-top: 0.5rem;
    font-weight: bold;
}

.data-card .card-body {
    padding: 1rem !important;
}

@media screen and (max-width: 768px) {
    .sidebar-toggled .mobile-menu-open-bg {
        display: block;
    }
    .card-body {
        padding: 0.35rem !important;
    }
    .sidebar-toggled #sidebarToggleTop {
        position: fixed;
        left: 18rem;
        top: 1rem;
        z-index: 9999;
    }

    .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .data-card {
        font-size: 0.5rem !important;
    }

    .data-card .card-body {
        padding: 0.5rem !important;
    }

    .data-card .btn {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.5rem !important;
    }

    .data-card h5 {
        font-size: 0.7rem !important;
    }

    .p-label {
        padding: 0.3rem !important;
        font-size: 0.3rem !important;
        border-radius: 0.2rem !important;
    }

    h1 {
        font-size: 1.6rem !important;
    }

    h2 {
        font-size: 1.45rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.175rem !important;
    }

    h5 {
        font-size: 1.05rem !important;
    }

    h6 {
        font-size: 0.95rem !important;
    }

    .btn {
        font-size: 9pt !important;
    }

    .form-control {
        font-size: 9pt !important;
        padding: 0.3rem 0.5rem !important;
    }
}

.modal.modal-fullscreen .modal-dialog {
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
}

.bg-primary-lighter {
    background-color: rgba(9, 32, 64, 0.3) !important;
}

.text-protix-light {
    color: rgb(80, 80, 80);
}

/* qr scanner part */
.scanner-reader {
    width: 100%;
}
.scanner-container {
    width: 100%;
    max-width: 380px;
    margin: 0rem auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.scanner-container .scan-region-highlight {
    border-radius: 30px;
    outline: rgba(0, 0, 0, 0.25) solid 50vmax;
}
.scanner-container .scan-region-highlight-svg {
    display: none;
}
.scanner-container .code-outline-highlight {
    stroke: rgba(255, 255, 255, 0.5) !important;
    stroke-width: 15 !important;
    stroke-dasharray: none !important;
}
