/* 共通 */

input:focus,
a:focus,
button:focus {
  outline: none !important;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

body {
  font-family: "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding-top: 0;
}

/* .breadcrumb-line {
 padding: 30px 45px 40px;
} */
.breadcrumb-line{
  padding: 30px 55px 40px;
  font-size: 18px;
  color: #9e9e9e;
  font-weight: 600;
}

#main > .breadcrumb-container{
  width: 100%;
}

.cursor{
  cursor: pointer;
}

/* 上方導覽列  */

.top-bar {
  padding: 20px 90px;
}

.logo-bar {
  width: 150px;
  display: inline-block;
  float: left;
}

.main-bar {
  width: calc(100% - 150px);
  display: inline-block;
  float: left;
}

.lang-search {
  padding: 15px 10px 20px;
  position: relative;
}

#search {
  border-radius: 18px;
  font-size: 17px;
  padding: 4px 40px 4px 16px;
  border: 1.5px solid #b19b86;
  width: 205px;
  margin-right: 160px;
}

#search::before {
  content: '<img src="assets/images/home-search.png">'
}

.search-border {
  float: right;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.search-icon {
  position: absolute;
  top: 7.5px;
  left: 170px;
  cursor: pointer;
}

/* 手機導覽列 */
.nav-dg{
  position: fixed;
  z-index: 999;
  width: 100%;
  top: 0;
}

.navbar-toggle{
  position: absolute;
  right: 0;
  top: 10px;
  border: none;
  background: none;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #b2681a;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 32px;
  height: 4px;
  border-radius: 1px;
}
/* 語系 */

.navbtn {
  font-size: 17px;
  padding: 4px 5px 4px;
  float: right;
  border: 1.5px solid #b19b86;
  width: 135px;
  display: inline-block;
  border-radius: 26px;
  transition: height 1s, border-radius 1s;
  overflow: hidden;
  position: absolute;
  background-color: white;
  color: #b19b86;
  /* vertical-align: top; */
  height: 36px;
  text-align: center;
  margin: 0 0 0 12px;
  right: 9px;
  z-index: 15;
}

.navbtn:hover {
  background-color: #b19b86;
  color: white;
  border-radius: 20px 20px 20px 20px;
}

.dropdownbtn {
  opacity: 0;
  transition: opacity 0.5s;
  font-size: 15px;
}

.navbtn:hover .dropdownbtn {
  opacity: 1;
}

.dropdown-ul {
  list-style-type: none;
  display: inline-block;
  text-align: center;
  padding: 0;
  font-weight: 100;
}
.dropdown-ul>li:first-child{
  border-top: 1px solid;
  margin-top: 8px;
}

.dropdown-ul>li {
  /* border-bottom: 1px solid; */
  padding: 4px 16px;
}

.dropdown-ul>li>a {
  color: #FFFFFF;
}

.dropdown-ul>li:last-child {
  border-bottom: 0px;
}

.navbtn a {
  color: #b19b86;
}

.navbtn:hover.navbtn a {
  color: white;
}

/* 頁面連結 */

.main-page-border {
  padding: 5px 0 20px;
}

.main-page {
  float: right;
}

.main-page>li {
  padding: 0;
  margin-bottom: 17px;
}

.main-page>li>a {
  color: #693905;
  font-size: 21px;
  margin: 0 3px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 2px solid white;
  padding: 6px 25px;
  border-radius: 40px;
}

.main-page>li>a:hover {
  border: 2px solid #b5791b;
}

/* 首頁輪播 */
#banner{
 padding: 0;
 position: relative;
}

.banner-items {
  padding: 0;
}

.banner-background {
  width: 100%;
  /* height: 640px; */
  height: 540px;
  background-position: center;
  background-size: cover;

  /* display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: left;
  text-align: center;
  padding: 0 20px 0 0; */
}

/* .banner-contain {
  position: absolute;
  top: calc((100% - 320px)/2);
  width: 540px;
  max-width: 70%;
  border: 6px solid white;
  background: white;
  color: white;
  padding: 30px 80px;
} */

.banner-contain {
  height: 200px;
  /* overflow: hidden; */
  top: 20px;
  background: rgba(255,255,2555,0.8);
  position: absolute;
  width: 540px;
  max-width: 70%;
  padding: 30px 80px;
}


.banner-title {
  color: #86500d;
  font-size: 26px;
}

