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

body {
    background: #ededed;
    color: #000000;
    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: #000000;
}

a:hover {
    color: #155f8d;
}

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: #155f8d;
    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 */


/* header */
#header {
    background: rgb(23, 123, 77);
    background: radial-gradient(circle, rgba(23, 123, 77, 1) 0%, rgba(20, 47, 35, 1) 100%);
    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: #ffffff;
    border-radius: 2px;
}


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

/* end of header */


/* navbar */
.navbar-content {
    margin-bottom: 15px;
    margin-top: 4.4rem;
    position: fixed;
    width: 100%;
    background-color: #099f59;
    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;
    }
    .hpost{
        min-height: 260px !important;
    }
    #header {
        text-align: center;
    }

    .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;
    }
    h3.title-post{
        font-size: 1.1rem;
    }
    h4.title-post,
    h5.title-post,
    h6.title-post {
        font-size: 14px;
    }

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

    .img-thumbnail.listmini {
        width: 100% !important;
        max-width: 105px !important;
        height: 105px !important;
        margin-right: 1rem !important;
        object-fit: cover !important;
    }
}
.img-thumbnail{
    padding: 0;
    border: none;
}
@media screen and (max-width: 991px) {
    .navbar {
        padding: 0;
    }
}

.navbar .navbar-nav .nav-item {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
}

.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;
    text-shadow: 2px 1px #3d3d3d;
}

.navbar .navbar-nav .nav-item a.nav-link:hover {
    color: hwb(69 0% 6%);
}

#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: #000;
    text-align: center;
    border-top: 1px solid #000;
}

/* end of footer */


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

.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: #e2e2e2;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 8px;
    box-shadow: -5px 2px #c5c5c5;
}

ul.list-group {
    box-shadow: -5px 2px #c5c5c5;
}

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

.boxcontent {
    padding: 1rem 2rem !important;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #ffffff96;
    left: 0;
    min-height: 50%;
}

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

.img-thumbnail.listpart {
    width: 100%;
    object-fit: contain;
    height: 215px;
    background-color: #0a0a0a;
}

.img-thumbnail.listpart2 {
    width: 100%;
    object-fit: contain;
    height: auto;
    background-color: #0a0a0a;
}

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

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

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.bg-greenlg {
    background: rgb(13, 85, 52);
    background: linear-gradient(0deg, rgba(13, 85, 52, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.time {
    padding: 5px;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 10px;
    background-color: #198754;
    color: #fff !important;
    min-width: 120px;
    border-radius: 1rem !important;
    text-align: center;
    box-shadow: -3px 3px #000000;
}

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

.title-post a:hover {
    color: #177b4d;
    border-bottom: 1px dashed #177b4d;
}

.hpost {
    min-height: 400px;
}

.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: #fff;
    padding: 2rem 1.5em;
    margin-bottom: 1em;
    border-radius: 8px;
    min-height: 85vh;
    box-shadow: -5px 2px #c5c5c5;
}

.single-page h3 {
    font-size: 2em;
    color: #000000;
    font-family: sans-serif;
}

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

.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 {
    /* max-height: 400px; */
    margin: auto;
}

/* 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: #4f7b93;
}

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