@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700;900&family=Noto+Serif+TC:wght@400;500;700;900&display=swap");

@font-face {
  font-family: "brand-icons";
  src: url("../fonts/brand-icons.woff2") format("woff2"),
    url("../fonts/brand-icons.woff") format("woff");
  font-style: normal;
  font-weight: normal;
  font-display: block;
  font-variant: normal;
  text-decoration: inherit;
  text-transform: none;
}

* {
  font-family: "Noto Sans", sans-serif !important;
}
.row>img, .row>.wpb_wrapper {
  padding: 0px;
}
.new h3,.new h1{
  font-size: 22px;
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}
.new h4{
  font-size: 18px;
}
.hidden {
  display: none !important;
}
.scroll {
  overflow-y: scroll;
  overflow-x: hidden;
}
.scroll::-webkit-scrollbar {
  width: 6px;
}
.scroll::-webkit-scrollbar-thumb {
  background-color: #276bb6;
  border-radius: 5px;
}
.space-top {
  margin-top: 87px;
}
.line-con {
  width: 100%;
  display: flex;
  height: 11px;
}
.line-con div {
  width: 50%;
  height: 100%;
}
.line-con div:first-child {
  background-color: #0673eb;
}
.line-con div:last-child {
  background-color: #39d101;
}
/* header */
.navbar-brand .logo {
  height: 35px;
}
nav.navbar ul.nav > li > a {
  padding: 16px 26px;
}
nav.navbar.validnavs {
  padding: 0;
}
.smooth-menu,
.smooth-menu-1 {
  color: #1e1e1e !important;
}
.navbar {
  background-color: #fff !important;
  position: fixed !important;
}
/* 輪播 */
swiper-container {
  width: 100%;
}
swiper-slide {
  width: 100%;
  position: relative;
}
swiper-slide img {
  width: 100%;
}
swiper-slide .slide-btn-2 {
  position: absolute;
  width: 50%;
  height: 30%;
  left: 0;
  bottom: 0;
  cursor: pointer;
}
swiper-slide .slide-btn-3 {
  position: absolute;
  width: 80%;
  height: 20%;
  left: 0;
  bottom: 0;
  cursor: pointer;
}
swiper-container::part(bullet) {
  background-color: #b9b8b8;
  width: 12px;
  height: 12px;
  opacity: 1;
}
swiper-container::part(bullet-active) {
  background-color: #38d101;
  width: 12px;
  height: 12px;
}
swiper-container::part(pagination) {
  bottom: 3px;
  width: auto;
  left: auto;
  right: 10px;
}

/* 側邊按鈕 */
.side-fixed-button {
  position: fixed;
  bottom: 0;
  right: -2px;
  border: 1.45px solid #fff;
  border-radius: 17px 0 0 17px;
  background: linear-gradient(
    to right,
    rgba(6, 115, 235, 0.6),
    rgba(7, 115, 235, 1)
  );
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
}
.side-fixed-button .title {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.side-fixed-button .countdown {
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  margin: 6px 0 3px;
}
.side-fixed-button #countdown-day {
  font-size: 24.83px;
  letter-spacing: 0.08em;
}
.side-fixed-button .sub-text {
  display: flex;
  align-items: center;
}
.side-fixed-button .sub-text span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-left: 5px;
}
.side-fixed-button .sub-text img {
  width: 8.84px;
}

/* 最新公告 */
#news .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.news-video-area {
  width: 100%;
  min-height: 300px;
  position: relative;
  cursor: pointer;
  background-color: #000;
}
#news .play-icon::after {
  content: "\f431";
  font-size: calc(80px + 5vw);
  color: red;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  font-family: "brand-icons" !important;
  pointer-events: none;
}
#news .container #news-video {
  width: 100%;
}
#news .container .row {
  width: 100%;
}
#news .container h2 {
  text-align: center;
  font-size: 36px;
  color: #0673eb;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 25px;
}
#news .container .row {
  margin: 0;
}
.news-list {
  border: 1px solid #d4d4d4;
  border-radius: 5px;
  padding: 12px;
  height: 285px;
}
.news-list .scroll {
  height: 100%;
}
.news-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.news-item .date {
  background-color: #0773eb;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
}
.news-item .text {
  font-size: 16px;
  font-weight: 500;
  color: #414141;
  margin-left: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 計畫說明 */
#plan .item .icon img {
  max-width: 90px;
  max-height: 90px;
}

