/* CSS Document */
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-kerning: auto; }
/** font-family:=================================*/
.color-white{color: #fff!important;  }
.cms-wrapper { position: relative; display: block; margin:0px auto; padding: 0px 20px; width: 100%;  max-width: calc((100% - 40px)/12*12 + 40px); }
@media (min-width:1025px) {
.cms-wrapper { padding-right: 40px; padding-left: 40px;   }
}
@media (min-width: 1201px) and (max-width: 1400px) {
.cms-wrapper { padding-right: 20px; padding-left: 20px; max-width: 100%;}
}
@media (min-width: 1401px) {
.cms-wrapper { padding-right: 80px; padding-left: 80px; max-width: 1440px; }
}
.cms-main-banner{width: 100%; max-width: 100%;height: auto; margin: 0px auto; padding:0px;  position: relative; }
.cms-main-banner .slick-dots{ bottom: 20px}
.cms-main-banner .slide {  min-height:66vh;position: relative;}
@media (max-width:1280px) {
.cms-main-banner .slide { width: 100%;  min-height: 66vh; display: block; position: relative;}
}
@media (min-width: 1600px) {
.cms-main-banner .slide { width: 100%;  min-height: 74vh; display: block; position: relative;}
}
.cms-main-banner .slide .slide-img { width: 100%; height: auto;  overflow: hidden;}
@media (min-width: 992px) {
.cms-main-banner .slide .slide-img { position: absolute; top: 5%; left: 0; transform: translateY(-5%); }
}
.cms-main-banner .slide .slide-img img { width: 100%; height: auto;  opacity: 1 !important;  -webkit-animation-duration: 3s; animation-duration: 3s; transition: all 1s ease;}
.cms-main-banner .slide .slide-content { width: 55%; position: absolute;top:38%;  left: 10%; transform: translate(-10%, -38%);}
.cms-main-banner .slide .slide-content-headings { text-align: center; color: #000; text-shadow: 0px 1px 2px rgba(0,0,0,.2);}
.cms-main-banner .slide .slide-content-headings strong{color: #cf0004;}
.cms-main-banner .slide .slide-content-headings h2 { font-size: 2.15rem; font-weight:700; line-height:2.75rem; letter-spacing: -0.2px;  margin: 10px 0; text-align: left;  font-family:'Poppins',sans-serif; }
.cms-main-banner .slide .slide-content-headings h3 { font-size: 1.5rem; font-weight:600; line-height:2rem; letter-spacing: -0.2px;  margin: 10px 0; text-align: left;  font-family:'Poppins',sans-serif; }
@media (min-width: 1400px) {
.cms-main-banner .slide .slide-content { max-width: 680px; top:42%;  left:25%; transform: translate(-25%, -42%);}
.cms-main-banner .slide .slide-content-headings { transform: scale(1.2)}
}
@media (min-width: 1900px) {
.cms-main-banner .slide .slide-content {  top:45%;  left:25%; transform: translate(-25%, -45%);}
.cms-main-banner .slide .slide-content-headings { transform: scale(1.3)}
}
@media (max-width:840px) {
.cms-main-banner .slide .slide-content { width: 90%;  top:75%;  left:30%; transform: translate(-30%, -75%);}
.cms-main-banner .slide .slide-content-headings h2 { font-size: 3rem;   line-height:3.75rem; margin-bottom: 20px; }
.cms-main-banner .slide .slide-content-headings h3 { font-size: 2rem;  line-height:2.5rem;   }
}
@media (max-width:767.98px) {
.cms-main-banner .slide .slide-content {   top:65%;  left:30%; transform: translate(-30%, -65%);}
.cms-main-banner .slide .slide-content-headings h2 { font-size: 1.75rem;   line-height:2.35rem; margin-bottom: 10px; }
.cms-main-banner .slide .slide-content-headings h3 { font-size: 1.15rem;  line-height:1.5rem;   }
}
 .cms-main-banner .slide .slide-content-headings .animated { transition: all 0.5s ease;}
 .cms-main-banner .slider [data-animation-in] {opacity: 0;  -webkit-animation-duration: 1.5s; animation-duration: 1.5s; transition: opacity 0.5s ease 0.3s;}
 /* /////////// IMAGE ZOOM /////////// */
@-webkit-keyframes zoomInImage {
  from { transform: scale3d(1, 1, 1); }
  to { transform: scale3d(1.1, 1.1, 1.1); }
}
@keyframes zoomInImage {
  from { transform: scale3d(1, 1, 1); }
  to { transform: scale3d(1.1, 1.1, 1.1); }
}
.zoomInImage { -webkit-animation-name: zoomInImage; animation-name: zoomInImage;}
@-webkit-keyframes zoomOutImage {
  from { transform: scale3d(1.1, 1.1, 1.1); }
  to {transform: scale3d(1, 1, 1); }
}
@keyframes zoomOutImage {
  from { transform: scale3d(1.1, 1.1, 1.1); }
  to { transform: scale3d(1, 1, 1); }
}
.zoomOutImage { -webkit-animation-name: zoomOutImage; animation-name: zoomOutImage;}

.cms-main-wrap{ width: 100%; padding:0px; margin:0px auto; height: auto;  display: flex; flex-wrap: wrap;  }
.cms-main-about{ position: relative; margin:0px auto; padding:80px 50px 80px 0px; display: flex; flex-wrap: wrap;justify-content: flex-end; background: url("../images/index/bg-about-2.jpg") no-repeat left bottom #383d4a; background-size:auto 100% ;  }
.cms-block {width:55%; height: auto;margin: 0; padding:15px 20px;  display: flex; flex-wrap: wrap; align-items: center; position: relative;z-index: 1 }
.cms-main-about .animated {  -webkit-animation-duration: 1.5s; animation-duration: 1.5s; transition: opacity 0.5s ease 0.3s;}

.cms-block-title{width:auto; margin:0; padding: 0px; display: flex; flex-wrap: wrap; position: relative; z-index: 1;}
.cms-block-txt{width:100%; margin:0; padding: 0px; display: flex; flex-wrap: wrap;align-content: center; position: relative; z-index: 1;}
.cms-block p { width: 100%; font-size:1rem;  line-height:1.5rem; font-weight: 400;  padding:5px; margin-bottom: 20px;  color:#fff; }
.cms-block p strong{  display: block;  width: 100%; font-size: 1.313rem; line-height: 2rem; letter-spacing: 1.2px; font-weight:400;  padding:5px; margin-bottom: 10px; color: #fff; }
.cms-block-txt a { font-weight: 600; color: #cf0004;}
.cms-block-txt a:hover { color: #000;}
@media (max-width: 1024px) {
.cms-block {width:70%; }   
}

@media (max-width: 990px) {
.cms-block {width: 80%; margin: 0px auto; padding:0px 25px; }
}
@media (max-width:767.98px) {
.cms-main-about{ padding:40px 0px;background-size: 100% auto; background-position:0px top;}
.cms-block {width: 100%; margin: 0px auto; padding:0px 25px; }
.cms-block-txt{   margin-top:200px;}   
}

.icon-list{width: 100%; margin:0px auto; padding:50px 0px; display: flex; flex-wrap: wrap;}
.icon-list li{width:calc(100%/3); margin:0px; display:flex; flex-wrap: wrap;  align-content: flex-start; transition: all 0s ease 0s;position: relative; } 
.icon-list li figure { width:84px; height: 84px; display:flex; flex-wrap: wrap; justify-content: center;  margin: 0px;padding: 0px;   }
.icon-list li figure img{width: 100%; max-width: 100%; margin:0px auto; padding:0px 10px;}
.icon-list li figcaption{width:calc(100% - 84px); margin:0px; padding:0px 0px 0px 10px; }
.icon-list li h3 { width: 100%; font-size:2.75rem; line-height: 2.75rem; font-weight:600;  color:#fff;overflow: hidden; word-break: normal; word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; position: relative; }  
.icon-list li h3 span{font-size:1.5rem; position: absolute; top:-10px;}
.icon-list li p {  width: 100%; font-size: 1rem; line-height: 1.15rem; font-weight:700; color:#fff;overflow: hidden;  word-break: keep-all;  word-wrap: normal; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; position: relative; }  
@media (max-width:767.98px) {
.icon-list li{width:100%; margin:0px; display:flex; flex-wrap: wrap;  align-content: flex-start; transition: all 0s ease 0s;position: relative; } 
}
/*----------*/
/***** product  *****/
/*---------*/
.cms-produt-wrap{width:100%; padding:50px 0px;margin:0px auto; }
@media (max-width: 1024px) {
.cms-produt-wrap{  padding: 0px; }
}
.cms-slider-for { width: 100%;  height: auto; margin:20px auto 50px auto;   }
.cms-slider-nav { width: 100%;  height: auto; margin:20px auto; padding:0px;order:1; position: relative;  }
.cms-slider-nav:after{ content: ""; width: 80%; height: 4px;  background: #cf0004; position: absolute; z-index: 0; left:10%; top:35%; transform: translate(0,-35%);}

.slider-nav{margin: auto;padding: 0; position: relative; z-index: 9; }
.slider-nav .slick-slider{ width: 100%; margin:0px auto; padding:0px!important; }
.slider-nav li { width: 100%; padding:10px; margin: auto; display: flex;flex-wrap: wrap; justify-content: center;  }
.nav-item { text-align: center; width: 100%; padding-bottom: 34px; position: relative}
.nav-item:hover .nav-img {background-color: #cf0004}
.nav-item:hover .nav-img img {  filter: invert(1);  opacity: 1}
.nav-item:hover .nav-img:before { border: dashed 1px #fff; filter: grayscale(1) brightness(1) opacity(1);}
.nav-item:hover p { color: #cf0004}
.nav-img {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin:10px auto;width: 88px;height: 88px;border-radius: 15px;background-color: #d8e3eb;position: relative;}
.nav-img:before { content: ""; width: calc(100% - 16px);  height: calc(100% - 16px); display: block;  border: dashed 1px #000; border-radius:15px; position: absolute; filter: grayscale(1) brightness(0) opacity(0.3);   transform-origin: 50% 50%;}
.nav-img img {  margin: auto;display: block;  width: 52px; height: 52px; opacity: 0.7;  }
.nav-item p{ font-size:0.875rem; color: #000; font-weight: 700; line-height: 1rem; }
@media (max-width:768px) {
.slider-nav li { padding:10px 5px; margin: auto; display: flex;flex-wrap: wrap; justify-content: center;   }
}

 /*----------------------------------------/
產品總覽頁Product
----------------------------------------*/
.bg-product{ background-image: url("../images/index/bg-dot-left.png"),url("../images/index/bg-dot-right.png"); background-position: left bottom, right top; background-repeat: no-repeat; background-size:30% auto,30% auto; }
.cms-product-cate { width:100%; margin:30px auto;  padding:30px 0px; display: flex; flex-wrap: wrap;  position: relative;z-index: 0;}
.cms-product-cate li { width: 400px; height: 400px !important; margin:20px 10px; padding:20px; position: relative; z-index: 1; list-style: none; transition: transform .4s; box-shadow: 0px 5px 10px rgba(0,0,0,.5) }
.cms-product-cate li figure:before {  content: ""; display: block;  background-image: linear-gradient(to bottom, rgba(0,0,0,.0) 50%, rgba(207,0,7,.5) 100%); opacity: 1; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;}
.cms-product-cate li:after,.cms-product-cate li:before {pointer-events: none; content: ''; width: 100%; height: 100%;  box-sizing: border-box;  position: absolute; top: 0;  left: 0;  transform: scale(0); transition: 0.5s;z-index:9; }
.cms-product-cate li:after { border-top: 2px solid #fff;  border-right:2px solid #fff;;  transform-origin: 100% 0%;}
.cms-product-cate li:before { border-bottom: 2px solid #fff;; border-left: 2px solid #fff;;   transform-origin: 0 100%;}
.cms-product-cate li:hover:after,.cms-product-cate li:hover:before { transform: scale(1);}
.cms-product-cate li .inner-body { position: absolute;bottom:0px; left:0px; width: 90%; height: 80px; padding:10px 20px;  display: block;  border: 1px solid #ffffff;  box-shadow: 1px 1px 0px rgb(0 0 0 / 20%);  background-image: linear-gradient(to top left, #d8e3eb 0%, #fff 100%); z-index: 9; transition: 375ms cubic-bezier(0.7, 0, 0.3, 1);}
.cms-product-cate li:hover .inner-body {  margin-top: -22px; -webkit-transform: translateY(-22px); transform: translateY(-22px)}
.cms-product-cate li a h3 {position: relative;  width: 100%; z-index: 8; font-size:1.5rem;  line-height: 2rem; font-weight:600; color:#000; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word; }
.cms-product-cate .slick-slide:not(.slick-current) { filter: brightness(0.5);-webkit-filter:blur(3px); }
.cms-product-cate li:after { content:''; position: absolute; z-index: 2;  top: 0;  left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); transition: transform .4s;}
.item.slick-slide { transform: scale(0.5)  translate(800px);}
.item.slick-slide.slick-center + .slick-slide { transform: scale(0.6) translate(-250px); z-index: 10;}
.item.slick-slide.slick-center + .slick-slide + .item.slick-slide { transform: scale(0.5)  translate(-800px); z-index: 5;}
.item.slick-slide.slick-active { transform: scale(0.6) translate(250px);}
.item.slick-slide.slick-center { transform: scale(1); z-index: 30;}
.slick-center:after { opacity: 0;}
@media (max-width:767.98px) {
.cms-product-cate {  padding:30px 10px; overflow: visible; }
.cms-product-cate li { width: calc(400px - 20px);   }
.cms-product-cate li .inner-body {left:30px;    }
.cms-product-cate li a h3 {  font-size:1.15rem; }

}
/*--------------------/
產品清單頁  cms-main-product-item  
--------------------  */
.cms-product-item { width:100%;max-width: 1200px;  margin:0px auto;  padding:0px 30px; }
.cms-product-item li { width: 100%;  height: auto; margin:0px auto;padding: 0px; position: relative; z-index: 1; list-style: none; background: #b8c8d5;  transition: all 0.3s linear 0s;  }
.cms-product-item li a{ width: 100%; display: flex; flex-wrap: wrap; position: relative;}
.cms-product-item li figure{  width:70%; overflow: hidden; position: relative; z-index: 0; order: 2; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.cms-product-item li figure img {  width: 100%;   height: auto;transition: all 0.5s ease 0s;  }
.cms-product-item li .cms-product-inner{width:30%; height: auto; padding:5px 0px 5px 40px; display: flex; flex-wrap: wrap; align-content: center;  z-index: 9; order: 1; } 
#cms-main .cms-product-item li h3{flex: 0 0 100%; padding:0px; margin:0px 0px 20px 0px;width: 100%; font-weight:700; font-size:2rem;  line-height:2rem; color:#000;  word-break: normal; word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
#cms-main .cms-product-item li p{ flex: 0 0 100%;   margin:5px 0px; padding: 0px;  font-size:1rem; line-height: 1.5rem;  font-weight: 400; overflow: hidden; word-break: normal; word-wrap: break-word; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical;} 
.cms-product-item .slick-prev{left:-20px;}
.cms-product-item .slick-next{right:-20px;}
@media (max-width: 767.98px) {
.cms-product-item {  padding:0px; }   
.cms-product-item li figure{  width:100%;   }
.cms-product-item li .cms-product-inner{width: 90%; margin: 0px auto; padding:15px 5px;  } 
}
/*----------------------------------------/
  ul style 自訂樣式
----------------------------------------*/
.cms-dot{ width: 100%;  display: block; margin:0px;padding: 0px; position: relative;}
.cms-dot li{ width: 100%!important;display: block; padding: 2px 0px 2px 15px!important; margin:4px 0px!important; font-size:0.9rem; line-height:1.5rem; font-weight:400; color: #333; position: relative;  }
.cms-dot li:before{ content: ''; width:6px; height:6px; background-color:#000; border-radius: 99rem; position: absolute; top: 10px; left: 0px;  transition: all 0.5s ease 0s;}
 
 /* choose style */
.cms-main-choose{ width: 100%; padding:80px 0px 50px 0px; margin:0px auto; position: relative;   }
.choose-block{width:100%; margin: auto;   padding:100px 50px; background: url("../images/index/s-line.svg") no-repeat left center; background-size: 100% auto;}
.choose{ width: 100%; max-width: 90%;  margin: 0px auto; padding:40px 0px 0px 0px; display: flex; flex-wrap: wrap; justify-content:flex-start;  align-content: flex-start; align-items: flex-start; list-style:none;   }
.choose li{width:calc(100%/5 - 30px);   margin: 10px 15px; padding:0px;  position: relative;}
.choose li:nth-child(odd){ margin-top: 10%;}
.choose li a{display: flex; flex-wrap: wrap;justify-content: center; position: relative; color: #000; transition: all 0.3s linear 0s; }
.choose li a:hover{ transform: scale(1.1)}

.choose li figure { position: relative; z-index: 0; margin: 0px auto; width:80%; overflow: hidden; border: solid 10px transparent; border-radius:99rem; text-align: center; cursor: pointer;  box-shadow: 0px 5px 5px rgba(0,0,0,.1)}
.choose li:nth-child(1) figure { border-color:#feb64a; }
.choose li:nth-child(2) figure{ border-color:#ff8753; }
.choose li:nth-child(3) figure { border-color:#f2666f; }
.choose li:nth-child(4) figure { border-color:#5fd6dd; }
.choose li:nth-child(5) figure { border-color:#cf0004; }
.choose li figure:before { content: ""; width: calc(100% - 10px);  height: calc(100% - 10px); top:5px; left:5px; display: block;  border: dashed 2px #fff; border-radius:99rem; position: absolute;z-index: 5; animation: rotateIt 20s infinite linear; transform-origin: 50% 50%;}
.circle-number{width:60px; height: 60px; padding-top: 10px; margin: -20px auto auto auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;font-size: 1.313rem; font-weight: 700; color: #fff; background-color:transparent; border-radius: 99rem; box-shadow: 0px 5px 5px rgba(0,0,0,.1)}
.choose li:nth-child(1) .circle-number{ background-color:#feb64a; }
.choose li:nth-child(2) .circle-number{ background-color:#ff8753; }
.choose li:nth-child(3) .circle-number{ background-color:#f2666f; }
.choose li:nth-child(4) .circle-number{ background-color:#5fd6dd; }
.choose li:nth-child(5) .circle-number{ background-color:#cf0004; }
.choose li figcaption{display: flex; flex-wrap: wrap;justify-content: center; flex-direction: column; }
.choose li figcaption h2{ font-size:1.188rem; font-weight: 700; text-align: center; }
 
/* automation style */
.cms-main-automation{ width: 100%; padding:80px 0px 50px 0px; margin:0px auto; position: relative;   }
/*-------contact-location-----------*/
 .fullwidth-map { padding: 40px 0; position: relative;  background-image: linear-gradient(to top , #d8e3eb 20%, #fff 100%); }
.map-wrapper-row { max-width:1100px; margin: 0 auto; padding: 60px 0px;}
 .map-pins-component { margin-top: 60px; position: relative; }
.map-pins-component .map-image {  max-width: 100%; opacity: 1;  }
.map-pins-component .pin-icon { width: 40px;}
.map-pins-component .pin { position: absolute;  display: inline-block; text-align: center;  z-index: 10; transition: 0.5s; transform: scale(1) translateY(0); cursor: pointer; perspective: 300px; transform: rotateX(25deg); transform-origin: 50% 100%;}
.map-pins-component .pin:hover, .map-pins-component .pin.is-opened { transition: 0.5s; transform: scale(1.3) translateY(0); z-index: 30;}
.map-pins-component .pin:hover .pin-label span { background: #FFF1C6; color: black; transition: 0.5s;}
.map-pins-component .pin:active { transform: rotateX(25deg) scale(1.1); transition: 0.2s;}
.map-pins-component .pin-popup { border-radius:5px;  position: absolute;  left: calc(100% + 20px); transition: 0.5s;  top: 0; width: auto; max-height: 300px; padding:5px; text-align: left;  transform: scaleY(0); transform-origin: 0 0; overflow-y: auto;  box-shadow: 6px 6px 5px rgb(0, 0, 0,20%);background: linear-gradient(-180deg, #597990 0%, #d8e3eb 98%), radial-gradient(at top left, rgba(255,255,255,0.30) 0%, rgba(0,0,0,0.30) 100%);
background-blend-mode: screen; }
.map-pins-component .pin-popup h3{font-size:12px!important; font-weight: 600; margin-bottom: 5px; color: #fff; }
.map-pins-component .pin.is-opened .pin-popup { transform: scaleY(1); transition: 0.5s; opacity: 1;}
.map-pins-component .pin-popup figure  {  width: 100px; height: 100px;   display: block; margin: auto;}
.map-pins-component .pin-popup figure img {  width: 100%; height:100%; border-radius:5px;  }

 
 /*座標*/
.map-pins-component .pin-location-1 {  left:22%; top:46%;}
.map-pins-component .pin-location-2 { left: 36%; top: 31%;}
.map-pins-component .pin-location-3 { left: 30%; top: 52%;}
.map-pins-component .pin-location-4 {  left:40%; top:66%;}
.map-pins-component .pin-location-5{ left: 75%; top: 28%;}
  
@media (max-width:767.98px) {
.fullwidth-map { padding: 0px;  } 
.map-pins-component .pin-location-5 .pin-popup{ left: auto;right: 0; }
}

.pin-dot { width: 26px; height: 26px;color: #fff; font-size: 1rem; font-weight: 700;  border-radius: 50%; background-image: linear-gradient(to right, #ff7c93 0%, #cf0004 100%);position: absolute;z-index: 1; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); }
.pulse { position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); width: 30px; height: 30px;}
.pulse:before { content: ""; position: relative; display: block; width: 300%; height: 300%; box-sizing: border-box; margin-left: -100%;  margin-top: -100%; border-radius: 45px; background-color: #cf0004; -webkit-animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;}
.pulse:after { content: ""; position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; background-color: white; border-radius: 15px; box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); -webkit-animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;  animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;}

@-webkit-keyframes pulse-ring {
  0% { transform: scale(0.33); }
  80%, 100% { opacity: 0;  }
}
@keyframes pulse-ring {
  0% { transform: scale(0.33); }
  80%, 100% { opacity: 0;  }
}
@-webkit-keyframes pulse-dot {
  0% { transform: scale(0.8); }
  50% { transform: scale(1); }
  100% { transform: scale(0.8); }
}
@keyframes pulse-dot {
  0% { transform: scale(0.8); }
  50% { transform: scale(1); }
  100% { transform: scale(0.8); }
}
 /*-------------------*/
/***** 最新消息 *****/
/*------------------*/

.cms-main-news{ width: 100%; padding:80px 0px 50px 0px; margin:0px auto; position: relative;   }
.box-news-1{width: 50%; display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; }
.box-news-2{width: 50%; }

@media (max-width: 1024px) {
.box-news-1,.box-news-2{width: 100%;}    
}

.box-news-1  iframe {display: block; margin: auto; padding:50px 0px 0px 0px; width:100%; height:486px!important; position: relative; overflow: hidden;  }
.box-news-2 .cms-main-news-list figure { width: 40%; position: relative; overflow: hidden;  }
.box-news-2 .cms-main-news-list .news-box{position: relative;width: 60%; margin: 0px;padding:15px 25px;background: #fff;  box-sizing: border-box;display: -ms-flexbox; display: flex; flex-wrap: wrap;}
.box-news-2 .cms-main-news-list li::before { content: ''; height: 1px; width: 100%; position: absolute; bottom: 0px; right: 0px; z-index: 9; transition: all 0.25s ease 0s;background:#e6ecf1;}
 


/*--分類new-tag --*/
 .new-tag { display: flex; flex-wrap: wrap; align-items: center; width: auto; padding:0px 8px; 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; right:0px; top: 8px; border-radius:5px;  }
.new-tag a{color:#fff;}
.new-tag-01{ background:#7b94a8;}

.cms-main-news-list {width: 100%; margin: 10px auto; padding:10px 0px; display: flex;  flex-wrap: wrap; position: relative; z-index: 1; }
.cms-main-news-list li{ width: calc(100%  - 60px); padding:0px;margin: 30px; box-sizing: border-box;overflow: hidden;list-style: none;transition: all 0.5s ease 0s;  position: relative;}
.cms-main-news-list li a{display: flex; flex-wrap: wrap; }

.cms-main-news-list figure img {width: 100%; height: auto; margin: auto; position: relative; overflow: hidden; transition: all 0.5s ease-in-out;}
.cms-main-news-list figure:hover img { opacity: .5;border-color: #df7475;  transform: scale(1.15); }
.cms-main-news-list figure {  position: relative; overflow: hidden;  }
.cms-main-news-list .news-box{position: relative;width: 100%; margin: 0px;padding:15px 5px;background: #fff;  box-sizing: border-box;display: -ms-flexbox; display: flex; flex-wrap: wrap;}
.listDateBox {width: 100%; padding: 0px; margin:0;font-size:0.875rem; color:#555; display: flex; flex-wrap: wrap;  justify-content: flex-start;align-items: center; position: relative; }
.listDateBox i{width: 16px; height: 16px; display: inline-block;margin:0px 5px 0px 0px;}
.listBox{width:100%; display: flex; align-items: center; flex-wrap: wrap; flex-direction: column;padding:0px 0px 25px 0px;position: relative; }
.cms-main-news-list h3 {position: relative;width: 100%; height: auto; min-height:52px; margin:5px 0px; font-size:1.313rem; line-height:1.35rem; font-weight:700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow-wrap: break-word; }
.cms-main-news-list a h3 { color:#5c728e; }
.cms-main-news-list a:hover h3 { color:#cf0004!important; }
.cms-main-news-list a p{ width: 100%; font-size: 0.875rem; line-height: 1.15rem; color:#666; margin:5px 0px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word; }

.view {width: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; border-bottom: 1px solid #e5e5e5; cursor: pointer; padding-left: 3px;}
.view:hover a { border-bottom: 1px solid #c7a26d; color: #c7a26d;}
.view:hover .circle { -webkit-animation: run 1s ease-in-out infinite;  animation: run 1s ease-in-out infinite;}
@-webkit-keyframes sx {
from {  -webkit-transform: translateX(0);  transform: translateX(0); }
50% { -webkit-transform: translateX(-10px); transform: translateX(-10px); }
to {  -webkit-transform: translateX(0);  transform: translateX(0); }
}

@keyframes run {
from { -webkit-transform: translateX(0);  transform: translateX(0); }
50% { -webkit-transform: translateX(-10px); transform: translateX(-10px); }
to {  -webkit-transform: translateX(0); transform: translateX(0); }
}

.view a { margin-bottom: -1px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: #153872; letter-spacing: 2.3px; border-bottom: 1px solid #153872; padding-bottom: 16px; padding-top: 2px;}
.view .circle { display: -webkit-box; display: -ms-flexbox; display: flex;  width: 36px; height:36px; border-radius: 999px; border: 1px solid #153872; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center;  -ms-flex-pack: center; justify-content: center; margin-right: 16px; background: url("../images/icon/arrow-right-2.svg") no-repeat center;background-size: 14px;}
 
@media (max-width: 844px) {
 .cms-main-news-list h3 {position: relative;width: 100%; height: auto; min-height:46px; margin-bottom:5px; font-size:1rem; line-height: 1.3rem; }
.listBox{ padding:5px 15px;}
}

@media (max-width: 797.98px) {
.box-news-2 .cms-main-news-list figure { width: 100%; }
.box-news-2 .cms-main-news-list .news-box{ width: 100%;  }
.cms-main-news{padding:0px;}
.cms-main-news-list{ width: 100%; margin: 0px; padding: 0px;}   
.cms-main-news-list li{ width: 100%; margin: 30px 0px;   }
.cms-main-news-list li .new-tag { position: relative;}
.listDateBox {margin-top: 10px; }
.cms-main-news-list h3 a{   font-size:0.85rem;  }
.listBox{ padding:5px 0px 5px 0px;}
.listDateBox .month,.listDateBox .date,.listDateBox .year {font-size: 11px;}
}
  
.text-button { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.125rem; cursor: pointer; display: inline-block; color: currentColor; padding-left: 2.1875rem; position: relative; transition: padding 0.3s ease;}
.text-button::before { content: ''; display: inline-block; position: absolute; left: 0; top: 50%; width: 1.5625rem; height: 0.0625rem; background: currentColor; vertical-align: middle; margin-right: 0.625rem; transition: padding 0.3s ease}
@media (hover: hover) {
.text-button:hover { color: currentColor; padding-left: 2.8125rem  }
.text-button:hover:before { width: 2.1875rem; color: currentColor  }
}
@media (max-width: 798px) {
.text-button { letter-spacing: 0rem; }  
 p a.text-button { font-size: 0.7rem; }    
}
 /*cms-Title Styles 樣式
=================================*/
.cms-title { width: 100%; height: auto; margin:0px auto 30px auto;padding: 0px; display: flex;flex-wrap: wrap; justify-content: center; flex-direction:column; position: relative; } 
.cms-title h1{  width: 100%;display: block;margin: 0; font-size: 2.5rem; font-weight:700; color:#fff;  }
.cms-title h2{  font-size: 1.75rem; color:#CF0004; font-weight:700;   }
/*.cms-title h2 span { color: #CF0004;}*/
.cms-title h3{ margin:10px auto; font-weight: 700; color:#bea570;  }
.cms-title p{ margin:10px auto;  font-weight: 400; line-height: 1.35rem;  color:#fff; }
.cms-title span{ width: auto; margin:10px auto; font-size:0.9375rem; letter-spacing:2px; font-weight:400; color: #333;   }

.series-name{ font-size:1.125rem; font-weight: 700; color: #fff; }
.series-name:before { content: "";  display: inline-block; vertical-align: middle;  width: 40px; height: 5px; background-color: #fff;  margin: -2px 20px 0 0;}
@media (max-width:1024px) {
.series-name{font-size:0.9rem;}
.series-name:before {  height: 3px; background-color: #fff;  margin: -2px 20px 0 0;}    
}
 /*ms-title-2  樣式
=================================*/
.cms-title-2 { width:100%; height: auto;  margin:30px auto 0px auto; padding: 0; position: relative; }
.cms-title-2 h2{ width: auto; margin:0px auto 30px auto; font-size: 3.25rem; line-height: 3rem; font-weight: 700; text-align:center;color:#cf0004; position: relative;  }
.cms-title-2 h2:after{ content: ""; width:10%; height: 4px; bottom: -15px; left:50%;  -moz-transform:translate(-50%, -50%); -webkit-transform:translate(-50%, -50%); -o-transform:translate(-50%, -50%); -ms-transform:translate(-50%, -50%); transform:translate(-50%, -50%);background:#cf0004; position: absolute; display: none;}

.cms-title-2 h3{ width: auto; margin:15px 20px; font-size: 1.15rem; font-weight: 600; text-align:center;color:#0070bd!important;  }
.cms-title-2 p{ width: auto; margin:0px auto;font-size: 1.875rem; letter-spacing: -0.5px; font-weight:700; color:#000; text-align:center;   }
.cms-title-2 strong{color:#cf0004;}
@media (max-width: 1366px) {
.cms-title-2 p{  font-size: 1.5rem;   }
}
@media (max-width: 1024px) {
.cms-title-2 h2{font-size:2rem;}   
.cms-title-2 p{font-size: 1rem;}   
.cms-title-2 h2,.cms-title-2 h3,.cms-title-2 p{ margin:15px auto; }
}
@media (max-width: 767.98px) {
.cms-title-2 h2,.cms-title-2 h3,.cms-title-2 p{text-align:center;  }
}


/*ms-title-3  樣式
=================================*/
.cms-title-3 { width:100%; height: auto;  margin:0px;   padding: 0; display: flex;  flex-wrap: wrap;   flex-direction:column; position: relative; }
.cms-title-3:after{ content: ""; width:80%; height: 2px;  margin:0px;   padding: 0; background: #0070bd; position: relative; }
.cms-title-3 h2{ width: auto; margin:0px; font-size: 2.15rem; font-weight: 700; color:#0070bd!important;  }
.cms-title-3 p{ width: auto; margin:0px auto; font-size: .9rem; line-height: 1.35rem; font-weight: 700; color: #22314a;    }

/*--------*/
/***** btn *****/
/*--------*/
.cms-btn-btnbox {position: relative;z-index:9; display: flex;  justify-content: center;  width: 100%; height: auto; margin:0px auto;  transition: all 1s;}  
.cms-btnbox {position: relative;z-index:99; display: flex;  justify-content: center;  width: 100%; height: auto; margin:20px auto 0px auto;  transition: all 1s;}  

.icon-next{background: url("../images/icon/arrow-right-2.svg") no-repeat left 0px;  background-size:auto;}
 
/*mousey Styles====*/
.scroll-downs { position: absolute; top: -30px; right: 0; bottom: auto; left: 0; margin:auto; width :20px; height: 44px;z-index: 9;}
.mousey { width: 2px; padding: 5px 8px; height: 24px; border: 1px solid #0070bd; border-radius: 25px; opacity: 0.75; box-sizing: content-box; position: relative; }
.mousey:after{content: "";position: absolute;top:38px; left:8px;width: 1px; height:30px; background:#0070bd;}
.scroller { width: 2px; height: 8px; border-radius: 25%; background-color:#0070bd; animation-name: scroll; animation-duration: 2.2s; animation-timing-function: cubic-bezier(.15,.41,.69,.94); animation-iteration-count: infinite;}
@keyframes scroll {
0% { opacity: 0; }
10% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(15px); opacity: 0;}
}
.cms-back-button {  width: auto; height: 35px; margin: 0; 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: solid 1px #000;}
.cms-back-button:hover .cms-back-button-circle { -webkit-transform: scale(1.2); transform: scale(1.2)}
.cms-back-button:hover .cms-back-button-txt, .cms-back-button:hover i { -webkit-transform: translateX(-5px); transform: translateX(-5px)}
.cms-back-button-circle { width: 35px; height: 35px;  position: relative; display: block; margin-right: 20px; border: 1px solid #e60013;  border-radius: 50%;  -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
.cms-back-button i.arrow-l { width: 31px; height: 31px; position: absolute;background: url("../images/icon/arrow-left-w.svg") no-repeat left top; top: 0; bottom: 0; left: 0; margin: auto auto auto 13px;   -webkit-transition: -webkit-transform .2s;  transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
.cms-back-button-txt { font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: 1px; color: #e60013;  -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}

@media (max-width:767px) {
.cms-back-button { width: auto; height: 24px;}
.cms-back-button-circle { width: 24px; height: 24px; margin-right: 15px}
.cms-back-button i { width: 22px; height: 22px; margin: auto auto auto 10px}
.cms-back-button-txt { font-size: 14px; line-height: normal; letter-spacing: normal }
}

.cms-next-button {width:auto; height: 35px; 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}
.cms-next-button:hover .cms-next-button-circle, .cms-next-button:hover i { -webkit-transform: scale(1.2); transform: scale(1.2)}
.cms-next-button:hover .cms-next-button-txt{ -webkit-transform: translateX(5px); transform: translateX(5px)}
.cms-next-button-circle { width: 35px; height: 35px;  position: relative; display: block; margin-left: 40px; border: 1px solid #fff;  border-radius: 50%;  -webkit-transition: -webkit-transform .2s; transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
.cms-next-button i.arrow-r { width: 40px; height: 30px; top: 0; bottom: 0; right: 0; margin: 3px 10px auto auto ; position: absolute;background: url("../images/icon/arrow-right-f.svg") no-repeat right top;   -webkit-transition: -webkit-transform .2s;  transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}
.cms-next-button-txt { font-size: 16px; font-weight: 400; line-height: 1.5; letter-spacing: 1px;  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-next-button { width: auto; height: 24px }
.cms-next-button-txt { font-size: 14px; line-height: normal; letter-spacing: normal }
}


/*cms-btn Styles 1===*/
.cms-btn-01 { cursor: pointer; width:200px; height:2.75rem; padding:0px 30px; line-height:2.75rem; display: block; margin: 0; position: relative;border-radius:30px;  box-shadow: 0px 0px 17px 1px rgba(0, 0, 0, 0.34); background:#cf0004;z-index: 1;  }
.cms-btn-01 span { display: block;  transform-origin: center left; transition: color 0.3s ease;position: relative;z-index:1; font-weight: 700; color: #fff;}
.cms-btn-01 em {position: absolute;width:60px; height:25px; right:30px;top: 25%; transition: all 0.3s ease; background: url("../images/icon/arrow-right-f.svg") no-repeat right top; z-index:1;   }
.cms-btn-01:before,.cms-btn-01:after {content: '';background:#000;height:100%; width: 0;position: absolute;border-radius:30px;  transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);}
.cms-btn-01:before { top: 0; left: 0; right: auto; }
.cms-btn-01:after { bottom: 0; right: 0; left: auto; }
.cms-btn-01:hover:before { width: 100%; right: 0; left: auto;}
.cms-btn-01:hover:after {  width: 100%; left: 0; right: auto;}
.cms-btn-01:hover span{ }
.cms-btn-01:hover em{ transform:translateX(20px);}

/*cms-btn Styles 2===*/
#cms-main a.cms-btn-02{width: 100%; height: auto;   display: block; color: #fff!important;font-weight:700;  overflow: hidden; padding:10px 40px; text-align: center;  background-color: transparent;border:solid 1px #0070bd; cursor: pointer;  letter-spacing: 0.1rem;  box-shadow: inset 0 0 0 1px #eaeff3;-webkit-transition: color 0.25s 0.0833333333s; transition: color 0.25s 0.0833333333s;  position: relative;}
.cms-btn-02::before, .cms-btn-02::after {border: 0 solid transparent; box-sizing: border-box; content: ''; pointer-events: none; position: absolute; width: 0; height: 0; bottom: 0; right: 0;}
.cms-btn-02::before{border-bottom-width: 2px; border-left-width: 2px;}
.cms-btn-02::after{border-top-width: 2px; border-right-width: 2px;}
#cms-main a.cms-btn-02:hover{color:#016f89; background:#ec9722; }
.cms-btn-02:hover::before, .cms-btn-02:hover::after{border-color: #0070bd; -webkit-transition: border-color 0s, width 0.25s, height 0.25s; transition: border-color 0s, width 0.25s, height 0.25s; width: 100%; height: 100%;}
.cms-btn-02:hover::before{-webkit-transition-delay: 0s, 0s, 0.25s; transition-delay: 0s, 0s, 0.25s;}
.cms-btn-02:hover::after{-webkit-transition-delay: 0s, 0.25s, 0s; transition-delay: 0s, 0.25s, 0s;}
.cms-btn-02:focus{outline: 1px inset #fff;}
.cms-btn-02 span { display: block; padding-right:5px; transform-origin: center left; transition: color 0.3s ease;position: relative;z-index:1; font-weight: 700; letter-spacing: 1px; color: #fff;}
.cms-btn-02 em {position: absolute;width:60px; height:25px; right:10px;top: 25%; transition: all 0.3s ease; background: url("../images/icon/arrow-right-f.svg") no-repeat right top; z-index:1;   }
.cms-btn-02:hover em{ transform:translateX(10px);}

@media (max-width: 991.98px) {
#cms-main a.cms-btn-02{max-width: 100%;  font-size:0.9rem;   }
}
@keyframes rotate {
  0% { transform: rotate(0deg) }
  to { transform: rotate(360deg)  }
}
@keyframes rotate2 {
  0% { transform: rotate(0deg) scale(1) }
  to { transform: rotate(-359deg) scale(1)  }
}
@keyframes rotateIt {
  to { transform: rotate(-360deg); }
}

 
