:root {
  scroll-behavior: auto;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, "Microsoft Jhenghei", sans-serif;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 16px;
}
.home-banner {
  /* background-image: linear-gradient(
    45deg,
    #e4afcb 0%,
    #b8cbb8 0%,
    #b8cbb8 0%,
    #e2c58b 30%,
    #c2ce9c 64%,
    #7edbdc 100%
  ); */
   background-image: url("../img/seamless_tile_256.png"); 
  background-repeat: repeat;        
  background-size: auto;             
}

.contentLinkBox {
  background-size: 100%;
  padding: 40px 30px 20px 30px;
  background-color: #666;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 280px;
  height: 300px;
  color: #fff;
  text-decoration: none;
  margin: 10px auto 0;
  max-width: 100%;
  transition: all 0.3s;
  background-position: center;
}
.contentLinkBox:hover {
  background-size: 120%;
}

.newsbgBox .contentLinkBox.news {
  background-color: #F1EFE7;
}
.newsbgBox .contentLinkBox.news:hover {
  background-color: #dad3b8 !important;
}
.newsbgBox:nth-child(2n) .contentLinkBox.news {
  background-color: #eaf1e7;
}
.newsbgBox:nth-child(3n) .contentLinkBox.news {
  background-color: #e7e4d8;
}
.newsbgBox:nth-child(4n) .contentLinkBox.news {
  background-color: #f1ebe7;
}
.contentLinkBox.news h2 {
  font-size: 1.4rem;
  color: #000;
}
.contentLinkBox h2 {
  color: #fff;
  font-family: "Noto Serif TC", serif;
  font-size: 2rem;
  transition: all 0.3s;
}
.contentLinkBox span {
  align-self: flex-end;
  padding: 5px;
  width: 100px;
  background-color: #3d3517;
  color: #fff;
  text-align: center;
  border-radius: 15px;
  transition: all0.3s;
}
.contentLinkBox:hover h2 {
  padding-top: 1rem;
}
.contentLinkBox:hover span {
  background-color: #000;
}
.page_content {
  word-wrap: break-word;
  flex-grow: 1;
}
.page_content img {
  max-width: 100%;
  height: auto;
}
.owl-theme .owl-nav.disabled + .owl-dots {
  position: absolute;
  bottom: 10px;
  right: 0;
  left: 0;
}
h2.newstitle {
  font-family: "Noto Serif TC", serif;
  font-weight: 500 !important;
  color: #654b1a;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 40px;
  letter-spacing: 5px;
  position: relative;
  /* display: flex;
  flex-direction: column; */
}
h2.newstitle:after {
  /* position: absolute;
    bottom: 0;
    left: 0; */
  display: block;
  width: 30px;
  height: 3px;
  background-color: #a9a6a6;
  content: " ";
  margin: 1rem auto;
}

.news-bg {
  padding: 50px 0;
}
ul.news-list {
  width: 80%;
  margin: 0 auto;
}
ul.news-list li {
  list-style: none;
  padding: 15px 0;
  background-attachment: scroll;
  background-repeat: repeat-x;
  background-position: 50% 100%;
  background-image: url("../img/line.png");
}
ul.news-list li:last-child {
  background-image: none;
}
ul.news-list li a,
.cont_news ul li a {
  text-decoration: none;
  padding-left: 15px;
  color: #000000;
  display: block;
}
ul.news-list li a span {
  padding-right: 20px;
}
.footer {
  width: 100%;
  padding: 50px 0;
  background-color: #eae8dc;
  background-repeat: repeat;        
  background-size: auto;             

}
.copyright {
  color: #fff;
  background-color: #524a3b;
  padding: 50px 0;
}
.copyright i {
  color: rgba(255, 255, 255, 0.5);
}
.copyright a {
  color: #fff;
  text-decoration: none;
}
p.all-rights {
  text-align: center;
  letter-spacing: 1px;
}
.brand-group {
  display: flex;
  align-items: flex-start;
}
.brand-group .group-name {
  flex-shrink: 0;
  padding-right: 10px;
}
.sp-line-bk {
  flex-shrink: 1;
  display: flex;
  padding-bottom: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
  align-items: flex-end;
}
.sp-line-bk > div {
  padding: 0 25px 15px 0;
}
.sp-line-bk .img-fluid-line {
  max-height: 35px;
  width: auto;
  /* max-width: 180px; */
}
.breadcrumb {
  background-color: transparent;
  padding: 15px 0 0 0;
  margin-bottom: 0;
  font-size: 14px;
}
.cont_news ul {
  margin-left: -20px;
  padding-left: 20px;
}
.cont_news ul li {
  list-style: none;
  padding: 15px 0;
  background-attachment: scroll;
  background-repeat: repeat-x;
  background-position: 50% 100%;
  background-image: url("../img/line.png");
}

.hr-line {
  width: 100px;
  margin: 0 auto 15px auto;
  border-bottom: 2px solid #303030;
}

.tit_h2 {
  text-align: center;
}
/*********for embed*********/
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
a.dl-a {
  text-decoration: underline;
  font-size: 30px;
  display: block;
  margin: 15px 0;
  text-align: center;
}
.back-to-top {
  position: fixed;
  display: none;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 16px;
  border-radius: 2px;
  right: 10px;
  bottom: 10px;
  transition: all 0.5s;
  width: 40px;
  height: 40px;
  display: block;
  color: #fff;
  z-index: 999;
}
.back-to-top:hover {
  color: #fff;
}


@media only screen and (max-width: 768px) {
  .header {
    height: auto;
  }
  .page_content{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .bg-nav {
    background-image: url(../img/2020_head_m_bg.jpg);
  }
  .navbar-nav {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }
  button.navbar-toggler:focus {
    outline: none;
  }
  .fb.nav-link,
  .en.nav-link {
    display: inline-block;
  }
  .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
  }
  .dropdown-menu {
    background-color: #303030;
    border: none;
  }
  .navbar-toggler-icon {
    height: 1em;
  }
  .navbar-light .navbar-toggler-icon {
    background-image: url("../img/icon.png");
  }
  ul.news-list {
    width: 100%;
    padding-left: 0;
  }
  ul.news-list li a,
  .cont_news ul li a {
    padding-left: 0;
    font-size: 16px;
  }
  ul.news-list li a span,
  .cont_news ul li a span {
    display: block;
  }
  .footer {
    height: auto;
    background-repeat: repeat-x;
  }
  .brand-group {
    flex-wrap: wrap;
  }
  .brand-group .group-name {
    padding-bottom: 10px;
  }
  .footer .brand-group {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }
  .tit_h2 {
    font-size: 28px;
  }
  .m-w-100 {
    width: 100%;
  }
  iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
  }
}
@media only screen and (max-width: 767px) {
  .contentLinkBox.news {
    height: auto;
  }
}