/* 我們的里程碑 */
#milestone p {
  color: #6a6a6a;
}
#milestone .container:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#milestone .container:last-child img {
  width: 70%;
  max-width: 200px;
  margin-bottom: 50px;
}
.milestone-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.milestone-item {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin: 0 20px 10px;
  border-bottom: 1px solid #a6a9ac;
}
.milestone-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-left: 20px;
  margin-bottom: 0;
}
.milestone-item p {
  display: flex;
  align-items: flex-end;
  margin-bottom: 0;
}
.milestone-item span {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.milestone-item .unit {
  line-height: 1.3;
}
.milestone-item .text-mini {
  font-size: 22px;
  margin-bottom: 10px;
}
.milestone-item:nth-child(1) h3,
.milestone-item:nth-child(4) h3,
.milestone-item:nth-child(1) span,
.milestone-item:nth-child(4) span {
  color: #0673eb;
}
.milestone-item:nth-child(2) h3,
.milestone-item:nth-child(3) h3,
.milestone-item:nth-child(2) span,
.milestone-item:nth-child(3) span {
  color: #39d101;
}

/* 徵件主題 */
#topic p {
  color: #6a6a6a;
}
#topic.default-padding {
  padding-bottom: 0;
}
#topic .context {
  width: 100%;
}
.topic-item:nth-child(odd) {
  background-color: #39d101;
}
.topic-item:nth-child(even) {
  background-color: #0673eb;
}
.topic-item .img {
  width: 100%;
  position: relative;
}
.topic-item .img img {
  width: 100%;
  height: 100%;
}

.topic-item .content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
}
.topic-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.topic-title .text {
  width: 50%;
}
.topic-title .text h3 {
  font-weight: 700;
  color: #fff;
  font-size: 36px;
  margin-bottom: 0;
}
.topic-title .text h4 {
  font-weight: 700;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}
#topic .content p {
  font-weight: 700;
  color: #fff;
  font-size: 18px;
}
.image-left .content {
  align-items: flex-start;
}
.image-right {
  flex-direction: row-reverse;
}
.image-right .content {
  align-items: flex-end;
}

/* 計畫期程 */
#timeline {
  position: relative;
}
#timeline .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
#timeline h2 {
  color: var(--color-heading);
}
#timeline .date {
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  width: 82px;
  height: 82px;
  min-width: 82px;
  min-height: 82px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#timeline li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#timeline li .content {
  margin-top: 15px;
}
#timeline li .content h4,
#timeline li .content p {
  color: #000;
}
#timeline li:nth-child(odd) .date {
  background-color: #39d101;
}
#timeline li:nth-child(even) .date {
  background-color: #0673eb;
}
#timeline li .content {
  width: 100%;
}
.process-area .info li h4 {
  font-weight: 700;
}

/* 報名辦法 */
#registration-procedures .info h4,
#registration-procedures .info h5 {
  font-weight: 700;
}
#registration-procedures .btn-theme-effect {
  border: 2px solid #39d101;
}
#registration-procedures .btn-theme-effect::after {
  background: #39d101;
}
#registration-procedures .row .col-sm-6 {
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  padding-right: 10px;
}
#registration-procedures .row .col-sm-6 .btn {
  width: 100%;
}

/* 獎金與名額 */
#prices .site-heading h2 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 500;
}
#prices .site-heading h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 4px;
  font-weight: 500;
}
#prices .site-heading h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
}
#prices .site-heading h4 span {
  font-size: 26px;
  font-weight: 500;
}
#prices .site-heading h3:last-child {
  margin-top: 5px;
}
#prices .site-heading .light-text {
  background-color: #39d101;
  font-size: 28px;
  padding: 2px 5px 0;
}
#prices .site-heading .max-text {
  font-size: 36px;
  font-weight: 500;
}
.pricing-item .price h2 {
  font-weight: 600;
}

/* 徵件辦法 */
#method h2 {
  color: #fff;
  font-weight: 700;
  font-size: 36px;
}
#method h3 {
  color: #fff;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 0;
}
#method p {
  color: #fff;
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 0;
}
#method .container:last-child {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.method-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  flex-direction: column;
  margin: 0 38px 20px;
}
.method-item:nth-child(odd) {
  background-color: #39d101;
}
.method-item:nth-child(even) {
  background-color: #0673eb;
}

