@charset "utf-8";
body {
    letter-spacing: 0.05rem;
}
body img {
  max-width: 100%;
}

body a {
  transition: all 200ms ease-out 0s;
}

body a:focus,
body [type=button]:focus,
body [type="submit"]:focus,
body select:focus {
  outline: 1px #797979 dotted !important;
  outline-offset: -3px;
  opacity: 1;
  box-shadow: none !important;
}

body input:focus, body select:focus,body textarea:focus {
  background-color: #ebebeb !important;
  color: #000 !important;
  outline: 1px #3F51B5 dotted !important;
  box-shadow: none !important;
}

body.small {
  font-size: 95%;
}

body.medium {
  font-size: 100%;
}

body.big {
  font-size: 105%
}
.into {
  position: absolute;
}

.into a {
  opacity: 0;
}
.pin{
    position: absolute;
    top: -150px;
}
/*toplink*/
.sm-simple .top_link .link a,
.sm-simple .top_link .link {
  text-decoration: none;
  position: relative;
}

.sm-simple .top_link::before {
    content: "";
    position:absolute;
    left: -20px;
    background-image: url(../images/all/toplinkbg.svg);
    width: 20px;
    top: 0;
    bottom: 0;
    background-position: left bottom;
}

.sm-simple .top_link .link a {
  white-space: nowrap;
}


.sm-simple .top_link .link a:hover {
  text-decoration: underline;
  background: transparent;
}
.sm-simple .top_link ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.sm-simple .top_link .font_size li.large {
  font-size: 115%;
}

.sm-simple .top_link .font_size li.small {
  font-size: 90%;
}
@media screen and (max-width: 1024px) {
  body {
    overflow: scroll !important;
    height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}
}
@media screen and (min-width: 992px) {
.font_size p {
    color: #A6C5EE;
}
.sm-simple > li.righttop {
    position: absolute;
    top: -55px;
    right: -20px;
    background-color: #0D3482;
    padding: 0 30px 0 0;
}
.sm-simple .top_link {
    width: 100%;
    justify-content: flex-end!important;
    padding: 5px;
    position: relative;
  }
.sm-simple .top_link .link a:first-child::after,
  .sm-simple .top_link .link a:last-child::after{
    display: none;
}
.sm-simple .top_link .link a::after {
    content: "";
    width: 1px;
    top: 0;
    bottom: 0;
    background-color: #c1c1c1;
    display: block;
    position: absolute;
    right: 0;
}
.sm-simple .top_link>div {
    padding: 0 5px;
    display: -webkit-flex;
    display:flex;
    -webkit-align-items:center;
    align-items:center;
  }

.menu .sm-simple .top_link ul {
    border: none;
    box-shadow: none;
    background-color: transparent;
    position: relative;
}

.sm-simple .top_link .font_size a {
    display: inline-block;
    width: 25px;
    height: 30px;
    line-height: 30px;
  }
.sm-simple .top_link .font_size a:hover{
    background-color: transparent;
}
.sm-simple .top_link .font_size li {
  padding: 0 5px;
  border-top: 0;
}
.sm-simple .top_link .search_box ul li img {
    width: 27px;
    height: 24px;
  }
.sm-simple .top_link .link a {
  padding: 0 10px;
  color: #ffffff;
}
.sm-simple .top_link .font_size a::after {
  content: "";
  background-color: transparent;
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: -5px;
  right: -5px;
  z-index: -1;
  transform: skewX(-30deg);
  transition: all 200ms ease-out 0s;
}
.sm-simple .top_link .font_size a:hover::after {
  background-color: #3F51B5; 
}
.sm-simple .top_link .font_size li.force a::after {
    background-color: #F5B400;
}

.sm-simple .top_link .font_size li.force a {
    color: #000;
}

.sm-simple .top_link .font_size a {
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  padding: 0;
  position: relative;
  font-family: sans-serif;
  z-index: 9;
}

.sm-simple .top_link .font_size a span {
    position: absolute;
    top: -5px;
}
}
@media screen and (max-width: 992px) {
.sm-simple .top_link .link a {
    padding: 8px 12px;
    background-color: #ededed;
    color: #000;
    margin: 0 10px 5px 0;
    display: inline-block;
}

.sm-simple .top_link .link a.accesskey {
    display: none;
}
.sm-simple li.righttop {
    position: relative;
    padding: 10px 15px 0 15px;
}
.menu .sm-simple .nav {
    padding: 0 15px;
}
.sm-simple .top_link .font_size{
    padding: 0 0 4px 0;
    display: -webkit-inline-flex !important;
    display: inline-flex !important;
}

.sm-simple .top_link .font_size ul {
    display: inline-block;
    width: auto !important;
}
.sm-simple .top_link .font_size li{
    padding: 0 3px;
}
.sm-simple .top_link .search_bt{
    position: relative;
    bottom: -9px;
    left: -2px;
    display: inline-block;
}

.sm-simple .top_link .link {
    display: inline-block;
}
.sm-simple .top_link .search_bt a {
    background-color: #555;
}
.sm-simple .top_link .font_size li a{
    background-color: #386cd1;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    text-decoration: none;
    color: #fff;
}

.sm-simple .top_link .font_size li.force a {
    background-color: #26408a;
}
.righttop .member_area.phone {
    display: none;
}
}
@media (max-width: 992px) and (min-width: 767px){
        .member_area.phone {
    top: 10px;   
    right: 10px;
             position: absolute;
             z-index: 9;
}
}
@media (max-width: 992px) and (min-width: 480px){
  .sm-simple .top_link>div{
    !i;!ㄛ;!;
    !i;!ㄛ;!;
}

  .sm-simple .member_area > div {position: relative;top: 2px;}

  
}

