@charset "UTF-8";
/*-------------------------------------------------------------------------------*\
     $base
\*-------------------------------------------------------------------------------*/
*, *:before, *:after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Microsoft Jhenghei", "微軟正黑體", "Trebuchet MS", Arial, Helvetica, sans-serif;
}

img {
  vertical-align: middle;
}

@media (min-width: 0px) {
  .container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }
}
@media (min-width: 480px) {
  .container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }
}
@media (min-width: 678px) {
  .container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }
}
@media (min-width: 800px) {
  .container {
    max-width: 1296px;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: " ";
    display: block;
    clear: both;
  }
}

#tabL, #tabC, #tabU, #tabB, .key_l {
  position: absolute;
  top: 0;
  left: 0;
}
#tabL a, #tabC a, #tabU a, #tabB a, .key_l a {
  font-size: 13px;
  color: white;
}

a.skip-main {
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}
a.skip-main:focus, a.skip-main:active {
  color: #ffffff;
  background-color: #157885;
  top: auto;
  left: calc(50% - 110px);
  width: 220px;
  height: auto;
  overflow: auto;
  margin: 10px auto;
  padding: .5rem;
  border-radius: .5rem;
  text-align: center;
  font-size: 1em;
  z-index: 999;
}

/*-------------------------------------------------------------------------------*\
     $Footer
\*-------------------------------------------------------------------------------*/
.foot-wrap {
  background-color: #001c33;
}

.foot-sub-nav:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.foot-sub-nav li {
  width: 50%;
  float: left;
}
.foot-sub-nav li:nth-child(even) {
  border-right: none;
}
.foot-sub-nav a {
  background-color: #073f6e;
}
.foot-sub-nav li, .foot-nav li {
  text-align: center;
  border-right: 1px solid #295b85;
  border-bottom: 1px solid #295b85;
}
.foot-sub-nav li a, .foot-nav li a {
  display: block;
  height: 40px;
  line-height: 40px;
  font-size: 1em;
  color: #9ac0e0;
}

.footer-wrap {
  position: relative;
  padding: 1em 0 2em 0;
}
.footer-wrap:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.foot-logo {
  margin: 140px auto 15px auto;
  text-align: center;
}
.foot-logo:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.foot-logo span {
  display: inline-block;
}
.foot-logo span:nth-child(1) {
  width: 100%;
}
.foot-logo span:nth-child(2), .foot-logo span:nth-child(3) {
  width: 49%;
}

.foot-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.foot-nav li {
  float: left;
  width: calc(100% / 2);
}
.foot-nav li:last-child {
  width: 100%;
}
.foot-nav a {
  background-color: #063760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copyright {
  color: #ffffff;
  line-height: 1.5;
  font-size: 0.813em;
  width: 80.9523809524%;
  float: left;
  margin-left: 9.5238095238%;
  margin-right: -100%;
}

.station {
  display: none;
}

/*-----------------------------$ breakpoints678px------------------------------*/
@media (min-width: 480px) {
  .foot-sub-nav {
    display: none;
  }

  .foot-logo {
    width: 220px;
  }
  .foot-logo span:nth-child(2) {
    width: 60%;
  }
  .foot-logo span:nth-child(3) {
    width: 38%;
  }
}
/*-----------------------------$ breakpoints800px------------------------------*/
@media (min-width: 678px) {
  .footer-wrap {
    padding: 1.5em 0;
  }

  .foot-logo {
    width: 22.619047619%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
    margin: 0;
  }
  .foot-logo span {
    float: left;
  }
  .foot-logo span:nth-child(1) {
    margin-bottom: 1rem;
  }

  .foot-nav {
    position: static;
    width: 22.619047619%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
  }
  .foot-nav li {
    width: 100%;
    border: none;
  }
  .foot-nav li a {
    height: 24px;
    line-height: 24px;
    text-align: left;
    font-size: 0.813em;
    color: #60a6e8;
    background: none;
  }

  .copyright {
    width: 47.619047619%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
  }
}
/*-----------------------------$ breakpoints1296px------------------------------*/
@media (min-width: 800px) {
  .foot-logo {
    width: 14.2857142857%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
  }

  .foot-nav {
    width: 14.2857142857%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
  }

  .copyright {
    width: 22.619047619%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
  }

  .station {
    width: 39.2857142857%;
    float: left;
    margin-left: 1.1904761905%;
    margin-right: 1.1904761905%;
    display: block;
    color: #ffffff;
    line-height: 1.5;
    font-size: 0.813em;
  }
}
/*-------------------------------------------------------------------------------*\
     $Fat-Footer
\*-------------------------------------------------------------------------------*/
.fat-wrap {
  display: none;
}

