:root {
  --c-blue: #21409a;
  --c-orange: #ef672f;
}

footer .flink {
  color: #fff;
}

footer .flink:hover,
footer .head_title {
  color: #ffe140;
}

.statistic_footer .list-group-item {
  padding: 0 !important;
  background-color: transparent !important;
  border: 0;
}

.situs-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.situs-container img {
  max-width: 20px;
  height: auto;
  margin-right: 15px;
}

.situs-container a {
  color: white;
  text-decoration: none;
  font-size: .9rem;
}

@media (max-width: 600px) {
  .situs-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .situs-container img {
    margin-bottom: 10px;
    margin-right: 0;
  }
}


.sidebar__info div.info {
  border: 1px solid transparent;
  padding: .2rem .3rem 0 .2rem;
}

.sidebar__info div.info i.fas {
  color: #007bff;
}

.sidebar__info div.info:hover {
  border: 1px solid blue;
  border-radius: 2px;
}

.sidebar__info div.info:hover i.fas {
  color: var(--c-orange);
}

/* navbar */
.navbar-toggler {
  margin: .5rem 0;
}


body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

#schedule_table_header {
  color: var(--c-blue);
}

#schedule_table th {
  vertical-align: middle;
  text-align: center;
}

#schedule_table {
  font-size: .9rem;
}

#timetop {
  font-size: .95rem;
}

#navbarNavDropdown a {
  font-size: .95rem;
}

#v__page_post .headline {
  color: var(--c-blue);
  font-size: 2rem;
}

/* */
.badge__views_count {
  background-color: #ffe140;
  color: #bfa100;
  text-shadow: 1px 0px #fff;
}

.bg_c-blue {
  background: linear-gradient(to right, rgba(14, 41, 205, 1) 0%, rgba(41, 137, 216, 1) 68%, rgba(41, 142, 216, 1) 100%);
}

.related-news li:hover {
  background-color: #eaeaea;
}

.related-news h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.related-news small {
  font-size: 0.8rem;
}

.related-news .badge-pill {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
}

.news_content img {
  max-width: 100%;
}

@media (min-width: 1500px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    /* max-width: calc(100% - 150px); */
    max-width: calc(100% - 10%);
  }
}

@media (min-width: 1200px) {
  .zi-container {
    max-width: 960px;
  }
}

/*.carousel-caption {
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .carousel-item.active:hover .carousel-caption {
      opacity: 1;
    }
*/
.btn__grey {
  background-color: #fafafa;
}

.d_news_time,
.color__orange {
  color: var(--c-orange);
}

.btn__grey:hover {
  border: 1px solid #eee;
}

.btn__grey:hover .color__orange {
  color: #999;
}

/*.navbar-toggler-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: middle;
    content: "";
    background: 50% / 100% 100% no-repeat;
}

.navbar-toggler {
    margin: .3rem .5rem;
    padding: .1rem .5rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}*/

.berita-card {
  border: none;
}

.berita-card h5 {
  font-size: .85em;
  line-height: 1.2rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.berita-card {
  transition: box-shadow 0.4s ease;
}

.img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  /*background-color: #fdf6e3;*/
}

.img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*opacity: 0; */
  transition: opacity 0.6s ease, transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  z-index: 2;
}

/*.img-wrapper::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: linear-gradient(90deg, #fdf6e3 25%, #fff8dc 50%, #fdf6e3 75%);
      background-size: 200% 100%;
      animation: shimmer 1.2s infinite;
      z-index: 1;
      filter: blur(6px);
      opacity: 0.8;
      transition: opacity 0.6s ease, filter 0.6s ease;
    }

    @keyframes shimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }

    

    .img-wrapper.loaded img {
      opacity: 1;
    }

    .img-wrapper.loaded::before {
      opacity: 0;
      pointer-events: none;
    }*/

.berita-card:hover .img-wrapper img {
  transform: scale(1.08);
  /*box-shadow: 0 0 16px rgba(255,255,255,0.3), 0 0 8px rgba(0,123,255,0.4);*/
}

.card-img-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 6px 6px 0 0;
}

.berita-card:hover .card-img-overlay {
  opacity: 1;
}

.overlay-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}



.d_news_wrapper img {
  height: 140px;
  width: auto;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  object-fit: cover;
}

/* loading */
.loading_tabs {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* https://stackoverflow.com/questions/4639716/dot-dotdot-dotdotdot-as-loading */

.loading_text:after {
  content: ' .';
  animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    color: rgba(0, 0, 0, 0);
    text-shadow:
      .25em 0 0 rgba(0, 0, 0, 0),
      .5em 0 0 rgba(0, 0, 0, 0);
  }

  40% {
    color: white;
    text-shadow:
      .25em 0 0 rgba(0, 0, 0, 0),
      .5em 0 0 rgba(0, 0, 0, 0);
  }

  60% {
    text-shadow:
      .25em 0 0 white,
      .5em 0 0 rgba(0, 0, 0, 0);
  }

  80%,
  100% {
    text-shadow:
      .25em 0 0 white,
      .5em 0 0 white;
  }
}

