﻿.cms-main-content {padding: 0px; background: url("../images/about/about-bg.jpg") repeat-y left top; background-size:100% auto;   }
.cms-main-banner-img:before { background-size:900% auto; background: url("../images/index/mask-2.svg")  no-repeat left top; mix-blend-mode:soft-light; }
.bg-gray{ background-image: linear-gradient(to top, #e6e9f0 0%, #f5f7f7 100%);}
    
.cms-main-product{ margin-top:-400px; }
@media (max-width: 1024px) {
.cms-main-product{  margin-top:-240px;}   
}
@media (max-width: 991.98px) {
.cms-main-product{  margin-top:-240px;}   
}
@media (max-width: 767.98px) {
.cms-main-product{  margin-top:-112px;}
}   
   
#cms-main .cms-main-breads .breadcrumb li{   color: #000;  }
#cms-main .cms-main-breads .breadcrumb li a{ color: #000; }
.breadcrumb-item::before { color: #000 !important;}

/* cms-product-cate -----------------*/
.cms-product-cate { width:100%;   margin: 5% auto;  position: relative;  }
.cms-product-cate li{margin: 15px auto; padding:30px 0px; display: flex; flex-wrap: wrap; flex-direction: row; justify-content: flex-start; align-items: center;}
.cms-product-cate li figure{ width: 55%; position: relative;    }
.cms-product-cate li figure img{ width:100%;  max-width:100%; display: block; margin: auto; }

.cms-product-cate li .cms-product-cate-inner { width: 50%;  position: relative;  margin-left:-5%;   padding: 50px 40px;  background: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.15); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box;}
.cms-product-cate .cms-product-cate-num { font-size: 60px; color:#d4d4d4;  font-style: italic; line-height: 1; letter-spacing: 2px; position: absolute; top: -35px; right: 40px;}
.cms-product-cate h3{ font-size:2.15rem; font-weight:700!important; color:#4d7676;}
.cms-product-cate h3 { width:100%;  display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-justify-content:center;  -ms-flex-pack: center; justify-content: center;  -webkit-align-items: center;  -ms-flex-align: center;  align-items: center;  }
.cms-product-cate h3::before,.cms-product-cate h3::after{  content: ''; width: 50px;  height: 4px; background:#4d7676;  }
.cms-product-cate h3::before { margin-right: 30px}
.cms-product-cate h3::after { margin-left: 30px}
#cms-main .cms-product-cate p{ margin-top:50px; font-size: 1.15rem; line-height: 2; text-align: justify;   overflow: hidden; text-overflow: ellipsis; text-overflow: initial; display: -webkit-box; -webkit-line-clamp: 3;  -webkit-box-orient: vertical;}
.cms-product-cate li:nth-child(even){ flex-direction: row-reverse; }
.cms-product-cate li:nth-child(even) .cms-product-cate-inner { margin-right:-5%; }
 @media (max-width: 991.98px) {
.cms-product-cate li{ justify-content:center; margin:20px auto;  }
.cms-product-cate li figure{ width: 100%; height: auto;  }
.cms-product-cate li .cms-product-cate-inner { width: 100%; margin-left:auto; padding: 50px 40px 55px; }
.cms-product-cate li:nth-child(even){  flex-direction: row; }
.cms-product-cate li:nth-child(even) .cms-product-cate-inner { margin-right:auto; }
 }
 @media (max-width: 767.98px) {
.cms-product-cate li .cms-product-cate-inner {   padding: 50px 30px; }
.cms-product-cate h3 { font-size: 1.5rem;  } 
.cms-product-cate h3::before,.cms-product-cate h3::after{   width: 30px;  height: 1px; background:#4d7676;  }
 }


/*----------------------------------------/
產品清單頁  cms-main-product-item  
----------------------------------------*/
.cms-main-product-item { width:100%;   margin: 5% auto;  display: flex; flex-wrap: wrap; flex-direction: row; justify-content: flex-start; align-items: flex-start; list-style: none; }
.cms-main-product-item li{ width: calc(100%/3 - 40px); margin:40px 20px; padding:10px;  position: relative; transition: all 0.5s ease 0s; }
.cms-main-product-item li a{ display: flex;flex-wrap: wrap; justify-content: center; align-items: flex-start; flex-direction: column;     } 
.cms-main-product-item li a figure{padding-bottom: 20px; display: block;  justify-content: center;  }
.cms-main-product-item li a img{ width:100%; height: auto;  margin: auto; overflow: hidden;  transition: all 0.5s ease 0s; }
.cms-main-product-item li:hover{transform: scale(0.95); }
.cms-main-product-item li a h3{ margin: 0 auto 10px auto; font-size:1.25rem; font-weight: 700;  text-align: center;  color:#000; overflow: hidden; word-break:break-all; word-wrap:break-word;text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical; }
#cms-main .cms-main-product-item li a p{ margin: 0 auto 10px auto; font-size:0.875rem; color:#232323;line-height: 1.5;  overflow: hidden; word-break:break-all; word-wrap:break-word;text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp:3;  -webkit-box-orient: vertical; }
.cms-main-product-item li a p span{border: solid 1px #434997;}
.cms-main-product-item li a span.cms-main-product-price{ display: flex; justify-content: center; margin:0px auto;font-size:1rem; color:#4d7676;  font-weight: 700; }
.cms-main-product-item li a span.cms-main-product-price-origin{ display: flex; justify-content: center; margin:0px auto;font-size:.85rem; color:#717171;  font-weight: 700;text-decoration: line-through; }
 .cms-main-product-note { position: absolute; top:-50px; left: 0; width:138px; height: 100px;   font-size: 0.875rem; text-align: left; line-height: 1.5em; text-shadow:none; z-index: 11; }
.cms-main-product-note.cms-main-product-note-sale {  color: #cc3333; padding:15px 0px 0px 50px; background: url("../images/icon/note.png") no-repeat left 10px;  background-size:46px 33px;}
.cms-main-product-note.cms-main-product-note-stock { color: #ff9900; padding:15px 0px 0px 50px; background: url("../images/icon/note-1.png") no-repeat left 10px;  background-size:46px 33px;}
 @media (max-width: 991.98px) {
.cms-main-product-item  li{  width: calc(100%/3 - 30px);  margin:40px 10px; padding:10px 5px; } 
}
@media (max-width: 575.98px) {
.cms-main-product-item li{  width: calc(100%/2 - 20px);  margin:40px 5px; padding:10px 0px; }
.cms-main-product-item li a figure img{ height: auto!important;   }
}
 /*----------------------------------------/
圖片輪播區塊
----------------------------------------*/
ul.cms-slider-for{ width: 100%;  height: auto; margin: 0px auto;  }
ul.cms-slider-nav{ width: 100%;  height: auto; margin: 30px auto;  }
ul.cms-slider-nav li{  opacity: .5; }
 ul.cms-slider-for li img{ width:80%; margin:15px auto; display: block; }
#cms-main ul.cms-slider-nav .slick-dots {bottom:-20px;}
.cms-slider-for .slick-prev {left:0!important;z-index:1}
.cms-slider-for .slick-next {right:0!important;}

 
/*----------------------------------------/
產品詳細內容區塊
----------------------------------------*/
.cms-main-product-wrapper {  display: flex;  flex-wrap: wrap; width:100%; max-width: 1140px; margin: auto; padding:30px 0px; }
.cms-main-product-left-image{padding-top:3rem; display: block; margin: auto;  }
.cms-main-product-left,.cms-main-product-right{width: 100%; margin: auto;}
.cms-main-product-info{ width:100%; padding-left:2rem;   }
.cms-main-product-info h1{  margin:0;  padding:0px 0px 0px 45px;width: 100%; display: flex; justify-content: flex-start; font-size:2rem; font-weight: 400; color:#4d7675; position: relative; word-spacing: normal; word-break:normal; }
.cms-main-product-info h1:before { content:""; background:#4d7675;    width:38px; height:4px; position: absolute; z-index:0; left:0px;  top:20px;  }
 .cms-product-description{ padding:25px 0px; }
#cms-main .cms-product-description p {margin-bottom: 30px; font-size:1rem;  line-height: 1.5em; font-weight:400;  }
#cms-main .cms-product-description p strong{color:#483e39;}
.cms-product-group {display: flex;  flex-wrap: wrap; width:100%; }
.cms-product-group .cms-btn-group .btn{width:100%;}
.cms-product-tab{padding: 30px 0px;}
@media (min-width: 1200px) {
.cms-main-product-left{width: 40%; margin-right: 5%;}
.cms-main-product-right{width: 50%;  }
.cms-product-group .cms-btn-group{ width: 30.333%;}
}
@media (max-width: 1024px) { 
.cms-main-product-left{width: 55%;}
.cms-main-product-right{width: 45%; }
    
}
@media (max-width: 991.98px) {
.cms-main-product-left{width: 100%;}
.cms-main-product-right{width: 100%;   }
.cms-product-group .cms-btn-group{ width: 30.333%;}
 }

@media (max-width: 767.98px) {
.cms-main-product-info{  padding:0px 15px;  }    
}
 
/*----------------------------------------/
產品規格
----------------------------------------*/
.cms-product-form-item{ }
.cms-product-form-item label{font-size:.95rem;font-weight:700!important; color:#212529;   }
.cms-option-radio { border: 0;  padding: 0;  margin: 0;  position: relative;}
.cms-option-radio input[type="radio"]+label{ border: solid 1px #677788;}
.cms-option-radio input[type="radio"]+label:before{ display: none;}
.cms-option-radio input[type=radio]:checked+label {  color:#fff!important;  border-color: #30315f; background: #30315f;}
.cms-option-radio label { position: relative;min-width: 40px;  height: 36px;display: inline-block; padding: 0 10px; margin: 3px 8px 7px 0; line-height:36px; background-color: rgba(113,134,157,.1);  color: #30315f;  background-position: center;  background-size: cover;   text-align: center; vertical-align: middle;}
.product-variation { cursor: pointer;font-size: 0.85rem; display: inline-block;  min-width: 5rem;  -moz-box-sizing: border-box; box-sizing: border-box; padding: 0 .75rem; height: 2.125rem; line-height: 1;  margin: 0 8px 8px 0; color: rgba(0,0,0,.8); text-align: center; white-space: nowrap;  border-radius: 2px;  border: 1px solid rgba(0,0,0,.09); position: relative;  background: #fff; outline: 0;}
.product-variation:hover{ border: 1px solid #990808; color: #990808;}
/*----------------------------------------/
數量選擇
----------------------------------------*/
.cms-amount-pane{}  
.cms-amount { height: 36px; width:100%; margin:8px 0; display: flex;  flex-direction: row; justify-content: space-between; align-content: center; border:solid 1px #232323;  }
.cms-amount-button { display: flex;  width:40px;  height: 34px;font-size:1.125rem; font-weight:700;  padding: 0;}
.plus {display: flex;  flex-wrap: wrap; justify-content: center; align-content: center; color:#fff;   background:#232323;  }
.minus {display: flex;  flex-wrap: wrap; justify-content: center; align-content: center; color:#fff;  background:#232323;}
.plus:hover,.minus:hover { color: #ffffff; background:#94000b; cursor: pointer; transition: all .3s ease-in-out;}
.cms-amount p { display: flex; flex-wrap: wrap; justify-content: center;  align-content: center; height:34px;  font-size:1.125rem; font-weight:400;  }
.cms-surplus {  padding-left: 10px; font-size:0.875rem;  text-align: center;  color:#c74060; }
#cms-main a.spec-node { display: inline-block; padding: 4px; margin-right: 5px;  margin-bottom: 5px; min-width: 4rem; border: 1px solid #232323;background-color: rgba(113,134,157,.1); color: #232323;text-align: center;}
#cms-main a.spec-node.active {color:#fff; border-color: #93000d; background-color:#93000d;}
#cms-main a.spec-node.disable { border-color: lightgray; color: lightgray;}
#cms-main a.spec-node:hover { text-decoration: none;}
#cms-main .amount-pane { border: 1px solid #999; display: inline-flex; flex-direction: row;  flex-wrap: nowrap; width: 156px; height: 40px; font-size: 16px; border-radius: 5px;}
#cms-main .amount-less { width: 36px; border: 0;  border-right: 1px solid #999; line-height: 36px; display: block; text-align: center;  background: none; cursor: pointer; outline: 0;}
#cms-main .amount-more { width: 36px; border: 0; border-left: 1px solid #999; line-height: 36px;  display: block; text-align: center; background: none; cursor: pointer; outline: 0;}
#cms-main .amount-pane > input[type="text"] { display: block; width: calc(100% - 72px); text-align: center; background: none;  border-width: 0; font-size: 16px;  height: 38px; line-height: 38px; outline: 0;}
#cms-main .amount-pane > input:disabled { color: lightgrey;}
  /*----------------------------------------/
social-icons
----------------------------------------*/
.cms-main-product-info ul .cms-social-icons{ width: 100%;  margin:10px; display: flex;  flex-wrap: wrap; flex-direction: row;  font-size:0.875rem;   }
.cms-main-product-info ul .cms-social-icons li{ width: auto!important; margin:5px;  }
.cms-main-product-info ul .cms-social-icons li a{ opacity:1;font-size:0!important;  }
#cms-tabs-product .resp-tab-content { padding: 30px 50px; background: #fff;    -webkit-box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.05);  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.05); }
/*----------------------------------------/
數量選擇
----------------------------------------*/
.resp-tab-content h4{ margin:2% 0;  font-size: 1.15rem; font-weight: 700; }
#cms-main .resp-tab-content p{ margin:1% 0; font-size: 1rem; font-weight: 700;  }
#cms-tabs-product .resp-tabs-container{ padding-bottom:40px; }


/* description =======================================================================	*/
#cms-main .cms-main-product-edit{  max-width:100%; display: flex; flex-wrap: wrap;   padding:20px; margin:30px auto;  letter-spacing: .5px;   }
#cms-main .cms-main-product-edit h2{width: 100%; margin:35px auto 15px auto; font-size: 2.5rem;  line-height: 3rem; }
#cms-main .cms-main-product-edit h3{width: 100%;margin:35px 0 !important;font-size: 1.5rem;  line-height: 2.5rem;  }

#cms-main .cms-main-product-edit p{margin:0!important; display: block; font-size: 1.15rem;  line-height: 2rem; text-align:left!important;  }
@media (max-width: 767.98px) {
#cms-main .cms-main-product-edit{ max-width:100%; padding: 20px 0px; }     
#cms-main .cms-main-product-edit p{ max-width: 100%; font-size:0.8rem; }
#cms-tabs-product .cms-heading{margin: 20px auto 20px 0px;}
    
}

.cms-block { margin:0 auto;  padding:10vh  15px; display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; }
.cms-block-box {width: 80%;   margin:5% 0 ; padding:30px;  display: flex; flex-wrap: wrap; flex-direction: row;    /*box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175)*/}
.cms-block-box .blockquote:before {position: absolute; content:"" ; width:50px; height: 50px; top:0px; left:0px;   background: url("../images/index/dot.jpg") no-repeat  0 0; }
.cms-block-box .blockquote-footer{ font-size: 100%; color: #4d7675; font-weight: 700; }
.cms-main-descnoh{ position: relative; width: 100%; display: flex; flex-wrap: wrap;  padding:5rem 0px 0px 0px; background: url("../images/index/bg-c2.jpg") no-repeat -30vw 0; background-size: 50% auto; }
.cms-main-card { width: 100%; margin: 55px auto; padding: 100px 0px; display: flex; flex-wrap: wrap;   }
.cms-main-card ul { width: 100%; display: flex; flex-wrap: wrap; flex-direction: row;  }
.cms-main-card li {  width: 100%; margin:5% 0; padding:10px;  display: flex; flex-wrap: wrap; flex-direction: row;  align-items: flex-start; align-content: flex-start; border-bottom: dashed 1px #7aa09f; }
.cms-main-card-item{width: 100px; height: 100px;  border-radius: 50%;display: flex; flex-wrap: wrap; justify-content: center; align-content: center; flex-direction: column; background-color:#4d7676; }
.cms-main-card-item img{  max-width: 60px; max-height:60px;  display: -webkit-box; display: -ms-flexbox;  display: flex; -webkit-box-align: center;  -ms-flex-align: center; align-items: center;  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;}
.cms-main-card li figure { display: flex; align-items: center; justify-content: center;  margin:auto;position: relative; }
.cms-main-card-inner{width:60%; padding-left: 30px;} 
.cms-main-card-inner h3{color:#4d7676; font-weight: 700!important; }



/*==========nav.stick==========*/
div.stick { background: none; border-bottom: none; display: flex; flex-wrap: wrap; flex-direction: column; align-items: flex-start;  justify-content: flex-start;}
div.stick ul { background-color:#1267b2;   width: auto; display: flex;  flex-direction: column; }
div.stick ul span {  display: none;}
div.stick ul li {  color: #c8c8c8; display: flex; flex-direction: column; align-items: flex-start;  justify-content: flex-start; }
div.stick ul li.current { color: #fff;}
div.stick ul li:after {  content: '';  min-width: 20px;  height: 1px;  margin: 0 25px;  background-color: rgba(255, 255, 255, 0.3); display: block;}
div.stick ul li:last-child:after {  display: none;}
div.stick ul li.current a { background-color: #0d589a;}
div.stick ul li a { font-size: 1rem; font-weight: 400;  width: 100%; color: #fff; height: 100%; letter-spacing: 0.05rem; padding: 0 20px; position: relative; display: flex;}
div.stick ul li a:hover { background-color: rgba(255, 255, 255, 0.3);}
div.stick ul li a.now-stay:before {  content: " "; height: 0;  width: 0; margin-left: -10px; position: absolute; top: 100%; left: 50%; z-index: 6; border: solid transparent; border-top-color: #1267b2; border-width: 10px;}
.stick i.icon-plus { width: 12px; height: 12px; margin-left: 5px; transform: translateX(-10px); background:  url(../images/icon/arrow-down.svg) no-repeat; background-size: 12px auto;}
@media (max-width:768px) {
div.stick ul li:after { display: none;  }
div.stick { position: relative; }
div.stick ul {width: 100%; height: auto; min-height: 50px; position: absolute; left: 0; top: 0; z-index: 5; flex-direction: column;}
div.stick ul li { width: 100%; text-align: center; border-top: solid 1px #ccc; }
div.stick ul li a { height: 50px; justify-content: center;  }
div.stick ul span { height: 50px; color: #fff; display: flex; align-items: center; }
}
div.stick.navfix {  position: fixed;  top:120px;  right: -10px; z-index: 9999;  }
div.stick.navfix ul{background:#93b706; border-radius:10px;   }
@media (max-width:767px) {
  div.stick.navfix {  top: 60px; }
}

 .service-f1 {width: 100px; height: 100px; border: solid 3px #4d7676; border-radius:50%; display: block; margin:20px 0;background: url("../images/index/f1.svg") no-repeat center top;}
 .service-f2 {width: 100px; height: 100px; border: solid 3px #4d7676; border-radius:50%; display: block; margin:20px 0;background: url("../images/index/f2.svg") no-repeat center top;}
 .service-f3 {width: 100px; height: 100px; border: solid 3px #4d7676; border-radius:50%; display: block; margin:20px 0;background: url("../images/index/f3.svg") no-repeat center top;}
 .service-f4 {width: 100px; height: 100px; border: solid 3px #4d7676; border-radius:50%; display: block; margin:20px 0;background: url("../images/index/f4.svg") no-repeat center top;}
 .service-f5 {width: 100px; height: 100px; border: solid 3px #4d7676; border-radius:50%; display: block; margin:20px 0;background: url("../images/index/f5.svg") no-repeat center top;}
 .service-f6 {width: 100px; height: 100px; border: solid 3px #4d7676; border-radius:50%; display: block; margin:20px 0;background: url("../images/index/f6.svg") no-repeat center top;}
.timeline {width: 100%; padding: 50px 0; margin: 50px auto; position: relative; overflow: hidden;}
.timeline:before { content: ''; position: absolute; top: 0; left: 50%; margin-left: -1px; width: 2px; height: 100%;  background: #CC0103; z-index: 1}
.timeline-block { width: -webkit-calc(50% + 8px); width: -moz-calc(50% + 8px); width: calc(50% + 8px); display: -webkit-box; display: -webkit-flex; display: -moz-box;  display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -moz-box-pack: justify;justify-content: space-between;clear: both;}
.timeline-block-right { float: right;}
.timeline-block-left { float: left;  direction: rtl;}
.timeline-block-left h3{text-align: right;}
.marker { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cc0000; background: #cc0000; margin-top: 10px; z-index:1}
.timeline-content {  width: 90%; g: 0 15px;  color: #666}
.timeline-content h3 {  margin-top: 5px;  margin-bottom: 5px; font-size: 25px; font-weight: 700;color: #4d7676;}
.timeline-content span {font-size: 15px; color: #a4a4a4;}
@media screen and (max-width: 768px) {
 	
.timeline:before { left: 8px; width: 2px; }
.timeline-block { width: 100%;margin-bottom: 30px;  }
.timeline-block-right { float: none;}
.timeline-block-left { float: none;direction: ltr; }
.timeline-block-left h3{text-align: left;}
}

