* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: "PTSans", sans-serif;
}
nav {
  z-index: 9999;
}
.header-home {
    width: 100%;
    padding: 11px 48px;
    background: url('../images/batik.png'),
        linear-gradient(to right, #005496 50%, #02275C 100%);
    background-repeat: repeat-x;
    background-size: auto 50px;
    background-position: left center;
}
.title-header {
  font-size: 11px;
}
.nav-link-a {
  font-size: medium;
}

.change-language-title {
  color: #045498;
  font-size: 11px;
}
.nav-li:last-child {
  cursor: pointer;
}
.nav-li:last-child p {
  font-size: 11px;
  color: #045498;
  margin: 2.5px 8px 0px 8px;
}
.language-mobile {
  font-size: 11px;
  color: #045498;
}
.change-language-dash {
  width: 6px;
  height: 3px;
  background-color: #045498;
  margin-top: 8px;
}
.dropdown-menu-li-nav {
  padding: 10px 5px;
  width: 120%;
  right: 0;
  border-radius: 4px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all;
}
.nav-li:last-child:hover .dropdown-menu-li-nav {
  visibility: visible;
  opacity: 1;
}
.dropdown-menu-li-nav .language {
  text-decoration: none;
  font-size: 12px;
  color: #045498;
}

.box-language {
  height: 0px;
  overflow: hidden;
}
.nav-li:last-child:hover .box-language {
  height: inherit;
  overflow: unset;
}

.nav-li:last-child .box-language a {
  display: block;
  margin: 0px 0px 10px 25px;
  padding: 0;
  text-decoration: none;
  font-size: 11.2px;
  color: #045498;
}
.nav-li:last-child .box-language a:first-child {
  margin-top: -15px;
}
.nav-li:last-child .box-language a:last-child {
  margin-top: -5px;
}

.box-carousel {
  bottom: -50px;
}
.btn-cari {
    background: linear-gradient(to bottom, #045498, #E83A30);
    color:#FFF;
}
.btn-cari:hover {
    color: #000;
    transform: scale(1.05);
}
.btn-filter {
    background: linear-gradient(to bottom, #045498, #E83A30);
    color: #FFF;
}
.btn-filter:hover {
    transform: scale(1.05);
}
.box-carousel .btn-indicator {
  background-color: #b11116;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  transition: all 0.3s ease;
  margin: 0px 14px 0px 14px;
  opacity: 1;
}
.box-carousel .active {
  width: 42px;
  border-radius: 5px;
  background-color: #b11116;
}

.box-search-input {
  margin-top: 57px;
  width: 761px;
  border: 1px solid #045498;
  z-index: 10;
}
.box-search-input .search-input {
  outline: none;
  padding: 15px 0px;
  font-size: 14px;
  z-index: 10;
}
.box-search-input .search-icon {
  top: 18px;
  left: 16px;
  z-index: 10;
}
.box-search-input .btn-search {
  width: 81px;
  height: 43px;
  right: 20px;
  border: none;
  top: 4px;
  right: 4px;
  z-index: 10;
  background-color: #045498;
}

.search-box {
    width: 789px;
    height: 416px;
    padding: 20px;
    /*background-color: #045498;*/
    background: linear-gradient(to bottom, #005496 70%, #02275C);
    top: -16px;
    left: -16px;
    /* z-index: 5; */
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all ease;
    padding-top: 78px;
    position: absolute;
}

.search-box input[type="radio"] {
  display: none;
}

.search-box .custom-radio {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
}

/* Buat elemen kustom */
.search-box .custom-radio input:checked ~ .checkmark {
  background-color: #fff; /* Ubah warna sesuai keinginan */
  border-color: #fff;
}

.search-box .custom-radio .checkmark {
  position: absolute;
  top: 3.5px;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 50%;
}

/* Beri tanda centang */
.search-box .custom-radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.search-box .custom-radio input:checked ~ .checkmark:after {
  display: block;
}

/* Gaya untuk tanda centang */
.search-box .custom-radio .checkmark:after {
  top: 0px;
  left: -0.1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #045498;
}
.search-box .rule-title {
  font-size: 14px;
}
.input-rule {
  width: 123px;
}

.search-box-fade {
  visibility: visible;
  opacity: 100%;
}

.new-rule-section {
  background-color: #FFF;
}
.new-rule-title {
  color: #212529;
  font-size: 24.5px;
  font-weight: normal;
}

.rule-title-card {
  font-size: 17px;
  height:40px;
}
.rule-text-card {
  text-align: justify;
}
.rule-link-card {
  font-size: 13px;
  display: block;
}
.footer-card {
    background: linear-gradient(to right, #005496 50%, #02275C 100%);
}
.text-footer-card {
  font-size: 13px;
  margin: 5px 0px 0px 6px;
  padding: 0;
}
.calendar-icon {
  margin-top: 6px;
}

/* owl carousel 1*/
.new-rule-section .owl-carousel .owl-nav .owl-next:hover,
.new-rule-section .owl-carousel .owl-nav .owl-prev:hover {
    background: none;
    color: #005598;
}

.new-rule-section .owl-carousel .owl-nav span {
  width: 40px;
  height: 22px;
  border: 2px solid #005598;
  display: block;
  color: #005598;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}
/* owl carousel 2 */
.popular-rule-section {
  background-color: #FFF;
}
.popular-rule-section .owl-carousel .owl-nav .owl-next:hover,
.popular-rule-section .owl-carousel .owl-nav .owl-prev:hover {
  background: none;
  color: #005598;
}
.popular-rule-section .owl-carousel .owl-nav span {
  width: 40px;
  height: 22px;
  border: 2px solid #005598;
  display: block;
  color: #005598;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}
/* owl carousel 3*/
.artikel-section .owl-carousel .owl-nav .owl-next:hover,
.artikel-section .owl-carousel .owl-nav .owl-prev:hover {
    background: none;
    color: #005598;
}

.artikel-section .owl-carousel .owl-nav span {
    width: 40px;
    height: 22px;
    border: 2px solid #005598;
    display: block;
    color: #005598;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.tematik-section {
  background-color: #FFF;
}

.tematik-container {
    padding:30px;
    border-radius:25px;
    background-image: url('/images/background-tematik.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.box-desc-tematik {
    width: 100%;
}

.tematik-title {
    color: #FFF;
    font-size: 24.5px;
    font-weight: normal;
}

.title-tematik {
    color: #FFF;
    font-size: 17.5px;
}

.excerpt-tematik {
    font-size: 12.6px;
    color:#E2E2E2;
}

.tematik-link {
    font-size: 12px;
    color: #FFF;
}

.tematik-link:hover {
    color: #e2e2e2;
}

.box-logo-tematik {
    width: 70px;
}

.box-img-tematik {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #FFF;
}

.input-popular-rule {
  border: 1px solid #999999;
  width: 200px;
}

.box-icon-popular-rule {
  top: 7px;
  right: 10px;
}

.box-logo-article {
  width: 70px;
}
.box-img-article {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: #045498;
}

.box-desc-article {
  width: 100%;
}
.title-article {
  color: #045498;
  font-size: 17.5px;
}
.excerpt-article {
  font-size: 12.6px;
}
.article-link {
  font-size: 10px;
}
.artikel-section {
  background-color: #FFF;
}
.artikel-title-card {
  font-size: 18px;
  color: black;
}
.berita-section {
  background-color: #FFF;
}
.box-img-berita {
    /*width : 636px;*/
    height: 400px;
}

.box-img-berita img {
    object-fit: cover;
    object-position: center;
    border-radius: 1rem 1rem 0 0;
    height: 400px;
}

.box-title-berita {
    height: 250px;
    background-image: linear-gradient(#005496, #02275C);
    border-radius: 0 0 1rem 1rem;
    padding: 20px
}

.tanggal-berita {
    color: #999999;
    font-size: 15px;
}

.excerpt-berita {
    color: #FFF;
    font-size: 22px;
}

.link-berita {
    font-size: 15px;
    color: #045498;
}

.lihat-semua-link {
    width: 131px;
    height: 31px;
    background-color: #FFF;
    font-size: 12.75px;
    color: #045498;
    border:2px solid #045498;
}

.lihat-semua-link:hover {
    background-color: #045498;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tn-news {
    display: flex;
    /*align-items: center;*/
    margin-bottom: 15px;
    background: #ffffff;
    height:150px;
}

.tn-img img {
    height:152px;
    width: 229px;
    border-radius: 1rem;
}

.tn-title {
    padding: 10px 15px;
}

.tn-title h5 {
    color: #000;
    font-size: 20px;
}
.jurnal-section {
    background-color: #FFF;
}
.jurnal-title-card {
    font-size: 18px;
    color: black;
}
/* owl carousel 3*/
.jurnal-section .owl-carousel .owl-nav .owl-next:hover,
.jurnal-section .owl-carousel .owl-nav .owl-prev:hover {
    background: none;
    color: #005598;
}

.jurnal-section .owl-carousel .owl-nav span {
    width: 40px;
    height: 22px;
    border: 2px solid #005598;
    display: block;
    color: #005598;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}
.section-rating {
  background-color: #E2E2E2;
}
.rating-title {
  font-size: 24.5px;
}
.subtitle-rating {
  font-size: 15px;
  text-align: justify;
}
.btn-survey {
    background: linear-gradient(to bottom, #005496 50%, #02275C 100%);
    border: none;
    outline: none;
    /*width: 107px;*/
    height: 35px;
    font-size: 14px;
    border-radius: 20px;
}
/*.rating-container {
  width: 200px;
  height: 200px;
  border-radius: 100px;
  background-color: transparent;
  border: 14px solid #045498;
}*/
.rating-container {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    background: linear-gradient(to bottom, #005496 50%, #02275C 100%);
}

.kembali-button {
    background: linear-gradient(to bottom, #005496 50%, #02275C 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    outline: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

    /* Hover Effect */
    .kembali-button:hover {
        background: linear-gradient(to bottom, #116ab0 50%, #043479 100%);
        transform: translateY(-1px);
    }

    /* Klik Effect */
    .kembali-button:active {
        transform: translateY(0); /* Kembalikan posisi tombol */
    }

/*.rating-container {
    width: 200px;
    height: 200px;
    border-radius: 100px;*/ /* Membuat elemen menjadi lingkaran */
    /*background: linear-gradient(to right, #045498, #E83A30);*/ /* Gradasi untuk border */
    /*-webkit-mask: radial-gradient(circle, transparent 86%, white 85%);*/ /* Masking area untuk isi lingkaran */
    /*mask: radial-gradient(circle, transparent 86%, white 85%);
}
rating-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.rating-container .content {
    background-color: white;*/ /* Isi lingkaran putih */
    /*width: 172px;*/ /* Ukuran isi lingkaran */
    /*height: 172px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}*/
    .rating-box {
    background-color: white; /* Isi lingkaran putih */
    width: 172px; /* Ukuran isi lingkaran */
    height: 172px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/*.rating-box {
  width: 145px;
  height: 145px;
  background-color: #fff;
  border-radius: 70px;
}*/
.rating-text {
  font-size: 49px;
  margin-top: 14px;
  margin-bottom: 0px;
}

.star-icon:not(:last-child) {
  font-size: 15px;
  color: #ffd055;
}
.star-icon:last-child {
  color: #e2e2e2;
}
.desc-rating {
  font-size: 14px;
  text-align: center;
}
.title-hasil-penilain {
  color: #212529;
}
.input-rating {
  height: 14px;
  width: 222px;
  background-color: white;
  border-radius: 118px;
  border: none;
}

/* Detail Peraturan Page */
.section-peraturan {
  /*margin-bottom: 369px;*/
}
.box-img-hero-peraturan {
  background: url("../images/header-detail-foto.png");
  height: 250px;
  width: 100%;
  background-position: center;
  background-size: cover;
  padding: 0px 160px;
}

.sidebar-box-peraturan {
  background-color: #f2f2f2;
  border-radius: 12px;
}
.active-list-sidebar-peraturan {
  background-color: #045498;
}
.active-link-sidebar-peraturan {
  color: white;
}
.link-sidebar-peraturan {
  color: #045498;
}
.footer-index {
  background-color: #F2F2F2;
}
.menu-footer-box {
    /*background-color: #D33C3A;*/
    background-color: #02275c;
}
.divider-footer {
  width: 1px;
  height: 21px;
  background-color: #fff;
}
.text-menu-footer {
  font-size: 14px;
}
/*.footer-box {
    background: url(../images/footer.png), #005496;*/
    /*background-color:;*/
    /*background-color: #011F70;
    background-color: #045498;*/
/*}*/
.footer-box {
    position: relative; /* Pastikan relative agar pseudo-element muncul */
    background-color: #005496; /* Warna utama */
    overflow: hidden; /* Mencegah elemen pseudo keluar */
}

    .footer-box::before {
        content: ""; /* Wajib ada, agar pseudo-element muncul */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../images/footer.png) no-repeat center center;
        background-size: cover;
        opacity: 0.3; /* Atur transparansi */
        z-index: 0; /* Pastikan tetap di belakang */
        pointer-events: none;
    }
.logo-bi-footer {
  width: 295px;
}
.desc-footer {
  width: 350px;
  font-size: 14px;
}
.box-sosmed {
  width: 35px;
  height: 35px;
  background-color: #fff;
  border-radius: 17.5px;
}
.sosmed-footer-text {
  color: #ffcb05;
  font-size: 18px;
}
.input-footer {
  width: 423px;
  border: none;
  height: 41px;
  border-radius: 47.85px;
  outline: none;
}
.btn-input-footer {
  border: none;
  outline: none;
  background-color: #045498;
  color: white;
  width: 98px;
  height: 33px;
  font-size: 11.35px;
  border-radius: 17.73px;
  right: 4px;
  top: 4px;
}
.btn-unduh-peraturan {
  outline: none;
  background-color: #005598;
  border-radius: 20px;
  width: 102.55px;
  height: 35.5px;
  font-size: 14px;
}
.thead-tr-peraturan {
  border-bottom: 2.66px solid #a9a9a9;
}
.thead-tr-peraturan th {
  color: #212529;
  font-weight: bold;
  font-size: 14px;
}
.table-peraturan tbody td {
  font-size: 14px;
  color: #212529;
}
.badge-peraturan {
  font-size: 10.5px;
}
.table-peraturan {
  margin-bottom: 103.5px;
}
.btn-back-peraturan {
  width: 98px;
  height: 35.5px;
  background-color: #005598;
  color: white;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 14px;
}
.box-input-footer {
  width: 423px;
}
.social-share {
    margin-top: 20px;
}
.social-share a {
    margin-right: 10px;
    text-decoration: none;
}
.btn-blue {
    background-color: #045498;
    color: white;
}

.text-blue {
    color: #045498;
}

.bg-blue {
    background-color: #045498;
}

.buttons {
    position: absolute;
    top: 50%;
    right: 40px;
    color: #6c757d;
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: #000;
}

.nav-item {
    position: relative !important;
    padding: 15px 0px;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    padding-bottom: 11px;
    border-bottom: 4px solid transparent;
}

.nav-item:hover,
.navbar-nav .active {
    border-bottom: 4px solid #b11116;
}

@media screen and (min-width: 1024px) and (max-width: 1024px) {
  .btn-input-footer {
    right: 37px;
    top: 4px;
  }
  .box-img-berita img {
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  .card-berita {
    margin: 5px 0px;
  }
  .box-search-input {
    width: 100%;
  }
  .search-box {
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 26px;
    height: auto;
    padding: 30px 0px;
  }
  .next-search {
    margin-top: 35px;
  }
}
@media screen and (min-width: 768px) and (max-width: 915px) {
  .box-search-input {
    width: 100%;
  }
  .search-box {
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 26px;
    height: auto;
    padding: 30px 0px;
  }
  .input-footer {
    width: 100%;
  }
  .btn-input-footer {
    right: 4px;
    top: 4px;
  }
  .input-rating {
    width: 650px;
  }
  .box-img-hero-peraturan {
    padding: 0px 25px;
  }
  .next-search {
    margin-top: 35px;
  }
}
@media screen and (min-width:360px) and (max-width : 545px) {
    #image {
        width: 50px;
    }

    .navbar-brand {
        margin-right: 0px;
    }

    #imageee {
        height: 200px;
    }

    #titleperaturan {
        font-size: 13px !important;
    }

    .excerpt-berita {
        font-size: 18px !important;
    }

    #imagecorsel {
        height: 200px;
    }

    .tn-img img {
        width: 150px;
        height: 100px;
        margin-top: 25px;
    }

    #image2 {
        width: 150px;
    }

    .fw-bold.mb-4.judul-berita {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    .title.h6.mb-4 {
        margin-bottom: 10px !important;
    }

    .tn-news {
        height: 200px !important;
    }

    .tanggal-berita.fw-bold {
        font-size: 12px !important;
    }

    .new-rule-title.mb-2.mb-lg-4 {
        font-size: 20px !important;
    }

    .text-footer-card {
        margin-top: 8px;
        font-size: 11px !important;
    }

    .lihat-semua-link {
        width: 100px !important;
    }
    .navbar-collapse.collapse.show{
        background-color:white !important;
    }
}
@media screen and (max-width: 545px) {
  .header-home {
    padding: 0px 0px;
  }
  .navbar-brand img {
    width: 200px;
  }
  .box-carousel {
    bottom: -40px;
  }
  .box-search-input {
    width: 100%;
  }
  .search-box {
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 26px;
    height: auto;
    padding: 30px 0px;
  }
  .input-rating {
    width: 310px;
  }
  .box-img-berita {
    width: 100%;
  }
  .input-footer {
    width: 100%;
  }

  .box-img-hero-peraturan {
    padding: 0px 20px;
  }
  .box-img-hero-peraturan .breadcrumb-hero a {
    font-size: 12px;
  }
  .box-input-footer {
    width: 100%;
  }
  .next-search {
    margin-top: 30px;
  }
}

@font-face {
  font-family: "Montserrat";
  src: url("../font/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'PTSans';
    src: url('../font/PTSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PTSans';
    src: url('../font/PTSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PTSans';
    src: url('../font/PTSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'PTSans';
    src: url('../font/PTSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}