/*-----------------------------$ breakpoints800px------------------------------*/
@media (min-width: 678px) {
  .fat-wrap {
    display: block;
    position: relative;
  }

  .fatbtn {
    position: relative;
    display: block;
    width: 100%;
    height: 45px;
    background-color: #1a1a1a;
    transition: all 1s ease;
    cursor: pointer;
  }
  .fatbtn:before {
    position: absolute;
    left: 50%;
    content: " ";
    width: 0;
    height: 0;
    margin-top: -16px;
    margin-left: -25px;
    border-style: solid;
    border-width: 0 25px 20px 25px;
    border-color: transparent transparent #1a1a1a transparent;
    transition: all 1s ease;
  }
  .fatbtn:after {
    content: "網站選單";
    position: absolute;
    display: block;
    width: 100%;
    line-height: 45px;
    color: white;
    text-align: center;
    background: url(../../images/fatbtn-arrow.png) no-repeat center 0;
  }

  .fat-nav-wrap {
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: #1a1a1a;
    transition: all 1s ease;
  }

  #fatbtn {
    display: none;
  }
  #fatbtn:checked + .fatbtn {
    border-bottom: 1px solid #a1a1a1;
    background-color: #ebebeb;
  }
  #fatbtn:checked + .fatbtn:before {
    border-color: transparent transparent #ebebeb transparent;
  }
  #fatbtn:checked + .fatbtn:after {
    content: "折疊選單";
    color: #444444;
    background: url(../../images/fatbtn-arrow2.png) no-repeat center 0;
  }
  #fatbtn:checked ~ .fat-nav-wrap {
    height: auto;
    border-top: 1px solid #ffffff;
    background-color: #ebebeb;
    transition: all 1s ease;
  }
  #fatbtn:checked ~ .fat-nav-wrap .fat-item > h4 {
    background-color: #ebebeb;
  }

  .fat-nav-inner {
    padding: 70px 20px 20px 20px;
  }

  .fat-item {
    margin-bottom: 45px;
  }
  .fat-item > h4 {
    display: block;
    width: 160px;
    padding: 5px 15px;
    margin: -17px 0 0 -1px;
    font-size: 1.5em;
    background-color: #1a1a1a;
    transition: all 1s ease;
  }

  .fat-item-inner {
    position: relative;
    padding: 20px 20px 0 20px;
  }
  .fat-item-inner:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
  }
  .fat-item-inner > h5 {
    position: absolute;
    left: 20px;
    width: 115px;
    font-size: 1.125em;
  }
  .fat-item-inner > h5 a {
    color: #000000;
  }
  .fat-item-inner > ul {
    margin-left: 115px;
  }
  .fat-item-inner > ul li {
    display: inline-block;
    padding: 0 .5em .5em .5em;
    box-sizing: border-box;
  }
  .fat-item-inner > ul li a {
    font-size: 14px;
    line-height: 18px;
    color: #444444;
  }
  .fat-item-inner > ul li a:hover {
    text-decoration: underline;
  }

  .fat-color1 {
    border-top: 1px solid #41c8ae;
    border-left: 1px solid #41c8ae;
  }
  .fat-color1 > h4 {
    border-left: 6px solid #41c8ae;
  }
  .fat-color1 > h4 a:hover {
    color: #30a68f;
  }
  .fat-color1 .icon-lg {
    background: url(../../images/fat-item1-icon1-1.png) no-repeat right center;
  }
  .fat-color1 h4 a,
  .fat-color1 h5 a:hover,
  .fat-color1 ul li a:hover {
    color: #41c8ae;
  }

  .fat-color2 {
    border-top: 1px solid #309bdf;
    border-left: 1px solid #309bdf;
  }
  .fat-color2 > h4 {
    border-left: 6px solid #309bdf;
  }
  .fat-color2 > h4 a:hover {
    color: #1d80bf;
  }
  .fat-color2 .icon-lg {
    background: url(../../images/fat-item1-icon2-1.png) no-repeat right center;
  }
  .fat-color2 .icon-s {
    background: url(../../images/fat-item1-icon2-2.png) no-repeat right center;
  }
  .fat-color2 h4 a,
  .fat-color2 h5 a:hover,
  .fat-color2 ul li a:hover {
    color: #309bdf;
  }

  .fat-color3 {
    border-top: 1px solid #e93876;
    border-left: 1px solid #e93876;
  }
  .fat-color3 > h4 {
    border-left: 6px solid #e93876;
  }
  .fat-color3 > h4 a:hover {
    color: #d6185a;
  }
  .fat-color3 .icon-lg {
    background: url(../../images/fat-item1-icon3-1.png) no-repeat right center;
  }
  .fat-color3 h4 a,
  .fat-color3 h5 a:hover,
  .fat-color3 ul li a:hover {
    color: #e93876;
  }

  .fat-color4 {
    border-top: 1px solid #66b400;
    border-left: 1px solid #66b400;
  }
  .fat-color4 > h4 {
    border-left: 6px solid #66b400;
  }
  .fat-color4 > h4 a:hover {
    color: #498100;
  }
  .fat-color4 .icon-lg {
    background: url(../../images/fat-item1-icon4-1.png) no-repeat right center;
  }
  .fat-color4 .icon-s {
    background: url(../../images/fat-item1-icon4-2.png) no-repeat right center;
  }
  .fat-color4 h4 a,
  .fat-color4 h5 a:hover,
  .fat-color4 ul li a:hover {
    color: #66b400;
  }
}
/*====== no js ======*/
.no-js #fatbtn, .no-js .fatbtn {
  display: none;
}
.no-js .fat-nav-wrap {
  height: auto;
  background-color: #ebebeb;
}
.no-js .fat-nav-wrap .fat-item > h4 {
  background-color: #ebebeb;
}
