/* All Import goes up here */
@import "utilities/animations.css";
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800";

:root {
    --main-color: #2ed573;
    --main-second-color: #2ec1d5;
    --main-second-hover-color: #2ea4aa;
    --small-font: 0.81rem;
    --medium-font: 0.9rem;
    --exp-bg-color: #ff3333;
    --exp-bg-color-hover: #d53a3a;

    --low-bg-color: #ff9900;
    --low-bg-color-hover: #d38817;

    --death-stock-bg-color: #c57d10;
    --death-stock-bg-color-hover: #a8660d;

    --font-weight-medium: 600;
}
.color-ccc {
    color: #ccc;
}

/* Override Bootstrap here */
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow: hidden;
}
.form-group {
    margin-bottom: 0.4em;
}
.font-medium {
    font-weight: var(--font-weight-medium);
}
.form-control-sm {
    padding: 0.25rem 0.7rem;
}
.overflow-visible {
    overflow: visible !important;
}
.overflow-initial {
    overflow: initial;
}
nav {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.navbar.fixed-top {
    z-index: 9;
}
.bg-second-color {
    background-color: var(--main-second-color);
}
.navbar-nav {
    max-width: 55%;
}
#navUsername {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.navbar .container-fluid {
    padding: 0 40px;
}

@media (max-width: 767px) {
    .navbar .container-fluid ul {
        display: none;
    }
}

h2,
h3 {
    line-height: 1.3;
}
h5,
h6 {
    line-height: inherit;
}
fieldset {
    border: 1px solid var(--main-color);
    padding: 0 1.4em 0.5em 1.4em;
    margin: 0 0 0.4em 0;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}
