@charset "utf-8";

body {
  letter-spacing: 0.1em; /* height: 100vh; */
  font-family: Microsoft JhengHei;
  overflow: auto !important; /* height: calc(var(--vh, 1vh) * 100); */
  height: 100%;
  height: 100vh;
  height: 100dvh;
}
body .main.small {
  font-size: 95%;
}
body .main.medium {
  font-size: 100%;
}
body .main.big {
  font-size: 105%;
}
body a {
  transition: all 200ms ease-out;
}
body a:focus,
body [type="button"]:focus,
body [type="submit"]:focus,
body select:focus {
  outline: 3px #f44336 dotted !important;
  outline-offset: -3px;
  opacity: 1;
}
body input:focus,
body select:focus {
  background-color: #ffeb3b !important;
  color: #000 !important;
  outline: 3px #f44336 dotted !important;
}
.into {
  z-index: 9999;
  position: absolute;
}

.into a {
  opacity: 0;
}

/*search*/
.search_box {
  display: flex;
  border-radius: 5px;
  padding: 0 0 0 10px;
  font-size: 95%;
  position: relative;
}
.modal-content .search input {
  font-size: 110%;
  border: none;
  background-color: #dedede;
  padding: 5px 10px;
  width: 100%;
}
.modal-content .search .keyword {
  color: #000000;
  font-size: 110%;
  letter-spacing: 1px;
  margin: 0;
  font-weight: bold;
}

.modal-content .search > label {
  position: absolute;
  width: 100%;
  top: 0;
}
.modal-content .search .keyword svg {
  width: 20px;
  margin: -3px 0px 0 2px;
  height: 20px;
}

.modal-content .search .keyword svg .a {
  fill: #000;
}
.search_link a,
.search_link {
  color: #358fc6;
  padding: 5px 5px 5px 0;
}
.search_bt a {
  background-color: #338ec6;
  color: #fff;
  display: block;
  padding: 5px 10px;
  border-radius: 5px;
}
.search_bt a:hover {
  text-decoration: none;
  background-color: #115682;
}
.search_bt a svg {
  width: 16px;
  height: 17px;
  fill: #fff;
  margin: -3px 0 0 0;
}
.modal-content .hotsearch {
  font-size: 95%;
  width: 100%;
  padding: 5px;
  position: relative;
}
.modal-content .hotsearch a {
  color: #095e73;
}
.modal-content .adv a {
  color: #000;
  text-decoration: underline;
}
.modal-content .search .search_bt {
  padding: 0;
}
.modal-content .search {
  display: flex;
  padding: 30px 0 0 0;
  position: relative;
}
.modal-content .search_bt input[type="button"],
.modal-content .search_bt input[type="submit"] {
  margin: 0;
  background-color: #095e73;
  border: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 6px 10px;
  color: #fff;
  font-size: 105%;
}
/*瀏覽輔助設定*/
#visionset .modal-header {
  background-color: #095e73;
  color: #fff;
}
#visionset .close {
  color: #fff;
  text-shadow: 0 1px 0 #000;
}
#visionset .modal-title {
  font-size: 110%;
  font-weight: 500;
  letter-spacing: 2px;
}
#visionset .modal-dialog {
  max-width: 700px;
}
#visionset .v_title {
  font-size: 105%;
  letter-spacing: 2px;
  font-weight: 400;
  border-bottom: 1px #c3c3c3 solid;
  padding: 0 5px 5px 5px;
  width: 100%;
}
#visionset .row {
  margin: 0;
}
#visionset ul {
  padding: 5px 0 10px 0;
  margin: 0;
  list-style-type: none;
  width: 100%;
}
#visionset li {
  float: left;
  text-align: center;
  padding: 10px !important;
  letter-spacing: 1px;
}

#visionset li a {
  display: block;
  padding: 15px 0;
  border: 3px rgb(202, 202, 202) solid;
  color: #000;
  text-decoration: none;
}

#visionset li a:hover {
  border: 3px rgb(111, 111, 111) solid;
}

#visionset li.txt01 a {
  background-color: #000;
  color: #ffeb3b;
}

