﻿/* 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; }
 html { font-size: 100%; overflow-x: hidden; }  
body{background-image:linear-gradient(to top, #fbfaf5 0%, #fff 100%); background-position: left top; background-size:auto ; background-repeat: repeat;}
 /** font-family:=================================*/
.txt-ch{font-family: 'Noto Sans TC', 'Microsoft JhengHei',"sans-serif"; }
.txt-en{font-family: 'Rubik', "sans-serif"; }
#cms-main h1, #cms-main h2, #cms-main h3, #cms-main h4, #cms-main h5, #cms-main h6, #cms-main p {font-family: 'Noto Sans TC', 'Microsoft JhengHei',"sans-serif";}
 
/*----------------------------------------/
  Default Typography
----------------------------------------*/
h1 {font-size: 2.36rem;margin:0.4rem 0;  }
h2 {font-size: 2rem;margin:0.6rem 0;}
h3 {font-size: 1.73rem;margin:0.7rem 0;}
h4 {font-size: 1.6rem;margin:0.8rem 0;}
h5 {font-size: 1.48rem;margin:0.8rem 0;}
h6 {font-size: 1.3rem;margin:0.8rem 0;}
#cms-main p {margin:auto 0; display: block;}
#cms-main a{ text-decoration: none;  }
#cms-main a:hover, #cms-main a:active, #cms-main a:visited, #cms-main a:focus {text-decoration: none;  }
 
 /** font-family:=================================*/
 .cms-wrapper { position: relative; margin-right: auto; margin-left: auto; width: 100%; padding:20px 10px;   max-width: calc((100% - 40px)/12*12 + 40px)}
@media (min-width:768px) {
.cms-wrapper { padding-right: 40px; padding-left: 40px;   }
}
@media (min-width:1200px) {
.cms-wrapper { padding-right: 40px; padding-left: 40px;max-width: 1280px; }
}
@media (min-width:1600px) {
.cms-wrapper { padding-right: 40px; padding-left: 40px; max-width: 1440px; }
}

.cms-wrapper-full { position: relative; margin-right: auto; margin-left: auto; width: 100%; padding-right: 0px; padding-left: 0px; max-width: calc((100% - 40px)/12*12 + 40px)}

@media (min-width:1002px) {
.cms-wrapper-full { padding-right: 10px; padding-left: 10px;   }
}

@media (min-width:768px) {
.cms-wrapper-full { padding-right: 10px; padding-left: 10px;   }
}

@media (min-width:1920px) {
.cms-wrapper-full{ padding-right: 40px; padding-left: 40px; }
}
 /*----------------------------------------/
  banner area
----------------------------------------*/
.cms-main-banner { width:96%; height: 100%; padding: 0; margin:30px auto auto auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; flex-direction: row; z-index: 0; line-height: 2.5em; vertical-align: top;  background-color: transparent; position: relative; border-radius:100px 0px 100px 0px; }
.cms-main-banner-img{width: 100%;  position: relative; top: 0%; margin-top: 0px; border-radius:100px 0px 100px 0px;  }
.cms-main-banner-img img  { width: 100%; max-width: 100%; height: auto; top:0px; -o-object-fit: cover;  object-fit: cover; -webkit-backface-visibility: hidden;  backface-visibility: hidden; transition: all 0.3s; position: relative; z-index: 1; border-radius:100px 0px 100px 0px; 
}
 
@media (max-width: 1024px) {
.cms-main-banner { width:100%;   }
.cms-main-banner-img img  { width: 100%; max-width: 100%; height: auto; -webkit-clip-path:none;clip-path: none;}   
    
}
@media (max-width: 768px) {
.cms-main-banner {margin-top: 0px;}   
.cms-main-banner-img{   border-radius:0px;  }
.cms-main-banner-img img  {  border-radius: 0px; }   
 }

/* Banner 內文字 =====================================================================*/
.cms-main-banner-txt {width: 100%; max-width: 720px; margin:2% auto; padding: 20px;    display: flex; flex-wrap: wrap;  justify-content:center;  position: absolute; z-index: 99;overflow:hidden;}
 #cms-main .cms-main-banner-txt h1 { width: 100%; font-size:2.5rem;  text-align: center; font-weight: 500;  letter-spacing:0.2px; color:#000;   }