#aplikasi {
  background-color: #e9f5ff;
  border-top: 1px solid #fefefe;
}

/* https://stackoverflow.com/questions/7273927/image-greyscale-with-css-re-color-on-mouse-over (grayscale ke color */
#aplikasi .item {
  opacity: .5;
  border: 1px solid transparent;
}

#aplikasi .item .caption {
  visibility: hidden;
}

#aplikasi .item:hover .caption {
  visibility: visible;
}

#aplikasi .item:hover {
  opacity: 1;
  border: 1px solid rgb(238, 77, 45);
  border-radius: 5px;
  background-color: rgb(255, 253, 175);
}

#aplikasi .item {
  margin: 20px;
}

.footer-one {
  background-image: url('/assets/img/indonesia-map.png');
  background-repeat: no-repeat;
  background-position: center;
}

.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

.owl-carousel .caption {
  text-align: center;
}

.web_std_blue_bg,
footer {
  background-color: #0e29cd;
}

footer {
  color: #fff;
  font-size: .95rem;
}

.dash-search-icon {
  border-radius: 0 5px 5px 0;
}

.max_height_300 {
  max-height: 300px;
}

.content-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  border-radius: 8px;
}

.content-inner {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.btn-selengkapnya {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

body {
  background-color: #efefef;
}

.c_bg-nav {
  background-color: #ea891e;
  /* !important; */
}

.navbar-yellow .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-yellow .navbar-brand:hover,
.navbar-yellow .navbar-brand:focus {
  color: rgba(0, 0, 0, 0.9);
  background-color: rgba(234, 188, 30, 1);
}

.navbar-yellow .navbar-nav .nav-link {
  color: #fff;
  padding: .8rem .5rem;
}

.navbar-yellow .navbar-nav .nav-link:hover,
.navbar-yellow .navbar-nav .nav-link:focus {
  color: rgba(0, 0, 0, 0.7);
  background-color: rgba(234, 188, 30, 1);
}

.navbar-yellow .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
}

.navbar-yellow .navbar-nav .show>.nav-link,
.navbar-yellow .navbar-nav .active>.nav-link,
.navbar-yellow .navbar-nav .nav-link.show,
.navbar-yellow .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.7);
  background-color: rgba(234, 188, 30, 1);
}

.navbar-yellow .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-yellow .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-yellow .navbar-text {
  color: rgba(0, 0, 0, 0.5);
}

.navbar-yellow .navbar-text a {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-yellow .navbar-text a:hover,
.navbar-yellow .navbar-text a:focus {
  color: rgba(0, 0, 0, 0.9);
}

.dropdown-item {
  color: #fff;
}

.dropdown-menu {
  background-color: #003c7c;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  text-decoration: none;
  background-color: #176cea;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.img__banner {
  margin-left: 50px;
  height: 90px;
}

header {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0e29cd+0,2989d8+68,298ed8+100 */
  background: linear-gradient(to right,
      rgba(14, 41, 205, 1) 0%,
      rgba(41, 137, 216, 1) 68%,
      rgba(41, 142, 216, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.c_bg_top {
  background-image: url('/assets/img/logo-web.png');
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: top right;
  height: 130px;
}

.c_line-clamp-2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c_text-orange {
  color: #ff5733;
}

.c_bg_blue {
  background-color: #0e29cd;
}

/* */
.d_news_time {
  font-size: .8rem;
  font-weight: 500;
}

.d_news_list h5 {
  font-size: .85em;
  line-height: 1.2rem;

  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* */

.news-item {
  margin-bottom: 30px;
}

.news-item-desc {
  font-size: .9rem;
}

.news-item h5 .news-title {
  font-size: .9rem;
  line-height: 1.2rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item h5.title {
  font-size: .95rem;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  will-change: transform, opacity;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.news-img-wrapper {
  transition: padding 0.3s ease, box-shadow 0.3s ease;

  position: relative;
  overflow: hidden;
  height: 120px;
  max-width: 100%;

  /*padding: 5px;*/
  border: 1px solid transparent;
  /* border-radius: 5px; */
  /* background-color: #f0f0f0; */
  /* opsional: latar belakang abu-abu */
  box-sizing: border-box;
}

.news-img-wrapper img {
  height: 100%;
  width: auto;
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  object-fit: cover;


  border-radius: 5px;
  display: block;
}

/* Lapisan gradasi biru */
.news-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 123, 255, 0.3), rgba(0, 123, 255, 0));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 5px;
  pointer-events: none;

}

.news-img-wrapper:hover {
  padding: 8px;
  border-color: #007bff;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
}

/* Caption muncul saat hover */
.news-img-wrapper:hover .news-caption {
  opacity: 1;
  visibility: visible;
}

/* Hover: zoom + blur + fade + gradasi biru */
.news-img-wrapper:hover img {
  transform: scale(1.3);
  /*filter: blur(2px);
  opacity: 0.8;*/
}

.news-img-wrapper:hover::after {
  opacity: 1;
}

/* Kategori overlay di bawah gambar */
.news-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;

}

/* Skeleton Loader atau Image Placeholder */
.img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  animation: pulse 1.5s infinite;
  border-radius: 10px;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.6;
  }
}

.news-img-wrapper,
.news-img-wrapper img {
  border-radius: 2px;
}

.logo_w3c20 {
  top: -5px;
  z-index: 2000;
  right: 160px;
  position: absolute;
}

#main-top {
  background-color: #757575;
  padding: .5rem 0;
}

