*{
  font-family: Futura,Helvetica,Arial,sans-serif;
}

body{
  margin:0;
  font-family: Futura,Helvetica,Arial,sans-serif;
}

.top-bg{
  background: url('../img/background.webp') 100%;
  position: fixed;
  top:0;
  left:0;
  height: 200px;
  width: 100%;
  z-index: -2;
}

header{
  display: block;
  border-bottom: 1px solid #333;
  transition: all .2s ease-out;;
  /* background:linear-gradient(to bottom,#4e4d4d 0,rgba(230, 173, 109, 0.13) 100%); */
  /* position: fixed; */
  width: 100%;
  height: 144px;
  background-color: #FFF;;
}

main{
  /* padding-top:144px; */
}

.paging a {
  padding:0.5rem;
  margin: 0 0.5rem;
}

.paging a.current{
  color:black;
}

.clear{
  clear: both;
}

.clear::after{
  content: ' ';
  display: block;
  clear: both;
}


#body-container{
  padding:0;
}

.top{
  display: block;
}

.top::after{
  display: block;
  content: ' ';
  clear: both;
}

.top .langs{
  padding: 1rem ;
  position:absolute;
}

.top .langs .item{
  margin-right: 2rem;
}

.top .logo{
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.sv-navbar{
  background-color: #f8f6f4;
}

.sv-navbar .nav-item{
  position: static;
}

.sv-navbar .nav-item:hover{
  background-color:#ccc;
}

.sv-navbar .navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

span.pcat, span.pcat *{
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.properties .meta_list{
  display: inline-block;
  vertical-align: top;
  min-width: 150px;
}

.meta_list > .meta_name {
  font-weight: bold;
  padding:0.5rem 0;
}
.meta_list > div > ul {
  padding: 0;
}

.meta_list > div > ul > li {
  list-style: none;
  width: 150px;
  line-height: 180%;
}

.filter-form-submits {
  text-align: center !important;
  margin-top:1rem;
}

@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{   }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
}

.sv-navbar nav{
  background: none !important;
  padding:0;
}

.sv-navbar .sv-dropdown-menu{
  position: absolute;
  left: 0;
  z-index: 999;
  /* top: 140px; */
  width: 100%;
  height: 400px;
  border:1px solid #ccc;
  /* box-shadow: 10px 15px 30px #555; */
  opacity: 0.9;
  /* border-radius: 0.8rem; */
  padding: 0.5rem 1rem;
}

.sv-navbar .sv-dropdown-menu .dropdown-item-warp{
  display: block;
  margin:0 auto;
  padding-top: 1rem;
}

.sv-navbar .sv-dropdown-menu .dropdown-item-warp > ul{
  padding-left:0;
  display: flex;
  justify-content: center;
}

.sv-navbar .sv-dropdown-menu .dropdown-item-warp .child-cats{
  padding-left:0 !important;
  height: 100%;
}

.sv-navbar .sv-dropdown-menu .dropdown-item-warp .child-cats li{
  display: block !important;
  padding:0;
}

.sv-navbar .sv-dropdown-menu .dropdown-item-warp .cat-img{
  display: flex;
  justify-content: center;
  border-left: 1px solid #ccc;
}

.sv-navbar .sv-dropdown-menu li{
  display: inline-block;
  vertical-align: top;
}

.sv-product-player{
  background-color: #333;
  width: 100%;
  height: calc(100vh - 144px);
  /* height: 100vh; */
  position: relative;
  overflow: hidden;
}

.sv-product-player .product-descriptions{
    color: white;
    /* display: flex; */
    width: 40%;
    text-align: right;
    padding-right: 2rem;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.sv-product-player .product-descriptions .pd-box{
  display: inline-block; 
  text-align: left;
}

.sv-product-player .product-descriptions .pdesc-list {
  padding:0;
  margin: 0;
}

.sv-product-player .product-descriptions li{
  list-style-type: none;
}

.sv-product-player .product-descriptions .product-title{
  font-size: 3.5rem;
}

.sv-product-player .player-product-image{
  overflow: hidden;
  position: absolute;
  width: 60%;
  top: 50%;
  right: 0%;
  transform: translate(0, -50%);
  text-align: left;
  padding-left:2rem;
}

.sv-product-player .player-product-image img{
  max-width:100%
}

#fullscreen-btn{
  position:absolute; 
  right: 2rem; 
  bottom: 2rem; 
  color:#FFF;
  cursor: pointer;
}

@media screen and (max-width: 992px) {
  .sv-product-player .product-descriptions,
  .sv-product-player .player-product-image {
    text-align: center;
    padding:0;
  }
}

.page-ext{
  background-color: #eee;
  display: flex;
  width: 100%;
  justify-content: right;
}

.page-ext .cat-nav{
  margin-right: auto;
  padding: 1rem;
}

.page-ext > .filter{
  justify-self: right;
  position:static;
}

.page-ext > .filter > .filter-dropdown{
  display: inline-block;
  padding:1rem;
}

.page-ext > .filter:hover{
  background-color: #FFF;
}

.page-ext > .filter > .filter-option{
  position: absolute;
  height: 400px;
  display: none;
  
  width: 100%;
  background-color: #FFF;
  opacity: 0.95;
  left:0;
  border-bottom:1px solid #ccc;
  padding: 1rem 0;
}

.page-ext > .filter:hover > .filter-option{
  display: flex;
  justify-content: center;

}


/** 產品列表 */

.product-list {
  padding:2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-list ul{
  padding-left:0;
}

.product-list ul > li {
  list-style: none;
  width: 33%;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;;
  border: 1px solid #FFF;
}

.product-list ul > li:hover {
  border: 1px solid #ccc;
  box-shadow: 1rem 2rem 3rem #ccc;
}

.product-list ul > li .pimg{
  overflow: hidden;
  text-align: center;
}

.product-list ul > li .pimg img{
  max-width:100%;
  max-height: 300px;
}

.product-description{
  width: 800px;
  margin: 0 auto;
  margin-top:2rem;
  position: relative;
}


.product-list ul > li a{
  text-decoration: none;
  color: #333;
}

.product-list .pinfo {
  text-align: center;
}

.show-product {
  margin-top: 1rem;
  padding-top:1rem;
}

.show-product .product-image-slider{
  text-align: center;
}

.product-image-slider .thumbs {
  margin-top:1rem;
}

.product-image-slider .thumbs li{
  display: inline-block;
  border: 1px solid #eee;
}

.product-image-slider .thumbs li.active{
  border: 1px solid #999;
}

.product-description img{
  max-width: 100%;
}

.desc-list h2{
  border-bottom: 1px solid #ccc;
  font-size: 18px;
  padding-bottom: 1rem;
}

.desc-list > ul {
  padding-top:1rem;
}

.desc-list > ul > li{
  line-height: 200%;
  color: #888;
}


/** footer */

.footer-infos{
  background-color: rgb(97 82 70);
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  font-size: 14px;;
}

.footer-infos ul{
  padding:0;
}

.footer-infos li{
  list-style-type: none;

}

.footer-infos a{
  text-decoration: none;
}

.footer-infos * {
  color: white;
}

.footer-infos .fblock{
  display: inline-block;
  margin: 0 3rem;
}
.footer-bottom{
  text-align: center;
  padding: 0.8rem  0;
  background-color: #3f3533;
  color: white;
}

#navbar-close {
  display: none;
}


/* other */

#processbar{
  height: 3px;
  display: block;
  position:absolute;
  bottom:1px;
  width:100%;
}

