@import "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Open Sans, system-ui, Avenir, Helvetica, Arial, sans-serif;
  color: #234462;
}

body {
  background-color: #f5f5f5;
  margin: 3% 5% 0%;
}

.fw-7 {
  font-weight: 700;
}

.fw-8 {
  font-weight: 800;
}

.cd-btn {
  text-align: center;
  border-radius: 10px;
  padding: 0 36px;
  height: 42px;
  background-color: #053858;
  color: #fff;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  background: #6ad4b6;
  background: linear-gradient(182deg, #6ad4b6, #2ba8ab 79%, #0d93a6);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-btn {
  border-radius: 10px;
  padding: 0 36px;
  height: 42px;
  outline: none;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #6ad4b6;
  border: 1px solid #6ad4b6;
  cursor: pointer;
}

.dengue_spot_wrapper {
  margin: 3% 0 2% 0;
}

.dengue-hotspot-wrapper {
  display: flex;
  justify-content: space-between;
}

.item-list-wrapper {
  margin-right: 25px;
  width: 50vw;
}

.search-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 5px 14px;
  border-radius: 8px;
  box-shadow: 0 3px 3px #d1d1d1;
}

.search-container input {
  border: none;
  outline: none;
  width: 100%;
}

.search-container img {
  width: 30px;
  height: 30px;
}

.item-list {
  background-color: #fff;
  margin-top: 20px;
  height: 405px;
  overflow-x: hidden;
  overflow-y: scroll;
  box-shadow: 0 3px 8px #d1d1d1;
}

.link-container {
  width: 100%;
}

.social-media-container {
  width: 75%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.location-name,
.cases p {
  font-weight: 700;
}

.mobile-description {
  text-align: center;
  margin: 8% 0 10%;
}

.mobile-description h3 {
  font-weight: 800;
}

.mobile-description p {
  font-size: 12px;
}

.display-desktop-none {
  display: none;
}

#map {
  width: 100%;
}

.custom-marker {
  background-color: #8b2e2e;
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 4px #0006;
  position: relative;
  transform: translateY(-50%);
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}

.custom-marker:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #8b2e2e;
}

.copy-container {
  padding-top: 10px;
  display: flex;
}

.copy-container input {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border-right: none;
  padding: 6px 10px;
  width: calc(80% - 2rem);
  max-width: 300px;
  background-color: #d5d5d5;
  border: unset;
  font-weight: 700;
}

.copy-container button {
  padding: 6px 16px;
  margin-left: -18px;
  border-radius: 16px;
  background: #6ad4b6;
  font-weight: 600;
  background: linear-gradient(90deg, #6ad4b6, #2ba8ab 79%, #0d93a6);
  color: #fff;
  border: unset;
}

.information-wraper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  font-size: 16px;
  background-color: #ffffff;
  padding: 40px;
}

.accordion * {
  pointer-events: none;
}

.parent-accordion {
  font-size: 18px !important;
  font-weight: 800;
}

.total_spot,
.total_AOA {
  color: #db1f1f;
}

.accordion {
  background-color: #ffffff;
  color: #053858;
  cursor: pointer;
  padding: 16px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active,
.accordion:hover {
  background-color: #ffffff;
}

.accordion:after {
  content: "\002B";
  color: #4eb9b7;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.accordion.nested {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.accordion.nested:after {
  content: unset;
}

.nested.active:after {
  content: unset;
}

.accordion .icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.accordion.active .icon {
  transform: rotate(180deg);
}

.panel {
  padding: 0 0;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  color: #053858;
  transition: max-height 0.2s ease-out;
}

.copy-wrapper {
  display: flex;
  justify-content: space-between;
}

.AOA-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.AOA-item strong {
  max-width: 55%;
}

.hotspot-item {
  cursor: pointer;
}

.AOA-item {
  padding: 16px;
  border-bottom: 1px solid #d5d5d5;
  cursor: pointer;
}

.negeri-wrapper {
  font-size: 16px;
}

.dengue-outbreak-wrapper-desc {
  display: flex;
  justify-content: center;
  align-items: flex-start;

  width: 33.33%;

  border-right: 1px solid #70707024;
  margin-right: -5rem;
  padding-right: 3rem;
}

.dengue-outbreak-wrapper-desc img {
  margin-right: 20px;
  height: 70px;
}

.dengue-hotspot-wrapper-desc {
  display: flex;
  justify-content: center;
  align-items: flex-start;

  width: 33.33%;
}

.dengue-hotspot-wrapper-desc img {
  margin-right: 20px;
  height: 70px;
}

.link-wrapper {
  width: 16%;
}

.dengue_cases {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 20px 32px;
  background: #ffff;
  margin: 20px 0 0 0;
}

.dengue_cases .total,
.dengue_cases .title_date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dengue_cases .title_date .title {
  font-size: 20px;
  font-weight: 700;
}

.dengue_cases .title_date .date,
.dengue_cases .total .total_num_desc {
  font-size: 14px;
  font-weight: 500;
  color: #9c9c9c;
}

.dengue_cases .total .total_num {
  font-size: 35px;
  font-weight: 600;
  color: #d60000;
}

.skeleton {
  opacity: 0.7;
  animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 70%);
  }

  100% {
    background-color: hsl(200, 20%, 95%);
  }
}

@media screen and (max-width: 900px) {
  body {
    margin: 0;
  }

  .dengue-hotspot-wrapper {
    flex-direction: column-reverse;
    margin-bottom: 10%;
  }

  .display-desktop-none {
    display: block;
  }

  .dengue_spot_wrapper {
    margin: 0;
  }

  #map {
    height: 100vh;
  }

  .item-list-wrapper {
    width: 100%;
    padding: 5% 8% 0%;
  }

  .information-wraper {
    font-size: 10px;
  }

  .dengue-outbreak-wrapper-desc img {
    height: 50px;
  }

  .dengue-hotspot-wrapper-desc img {
    height: 50px;
  }

  .cd-btn {
    font-size: 10px;
    padding: 0 16px;
  }

  .share-btn {
    font-size: 10px;
  }
}

@media screen and (max-width: 600px) {
  .search-container {
    position: absolute;
    width: 80%;
    top: 18px;
    z-index: 1;
  }

  .information-wraper {
    flex-direction: column;
  }

  .dengue-outbreak-wrapper-desc,
  .dengue-hotspot-wrapper-desc {
    width: 100%;
    margin-bottom: 26px;
  }

  .dengue-outbreak-wrapper-desc img {
    height: 28px;
  }

  .dengue-outbreak-wrapper-desc {
    margin-right: unset;
    padding-right: unset;
    border: unset;
  }

  .link-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
  }
}

@media screen and (max-width: 375px) {
  .cd-btn,
  .share-btn {
    width: 66vw;
  }
  .cd-btn {
    margin: 10px 0 20px 0;
  }

  .link-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}
