﻿ /*-------------------*/
/***** 最新消息 *****/
/*------------------*/
.title-style h1{   text-align: center;   }

.main-news{ padding-bottom: 50px;}
.news-list{width: 100%; margin: 10px auto;  padding:10px 0px; display: flex;  flex-wrap: wrap; position: relative; z-index: 1; }
.news-list li{ width: calc(100%/2 - 60px); padding:0px; margin:40px 30px; box-sizing: border-box; list-style: none;transition: all 0.5s ease 0s; position: relative;  }
.news-list figure img { max-width:100%; height: auto;   transition: all 0.5s ease-in-out;   }
.news-list figure  { width:100%; height: auto; object-fit: cover; margin: auto; display: flex; flex-wrap: wrap;  position: relative;  overflow: hidden;  transition: all 0.5s ease-in-out;}
.news-list figure:hover img {filter:opacity(.8) brightness(.5); }
.news-list .news-item  {width:100%; height: auto; padding: 0px; display: flex;  flex-wrap: wrap; align-content: stretch;   }
.list-date { width: 95px; height: 95px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;  padding:0px;  position: absolute;z-index: 1; left:0px; top:-30px; background: #009A90;  }
.list-date .month { color: #fff;  font-size: 1rem;font-weight:700; } 
.list-date .day { color: #fff;  font-size: 2.15rem;font-weight:700; } 

.news-list .news-pic  {width:45%; height: auto; padding: 0px;   }
.news-list .news-box{position: relative;width: 55%; height: auto; margin: 0px;padding:0px 0px 0px 30px; box-sizing: border-box;     }
.news-list h3 {position: relative;width: 100%; height: auto;  margin:0px 0px 15px 0px; font-size:1.75rem; line-height:2rem; font-weight:500; letter-spacing:3px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow-wrap: break-word; }
.news-list a h3 { color:#1F100B; }
.news-list a h3 :hover{ color:#E44029!important; }
.news-list p{ width: 100%;margin-bottom: 10px; font-size:1.15rem; line-height: 1.875rem; color:#888; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow-wrap: break-word; }

.listBox{width:100%;height: calc(100% - 50px);  padding:0px;  }
.news-list .news-box .view{  height: 50px;   }
a.view{width: 100%;   height: auto;   display: block; color: #fff!important;font-weight:700;   padding:10px 40px; text-align: center;  background-color:#EA5626;  position: relative;}
a.view:hover{ background: #E33C0B; }



@media (max-width:1280px) {
.news-list li{ width: calc(100%/2 - 30px); padding:0px; margin:40px 15px;   }
.news-list h3 { font-size:1.5rem;  }
.news-list p{  font-size:1rem; line-height: 1.5rem;   }
.news-list .news-pic  {width:50%; padding: 0px;   }
.news-list .news-box{ width: 50%;  margin: 0px;padding:0px 0px 0px 30px;    }
}
@media (max-width:992px) {
.news-list li{ width: calc(100%/2 - 20px); padding:0px; margin:40px 10px;}
.list-date {  transform: scale(.8); left:-10px; top:-30px;}
.news-list h3 { font-size:1.35rem;   line-height:1.5rem; }
}
@media (max-width:840px) {
.news-list li{ width: calc(100% - 20px); padding:0px; margin:40px auto;}
.list-date {  transform: scale(.8); left:-10px; top:-30px;}
.news-list h3 { font-size:1.35rem;   line-height:1.5rem; }
}
@media (max-width:767.98px) {
.main-news{ padding: 50px 0px;}
.news-list li{ width: 100%; padding:0px; margin:40px auto;}
.news-list .news-pic  {width:100%; padding: 0px;   }
.news-list .news-box{ width: 100%;  margin:10px 0px 0px  0px;padding:0px;    }
.news-list .news-box .view{ width: 50%; height: 50px;   }

}

/* Sweep To Right */
.hvr-sweep-to-right { cursor: pointer; display: inline-block; position: relative; vertical-align: middle;  -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; -webkit-transition-property: color; transition-property: color; -webkit-transition-duration: 0.3s; transition-duration: 0.3s;}
.hvr-sweep-to-right:before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; background: #000!important; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: 0 50%; transform-origin: 0 50%;  -webkit-transition-property: transform; transition-property: transform; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out;}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active { color: #fff!important;}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before { -webkit-transform: scaleX(1); transform: scaleX(1);}



/*  詳細頁樣式*/
.main-post-wrap{ width: 100%;  padding: 0px 40px 100px 40px; margin:0px auto;  color: #1F100B;  }
.main-post{width: 100%;margin: 0px 0px 30px 0px; padding:20px 0px;    line-height: 2rem; display: flex; flex-wrap: wrap;   word-break: break-all; }
.main-post p a{ color: #1F100B; }
.main-post p a:hover{ color: #a01f35; }
.main-post-head{width: 100%;margin:0px; padding:120px 0px  0px 0px;  display: flex; flex-wrap: wrap; flex-direction: column; justify-content: space-between; word-break: break-all;  background: url("../images/index/line.png") no-repeat right top; background-size: 100%  75px; }
.main-post-head-txt{ width:100%;padding:0px; margin:20px 0px; position: relative; display: flex; flex-wrap: wrap; align-self: center;  border-bottom: 1px solid #ebebeb;}
.main-post-head-txt h1{ width: 100%; font-size:3rem;  color: #1F100B;   font-weight:500;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: normal; overflow-wrap: break-word;   }

.main-post-time{ width:120px;display: flex; flex-wrap: wrap; justify-content: center; background: #009A90;  }
.main-post-time time{ margin:0px; padding:5px 10px;color: #fff;font-size:1rem; text-align: center; font-weight:700; display: block;  position: relative;   }
.main-post-time time b{ font-weight: 700; font-style: italic;  display: block;}
.main-post-time span { position: relative;    }
  

.main-post-head-txt .new-tag{ position: relative; display: flex;  align-self: center; margin-right: 25px; font-weight: 700;  }
.main-post-info{ width: 30%;margin-top: 20px; display: flex;  flex-wrap: wrap;justify-content: flex-start; font-size: 1rem;}
.main-post-info .social-icons { width: auto; margin: 0px; padding: 0px; display: flex; flex-wrap: wrap; }
.main-post-info .social-icons li {position: relative; z-index: 1;  display: flex;  align-items: center; justify-content: center;  text-align: center;  width: 20px; height: 20px;  margin-left:3px; font-size: 18px; background: #000;   border-radius:99rem;  }
.main-post-info .social-icons li i{ color:#000; transform: scale(.5); }
.main-post-btn{ width:auto; margin: 0px; padding:0px;  display: flex; justify-content: flex-end;  }
.main-txt{width: 100%; display: block;}
.main-txt p{ width: 100%; font-size: 1.375rem;   line-height: 2.5rem; margin: 5px 0px;   color: #1F100B; word-break: normal; display: block;  }
.main-post h3{margin:15px 0;text-align: left; font-size: 1.75rem; font-weight:400; line-height: 2.5rem;}
@media (max-width:1280px) {
 .main-post-head{  background-size: 100%  45px; }
   
 .main-post-head-txt h1{ font-size:2rem; }   
}
@media (max-width: 991.98px) {
.main-post{ width: 100%; padding: 0px; }    
.main-post-time{ width:36%;}
 .main-post-info{ width:100%; justify-content: flex-start; }
.main-post-head .main-post-btn{width:100%; }
.main-post h3{  font-size:100%; font-weight: 700;  }     
}
@media (max-width: 767.98px) {
.main-post-head{  background:none;padding: 20px 0px 0px 0px; margin-bottom: 10px; } 
.main-post-wrap{ padding: 20px 0px; }
.main-post-head-txt h1 {width: 100%; font-size:26px; letter-spacing: 1px;}
.main-post h2{ font-size:120%; font-weight: 700; line-height: 1.875rem; }     
.main-post-pagination h2 {display: none;}
.main-txt p{ font-size: 1rem; line-height: 1.875rem;   }
    
}
.main-post-txt {width: 100%; max-width: 1100px; margin:0px 15px; display: flex; flex-wrap: wrap;    }
.main-post-pagination{ padding: 0; margin:60px auto 0px auto; display: flex;justify-content: center; width:100%;   }
.main-post-pagination h2 {  font-size: 1rem; font-weight: 700;  color:#000; position: relative;width: 100%;   line-height: 1.5rem;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;}
.main-post-pagination h2:after { display: block; content: ''; width: 0; height:1px;  background:#000; transition: all .3s ease;}
.main-post-pagination h2:hover:after { width: 100%; }
.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;}
.main-post-pagination .prev { padding-right: 12px; } 
.pagination-text{padding-bottom: 3px;font-size: 1rem;font-weight: 700;  color: #888; text-transform: uppercase; transition: all 0.5s; position: relative;width: 100%; line-height: 1.5rem;  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: break-word;} 
.pagination-text:hover{color: #00a0e8;  }
.pagination-text:after { display: block; content: ''; width: 0; height:1px;  background:#00a0e8; transition: all .3s ease;}
.pagination-text:hover:after { width: 100%; }
.prev .news-btn {  margin-left: auto;}
.prev .news-btn:before {  order: 1;}
.prev .news-btn:after {  border-width: 5px 5px 5px 0;}
.prev:hover h2,.next:hover h2{ color:#888;}
.next { padding-left: 12px; justify-content: flex-end;}
.next .news-btn { order: 0; margin-right: auto;}
.next h2 { order: 1;}
.next .main-post-time {order: 2;}
.news-btn { cursor: pointer; width: 35px;  height: 20px; position: relative; display: flex; align-items: center;}
.news-btn:before { content: ''; width: 30px; height: 1px; background-color: #31315e; display: block;}
.news-btn:after { content: ''; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 5px; border-color: transparent #31315e; display: block;}
 
.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:#000; border: solid 1px #000; border-radius:30px; }
.btn-back a{color:#fff!important;}
.btn-back:before,.btn-back::after{  content: ''; width: 30px; height:1px; background:#fff;-moz-transition: ease 0.3s; -o-transition: ease 0.3s; -webkit-transition: ease 0.3s;  transition: ease 0.3s;  }
.btn-back:before { margin-right: 20px; margin-left: 5px;}
.btn-back:after { margin-left: 20px; margin-right: 5px;}
.btn-back a:hover { color:#fff!important; }
.btn-back:hover { color:#fff!important;  background:#00a0e8;border-color:#00a0e8;  }
.btn-back:hover:before{ background:#fff; -moz-transform: translateX(20%); -ms-transform: translateX(20%); -webkit-transform: translateX(20%); transform: translateX(20%);  }
.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) {
.btn-back  { font-size:.875rem; padding:5px  10px;}  
.btn-back:before,.btn-back::after{ display: none; }
}