/** @format */
/* @font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans Bold";
  src: url("../fonts/PTSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("../fonts/PTSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
} */

:root {
    --navy: #003867;
    --amber: #ffdf00;
    --text-primary-emphasis: #0056b3; /* Adjusted shade */
    --text-secondary-emphasis: #4d5459; /* Adjusted shade */
    --text-success-emphasis: #1c6c31; /* Adjusted shade */
    --text-info-emphasis: #0e7480; /* Adjusted shade */
    --text-warning-emphasis: #b38600; /* Adjusted shade */
    --text-danger-emphasis: #96202b; /* Adjusted shade */
}
html {
    scroll-behavior: smooth;
}
.bg-dongker {
    background-color: #003867;
    color: #f1f1f1;
}
.bg-reverse-dongker {
    background-color: #e5ebef;
    color: #003867;
}
.bg-gold {
    background-color: #ffdf00;
    color: #003867;
}
.bg-reverse-gold {
    background-color: #fff7cc;
    color: #ffdf00;
}
.btn-navy {
    color: #fff;
    background-color: #003867;
    border-color: #003867;
    box-shadow: none;
}
.btn-navy:hover {
    color: #ffd700;
    background-color: #003867;
    border-color: #003867;
    box-shadow: none;
}
.navbar-navy .navbar-nav .nav-link {
    color: #f7f7f7;
    font-weight: 500;
}
.navbar-light .navbar-nav .nav-link {
    color: #002748;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #002748;
    font-weight: 600;
    border-bottom: 3px solid #0097b2;
}

.navbar-navy .navbar-nav .nav-link.active {
    color: #f7f7f7;
    font-weight: 600;
    border-bottom: 3px solid #008080;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #003867;
    font-weight: 600;
}

.navbar-navy .navbar-nav .nav-link:focus,
.navbar-navy .navbar-nav .nav-link:hover {
    color: #ffd700;
    font-weight: 600;
}

.brand-link img {
    width: 100px;
}

.sidebar-collapse .brand-link #brand-sidebar {
    width: 65px;
    align-items: start; /* Add this line */
    justify-content: start; /* Add this line */
}
@media (max-width: 249px) {
    .sidebar-collapse .brand-link #brand-sidebar {
        width: 65px;
    }
}

/* Card Shortcut */

.card-shortcut {
    display: block;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.card-shortcut .icon {
    font-size: 1.5rem;
    color: #808080;
    display: block;
}

.card-payroll {
    display: block;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

.card-payroll .icon {
    font-size: 1.5rem;
    color: #808080;
    display: block;
}

.card-payroll :hover {
    background-color: #d7d7d7;
}

.card-payroll .icon :hover {
    color: #003867;
}
/* Styles Img */

.user-panel,
.user-panel .info {
    overflow: hidden;
    white-space: nowrap;
}
.user-panel .image {
    display: inline-block;
}
.user-panel img {
    height: 60px;
    width: 60px;
    object-fit: cover;
}
.user-panel .info {
    display: inline-block;
    padding: 5px 5px 5px 10px;
}

/* Styles Chart */

.dashboard-wrapper {
    position: relative;
    height: 100%;
    background-color: #fff;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1); /* Menambahkan bayangan tipis */
}

#departement_user {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Container */

.container-table {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    scrollbar-color: #aab7cf transparent;
}

.container-center {
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
}

.container-scrolly {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
}
.container-scrollx {
    width: 100%;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
}
.container-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 2rem 0;
}
.container-image-post {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0;
    background-color: #f8f9ff;
}
.file-download {
    padding: 5px 10px 5px;
    margin-bottom: 10px;
    background-color: #d7d7d7;
    color: #595959;
    text-decoration: none;
    border-radius: 5px;
}
.file-download i {
    margin-right: 5px;
    color: #595959;
}

/* Styles */

.pagetitle h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.75rem;
}

.pagetitle h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
}

.pagetitle h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.25rem;
}

.pagetitle h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1rem;
}

.pagetitle h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 0.875rem;
}

.pagetitle h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 0.75rem;
}

.pagetitle span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #393939;
    font-weight: 400;
}

.no-link {
    color: inherit !important;
    text-decoration: none;
    cursor: pointer;
}

.font-12 {
    font-size: 0.75rem;
}

.font-14 {
    font-size: 0.875rem;
}

.font-16 {
    font-size: 1rem;
}

.font-18 {
    font-size: 1.125rem;
}

.fw-bold {
    font-weight: 600;
}
.fw-normal {
    font-weight: 500;
}
.fw-thin {
    font-weight: 400;
}

