.widget_imsakiyah {
  width: 400px;
  height: 200px;
  background: #1e2d70 url(../images/bg_imsakiyah.webp);
  background-size: cover;
  background-position-x: -4.5rem;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  border-radius: 10px;
  box-shadow: 0 3px 5px #6d87db;
  overflow: visible;
  display: none;
}

.widget_imsakiyah .bottom_ct {
  width: 100%;
  padding: 8px 20px;
  position: absolute;
  background: rgba(21, 31, 78, 0.7);
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.widget_imsakiyah .bottom_ct ul {
  color: #ffbb00;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding: 0;
  margin: 0;
}

.widget_imsakiyah .bottom_ct li span,
.widget_imsakiyah .bottom_ct li {
  display: block;
  font-size: 15px !important;
  font-weight: 800;
}

.widget_imsakiyah .top_ct {
  display: flex;
  padding: 0 20px;
}

.widget_imsakiyah .top_ct span,
.widget_imsakiyah .top_ct .top_brand p {
  color: #fff;
  font-size: 12px;
  text-shadow: rgba(255, 255, 255, 0.2) 0 3px 4px;
}

.widget_imsakiyah .top_ct .top_text {
  margin-top: 55px;
}

.widget_imsakiyah .top_ct span:first-child,
.widget_imsakiyah .top_ct span:nth-child(2) {
  display: block;
  color: #ffbb00;
}

.widget_imsakiyah .top_ct .top_text span:first-child {
  font-size: 38px;
  font-weight: bold;
  margin-left: -5px;
}

.widget_imsakiyah .top_ct .top_text span:nth-child(2) {
  font-size: 18px;
  font-weight: bold;
  margin-top: 28px;
}

.widget_imsakiyah .top_ct .top_text span:nth-child(3) {
  position: relative;
  top: 6%;
  font-weight: bold;
}

.widget_imsakiyah .top_ct .top_brand img {
  position: absolute;
  right: 0.4rem;
  width: 180px;
  height: auto;
}

.widget_imsakiyah .top_ct .top_brand .plus_img {
  position: absolute;
  width: 10px;
  right: -1rem;
  bottom: 20%;
  height: auto;
  display: inline-block !important;
}

.widget_imsakiyah .top_ct .top_text .clock_img {
  width: 20px;
  top: 10%;
  position: relative;
  height: auto;
  display: inline-block;
}

.widget_imsakiyah .top_ct .top_brand p {
  position: absolute;
  bottom: 22%;
  right: 6%;
  font-weight: bold;
}

/* Calender imsakiyah popup */
.widget_imsakiyah .top_brand .calender_imsakiyah {
  position: relative;
  width: 100%;
  height: auto;
}

.widget_imsakiyah .top_brand .loc_imsakiyah.modal {
  position: absolute;
  background-color: #fefefe;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 5px;
  animation: fadeSlideIn 0.5s;
  top: -25px;
  left: 60%;
  display: none;
  z-index: 2;
  width: 32%;
}

.widget_imsakiyah .top_brand .loc_imsakiyah.modal .close_img {
  width: 10px;
}

.widget_imsakiyah .top_brand .modal_content {
  animation: fadeIn 0.5s;
}

.widget_imsakiyah .top_brand .modal_content .close_modal {
  font-size: 16px;
  color: #111;
}

.widget_imsakiyah .top_brand .modal_content ul {
  padding-left: 0;
  margin: 0;
  margin-top: 18px;
}

.widget_imsakiyah .top_brand .modal_content ul li {
  font-weight: bold;
  text-decoration: none;
  list-style: none;
  margin-bottom: 12px;
}

.widget_imsakiyah .top_brand .modal_content ul li a {
  color: #111;
  transition: all 0.3s;
  text-decoration: none;
}

.widget_imsakiyah .top_brand .modal_content ul li:hover a {
  text-shadow: rgba(60, 41, 107, 0.2) 0 8px 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
    /* Perubahan nilai transform dari negatif ke positif */
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.widget_imsakiyah .top_brand .close_modal {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
}

/* tambahan css untuk desktop */
.widget_imsakiyah .bottom_ct .off_time {
  color: darkgrey;
}

.widget_imsakiyah.hide {
  display: none;
}

.widget_imsakiyah.show {
  display: block;
}