#zi {
  background: url('/assets/img/zi/bg_zi.webp');
  height: 350px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.zi_header_cover {
  display: flex;
  align-items: center;
  justify-content: center;
}

.zi_img_head {
  max-width: 80%;
}

.zi_desc {
  font-weight: 600;
  line-height: 1.2em;
}

.zi_desc a {
  font-size: .95rem;
}

.zi_header_txt {
  font-size: 2.3rem;
}

.dashboard-nav .navbar_mobile_cover {
  display: none;
}

.zi_cover {
  text-align: center;
}

.zi_cover img {
  width: 80%;
}

/* some desktop with max 991px */
@media screen and (max-width:991px) {
  .nav-link {
    padding: .5rem;
  }

  .navbar-yellow .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2030%2030%22%3E%3Cpath%20stroke%3D%22%23fefefe%22%20stroke-linecap%3D%22round%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%222%22%20d%3D%22M4%207h22M4%2015h22M4%2023h22%22%20fill%3D%22%23ff0000%22%2F%3E%3C%2Fsvg%3E");
  }

  .navbar-yellow .navbar-toggler {
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
  }

  .navbar-toggler {
    margin: .5rem 1rem .5rem .5rem;
  }

  #main-top {
    padding: .3rem 0;
  }

  .main-topx {
    width: 100%;
    z-index: 12100;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    height: 30px;
  }

  .headerx {
    display: none !important;
  }

  .img__banner {
    margin-left: 0 !important;
    height: 40px;
  }

  .fixed-top {
    top: 30px
  }

  .web_nav {
    background-color: #ea891e;
  }

  .c_bg-nav {
    /*background-color: blue !important;*/
    background-image: url('/assets/img/logo-web.png');
    background-repeat: no-repeat;
    /* background-size: auto 100%; */
    background-position: top right;
    background: linear-gradient(to right, rgba(14, 41, 205, 1) 0%, rgba(41, 137, 216, 1) 68%, rgba(41, 142, 216, 1) 100%);
  }

  .dashboard-nav {
    padding: 0;
  }

  .dashboard-nav .navbar_mobile_cover {
    display: block;
  }

  nav.dashboard-nav.fixed-top .navbar_mobile_cover {
    position: relative;
    height: 100%;
  }

  nav.dashboard-nav.fixed-top .navbar_mobile_view {
    position: absolute;
    top: 50%;
    left: .5rem;
  }

  nav.dashboard-nav.fixed-top .img__banner {
    transform: translateY(-50%);
  }

}

/* smartphone */
@media (max-width: 767px) {
  .zi_header_txt {
    font-size: 1.1rem;
  }

  .zi_img_head {
    max-width: 100% !important;
  }

  #timetop {
    font-size: .75rem;
  }

  #v__page_post .headline {
    font-size: 1.5rem;
  }

  .zi_desc {
    display: none;
    padding-bottom: 10px;
  }

  .zi_card {
    position: relative;
  }

  .zi_card:hover .zi_cover {
    z-index: 500;
    border: 1px solid #ddd;
    position: absolute;
    background-color: rgba(255, 255, 255, .4);
    border-radius: 3px;
  }

  .zi_cover {
    border: 1px solid transparent;
    width: 100%;
  }

  .zi_card:hover .zi_desc {
    padding: .4rem .5rem;
    display: block;
    background: #fff;
  }

  .zi_card:hover .zi_desc a {
    font-size: .9rem;
  }

  .no_mobile {
    display: none;
  }

  #google_translate_element {
    display: none;
  }

  .berita-card .img-wrapper {
    border-radius: 3px;
  }

  .berita-card h5 {
    line-height: 1.1rem;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .d_news_wrapper img {
    height: 85px;
  }

  .d_news_list h5 {
    line-height: 1.1rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .timetable_dashboard_header {
    width: 100%;
    z-index: 12100;
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    height: 30px;
  }



  .logo_w3c20 {
    top: 0px;
    right: 25px;
    height: 20px;
  }


  .c_bg_top {
    height: auto;
    padding: .6rem;
  }

  .news-item h5 .news-title {
    font-size: 1rem;
    line-height: 1.2rem;
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }

  .news-img-wrapper {
    height: 90px;
  }

  #schedule_table_header {
    font-size: 1.1rem;
  }


}