/* container ========= */
.imskh-wrap {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 2%;
  margin-bottom: 1%;
  box-sizing: border-box;
  color: #333;
  background: #fff;
}

.imskh-wrap .ims-main {
  width: 100%;
  background: #fff;
  margin: 0;
}

/* Header ======*/
.imskh-wrap .ims-header {
  position: relative;
  /* width: 70%; */
  width: 92%;
  min-height: 300px;
  margin-bottom: 5%;
  background: url("https://www.metrotvnews.com/asset/asset/opsi_metro_bri.webp");
  background-size: contain;
  background-repeat: no-repeat;
  margin: 20px auto;
}

.imskh-wrap .ims-banner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 5px 0 20px 0;
  margin-bottom: 5px;
  border-radius: 8px;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 190px;
}

.imskh-wrap .client:empty,
.imskh-wrap .client.hidden,
.imskh-wrap .client[hidden],
.imskh-wrap .client {
  display: block;
}

.imskh-wrap .ims-header .header-img {
  position: absolute;
  width: 100%;
  height: 110%;
  object-fit: contain;
}

.imskh-wrap .ims-banner h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  text-shadow: 8px 8px 4px rgba(0, 0, 0, 0.3);
}

.imskh-wrap .ims-banner .client {
  width: 169px;
  height: auto;
  margin: 0 auto;
  /* visibility: hidden; */
}

.imskh-wrap .ims-banner p {
  margin: 30px auto 0;
  font-size: 19px;
  font-weight: bold;
  color: #174a58;
  max-width: 387px;
}


.imskh-wrap .ims-timepray {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 3%;
}

.imskh-wrap .ims-tp-title {
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

.imskh-wrap .ims-tp-item {
  width: 57px;
  height: 46px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid #174a58;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 9.6px;
  color: #174a58;
}

.imskh-wrap .ims-tp-item span {
  display: block;
  font-size: 33px;
  font-weight: 700;
  line-height: 48.4px;
  color: #174a58;
  text-align: center;
}

.imskh-wrap .ims-tp-title p {
  font-size: 21px;
  margin: 0;
}

.imskh-wrap .ims-tp-titikdua {
  font-size: 28px;
}

/* Table ============*/
.imskh-wrap .ims-table-wrapper {
  width: 100%;
  /* overflow-x: auto; */
  font-weight: 500;
  margin-top: 0;
}

.imskh-wrap .ims-table {
  width: 97%;
  font-size: 16px;
}

/* 7 kolom table */
.imskh-wrap .ims-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(6, 1fr);
  text-align: center;
}

.imskh-wrap .ims-row>div {
  padding: 10px 6px;
  border-bottom: 1px solid #e0e0e0;
}

.imskh-wrap .ims-head {
  background: #2558b6;
  color: #fff;
  font-weight: 600;
}

.imskh-wrap .ims-row:not(.ims-head):nth-child(even) {
  background: #f4f8ff;
}

/* TGL rata kiri */
.imskh-wrap .ims-row>div:first-child {
  text-align: left;
  /* padding-left: 12px; */
  padding-left: 6px;
  font-weight: 500;
}

.imskh-wrap .ims-row>div:first-child span {
  display: block;
}

/* Dropdow filter kota ========== */
.imskh-wrap .ims-dropdown {
  margin: -15px auto 0;
  position: relative;
  width: 50%;
  font-size: 16px;
  text-transform: uppercase;
}

.imskh-wrap .ims-dropdown input[type="checkbox"] {
  display: none;
}

.imskh-wrap .ims-dd-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid #fff;
  border-radius: 6px;
  cursor: pointer;
}

.imskh-wrap .ims-dd-toggle span {
  color: #fff;
}

.imskh-wrap .ims-dd-toggle .ims-arrow {
  width: 30px;
  height: 30px;
  font-size: 29px;
  background-image: url("https://www.metrotvnews.com/asset/asset/arrow_down_metro.webp");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.imskh-wrap .ims-dd-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5;
}

.imskh-wrap .ims-dd-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  display: none;
  z-index: 10;
}

.imskh-wrap .ims-dd-search {
  width: 90%;
  height: 36px;
  padding: 0 10px;
  border: none;
  border-bottom: 1px solid #eee;
  outline: none;
  font-size: 16px;
  text-transform: uppercase;
}