.text-navy {
    color: var(--navy);
}
.text-primary-emphasis {
    color: var(--primary-text-emphasis);
}
.text-secondary-emphasis {
    color: var(--secondary-text-emphasis);
}
.text-success-emphasis {
    color: var(--success-text-emphasis);
}
.text-info-emphasis {
    color: var(--info-text-emphasis);
}
.text-warning-emphasis {
    color: var(--warning-text-emphasis);
}
.text-danger-emphasis {
    color: var(--danger-text-emphasis);
}
.text-gold {
    color: #ffd700 !important;
}
.

/* Max width - Min width */

.mw-2 {
    min-width: 2rem;
    max-width: 3rem;
}
.mw-4 {
    min-width: 4rem;
    max-width: 5rem;
}
.mw-6 {
    min-width: 6rem;
    max-width: 7rem;
}
.mw-8 {
    min-width: 8rem;
    max-width: 9rem;
}
.mw-10 {
    min-width: 10rem;
    max-width: 11rem;
}
.mw-12 {
    min-width: 12rem;
    max-width: 13rem;
}
.mw-14 {
    min-width: 14rem;
    max-width: 15rem;
}
.mw-16 {
    min-width: 16rem;
    max-width: 17rem;
}
.mw-18 {
    min-width: 18rem;
    max-width: 19rem;
}
.mw-20 {
    min-width: 20rem;
    max-width: 21rem;
}
.mw-22 {
    min-width: 22rem;
    max-width: 23rem;
}
.mw-24 {
    min-width: 24rem;
    max-width: 25rem;
}
.mw-26 {
    min-width: 26rem;
    max-width: 27rem;
}
.mw-28 {
    min-width: 28rem;
    max-width: 29rem;
}
.mw-30 {
    min-width: 30rem;
    max-width: 31rem;
}
.mw-32 {
    min-width: 32rem;
    max-width: 33rem;
}
.mw-34 {
    min-width: 34rem;
    max-width: 35rem;
}
.mw-36 {
    min-width: 36rem;
    max-width: 37rem;
}

.mt-6,
.my-6 {
    margin-top: 4rem !important;
}
.mt-7,
.my-7 {
    margin-top: 5rem !important;
}
.mb-6,
.my-6 {
    margin-bottom: 4rem !important;
}
.mb-7,
.my-7 {
    margin-bottom: 5rem !important;
}

/* Styles */

.no-wrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 17rem;
}

.pagecontent {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
}

.nav-underline {
    gap: 1rem;
}

.nav-underline .nav-link {
    padding-right: 0;
    padding-left: 0;
    border: none;
    color: #292929;
    border-bottom: 0.125rem solid transparent;
    background-color: transparent;
}

.nav-underline.nav-link.active:first-child {
    border-left: none;
}

.nav-underline .nav-link:focus,
.nav-underline .nav-link:hover {
    border-bottom-color: currentcolor;
    background-color: transparent;
}

.nav-underline .nav-link.active,
.nav-underline .show > .nav-link {
    font-weight: 700;
    color: #000;
    border-bottom-color: #0d6efd;
    background-color: transparent;
}

