body {  background-image: linear-gradient(to bottom, #eee 0, #eee 100%), linear-gradient(to bottom, #eee 0, #eee 100%), linear-gradient(to bottom, #eee 0, #eee 100%), linear-gradient(to bottom, #eee 0, #eee 100%), linear-gradient(to bottom, #eee 0, #eee 100%); background-size: 1px 100%; background-position: 0 0, 25% 0, 50% 0, 75% 0, 100% 0; background-repeat: no-repeat;}


/*--banner裝飾線 --*/
.cms-main-area{  padding-bottom: 50px; background: url("../images/index/bg-dot.svg") repeat-y right top #fff;background-size:45% auto; background-attachment: fixed; }
.cms-top.cms-main-area{margin-top: 20px;}
.circle,.circle-1{display: none;}

.cms-top.cms-main-area .cms-main-breads .breadcrumb{  color:#555;    }
#cms-main .cms-top.cms-main-area .cms-main-breads .breadcrumb li{   color:#555; }
#cms-main .cms-top.cms-main-area .cms-main-breads .breadcrumb li a{ color:#555; ;   }
#cms-main .cms-top.cms-main-area .cms-main-breads .breadcrumb li a:hover{color:#41c1ef}
.cms-top.cms-main-area .breadcrumb-item:first-child::before { -webkit-filter:invert(1);  }
#cms-main .cms-top.cms-main-area .breadcrumb-item+.breadcrumb-item::before{ color:#555}


 /*--分類new-tag --*/
 .new-tag { display: flex; flex-wrap: wrap; align-items: center; width: 80px; padding:2px 8px; font-size: 0.875rem; color: #fff;font-weight: 700;  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: 5px;    }
.new-tag a{color:#fff; text-align: center; }
.new-tag-01{ background:#1bbaee;}

/*--分類小圖示icon--*/
.cms-main-news{ width: 100%;  padding:80px 40px; margin:0px auto; display: flex; flex-wrap: wrap;justify-content: center; align-content: flex-start; align-items: flex-start;  position: relative; z-index: 1; background: url("../images/index/bg-shadow.jpg") no-repeat 10% top; background-size: auto 100%;}
.cms-main-news:before{ content: ""; display: block; position: absolute; left:0px; top:-2px;width:250px; height:250px; clip-path: polygon(0 0, 0% 100%, 100% 0); background:#db0632; z-index: 9; }



.cms-faq{  width: 100%;max-width: 90%;  margin:30px auto; list-style: none; padding:0px; counter-reset: index; background-color: rgba(255,255,255,.85);}
.cms-faq li { display: flex; flex-wrap: wrap; border-bottom: solid 1px #ededf0; counter-increment: index; }
.cms-faq li::before {  content: counters(index, ".", decimal-leading-zero); font-size: 1.5rem; text-align: right;  font-weight: 900;  min-width: 50px; padding-right: 12px; font-variant-numeric: tabular-nums; align-self:center;background-image: linear-gradient(to bottom, #03a9f4, #1f2487); background-attachment: fixed;  -webkit-background-clip: text; -webkit-text-fill-color: transparent;}
.cms-faq li:hover{ background:#f8f7f7;}

#cms-main .cms-faq li.active h3{ color:#1e2587; transition: color 0.5s ease;}
#cms-main .cms-faq li.active { background-color:#f8f9fb; }
#cms-main .cms-faq li > a{width: calc(100% - 60px);}
#cms-main .cms-faq h3 {position: relative; padding:20px; cursor: pointer;font-size: 1.15rem;font-weight:400; color:#333;  transition: color 0.5s ease;}
 
@media screen and (max-width: 767px) {
.cms-faq{  padding-left:0px; padding-right:0px;}    
#cms-main .cms-faq h3 {position: relative;  padding:10px 20px; cursor: pointer;font-size:0.9375rem;font-weight:400; color:#54555a;  }
}
/*  詳細頁樣式*/
.cms-main-post-wrap{ padding: 50px 40px 100px 40px;   }
.cms-main-post{width: 90%;margin: 0px 0px 30px 0px; padding:20px 0px 20px 10%;    line-height: 2rem; display: flex; flex-wrap: wrap;   word-break: break-all; }
.cms-main-post p a{ color: #000; }
.cms-main-post p a:hover{ color: #a01f35; }
.cms-main-post-head{width: 100%;margin: 0px 0px 35px 0px; padding-bottom: 15px;  display: flex; flex-wrap: wrap; justify-content: space-between; word-break: break-all;  border-bottom: 1px solid #ebebeb;}
.cms-main-post-head-txt{ width:80%;padding:0px 0px 20px 0px; margin: 0px; position: relative; display: flex; flex-wrap: wrap; align-self: center;  }
#cms-main .cms-main-post-head-txt h1{ width: 80%; font-size:1.5625rem;   font-weight:700;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: normal; overflow-wrap: break-word;   }
.cms-main-post-head-txt .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.cms-main-post-info{ width: 20%; align-self: center; font-size: 1rem;}
.cms-main-post-info .cms-social-icons { margin: 0px auto; padding: 0px; justify-content:center;  }
.cms-main-post-info .cms-social-icons li {position: relative;  z-index: 1;  display: flex;  align-items: center; justify-content: center;  text-align: center;  width: 30px; height: 30px;  margin-left: 20px; font-size: 18px; color: #cbcbcb; background:#1f2387; border-radius:99rem;  }
.cms-main-post-info .cms-social-icons li i{ color:#cbcbcb; transform: scale(.75); }
.cms-main-post-info .cms-social-icons li:hover{opacity: .5;}
.cms-main-post-btn{ width:auto; margin: 0px; padding:0px;  display: flex; justify-content: flex-end;  }
#cms-main .cms-main-post p{ width: 100%; line-height: 2rem; margin: 5px 0px; word-break: normal; display: block;  }
.cms-main-post h3{margin:15px 0;text-align: left; font-size: 1.75rem; font-weight:400; line-height: 2.5rem;}
.cms-main-post-time time{ margin: 0; padding: 0; color:#000; font-size: 1.5rem; font-weight:700; display: block;  position: relative;   }
.cms-main-post-time time b{   font-weight: 700; font-style: italic;  display: block;}
.cms-main-post-time span { position: relative; display:  block; padding: 0 15px; height: 30px;}
.cms-main-post-time time span:before {  content: ""; position: absolute; top: 50%; left: calc(50% - 15px); width: 30px; height: 1px; background-color: #000; -webkit-transform: rotate( -45deg ); transform: rotate(-45deg);}
@media (max-width: 991.98px) {
.cms-main-post-wrap{ padding: 50px 0px 100px 0px;}
.cms-main-post{ width: 100%; padding:10px 0px; }    
.cms-main-post-head .cms-main-post-head-txt{ width:100%; padding: 0px 10px;  }
.cms-main-post-info .new-tag,.cms-main-post-info .cms-social-icons{ width:100%; justify-content: flex-start; }
.cms-main-post-head .cms-main-post-btn{width:30%; }
.cms-main-post-info{ width:70%; }
.cms-main-post h3{  font-size:100%; font-weight: 700;  }     
}
@media (max-width: 767.98px) {
.cms-top.cms-main-area{margin-top: 0px;}
.cms-top.cms-main-area .cms-main-content{padding:0px 0px 40px 0px;}
.cms-main-post-wrap{ padding:0px 0px 20px 0px; }
#cms-main .cms-main-post-head-txt h1 {font-size: 1.25rem;}
.cms-main-post h2{  font-size:120%; font-weight: 700; line-height: 1.875rem; }     
.cms-main-post-pagination h2 {display: none;}
}
.cms-main-post-txt {width: 100%; max-width: 1100px; margin:0px 15px; display: flex; flex-wrap: wrap;    }
.cms-main-post-pagination{ padding: 0; margin:60px auto 0px auto; display: flex;justify-content: center; width:100%;   }
.cms-main-post-pagination h2 {  font-size: 0.9rem; font-weight: 400;  color:#000; position: relative;width: 100%;   line-height: 1.5rem; letter-spacing: .18em;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;}
.cms-main-post-pagination h2:after { display: block; content: ''; width: 0; height:1px;  background:#000; transition: all .3s ease;}
.cms-main-post-pagination h2:hover:after { width: 100%; }
.cms-main-post-pagination > div { cursor: pointer; width:calc(100%/3 ) ; position: relative;  display: flex; flex-wrap: wrap; justify-content: center; align-self: center; transition: all 0.5s;}
.cms-main-post-pagination .cms-prev { padding-right: 12px; } 
.cms-pagination-text{padding-bottom: 3px;font-size: 0.75rem; color: #888; text-transform: uppercase; transition: all 0.5s; position: relative;width: 100%;   line-height: 1.5rem; letter-spacing: .18em;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;} 
.cms-pagination-text:hover{color: #a01f35;  }
.cms-pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#a01f35; transition: all .3s ease;}
.cms-pagination-text:hover:after { width: 100%; }
.cms-prev .cms-news-btn {  margin-left: auto;}
.cms-prev .cms-news-btn:before {  order: 1;}
.cms-prev .cms-news-btn:after {  border-width: 5px 5px 5px 0;}
.cms-prev:hover h2,.cms-next:hover h2{ color:#888;}
.cms-next { padding-left: 12px; justify-content: flex-end;}
.cms-next .cms-news-btn { order: 0; margin-right: auto;}
.cms-next h2 { order: 1;}
.cms-next .cms-main-post-time {order: 2;}
.cms-news-btn { cursor: pointer; width: 35px;  height: 20px; position: relative; display: flex; align-items: center;}
.cms-news-btn:before { content: ''; width: 30px; height: 1px; background-color: #31315e; display: block;}
.cms-news-btn:after { content: ''; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 5px; border-color: transparent #31315e; display: block;}
.cms-btn-back { width:auto; color:#6c7280!important; font-weight: 400;  padding: 10px 0px; 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;background:#1f2387; border: solid 1px #1f2387; border-radius:30px; }
.cms-btn-back a{color:#fff!important;}
.cms-btn-back:before,.cms-btn-back::after{  content: ''; width: 30px; height:1px; background:#6c7280;-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;}
.cms-btn-back a:hover { color:#fff!important; }
.cms-btn-back:hover { color:#fff!important; }
.cms-btn-back:hover:before{ background:#fff; -moz-transform: translateX(20%); -ms-transform: translateX(20%); -webkit-transform: translateX(20%); transform: translateX(20%);  }
.cms-btn-back:hover:after{ background:#fff;-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-main .editor p { font-size: 18px; font-weight: 400;  line-height: 2; letter-spacing: 1.2px; margin:15px 0; width: 100%;}


/*editor style*/
.cms-main-txt{width: 100%; max-width: 960px; margin:0; padding: 30px 0px 0px 0px; display: flex; flex-wrap: wrap; position: relative; z-index: 1;}