@import "https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css";
@import 'https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&amp;display=swap';

body {
    font-family: sora, sans-serif;
    font-size: 14px
}

.card-img-top {
    width: 100%; /* Mengisi lebar elemen induk */
    height: auto; /* Secara default, biarkan tinggi otomatis untuk menjaga rasio aspek */
    max-height: 250px; /* Batasi tinggi maksimum untuk perangkat mobile */
    object-fit: cover; /* Memotong gambar untuk mengisi area card */
}

@media (min-width: 768px) {
    .card-img-top {
        height: 15vw; /* Terapkan tinggi berbasis viewport untuk layar lebih besar */
        max-height: none; /* Hapus batas tinggi maksimum untuk perangkat besar */
    }
}

@media (max-width: 768px) {
    .mfp-content {
        margin: 0 10px !important;
    }
}

a {
    text-decoration: none;
    color: #1b1b1b;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

a:hover {
    color: #0d6efd
}

.btn {
    font-size: 14px;
    padding: 12px 30px !important;
    font-weight: 600
}

.btn-primary {
    background: #f14f00;
    border-color: #f14f00
}

.btn-primary:hover,
.btn-primary:focus {
    background: #e14a00;
    border-color: #e14a00
}

.bg-primary {
    background-color: #f14f00 !important
}

.shadow {
    box-shadow: 0 10px 40px 0 rgba(47, 47, 47, .1) !important
}

.bg-light {
    background-color: #fff5f2 !important
}

.text-primary {
    color: #f14f00 !important
}

.transition-3d-hover {
    transition: all .2s ease-in-out
}

.transition-3d-hover:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px)
}

.gradient-text {
    color: #000
}

.icon {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.user-img {
    width: 40px
}

.admin-icon {
    height: 25px;
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center
}

.social-icon {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center
}

.icon-sm {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.app-nav a.nav-link.py-4 {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    color: #000;
    font-size: 15px
}

.app-nav .navbar-nav .nav-link:hover {
    color: #f14f00
}

.app-nav .navbar-nav .nav-link.active {
    color: #f14f00
}

.osahan-header-logo .logo {
    height: 30px
}

.navbar-nav .dropdown-menu {
    box-shadow: 0 24px 21px rgb(0 0 0/11%) !important
}

.dropdown:hover>.dropdown-menu {
    display: block;
    animation: dropdown-show .25s cubic-bezier(.68, -.55, .265, 1.55)
}

@keyframes dropdown-show {
    from {
        opacity: 0;
        transform: scale(.9)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.dropdown-menu:hover .dropdown-item {
    opacity: .6
}

.dropdown-menu .dropdown-item:hover {
    opacity: unset;
    font-weight: 500
}

.dropdown-item {
    transition: all .2s ease-in-out;
    padding-right: 40px
}

.dropdown-item:hover {
    -webkit-transform: translateX(3px);
    transform: translateX(3px)
}

.dropdown-item:after {
    content: "\ea6c";
    font-family: remixicon !important;
    font-style: normal;
    position: absolute;
    right: 0;
    font-size: 14px;
    line-height: 24px;
    opacity: 0;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

.dropdown-item:hover:after {
    opacity: unset;
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s
}

.dropdown-item {
    position: relative
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 10px 40px 0 rgba(47, 47, 47, .1) !important;
    background-color: #fff;
    color: #2d2a3e;
    width: 50px;
    border-radius: 100px;
    cursor: pointer;
    height: 50px;
    border: 3px solid #ebebeb;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px
}

#back-to-top:hover {
    box-shadow: 0 10px 40px 0 rgba(47, 47, 47, .1) !important;
    background-color: #2d2a3e;
    color: #fff
}

#sidebar .offcanvas-header .link-light {
    color: #000 !important
}

#sidebar .offcanvas-body .nav-item .nav-link {
    text-align: center;
    padding: 15px 20px !important
}

#sidebar .offcanvas-body .nav-item.dropdown {
    position: unset !important
}

#sidebar .offcanvas-body .dropdown-menu {
    position: relative !important;
    transform: unset !important;
    box-shadow: none !important
}

#sidebar .offcanvas-body .dropdown-menu .dropdown-mega-content .col-lg-3 {
    border: none !important;
    padding: 15px !important;
    text-align: center
}

.page-loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .4s .2s ease-in-out;
    transition: all .4s .2s ease-in-out;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    z-index: 9999
}

[data-bs-theme=dark] .page-loading {
    background-color: #121519
}

.page-loading.active {
    opacity: 1;
    visibility: visible
}

.page-loading-inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
    opacity: 0
}

.page-loading.active>.page-loading-inner {
    opacity: 1
}

.page-loading-inner>span {
    display: block;
    font-family: inter, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #6f788b
}

[data-bs-theme=dark] .page-loading-inner>span {
    color: #fff;
    opacity: .6
}

.page-spinner {
    display: inline-block;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .75rem;
    vertical-align: text-bottom;
    background-color: #d7dde2;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner .75s linear infinite;
    animation: spinner .75s linear infinite
}

[data-bs-theme=dark] .page-spinner {
    background-color: rgba(255, 255, 255, .25)
}

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none
    }
}