.imskh-wrap .ims-dd-list {
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.imskh-wrap .ims-dd-list li {
  padding: 12px 12px;
  cursor: pointer;
}

.imskh-wrap .ims-dd-list li:hover {
  background: #f2f6ff;
}

/* scrollbar kecil */
.imskh-wrap .ims-dd-list::-webkit-scrollbar {
  width: 6px;
}

.imskh-wrap .ims-dd-list::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 10px;
}

/* === ACTIVE === */
.imskh-wrap #dd:checked~.ims-dd-menu,
.imskh-wrap #dd:checked~.ims-dd-overlay {
  display: block;
}

/* Responsive ============================= */
@media (min-width: 1388px) {
  .container-flex div.imsak-caption {
    padding-left: 0;
  }
  
  .imskh-wrap .ims-header {
    /* width: 84%; */
    width: 100%;
    margin: 16px auto 16px;
    position: relative;
  }

  .imskh-wrap .ims-banner {
    width: 70%;
  }

  .imskh-wrap .ims-banner .client {
    width: 186px;
  }

  .imskh-wrap .ims-banner p {
    margin: 18px 0 0;
  }

  .imskh-wrap .ims-tp-title p {
    margin: 0;
  }

  .imskh-wrap .ims-table-wrapper {
    /* width: 84%; */
    width: 100%;
    margin: 5% auto 0;
    overflow-x: auto;
    font-weight: 500;
  }

  .imskh-wrap .ims-dd-toggle {
    height: 45px;
  }
}

@media (max-width: 1388px) {
  .imskh-wrap .ims-table {
    width: 92%;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .imskh-wrap .center {
    width: 100%;
  }

  .imskh-wrap .ims-table-wrapper {
    width: 100%;
    margin-top: 10%;
  }
}

@media (max-width: 780px) {
  .imskh-wrap .ims-table {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .imskh-wrap .ims-row {
    grid-template-columns: 140px repeat(6, 90px);
  }
}

@media (max-width: 600px) {
  .imskh-wrap .ims-table-wrapper {
    overflow: hidden;
    /* matikan scroll */
  }

  .imskh-wrap .ims-table {
    font-size: 11px;
  }

  .imskh-wrap .ims-row {
    /* grid-template-columns: 1.2fr repeat(6, 0.8fr); */
    grid-template-columns: 1.2fr repeat(6, 1fr);
  }

  .imskh-wrap .ims-row>div {
    padding: 6px 2px;
    white-space: nowrap;
  }

  /* Header lebih ringkas */
  .imskh-wrap .ims-head>div {
    font-size: 10px;
    padding: 6px 2px;
  }

  .imskh-wrap .ims-row>div:first-child {
    font-size: 80%;
  }

  .imskh-wrap .ims-table-wrapper {
    margin-top: 8%;
  }

  .imskh-wrap .ims-table {
    font-size: 13px;
  }
}

/* untuk text */

.container-flex .imsak-caption {
  font-size: 13.5px;
  color: #969696;
  font-weight: 500;
  padding: 10px 0 0;
  padding-left: 4%;
}

.container-flex .imsak-text {
  font-size: 16px;
  line-height: 200%;
  text-align: justify;
  padding-right: 20px;
}

.container-flex .imsak-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 20px;
  margin: -1px !important;
}

.container-flex .imsak-note {
  margin: 20px 0;
  padding: 10px 10px;
  background-color: #2558b60d;
  border-left: 5px solid #2558b6;
  border-radius: 5px;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  position: relative;
}

.container-flex .imsak-note p {
  margin: 0;
}

.container-flex .imsak-note strong {
  color: #0b6b3a;
}

.container-flex .imsak-text h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  padding-right: 20px;
  margin: 0;
}

.imsak-text ol {
  padding-left: 30px;
  padding-bottom: 10px;
  line-height: 2.5;
}

.imsak-text ol h3 {
  font-weight: 500 !important;
  font-size: 16px !important;
}

.container-flex .imsak-text h3 {
  font-size: 18px;
  /* font-style: italic; */
  font-weight: 600;
  line-height: 1.3;
  padding-right: 20px;
  margin: 10px 0;
}

.container-flex .imsak-pray {
  margin: 20px 0;
  padding: 16px 20px;
  background-color: #2558b60d;
  border-left: 5px solid #2558b6;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  position: relative;
}

.container-flex .imsak-pray .imsak-tpray {
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
}

.container-flex .imsak-pray p:nth-child(1) {
  font-style: italic;
}