@charset "utf-8";

/* CSS Document */
body, html{padding:0;margin:0;}
html { overflow:-moz-scrollbars-vertical; overflow-y:scroll; overflow-x: hidden; height:100%;}
body {
	font-family: 'Open Sans', 'Noto Sans TC', 'Libre Caslon Text', sans-serif;
	font-size: 14px;
	line-height: 1.8;
	color: #222222;
  padding-top: 120px;
  -webkit-overflow-scrolling: touch;
}

a { color:#1c3c2d; text-decoration: none; }
a:hover { color:#105a37; text-decoration: none;
          -o-transition:all .3s linear;
   -webkit-transition:all .3s linear;
      -moz-transition:all .3s linear;
              transition:all .3s linear;
}
*:focus, button:focus, input:focus, textarea:focus, .btn:focus {
  outline:0;
  box-shadow: none;
  -moz-outline-style: none;
}
::selection { background: #fffa68; }
::-moz-selection { background: #fffa68; }
input::placeholder { color: #bbb; font-size: .7rem; }

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

.wrapper {	
  padding:2% 0;
}

@media (min-width: 576px) {
  .container {
    max-width: inherit;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: inherit;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: inherit;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1160px;
  }
}
#gotop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 56px;
  height: 56px;
  text-align: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: url(../images/gotop.png) center no-repeat;
  background-color: rgba(195, 145, 46, .8);
  color: #fff;
  box-shadow: 0 3px 6px #999;
  cursor: pointer;
  z-index: 999;
}
#gotop:hover {
  background-color: #c3912e;
}

header {
  min-height: 120px;
  padding: 15px 0 0;
  background: url(../images/bg_header.png) no-repeat;
  background-position: center;
  background-color: #fff;
  background-size: 100% 100%;
  box-shadow: 0 3px 8px rgba(10,10,10,0.3);
}
.navbar-logo {
  float: left;
  padding-top: 10px;
  position: relative;
  z-index: 9999;
}
.navbar-logo a {
  display: block;
  text-indent: -9999px;
  width: 359px;
  height: 70px;
  overflow: hidden;
  background: url(../images/logo.png) center no-repeat;
  background-size: contain;
}
.right-area {
  float: right;
}
.topicons {
  text-align: right;
  margin-right: -5px;
}
.topicons a {
  display: inline-block;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  background: #1c3c2d;
  color: #fff;
  margin: 0 5px;
  font-size: 14px;
  font-size: 0.875em;
}
.topicons a:hover {
  background: #956f23;
}
.navbar {
  padding-top: 23px;
}
.navbar > ul {
  margin: 0 -15px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.navbar .nav > li::before {
  position: absolute;
  left: -1px;
  top: 20px;
  content: '';
  display: block;
  width: 1px;
  height: 16px;
  background: #fff;
}
.navbar .nav > li:first-child::before {
  display: none;
}
.navbar .nav > li > a {
  display: block;
  padding: 15px 10px;
  line-height: 1;
  color: #fff;
  font-size: 16px;
  font-size: 1rem;
  position: relative;
}
.navbar .nav > li > a:hover {
  background: #956f23;
}
.navbar .nav > li > a:hover::before {
  display: block;
  content: '';
  width: 100%;
  height: 9px;
  background: url(../images/navbar_li.png) no-repeat;
  position: absolute;
  left: 0;
  right: 0;
  top: -9px;
}
.navbar .nav > li::before {
  display: none;
}
.navbar .nav > li > .dd-toggle {
 display: none;
}
.navbar ul ul li {
  padding: 5px;
  border-bottom: 1px dashed #c7b084;
}
.navbar ul ul li a {
  color: #fff;
  padding-left: 1.2rem;
}
.navbar ul ul li a:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  display: inline-block;
  position: absolute;
  left: 9px;
  top: 14px;
  font-weight: 900;
  font-size: 1rem;
}
.navbar ul ul li a:hover {
  color: #fff;
  background: #956f23;
}
.bottomicons {
  display: none;
  list-style: none;
  margin: 0;  
  padding: 16px 0;
  background: url(../images/bg_footer.jpg) repeat-x;
  background-size: auto 100%;
  text-align: center;
}
.stellarnav .bottomicons li {
  display: inline-block;
  color: #fff;
  position: relative;
}
.stellarnav .bottomicons li::before {
  display: inline-block;
  content: '';
  position: absolute;
  width: 1px;
  height: 16px;
  background: #fff;
  left: 0;
  top: 50%;
  margin-top: -8px;
}
.stellarnav .bottomicons li:first-child::before {
  display: none;
}
.stellarnav .bottomicons li a {
  display: inline-block;
  padding: 15px;
  color: #fff;
  font-size: 13px;
}
.stellarnav .bottomicons li a i { 
  margin-right: 12px; 
  font-style: normal; 
  font-weight: 900; 
}
.stellarnav.active .bottomicons {
  display: block;
}

/* Animation */
@keyframes fadeInUp {
    from {
        transform: translate3d(0,100px,0)
    }
    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}
@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0,100px,0)
    }
    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}