@media screen and (max-width: 480px) {
    .sm-simple .top_link .link a {
    /* margin: 0 10px 5px 0; */
    /* display: inline-block; */
    /* text-align: center; */
}
  .sm-simple .member_area{
    position: relative;
    right: 0;
    top: 0;
    margin: 0 0 10px 0;
}
  .sm-simple .member_area a{
    display:-webkit-flex;
display:flex;
-webkit-justify-content:center;
justify-content:center;
  }
}
/*跑馬燈*/
.marquee_box{
}
.marquee_box .marquee {
  overflow: hidden;
  margin: 0 0 0 10px;
}
.marquee_box.smaller {position: fixed;top: 53px;z-index: 9;}
.marquee_box .marquee a,.marquee_box .marquee {
  color: #4273D3;
  font-size: 105%;
}

.marquee_box .marquee a {
    text-decoration: none;
}

.marquee_box .marquee a:hover {
    text-decoration: underline;
}

.marquee_box>div {
  position: relative;
}

.marquee_box .icon img {width: 16px;max-width: inherit;}



@media screen and (min-width: 992px) {
  .marquee_box>div {
    padding: 8px 0 8px 10px;
  }
}

@media screen and (max-width: 992px) {
  .marquee_box>div {
    margin-top: 0;
    max-width: 100%;
    padding: 10px;
  }
}

/*上方區塊*/
header {
  position: relative;
  width: 100%;
  z-index: 99;
}

.toplink {
  position: absolute;
  top: 0;
}

/*lightbox搜尋*/
.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 .keyword img {
    width: 20px;
    margin: 0 5px 0 0;
}

.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 {
  width: 30px;
  height: 30px;
  position: relative;
}

.search_bt a img {
    position: absolute;
    height: 20px;
    left: 49%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.search_bt a:hover {
  text-decoration: none;
  background-color: #3f51b5 !important;
}

.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: #0D3482;
  text-decoration: none;
}

.modal-content .hotsearch a:hover {
  text-decoration: underline;
}

.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: #0D3482;
  border: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 6px 10px;
  color: #fff;
  font-size: 105%;
}
@media (min-width:1200px) {
  h1 {
      height: 60px;
      max-width: 280px;
      top: -40px;
  }
}
@media (max-width: 1200px) and (min-width: 992px){
  h1 {
      max-width: 190px;
      top: -50px;
  }
}
@media (min-width:992px) {
   header {
    padding: 55px 20px 0 20px;
  }
    h1 {
      position: absolute;
      z-index: 9;
      margin: 0;
      left: 15px;
      transition: all 200ms ease-out 0s;
      width: 100%;
  }


  header.smaller {
    position: fixed;
    z-index: 99;
    background-color: #fff;
    top: 0;
    -webkit-box-shadow: 1px 1px 7px 0 rgba(0,0,0,0.3);
    box-shadow: 1px 1px 7px 0 rgba(0,0,0,0.3);
    padding: 15px 30px 0px 30px;
  }

header.smaller h1 {
    display: none;
}
.menu.smaller .logo img {
    height: 55px;
}
  header.smaller .sm-simple > li.righttop {
    display: none;
}

.search_bt a {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50px;
}
}

@media (max-width:992px) {
  header {
    z-index: 99;
    max-width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 1px 0px 6px 1px rgba(0,0,0,0.3);
    box-shadow: 1px 0px 6px 1px rgba(0,0,0,0.3);
    height: 60px;
  }

header h1 img {
    height: 50px;
}
header.smaller {
    top: 0;
    position: fixed;
}

  h1 {
    margin: 0;
    background-color: #fff;
    position: relative;
    padding: 2px 0 10px 50px;
    text-align: center;
  }
  .social ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: flex;
  }
  .social ul li{
  width: 33.333%;
  padding: 10px;
  }
  .social ul li a{
  display: block;
  }
}

  .modal-content .adv {
    position: absolute;
    right: 15px;
    bottom: 20px;
  }