noscript div {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
}
noscript div p {
    margin-left: 10px;
    font-size: 1.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
legend {
    font-size: 1.1em;
    font-weight: bold;
    width: inherit; /* Or auto */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
}
/* ------------- */
/* html, img, picture, video {
  filter: invert(1) hue-rotate(180deg);
} */
html {
    scroll-behavior: smooth;
}
/*
    DEMO STYLE
*/
body {
    height: 100vh;
    background-color: #f3f2f2;
    font-family: "Poppins", sans-serif !important;
}
svg {
    vertical-align: middle;
    width: 1.4em;
    height: 1.3em;
    fill: #fff;
}
svg + span {
    vertical-align: middle;
}
.pos-unset {
    position: unset !important;
}
.fill-black {
    fill: #000;
}
.fill-gray {
    fill: var(--gray);
}
.bg-gray {
    background-color: var(--gray);
}
.fill-primary {
    fill: var(--primary);
}
.fill-success {
    fill: var(--success);
}
.fill-info {
    fill: var(--info);
}
.fill-warning {
    fill: #ffc107;
}
.fill-danger {
    fill: #dc3545;
}
.svg-alergi {
    fill: #dc3545;
    width: 0.6em;
    height: 1em;
}
.svg-fever {
    height: 1.4em;
    width: 1.3em;
}
.cursor-default {
    cursor: default !important;
}
.cursor-pointer {
    cursor: pointer !important;
}
.pointer-none {
    pointer-events: none;
}
.w-fit-content {
    width: fit-content;
}
.list-sm {
    padding: 1px 7px;
    font-size: 0.83rem;
}
.line-through {
    text-decoration: line-through;
}
/* --------------- */
*,
*:focus,
*:hover {
    outline: none;
}
.hidden {
    display: none !important;
}
.br-0 {
    border-radius: 0;
}
.refresh-info {
    cursor: help;
}
a:hover {
    color: inherit;
    text-decoration: none;
}
p,
label {
    margin-bottom: 0;
}
label {
    user-select: none;
}
button {
    outline: none !important;
}
hr {
    border-color: var(--main-color);
    border-style: solid;
    margin: 0;
}
input:not([type="radio"]):focus,
textarea:focus,
select:focus {
    border: 1px solid #3bc1c9 !important;
    box-shadow: 0 0 8px #3bc1c9 !important;
}
header {
    background-color: rgba(245, 245, 245);
    padding: 0 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.29);
    z-index: 2 !important;
    height: 3.2em;
}
/* Table Ellipsis bootstrap */
.table.table-ellipsis tbody td {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*Sidebar*/
.sidebar {
    position: fixed;
}

.tambah-btn:hover {
    background-color: #2cb063;
    border-color: #2cb063;
}
.tambah-btn svg {
    height: 1.5em;
}

/* TOAST */
.container-toast {
    position: fixed;
    right: 0;
    top: 10px;
    z-index: 9999;
    overflow: visible;
}
.toast {
    background: #ffdb9b;
    padding: 8px 0px 8px 41px;
    width: 420px;
    border-radius: 4px;
    overflow: hidden;
    margin: 3% 0;
    position: relative;
}

.toast.showToast {
    opacity: 1;
    pointer-events: auto;
}
.toast.show {
    animation: show_slide 1s ease forwards;
}
.toast.hide {
    animation: hide_slide 1s ease forwards;
}

.toast .svg {
    font-size: 30px;
    width: 10%;
    height: 45%;
    display: inline-block;
}
.toast .msg {
    padding: 0 10px;
    color: #fff;
    width: 77%;
    display: inline-block;
    vertical-align: middle;
}
.toast .close-btn {
    position: absolute;
    right: 0px;
    top: 0;
    background: #ffd080;
    cursor: pointer;
    width: 10%;
    display: inline-block;
    font-size: 2em;
    height: 100%;
    text-align: center;
    color: #fff;
}

/* Overlay Background */
.overlayBg,
.overlayBg2,
.overlayBg3 {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    overflow: auto;
    animation: fade 300ms;
    opacity: 1;
}

.overlayBg2 {
    z-index: 10;
}

.overlayBg3 {
    z-index: 11;
}

/* Spinner Background */
.spinner {
    height: 100%;
    width: 100%;
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fade 250ms;
    z-index: 9999;
    text-align: center;
    filter: blur(10px) contrast(20);
}

/* SPINNER V2 */
.blob-1,
.blob-2 {
    width: 70px;
    height: 70px;
    position: absolute;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.blob-1 {
    left: 20%;
    animation: osc-l 2.2s ease infinite;
}
.blob-2 {
    left: 80%;
    animation: osc-r 2.2s ease infinite;
    background: #0ff;
}

/* Frontt*/
.front {
    margin-top: 0.3%;
}
.front .title,
.title-antrian-pasien {
    background-color: var(--cyan);
    color: #fff;
    font-weight: bold;
    padding: 0.3% 0;
    padding-left: 2%;
}

.search-container {
    background-color: #eaeaea;
    border-radius: 5px;
    padding: 4px 0 4px 15px;
}
.search-container input.search {
    width: 65%;
    border: 1px solid #57606f;
    margin-left: 2%;
    padding-left: 2%;
    height: 35px;
    border-radius: 3px;
    background: none;
    color: #57606f;
    vertical-align: middle;
}
input.search:focus {
    border-color: var(--main-color);
}

.search-container label {
    color: #57606f;
    display: inline-block;
    vertical-align: middle;
    padding: 0.1%;
}
/*Footer*/
footer {
    padding: 0.68%;
    background-color: #f8f9fa;
    text-align: center;
    color: #5a6966;
    font-size: 0.95em;
    font-weight: bold;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.rq::after {
    content: " *";
    color: red;
}

#innerKanan > * {
    animation: fade 0.5s;
}

.print-medrec {
    position: absolute;
    z-index: 1;
    right: 3%;
}

.print-medrec svg {
    width: 0.9rem;
    height: 0.9rem;
    vertical-align: sub;
}

.svg-demam {
    height: 1em;
    width: 1em;
}

.svg-close-pasien {
    position: absolute;
    z-index: 1;
    cursor: pointer;
    width: 1.7rem;
    height: 1.5rem;
}
.svg-close-pasien.left {
    top: 1%;
    left: 0;
}

.svg-close-pasien.right {
    top: 1%;
    right: 0;
}

.overlayBg > :first-child,
.overlayBg2 > :first-child,
.overlayBg3 > :first-child {
    background-color: #f3f2f2;
}

#sidebar a,
#sidebar a:hover,
#sidebar a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.nav-wrapper {
    display: flex;
    align-items: stretch;
    height: 95%;
    position: fixed;
    left: 0;
    width: 16%;
    z-index: 1;
}
#sidebar {
    background: #7386d5;
    color: #fff;
    transition: all 0.3s;
    width: 100%;
    justify-content: space-evenly;
    display: flex;
    flex-direction: column;
    font-size: smaller;
}

