﻿  
 

 .item-tag { display: flex; flex-wrap: wrap; flex-direction: row; bottom:0px; left: 0px;  width: auto;padding: 0px 10px; font-size: 0.875rem; color: #fff; transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s; overflow: hidden; text-transform: capitalize;  word-break: keep-all;   z-index: 9;  position: absolute;opacity: 0; }
.item-tag-01{ background:#000;}
.item-tag-02{ background:#999;}



.cms-item {width: 100%;  margin:0px auto;  padding:0px; display: flex;  flex-wrap: wrap;  position: relative; z-index: 1; }
.cms-item li{ display: flex; flex-direction: column;  width: calc(100%/3 - 20px); padding:0px; margin:20px 10px; box-sizing: border-box;  overflow: hidden; list-style: none;  transition: all 0.5s ease 0s; position: relative;  }
.cms-item li:hover .item-tag {opacity: 1; }
.cms-item figure img {width: 100%; position: relative; overflow: hidden;  background-color:#f5ecec; transition: all 0.5s ease-in-out;}
.cms-item figure:hover img { opacity: .5;border-color: #df7475;  transform: scale(1.15); }
.cms-item figure {background: #333;  position: relative; overflow: hidden;  }
.cms-item-box { display: flex; align-items: center; flex-wrap: wrap;  }
.cms-item-box .date,.cms-item-box.category { font-size: 12px; letter-spacing: 0.06em; color: #000; }
.cms-item-box .category {  position: relative;  margin-left: 5px; padding-left: 5px; text-transform: uppercase;}
.cms-item-box .category::before {  content: "";  position: absolute; left: 0; margin-top: 10px;  width: 1px; height: 12px; background-color: #aaa;} 
.cms-item-inner {position: relative;  width: 100%; margin: 0;  padding:20px 0px; box-sizing: border-box;display: -ms-flexbox; display: flex; flex-wrap: wrap; color: #4c4c4c; font-size: 14px; font-weight: 400;   }
.cms-item-inner h3 {position: relative;width: 100%; height:50px; font-size:0.9375rem; font-weight:500; line-height: 1.5rem; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word; word-break: keep-all;  word-wrap: break-word;}
.cms-item-inner h3 a{ color:#000; }


.cms-product-inner{width: 100%;padding: 10px 0px; margin: 0px; display: flex; flex-wrap: wrap;align-content: center; align-items: center; transition: all 0.3s linear 0s; } 
#cms-main .cms-product-inner h3{flex: 0 0 100%; margin:5px 0px; min-height: 43px; font-size:1.313rem; line-height:1.5rem; font-weight:700;  color:#000; overflow: hidden; word-break:normal;  word-wrap:normal;text-overflow: ellipsis; display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; }
#cms-main .cms-product-inner p{ flex: 0 0 100%; margin: 10px 0px;  padding: 0px; font-size:0.9rem; line-height: 20px; font-weight: 400;  color:#000;  overflow: hidden;word-break: keep-all;   word-wrap: normal; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;} 

@media (max-width: 768px) {
.cms-product-inner{ padding: 10px 0px;  } 
.cms-item-inner { padding: 10px 0px;  }
 .cms-item-inner h3 { height:90px; line-height: 1.35rem;  -webkit-line-clamp: 4; }
#cms-main .cms-product-inner h3{ font-size: 115%;  line-height:115%;  }
}


@media (max-width: 767px) {
.cms-item li{ display: flex; flex-direction: column;  width: calc(100%/2 - 10px); padding:0px; margin:20px 5px ; box-sizing: border-box;  overflow: hidden; list-style: none;  transition: all 0.5s ease 0s; position: relative; }   
.cms-product-inner{ padding: 10px 0px;  } 
.cms-item-inner { padding: 10px 0px;  }
#cms-main .cms-product-inner p{ font-size:0.875rem; } 
}


.cms-item li figure > * {  -webkit-transform: translate(0%); -ms-transform: translate(0%);  transform: translate(0%); -webkit-transition: 1s; -o-transition: 1s; transition: 1s; }
.cms-item li figure div {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.7);opacity: 0;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;  -webkit-box-align: center; -ms-flex-align: center; align-items: center;}
.cms-item li figure div span { height: 60px; width: 60px; border: 4px solid #fff; border-radius:99rem; display: inline-block; position: relative;}
.cms-item li figure div span:before, .cms-item li figure div span:after { position: absolute;  content: '';  width: 60%; height: 4px; left: 50%; top: 50%; background:#fff; -webkit-transition: .5s; -o-transition: .5s; transition: .5s; -webkit-transform-origin: 50% 50%; -ms-transform-origin: 50% 50%; transform-origin: 50% 50%;  -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.cms-item li figure div span:after { -webkit-transform: translate(-50%, -50%) rotate(90deg); -ms-transform: translate(-50%, -50%) rotate(90deg); transform: translate(-50%, -50%) rotate(90deg); }
.cms-item li figure:hover div { opacity: 1; }
.cms-item li figure:hover div span:before { -webkit-transform: translate(-50%, -50%) rotate(90deg);  -ms-transform: translate(-50%, -50%) rotate(90deg); transform: translate(-50%, -50%) rotate(90deg); }
.cms-item li figure:hover div span:after {  -webkit-transform: translate(-50%, -50%) rotate(180deg); -ms-transform: translate(-50%, -50%) rotate(180deg); transform: translate(-50%, -50%) rotate(180deg); }

 
  
/*cms-btn-more =================================*/ 
.cms-more {  width: auto;   height: 35px; padding: 20px 2px 20px 15px; position: relative; display: -webkit-box;  display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; cursor: pointer;  border-radius:30px;  background-image: linear-gradient(120deg, #22559e 0%, #6fcccb 55%);  }
@media (max-width:767px) {
.cms-more { width: auto; height: 24px }
}
.cms-more:hover .cms-more-circle, .cms-more:hover i { -webkit-transform: scale(1.2); transform: scale(1.2)}
.cms-more:hover .cms-more-txt, .cms-more:hover i { -webkit-transform: translateX(5px); transform: translateX(5px)}
.cms-more:hover{background:#afd9d3; }
.cms-more-circle { width: 30px; height: 30px;  position: relative; display: block; margin-left: 20px; border:2px solid #fff;  border-radius: 50%;  -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
@media (max-width:767px) {
.cms-more-circle { width: 24px; height: 24px; margin-right: 15px}
}
.cms-more i { font-size: 1.875rem; color: #fff;  position: absolute; top: 0; bottom: 0; left: auto; margin: 5px auto auto 100px;   -webkit-transition: -webkit-transform .2s;  transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
.cms-more i.icon-check { font-size: 1.35rem; margin: 10px auto auto 86px;  }
.cms-more-txt { font-size: 16px; font-weight: 400; line-height: 1.5;  color: #fff;  -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
@media (max-width:767px) {
.cms-more-txt { font-size: 14px; line-height: normal; letter-spacing: normal }
}
@media (max-width:768px) {
a.btn-view{ font-size: 0.875rem;}
}



/*----------------------------------------/
產品詳細內容區塊
----------------------------------------*/
.cms-main-product-wrapper {  display: flex;  flex-wrap: wrap;  justify-content: space-between; width: 100%; margin:15px -15px; padding: 0px; position: relative;}
.cms-top.cms-main-area{margin-top: 30px;}
.cms-top .cms-main-breads { margin-top: 0px;  }

/*----------------------------------------/
圖片輪播區塊
----------------------------------------*/
.cms-main-product-left{width:35%; margin: 0px; padding:0px 30px 0px 0px; display: flex;  flex-wrap: wrap;  order:1; background-color: transparent; border-right: 1px solid #d5d5d5; }
.cms-main-product-right{ width:65%; height: auto; padding:0px; margin:0px; display: flex; flex-wrap: wrap; justify-content: space-between; align-self: stretch;  align-content: flex-start; position: relative; order: 2;background:#000; }
.cms-main-product-full{ width:100%; height: auto; padding: 0px;  display: flex;  flex-wrap: wrap;   position: relative; order: 1; }
.cms-main-product-left .cms-social-icons{justify-content: center;align-content: center; align-items: center; font-size: 0.875rem;}
 @media (min-width: 0) and (max-width: 979px) {
.cms-slider-nav { margin-top: 10px }
}
@media (min-width: 980px) {
.cms-slider-for { width:calc(100% - 120px); order: 2; margin: 0px; padding:10px!important; display: flex; justify-content: center; align-content: center; align-items:center; flex-wrap: wrap;  }
.cms-slider-nav { width: 120px; height: 100%; margin: 0px!important; padding:0px 10px!important; overflow: visible;  display: flex;flex-wrap: wrap;  justify-content: center; align-content: center; align-items:center;  order: 1;  background:#000; }
.slider-for  { width: 100%;  margin: 0px!important; padding:0px!important; overflow: visible;  display: flex; justify-content: center; align-content: center; align-items:center;  order: 1;  background:#000; }
.slider-for li,.slider-nav li { width: 100%; display: block;margin: auto; padding: 0px; cursor: pointer; }
.slider-for li img{ display: block; width: 100%; height: auto;margin: auto; padding: 0px;}  
.slider-nav li img{display: block;padding: 10px 0px;  margin: auto;}    
.slider-nav { width: 100%;  margin: 0px!important; padding:0px!important; overflow: visible;  display: flex; justify-content: center; align-content: center; align-items:center;  order: 1;  background:#000;  }
}
 /*----------------------------------------/
產品詳細內容區塊
----------------------------------------*/
@media (max-width:1024px) {
.cms-main-product-left{ padding: 5px 0px 60px 5px;}
}
@media (max-width: 991.98px) {
.cms-main-product-left,.cms-main-product-right{width: 100%;padding:0px 60px 30px 60px;  }
.cms-main-product-left{order: 1;}
.cms-main-product-right{ order: 0; } 
 
.cms-slider-for{ width:80%; height: 100%; }
.cms-slider-nav { width:20%; align-content: flex-start; } 
      
}
@media (max-width:767.98px) {
.cms-main-product-left,.cms-main-product-right{ padding:20px 0px;  }
     .slider-for .slick-prev,.slider-for .slick-next{ bottom:0px!important; top:auto; }
    .slider-for .slick-prev{left:5%;}
 }



.cms-main-product-info{ width:100%; padding:0px; display: flex; flex-wrap: wrap; align-content: flex-start}
#cms-main .cms-main-product-info h1{ width: 100%; display: flex; justify-content: flex-start; font-weight: 700; font-size: 25px; color:#000; letter-spacing: 1px;}
#cms-main .cms-main-product-info h2{  width: 100%; margin-bottom: 30px; font-size:1.15rem; font-weight: 700; color:#776b62;  word-spacing: normal; word-break:normal; }
#cms-main .cms-main-product-info p{  width: 100%; margin: 15px 0px; font-size:0.875rem; font-weight: 400; color:#404040;  word-spacing: normal; word-break:normal; }
#cms-main .cms-main-product-info span{  }


.cms-product-description{ width: 100%; padding:5px 0px 10px 0px; border-bottom: solid 1px #eee; color:#888;  }
#cms-main .cms-product-description p {width: 100%; margin: 5px 0px; font-size:0.875rem; font-weight: 400; color:#404040;  word-spacing: normal; word-break:normal;}
#cms-main .cms-product-description span {width: 100%; margin: 5px 0px; font-size:0.85rem;  font-weight: 400; color:#888;  word-spacing: normal; word-break:normal;}
#cms-main .cms-product-description ul li span.cms-item-title{width:auto; justify-content: flex-start; padding:5px 5px 5px 0px;color:#98979d;  font-size:0.85rem;}
#cms-main .cms-product-description p strong{color:#000;}
 @media (max-width: 991.98px) {
.cms-main-product-info{padding-left:0; }    
}
@media (max-width: 767.98px) {
.cms-main-product-info{  padding:0px; border:none; }    
}
 
/*----------------------------------------/
btn區塊
----------------------------------------*/
.cms-product-group{width: 100%; margin:5px 0px; display: flex; flex-wrap: wrap; justify-content: space-between;align-content: flex-end; }
 #cms-main .cms-product-group .btn-full{ width: calc(100% - 10px); margin: auto 10px auto 0px; padding: 10px;  }
 #cms-main .cms-product-group .btn{ width: calc(100%/3 - 10px); margin: auto 10px auto 0px;}
 .cms-main-product-info button {  border-radius:0px; }

/*----------------------------------------/
social-icons
----------------------------------------*/
#cms-main .cms-main-product-info .cms-social-icons{color:#675952;  display: flex; flex-wrap: wrap; justify-content: flex-start; align-content: center; align-items: center; font-size:0.75rem;   }
#cms-main .cms-main-product-info .cms-social-icons li{ width: auto!important; margin:5px; padding-top: 8px;  }
#cms-main .cms-main-product-info .cms-social-icons li a{ opacity:1;font-size:0!important;color:#675952!important;  }

/*---------------------------------
best-wrap
----------------------------------------*/
.cms-best-wrap{  width: 100%; max-width: 1200px;   margin:0 auto; padding:20px 0px 50px 0px;  }
.cms-best-wrap .cms-main-product-item {  text-align: center;   padding:30px 15px;  margin: 10px auto; }
.cms-best-wrap .cms-main-product-item li {   margin:15px; position: relative; font-size: 100%;   transition: all 0.3s linear 0s; z-index: 1;   }
.cms-best-wrap .slick-dots li button:before{ color: #fff; }
.cms-best-wrap .slick-dots li.slick-active button:before { opacity: .75; color: #fff; }
.cms-best-wrap .slick-dots {bottom:-30px;}
.cms-best-wrap .slick-dots li{margin: 15px 2px;}
.cms-best-wrap .slick-next{right: 0px;}
.cms-best-wrap .slick-prev{left: 0px;}

/*----------------------------------------/
tab
----------------------------------------*/
#cms-tabs-product .resp-tabs-list{ width: 100%;   /*border-bottom: solid 1px #e9ebef;*/}
#cms-tabs-product .resp-tabs-list li { width: 25%; margin: 0px;  justify-content: center; border-bottom: solid 1px #ececec; background-color: #fff; }
#cms-tabs-product .resp-tab-content { padding:30px 0px;}
.resp-tab-content h4{ margin:2% 0;  font-size: 1.15rem; font-weight: 700; }
#cms-main .resp-tab-content p{ margin:1% auto; font-size: 1rem; font-weight: 400;  }
.edit{   width: 100%; max-width:960px;padding:15px 30px; margin: auto;   }
.edit h4 img{display: block; width: 100%; max-width:600px;  margin: 15px auto!important;}
.edit .description{display: block; width: 100%; max-width:680px;  margin: 15px auto!important;}
.imgEditor { width:80%; height: auto; margin: auto; display: block;} 
.cms-main-item-title{ width: 50%; margin:0px 0px 60px 0px; padding:5px 0px; background:#016f89;  -ms-flex-align: center; align-items: center; }
.cms-main-item-title h2{ margin-left: 15%; /*-webkit-transform: skewY(5deg); -ms-transform: skewY(5deg); transform: skewY(5deg);*/ font-size: 1.5rem;  font-weight: 700; color: #fff;}

@media (max-width: 991.98px) {
.cms-main-item-title{ width: 100%;}  
.resp-tabs-list li { width: calc(100%/4 ); padding: 0px;  margin: 0px auto;   }
#cms-main .resp-tabs-list li a{ padding:5px;  }
}
@media (max-width: 768px) {

#cms-tabs-product .resp-tabs-list li { padding:5px; }
}



.cms-spec-description{ padding:5px; }
#cms-main .cms-spec-description p {margin-bottom: 15px; font-size:1rem; color: #98979d;}
#cms-main .cms-spec-description ul{width: 100%; margin:0; padding: 0px; }
.cms-item-title{ color:#000;  font-size:1.188rem;}
.cms-item-title strong{color:#e60013; margin-right: 10px;}
.datatable{ width: 100%;}
.datatable tr{ width: 100%; border-bottom: solid 1px #f5f5f5;}
.datatable th{font-size: 0.9rem;  color: #000;text-align: center; }
.datatable td{font-size: .875rem; font-weight: 300; line-height: 1.125rem; color: #333;text-align: center; }


 /*aside*/
.cms-tab-bar { width: 100%;  margin:0; display: block; background-color:transparent; color: #333; position: relative; vertical-align:top;z-index: 99;}
.cms-tab-bar .cms-tab-bar-dropdown { display: block;  }
.cms-tab-bar .cms-tab-bar-dropdown a { padding:5px 0px; color: #e60044 !important;  background:#fff; text-transform: uppercase; text-align: center; font-size: 1.15rem; font-weight: 700; display: block;  }
.cms-tab-bar .cms-tab-bar-dropdown a::after { position: absolute; display: block;left: 48%;top: 30px; margin: auto; width: 16px; height: 16px; content: "\e91e"; font-family: 'icomoon'; font-size: 1rem;color: #e60044 !important; }


.cms-tab-bar ul { padding: 0px; margin: 0px;  }
.cms-tab-bar ul li { list-style-type: none; background:#fff; position: relative; }
.cms-tab-bar #cms-sidebar { display: none; width: 100%; margin: 0 auto; position: absolute; z-index: 60;  }
.cms-tab-bar #cms-sidebar li i { display: inline-block; margin-right: 5px; background: #eee; color: #888; width: 24px; height:24px; line-height: 24px; text-align: center; border-radius: 30px;  }
.cms-tab-bar #cms-sidebar li span i { margin: 0px; color: #999; background: transparent !important; border: 0px; }
.cms-tab-bar #cms-sidebar > li > a { display: block; padding:10px 20px; font-size:1rem; color:#404040;  text-decoration: none; border-bottom: 1px solid #000;  }
.cms-tab-bar #cms-sidebar > li > a { display: flex; flex-wrap: wrap; justify-content: space-between; align-content: center; align-items: center;  color:#767676;   }
.cms-tab-bar #cms-sidebar > li > a > p{ flex: 0 0 65%; display: flex; flex-wrap: wrap; justify-content: space-between; align-content: center; align-items: center; line-height:1.5;  color:#404040; }
.cms-tab-bar #cms-sidebar > li > a > span.badge{ flex: 0 0 20%; margin-right:10%; }
.cms-tab-bar #cms-sidebar > li > a.subdrop > p{color: #fff;}
.cms-tab-bar #cms-sidebar > li > a:hover > p{ color:#404040; }
.cms-tab-bar #cms-sidebar > li > a:hover, .cms-tab-bar #cms-sidebar > li > a.open, .cms-tab-bar #cms-sidebar > li > a.subdrop { color: #000;  box-shadow: none;  } 
.cms-tab-bar #cms-sidebar > li > a:hover i, .cms-tab-bar #cms-sidebar > li > a.open i, .cms-tab-bar #cms-sidebar > li > a.subdrop i { color: #e60044; border: 1px solid #b5b6ba; }
.cms-tab-bar #cms-sidebar > li > a:hover span i, .cms-tab-bar #cms-sidebar > li > a.open span i, .cms-tab-bar #cms-sidebar > li > a.subdrop span i { color: #fff; background: transparent !important; border: 0px; }
.cms-tab-bar #cms-sidebar li ul { display: none; background:#4b4948; }
.cms-tab-bar #cms-sidebar li ul li{ width: 100%; margin: 0px; display: flex; flex-wrap: wrap; justify-content: flex-start; align-self: center; align-content: center; align-items: center; padding:0px ; font-size:0.9rem; text-decoration: none; color: #404040; background:#f1f0f0;   box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1); }
.cms-tab-bar #cms-sidebar li ul li a { width: 100%; display: flex; padding: 8px 15px; background-color:transparent; text-decoration: none; color: #444;   box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1); }
.cms-tab-bar #cms-sidebar li ul li a:hover { color:#000;   }
.cms-tab-bar ul li.current:after{ position: absolute; display: block; content: ""; height: .25rem; background-color: currentColor; bottom: 0; left: 0; right: 0;}
.cms-tab-bar #cms-sidebar > li.current > a > p{ color: #333;  } 
.cms-tab-bar #cms-sidebar > li.has_title a{  display: block; margin: 0px; padding:10px 20px; font-size:1.35rem; color: #000; }
.cms-tab-bar #cms-sidebar > li.has_title span{ display: block; color: #777; font-size:0.875rem; }
@media(min-width:1002px) {
#cms-main-menu-top.cms-tab-bar { -webkit-box-flex: 0; -ms-flex: 0 0 240px; flex: 0 0 240px; max-width: 240px;  padding-right: 10px; flex-wrap:wrap;   }
.cms-tab-bar .cms-tab-bar-dropdown{display: none;	}	
.cms-tab-bar #cms-sidebar { display: block; margin:0 auto;  color: #222; height: 100%;   }
.cms-tab-bar ul li {   background:none;  }
.cms-tab-bar #cms-sidebar > li > a > p{   color: #000; }
 .cms-tab-bar #cms-sidebar > li.has_title { border-bottom: solid 1px #d8d8d8;}
.cms-tab-bar #cms-sidebar > li.has_title a:hover { background: none; }
}
@media(min-width:1100px) {
#cms-main-menu-top.cms-tab-bar { -webkit-box-flex: 0; -ms-flex: 0 0 300px; flex: 0 0 300px; max-width: 300px;  padding-right: 10px; flex-wrap:wrap; background-color: transparent;   }
}
.has_sub a.subdrop:before { content: "";  position: absolute; right:35px; top:10px; }
.has_sub:before { content: "＋";  position: absolute; right:35px; top:10px;}
.has_sub:before { content: "";  position: absolute; right:10px; top:12px; width: 16px; height: 16px;  background: url("../images/icon/arrow-down.svg") no-repeat right top;}

















