/* ===================================
    Global CSS
====================================== */
.center-crop-img {
  object-fit: none; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
  height: 526px;
}

.title-art-clamp{
  line-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  height: 4.7em;
}
.content-art-clamp{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  height: 5em;
}

hr{
  color: #D6D8E1 !important;
}


/* MOBILE */
@media (max-width: 600px) {
  .mob-hide-br{
    display: none;
  }
  .mob-button{
    width: 100% !important;
  }
}



/* ===================================
    Hero Image Section (Home)
====================================== */
.center-hero-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  @media (max-width: 600px) {
    .center-hero-text{
      width: 85% !important;
    }
    .hero-img-mob{
      height: 619px;
      object-fit: cover;
    }
  }

/* flip animate img */
  .animate-flip {
    animation: flipHorizontal 1.5s ease-in-out infinite alternate;
  }
  @keyframes flipHorizontal {
      0% {
          transform: scaleX(0);
      }
      100% {
          transform: scaleX(1);
      }
  }

  /* cek transaksi online */
  .style-input-cek{
    border-left: 0px !important;
    height: 50px !important;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700 !important;
    font-size: 16px !important;
  }

  .hero-parallax {
    /* The image used */
    background-image: url("../assets/Background-Hero.webp");
  
    /* Set a specific height */
    min-height: 500px; 
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .laporan-home{
    background-image: url("../assets/laporan background.webp");
  }

  .numberCircle {
    border-radius: 50%;
    width: 48px;
    height: 48px;

    background: #fff;
    color: #091227;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
  }

  .number-progress{
    font-size: 24px;
    font-weight: 700;
    color: #0D1282;
  }

  .card-text{
    font-size: 14px;
  }

  progress {
    border-radius: 13px; 
    width: 100%;
    height: 10px;
    text-align: right;
    position: relative;
  }
  progress::-webkit-progress-bar {
    background-color: #D6D8E1;
    border-radius: 13px;
  }
  progress::-webkit-progress-value {
    background-color: #0D1282;
    border-radius: 13px;
  }
  progress::-moz-progress-bar { 
    background-color: #0D1282;
    border-radius: 13px;
   }
   progress::-moz-progress-value { 
    background-color: #0D1282;
    border-radius: 13px;
   }
   .progress-value {
    position: relative;
    font-size: 24px;
    color: #0D1282;
    font-weight: 700;
}

  
  /* ===================================
    11 Jenis Section (Tentang Kami)
====================================== */
  .card-body-tk{
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 32px;
    padding-bottom: 18px;
  }

    /* ===================================
    Cara Kerja Section (Tentang Kami)
====================================== */
  .h5-front-post{
    z-index: 1;
    position: relative;
    min-height: 121px !important;
  }
  .bg-number{
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    color: #353845;
    font-feature-settings: 'liga' off;
    font-size: 72px;
    font-style: normal;
    font-weight: 800;
  }
  @media (max-width: 600px) {
    .h5-front-post{
      min-height: 64px !important;
    }
    .bg-number{
      top: 4%;
    }
  }

  /* ===================================
    Hero Image Section (Virtual Police)
====================================== */
@media (max-width: 600px) {
  .hero-img-mob-vp{
    height: 400px;
    object-fit: cover;
  }
}

  /* ===================================
    Hero Image Section (Success stories)
====================================== */
.margin-80px-tb-revrs{
  margin-top: -80px;
  margin-bottom: -80px;
}

@media (max-width: 600px) {
  .margin-80px-tb-revrs{
    margin-top: -80px;
    margin-bottom: 0px;
  }
}


  /* ===================================
    Jumlah Laporan Section (Statistik)
====================================== */
.top-left-st{
  position: absolute;
  top: 30px;
  left: 32px;
}

@media (max-width: 600px) {
  .crime-mob-st{
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
  }
  .top-left-st{
    position: absolute;
    top: 28px;
    left: 26px;
  }
}

.chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chart {
  text-align: center;
}

.legend {
  text-align: left;
}

/* Add this CSS to style the legend color elements */
.legend-color {
  border-radius: 3px;
  display: inline-block;
  width: 10px;
  height: 10px; 
  margin-right: 5px; 
}

/* MAPS Penyebaran */
#mapsid {
  height: 400px;
  min-width: 310px;
  max-width: 900px;
  margin: 0 auto;
}