.col-2.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 15px 20px;
    overflow: hidden;
}

.role-text {
    text-transform: capitalize;
    margin: 0;
    opacity: 0.3;
}

#sidebar ul.components {
    padding: 2rem 0 20px 0;
    border-bottom: 1px solid #47748b;
}
#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover,
#sidebar ul li a:focus {
    background: #556297;
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {
    color: #fff;
    background: #556297;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#sidebar ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

#sidebar ul.CTAs {
    padding: 20px;
}

#sidebar ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.logout {
    border: 1px solid #cc2525;
    color: #fff;
}
a.logout:hover {
    background: #b62424 !important;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

/* @media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
} */

.basic-daterangepicker {
    background: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
}

.table-sticky {
    position: relative;
}

.table-sticky thead th {
    position: sticky;
    top: 0;
}

.smaller-font {
    font-size: smaller;
}
.small-font {
    font-size: var(--small-font);
}
.medium-font {
    font-size: var(--medium-font);
}

.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-5 {
    gap: 1.25rem;
}
.gap-6 {
    gap: 2rem;
}

.autoComplete_list {
    margin-top: 0 !important;
}
.autoComplete_result {
    font-size: 0.77rem;
}

#usernameNavItem {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.uppy-size--md .uppy-Dashboard-Item-action--remove {
    top: 2px;
    right: 3px !important;
}
.uppy-DashboardContent-bar {
    overflow: hidden;
}

.list-unstyled.components {
    font-size: var(--small-font);
}

.bt-0 {
    border-top: 0 !important;
}

.sticky-notification-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    font-size: var(--small-font);
}
.sticky-notification {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #dfc0eb;
    padding: 3px 13px;
}
.sticky-notification .notification-title {
    overflow: visible;
}
.sticky-notification .notification-title p {
    font-weight: 500;
    overflow: visible;
}

.sticky-notification .notification-detail p {
    font-size: var(--small-font);
}

.sticky-notification .notification-close {
    cursor: pointer;
}
.sticky-notification .notification-detail.ellipsis {
    width: 32rem;
    max-width: 90%;
}
.sticky-notification .main-notification {
    display: flex;
    gap: 0.55rem;
}
.sticky-notification .notification-detail.ellipsis p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.low-bar,
.exp-bar,
.death-stok-bar {
    color: #fff;
    background-color: red;
    padding: 5px;
    border-radius: 4px;
    font-family: "Lucida Sans", Courier, sans-serif;
    font-size: 8px;
    cursor: pointer;
}

.low-bar {
    background-color: var(--low-bg-color);
}
.low-bar:hover {
    background-color: var(--low-bg-color-hover);
}

.exp-bar {
    background-color: var(--exp-bg-color);
}
.exp-bar:hover {
    background-color: var(--exp-bg-color-hover);
}

.death-stok-bar {
    background-color: var(--death-stock-bg-color);
}
.death-stok-bar:hover {
    background-color: var(--death-stock-bg-color-hover);
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[data-type-datetime]:read-only,
[data-type-date]:read-only {
    background-color: #fff;
}
.flatpickr-calendar {
    overflow: visible;
}
.flatpickr-calendar * {
    overflow: initial;
}

.has_diskon {
    color: var(--danger);
    font-style: italic;
}
.select2-container--default .select2-results > .select2-results__options {
    overflow-y: auto !important;
}
.select2-container .select2-search--inline .select2-search__field {
    overflow: hidden !important;
}
div.dt-datetime div.dt-datetime-label {
    overflow: hidden;
}
.daterangepicker .drp-selected {
    overflow: hidden;
}
.tumbang-only {
    display: flex;
    gap: 3px;
    direction: ltr;
    margin: 4px 0 4px 0;
}

.notif-unread {
    background-color: #e3f2fd !important;
    border-left: 3px solid #2196f3;
}

.notif-unread:hover {
    background-color: #bbdefb !important;
}

.notif-read {
    background-color: #f5f5f5 !important;
    border-left: 3px solid #e0e0e0;
}

.notif-read:hover {
    background-color: #eeeeee !important;
}