body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    background: #270141;
    color: #c1c1c1;
    font-family: "Rubik", sans-serif;
    font-size: 14px;
}

/* common */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Gupter", serif;
}

a,
a:link,
a:visited {
    color: #adb5bd;
}

a:hover {
    color: #d39f03;
}

a.btn,
a.btn:link,
a.btn:visited {
    color: #fff;
}

.btn-primary,
a.btn-primary,
a.btn-primary:link {
    background: #4f7b93;
    border: 0;
}

.btn-primary:hover,
a.btn-primary:hover {
    background: #d39f03;
    border: 0;
}

hr {
    border-top: 1px dashed #999;
}

.alert {
    background: #f3f3f3;
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: 10px;
    font-size: 0.9em
}
.alert-danger{
    background: #f00000 !important;
    color: #fff !important;
}


/* end of common */

.card{
    border: none;
}
/* header */
#header {
    background: #060309;
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: 0px solid #3c3c3c;
    text-align: center;
}

#header .container {
    position: relative;
}

#header a,
#header a:link,
#header a:visited {
    font-family: "Gupter", serif;
    color: #ffffff;
    font-size: 2.0em;
    font-weight: normal;
}

#header a:hover {
    color: #f08200;
}

#header .navbar-toggler {
    float: right;
    padding: 7px;
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    position: absolute;
    top: 0;
}

#header .navbar-toggler.collapsed {
    border: 1px solid #d5d5d500;
}

#header .navbar-toggler span {
    margin: 4px 0;
    display: block;
    width: 29px;
    height: 4px;
    background: #3c3c3c;
    border-radius: 2px;
}


#header .navbar-brand img {
    height: 45px;
    width: auto;
}

/* end of header */

.list-group-item{
    background-color: #11012c;
    border: 1px solid #404040;
}
/* navbar */
.navbar-content {
    border-bottom: 2px solid #000000;
    margin-bottom: 15px;
    margin-top: 4.4rem;
    position: fixed;
    width: 100%;
    background-color: #42046d;
    z-index: 2;
}

.text-readmore {
    color: #000;
    text-decoration: none;
}

.fixed-navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
}

.mt-extra {
    margin-top: 8rem !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        flex-flow: wrap;
    }


}

.image img, svg {
    max-width: 100%;
    object-fit: contain;
    max-height: 500px;
    height: auto;
}
@media (max-width: 580px) {
    .loginpro {
        position: static !important;
        right: 0;
    }
    .popup-banner.large{
        width: 100% !important;
    }
    .mt-extra {
        margin-top: 5rem !important;
    }

    .img-thumbnail.listhead {
        height: 245px !important;
    }

    .list-group-item {
        padding: 0.5rem !important;
    }

    .post {
        padding: 0.5rem !important;
    }

    h4.title-post,
    h5.title-post,
    h6.title-post {
        font-size: 15px;
    }

    .img-thumbnail.listnews,
    .img-thumbnail.listpart,
    .img-thumbnail.listpart2,
    .img-thumbnail.listmini {
        width: 100% !important;
        min-width: 105px !important;
        max-width: 105px !important;
        height: 105px !important;
        margin-right: 1rem !important;
        object-fit: cover !important;
    }
}

@media screen and (max-width: 991px) {
    .navbar {
        padding: 0;
    }
}
.text-muted{
    color: #fff !important;
}
.navbar .navbar-nav .nav-item {
    padding-left: 5px;
    padding-right: 5px;
}

.navbar .navbar-nav .nav-item a.nav-link,
.navbar .navbar-nav .nav-item a.nav-link:link,
.navbar .navbar-nav .nav-item a.nav-link:visited {
    color: #ffffff;
}

.navbar .navbar-nav .nav-item a.nav-link:hover {
    color: #d39f03;
}

#searchForm {
    width: 100%;
    /* Adjust width as needed */
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hide the search icon focus outline */
#searchIcon {
    outline: none;
    position: absolute;
    right: 0;
    top: 0;
}

/* end of navbar */


/* footer */
#footer {
    color: #999;
    text-align: center;
    border-top: 1px solid #999;
}

/* end of footer */


/* search box */
.search-box {
    border-radius: 0;
    border-color: #eee;
    padding-top: 8px;
    padding-bottom: 8px;
}

.search-box .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
}

.search-box .btn {
    border-radius: 0;
    background: #333;
    border: 1px solid #333;
}

/* end of search box */


/* posts */
.post {
    background: #000;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 8px;
}


.post h3 a,
.post h3 a:link,
.post h3 a:visited {
    /* color: #333;
    text-decoration: none; */
}

.img-thumbnail.listhead {
    object-fit: cover;
    width: 100%;
    height: 435px;
    background-color: #0e0e0e;
    border: none;
}

.img-thumbnail.listpart {
    width: 100%;
    object-fit: cover;
    height: 150px;
    background-color: #0e0e0e;
    border: none;
}

.img-thumbnail.listpart2 {
    width: 100%;
    object-fit: cover;
    height: auto;
    background-color: #0e0e0e;
    border: none;
}