input[type='file']::file-selector-button {
    margin-right: 20px;
    border: 1px solid #007bff;
    background: transparent;
    padding: 3px 10px 3px 10px;
    border-radius: 3px;
    font-size: 14px;
    color: #191717;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

input[type='file']::file-selector-button:hover {
    color: #fff;
    background: #007bff;
}

[type='number'] {
    -moz-appearance: textfield;
}

.loading .icon {
    font-size: 48px;
}

.loading span {
    font-size: 1rem;
    font-weight: 600;
}
.card-report .card {
    scale: 100%;
    border-radius: 5px;

    .img-grayscale {
        border-radius: 5px;
        filter: brightness(0.5) grayscale(80%);
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .card-img-overlay .card-title {
        transform: translateY(0%);
    }

    .card-img-overlay .card-text {
        display: none;
        opacity: 0;
        transform: translateY(100%);
    }
}

.card-report .card:hover {
    scale: 102%;

    .img-grayscale {
        display: block;
        filter: brightness(0.3) grayscale(100%);
    }

    .card-img-overlay .card-title {
        animation: fade-in 0.5s forwards;
    }

    .card-img-overlay .card-text {
        display: block;
        animation: fade-in 0.8s forwards;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-box {
    color: #191717;
    background-color: white;
    padding: 20px 0;
    border: 0.5px solid #dedede;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.menu-list {
    font: 500 14px/100% 'Open Sans', sans-serif;
}
.menu-list ul {
    padding: 0;
    margin: 0;
}
.menu-list li {
    cursor: pointer;
    list-style: none;
    padding: 10px 20px;
}
.menu-list li i {
    font-size: 14px;
    margin-right: 10px;
    text-align: center;
    width: 1rem;
}
.menu-list li:hover {
    background-color: #fffbe5;
    color: #003867;
    font-weight: 600;
}
.menu-list a.no-link.active {
    background-color: #fffbcc;
    color: #003867;
    font-weight: 600;
}
.br-0 {
    border-radius: 0;
}
.br-1 {
    border-radius: 0.25rem !important;
}
.br-2 {
    border-radius: 0.5rem !important;
}
.br-3 {
    border-radius: 1rem !important;
}
.br-4 {
    border-radius: 2rem !important;
}
.br-5 {
    border-radius: 10rem !important;
}
.pagetitle-underline {
    display: inline-block;
    border-bottom: 3px solid #ffd700;
    padding-top: 0.5rem;
}
.account-setting {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;

    dt {
        font-weight: 600;
    }
    dd {
        font-weight: 400;
        margin-bottom: 10px;
    }
}

.days-remaining {
    font-size: 48px;
    font-weight: 700;
}
.img-member {
    min-height: 80px;
    max-height: 80px;
    min-width: 80px;
    max-width: 80px;
    object-fit: cover;
}
.img-post {
    max-height: auto;
    width: 100%;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.img-post-dashboard {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 480px), {
    .img-post-dashboard {
        object-fit: contain;
    }
}
@media (max-width: 540px), {
    .img-post-dashboard {
        object-fit: contain;
    }
}
@media (max-width: 768px) {
    .img-post-dashboard {
        object-fit: contain;
    }
}
.users-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
}

.users-list .users-item {
    width: 30%;
    margin: 0 5px;
}

@media (min-width: 360px) {
    .data-filter {
        float: left;
        font-size: 14px;
    }
}
@media (min-width: 768px) {
    .data-filter {
        float: right;
        font-size: 14px;
    }
}

/* Atur tinggi map agar terlihat */
#map {
    width: 100%;
    height: 300px;
}
#input_map {
    width: 100%;
    height: 300px;
}
#edit_map {
    width: 100%;
    height: 300px;
}

/* Pastikan konten modal menyesuaikan tinggi setelah konten dinamis berubah */
#delivery_process .modal-content {
    max-height: 90vh;
    /* Pastikan tidak melebihi tampilan */
    overflow-y: auto;
    /* Izinkan scrolling di dalam modal */
}

/* Chart Bar */
@media (min-width: 360px) {
    #valueProjectDS-user {
        width: 100%;
        height: 260px !important;
    }
}

@media (min-width: 768px) {
    #valueProjectDS-user {
        width: 100%;
        height: 165px !important;
    }
}

@media (min-width: 1200px) {
    #valueProjectDS-user {
        width: 100%;
        height: 300px !important;
    }
}

@media (min-width: 1600px) {
    #valueProjectDS-user {
        width: 100%;
        height: 325px !important;
    }
}

/* Divider */
/* Divider */

/* Pie Chart */
@media (min-width: 360px) {
    #chartProjectStatus {
        width: 100%;
        height: 160px !important;
    }
}

@media (min-width: 567px) {
    #chartProjectStatus {
        width: 100%;
        height: 240px !important;
    }
}

@media (min-width: 768px) {
    #chartProjectStatus {
        width: 100%;
        height: 160px !important;
    }
}

@media (min-width: 1200px) {
    #chartProjectStatus {
        width: 100%;
        height: 295px !important;
    }
}

@media (min-width: 1600px) {
    #chartProjectStatus {
        width: 100%;
        height: 320px !important;
    }
}
.username {
    display: flex;
    align-items: center;
}
.username i,
.username img {
    font-size: 1.2rem;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    text-align: center;
    color: #003867;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    border-radius: 50%;
}
.username a {
    color: #003867;
    font-weight: 600;
    font-size: 16px;
}
.username button {
    margin-left: 10px;
}
.username a:hover {
    color: #0056b3;
}
.username .description {
    font-size: 12px;
    font-weight: 400;
    color: #191717;
    margin-left: 8px;
}
.username .img-push {
    margin-left: 12px;
}
.post h4 {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    color: #191717;
    margin-bottom: 10px;
}
.post {
    padding: 10px;
}

