@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

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

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

/* common */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
}

a,
a:link,
a:visited {
    color: #191d88;
}

a:hover {
    color: #191d88;
}

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

.btn-primary,
a.btn-primary,
a.btn-primary:link {
    background: #191d88;
    border: 0;
}

.btn-primary:hover,
a.btn-primary:hover {
    background: #191d88;
    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 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-align: center;
    background: #ffffff;
}

#header .container {
    position: relative;
}

#header a,
#header a:link,
#header a:visited {
    font-family: "Rubik", sans-serif;
    color: #191d88;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

#header a:hover {
    color: #ffc107;
}
.fs-6{
    font-size: 12px !important;
}
#header .navbar-toggler {
    float: right;
    margin-left: 0.2rem;
    padding: 6px 7px;
    width: 45px;
    height: 45px;
    position: relative;
    top: -3px;
}

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

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


#header .navbar-brand img {
    height: 53px;
    width: auto;
    margin-left: 0.5rem;
}

/* end of header */
.loginpro a {
    font-size: 1rem !important;
}
.footer-left{
    text-align: left;
}
.footer-right{
    text-align: right;
}
/* navbar */
.navbar-content {
    margin-top: 0;
    width: 100%;
    /* background-color: #ffffff; */
    display: block;
    text-align: left;
    position: relative;
    left: 0;
}

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

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

.mt-extra {
    margin-top: 5.5rem !important;
    min-height: 80vh;
    /* background-color: #e9ecef; */
}

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


}

.card {
    border-color: #fff;
    border-radius: 0.5rem !important;
}

.list-group-item {
    padding: 0.5rem !important;
    background-color: #e9ecef  !important;
    border-color: #ffffff !important;
}
.h40{
    height: 40px;
}
.item.post {
    min-height: 390px;
}
.boxadmin{
    display: block;
    min-width: 20%;
    padding: 0.6rem 0rem;
}
.minheight{
    min-height: 28rem;
}
.bacajuga{
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #191d88;
    background-color: #ebebeb;
    padding: 10px;
}
.image img, svg {
    max-width: 100%;
    object-fit: contain;
    max-height: 500px;
    height: auto;
}
@media (max-width: 580px) {
    .minheight{
        min-height: auto !important;
    }
    .boxadmin{
        padding: 0;
    }
    .navbar-content{
        margin-top: 3rem;
    }
    .hpost2 {
        height: auto !important;
        display: flex;
    }
    .boxcontent {
        padding: 0rem 0rem !important;
        width: 100% !important;
        position: static !important;
        bottom: 0 !important;
        background-color: #ffffff00  !important;
        left: 0 !important;
        min-height: 43% !important;
    }
    .h40{
        height: 50px !important;
    }
    .single-page{
        padding: 1rem 0rem !important;
        font-size: 14px !important;
    }
    .single-page h3{
        font-size: 1.6rem !important;
    }
    .iniboxs{
        top: 1.5rem !important;
    }
    .footer-left,.footer-right{
        text-align: center;
    }
    
    .navbar-content{
        position: fixed !important;
        background-color: #ffffff;
    }
    #header .navbar-brand img {
        height: 45px !important;
    }

    .sidebar-popular-news {
        border-radius: 0px !important;
    }

    .item.post {
        min-height: 258px !important;
    }

    .loginpro {
        position: static;
        right: 0;
    }

    .hpost {
        min-height: 260px !important;
    }

    #header {
        text-align: center;
        height: 60px !important;
    }

    .popup-banner.large {
        width: 100% !important;
    }

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

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

    /* .list-group-item {
        padding: 0.5rem !important;
        background-color: #495057 !important;
        border-color: #495057 !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;
        height: 55px;
        overflow: hidden;
        margin-bottom: 0;
    }

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

    .img-thumbnail.listpart3 {
        width: 100% !important;
        max-width: 100% !important;
        height: 105px !important;
        margin-right: 1rem !important;
        object-fit: cover !important;
        max-width: 180px !important;
    }

    .img-thumbnail.listnews,
    .img-thumbnail.listpart2 {
        width: 100% !important;
        max-width: 100% !important;
        height: 105px !important;
        margin-right: 1rem !important;
        object-fit: cover !important;
        max-width: 190px !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: #000000;
}

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

#searchForm {
    width: 100%;
    background: #cdcdcd;
    border-radius: 0px;
    padding: 10px;
    top: 2rem;
}

/* Hide the search icon focus outline */


/* 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: 6px;
    padding-bottom: 6px;
    border-radius: 8px;
}

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

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

.iniboxs{
    top: 6rem;
    right: 0;
    z-index: 10;
}
/* end of search box */


/* posts */
.post {
    background: #e9ecef;
    padding: 1em;
    margin-bottom: 1em;
    color: #000000;
    font-size: 13px;
}

ul.list-group {}

.post h3 a,
.post h3 a:link,
.post h3 a:visited {
    /* color: #333;
    text-decoration: none; */
}
.input-group input{
    background-color: #ffffff !important;
    border: 0px solid #ffffff !important;
}
.boxcontent {
    padding: 1rem 1rem ;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #e9ecef82;
    left: 0;
    min-height: 35%;
}

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

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

.img-thumbnail.listpart,
.img-thumbnail.listpart3 {
    width: 100%;
    object-fit: cover;
    height: 210px;
    background-color: #0a0a0a;
}

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

.sidebar-popular-news {
    /* background-color: #848484; */
    border-radius: 10px;
    /* margin-bottom: 1rem; */
    color: #ffffff;
}

.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 {
    margin-bottom: 10px;
    display: inline-block;
    font-size: 10px;
    color: #495057  !important;
    text-align: left;
}

.title-post a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Rubik';
}

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

.hpost {
    min-height: 480px;
}
.hpost2 {
    height: 235px;
}

.sticky-container {
    position: relative;
}

.sidebar {
    position: sticky;
    top: 5.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 1em;
    margin-bottom: 1em;
    border-radius: 8px;
    min-height: 85vh;
    /* box-shadow: -5px 2px #c5c5c5; */
    text-align: justify;
}

.single-page h3 {
    font-size: 2.3em;
    color: #000000;
    font-family: 'Rubik';
    text-align: left !important;
    margin-bottom: 1rem;
}

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



/* end of link page */

.text-muted {
    color: #6c757d  !important;
}

/* pagination */
.page-link.active,
.active>.page-link {
    background-color: #191d88;
    border-color: #191d88;
    color: #eee !important;
}

.pagination .page-link {
    color: #000;
}

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


/* customer */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.auth-box {
    background: #fff;
    padding: 40px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.auth-box h1 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.input-group input:focus {
    border-color: #333;
}


.auth-box p {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.auth-box a {
    color: #007BFF;
    text-decoration: none;
}

.auth-box a:hover {
    text-decoration: underline;
}

.jusmenu {
    justify-content: space-between;
    width: 100%;
    display: flex;
}

/* 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: #eaeaea;
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

.dashboard-welcome h1 {
    font-size: 25px;
    color: #191d88;
}

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