#visionset li.txt02 a {
  color: #000;
}

#visionset li.txt03 a {
  background-color: #001f80;
  color: #ffeb3b;
}

#visionset li.txt04 a {
  background-color: #fffacd;
  color: #000000;
}
/*header*/
header.smaller {
  position: fixed;
  z-index: 999;
  background-color: #fff;
  width: 100%;
  top: 0;
}
header h1 a {
  display: inline-block;
}

header .top_link,
header .top_link a {
  color: #5d5d5d;
}

header .word_level {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
header .word_level li {
  float: left;
  padding: 0 3px;
}

header .word_level li a {
  background-color: #dcdcdc;
  border-radius: 50px;
  width: 33px;
  height: 33px;
  display: block;
  text-align: center;
  line-height: 30px;
  color: #000;
  overflow: hidden;
  text-decoration: none;
}

header .word_level li.bell_bt a {
  background-color: #767676;
}

header .word_level li a:hover {
  background-color: #83dbe6;
}
header .word_level li.eye a,
header .word_level li.search_bt a {
  background-color: #767676;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position: center;
}

header .word_level li.eye a:hover,
header .word_level li.search_bt a:hover {
  background-color: #000;
}
header .word_level li.eye a {
  background-image: url(../images/layout/ic_eye.svg);
  background-size: 25px;
}
header .word_level li.search_bt a {
  background-image: url(../images/layout/ic_search.svg);
  background-size: 20px;
}
header .word_level li.font-large a {
  font-size: 105%;
}

header .word_level li.font-small a {
  font-size: 95%;
}

header .word_level li.active a {
  background-color: #ffeb3b;
}

/*fatfoot*/
.fatfoot .btn {
  position: absolute;
  z-index: 9;
  background-image: url("../images/layout/fat_close.png");
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  text-indent: -9999px;
  background-color: #000000;
  border-radius: 50px;
  top: 0;
  transition: all 200ms ease-out;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fatfoot .btn:focus {
  outline: 3px #f00 dotted;
  background-color: #315978;
}
.fatfoot .btn.collapsed {
  background-image: url(../images/layout/fat_open.png);
  top: -50px;
}
.fatfoot .btn:before {
  content: "點選收合";
  color: #000000;
  top: 52px;
  display: block;
  text-indent: 0;
  white-space: nowrap;
  padding: 0;
  letter-spacing: 2px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
}
.en .fatfoot .btn:before {
  content: "CLOSE";
  letter-spacing: 0;
}
.en .fatfoot .btn.collapsed:before {
  content: "OPEN";
}
.fatfoot .btn.collapsed:before {
  content: "點選展開";
}
/*footer*/
footer {
  border-top: 1px #bfbfbf solid;
  background-color: #f0f0f0;
  padding: 20px 0;
}

footer .container {
  position: relative;
}
footer .linkbar {
  padding: 10px 0;
  line-height: 200%;
}
footer .linkbar,
footer .linkbar a {
  color: #000;
}
footer .linkbar a {
  white-space: nowrap;
}

footer .info p {
  margin: 0;
  padding: 3px 0;
}
footer .stamp {
  padding: 10px 0;
  display: inline-block;
}
footer .stamp ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

footer .stamp ul li {
  float: left;
  padding: 0 10px 0 0;
}

footer .qr_group ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  position: relative;
}

footer .qr_group ul li {
  float: left;
  padding: 0 5px 0 0;
}

.modal.qr .qrcode_img {
  text-align: center;
}
footer .zoom-box {
  position: relative;
  text-align: center;
}

footer .zoom-box p {
  font-size: 90%;
  letter-spacing: 1px;
  padding: 5px 0;
  margin: 0;
  color: #000;
}

footer .zoom-controls__wrap {
  padding: 0.25rem;
  background: rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

footer .zoom-controls {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
}

footer .zoom-controls__link {
  display: block;
}

footer .zoom-controls__icon {
  display: inline-block;
  width: 35px;
  height: 35px;
}

footer .zoom-item {
  transition: all 0.375s ease-in-out;
  max-width: 95px;
}
footer .zoom-item:target {
  box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.25);
  transform: scale(2);
  position: relative;
  z-index: 99;
}
footer .zoom-item:target ~ .zoom-controls__wrap .zoom-out {
  opacity: 1;
  z-index: 99;
  display: block;
}

footer .zoom-out {
  position: absolute;
  bottom: 120%;
  left: 120%;
  opacity: 0;
  display: none;
  transition: 400ms opacity ease-in-out;
}

footer .outer-circle {
  fill: #000000;
}

footer .inner-shape {
  fill: black;
}
/*2026春節版*/
.fatfoot .card-body ul:nth-child(2n + 1) li.ftitle {
  border-bottom: 2px #d12929 solid !important;
}

@media screen and (min-width: 1300px) {
  header {
    padding: 51px 0 0 0;
  }
  header h1 {
    position: absolute;
    left: 6%;
    top: 31px;
    z-index: 9999;
  }
  header .top_link {
    right: 9%;
  }
  .menu {
    margin-top: -2px;
  }
}
@media (max-width: 1300px) and (min-width: 992px) {
  header h1 {
    padding: 15px 0 0 20px;
  }

  header .top_link {
    right: 5%;
  }
}
@media (min-width: 992px) {
  .modal.show .modal-dialog {
    max-width: 690px;
  }
  header {
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    /* -webkit-box-shadow: 0px 10px 9px -4px rgb(0 0 0 / 15%); */
    /* box-shadow: 0px 10px 9px -4px rgb(0 0 0 / 15%); */
  }
  header > .top_link {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    position: absolute;
    top: 10px;
  }
  header .top_link a {
    padding: 0 5px;
  }
  header h1 img {
    max-width: 230px;
    width: 100%;
    height: auto;
  }
  .board .slick-list {
    width: 200px;
  }
  .right_link .slick-slide p {
    display: none;
  }
  .fatfoot {
    background-color: #e9e9e9;
    position: relative;
  }
  .fatfoot .card-body {
    border: none;
    letter-spacing: 1px;
    padding: 4.25rem 1.25rem 1.25rem 1.25rem;
    background-color: transparent;
  }

  .fatfoot .card-body .equal-height-thumbnail {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
  }
  .fatfoot .card-body ul li {
    padding: 4px 0 4px 5px;
    margin: 0;
    list-style-type: none;
  }
  .fatfoot .card-body ul li.ftitle {
    font-size: 110%;
    font-weight: 600;
    padding: 15px 50px 10px 5px;
    border-bottom: 2px #ffde00 solid;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
  }

  .fatfoot .card-body ul:nth-child(2n + 1) li.ftitle {
    border-bottom: 2px #3ab7bf solid;
  }

  .fatfoot .card-body ul {
    padding: 0 15px;
  }
  .fatfoot .card-body ul li.ftitle a {
    color: #000000;
  }

  .fatfoot .card-body ul li.ftitle a:hover {
    color: #25505c;
  }
  .fatfoot .card-body ul li a {
    color: #505050;
  }

  .fatfoot .card-body ul li a:hover {
    color: #000;
  }
  footer .qr_group {
    position: absolute;
    right: 40px;
    bottom: 15px;
  }
  /*廣告*/

  .right_link .collapse:not(.show) {
    display: block;
    width: 0;
    opacity: 0;
  }

  .right_link .collapsing {
    height: auto !important;
    width: auto;
    transition: width 5.5ms ease !important;
  }

  .right_link .bt {
    position: absolute;
    left: -35px;
    text-indent: -9999px;
    background-color: #e4e4e4;
    width: 35px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    height: 90px;
  }

  .right_link .bt::before {
    content: "";
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    border-top: solid 2px #000000;
    border-right: solid 2px #000000;
    transform: rotate(45deg) translate(-50%, 0);
    -webkit-transform: rotate(45deg) translate(-50%, 0);
    left: 50%;
    top: 17px;
  }

  .right_link .bt.collapsed::before {
    border-bottom: solid 2px #000000;
    border-left: solid 2px #000000;
    border-right: none;
    border-top: none;
  }

  .right_link .bt.collapsed::after {
    content: "展開";
  }

  .right_link .bt::after {
    content: "收合";
    position: absolute;
    left: 10px;
    text-indent: 0;
    color: #000;
    width: 10px;
    top: 30px;
  }
}
@media (max-width: 992px) {
  body {
    overflow: scroll !important;
  }
  header h1 {
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9;
  }

  header {
    /* height: 70px; */
  }
  header h1 img {
    max-width: 200px;
    width: 100%;
    height: auto;
  }
  header .top_link {
    display: none;
  }

  header .menu .top_link {
    display: block;
  }
  header .top_link a {
    padding: 0 3px;
  }
  header .word_level {
    display: inline-block;
    padding: 15px 0 0 0;
  }
  .fatfoot {
    display: none;
  }
  footer .qr_group {
    display: inline-block;
  }
  footer .qr_group ul li:nth-child(1) .zoom-item:target,
  footer .qr_group ul li:nth-child(3) .zoom-item:target {
    right: -50%;
  }
  .right_link {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 99;
    border-bottom: 3px #ffe25f solid;
    text-align: right;
  }

  .right_link .bt {
    margin: 0 0 -20px 0;
    display: inline-block;
    background-color: #ffe25f;
    border-radius: 7px;
    padding: 6px 7px 13px 7px;
    color: #000;
    text-indent: -9999px;
    width: 60px;
    text-align: center;
  }

  .right_link .bt.collapsed::before {
    content: "展開";
  }

  .right_link .bt::before {
    content: "收合";
    text-indent: 0;
    white-space: nowrap;
    display: block;
    position: absolute;
    right: 0;
    transform: translate(-35%, -50%);
    top: 15px;
    font-size: 95%;
  }

  .right_link .board {
    background-color: #ffe25f;
  }

  .right_link .slick-slide img {
    display: none;
  }

  .right_link .slick-slide p {
    text-align: center;
    margin: 0;
    padding: 10px;
    color: #000;
    font-weight: bold;
    font-size: 105%;
    white-space: nowrap;
  }
}
@media (max-width: 992px) and (min-width: 435px) {
  header h1 {
    padding: 5px 0 10px 0;
    margin: 0;
    height: 70px;
  }
}
@media (max-width: 435px) {
  header h1 {
    padding: 5px 15px 15px 70px;
  }
}
@media screen and (min-width: 480px) {
  .modal-content .adv {
    position: absolute;
    right: 15px;
    bottom: 20px;
  }
}
@media screen and (max-width: 480px) {
  footer {
    padding: 20px 0 120px 0;
  }

  .home footer {
    padding: 20px 0;
  }
  footer .stamp {
    width: 100%;
    text-align: center;
  }

  footer .stamp ul {
    display: inline-block;
  }

  footer .qr_group {
    width: 100%;
    text-align: center;
  }

  footer .qr_group ul {
    display: inline-block;
  }
}
/*右下快訊*/

.board .slick-prev {
  left: 5px;
  z-index: 9;
}

.board .slick-prev,
.board .slick-next {
  opacity: 0.3;
}

.board .slick-prev:hover,
.board .slick-next:hover {
  opacity: 1;
}

.board .slick-next {
  right: 5px;
}

.board .slick-prev::before {
  content: "";
  border-bottom: solid 2px #000000;
  border-left: solid 2px #000000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 7px;
  top: 6px;
}

.board .slick-prev:before,
.board .slick-next:before {
  display: block;
  width: 8px;
  height: 8px;
  color: transparent;
  position: absolute;
  z-index: 9;
}

.board .slick-next:before {
  border-top: solid 2px #000000;
  border-right: solid 2px #000000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 4px;
  top: 6px;
}

.board .slick-prev:after,
.board .slick-next:after {
  content: "";
  background-color: #fff;
  border-radius: 50px;
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(0, -50%);
}

.board .slick-next:after {
  right: 0;
  top: 50%;
}

.board .slick-next:after {
}

.board .slick-prev:after {
  left: 0;
  top: 50%;
}
.board .slick-slide a:focus {
  display: block;
  outline: 3px #ffeb3b dotted !important;
}
