a {
  text-decoration: none;
}

.page-header {
  background-image: url("../../images/Banners/climatefcst-banner.jpg");
  background-color: rgba(0, 0, 0, 0.15);
  height: var(--header-height);
}

.page-header .container {
  padding-left: 10px;
}

@media (max-width: 768px) {
  .page-header {
    height: var(--header-mobile-height);
  }
  .page-header .container {
    padding-left: 13px;
  }
}

.category-title {
  background: #e1f4ff;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  border-radius: 10px;
  width: fit-content;
  padding: 16px 20px 16px 0;
  gap: 20px;
}

@media (max-width: 768px) {
  .category-title {
    flex-direction: column;
  }
}

.category-title .section-title {
  background: #fff;
  border-radius: 0 50px 50px 0;
  padding: 8px 26px;
  margin-bottom: 0;
  text-wrap: nowrap;
  min-width: fit-content;
}

.category-title .section-title h3 {
  font-size: 26px;
  margin-bottom: 0;
  white-space: normal;
}

.category-title .section-title::after {
  top: 9px;
  left: 16px;
}

@media (max-width: 1199.98px) {
  .category-title {
    padding-bottom: 12px;
    padding-left: 12px;
    align-items: flex-start;
  }

  .category-title .section-title {
    transform: translateX(-12px);
    width: fit-content;
  }
}

.category-title .options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.options .btn {
  text-wrap: nowrap;
}

button.variable-select {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0px 0px 4px 0px rgba(71, 146, 206, 0.2);
  padding: 6px 36px 6px 16px;
  position: relative;
}

button.variable-select:hover {
  background: #fff;
  border: 1px solid #7faccb;
}

button.variable-select::after {
  content: "";
  background: url("../../images/ClimateFcst/EastAsia/down.svg");
  width: 24px;
  height: 24px;
  position: absolute;
  right: 7px;
  top: 4px;
}

button.variable-select span.type {
  font-size: 12px;
  color: #747970;
}

button.variable-select select,
button.variable-select input {
  border: none;
  font-weight: 600;
}

section {
  margin-bottom: 56px;
}

.pic-list {
  max-height: calc(100vh - 106px);
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}

.pic-list .pic-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #747970;
  margin: 5px 0 5px;
}

.pic-list .pic-item {
  height: calc((100vh - 106px) * 0.5 - 24px);
  width: calc(50% - 20px);
  padding: 5px 27px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pic-list.pic-list-cols-3 {
  max-height: calc(50vh + 74px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-evenly;
}

.pic-list.pic-list-cols-3 .pic-item {
  width: calc(33% - 20px);
  height: fit-content;
  padding: unset;
}

.pic-list.pic-list-cols-3 .pic-item:last-child {
  width: 100%;
}

.pic-list img,
.pic-list.pic-list-cols-3 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pic-list img.no-data {
  width: 50%;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 991.98px) {
  .pic-list {
    max-height: unset;
    flex-direction: column;
  }

  .pic-list .pic-item {
    width: 100%;
    height: unset;
  }

  .pic-list.pic-list-cols-3 {
    max-height: unset;
  }

  .pic-list.pic-list-cols-3 .pic-item {
    width: 100%;
    height: unset;
  }
}

/* 溫度雨量 */
.yearpicker {
  width: 3.5em;
}

.category-title button:nth-child(2) {
  cursor: default;
}

#ea-t2m-pcp .pic-list .pic-item:last-child button,
#cir .pic-list .pic-item:last-child button,
#ocean-fcst .pic-list .pic-item:last-child button,
#ocean-prob .pic-list .pic-item:last-child button {
  width: 100%;
  height: 100%;
  position: relative;
}

#ea-t2m-pcp .pic-list .pic-item:last-child button span,
#cir .pic-list .pic-item:last-child button span,
#ocean-fcst .pic-list .pic-item:last-child button span,
#ocean-prob .pic-list .pic-item:last-child button span {
  width: 100%;
  text-align: center;
  color: #2292d3;
  font-size: 18px;
  font-family: "Microsoft JhengHei", sans-serif;
  font-weight: 600;
  position: absolute;
  top: calc(50% - 18px);
}

#ea-t2m-pcp .pic-list .pic-item:last-child button img,
#cir .pic-list .pic-item:last-child button img,
#ocean-fcst .pic-list .pic-item:last-child button img,
#ocean-prob .pic-list .pic-item:last-child button img {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

#t2m-pcp-prob .pic-list.pic-list-cols-3 .pic-item:last-child button,
.sea-btn {
  width: 100%;
  border-radius: 0px;
  padding: 14px;
  font-weight: 600;
}

#t2m-pcp-prob .pic-list.pic-list-cols-3 .pic-item:last-child button:hover,
.sea-btn:hover {
  color: #fff;
}

/* lightbox2 custom style */
/* .lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 1;
}

.lb-nav a.lb-prev {
  position: relative;
  left: -44px;
  background-image: url("../../images/ClimateFcst/arrow-left.svg");
  background-position-y: center;
}

.lb-nav a.lb-next {
  position: relative;
  right: -44px;
  background-image: url("../../images/ClimateFcst/arrow-right.svg");
  background-position-y: center;
}

.lb-nav a.lb-prev::before,
.lb-nav a.lb-next::before {
  content: "";
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -5px;
  z-index: -1;
}

.lb-nav a.lb-next::before {
  left: unset;
  right: -5px;
}

.lb-dataContainer {
  margin-bottom: 8px;
}

.lb-closeContainer {
  position: relative;
}

a.lb-close {
  position: absolute;
  right: -56px;
}

.lb-data .lb-close {
  width: 36px;
  height: 36px;
  background: url("../../images/ClimateFcst/x-circle.svg");
}

.lb-data .lb-number {
  opacity: 0;
} */

/* Prospect */
/* section img {
  cursor: pointer;
} */

#list-outline img {
  margin-bottom: 20px;
}

.content {
  max-width: 900px;
  margin: 0 auto;
}

.img-caption {
  text-align: center;
  margin-top: 15px;
  color: #767676;
  font-weight: 400;
}

a {
  text-decoration: underline;
}

canvas {
  border-radius: 10px 10px 0 0;
}

.gauge {
  border: 1px solid #5aa3d2;
  border-radius: 10px;
}

.gauge p {
  font-size: 18px;
  font-weight: bold;
  padding: 12px;
  border: 1px solid #4763cb;
  border-radius: 20px;
  width: fit-content;
  margin: 0px auto 30px auto;
}

@media (max-width: 460px) {
  .underline-title {
    text-align: start;
  }
}
