@charset "utf-8";

/* 內頁主視覺 */
.mainBanner .imgbx {
  width: 100%;
  position: relative;
  /* padding-bottom: 31.25%; */
  height: 450px;
}

/* 最新消息主視覺 */
.mainBanner.inner .imgbx {
  height: 300px;
}

.article p {
  line-height: 1.7;
  font-size: 1.125em;
}

.article-tit {
  padding: 0;
  border: none;
  font-size: 1.5em;
  margin-bottom: 5px;
  min-width: auto;
  text-align: left;
}

.article p+p {
  margin-top: 10px;
}

.article {
  padding-bottom: 50px;
  min-height: calc(100vh - 415px);
}

.article-tit::before {
  display: none;
}

.mainBanner .imgbx img {
  -o-object-position: right;
  object-position: right;
}

.mainBanner h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
}

.mainBanner h2 span {
  margin-left: 15px;
  font-size: 0.6em;
}

.mainBanner p {
  max-width: 60%;
  font-size: 1.125em;
  line-height: 1.8;
}

/* row3排列 */
.row3 {
  display: flex;
  flex-wrap: wrap;
}

.row3>li {
  width: 31.3%;
  margin-right: 3%;
  margin-bottom: 3%;
}

.row3>li:nth-child(3n) {
  margin-right: 0;
}

/* 網站導覽樣式 */
.mapsy {
  text-align: center;
}

.mapsy h3 {
  padding: 8px 0;
  font-size: 1.5em;
  border: none;
  border-bottom: 3px solid #057830;
  min-width: auto;
  border-radius: 0;
  width: 100%;
  margin-bottom: 0;
}

.mapsy h3::before {
  display: none;
}

.mapsy li a {
  display: block;
  width: 100%;
  background: #f6f6f6;
  padding: 8px 5px;
  box-sizing: border-box;
  font-size: 1.125em;
  color: #333;
  transition: 0.3s all ease-in-out;
}

.mapsy li a:hover {
  color: #e15b02;
}

.mapsy li+li a {
  border-top: 1px solid #d2d2d2;
}

/* 資料來源框 */
.sourceFm {
  background-color: #fff9ef;
  padding: 20px;
  border-radius: 10px;
  color: #666666;
  font-size: 0.875em;
}

.sourceFm p.tit {
  color: #000;
  font-size: 1.1428em;
  margin-bottom: 5px;
}

.sourceFm p {
  letter-spacing: 0.1em;
  line-height: 1.7;
}

/* 表格樣式 */
caption {
  font-size: 0;
  text-indent: -9999em;
}

.txt-hide {
  opacity: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 30px;
}

table thead {
  border-top: 1px solid #057830;
  background-color: #f6f6f6;
}

table th {
  color: #057830;
  font-size: 1.125em;
  padding: 10px;
}

table td {
  padding: 15px 10px;
  font-size: 1.25em;
  border-bottom: 1px solid #e5e5e5;
}

.date {
  color: #6d6d6d;
  white-space: nowrap;
}

td.noData {
  border: 1px solid #e5e5e5;
  border-top: 2px solid #057830;
  ;
  text-align: center;
  padding: 30px;
  color: #666;
}

td.noData .imgbx {
  width: 100px;
  margin: 0 auto;
  margin-bottom: 15px;
}

table td.act {
  position: relative;
  padding: 0;
}


table td.act a {
  padding-right: 55px;
}

table td.act.link {
  background: url(../images/icon-link.png)no-repeat center right 10px;
  background-size: 44px auto;
}

table td.act.download {
  background: url(../images/icon-download.png)no-repeat center right 10px;
  background-size: 44px auto;
}

