﻿ .cms-main-content{background: #fff; overflow: hidden;}
/**----------------
 about 
--------------------*/
 /*about us----*/
.cms-main-wrap{ width: 100%; max-width: 1200px; margin: auto; height: auto;  display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; position: relative;z-index: 1;}
.cms-main-facility { width: 100%; padding:100px 0px 50px 0px;position: relative; display: flex; flex-wrap: wrap; margin: 0 auto;background: url("../images/hr/hr-bg-1.jpg") no-repeat left bottom; background-size:100%  auto;}
.cms-main-facility-item { width: 55%; display: flex; flex-wrap: wrap;  padding:30px 60px; position: relative; background-image: linear-gradient(to bottom, #fff 0%, #ffedf3 100%); }
.cms-main-txt{width: 100%;  margin:1% 0; position: relative;z-index: 3; }
#cms-main .cms-main-facility  p { width: 100%; padding: 5px; margin-bottom: 20px; font-size:1.125rem;font-weight: 400;color: #000; }
.cms-main-facility-item  .cms-title-3{ position: relative; z-index: 3;}
.cms-box{padding:30px; background:rgba(255, 255, 255, 0.7);;  box-shadow: 0 55px 30px -30px rgba(125, 125, 125, 0.7);}
 
.cms-box-wrap {  width: 80%;margin: auto;  padding: 5%;}
.cms-box-wrap h3{ margin: 20px auto 40px auto;text-align: center; }

 @media (max-width:1024px) {
.cms-main-facility {  padding:100px 0 0px 0px; margin:0; position: relative; display: flex; flex-wrap: wrap;  }
.cms-main-card figure:after{ width:60px; height:60px;bottom:80px; left:80%; right: auto; position:absolute;z-index:0; background: #e0e0e0; }
.cms-main-facility-item .cms-title-h3 { margin:0 0 2% -10%; }
.cms-main-facility-item .cms-title-h3:before{right: -10%; }
.cms-main-txt{ padding-left: 10%;}
}
 @media (max-width: 768px) {
.cms-title-style {font-size: 1.75rem;}   
.cms-box-wrap {  width: 90%;margin: auto; padding: 5% 0px; }
.cms-main-facility { margin-top:30px; padding:0px 15px;   }
.cms-main-facility-item { width: 100%; padding-top: 30px;}
.cms-title-h3 { margin:0 0 2% 0;padding-left:50px;}
.cms-title-h3:before{ left:10%; right: auto; width: 3px; height: 100px; -webkit-transform: skew(0deg); -ms-transform: skew(0deg); transform: skew(0deg); }    
.cms-main-txt{ padding-left: 0px; padding-top: 0px;}  
 } 
 
 @media (max-width: 767.98px) {
 #cms-main .cms-main-facility  p {  font-size:100%;  }
 
 }
 

/*-------------------*/
/***** product  *****/
/*------------------*/
.cms-main-product { width: 100%; padding:100px 15px;  margin:0 auto; position: relative; z-index: 0;;background: url("../images/hr/hr-bg-2.jpg") no-repeat left top; background-size: 100% auto; }
.cms-main-product:after{content: "";  width: 100% ;  height: 100%; right: -5%; top:0px; position: absolute;  z-index: 0;background: url("../images/index/bg-line.svg") no-repeat right top; background-size: 50% auto;  }
@media (min-width: 992px) and (max-width: 1199.98px) {
.cms-main-product {  padding:100px 15px 50px 15px; }
}
@media (max-width: 1199.98px) {
.cms-main-product {  padding:100px 15px 50px 15px; }
}
@media (max-width: 768px) {
    
.cms-main-product {  padding:15px; }
 }

/*----------------------------------------/
產品總覽頁Product
----------------------------------------*/
.cms-product-cate { width:100%; max-width: 1200px; margin:0px auto;  padding:0px 0px 30px 0px; position:relative; z-index: 1; display: flex; flex-wrap: wrap;  justify-content: center;  }
.cms-product-cate li{ width: calc(100%/2 - 100px);  margin:auto 50px; padding:0px; display: flex; flex-wrap: wrap;   position: relative; z-index: 1;   transition: all 0.3s linear 0s;  }
.cms-product-cate li:nth-child(2n+2){  margin-top: 200px; }
 
/* Common style */
.cms-product-cate li figure { position: relative; float: left;   margin: 10px 0px;width: 100%;   height:auto;text-align: center; cursor: pointer;	}
.cms-product-cate li figure img { position: relative; display: block; min-height: 100%; max-width: 100%; opacity:1;}
.cms-product-cate li figure figcaption { padding: 2em 0px; color: #000; text-transform: uppercase; font-size: 1.25rem;  text-align: left; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
 .cms-product-cate li figure figcaption,.cms-product-cate li figure figcaption > a { position: absolute; top: -120px; left: 0; width:100%; height: 100%;}
 /* Anchor will cover the whole item by default For some effects it will show as a button*/
.cms-product-cate li figure figcaption > a { z-index: 1000; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0;}
.cms-product-cate li figure h2 {word-spacing: -0.15em;  font-size: 100%;  font-weight: 400;}
.cms-product-cate li figure strong {color:#016f89;   font-weight: 700;}
.cms-product-cate li figure h2,.cms-product-cate li figure p {margin: 0; font-size:90%; color:#4c4a49;  }
.cms-product-cate li figure p { font-weight: 400;}
/*---------------*/
/***** Bubba *****/
/*---------------*/
figure.effect-bubba { background: #000;}
figure.effect-bubba img {opacity: 0.7; -webkit-transition: opacity 0.35s; transition: opacity 0.35s;}
 figure.effect-bubba:before{content: ""; display: block; width:100px; height:200px;top:-5%; left:-3%;  position:absolute;z-index:0; background:#e6e6e6; }
figure.effect-bubba:after{content: ""; display: block; width:50px; height:50px;bottom:-10px; left:93%; right: auto; position:absolute;z-index:0; background:#016f89;   } 
figure.effect-bubba img{  width: 100%; max-width: 100%; transition: all 0.3s; position: relative; z-index: 1; }

 @media (max-width: 768px) {
  .cms-product-cate li{ width: calc(100%/2 - 50px);  margin:auto 25px; padding:0px; display: flex; flex-wrap: wrap;   position: relative; z-index: 1;   transition: all 0.3s linear 0s;  }
 figure.effect-bubba:before{  width:50px; height:100px; }
figure.effect-bubba:after{  width:30px; height:30px;  } 
.cms-product-cate li figure h2,.cms-product-cate li figure p { font-size:80%;  }

}
 
 @media (max-width: 767.98px) {
.cms-product-cate li{ width: calc(100% - 30px);  margin:50px 15px;   }
.cms-product-cate li:nth-child(2n+2){  margin-top: 50px; }
 
}






 