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

body {
    background: #ffffff;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
}

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

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

a:hover {
    color: #ffc107;
}

a.btn,
a.btn:link,
a.btn:visited {
    color: #fff;
}
.page-item>.page-link{
    color: #000000 !important;
}
.time {
    color: #495057  !important;
    padding: 0px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 11px;
}
.fixed-navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    text-align: center;
}
.list-group-item {
    position: relative;
    display: block;
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
    color: #000;
    text-decoration: none;
    background-color: #eeeeee;
    border: var(--bs-list-group-border-width) solid #ffffff;
    border-width: 2px !important;
}

.btn-primary,
a.btn-primary,
a.btn-primary:link {
    background: #0846a1;
    border: 0;
}

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

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

hr {
    border-top: 2px solid #b9a4b0;
}

.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 */

.fs-6{
    font-size: 12px !important; 
}
/* header */
#header {
    background: #ffffff;
    padding: 0.5rem 0rem;
    border-bottom: 1px solid #e7e3e3;
    box-shadow: 0px 1px #e7e3e3;
}

#header .container {
    position: relative;
}

#header a,
#header a:link,
#header a:visited {
    color: #000;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    font-size: 14px;
}

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

#header .navbar-toggler {
    float: right;
    padding: 7px;
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-left: 0.5rem;
}
.pagination{
    padding: 1rem 0rem !important;
}
#header .navbar-toggler.collapsed {
    /* border: 1px solid #c1c1c1; */
}

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

#header .navbar-brand img {
    height: 52px;
    width: auto;
    border-radius: 5px;
}

/* end of header */


.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}

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

@media screen and (max-width: 991px) {
    .navbar {
        padding: 0;
    }
}

.navbar .navbar-nav .nav-item {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.85em;
}

.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: #fff;
}

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

/* end of navbar */


/* footer */
#footer {
    color: #000000;
    text-align: center;
    font-size: 0.85em;
}
.footer-left{
    text-align: left;
}
.footer-right{
    text-align: right;
}
/* end of footer */

#searchForm {
    width: 100%;
    background: #cdcdcd;
    border-radius: 0px;
    padding: 10px;
    top: 2.3rem;
    left: 0;
}
/* search box */
.search-box {
    border-radius: 0;
    border-color: #495057;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 100%;
}

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

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

/* end of search box */

.card{
    border: none;
}
/* posts */
.post {
    padding: 1em;
    margin-bottom: 0.4em;
    border-radius: 0px;
    font-size: 14px;
    background-color: #eeeeee;
}

.post h3 {
    font-size: 2.4em;
    color: #1b1b1b;
}

.post h3 a,
.post h3 a:link,
.post h3 a:visited {
    color: #1b1b1b;
    text-decoration: none;
}

.post h3 a:hover {
    color: #ff3900;
}

.post .img-thumbnail {
    max-height: 400px;
    display: block;
    /* margin: auto; */
    padding: 10px;
    border: 0px solid #ccc;
    /* background: #ccc; */
}

/* end of posts */


/* single page */
.single-page {
    /* background: #343a40; */
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: 10px;
    font-size: 0.9em;
}

.single-page h3 {
    font-size: 2.4em;
    color: #000000;
}

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

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


.single-page .img-thumbnail {
    /* max-height: 400px; */
    display: block;
    margin: auto;
    padding: 10px;
    border: 1px solid #ccc;
    background: #ccc;
    width: 80%;
}

/* 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: #263238;
    border: 1px solid #263238;
    color: #fff !important;
}

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

/* end of pagination */

.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;
}

.owl-nav,
.owl-dots {
    display: none;
}

.img-thumbnail.headlist {
    background: #eeeeee;
    height: 400px;
    min-height: 400px;
    object-fit: cover;
    width: 100%;
}