/* Footer */
#about-us {
  background-color: #f2f2f2;
}
#about-us .widget-title,
#about-us .content,
#about-us a,
#about-us strong {
  color: #000;
  font-weight: 700;
}
.fa-envelope:before,
.fa-phone:before,
.fa-home:before {
  color: #000;
}
.fa,
.fas {
  font-family: "Font Awesome 5 Pro" !important;
}
footer .f-items .f-item .address li i {
  border: 1px dashed rgba(0, 0, 0, 0.3);
}
footer .footer-bottom {
  background-color: #0673eb;
}

/* 跳窗 */
.dialog-base {
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #00000060;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.dialog-close-icon {
  width: 30px;
  position: absolute;
  right: 25px;
  top: 25px;
  z-index: 50;
  cursor: pointer;
}
.message-dialog {
  max-width: 1440px;
  width: 96%;
  height: 96dvh;
  border-radius: 16px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding-top: 44px;
  padding-bottom: 44px;
  padding-right: 6px;
  padding-left: 6px;
  position: relative;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
}
.dialog {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}
/* 評選標準 */
#selection-criteria {
  height: 100%;
}
#selection-criteria .container:last-child {
  width: 100%;
  height: 70dvh;
}
.services-style-four-box {
  padding: 20px;
}
#selection-criteria h2 {
  color: #000;
}
.services-style-four-box {
  background: transparent;
}
.single-item:first-child .services-style-four:first-child,
.single-item:last-child .services-style-four:last-child {
  background-color: #0673eb;
}
.single-item:first-child .services-style-four:last-child,
.single-item:last-child .services-style-four:first-child {
  background-color: #39d101;
}
.services-style-four-box {
  box-shadow: none;
}
/* 評選辦法 */
#selection-method {
  padding: 20px;
}
#selection-method .container:last-child {
  width: 100%;
  height: 70dvh;
}
#selection-method h2,
#selection-method h4,
#selection-method a {
  color: #000;
}
.work-process-tab-content ul h4::after {
  color: #fff;
}
.work-process-tab-content ul li:first-child {
  padding-top: 0;
}
.work-process-tab-content ul li {
  border: 0;
  padding-top: 0;
  margin-top: 20px;
}
.tab-pane {
  border-bottom: 1px solid #000;
  padding: 20px 0;
}
.tab-pane:last-child {
  border-bottom: none;
}
/* 權利義務 */
#obligations {
  padding: 20px;
}
#obligations h2 {
  text-align: center;
}
#obligations ol {
  padding: 0 30px;
  width: 100%;
  height: 70dvh;
}

/* New2表格 */
.cq-datatable {
  max-width: 700px;
  width: 100%;
  display: block;
}
.table_text {
  font-size: 16px;
  text-align: center;
}
.cq-datatable-row:nth-of-type(odd) {
  background: #e9e9e9;
}
.cq-datatable-row {
  padding: 14px 0 7px;
  display: block;

}
.cq-datatable-medium .cq-datatable-cell {
  padding: 12px 14px;
}
.cq-datatable-cell {
  padding: 2px 16px;
  display: block;
}
.cq-datatable-row.cq-datatable-header {
  padding: 0;
  height: 6px;
}
.cq-datatable-row:nth-of-type(odd) {
  background: #e9e9e9;
}
.cq-datatable-header {
  color: #ffffff;
  background: #ea6153;
}
.cq-datatable-row.cq-datatable-header .cq-datatable-cell {
  display: none;
}
.cq-datatable-row .cq-datatable-cell {
  margin-bottom: 10px;
}
.cq-datatable-row .cq-datatable-cell:before {
  margin-bottom: 3px;
  content: attr(data-title);
  min-width: 98px;
  font-size: 10px;
  line-height: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #969696;
  display: block;
}
@media screen and (min-width: 638px) {
  .cq-datatable {
    display: table;
  }
  .cq-datatable-row.cq-datatable-header {
    padding:auto;
    height: auto;
  }
  .cq-datatable-row {
    display: table-row;
    background: #f6f6f6;
  }
  .cq-datatable-row.cq-datatable-header .cq-datatable-cell {
    display: table-cell;
  }
  .cq-datatable-row .cq-datatable-cell {
    margin-bottom: 0;
  }
  .cq-datatable-cell {
    padding: 6px 12px;
    display: table-cell;
  }
  .cq-datatable-row .cq-datatable-cell:before {
    display: none;
  }
}

