@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); */

/* Primary Color */
:root {
  --primary-color: #21929a;
  --secondary-color: #3266ff;
}

::-webkit-scrollbar {
  width: 0.5rem;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--primary-color);
}

::-webkit-scrollbar-thumb {
  border-radius: 10%;
  background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  /* color: #142b72; */
  color: #333333;
  margin: 0;
}

.change-bgColor-navbar {
  transition: all 0.5s;
  background-color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
  font-weight: bold !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255) !important;
}
.navbar-expand-lg .navbar-nav .nav-link.active {
  color: rgba(255, 255, 255) !important;
}

.chart-container {
  position: relative;
  margin: auto;
  height: 80vh;
  width: 80vw;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Style for text like blabalba... */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.truncate-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.truncate-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
/* ==============================> */

.text-prime {
  color: var(--primary-color);
}
.text-sec {
  color: var(--secondary-color);
}
.bg-prime {
  background-color: var(--primary-color);
  color: white;
}
.bg-sec {
  background-color: var(--secondary-color);
  color: white;
}

.card-layanan:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid transparent;
  border-radius: 5px;
}

.card-layanan {
  height: 11em;
  transition: all 0.3s ease-in-out;
  border: 1px solid #dee2e6;
}

.img-berita-xl {
  width: 100%;
  height: 30em;
  object-fit: cover;
}

.img-berita-lg {
  width: 100%;
  height: 15em;
  object-fit: cover;
}

.img-berita-sm {
  width: 100%;
  height: 5em;
  border-radius: 5px;
  object-fit: cover;
}

.gallery {
  padding: 40px 0;
}

.gallery-item {
  width: 100%;
  height: 20em;
  cursor: pointer;
  object-fit: cover;
  margin-bottom: 1em;
}

#gallery-modal .modal-img {
  width: 100%;
}

.footer-wrapper {
  width: 100%;
  height: auto;
  background-color: #031121;
  color: white;
}

.divide-footer {
  width: 100%;
  height: 1px;
  background-color: #ffffff70;
  margin-top: 2rem;
}

@media only screen and (max-width: 768px) {
  .list-download-file {
    width: 100% !important;
  }

  .chart-container{
    position: relative;
  margin: auto;
  height: 100%;
  width: 100vw;
  }
}

.list-download-file{
  padding: 5px;
  margin: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 45%;
  border: var(--primary-color) solid 0.5px;
}

.list-download-file p{
  color: var(--primary-color);
  font-weight: bold;
  font-size: 14px;
  margin: 0;
}

.list-download-file span{
  font-size: 11px;
}

.list-download-file a{
  font-size: 12px;
  color: var(--primary-color);
}

.info-information {
  color: #031121;
  font-size: 14px;
}

.info-information:hover {
  font-weight: bold;
}

.wrapper-info {
  margin: 0 auto;
}

.berkas-inovasi {
  background-color: #031121;
  color: white;
  margin-top: 20px;
  padding: 20px 30px;

  font-size: 15px;
}

.berkas-inovasi:hover {
  font-weight: bold;
  color: white;
}

.hero-fasilitas {
  background: linear-gradient(0deg, rgba(5, 51, 99, 0.7), rgba(5, 51, 99, 0.7)),
    url("./image/tentang-kami.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 8rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 5em;
}

.hero-fasilitas h1 {
  font-size: 3em;
  font-weight: 700;
  color: #fff;
}
.hero-berita {
  background: linear-gradient(0deg, rgba(5, 51, 99, 0.7), rgba(5, 51, 99, 0.7)),
    url("./image/berita.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 8rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}

.hero-informasi h1 {
  font-size: 3em;
  font-weight: 700;
  color: #fff;
}
.hero-agenda {
  background: linear-gradient(0deg, rgba(5, 51, 99, 0.7), rgba(5, 51, 99, 0.7)),
    url("./image/agenda.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 8rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}

.hero-agenda h1 {
  font-size: 3em;
  font-weight: 700;
  color: #fff;
}

.hero-statistic {
  background: linear-gradient(0deg, rgba(5, 51, 99, 0.7), rgba(5, 51, 99, 0.7)),
    url("./image/statistic.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 8rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 2em;
}

.hero-statistic h1 {
  font-size: 3em;
  font-weight: 700;
  color: #fff;
}

.bg-overlay-berita {
  position: absolute;
  /* linier gradient from top to bottom */
  background: linear-gradient(0deg, rgba(5, 51, 99, 0.7), rgba(5, 51, 99, 0.2));
  height: 100%;
  width: 100%;
}

.home-hero .carousel-item .bg-overlay {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.75);
  height: 100%;
  width: 100%;
}
.home-hero .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.home-hero .carousel-item .content {
  padding: 14em 0 14em 0;
}
.home-hero .carousel-item .content h1 {
  font-size: 4em;
  font-weight: 700;
  color: #fff;
}

.icon-socmed {
  margin-right: 10px;
}

.icon-socmed:hover {
  color: var(--primary-color);
  cursor: pointer;
}

.link-terkait:hover {
  color: var(--primary-color) !important;
}

@media screen and (max-width: 768px) {
  .home-hero .carousel-item .content {
    padding: 8em 1rem 6em 1rem;
  }
  .home-hero .carousel-item .content h1 {
    font-size: 2em;
    font-weight: 700;
    color: #fff;
  }
  .hero-fasilitas {
    padding: 7rem 0 5rem 0;
    margin-bottom: 3em;
  }
  .hero-informasi {
    padding: 7rem 0 5rem 0;
    margin-bottom: 3em;
  }
  .hero-fasilitas h1 {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
  }
  .hero-informasi h1 {
    font-size: 1.5em;
    font-weight: 700;
    color: #fff;
  }
  .py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* Custom Swipper */
.swiper-button-prev {
  opacity: 0 !important;
  border-radius: 100%;
  width: 40px !important;
  height: 40px !important;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}
.swiper-button-next {
  opacity: 0 !important;
  border-radius: 100%;
  width: 40px !important;
  height: 40px !important;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}
.swiper-button-prev::after {
  content: none !important;
}
.swiper-button-next::after {
  content: none !important;
}
.swiper:hover .swiper-button-next {
  opacity: 1 !important;
}
.swiper:hover .swiper-button-prev {
  opacity: 1 !important;
}

.accordion-header button {
  font-weight: 700 !important;
}

.jumlah-penduduk {
    margin-top: -100px !important;
    position: relative;
    z-index: 1;
    border-radius: 30px;
}

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

.list-group-item.active {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.list-group-item.active a {
    color: #fff;
    font-weight: 700;
}

.list-group-item a {
    color: #031121;
}

.ql-align-justify {
    text-align: justify !important;
}