.banner .slick-slide {
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display:flex;
  flex-direction: column;
  justify-content:center;
}
.banner .slick-slide .captions {
  width: 1100px;
  padding: 0 15px;
  margin: 0 auto;
  color: #593d1e;
  line-height: 1.3;
  position: relative;
}
.banner .slick-slide .captions .tt {
  float: inherit;
  opacity: 0;
  margin: 0;
  padding: 10px 0;
  font-size: 30px;
  font-size: 1.875rem;
  font-family: 'Open Sans', 'Noto Serif TC', serif;
  font-weight: 900;
}
.banner .slick-slide.slick-active .captions .tt {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}
.banner .slick-slide .tt:nth-child(1) {
  animation-delay: .3s;
  -webkit-animation-delay: .3s;
}
.banner .slick-slide .tt:nth-child(2) {
  animation-delay: .8s;
  -webkit-animation-delay: .8s;
}
.banner .slick-slide .tt:nth-child(3) {
  animation-delay: 1.3s;
  -webkit-animation-delay: 1.3s;
}
.banner .slick-slide .tt:nth-child(4) {
  animation-delay: 1.8s;
  -webkit-animation-delay: 1.8s;
}

.banner:hover .slick-arrow {
  opacity: 1;
}
.slick-arrow {
  width: 50px;
  height: 50px;
  color: #1c3c2d;
  border: 2px solid #f7d983;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
  z-index: 99;
}
.slick-arrow:hover, .slick-arrow:focus {
  background: #fff;
}
.slick-prev {
  left: 2%;
}
.slick-prev::before {
  display: inline-block;
  color: #1c3c2d;
  font-family: "Font Awesome 5 Free";
  content: "\f060";
  vertical-align: middle;
  font-weight: 900;
  font-size: 1.375rem;
  opacity: 1;
}
.slick-next { 
  right: 2%;
}
.slick-next::before {
  display: inline-block;
  color: #1c3c2d;
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  vertical-align: middle;
  font-weight: 900;
  font-size: 1.375rem;
  opacity: 1;
}

.major-title {
  font-family: 'Libre Caslon Text', 'Open Sans', 'Noto Serif TC', serif;
  font-weight: bold;
  margin: 0;
  padding: 0 0 14px 20px;
  border-bottom: 1px solid #bfbfbf;
  position: relative;
}
.major-title:before {
  display: block;
  content: '';
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f9f5db;
  position: absolute;
  left: 0;
  bottom: 4px;
  z-index: -1;
}
.major-title h2 {
  font-size: 30px;
  line-height: 1;
  font-size: 1.875rem;
  margin: 0;
  color: #1c3c2d;
  font-weight: 700;
}
.major-title span { 
  display: inline-block;
  color: #f4c722;
  font-size: 12px;
  font-size: .75rem;
  margin-left: 45px;
}
.sub-title {
  font-weight: 300;
  text-align: center;
  color: #a8a198;
  margin-bottom: 1rem;
}
.sub-title small {
  display: block;
  font-size: 1rem;
  padding-top: 10px;
  color: #aaa;
  font-weight: normal;
}