.loading {
  margin-top: 10em;
  text-align: center;
  color: gray;
}


  /* ===================================
    Card News Section (News)
====================================== */
.title-news1-clamp{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  height: 95px;
}
.title-news2-clamp{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  height: 51px;
}
.text-news2-clamp{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  height: 57px;
  font-size: 12px;
  line-height: 18px;
}
.pagination-dis{
  color: #0D1282 !important;
  pointer-events: none;
  background-color: #fff;
  border-color: #dee2e6;
}
.nav-list-news {
  display: flex;
  list-style: none;
}
.nav-list-news li a {
  text-decoration: none;
  color: var(--bunker-400, #8990A7);
}
.img-title-news{
  border-bottom-left-radius: 10px !important;
  border-top-left-radius: 10px !important;
}
.img-item-news{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

@media (max-width: 600px) {
  .img-item-news{
    height: 150px;
    object-fit: cover;
  }
  .img-title-news{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px !important;
    height: 345px !important;
    object-fit: cover;
  }
}

      div.sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        background-color: #666;
        padding: 40px;
        font-size: 25px;
      }


/* ===================================
    Cari Pages
====================================== */
.input-wrapper-cari.cari-input {
  display: inline-flex;
  border: 1px solid var(--bunker-200, #D6D8E1);
  border-radius: 8px;
  overflow: hidden;
}

.input-wrapper-cari.cari-input .cari-input-field {
  border: none;
  padding: 5px;
  flex: 1;
  border-radius: 8px 0 0 8px;
}

.input-wrapper-cari.cari-input .cari-button {
  border: none;
  border-radius: 8px;
  background: var(--bunker-200, #D6D8E1);
  padding: 8px 18px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

/* ===================================
    Contact Us Pages
====================================== */
@media (max-width: 900px) {
  .mapouter{
    height: 390px !important;
  }
}


/* ===================================
    Navbar (Header)
====================================== */
  .headers-fixed{
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
    background-color: #F6F7F9;
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.1);
  }

  nav {
    padding: 20px 25px;
    background-color: #F6F7F9;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
  }
  
  .nav-list li {
    margin-left: 20px;
  }
  
  .nav-list li a {
    text-decoration: none;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: #fff;
  }
  
  #hamburger-toggle {
    display: none;
  }
  
  .hamburger {
    width: 30px;
    height: 30px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    right: 25px;
  }
  
  .hamburger .bar {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s;
  }
  
  /* Style for the bars */
.hamburger .bar::before,
.hamburger .bar::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #0D1282;
  transition: all 0.3s;
}

/* Default and checked styles for bars */
input[type="checkbox"]:checked ~ .hamburger .bar::before,
input[type="checkbox"]:checked ~ .hamburger .bar::after {
  background-color: #fff;
}
  
  .hamburger .bar::before {
    transform: translateY(-10px);
  }
  
  .hamburger .bar::after {
    transform: translateY(10px);
  }
  
  @media (max-width: 900px) {
    .nav-list {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #0D1282;
      /* background-image: url("../assets/Sidebar-Menu-Backround.webp"); */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transform: translateX(-100%);
      transition: transform 0.3s;
      z-index: 1;
    }

    .logo-nav {
      width: 146px;
    }
  
    .nav-list li {
      margin: 10px 0;
    }
  
    .nav-list li a {
      display: inline-block;
      font-size: 20px;
      padding: 15px 20px;
      transition: all 0.3s;
      color: #ffffff !important;
      font-weight: 700;
    }

    .fff-nav-mob{
      color: #ffffff !important;
    }
  
    .nav-list li a:hover {
      color: #9e00ff;
      transform: translateY(-10px);
    }

    .button-nav{
      width: 116px !important;
      height: 36px !important;
    }
  
    .hamburger {
      display: flex;
      z-index: 999;
    }
  
    #hamburger-toggle:checked ~ .nav-list {
      transform: none;
    }
  
    #hamburger-toggle:checked ~ .hamburger .bar::before {
      transform: rotate(45deg);
    }
  
    #hamburger-toggle:checked ~ .hamburger .bar {
      background-color: transparent;
    }
  
    #hamburger-toggle:checked ~ .hamburger .bar::after {
      transform: rotate(-45deg);
    }
  }

  /* DROPDOWN */
  .custom-navbar a:hover {
    background-color: #ddd;
    color: black;
  }
  
  .custom-dropdown {
    float: left;
    position: relative;
    display: inline-block;
  }
  
  .custom-dropdown .custom-dropbtn {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px; 
    border: none;
    outline: none;
    background-color: inherit;
    margin: 0;
    padding: .5rem 1rem;
    cursor: pointer;
  }
  
  .custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: #F6F7F9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  @media (max-width: 900px) {
    .custom-dropdown-content{
      background-color: #02065B;
    }
  }
  
  .custom-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  /* .custom-dropdown-content a:hover {
    background-color: #ddd;
  } */
  .custom-dropdown:hover .custom-dropdown-content {
    display: block;
  }
  
  @media (max-width: 600px) {
    .custom-dropbtn{
      font-size: 20px !important;
    }
    .logo-bottom-brgr{
      margin-top: 70px !important;
    }
  }

  
  /* ===================================
    Footer
====================================== */
.newsletter-input{
  background-color: transparent;
  border: 1px solid var(--bunker-50, #F6F7F9);
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

.newsletter-button{
  background-color: transparent;
  border: 1px solid var(--bunker-50, #F6F7F9);
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

@media (max-width: 900px) {
  .foot-rad-mob{
    border-radius: 32px 32px 0px 0px !important;
  }
}