table td a {
  color: #0c3a87;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

table td a.inner {
  color: #333;
}

table td.act a {
  padding: 15px 10px;
  padding-right: 55px;
}

table td.act.download a {
  color: #c95102;
}

table td a:hover {
  color: #0c3a87;
  opacity: .8;
}

table td a.inner:hover {
  color: #333;
  opacity: .8;
}

/* 表格樣式2 */
table.stockResult {
  text-align: center;
  border-spacing: 0 10px;
  border-collapse: separate;
  margin-bottom: 0;
}

table.stockResult thead {
  background-color: #fff;
}

table.stockResult th {
  font-size: 1em;
  padding: 20px 5px 10px 5px;
  position: relative;
  border-top: 2px solid #057830;
  position: relative;
}

table.stockResult td {
  border-bottom: none;
}

table.stockResult tbody tr {
  border: 1px solid #e5e5e5;
}

table.stockResult tr td {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

table.stockResult tr td:first-child {
  border: 1px solid #e5e5e5;
  border-right: none;
}

table.stockResult tr td:last-child {
  border: 1px solid #e5e5e5;
  border-left: none;
}

table .note {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 0.875rem;
  padding-right: 18px;
}

table .note:hover {
  color: #333;
}

table .note1 {
  background: url(../images/note1.png)no-repeat top 1px right;
  background-size: 18px auto;
}

table .note2 {
  background: url(../images/note2.png)no-repeat top 1px right;
  background-size: 18px auto;
}

.noteTxt {
  color: #666666;
}

.noteTxt+.noteTxt {
  margin-top: 10px;
}

.noteTxt span {
  padding-right: 25px;
  margin-right: 5px;
  position: relative;
}

.noteTxt span::after {
  content: ":";
  position: absolute;
  right: 0;
  top: -1px;
}

#note1 span {
  background: url(../images/note1.png)no-repeat top 4px right 6px;
  background-size: 18px auto;
}

#note2 span {
  background: url(../images/note2.png)no-repeat top 4px right 6px;
  background-size: 18px auto;
}

table+.noteTxt {
  margin-top: -20px;
}

.tooltip-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(../images/icon-tooltip.png)no-repeat center center / contain;
  font-size: 0;
  vertical-align: middle;
  position: relative;
  top: -2px;
  cursor: pointer;
}

.tooltip-icon:focus+.tooltip-txt {
  display: block;
}

.tooltip-txt {
  position: absolute;
  right: 0;
  bottom: 5px;
  transform: translateY(100%);
  background-color: #666;
  border-radius: 5px;
  padding: 10px 15px;
  color: #fff;
  font-size: 0.93em;
  text-align: left;
  width: 250px;
  display: none;
  z-index: 10;

}

.mCSB_container_wrapper.mCS_no_scrollbar_y.mCS_y_hidden>.mCSB_container {
  overflow: visible !important;
}

.tooltip-txt.op {
  opacity: 1;
}

.tooltip-txt::before {
  content: "";
  position: absolute;
  top: 2PX;
  right: 35px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #666 transparent;
  transform: translateY(-100%);
}

.tooltip-txt span {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

table.stockResult th:hover .tooltip-txt {
  display: block;
}

.scrollBx {
  margin-bottom: 30px;
}

/* ESG商品查詢 */
.searchBar {
  max-width: 600px;
  display: flex;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.searchBar label {
  font-size: 0;
}

.searchBar .searchBtn {
  font-size: 0;
  width: 80px;
  height: 50px;
  border-radius: 50px;
  margin-left: 15px;
  background: #e15b02 url(../images/search.png)no-repeat center center;
  background-size: 28px auto;
  transition: 0.3s all ease-in-out;
}

.searchBar .searchBtn:hover {
  opacity: .8;
}

.link-btn {
  border: 1px solid #0c3a87;
  color: #0c3a87;
  font-size: 1.25em;
  padding: 5px 15px;
  border-radius: 50px;
  display: inline-block;
  transition: 0.2s all ease-in-out;
}

.link-btnBx {
  text-align: center;
  margin-bottom: 30px;
}

.link-btn:hover {
  background: #0c3a87;
  color: #fff;
}

.fileBx {
  margin-bottom: 40px;
}

.link-btn+.link-btn {
  margin-left: 15px;
}

/* 永續報告書 */
.fileBx li {
  border-radius: 0 0 10px 10px;
  background-color: #f6f6f6;
  border-top: 3px solid #288a4d;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: 0.2s all ease-in-out;
  overflow: hidden;
}

.fileBx h3 {
  font-size: 1.5em;
  border: none;
  padding: 0;
  min-width: auto;
  margin-bottom: 0;
  font-weight: 400;
  z-index: 5;
  transition: 0.2s all ease-in-out;
}

.fileBx h3::before {
  display: none;
}

.fileBx .imgbx {
  width: 80px;
  margin: 0 auto;
  margin-top: 5px;
  margin-bottom: 5px;
}

.fileBx li:hover::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  background: #288a4d url(../images/link.svg)no-repeat center top 30%;
  background-size: 80px auto;
}

.fileBx li:hover h3 {
  color: #fff;
}

/*頁面992以內時*/
@media screen and (max-width: 992px) {

  /* 表格樣式2 */
  table.stockResult {
    border-spacing: 0;
    width: 880px;
    padding-right: 20px;
    margin-right: 0 !important;

  }

  .scrollBx {
    height: 350px;
    padding-top: 5px;
  }

  .mCSB_container {
    overflow: visible !important;
  }

  table.stockResult th {
    font-size: 0.875em;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 5px 8px 5px;
    line-height: 1.3;
  }

  table.stockResult tr td {
    font-size: 1em;
    padding: 8px 5px;
    border-top: none;
  }

  table.stockResult tr td:first-child {
    border-left: none;
    border-top: none;
  }

  table.stockResult tr td:last-child {
    border-right: none;
    border-top: none;
  }

  table .note {
    font-size: 0.75em;
    top: 2px;
  }

  table .note2,
  table .note1 {
    background-size: 15px auto;
  }

  /* 滾軸樣式修改 */
  .mCSB_scrollTools .mCSB_draggerRail {
    width: 7px;
    background-color: #eeeeee;
  }

  .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
  .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
  .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    width: 7px;
    background-color: #434343;
  }

  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail {
    height: 7px;
  }

  .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
    height: 7px;
    width: auto;
  }

  .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
    background-color: #434343;
  }

  .mCustomScrollbar {
    touch-action: initial;
  }

}