.btn { 
  padding: .7rem 1.5rem; border-radius: 2px;
}
.btn-default {
  background: #fff9d7;
  border-color: #fff9d7;
  box-shadow: 1px 1px 3px #c4ba9b;
  color: #846e2d;
}
.btn-default:hover {
  background: #f4ecc0;
  border-color: #f4ecc0;
  color: #846e2d;
}
.img-fluid {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.index-list .major-title {
  margin-bottom: 5px;
}
.index-list .more {
  display: inline-block;
  border-radius: 7px;
  background: #1c3c2d;
  color: #fff;
  line-height: 1;
  padding: 7px 12px;
  position: relative;
  margin-left: 20px;
  margin-top: 10px;
}
.index-list .more:before {
  display: block;
  content: '';
  position: absolute;
  left: -1rem;
  top: 2px;
  color: #1c3c2d;
  font-weight: bold;
}
.index-list .more:hover {
  background: #956f23;
}
.index-list .more:hover::before {
  color: #956f23;
}
.list-date {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-date li {
  border-bottom: 1px dashed #c1c1c1;
}
.list-date li a {
  display: block;
  padding: 0 15px;
  padding-left: 100px;
  color: #222222;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-height: 40px;
  height: 40px;
}
.list-date li a .dt { 
  display: block;
  position: absolute;
  left: 15px;
  top: 0;
  font-size: 12px;
  font-size: .75rem;
  color: #fe9783;
  font-weight: bold;
}
.list-date li a:hover {
  background: #fcfaed;
}

.grid-img-text {
  line-height: 2rem;
  min-height: 500px;
}
.grid-img-text img {
  max-width: 100%;
  margin: 0 auto 15px;
}
.fisrt-word {
  color: #1c3c2d;
  font-family: 'Noto Serif TC', serif;
  font-weight: bold;
  font-size: 2.25rem;
  padding-right: 6px;
}

footer {
  text-align: center;
  padding: 26px 0;
  background: url(../images/bg_footer.jpg) center repeat-x;
  background-size: auto 100%;
  color: #fff;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer li {
  margin: 0;
  display: inline-block;
  font-size: 12px;
  font-size: .75rem;
  line-height: 1;
  padding: 0 10px;
  margin: 5px 0;
  position: relative;
}
footer li::before {
  display: block;
  content: '';
  width: 1px;
  height: 13px;
  position: absolute;
  left: -2px;
  top: 5px;
  background: #fff;
}
footer .copyright::before {
  display: none;
}
footer li i { 
  margin-right: 5px;
}
footer li a {
  display: inline-block;
  padding: 3px 5px;
  color: #fff;
}
footer li a:hover {
  color: #fff;
  background: #1c3c2d;
}
footer .address.ad2,
footer .address.ad2::before {
  display: none;
}




/*================RWD Begin=========================*/

@media (max-width: 1040px) {
  footer .copyright {
    display: block;
  }
  footer .address::before {
    display: none;
  }
 .grid-img-text {
    line-height: 1.8rem;
  }
  .slick-prev {
    left: 10px;
  }
  ..slick-right {
    right: 10px;
  }
  .banner .slick-slide .captions {
    width: 900px;
  }
}

@media (max-width: 990px) {
  body {
    padding-top: 59px;
  }
  .fixed-top {
    top: -2px;
  }
  header {
    padding-top: 10px;
    padding-bottom: 10px;
    background: inherit;
    min-height: inherit;
  }
  .stellarnav.mobile .toggle-bar {
    background: url(../images/bg_header.png) no-repeat;
    background-position: center right;
    background-size: 40% 100%;
    background-color: #fff;
  }
  .navbar {
    padding-top: 2px;
  }
  .navbar-logo {
    padding: 0;
  }
  .navbar-logo a {
    width: 205px;
    height: 40px;
  }
  .topicons {
    display: none;
  }
  .slick-arrow {
    top: 40%;
    transform:scale(0.8);
  }
  .index-list .more {
    position: absolute;
    top: 10px;
    right: 15px;
  }
  .list-date {
    margin-bottom: 2rem;
  }
  .list-date li a {
    padding-left: 90px;
  }
  .grid-img-text img {
    width: 50%;
  }
 .slick-slider .slick-arrow, .slick-slider .slick-arrow {
   width: 0;
   height: 0;
   overflow: hidden;
    opacity: 0;
    z-index: -9;
  }  
  .banner .slick-slide .captions {
    width: inherit;
  }  
}

@media (max-width: 768px) {
  .banner .slick-slide {
    height: 600px;
  }
}

@media (max-width: 640px) {
  footer {
    text-align: left;
  }
  footer li {
    margin: 0 0 16px 0;
    line-height: 1.8;
  }
  footer li:nth-child(3)::before {
    display: none;
  }
  footer li a {
    padding-left: 0;
    padding-right: 0;
  }
  footer .copyright {
    display: block;
    width: 100%;
  }
  footer .address {
    display: none;
  }
  footer .address.ad2 {
    display: block;
    border: none;
  }
  #gotop {
    bottom: 150px;
  }
  .grid-img-text img {
    width: 100%;
  }
  .grid-img-text img:last-child {
    margin-bottom: 2rem;
  }
  .banner .slick-slide {
    height: 500px;
  }
  .banner .slick-slide .captions .tt img {
    width: 340px;
  }
}

@media (max-width: 460px) {
  #gotop {
    bottom: 220px;
  }
  .banner .slick-slide {
    height: 300px;
  }
  .banner .slick-slide .captions .tt {
    font-size: 1.5rem;
  }
  .banner .slick-slide .captions .tt img {
    width: 250px;
  }
}

@media (max-width: 360px) {
  footer li::before {
    display: none;
  }
  .stellarnav .bottomicons li a {
    padding: 10px;
  }
  .stellarnav .bottomicons li a i {
    margin-right: 5px;
  }
/*
  .stellarnav .bottomicons li:last-child {
    display: block;
  }
  .stellarnav .bottomicons li:last-child::before {
    display: none;
  }
  */
  .banner .slick-slide .captions .tt {
    font-size: 1.25rem;
  }
  .banner .slick-slide .captions .tt img {
    width: 200px;
  }
}