.banner-line {
  height: 4px;
  margin: 10px 0;
  background: -webkit-linear-gradient(to right, #f7b52c, #6a3906);
  background: -o-linear-gradient(to right, #f7b52c, #6a3906);
  background: -moz-linear-gradient(to right, #f7b52c, #6a3906);
  background: linear-gradient(to right, #f7b52c, #6a3906);
}

.banner-text {
  color: #2a1500;
  font-size: 20px;
  letter-spacing: 1px;
  overflow: hidden;
  height: 80px;

  text-align: justify;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.banner-prev {
  display: none !important;
}

.banner-next {
  display: none !important;
  /* display: inline-block; */
  width: 70px;
  height: 70px;
  border-radius: 51px;
  border: 0;
  background: #b5791b;
  position: absolute;
  top: calc((100% - 70px)/2);
  left: 502px;
  z-index: 3;
}

/* 最新消息 */

#news {
  padding-left: 10%;
  padding-right: 10%;
  margin-bottom: 60px;
  margin-top: -30px;
  border-bottom: 1px solid #ae9844;
}

.news-left {
  background: -webkit-linear-gradient(to right, #b2681a, #6a3906);
  background: -o-linear-gradient(to right, #b2681a, #6a3906);
  background: -moz-linear-gradient(to right, #b2681a, #6a3906);
  background: linear-gradient(to right, #b2681a, #6a3906);
  color: white;
  height: 100%;
  padding-bottom: 50px;
}

.news-name {
  font-size: 30px;
  padding: 30px 15px 0;
}

.news-img {
  position: relative;
}

.news-show {
  position: absolute;
  top: 0;
  right: -34px;
  padding:25px;
  background:white;
  box-shadow: 0px 0px 11px rgba(0, 0, 0, 1);
}

.news-hidden {
  opacity: 0;
  margin: 20px 0;
}

.news-title {
  font-size: 30px;
  color: #b6500d;
  letter-spacing: 1px;
}

.news-time {
  color: #918077;
  margin: 10px 0;
}

.news-sub {
  color: #2a1500;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.5;
  text-align: justify;
  /* padding: 5px; */
  padding: 0;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  color: #2a1500;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.news-contain {
  padding: 7% 0 0 54px;
}

.btn-news-area{
  text-align: right;
}

.btn-news {
  color: #f6f1e7;
  background: #b5791b;
  border: 2px solid #b5791b;
  border-radius: 161px;
  font-size: 17px; /*19*/
  padding: 6px 0;
  margin: 10px 0 10px 20px;
  width: 152px; /*160 */
  font-weight: 600;
  letter-spacing: 1px;
}

.btn-news:focus {
  color: #f6f1e7;
}

.btn-news:hover {
  background: white;
  color: #b5791b;
}

/* 產品 */
#product{
  margin:40px 0 60px;
  padding-left: 10%;
  padding-right: 10%;
}

.product-name{
  font-size: 30px;
  color:#6a3906;
}

.product-items{
  position:relative;
  padding:20px 20px;
}

.product-border{
  padding: 20px;
  outline: none !important;
}

.product-item{
  box-shadow: 0px 0px 11px rgba(0, 0, 0, 1);
}

.product-item:focus {
  outline: none !important;
}

.product-img {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 325px;
}

.product-text{
  padding: 10px 35px 30px;
}

.product-title{
  font-size: 23px;
  color: #86510d;
  margin: 10px 0 5px;
  font-weight: 600;
  letter-spacing: 1px;

  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  height: 34px;
}

.product-contain{
  height: 88px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: 16px;
  font-weight: 600;
  text-align: justify;
  letter-spacing: 1px;
}

.product-prev {
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 51px;
  border: 0;
  background: #b5791b;
  position: absolute;
  top: calc((100% - 70px)/2);
  left:-70px;
  z-index: 3;
}

.product-next {
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 51px;
  border: 0;
  background: #b5791b;
  position: absolute;
  top: calc((100% - 70px)/2);
  right: -75px;
  z-index: 3;
}

.btn-product {
  color: #f6f1e7 !important;
  background: #b5791b;
  border: 2px solid #b5791b;
  border-radius: 161px;
  font-size: 19px;
  padding: 6px 0;
  /* margin: 10px 0 10px 20px; */
  width: 160px;
  font-weight: 600;
  letter-spacing: 1px;
  position: absolute;
  bottom: 0;
  left: calc((100% - 160px)/2);
}

/* 頁尾 */

.footer {
  background: -webkit-linear-gradient(to right, #BE8322, #905C25);
  background: -o-linear-gradient(to right, #BE8322, #905C25);
  background: -moz-linear-gradient(to right, #BE8322, #905C25);
  background: linear-gradient(to right, #BE8322, #905C25);
  padding: 20px 0;
  color: white;
  float: left;
  width: 100%;
  display: inline-block;
}

.footer a {
  color: #FFFFFF;
}

.footer-info{
  padding-top: 12px;
}
.footer-icon{
  width: 200px;
}

.other-link{
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-top: 30px;
}
.other-line{
  position:relative;
}
.other-line>span{
  position: absolute;
  top: -18.5px;
  left: 4px;
}
.copyright{
  text-align: right;
  padding-right: 5%;
}



@media screen and (max-width:767px){
  /* 輪播 */
  body{
    padding-top: 74px;
  }
  .banner-background {
    height: 450px;
  }
  .banner-contain {
    width: 350px;
    color: white;
    top:0;
    padding: 10px 20px;
    height: 124px;
  }

  .banner-title {
    font-size: 16px;
  }
  .banner-text {
    font-size: 14px;
    height: 40px;
    -webkit-line-clamp: 2;
  }

  .banner-next {
    width: 35px;
    height: 35px;
    position: absolute;
    top: calc((100% - 35px)/2);
    left: 30px;
    z-index: 3;
  }

  /* 焦點訊息 */
  #news {
    padding: 0;
    margin-bottom: 30px;
  }

  .news-left {
    padding-bottom: 0;
  }

  .news-name {
    padding: 30px 15px 25px;
  }

  .news-show {
    position: relative;
    display: inline-block;
    top: auto;
    bottom: -4px;
    right: -15px;
    padding:25px;
    background:white;
    box-shadow: 0px 0px 11px rgba(0, 0, 0, 1);
  }
  .news-hidden {
    display: none;
  }

  .news-contain {
    padding: 20px 25px;
  }

  .news-title {
    font-size: 18px;
  }

  .news-sub {
    font-size: 14px;
  }

  .btn-news-area{
    text-align: center;
  }

  .btn-news {
    font-size: 14px;
    padding: 6px 0;
    margin: 10px 10px;
    width: 110px;
  }

  /* 產品 */

  #product {
    margin: 15px 0 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .product-text {
    padding: 10px 15px 30px;
}

  .product-title {
    font-size: 18px;
    height: 25px;
  }

  .product-contain {
    height: 78px;
    -webkit-line-clamp: 4;
    font-size: 14px;
  }

  .product-prev {
    width: 60px;
    height: 60px;
    top: calc((100% - 35px)/2);
    left:0;
  }

  .product-next {
    width: 60px;
    height: 60px;
    position: absolute;
    top: calc((100% - 35px)/2);
    right: 0;
  }

  .btn-product {
    font-size: 14px;
    padding: 6px 0;
    width: 110px;
    left: calc((100% - 110px)/2);
  }

 /* 頁尾 */
   .footer{
      padding: 10px 20px;
   }
   .footer-info{
     padding-top: 0;
   }
   .footer-icon{
     width: 150px;
   }
  .footer>div{
    margin: 10px 0;
  }
  .footer>div:first-child,.footer>div:last-child{
    margin: 0;
    text-align: center;
  }

  .other-line>span{
    top: -13.5px;
  }


  .other-link {
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
    padding-top: 8px;
  }
  .copyright{
    text-align: left;
  }
  .copyright-text{
    text-align: left;
  }
}

@media screen and (min-width:1020px) and (max-width:1200px){

  .product-title {
    font-size: 18px;
    height: 25px;
  }
}

@media screen and (min-width:767px) and (max-width:992px){
  .navbtn {
    right:-8px;
  }
  #search {
    margin-right: 140px;
  }

  .top-bar {
   padding: 20px 50px !important;
  }
  .main-page>li>a{
    padding: 6px 14px;
    font-size: 18px;
  }

  .copyright{
    text-align: center;
  }
}



/* 內頁左側導覽列 */

.page-all{
  display: inline-block;
  width: 100%;
}

.left-bar-fixed{
  position: fixed !important;
  top: 15px !important;
}
/*
.left-bar-fixed{
  position: absolute;
  top: 0;
} */

.left-bar-relative{
  position: relative;
  top: auto;
}
.list-slide{
  display: inline-block;
  float: left;
  width: 320px;
  /* background: grey; */
  position: relative;
  min-height: 100vh;
  height: auto;
  text-align: right;
}

#left-list{
  width: 320px;
}

.list-slide li>a{
  font-size: 20px;
  color: black;
  width: 100%;
  display: inline-block;
  background: white;
  padding: 15px 15px 15px 120px;
  text-align: left;
  /* transition: all 0.5s; */
}

.list-slide li>a:hover{
  color: white;
  background: -webkit-linear-gradient(to right, #d27e26, #6a3906);
  background: -o-linear-gradient(to right, #d27e26, #6a3906);
  background: -moz-linear-gradient(to right, #d27e26, #6a3906);
  background: linear-gradient(to right, #d27e26, #6a3906);
}

.list-slide li>a.active-silde{
  color: white;
  background: -webkit-linear-gradient(to right, #d27e26, #6a3906);
  background: -o-linear-gradient(to right, #d27e26, #6a3906);
  background: -moz-linear-gradient(to right, #d27e26, #6a3906);
  background: linear-gradient(to right, #d27e26, #6a3906);
}
.inner-page-contain{
  display: inline-block;
  float: left;
  width: calc(100% - 320px);
  padding-bottom: 50px;
}
@media only screen and (max-width: 765px) {
  .list-slide{
     display: none;
  }
  .inner-page-contain{
     width: 100%;
  }
  .breadcrumb-line{
    padding: 30px 0 40px;
  }

}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .list-slide{
     width: 240px;
  }
  #left-list {
      width: 240px;
  }
  .inner-page-contain{
     width: calc(100% - 240px);
  }
  .list-slide li>a {
    padding: 15px 15px 15px 45px;
  }
}

@media only screen and (min-width: 993px) and (max-width: 1200px) {
  .list-slide{
     width: 280px;
  }
  #left-list {
      width: 280px;
  }
  .inner-page-contain{
     width: calc(100% - 280px);
  }
  .list-slide li>a {
    padding: 15px 15px 15px 80px;
  }
}