.post .comment {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    color: #191717;
    margin: 12px;
}
.box {
    background: linear-gradient(75deg, #e5ebef 0%, #fff 20%);
    display: block;
    background-color: transparent;
    padding: 16px;
    margin: 0 auto 12px auto;
    flex: 1 1 calc(25% - 20px); /* 4 konten dalam satu baris dengan jarak */
    min-width: 250px; /* Minimal ukuran konten */
    text-align: center;
    border: 2px solid #e7e7e7;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.box .icon {
    display: inline;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f7f7f7;
    border: 2px solid #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto 2rem auto;
}
.box .icon i {
    font-size: 2rem;
    color: #003867;
}
.box h1 {
    font-size: 2rem;
    color: #003867;
    font-weight: 700;
}
.box h4 {
    font: normal normal 700 1.5rem/100% 'Open Sans', sans-serif;
    color: #191717;
    margin-bottom: 20px;
}
.box h5 {
    font: normal normal 700 1rem/100% 'Open Sans', sans-serif;
    color: #003867;
    margin-bottom: 20px;
}
.box p {
    font: normal normal 400 1rem/150% 'Open Sans', sans-serif;
    justify-content: center;
    text-align: justify;
    color: #fff;
}
@media (max-width: 1024px) {
    .box {
        flex: 1 1 calc(50% - 20px); /* 4 konten per baris untuk tablet */
    }
}

@media (max-width: 600px) {
    .box {
        flex: 1 1 100%; /* 1 konten per baris untuk perangkat kecil */
    }
}
.box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@keyframes shine {
    0% {
        background-position: -200%;
    }
    100% {
        background-position: 200%;
    }
}

.dynamic-glow {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(
        90deg,
        #fff,
        #191717,
        #191717,
        #191717,
        #191717,
        #fff
    );
    background-size: 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}
.membership-card {
    font-family: 'Open Sans', sans-serif;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: linear-gradient(135deg, #333, #888);
    color: white;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.membership-header {
    background-color: #18294f;
    padding: 20px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.membership-header h1 {
    font-size: 24px;
    font-weight: bold;
}

.membership-status {
    display: block;
    font-size: 14px;
    color: #ffd700;
    margin-top: 10px;
    font-weight: bold;
}

.membership-body {
    padding: 20px;
    background-color: #2f3e60;
}

.membership-body h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.membership-body p {
    font-size: 14px;
    margin: 5px 0;
}

.membership-footer {
    padding: 10px;
    background-color: #18294f;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.membership-footer p {
    font-size: 12px;
    color: #bbb;
    margin-bottom: 0;
}
.text-short {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Tentukan jumlah baris yang ingin ditampilkan */
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}
.more-text {
    display: none;
}
.text-short:hover .more-text {
    display: inline;
}
.thumbnail_certificate,
.thumbnail_journal,
.thumbnail_pelatihan {
    outline-offset: 2px;
    margin-right: 0.8rem;
    margin-top: 0.5rem;
}

.thumbnail_certificate .thumbnail {
    height: 76px;
    width: 106px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background-color: transparent;
    color: #191717;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail_certificate .thumbnail canvas {
    height: 76px;
    width: 106px;
    object-fit: cover;
}

.thumbnail_journal .thumbnail {
    height: 200px;
    width: 136px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #191717;
    background-color: transparent;
    color: #191717;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail_journal .thumbnail canvas {
    height: 200px;
    width: 136px;
    object-fit: cover;
}

.thumbnail_pelatihan .thumbnail {
    height: 106px;
    width: 75px;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #191717;
    background-color: transparent;
    color: #191717;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail_pelatihan .thumbnail canvas {
    height: 106px;
    width: 75px;
    object-fit: cover;
}
.img-user-online {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 540px) {
    #subscribeLarger,
    #displayMobile {
        display: none;
    }
}
@media (min-width: 1000px) {
    #subscribeMobile {
        display: none;
    }
    #subscribeLarger,
    #displayMobile {
        display: block;
    }
}

.img-40 {
    height: 40px;
    width: 40px;
    object-fit: cover;
}
.liked {
    color: red;
}
.callout {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    background-color: #fff;
    border-left: 5px solid #e9ecef;
    margin-bottom: 1.2rem;
    padding: 8px;
}
.callout.clean {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 0.5rem;
}
.callout h4 {
    font: 600 0.875rem/1.2 'Open Sans', sans-serif;
    color: #191717;
}
.callout p {
    font: 500 0.75rem/1.2 'Open Sans', sans-serif;
    color: #191717;
}
.callout:first-child {
    margin-top: 0.5rem;
}
.callout:last-child {
    margin-bottom: 0;
}
.hidden {
    display: none;
}