.cms-main-banner-txt h2 { width: 100%; margin: 0px; font-size:2.35rem; text-align: center;font-weight:400;  letter-spacing:1px; color: #fff;  }
 #cms-main .cms-main-banner-txt p {  width: 100%;margin:10px 0px 0px 0px; font-size:1rem;  font-weight: 400; color:#7a818c; }
 
@media (min-width:1600px) {
 #cms-main .cms-main-banner-txt h1 {  font-size:3.25rem;    }
}

@media (max-width: 1024px) {
.cms-main-banner-txt {width: 100%; max-width: 720px;   margin:2% 1%; padding: 20px; }
#cms-main .cms-main-banner-txt h1 { font-size: 1.75rem;  margin-top: 0px; }
#cms-main .cms-main-banner-txt p { font-size:0.875rem;   }
 }


@media (max-width: 767.98px) {
.cms-main-banner-txt h1 {  font-size: 1.25rem;  margin-top: 0px; }
.cms-main-banner-txt em { font-size: 1rem; margin-top: 0px; }
}



.cms-main-area{ width: 100%; margin: auto;display: flex; flex-wrap: wrap; justify-content: center;}
 

.txt-blue{color: #e94949;}
.txt-second-blue{color: #007aff;}
.txt-three-blue{color: #42acdc;}
.txt-green{color: #afd9d3;}

.txt-red{color: #9e2b2f;}
 /*----------------------------------------/
cms-main-content
----------------------------------------*/
.cms-main-content{position: relative; width: 100%; margin: 0; padding:0px;background-image:linear-gradient(to top, #fbfaf5 0%, rgba(255,255,255,.1) 100%); background-position: left top; background-size:auto ; background-repeat: repeat;}
.cms-decorate-end {width: 100%;  height: 100px;  position: absolute; z-index: 13; left: 0px;  }
 
  /*----------------------------------------/
  麵包屑 自訂顏色樣式
----------------------------------------*/
.cms-main-breads{ width: 100%; max-width: calc((100% - 40px)/12*12 + 40px); margin: auto; padding:0px;position: relative;z-index:0;  color:#000;  }
.cms-main-breads .breadcrumb{max-width: 1280px; padding:10px 20px;color:#e9494a;  margin: 0 auto; background:none; justify-content: center;  }
#cms-main .cms-main-breads .breadcrumb li{ font-size:0.8125rem;  color:#e94949;  max-width: 200px; overflow: hidden;  word-break: break-all; text-overflow: ellipsis;  display: -webkit-box;  -webkit-line-clamp: 1;  -webkit-box-orient: vertical; }
#cms-main .cms-main-breads .breadcrumb li a{ color:#ff8283 ; }
.breadcrumb-item::before {   content: "\e901"; color:#ff8283 !important;  font-family: 'icomoon'; margin-right: 5px;  }
#cms-main .breadcrumb-item+.breadcrumb-item::before { content: " \e915 ";  font-family: 'icomoon';margin-right: 2px; }


.cms-title-holder { position: relative;  width: 100%; border:solid 1px #f6f6f6; z-index: 1;}
.cms-title-holder .cms-main-breads{ width: 96%; margin: 0 auto; justify-content: flex-start;}
.cms-title-holder .cms-main-breads .breadcrumb{width: 100%; max-width: 1400px;  justify-content: flex-start;}

 /* description =======================================================================	*/
#cms-main .cms-description{ width: 100%; max-width: 800px; display: flex; flex-wrap: wrap; justify-content:center; align-items: center; flex-direction: column;  padding:20px; margin:0px auto 10px auto;     }
#cms-main .cms-description h2{ width: 100%;  margin:0px 15px 15px 15px;  display: flex;  justify-content: flex-start; font-weight: 700;color:#411f20;}
#cms-main .cms-description h2::before{  content: ''; width: 50px;  height:2px; margin-top:25px; margin-right: 30px;  background:#333;  }
#cms-main .cms-description p{margin:0 !important;font-size:0.875rem; line-height: 1.65rem; color:#333;  }
@media (max-width: 767.98px) {
#cms-main .cms-description{ max-width:100%;} 
#cms-main .cms-description h2::before{ display: none; }
#cms-main .cms-description p{ max-width: 100%; font-size:0.8rem; }
}
 
/*----------------------------------------/
  title樣式 cart
----------------------------------------*/
 
.cms-title-block{ width: 100%; margin: 20px auto;  display: flex; flex-wrap: wrap; justify-content:center;  }
.cms-title-block h2 {width:100%; margin:0px 0px 20px 0px ; padding:20px; font-size:2.25rem;  text-align: center; color:#333; font-weight:400; position: relative;  }
.cms-title-block h2::before { width:100%; height: 3px; content: ""; position: absolute;bottom:0px; left: auto;  margin: auto; display: block;  background: linear-gradient(90deg,#e70012,#ff8283 40%,#e70012);}
 @media (max-width: 1199.98px) {
.cms-title-block h2{  font-size: 1.5rem; }
}
@media (max-width: 767.98px) {
.cms-title-block {  margin: 15px auto; }    
}  
 
 




 /*cms-Title Styles 樣式
=================================*/
.cms-title { width:100%; height: auto; margin:0 auto 2% auto;  padding: 0px; display: flex; justify-content: center; align-items: center;  flex-wrap: wrap; flex-direction:column; background: none;}
.cms-title h1{ margin:0 auto;padding: 20px 0px; display: block; font-size: 2.75rem; font-weight: 400; color:#000; }
.cms-title h2{ margin:0px auto; display: block; font-size: 1.063rem;  font-weight: 700; color: #e9494a;  }
.cms-title h3{ margin:15px auto;color:#000;}
.cms-title p{ margin:0px auto; font-size: 1rem; color: #7a818c; }
.cms-title img{ margin-bottom: 15px;}
@media (max-width: 991.98px) {
 .cms-title h3{  font-size: 1.875rem;  }
 }
@media (max-width: 767.98px) {
#cms-main .cms-title h1{  font-size:1.75rem;  }
 } 


.cms-title-2 { width:100%; height: auto; margin:0 auto 2% auto;  padding-top: 0px;  padding-bottom: 0;  display: flex; justify-content: center; align-items: center;  flex-wrap: wrap; flex-direction:column; background: none;}
.cms-title-2 i.title-logo {display: block; margin: auto; width: 150px; height:78px; background:url(../images/index/smaile.svg) no-repeat left top;}
.cms-title-2 h2{ margin:0 auto;padding: 20px 0px; width: 100%;  font-size:2.75rem; font-weight: 400;text-align: center;  position: relative; z-index: 1;   }
#cms-main .cms-title-2 h3{ margin:0px; font-weight:400; font-size:1.875rem; color:#6a6060;}
#cms-main .cms-title-2 p{ margin:0px; font-size:1rem;  color:#6c7280;  }
@media (max-width: 767.98px) {
.cms-title-2 h2{  font-size: 2rem;  }  
 .cms-title-2 h3{  font-size: 1.875rem;  }  
   
}
  

.cms-title-3 { width:100%; max-width: 1200px; height: auto; margin:0 auto 2% auto;  padding: 0px;  display: flex; justify-content: center; align-items: center;  flex-wrap: wrap; flex-direction:column; background: none; position: relative;}
.cms-title-3:before,.cms-title-3:after {content: '';background:#e9494a;height:2px; width:30%; position: absolute; transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);}
.cms-title-3:before{ left:0px;}
.cms-title-3:after{right: 0px;}
.cms-title-3 h2{ margin:0 auto;padding: 20px 0px; width: 100%;  font-size:2.75rem; font-weight: 400;text-align: center;  position: relative; z-index: 1;   }
#cms-main .cms-title-3 h3{ margin:0px; font-weight: 700; font-size:1.063rem;  color:#e9494a;}
#cms-main .cms-title-3 p{ margin:0px; font-size:1rem;  color:#6c7280;  }
@media (max-width: 767.98px) {
.cms-title-3 h2,.cms-title-3 h3{  font-size: 1.875rem;  }  
}
.cms-title-4 { width: 100%;   display: flex; justify-content: center; flex-direction: column;position: relative;z-index: 1; }
#cms-main .cms-title-4 h2{ margin:15px 15px 0 15px; text-align: center; font-weight: 400;color: #000; }
#cms-main .cms-title-4 h3{ margin:15px 15px 15px 15px;  font-weight: 700;color: #000;  }
.cms-title-4 span {margin-top: 10px; font-size: .875rem; color: #b4a174;  text-align: left; display: flex;font-weight: 400; }
.cms-title-4 { width:100%; margin: 30px auto; 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; flex-wrap: wrap;}
.cms-title-4::before { display: block; content: ''; width: 2px; height: 60px; top:-28px; background:#000; position: absolute; z-index:9; }
@media (max-width: 1199.98px) {
.cms-title-4 h2,.cms-title-4 h1{  font-size: 1.5rem; }
}
@media (max-width: 767.98px) {
.cms-title-4 {  margin: 15px auto; }  
.cms-title-4::before {   top:-20px;   }
}
 

.cms-title-5 { width:100%; height: auto; margin:30px auto 2% auto;  padding-top: 0px;  padding-bottom: 0;  display: flex; justify-content: center; align-items: center;  flex-wrap: wrap; flex-direction:column; background: none;}
.cms-title-5 h2{ margin:0 auto;padding: 20px 0px; width: 100%;  font-size:2rem; font-weight: 400; text-align: center; color:#e94949;  position: relative; z-index: 1;
    background: -webkit-linear-gradient(-91deg, #e94949 5%, #ff8080 40%, #ff0000 91%);  -webkit-background-clip: text;  -webkit-text-fill-color: transparent;  line-height: 58px;  }
#cms-main .cms-title-5 h3{ margin:0px;  font-size:1.875rem; font-weight: 400; position: relative; display: table;}
#cms-main .cms-title-5 h3::before{content: "/";  position: absolute; color: #e94949; transform: rotate(20deg); display: block; width: 10px;  height: 30px; top: 0px; left: -30px; font-size: 30px;}
#cms-main .cms-title-5 h3::after{content: "/";  position: absolute; color: #e94949; transform: rotate(20deg); display: block; width: 10px;  height: 30px; top: 0px; right: -30px; font-size: 30px;}
 #cms-main .cms-title-5 p{ margin:0px; font-size:1rem; font-weight: 700!important;color:#6c7280;  }
@media (max-width: 767.98px) {
.cms-title-5 h2{  font-size: 1.875rem;  }  
}



.cms-btn-btnbox{ display: flex; justify-content: center; align-content: center; margin-top: 5rem; }
.cms-txt-stork { -webkit-text-stroke: 1px #333;  -webkit-text-fill-color: transparent;}
 
/*tab-bar style======================================================================*/
.cms-tab-bar {position: relative;width: 100%;  min-height:40px;  display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center; align-content: flex-start; align-items: flex-start;  background:#eb5857; z-index:1;   }
.cms-tab-bar .cms-btn-tab{ color: #fff; width: 100%; text-align:center;margin: 0px auto; padding: 10px 0px; }
.cms-tab-bar .cms-btn-tab::after { float: right; margin-right: 20px; margin-top: 10px; content: ""; display: inline-block; vertical-align: middle; width: 10px; height: 10px; border-top: 2px solid #fff; border-right: 2px solid #fff; -moz-transform: rotate(135deg); -ms-transform: rotate(135deg); -webkit-transform: rotate(135deg); transform: rotate(135deg); -webkit-transition: transform .5s; transition: transform .5s; }
ul.cms-tab { left: 0; right: 0; margin: 0; width: 100%; padding: 0;   display: none;  list-style: none; z-index:0; }
ul.cms-tab li {width: 100%; display: flex; justify-content: center; text-shadow:none; background: #e94949;   border-bottom: solid 1px #fff; z-index: 1; }
ul.cms-tab li:last-child {  }
ul.cms-tab a { width: 100%;  display: flex; justify-content: center;  padding:8px 10px; text-align: center; text-decoration: none; color: #fff!important;}
ul.cms-tab a:hover { color:#ac0b0b; }
ul.cms-tab li a span{  text-align: center; color:#fff;}
ul.cms-tab li.current  { background-color: #555; }

@media (min-width:769px) {
.cms-tab-bar {  background:none; z-index: 1; position: relative;margin:2% auto ; }
.cms-tab-bar .cms-btn-tab { display: none; }
div.cms-tab-bar { width:100%; display: flex; margin:2% auto ; font-size: 0.875rem!important; transition: background-color 220ms ease-in, box-shadow 80ms ease-in; background: transparent; box-shadow: none; border: none;z-index:0;  }
ul.cms-tab { width: 100%; padding:10px 20px ;   display: flex; align-items: center; justify-content:center; flex-wrap: wrap; text-align: center;  z-index:0;position:relative;   }
ul.cms-tab a { padding:5px 15px;  color:#50585c;  }
ul.cms-tab li.current { color:#fff!important; background:#e94949;    text-shadow:none;  border-bottom: 1px solid #e94949;   }
ul.cms-tab li{ width: auto;   display: flex;  position: relative;z-index: 1; margin: 0px 5px; border-radius:30px 0px 30px 0px; border: solid 1px #e94949;background-color: transparent; box-shadow: 3px 0 10px rgb(186 186 186 / 35%);  -webkit-transition: all 0.3s; transition: all 0.3s; }
ul.cms-tab li.current a{ color:#fff!important; }
ul.cms-tab li a{ font-size:1rem; font-weight:400; color:#e94949!important;  background-color: transparent;  display: block;  margin: 0;  padding: 8px 20px; position: relative; transition: all 0.4s ease;    } 
ul.cms-tab li:first-child {  }
ul.cms-tab li:last-child {    }
ul.cms-tab li:hover{background:#ded6ae;   border: solid 1px #ded6ae;}   
 
ul.cms-tab li a span{  text-align: center; color:#e94949;}
ul.cms-tab li.current a span{  color:#fff;}
   
}
 

ul.cms-tab li { display: inline-block;vertical-align: middle; -webkit-transform: perspective(1px) translateZ(0); transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); position: relative; overflow: hidden;}
ul.cms-tab li:before { content: ""; position: absolute; z-index: -1; left: 51%; right: 51%; bottom: 0; background:#ded6ae; height: 4px; -webkit-transition-property: left, right; transition-property: left, right; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}
ul.cms-tab li:hover:before, ul.cms-tab li:focus:before, ul.cms-tab li:active:before { left: 0; right: 0;}
  

.navfix { position: fixed;  top:42px; left: 0; right: 0; z-index:1!important;  }
.navfix ul{background:#e94949;  }
.navfix ul li { border: solid 1px #fff; }
.navfix ul li a {  color:#fff!important; }
.navfix ul li.current {  background:#fff;    text-shadow:none;  border-bottom: 1px solid #fff;  }
.navfix ul li.current a { color:#e94949!important;}


@-webkit-keyframes getIn {
    0% { opacity: 0; -webkit-transform: translate3d(0, -120%, 0); transform: translate3d(0, -120%, 0); }
    100% { opacity: 1;  -webkit-transform: none; transform: none; }
}
@keyframes getIn {
    0% { opacity: 0; -webkit-transform: translate3d(0, -120%, 0); transform: translate3d(0, -120%, 0); }
    100% { opacity: 1;  -webkit-transform: none; transform: none; }
}
.getIn {-webkit-animation-duration: 1s; animation-duration: 1s;-webkit-animation-fill-mode: both;animation-fill-mode: both; -webkit-animation-name: getIn; animation-name: getIn;}

@media (min-width: 1200px) {
.navfix {top: 50px; }

}

@media (min-width: 1600px) {
.navfix {top: 46px; }
}

@media (max-width: 1199.98px) {
.navfix {top: -20px; }
}
 
/*==========nav.stick end==========*/
 
/*----------------------------------------/
  分頁 自訂顏色樣式
----------------------------------------*/
#cms-main-pages {width:100%;  margin: auto;  display: flex; }
#cms-main-pages .cms-pagination{ width:100%;  margin:10px auto;  display: flex; justify-content: center;  }
.cms-pagination .page-link { color:#31315e; background-color:#fff; border: 1px solid #e3ded2;}
.cms-pagination .page-link:hover { color: #fff!important; background-color:#e94949; border-color:#e94949;}
.cms-pagination .page-link a:hover { color: #fff!important; }

.cms-pagination .page-link:focus { box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);}
.cms-pagination .page-item:first-child .page-link { }
.cms-pagination .page-item:last-child .page-link { }
.cms-pagination .page-item.active .page-link { color: #fff!important;  background-color:#e94949; border-color:#e94949;}
.cms-pagination .page-item.disabled .page-link { color: #6c757d;  background-color:#f5f1ed; border-color:#e3ded2;}

/*----------------------------------------/
  btn 自訂顏色樣式
----------------------------------------*/
#cms-main .btn { width: 100%; padding: 0.5rem 0.75rem;  margin-bottom:5px;  font-size: .95rem; line-height: 1.75; border-radius:30px;   }
#cms-main .btn-secondary{  font-size: .95rem;color:#fff;line-height: 1.5;   }
 @media (max-width: 767.98px) {
#cms-main .btn { padding: 0.375rem 0.7rem; font-size: .875rem;    }
#cms-main .btn-secondary{ font-size: .875rem;  }     
}   
.btn.cms-btn-pill { border-radius: 6.1875rem; }
.btn.cms-btn-outline-primary{text-align: center; color: #333;  font-weight:400;  border-color:none;  }
.btn.cms-btn-outline-primary:hover { color:#71869d; background-color:#e2e2e2; border-color:#e2e2e2;}
.btn.cms-btn-secondary { color:#fff; font-weight: 400;  background-color:#333; border-color:#333;  }
.btn.cms-btn-secondary:hover { color: #71869d; background-color:#8a8073; border-color:#8a8073; }

.cms-btn-prev {color:#797371; font-weight: 500; text-align: center; background: url(../images/icon/arrow-left.svg) no-repeat left 8px; border: solid 1px #797371;   }
.cms-btn-next {color:#797371; font-weight: 500;  text-align: center; background: url(../images/icon/arrow-right.svg) no-repeat right 8px; border: solid 1px #797371;  }
.cms-btn-prev:hover,.cms-btn-next:hover  { color: #94000b;  border: solid 1px #94000b; }
a.cms-btn-prev:hover,a.cms-btn-next:hover  { color: #94000b!important;  border: solid 1px #94000b!important; }
@media (max-width: 991.98px) {
    .cms-btn-prev,.cms-btn-next { background-size:16px; }  
}


.cms-btn-submit{  font-weight: 400;  background-image: linear-gradient(to right, #333 10%, #000 100%);border: solid 1px #333;  color: #fff!important; vertical-align: text-bottom; }
.cms-btn-submit:hover { color: #fff;  background:#232323;   box-shadow: 0px 3px 10px rgba(148,0,11,.5); }
.transition-3d-hover { transition: all .2s ease-in-out}
.transition-3d-hover:focus, .transition-3d-hover:hover {-webkit-transform: translateY(-3px);transform: translateY(-3px)}

 

 
/*cms-btn Styles 樣式=================================*/ 
.cms-btn-01 { cursor: pointer; width: 100%; max-width: 220px; height: 3rem; line-height: 3rem; display: block; margin: 0; position: relative;   box-shadow: 0px 0px 17px 1px rgba(0, 0, 0, 0.34); background-image: linear-gradient(to right, #ec640a 10%, #fcca5c 100%); border-radius:25px; z-index: 1;  }
.cms-btn-01 span { display: block;padding-left: 35px;text-transform: uppercase;letter-spacing: 3px; transform-origin: center left; transition: color 0.3s ease;position: relative;z-index:1; font-weight: 400;  color: #fff;}
.cms-btn-01 em {position: absolute;width: 45%; height: 1px;right: 23px;top: 50%;transform: scaleX(0.25); transform-origin: center right; transition: all 0.3s ease; background: #fff;  z-index:1;   }
.cms-btn-01:before,.cms-btn-01:after {content: '';background:#f39139;height:100%; width: 0;position: absolute;transition: 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);}
.cms-btn-01:before { top: 0; left: 0; right: auto;  border-radius:25px; }
.cms-btn-01:after { bottom: 0; right: 0; left: auto; border-radius:25px; }
.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{ color: #000;}
.cms-btn-01:hover em{background: #000; transform: scaleX(0.5);}

 

/*cms-btn Styles 2===*/
#cms-main a.cms-btn-02{ color: #e94949!important; font-size:1rem; font-weight:600; height: auto; overflow: hidden; padding:10px; background:#f3f3f3; border: none; 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:#e94949; background:#afd9d3; }
.cms-btn-02:hover::before, .cms-btn-02:hover::after{border-color: #80c2c6; -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;}

@media (max-width: 991.98px) {
#cms-main a.cms-btn-02{max-width: 100%;  font-size:0.9rem;   }
}

/*cms-btn Styles3===*/
#cms-main  .cms-btn-03{ padding: 10px 50px; display: flex; align-items: center;  justify-content: center;   margin:20px auto; text-align: center; font-size: 1.1rem; font-weight:400; color:#b4a174; background-color:#fff;   -webkit-transition: all 0.3s; transition: all 0.3s;  }
#cms-main .cms-btn-03:hover { color:#fff;  background-color: #344357; transform: scale(1.05);}
#cms-main .cms-btn-03:active,.cms-btn-03:visited { color: #b4a174; }
 
/*cms-btn Styles 3===*/
a.cms-btn-04  { position: relative; margin:20px auto;padding: 5px 30px; width: 100%;  max-width: 50%; display: flex;  justify-content: center; align-items: center;  background:#029944;  font-size: 1rem;  color: #fff!important; font-weight: 700; line-height: 38px;  letter-spacing: 2px; transform: scale(1);  transition: all 1s; }
a.cms-btn-04:hover { color:#fff!important;text-shadow:1px 1px  rgba(0,0,0,.5);  background:#b4a174; transform: scale(1.05);}
 

a.cms-btn-back { width:auto; color:#797371!important; padding: 10px; font-weight: 700;border: solid 1px #797371;   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-btn-back:before,.cms-btn-back::after{  content: ''; width: 30px; height:1px; background:#797371;-moz-transition: ease 0.3s; -o-transition: ease 0.3s; -webkit-transition: ease 0.3s;  transition: ease 0.3s;  }
.cms-btn-back:before { margin-right: 20px; margin-left: 5px;}
.cms-btn-back:after { margin-left: 20px; margin-right: 5px;}
a.cms-btn-back:hover {   color:#94000b!important; border: solid 1px #94000b;}
.cms-btn-back:hover:before{ background:#94000b; -moz-transform: translateX(20%); -ms-transform: translateX(20%); -webkit-transform: translateX(20%); transform: translateX(20%);  }
.cms-btn-back:hover:after{ background:#94000b;-moz-transform: translateX(-20%); -ms-transform: translateX(-20%); -webkit-transform: translateX(-20%); transform: translateX(-20%);  }
@media (max-width: 767.98px) {
.cms-btn-back  { font-size:.875rem; padding:5px  10px;}  
.cms-btn-back:before,.cms-btn-back::after{ display: none; }
 }





 
.cms-btn-play {  width: 116px; height: 116px;  z-index: 9999; position: absolute;  margin: auto; display: flex;  align-items: center;  justify-content: center;}
.cms-btn-play:before { content: '';  position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%);  width:60px; height:60px; background: url("file:///Macintosh HD/Users/bobi/Documents/case/2021/05-啟德/html/images/icon/play-btn.svg") no-repeat; background-size: contain;}
.cms-btn-play:hover .rotate2 {  -webkit-animation: rotate 1s linear infinite;animation: rotate 1s linear infinite;}
.cms-btn-play .rotate1,.cms-btn-play .rotate2 { -webkit-transform: translate(5px, 5px); -ms-transform: translate(5px, 5px);transform: translate(5px, 5px);}
.cms-btn-play .rotate2 { stroke-dashoffset: 110; stroke-dasharray: 360; -webkit-transform-origin: center center; -ms-transform-origin: center center; transform-origin: center center; -webkit-transform: rotate(-90deg) translate(5px, 5px); -ms-transform: rotate(-90deg) translate(5px, 5px); transform: rotate(-90deg) translate(5px, 5px);}
.cms-btn-play-bg{width: 116px; height: 116px;}
.cms-btn-play .bg {  opacity: .85;}

@-webkit-keyframes rotate {
  0% {  -webkit-transform: rotate(-90deg) translate(5px, 5px); transform: rotate(-90deg) translate(5px, 5px);}
  100% { -webkit-transform: rotate(270deg) translate(5px, 5px);transform: rotate(270deg) translate(5px, 5px);}
}

@keyframes rotate {
  0% { -webkit-transform: rotate(-90deg) translate(5px, 5px);transform: rotate(-90deg) translate(5px, 5px); }
  100% { -webkit-transform: rotate(270deg) translate(5px, 5px);transform: rotate(270deg) translate(5px, 5px);}
 }


.cms-btn-m{ width: 100%; max-width:250px;  }
 

/*cms-btn-more =================================*/ 
.cms-next-button {  width: auto; height: 35px; padding: 20px 50px; position: relative; 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: space-between; cursor: pointer;  border-radius:30px; background-color:#e9494a; transition: all 0.3s ease; }
 .cms-next-button:hover{ background:#bfa3a3; box-shadow: 0px 5px 5px rgba(191,163,163,.3); }
.cms-next-button:hover .cms-icon-wrap{ transform:translate3d(30px, 0px, 0px)}
.cms-next-button-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}

.cms-icon-wrap{ display: flex;flex-wrap: wrap; position: relative; transition: all 0.3s ease; }
.cms-next-button-circle { width: 30px; height: 30px;  position: relative; display: block; margin-left: 50px; 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}
 .cms-next-button i { font-size: 1.5rem; color: #fff;  position: absolute; top:-4px; right: 0px; margin: 5px auto ; -webkit-transition: -webkit-transform .2s;  transition: -webkit-transform .2s; transition: transform .2s; transition: transform .2s, -webkit-transform .2s}



@media (max-width:767.98px) {
.cms-next-button { width: auto; height: 24px }
.cms-next-button-txt { font-size: 14px; line-height: normal; letter-spacing: normal }
.cms-next-button-circle { width: 24px; height: 24px;  }
.cms-next-button i { font-size: 1.15rem;   top:-4px; margin: 5px auto ;}  
    
}
 





/*----------------------------------------/
  ul style 自訂樣式
----------------------------------------*/
.cms-dot{ width: 100%;  display: block; margin: 5px 0px; }
.cms-dot li{ width: 100%; display: block; padding: 3px 15px; margin: 0px; font-size:1rem; line-height:1.75rem; font-weight:400;  background: url(../images/icon/dot.svg) no-repeat left 12px; background-size:6px;}
.cms-arrow{ width: 100%; display: block; margin: 1.5% auto; }
.cms-arrow li{ width: 100%; display: block; padding:1px 0 10px 15px; font-size:15px; line-height:1.4em; font-weight:400; background: url(../images/icon/arrow-right.svg) no-repeat left 8px; background-size:8px;}
.cms-decimal { list-style-position: outside; list-style-type: decimal; padding-left: 15px;}
.cms-decimal li{margin-bottom: 10px; font-size:15px; line-height:1.5em; font-weight:400;  }

/*----------------------------------------/
 tag 自訂樣式
----------------------------------------*/

.new-tag { display: flex; flex-wrap: wrap; flex-direction: row; width: 100%; 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;   }
.new-tag-wrap { display: flex; flex-wrap: wrap; justify-content:center;  flex-direction: row; width: 100%; margin: 20px 0px; }
.new-tag-wrap a.new-tag-tcategory{ width:auto;  padding:5px 20px; margin: 2px 8px; font-size:1.063rem; font-weight: 400; text-align: center;  border-radius:20px 0px 20px 0px;  }
.new-tag-tcategory{ width: auto;max-width: 100%; font-size: 14px; font-weight: 400; line-height: 1.57; letter-spacing: normal; position: relative; padding:2px 8px; margin: 2px; color: #fff; border-color:transparent; -webkit-transition: background-color .2s,color .2s,border-color .2s; transition: background-color .2s,color .2s,border-color .2s;}
.new-tag-tcategory:hover{ color: #fff; background:#333;  }
#cms-main a.new-tag-tcategory{ color:#fff;  }
#cms-main a.new-tag-tcategory:hover{ color: #fff; box-shadow: 0 2px 3px rgba(0, 0, 0, .5); }
.new-tag-01{ background:#e94949; }
.new-tag-02{background:#ff8885;}
.new-tag-03{background:#bfbfbf;}






.cms-table-scroll { overflow-x: auto; }
 /*--------form style------------*/
#cms-main label{ font-size:.9rem; }
 input, option, textarea, input[type="radio"]{ line-height:2rem;  padding-left:15px;  font-size:0.875rem; color: #000;background-color:#f7f7f7;border: 1px solid #f7f7f7;border-radius:5px;  }
input[type="radio"]+label, input[type="checkbox"]+label { width:auto; box-sizing: border-box; padding: 5px 5px 0px 5px; }

 
 *:focus { outline: none; }
/* placeholder ---*/
input::placeholder {  font-size:0.875rem;  }
input:focus, textarea:focus { outline: none;  }
input:focus:placeholder { color: transparent;  }
input:focus::-webkit-input-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; }
input:focus::-moz-placeholder { color: transparent; }
input:focus:-ms-input-placeholder { color: transparent; }
select{min-height:2rem; line-height:2rem;  padding-left:15px;  font-size:0.875rem; color: #000;background-color:#f7f7f7;border: 1px solid #f7f7f7;border-radius:0px;  }
/*IE --*/ 

select::-ms-expand {display: none; }
select:focus{ box-shadow: 0 0 5px 2px #467BF4;    }
input, button, select, textarea { outline: none; }