#processbar .ui-progressbar-value{
  height: 3px;
  background-color: gold;
}

.lang-item a{
  text-decoration: none;
  color: #333;;
}

.paging a{
  color: #999;
  text-decoration: none;
}




.product-description .price {
  position: absolute;
  right: 1rem;
  top: 50px;
  width: 250px;
}

.product-description .price a {
  display: block;
  border: 1px solid #000;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  margin-top: 0.8rem;
}

.product-description .price a:hover{
  border: 1px solid #ccc;
  background-color: #ccc;
}

ul.pdesc-list li {
  font-size: 2rem;
}

.close_tips{
  display: none;
}


/*mobile and pad*/
@media screen and (max-width: 992px) {

  div.navbar-collapse.collapse.show{
    background-color: #FFF;
    display: block;
    /* position: absolute; */
    position: fixed;
    width: 100%;
    /* height: calc(100vh - 122px); */
    height: 100vh;
    /* top:42px; */
    top:0;
    left:0;
    z-index: 999999;
  }

  .sv-navbar .nav-item {
    padding-left: 2rem;
  }

  .sv-navbar .sv-dropdown-menu{
    width: 100%;
    left:0;
    top:0;
    opacity: 1;
  }

  .sv-navbar .sv-dropdown-menu .dropdown-item-warp .cat-img{
    display: none;
  }

  .sv-navbar .sv-dropdown-menu{
    /* height: calc(100vh - 140px); */
    height: 100vh;
  }

  .sv-navbar .sv-dropdown-menu .dropdown-item-warp > ul{
    display: block;
  }

  .sv-navbar .sv-dropdown-menu li{
    width:49%;
  }

  .img-player > img{
    max-width: 100%;
  }


  .product-description{
    width: 100%;
    padding: 0 1rem;
  }

  .product-list ul > li {
    width: 48%;
  }

  .footer-infos{
    display: block;
    text-align: center;
  }
  
  .footer-infos ul{
    padding:0;
  }
  
  .footer-infos li{
    list-style-type: none;
  }
  
  .footer-infos a{
    text-decoration: none;
  }
  
  .footer-infos * {
    color: white;
  }
  
  .footer-infos .fblock{
    display: inline-block;
    margin: 0 3rem;
  }

  .footer-bottom{
    text-align: center;
    padding: 0.8rem  0;
    background-color: #3f3533;
    color: white;
  }

  .langs .lang-txt{
    display: none;
  }

  #product-player {
    display: block;
    position: relative;
  }

  #product-player .product-descriptions{
    width: 100%;
    top: calc(60% + 4rem);
    
    /* transform: translate(0, -50%); */
  } 

  #product-player .player-product-image {
    width: 100%;
    top:1rem;
    transform: none;
    height: 55%;
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
  }

  #product-player .player-product-image img{
    max-height: 100%;
  }

  div.navbar-collapse.collapse.show #navbar-close{
    display: block;
    position: fixed;
    left: 50%;
    bottom: 10%;
    /* z-index: 1000000; */
    transform: translate(-50%, 0)
  }


  .product-description .price{
    position: static;
  }

}


/* only pad */
@media screen and (min-width:768px) and (max-width:992px) {
  
}

/* only cell phone */
@media screen and (max-width: 768px) {

  .dropdown-item-warp::after{
    content: '點擊空白處 返回上一頁';
    display: block;
    font-size: 0.8rem;
    color: #999;
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 999999;
  }

  .close_tips {
    display: block;
    font-size: 0.5rem;
    color: #999;
    position: absolute;
    bottom: 2px;
    left: 25%;
    text-align: center;
  }
}
