@charset "utf-8";
/* CSS Document */
/*-------------category--------------------*/
#category li {
  float: left;
  margin: 0px 10px 10px 0;
}
#category li a {
  display: inline-block;
  border: 1px solid #C8C8C8;
  background: linear-gradient(#FEFEFE, #EFEFEF);
  padding: 5px 10px;
  font-size: 13px;
  width: auto;
  color: #666;
  text-decoration: none;
  border-radius: 3px;
}
#category li a:hover {
  border: 1px solid #64A9FF;
  background: #64A9FF;
  color: #FFF;
}
#category li.select a {
  border: 1px solid #666;
  background: #666;
  color: #FFF;
}
/*---------------vip--------------------*/
span.vip {
  position: absolute;
  left: 0;
  top: 0;
  width: 90px;
  height: 90px;
  background-image: url(../images/vip.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}
span.enlarge {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: center;
  color: #fff;
}
#product li h4 span {
  font-size: 15px;
  font-weight: normal;
}
/*----------------dropdownBtnOutfit------------------*/
.dropdownWrapper {
  position: relative;
  display: inline-block;
  width: auto;
}
.dropdownBtnOutfit {
  width: auto;
  height: 40px;
  line-height: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  cursor: pointer;
  padding: 0 30px 0 15px;
  background-image: url(../images/openItem.svg);
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 20px 20px;
  /*太長截掉*/
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.dropdownBtnSelect {
  background-color: #eee;
  color: #333;
  background-image: url(../images/closeItem.svg);
}
.dropdownBtnOutfit:hover {
  background-color: #eee;
}
.dropdownOutfit {
  border: 1px solid #eee;
  position: absolute;
  background: #fff;
  z-index: 99;
  padding: 0;
  top: 45px;
  left: 0;
  /*設置下拉選單的最大高度 2023-03-15*/
  max-height: 350px; /* 設置最大高度 */
  overflow-y: auto; /* 允許垂直捲動 */
}
.dropdownOutfit li a {
  display: block;
  width: 400px;
  text-decoration: none;
  padding: 6px 10px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}
.dropdownOutfit li:last-child a {
  border-bottom: none;
}
.dropdownOutfit li a:hover {
  background-color: #eee;
}
a.BtnOutfit {
  display: block;
  width: auto;
  height: 35px;
  line-height: 35px;
  background-color: #eee;
  cursor: pointer;
  padding: 0 30px;
  color: #000;
}
a.BtnOutfit:hover {
  background-color: #666;
  color: #FFF;
}
.prodShow::before {
  content: "+ 顯示更多";
}
.prodHide::before {
  content: "- 顯示較少";
}
/*------News type---------*/
.product li em {
  color: #333;
  font-size: 13px;
  background: #999;
  padding: 0px 4px;
  text-align: center;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
}
.product li em.news {
  background: #3F51B5;
}
.product li em.press {
  background: #E9332F;
}
/*---------------- icon for expo list ---------------------*/
.textLink dd {
  display: inline-block;
  vertical-align: middle;
}
.textLink dd a {
  display: block;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: left 8px center;
  color: #333;
  text-decoration: none;
  background-color: #F2F2F2;
  border-radius: 30px;
  margin-right: 5px;
  font-size: 12px;
  line-height: 32px;
  min-height: 32px;
  min-width: 32px;
  cursor: pointer;
}
.textLink dd:last-child a {
  margin-right: 0;
}
.textLink dd a:hover {
  background-color: #FFF;
  box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0.2);
}
a.salse {
  background-image: url(../images/salse.svg);
}
a.share {
  background-image: url(../images/share.svg);
}
.textLink dd a.favor {
  background-image: url(../images/favor.svg);
  padding: 0 8px 0 28px;
}
.textLink dd a.favorDel {
  background-image: url(../images/favorRed.svg);
  padding: 0 8px 0 28px;
}
.textLink dd a.website, .textLink dd a.download {
  padding: 0 10px 0 28px;
}
a.website {
  background-image: url(../images/website.svg);
}
a.download {
  background-image: url(../images/download.svg);
}
a.moreitems {
  padding: 0 10px 0 28px;
  background-image: url(../images/website.svg);
}
/*-- social --*/
#social {
  text-align: center;
  display: none;
  padding: 10px;
}
#social li {
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
}
#social li img {
  width: 80px;
}
#social .socialCopyHidden {
  position: absolute;
  top: -9999px;
  left: 9999px;
}
/*-- msg --*/
#message dd {
  margin-bottom: 15px;
}
.hideMsg dd:nth-child(n+6) {
  display: none; //第5個之後隱藏
}
#message dd:last-child {
  margin-bottom: 0
}
#message dd div {
  background: #f5f5f5;
  padding: 15px;
}
#message dd div .gray {
  color: #777;
}
#message dd div .bold {
  margin-right: 3px;
}
#message dd div p:first-child {
  margin-bottom: 3px;
}
#message dd div p i {
  float: right;
}
#message dd div.msgFeedback {
  background: #fff;
  padding-left: 40px;
}
.btnInquiry, .btnInquiry:hover {
  float: right;
  background-image: url("../images/salseW.svg");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: left 12px center;
  padding-left: 35px;
  font-size: 15px;
}
.nameInput {
  display: none;
}
/*-- popWrapper --*/
#popWrapper {
  border: 1px solid #e0e0e0;
  padding: 0 40px;
  border-radius: 10px 10px 0 0;
  position: relative;
}
#popWrapper h4 {
  background-color: #eee;
  text-align: center;
  padding: 6px 0;
  margin: 0px -40px 10px -40px;
  border-radius: 10px 10px 0 0;
  color: #333;
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
  /*-------------------- 內頁 prod 橫向 --------------------*/
  .prodList li {
    float: left;
    width: 17.6%;
    margin-right: 3%;
    margin-bottom: 3%;
  }
  .prodList li:nth-child(5n) {
    margin-right: 0;
  }
  /*11-50產品先隱藏*/
  .prodList li:nth-child(n+11):nth-child(-n+100) {
    display: none;
  }
  .showAll li:nth-child(n+11):nth-child(-n+100) {
    display: block;
  }
  /*----------------- 內頁product lsit---------------*/
  .product li {
    border-bottom: 1px solid #ddd;
    display: block;
    position: relative;
    padding: 10px 0;
    width: auto;
  }
  .product li:first-child {
    padding-top: 0;
  }
  .product li div.left {
    width: 160px;
    float: left;
    position: relative;
  }
  .product li div.right {
    width: auto;
    margin-left: 180px;
  }
  .product li div.right h4 em {
    font-weight: bold;
  }
  .product li div.right h4 span {
    font-size: 15px;
  }
  .product li div.right span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
  }
  /*----------------- picMode ---------------*/
  .picMode li {
    float: left;
    width: 15%;
    border: 0;
    margin: 0 5% 7% 0;
    padding-bottom: 0;
    position: relative;
  }
  .picMode li:nth-child(5n) {
    margin-right: 0;
  }
  /*.picMode li {
    float: left;
    width: 23.5%;
    border: 0;
    margin: 0 2% 3% 0;
    padding-bottom: 0;
  }
  .picMode li:nth-child(4n) {
    margin-right: 0;
  }*/
  .picMode li div.left {
    float: none;
    width: 100%;
  }
  .picMode li div.right {
    margin: 0;
  }
  .picMode li div.right p {
    display: none;
  }
  .picMode li div.right h4 {
    width: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin: 8px 0 10px 0;
    text-align: center;
    font-size: 15px
  }
  .picMode li div.right h4 span {
    display: none;
  }
  .picMode li div.right .textLink {
    text-align: center;
  }
  /*sorting*/
  #DDwrapper dd {
    display: inline-block;
    margin-right: 10px;
  }
  .modeSwitch {
    background-image: url(../images/picmode.svg);
    color: #333;
  }
  .listHide {
    background-image: url(../images/listmode.svg);
    color: #333;
  }
  /*-------------search--------------------*/
  .search {
    background: #eee;
    width: auto;
    padding: 10px;
    overflow: auto;
  }
  .searchText {
    width: 79%;
    height: 35px;
    line-height: 35px;
    text-indent: 10px;
    border: 1px solid #E5E5E5;
    color: #666;
    border-radius: 3px;
    float: left;
  }
  .searchText:focus {
    border: 1px solid #A6C1CE;
    background: #F6FBFE;
  }
  .searchSelect {
    display: none;
  }
  .searchBtn {
    border: 0;
    color: #FFF;
    background: #19B0C5;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    width: 20%;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    float: right;
  }
  .searchBtn:hover {
    background: #f09a3d;
  }
  /*------------------------- inner prodoct detail ------------------------*/
  #prodDetailLeft, #exDetailLeft {
    width: 360px;
    position: relative;
    float: left;
  }
  #prodDetailRight, #prodDetailRight {
    width: auto;
    margin-left: 380px;
  }
  /*-- exLeft --*/
  .exLeft, .exLeft .squareThumb {
    position: relative;
  }
  .exLeft div.squareThumb div.enlarge {
    left: 0;
    top: 0;
    z-index: 91;
    position: absolute;
    width: 100%;
    height: 50px;
    padding-bottom: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url("../images/iconEnlarge.png");
    background-position: center center;
    background-size: 30% 30%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.3s ease-out;
  }
  .exLeft div.squareThumb:hover div.enlarge {
    opacity: 1;
    transition: all 0.3s ease-out;
  }
  /*-- video --*/
  #videoList li {
    width: 32%;
    margin: 0 2% 3% 0;
    float: left;
    position: relative;
  }
  #videoList li:nth-child(3n) {
    margin-right: 0;
  }
  #videoList li h4 {
    line-height: 135%;
    color: #f09a3d;
    font-weight: bold;
    font-size: 15px;
    height: 45px;
    width: auto;
    overflow: hidden;
    margin: 7px 0 5px 0;
  }
  #videoList li a.videoThumb {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 60%;

  }
  #videoList li a.videoThumb img {
    width: 100%;
  }
  #videoList li a.videoThumb div {
    background-image: url("../images/youtubeBlack.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: .6;
    width: 60px;
    height: 40px;
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 20px);
  }
  #videoList li a.videoThumb:hover div {
    background-image: url("../images/youtube.svg");
    opacity: 1;
  }
}
/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
  /*--------------------vip--------------------*/
  span.vip {
    left: 0px;
    width: 70px;
    height: 70px;
  }
  .lightLine {
    margin: 20px -15px;
  }
  /*-------------------- 內頁 prod 橫向 --------------------*/
  .prodList li {
    float: left;
    width: 31.3%;
    margin-right: 3%;
    margin-bottom: 3%;
  }
  .prodList li:nth-child(3n) {
    margin-right: 0;
  }
  /*11-50產品先隱藏*/
  .prodList li:nth-child(n+11):nth-child(-n+100) {
    display: none;
  }
  .showAll li:nth-child(n+11):nth-child(-n+100) {
    display: block;
  }
  /*----------------- product list ---------------*/
  .product li {
    border-bottom: 1px solid #ddd;
    display: block;
    width: auto;
    padding: 20px 0;
  }
  .product li:first-child {
    padding-top: 0;
  }
  .product li div.left {
    width: 22%;
    float: left;
    position: relative;
  }
  .product li div.right {
    width: auto;
    margin-left: 25%;
  }
  .product li div.right span {
    display: inline-block;
    background: #f1f1f1;
    padding: 0 10px;
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
  }
  /*-------------search--------------------*/
  .search {
    width: 100%;
    background: #eee;
    padding: 10px;
    overflow: auto;
  }
  .searchText {
    width: 85%;
    height: 40px;
    line-height: 40px;
    text-indent: 5px;
    border: 1px solid #E5E5E5;
    color: #666;
    border-radius: 3px;
    float: left;
  }
  .searchText:focus {
    border: 1px solid #A6C1CE;
    background: #F6FBFE;
  }
  .searchSelect {
    display: none
  }
  .searchBtn {
    border: 0;
    background: #19B0C5;
    border-radius: 3px;
    cursor: pointer;
    width: 13%;
    height: 40px;
    text-indent: -9999px;
    background-color: #999;
    background-image: url(../images/iconSearch.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 70%;
    float: right
  }
  .searchBtn:hover {
    border: 0;
    background-color: #f09a3d;
  }
  /*------------------------- inner prodoct detail ------------------------*/
  .exLeft {
    margin-bottom: 20px;
    
  }
  .exLeft .imgborder {
    width: 40%;
    height: 0;
    padding-bottom: 70%;
    margin: 0 auto;
  }
  /*----------------dropdownBtnOutfit------------------*/
  .dropdownWrapper, .dropdownOutfit, .dropdownOutfit li a {
    width: 100%;
  }
  #DDwrapper dd {}
  #DDwrapper dd:last-child {
    margin-bottom: 0;
  }
  /*----------------btn------------------*/
  .textLink dd a {
    font-size: 13px;
  }
  /*-- video --*/
  #videoList li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
  }
  #videoList li:first-child {
    padding-top: 0;
  }
  #videoList li h4 {
    color: #f09a3d;
    font-weight: bold;
    font-size: 14px;
    margin: 10px 0;
  }
  #videoList li a.videoThumb {
    position: relative;
      
  }
  #videoList li a.videoThumb div {
    background-image: url("../images/youtube.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: .6;
    width: 60px;
    height: 40px;
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 20px);
  }
  /*-- popWrapper --*/
  #popWrapper {
    padding: 0 15px;
  }
  #popWrapper h4 {
    margin: 0px -15px 10px -15px;
  }
  /*----------------social------------------*/
  #social li {
    width: 18%;
    margin: 0 7px;
  }
  #social li img {
    width: 100%;
  }
    #videoList li a.videoThumb {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 60%;

  }
  #videoList li a.videoThumb img {
    width: 100%;
  }

}