@charset "UTF-8";
/*
-----------------------------------
    1. 變數 
    2. mixin
    3. 共用元件
    4. 主要內容區
    5. 公告欄
    6. 進出口數據
    7. 貿易統計查詢
    8. 視覺化圖表
    9. 頁尾footer
-----------------------------------
*/
/*===============================
  變數
================================*/
:root {
  --fontFamily: "PingFangTC", NotoSans, Microsoft JhengHei, "微軟正黑體", "Helvetica", "sans-serif";
  /*語意化顏色變數*/
  --mainColor:#186B8D;
  --primaryColor: #027C9B;
  --primaryColor_hover: #006B87;
  --primaryText: #242424;
  --primaryLinear:linear-gradient(to right, #186b8d 0%, #027c9b);
  --secondaryColor: #007BBA;
  --secondaryColor_hover: #006AA0;
  --secondaryText: #114B7E;
  --secondaryBg: #D8EEFF;
  --tertiaryColor:#FFD37C;
  --tertiaryColor_hover: #F9B302;
  --tertiaryBg:#FFFDEE;
  --tertiaryBg_light: #FFFCF6;
  --infoColor: #2174D7;
  --infoColor_hover: #1762a5;
  --lightGreenColor:#EEFAFF;
  --lightGreenColor_hover: #DEEFF4;
  --purpleColor:#5667d2;
  --purpleColor_hover: #3f53cc;
  --text:#3F3F3F;
  --text_ligth:#676767;
  --border:#D7D7D7;
  --border_light:#E3E3E3;
  --grayBg:#f5f5f5;
  --lightGrayBg:#fcfcfc;
  --disabled:#EEEEEE;
  --disabledText:#656565;
  --headerMenuText:#765B27;
  --headerMenuBorder: #977431;
  --headerMenuBg:#fff2d1;
  --tableCaptionBG:#A4D7FF;
  --tableThBG: #D8EEFF;
  --tableTdBG: #F2F9FF;
  --tableTdStripe:#fcfcfc;
  --tableText:#114b7e;
  --red:#D70000;
  --inputFocus:#0C69D9;
  --outlineBrown:#765B27;
  --outlineYellow:#FFD37C;
}

/*===============================
  mixin
================================*/
/*===============================
  共用元件
================================*/
a {
  color: var(--secondaryColor);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.btn-more {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  padding-right: 1.375rem;
  font-size: 1rem;
  color: var(--primaryColor);
  background-image: url(../images/circle_arrow_green.png);
  background-repeat: no-repeat;
  background-size: 1.125rem;
  background-position: 100% 50%;
}
.btn-more:focus {
  outline: 2px solid var(--outlineYellow);
}

.w100 {
  width: 100% !important;
}

/*===============================
  主要內容區
================================*/
.main-content {
  min-height: calc(100vh - 292px);
  box-sizing: border-box;
  padding-top: 84px;
  padding-bottom: 0;
}

.region-title {
  font-size: 2rem;
  color: var(--primaryColor);
  font-weight: 500;
  padding-left: 3.25rem;
  margin-bottom: 0.875rem;
  position: relative;
}
.region-title::before {
  content: "";
  display: block;
  width: 36px;
  height: 24px;
  background-image: url(../images/two_circle.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

section {
  padding: 1.875rem;
  box-sizing: border-box;
}

.block-container {
  background: transparent;
  border: none;
  padding: 0;
}
.block-container .title {
  margin-bottom: 0;
}

@media screen and (max-width: 992px) {
  .main-content {
    padding-top: 72px;
  }
  .region-title-small {
    font-size: 1.75rem;
  }
}
/*===============================
  公告欄
================================*/
.board-section {
  width: 100%;
  background-image: url(../images/top-bg.png);
  background-repeat: no-repeat;
  padding-top: 4.375rem;
  box-sizing: border-box;
}

.board-carousel {
  padding: 0 2.875rem;
}

.board-list {
  width: 100%;
}

.board-item {
  padding: 0 0.9375rem;
  box-sizing: border-box;
}
.board-item:focus {
  outline: 2px dashed var(--outlineBrown);
  outline-offset: -2px;
}
.board-item .board-item-inner {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 0 2px 0 var(--border);
  border: 1px solid var(--border);
  background-color: #fff;
  padding: 1rem;
  box-sizing: border-box;
}
.board-item .board-item-inner .time-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem 0.75rem;
  margin-bottom: 0.625rem;
}
.board-item .board-item-inner .time-row .calendar {
  display: inline-flex;
  font-size: 1rem;
  color: var(--primaryText);
  text-align: center;
  background-color: var(--tertiaryColor);
  border-radius: 1000px;
  padding: 0.25rem 0.5625rem;
}
.board-item .board-item-inner .time-row .new-icon {
  display: inline-flex;
}
.board-item .board-item-inner .txt-row {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.625rem;
}
.board-item .board-item-inner .txt-row .heading {
  font-size: 1.25rem;
  font-weight: bold;
  word-break: break-all;
}
.board-item .board-item-inner .txt-row .content {
  display: none;
  font-size: 1.25rem;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem;
  word-break: break-all;
}
.board-item .board-item-inner .txt-row .content > p {
  margin-bottom: 0.625rem;
}
.board-item .board-item-inner .txt-row.active {
  overflow: inherit;
  text-overflow: inherit;
  display: block;
  -webkit-line-clamp: inherit;
  -webkit-box-orient: inherit;
}
.board-item .board-item-inner .txt-row.active .content {
  display: block;
}
.board-item .board-item-inner .btn-row {
  text-align: right;
}
.board-item .board-item-inner .btn-row .btn-board-collapse {
  font-size: 1rem;
  color: var(--mainColor);
  background-color: var(--lightGreenColor);
  padding: 0.1875rem 0.875rem;
  border-radius: 1000px;
  border: 0;
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.3s;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.board-item .board-item-inner .btn-row .btn-board-collapse:hover {
  background-color: var(--lightGreenColor_hover);
}
.board-item .board-item-inner .btn-row .btn-board-collapse:focus {
  background-color: var(--lightGreenColor_hover);
  outline: 2px dashed var(--outlineBrown);
  outline-offset: -2px;
}

.slick-prev,
.slick-next {
  display: block;
  position: absolute;
  bottom: 4%;
  transform: none;
  z-index: 1;
  width: 40px;
  height: 40px;
  padding: 0px;
  border: 0;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: 50% 50%;
  border-radius: 50%;
  background-color: var(--mainColor);
  font-size: 0;
  line-height: 0;
  box-sizing: border-box;
  cursor: pointer;
}
.slick-prev:focus,
.slick-next:focus {
  outline-offset: -4px;
  outline: 3px dashed var(--outlineYellow);
}

.slick-prev {
  background-image: url(../images/icon_arrow_left.png);
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.slick-next {
  background-image: url(../images/icon_arrow_right.png);
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (max-width: 992px) {
  section {
    padding: 1.5rem 0 1rem 0;
  }
  .board-section {
    background-image: none;
    padding-top: 1.5rem;
  }
  .board-carousel {
    padding: 0;
  }
  .board-carousel .slick-prev {
    right: 70px;
    left: inherit;
    top: -55px;
    transform: none;
  }
  .board-carousel .slick-next {
    right: 15px;
    left: inherit;
    top: -55px;
    transform: none;
  }
}
/*===============================
  進出口數據
================================*/
.data-section {
  width: 100%;
  padding-top: 4.375rem;
  padding-bottom: 12.5rem;
}
.data-section .section-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.data-section .section-container .block {
  width: calc(50% - 1rem);
  position: relative;
}
.data-section .section-container .block .date {
  font-size: 1.5rem;
  color: var(--primaryColor);
  font-weight: 500;
  position: absolute;
  top: 10px;
  right: 0;
}
.data-section .section-container .block-w35 {
  width: calc(35% - 1rem);
  position: relative;
}
.data-section .section-container .block-w65 {
  width: calc(65% - 1rem);
  position: relative;
}

.import-export-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}
.import-export-container > .box {
  width: 100%;
  height: 161px;
  padding: 8px 10px 12px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 2px 0 var(--border);
  border: 1px solid var(--tertiaryColor_hover);
  box-sizing: border-box;
  cursor: default;
  position: relative;
}
.import-export-container > .box:hover {
  text-decoration: none;
}
.import-export-container > .box .title {
  display: inline-block;
  font-size: 1.13rem;
  color: var(--infoColor_hover);
  margin-bottom: 6px;
}
.import-export-container > .box .grow-value {
  float: right;
}
.import-export-container > .box .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.import-export-container > .box .image {
  width: 100%;
}
.import-export-container > .box .img {
  display: inline-flex;
  width: 62px;
  height: 62px;
}
.import-export-container > .box .num {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--primaryText);
  flex-basis: 100%;
  justify-content: space-evenly;
}
.import-export-container > .box .num .unit {
  font-size: 16px;
}
.import-export-container > .box:nth-child(2) {
  border: 1px solid #f77d2b;
}
.import-export-container > .box:nth-child(3) {
  border: 1px solid #0299ff;
}
.import-export-container > .box:nth-child(4) {
  border: 1px solid #916cfe;
}
.import-export-container > .box .currency {
  width: 100%;
  text-align: center;
}

.grow-value {
  font-size: 1.25rem;
  padding-left: 2.5rem;
  position: absolute;
  top: 55px;
  right: 10px;
}
.grow-value::before {
  width: 23px;
  height: 19px;
  top: 50%;
  left: 16px;
}

@media screen and (max-width: 992px) {
  .import-export-container > .box .currency {
    width: auto;
    text-align: center;
    position: absolute;
    top: 88px;
    right: 40px;
    font-size: 20px;
  }
  .import-export-container > .box .img {
    display: inline-flex;
    width: 88px;
    height: 88px;
  }
  .import-export-container > .box .image {
    width: auto;
  }
  .import-export-container > .box .num {
    flex-basis: 50%;
    justify-content: flex-start;
  }
  .import-export-container > .box .num .count {
    font-size: 28px;
  }
  .import-export-container > .box .num .unit {
    font-size: 20px;
    position: absolute;
    top: 70px;
    right: 24px;
  }
  .grow-value {
    top: 16px;
    right: 20px;
  }
}
/*===============================
  貿易統計查詢
================================*/
.trade-statistics-container .row-top {
  width: 100%;
  display: grid;
  padding-bottom: 1.5rem;
}
.trade-statistics-container .row-top .box {
  min-height: 161px;
  background-color: var(--lightGreenColor);
}
.trade-statistics-container .row-top .box .title {
  color: var(--text);
}
.trade-statistics-container .row-top .box:hover {
  background-color: var(--lightGreenColor_hover);
  text-decoration: none;
}
.trade-statistics-container .row-top .box:focus {
  background-color: var(--lightGreenColor_hover);
  outline: 2px dashed var(--outlineBrown);
}
.trade-statistics-container .row-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding-top: 1.5rem;
  position: relative;
}
.trade-statistics-container .row-bottom::before {
  content: "";
  display: block;
  width: 90%;
  height: 1px;
  background-image: linear-gradient(to right, #acacac 50%, rgba(255, 255, 255, 0) 0%);
  background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(50%, #acacac), color-stop(50%, rgba(255, 255, 255, 0)));
  background-position: bottom;
  background-size: 10px 1px;
  background-repeat: repeat-x;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.trade-statistics-container .row-bottom .box {
  min-height: 134px;
  background-color: #f6f6f6;
}
.trade-statistics-container .row-bottom .box .title {
  font-size: 1.375rem;
  color: var(--primaryColor);
}
.trade-statistics-container .row-bottom .box:hover {
  background-color: #eeeeee;
  text-decoration: none;
}
.trade-statistics-container .row-bottom .box:focus {
  background-color: #eeeeee;
  outline: 2px dashed var(--outlineBrown);
}
.trade-statistics-container .box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  border-radius: 4px;
  box-sizing: border-box;
  transition: all 0.3s;
}
.trade-statistics-container .box .img {
  display: inline-flex;
  width: 78px;
  height: 78px;
  -o-object-fit: contain;
     object-fit: contain;
}
.trade-statistics-container .box .title {
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 500;
}

@media screen and (max-width: 992px) {
  .data-section {
    padding-top: 1.5rem;
    padding-bottom: 0;
    background-image: none;
  }
  .data-section .wrap {
    padding: 0;
  }
  .data-section .section-container .block {
    width: 100%;
    padding: 0 1rem;
  }
  .data-section .section-container .block .date {
    text-align: right;
    position: relative;
    top: inherit;
    padding-bottom: 0.625rem;
  }
  .data-section .section-container .block:first-child {
    padding-bottom: 1.25rem;
  }
  .data-section .section-container .block:nth-child(2) {
    width: 100%;
    background-image: url(../images/pattern_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 4.375rem 1rem 12.5rem 1rem;
  }
  .data-section .section-container .block-35 {
    width: 100%;
    padding: 0 1rem;
  }
  .data-section .section-container .block-w65 {
    width: 100%;
    padding: 0 1rem;
  }
  .import-export-container {
    grid-template-columns: 1fr;
  }
  .import-export-container > .box {
    padding: 1rem 1.25rem;
  }
  .trade-statistics-container .row-top {
    padding-bottom: 0.625rem;
    grid-template-columns: 1fr;
  }
  .trade-statistics-container .row-top .box {
    min-height: 118px;
    justify-content: center;
  }
  .trade-statistics-container .row-bottom {
    padding-top: 0.625rem;
  }
  .trade-statistics-container .row-bottom .box {
    min-height: 178px;
    flex-direction: column;
    gap: 0.5rem;
  }
  .trade-statistics-container .row-bottom::before {
    display: none;
  }
}
/*===============================
  視覺化圖表
================================*/
.chart-section {
  margin-top: -10rem;
}
.chart-section .section-container {
  position: relative;
}
.chart-section .section-container .btn-group {
  position: absolute;
  top: -40px;
  right: 0;
}
.chart-section .chart-wrap {
  width: 100%;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.25);
  border: solid 1px #e3e3e3;
  background-color: #ffffff;
  box-sizing: border-box;
}

@media screen and (max-width: 992px) {
  .chart-section .section-container {
    position: relative;
  }
  .chart-section .section-container .btn-group {
    text-align: right;
    position: relative;
    top: inherit;
    right: inherit;
    padding-bottom: 0.375rem;
  }
}
@media screen and (max-width: 350px) {
  .chart-control {
    flex-direction: column;
  }
  .chart-control select.form-control {
    width: 100% !important;
  }
}
/*===============================
  頁尾footer
================================*/
footer {
  height: 284px;
  padding: 1.875rem 0;
  background-image: url(../images/footer_bg_final.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0%;
}
footer .wrap {
  padding-top: 3.125rem;
}
footer .web-link {
  color: var(--primaryText);
}
footer .web-link ul li a {
  color: var(--primaryText);
  border-radius: 1px solid var(--primaryColor);
  border-right: 1px solid var(--primaryText);
}

@media screen and (max-width: 992px) {
  footer {
    height: auto;
    background-image: var(--primaryLinear);
  }
  footer .wrap {
    padding-top: 0;
  }
  footer .web-link {
    color: #fff;
  }
  footer .web-link ul li a {
    color: #fff;
    border-right: 1px solid #fff;
  }
}/*# sourceMappingURL=index.css.map */