/*fat*/
.fatfoot {
  position: relative;
  z-index: 9;
  background-color: #E7EDFA;
}
@media screen and (min-width: 992px) {
.fatfoot .btn {
  position: absolute;
  z-index: 9;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  text-indent: -9999px;
  background-color: #2f63ca;
  border-radius: 50px;
  top: 0;
  transition: all 200ms ease-out;
  left: 50%;
  transform: translate(-50%, -50%);
}

.fatfoot .btn:focus {
    outline: 3px #f00 dotted;
}
.fatfoot .btn.collapsed {
  top: 0;
}

.fatfoot .btn:before {
  content: "點選收合";
  color: #2f63ca;
  top: 52px;
  display: block;
  text-indent: 0;
  white-space: nowrap;
  padding: 0;
  letter-spacing: 2px;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
.fatfoot .btn:
  before;
}
.fatfoot .btn:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
    background-image: url(../images/icon/fat_close.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.fatfoot .btn.collapsed:after {background-image: url(../images/icon/fat_open.svg);}

.fatfoot .btn.collapsed:before {
  content: "點選展開";
  color: #fff;
}
.fatfoot .card-body {
  border: none;
  letter-spacing: 1px;
  padding: 4.25rem 1.25rem 1.25rem 1.25rem;
  background-color: transparent;
}

.fatfoot .card-body {
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;
}

.fatfoot .card-body ul li.ftitle::before {
    display: "";
}


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

.fatfoot .card-body ul li.ftitle a:hover {
}
.fatfoot .card-body ul li a {
  color: #4b4b4b;
  text-decoration: none;
  position: relative;
  font-size: 95%;
  padding: 0 0 0 11px;
}
.fatfoot .card-body ul li a::before {
            position: absolute;
            content: '';
            width: 0;
            height: 0;
            border: solid 4px transparent;
            border-left: solid 5px #838383;
            top: 50%;
            left: 0;
            transform: translate(0, -50%);
}

.fatfoot .card-body ul li.ftitle a::before {display: none;}

.fatfoot .card-body ul li a:hover {
    text-decoration: underline;
}
}
@media screen and (max-width: 992px) {
  .fatfoot{display: none;}
}
/*footer*/

footer{background-color: #0D3482;}
footer ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  color: #fff;
}
footer ul li {
  display: inline-block;
}


footer .info{
    padding: 15px 15px 10px 0;
    font-size: 95%;
}
footer .info svg {
    width: 20px;
    height: 25px;
}
footer .info li a svg .e {
    fill: #06988a;
}
footer .info li a:hover svg .e {
    fill: #2ca36e;
}
footer .info ul li{
    width: 100%;
    line-height: 130%;
    padding: 3px 0;
    color: #fff;
}

footer .info ul li a {
    color: #fff;
    text-decoration: none;
}

footer .info ul li .iconlink img {
    width: 20px;
    height: 20px;
}

footer .info ul li .iconlink {
    display: inline-block;
    position: relative;
    top: -2px;
}

footer .acc_box {
    padding: 15px 20px 15px 0;
}

footer .acc_box ul li {
    font-size: 90%;
}

footer .acc_box ul li a img {
    height: 45px;
}
footer .acc_box .link li{
    display: -webkit-flex;
    display:flex;
    -webkit-flex-wrap:wrap;
    flex-wrap:wrap;
}
footer .privacy ul{
    padding: 0 0 6px 0;
}
footer .privacy ul li{
    position: relative;
    padding: 0 15px 0 0;
}

footer .privacy ul.link li::after {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    width: 1px;
    display: block;
    background-color: #fff;
    right: 5px;
}

footer .privacy ul.link li:last-child::after {
    display: none;
}
footer .privacy ul li a{
    color: #fff;
    text-decoration: none;
    display: block;
}

footer .privacy ul li a img {
    width: 50px;
    height: 50px;
}

footer .acc_box ul li a {
    display: block;
    color: #fff;
    text-decoration: none;
}

footer .privacy ul li a:hover,footer .acc_box ul li a:hover {text-decoration: underline;}

footer .privacy ul.link li a:hover {
    text-decoration: underline;
}
@media screen and (min-width: 992px) {
  footer .privacy {
    right: 15px;
    top: 15px;
    position: absolute;
}
  footer .acc_box{
  position: absolute;
  right: 15px;
  top: 5px;
}

footer .acc_box ul {
    text-align: right;
}

}
@media screen and (max-width: 992px) {
footer .privacy ul{
    display: inline-block;
}
  }
/*top*/
.mgotop{
    position: fixed;
    z-index: 9;
}

.mgotop a {
    display: block;
    background-color: #000000;
    position: relative;
    opacity: 0.5;
    text-indent: -9999px;
}

.mgotop a::before {
    content: "";
    display: block;
    -webkit-transform: translate(-50%, -50%) rotate(315deg);
    position: absolute;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    left: 50%;
    transform: translate(-50%, -50%) rotate(315deg);
}

.mgotop a:hover {
    opacity: 1;
}

@media screen and (min-width: 767px) {
.mgotop{
    right: 22px;
    bottom: 0;
}

.mgotop a {
    width: 60px;
    height: 40px;
    border-radius: 10px 10px 0 0;
}
.mgotop a::before {
    width: 15px;
    height: 15px;
    top: 62%;
}
}
@media screen and (max-width: 767px) {
.mgotop{
    right: 18px;
    bottom: 16px;
    display: block !important;!i;!ㄛ;!;
    opacity: 1 !important;!i;!ㄛ;!;
}

.mgotop a {
    width: 40px;
    height: 40px;
    border-radius: 50px;
}
  .mgotop a::before {
    width: 10px;
    height: 10px;
    top: 50%;
}
}