/*小網*/
@media screen and (max-width: 767px) {

  /* 內頁主視覺 */
  .mainBanner .imgbx {
    padding-bottom: 73.33%;
    height: auto !important;
  }

  .mainBanner.inner .imgbx {
    padding-bottom: 0%;
    height: 180px !important;
  }

  .mainBanner.inner .txt {
    padding: 0;
  }

  .mainBanner.inner h2 {
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
  }

  .article-tit {
    text-align: left;
    font-size: 1.25em;
  }

  .article p {
    font-size: 1em;
  }

  .mainBanner .txt {
    position: relative;
    left: auto;
    top: auto;
    transform: translate(0, 0);
    background: #024c1b;
    padding: 15px 15px 50px 15px;
  }

  .mainBanner .txt p {
    max-width: 100%;
    font-size: 1em;
  }

  .mainBanner h2 {
    position: absolute;
    top: -180px;
    font-size: 1.875em;
  }

  .mainBanner h2 span {
    display: block;
    margin-left: 0;
  }

  /* row3排列 */

  .row3 li {
    width: 100%;
    margin-right: 0;
  }

  /* 網站導覽樣式 */
  .mapsy h3 {
    font-size: 1.25em;
  }

  /* 資料來源框 */
  .sourceFm {
    padding: 15px;
  }

  /* 表格樣式 */
  table th {
    font-size: 0.875em;
    padding: 8px 10px;
  }

  table td {
    font-size: 1em;
    padding: 12px 10px;
  }

  table td.act a {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 10px;
  }

  table td.act.link {
    background-size: 40px;
  }

  .noteTxt {
    font-size: 0.875em;
    letter-spacing: 0.14em;
  }

  .tooltip-txt {
    width: 240PX;
  }

  #note1 span,
  #note2 span {
    background-position: top 2px right 6px;
  }

  td.noData .imgbx {
    width: 80px;
  }

  /* 滾軸樣式修改 */
  .mCSB_container_wrapper {
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .mCSB_container_wrapper>.mCSB_container {
    overflow: visible;
  }

  /* ESG商品查詢 */
  .searchBar .searchBtn {
    width: 55px;
    height: 45px;
    border-radius: 5px;
    margin-left: 10px;
    background-size: 24px auto;
  }

  .link-btnBx {
    text-align: left;
    margin-top: -5px;
  }

  .link-btn+.link-btn {
    margin-left: 0;
    margin-top: 10px;
  }

  .link-btn {
    font-size: 1em;
  }

  /* 永續報告書 */
  .fileBx li {
    padding: 10px;
    margin-bottom: 20px;
  }

  .fileBx .imgbx {
    width: 60px;
  }

  .fileBx h3 {
    font-size: 1.25em;
  }


}