.img-thumbnail.listnews {
    width: 100%;
    min-width: 275px;
    height: 227px;
    object-fit: cover;
    margin-right: 1rem !important;
    background-color: #0e0e0e;
    border: none;
}

.img-thumbnail.listmini {
    width: 100%;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 1rem !important;
    background-color: #0e0e0e;
    border: none;
}


.time {
    padding: 5px;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 10px;
    background-color: #4a0b0b;
    color: #c8c5c5 !important;
    min-width: 115px;
}
.title-post{
    min-height: 58px;   
}
.title-post a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.title-post a:hover {
    color: #639dbd;
}

.sticky-container {
    position: relative;
}

.sidebar {
    position: sticky;
    top: 8.5rem;
    bottom: 0;
}

@media (min-width: 1200px) {

    .h4,
    h4 {
        font-size: 1.4rem;
    }
}

.post .img-thumbnail {
    max-height: 500px;
    display: block;
}

img,
svg {
    max-width: 100%;
}

/* single page */
.single-page {
    background: #1e0131;
    padding: 2rem 1.5em;
    margin-bottom: 1em;
    border-radius: 8px;
    min-height: 85vh;
}

.single-page h3 {
    font-size: 2.3em;
    color: #ffffff;
}

.single-page h3 a,
.single-page h3 a:link,
.single-page h3 a:visited {
    color: #d39f03;
}

.single-page h3 a:hover {
    color: #999;
}

.single-page span.time {
    color: #eee;
    padding: 7px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: inline-block;
}

.single-page .img-thumbnail {
    margin: auto;
    background-color: #000;
    border: none;
}

/* end of single page */

/* link page */
.link {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.link-top {
    padding: 2rem;
    text-align: center;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* end of link page */


/* pagination */
.page-link.active,
.active>.page-link {
    background-color: #810789;
    border-color: #800489;
}

.page-link.disabled,
.disabled>.page-link {}

/* end of pagination */

.running-text {
    position: relative;
    width: 100%;
    height: 40px;
    background-color: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.text-wrapper {
    white-space: nowrap;
    display: inline-block;
    animation: scroll-text 15s linear infinite;
}

.scrolling-text {
    display: inline-block;
    color: #333;
    font-size: 16px;
    padding: 0 50px;
    /* Memberikan jarak horizontal antar teks */
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
        /* Mulai dari kanan layar */
    }

    100% {
        transform: translateX(-100%);
        /* Berakhir di kiri layar */
    }
}

.owl-nav,.owl-dots{
    display: none;
}
.owl-carousel .owl-item img{
    min-height: 90px !important;
}
.popup-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}
.popup-banner.small { width: 300px; }
.popup-banner.medium { width: 500px; }
.popup-banner.large {
    width: 800px;
    max-width: 95%;
}
.popup-content img {
    display: block;
    width: 100%;
    height: auto;
}
.close-popup {
    position: absolute;
    top: 3px;
    right: 4px;
    background: #ff0018;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 30px;
    text-align: center;
    z-index: 1;
    border: 1px solid;
}

/* Container for the entire dashboard */
.dashboard-container {
    display: flex;
    min-height: 80vh;
    margin-bottom: 5rem;
}

/* Sidebar */
.dashboard-sidebar {
    background-color: #343a40;
    padding: 20px;
    color: white;
}

.dashboard-sidebar-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.dashboard-menu {
    list-style: none;
    padding: 0;
}

.dashboard-menu li {
    margin-bottom: 15px;
}

.dashboard-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: all 0.3s;
}

.dashboard-menu li a:hover {
    color: #f8f9fa;
    padding-left: 10px;
}

/* Main dashboard content */
.dashboard-content {
    padding: 2rem;
    background-color: #eeeeee;
    border: 1px solid #818181;
    border-radius: 10px;
}

.dashboard-welcome h1 {
    font-size: 25px;
    color: #343a40;
}

.dashboard-welcome p {
    font-size: 18px;
    color: #6c757d;
}

/* Error message if the user is not logged in */
.dashboard-error p {
    color: red;
    font-size: 20px;
}

.content-body {
    min-height: 60vh;
}

/* styles.css */
.loader {
    display: none;
    /* Sembunyikan loader secara default */
    position: fixed;
    /* Tetap di posisi */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Background semi-transparan */
    z-index: 9999;
    /* Pastikan overlay di atas konten lainnya */
    justify-content: center;
    /* Pusatkan konten */
    align-items: center;
    /* Pusatkan konten */
}

.loader .spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    /* Warna spinner */
    border-radius: 50%;
    border-top: 8px solid #fff;
    /* Warna atas spinner */
    width: 50px;
    /* Ukuran spinner */
    height: 50px;
    /* Ukuran spinner */
    animation: spin 1s linear infinite;
    /* Animasi berputar */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.loginpro {
    position: absolute;
    right: 0;
}
.navbar-nav .dropdown-menu {
    position: static;
    font-size: 14px;
}