.boxcontent {
    background-color: #ffffffab;
    position: absolute !important;
    bottom: 0 !important;
    padding: 1.5rem 1rem 1rem !important;
    width: 100%;
    min-height: 150px;
    color: #fff;
}
.text-muted{
    --bs-text-opacity: 1;
    color: rgba(29, 29, 29, 0.75) !important;
}
.boxcontent h3 {
    font-size: 1.5em !important;
}

.boxcontent h3 a {
    color: #000000 !important;
    text-decoration: none !important;
    /* text-shadow: 0px 1px #414141 !important; */
}

.img-thumbnail.listnews,
.img-thumbnail.listnewsmini{
    width: 200px;
    min-width: 200px;
    height: 180px;
    min-height: 180px;
    object-fit: cover;
    margin-right: 1rem !important;
    padding: 0px;
}

.img-thumbnail.listnewsbig {
    width: 440px;
    min-width: 440px;
    height: 330px;
    min-height: 330px;
    object-fit: cover;
    margin-right: 1rem !important;
    padding: 0px;
}

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

.sticky-container {
    position: relative;
}

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

.title-post a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
}

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

.right-2 {
    right: 1rem;
}

.hpost {
    min-height: 400px;
    padding: 0px !important;
}
.pdextra{
    padding-top: 0rem;
}
.mt-extra{
    margin-top: 4.5rem;
}
@media(max-width:580px) {
    #searchForm{
        top: 1.5rem;
    }
    .mt-extra {
        margin-top: 3rem;
    }
    .footer-left,.footer-right{
        text-align: center;
    }
    #header .navbar-brand img{
        height: 45px;
    }
    .navbar-content{
        position: fixed;
        width: 100%;
        z-index: 99;
    }
    .pdextra{
        padding-top: 4rem;
    }
    #header {
        text-align: center;
        position: fixed;
        z-index: 9999;
        width: 100%;
        border-bottom: 1px solid #f5f5f5;
        height: 55px !important;
        padding-top: 5px;
    }

    .hpost {
        min-height: auto;
        padding: 0px !important;
    }

    .img-thumbnail.listnews,
    .img-thumbnail.headlist {
        width: 200px;
        min-width: 200px;
        height: 225px;
        min-height: 225px;
        object-fit: cover;
        margin-right: 1rem !important;
        padding: 1rem !important;
        border-radius: 1.5rem;
    }

    .img-thumbnail.listnewsbig {
        width: 100%;
        min-width: 100%;
        height: 200px;
        min-height: 200px;
        object-fit: cover;
        margin-right: 1rem !important;
        padding: 0px !important;
    }

    .img-thumbnail.listnewsmini {
        width: 100%;
        min-width: 100%;
        height: 100px;
        min-height: 100px;
        object-fit: cover;
        margin-right: 1rem !important;
        padding: 0px;
        margin-bottom: 1rem;
    }
    .owl-stage-outer{
        background-color: #eeeeee !important;
    }
    .boxcontent {
        position: static !important;
        bottom: 0 !important;
        padding: 1rem !important;
        width: 100%;
        min-height: 50px;
        background-color: #eeeeee !important;
    }

    .boxcontent h3 a {
        text-decoration: none;
        color: #000000  !important;
        font-weight: 500;
    }

    h3.title-post,
    h4.title-post {
        font-size: 1.1rem !important;
    }

    .boxcontent h3 a {
        text-shadow: 1px 0px #808080 !important;
        font-size: 1.3rem;
    }

    .single-page .img-thumbnail {
        width: 100%;
    }
    .post{
        /* padding: 0rem 1rem !important; */
        margin-bottom: 0.4rem;
        padding-bottom: 1rem;
    }

    .navbar-collapse {
        margin-top: 3.4rem;
        background-color: #d8d8d8;
        width: 100%;
        position: fixed;
        height: auto;
        left: 0;
        top: 0;
    }

}

/* 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: 3rem 2rem;
    background-color: #f4f4f4;
}

.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 {
    padding: 5px 0px;
    text-align: end;
}