@media (min-width: 768px) {
  .new h3,.new h1{
    font-size: 27px;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
  }
  .new h4{
    font-size: 20px;
  }
  /* header */
  .smooth-menu:hover {
    color: #0473ea !important;
  }
  .smooth-menu:hover span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0473ea;
  }
  .smooth-menu.active {
    color: #0473ea !important;
  }
  .smooth-menu span {
    position: relative;
  }
  .smooth-menu.active span::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0473ea;
  }
  /* 輪播 */
  swiper-container::part(pagination) {
    bottom: -13px;
    transform: translate(-50%, -50%);
    right: 50%;
  }
  /* 側邊按鈕 */
  .side-fixed-button {
    padding: 24px;
  }
  .side-fixed-button .title {
    font-size: 16px;
  }
  .side-fixed-button .countdown {
    font-size: 20px;
    margin: 20px 0 15px;
  }
  .side-fixed-button #countdown-day {
    font-size: 50px;
  }
  .side-fixed-button .sub-text span {
    font-size: 20px;
    margin-left: 10px;
  }
  .side-fixed-button .sub-text img {
    width: 18.5px;
  }
  /* 最新公告 */
  #news .container {
    display: flex;
    justify-content: space-between;
  }
  .news-video-area {
    width: 45%;
  }
  #news .container .row {
    width: 49%;
  }
  #news .container h2 {
    margin-top: 0;
  }
  .news-list {
    padding: 15px 24px;
  }

  /* 徵件主題 */
  .topic-item {
    display: flex;
    margin-bottom: 0;
  }
  .topic-item .img {
    width: 50%;
  }
  .topic-item .content {
    width: 50%;
  }
  .topic-title {
    justify-content: flex-start;
  }
  .topic-title .text {
    width: auto;
  }
  .topic-title .text h3 {
    margin-bottom: 15px;
  }
  .topic-title .text h4 {
    line-height: 1.5;
  }
  .image-right .content {
    padding: 0;
  }
  .image-left .content {
    padding: 20px 40px 20px 15px;
  }
  .image-right .content {
    padding: 20px 15px 20px 40px;
  }
  .topic-item.image-left .img::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    clip-path: polygon(100% 0, 93% 100%, 100% 100%);
    background-color: #39d101;
    top: 0;
    right: -1px;
  }
  .topic-item.image-right .img::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    clip-path: polygon(0 0, 0 100%, 7% 100%);
    background-color: #0673eb;
    top: 0;
    left: -1px;
  }
  /* 計畫期程 */
  /* #timeline .info:last-child {
    margin-top: 0;
  } */
  #timeline li {
    flex-direction: row;
  }
  #timeline li .content {
    margin-top: 0;
    margin-left: 17px;
  }
  /* 徵件辦法 */
  #method .container:last-child {
    flex-direction: row;
  }
  .method-item {
    width: 200px;
    height: 200px;
    margin: 0 10px 20px;
  }

  /* 跳窗 */
  /* 評選標準 */
  .services-style-four-box {
    padding: 50px;
  }
  #selection-criteria .container:last-child {
    height: 65dvh;
  }
  /* 評選辦法 */
  #selection-method {
    padding: 50px;
  }
  #selection-method .container:last-child {
    height: 65dvh;
  }
  /* 權利義務 */
  #obligations {
    padding: 50px;
  }
  #obligations ol {
    height: 65dvh;
  }
}

@media (min-width: 1024px) {
  /* 我們的里程碑 */
  #milestone .container:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #milestone .container:last-child img {
    width: 20%;
    margin-right: 5%;
    margin-bottom: 0;
  }
  .milestone-list {
    width: 75%;
    max-width: 700px;
  }
  .milestone-item h3 {
    margin-bottom: 0px;
  }
  .milestone-item span {
    font-size: 63px;
  }
  .milestone-item .text-mini {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .milestone-item {
    width: 50%;
    margin: 0;
    padding: 0 20px;
    border-bottom: none;
  }
  .milestone-item:nth-child(1),
  .milestone-item:nth-child(2) {
    border-bottom: 1px solid #a6a9ac;
  }
  .milestone-item:nth-child(1),
  .milestone-item:nth-child(3) {
    border-right: 1px solid #a6a9ac;
  }
  /* 徵件辦法 */
  .method-item {
    width: 250px;
    height: 250px;
    margin: 0 38px 20px;
  }
}
@media (min-width: 1350px) {
  /* 輪播 */
  swiper-container::part(bullet) {
    width: 17.7px;
    height: 17.7px;
  }
  swiper-container::part(bullet-active) {
    width: 17.7px;
    height: 17.7px;
  }
  swiper-container::part(pagination) {
    bottom: -10px;
  }
  .space-top {
    margin-top: 58px;
  }
}
