﻿.news-box{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding-bottom: 80px;
}
.news-search-box{
    position: absolute;
    right: 0;
    top: 32%;
    width: 180px;
}
.news-search{
    width: 100%;
    border: 1px solid #ccc;
    height: 20px;
    box-sizing: border-box;
    padding: 0 5px;
}
.news-search-box i{
    font-size: 12px;
    position: absolute;
    right: 5px;
    top: 47%;
}
.news-list-box{
    font-size: 0;
}
.news-list{
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #d1d1d1;
}
.news-list-img-box{
    width: 200px;
    max-width: 100%;
    height: 200px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}
.news-list-info-box{
    padding-left: 10px;
    box-sizing: border-box;
    display: inline-block;
    width: calc(100% - 200px);
    vertical-align: middle;
}
.news-list-img{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .5s ease;
}
.news-list-info-time{
    font-size: 14px;
    font-family: "Arial";
    color: #555555;
    display: block;
    margin-bottom: 5px;
}

.news-list-info-title{
    font-size: 16px;
    color: #661118;
    display: block;
    margin-bottom: 5px;
    transition: all .5s ease;
}
.news-list-info-article{
    font-size: 14px;
    height: 44px;
    overflow: hidden;
    color: #000;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: all .5s ease;
}

.news-page-back{
    display: inline-block;
    position: relative;
    font-size: 18px;
    color: #661118;
    font-family: "Arial";
    margin-bottom: 20px;
    transition: all .5s ease;
}
.news-page-back:after{
    content: 'none';
    font-size: 0;
    width: 100%;
    height: 1px;
    display: block;
    background-color: #661118;
    position: absolute;
    bottom: 0;
    left: 0;
}
#news-page .news-box,
#news-arrival-page .news-box{
    margin-top: 80px;
}

.news-page-title{
    font-size: 50px; 
    margin-bottom: 5px;
}

.news-page-time{
    font-size: 14px;
    color: #555;
    display: block;
    transform: skewX(-10deg);
}
.news-page-line{
    width: 100%;
    height: 1px;
    display: block;
    background-color: #d1d1d1;
    margin: 20px 0;
}
.news-page-info-article{
    font-size: 20px;
    font-family: "Arial","微軟正黑體";
    margin-bottom: 20px;
    color: #555;
}
.news-page-edit-box{
    margin: 20px 0;
    font-size: 20px;
    color: #555555;
    font-family: "Arial","微軟正黑體";
}



/*-------------------------------------------*/
.news-arrival-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    padding-bottom: 80px;
}
.news-arrival-title{
    font-size: 32px;
    color: #661118;
    font-family: "Times new Roman","Arial","微軟正黑體";
    text-align: center;
    padding: 30px 0;
}
.news-arrival-first-list-box{
    width: 100%;
    display: block;
    margin-bottom: 45px;
    position: relative;
    transition: all .5s ease;
}
.news-arrival-first-img-box{
    width: 1000px;
    max-width: 100%;
    height: 700px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}
.news-arrival-first-article-box{
    width: calc(100% - 1000px);
    display: inline-block;
    vertical-align: top;
    padding-top: 30px;
    box-sizing: border-box;
    padding-left: 20px;
}
.news-arrival-first-article-title{
    font-size: 32px;
    color: #661118;
    font-family: "Times new Roman","Arial","微軟正黑體";
    
}
.news-arrival-article-time{
    font-size: 12px;
    font-family: "Arial","微軟正黑體";
    color: #555;
    display: block;
}
.news-arrival-first-article{
    font-size: 16px;
    font-family: "Arial","微軟正黑體";
    color: #000;
}
.news-arrival-list-box{
    width: 100%;
    display: block;
    padding: 32px;
    box-sizing: border-box;
    background-color: #f5f5f5;
}

.news-arrival-list{
    width: 360px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    padding: 20px;
    box-sizing: border-box;
    background-color: #FFF;
    margin-right: 32px;
    margin-bottom: 32px;
    position: relative;
}
.news-arrival-list-img-box{ 
    height: 320px;
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}
.news-arrival-article-title{
    font-size: 16px;
    color: #661118;
    font-family: "Times New Roman","Arial","微軟正黑體";
    margin-bottom: 5px;
    transition: all .5s ease;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news-arrival-article{
    font-size: 14px;
    color: #555555;
    font-family: "Arial","微軟正黑體";
    height: 66px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.news-arrival-list-border{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #661118;
    opacity: 0;
    transition: all .5s ease;
}
.news-arrival-icon-box {
    width: 40px;
    height: 40px;
    max-width: 100%;
    display: none;
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: 50%;
    background-color: #661118;
    color: #FFF;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    z-index: 2;
}
.news-arrival-newsicon-active .news-arrival-icon-box {
    display: block;
}
@media only screen and (min-width: 1000px){
    .news-arrival-list,
    .news-page-info-img-box,
    .news-list{
        opacity: 0;
    }
    .news-arrival-list:nth-child(4n+4){
        margin-right: 0;
    }
    .news-arrival-title{
        animation: fadeInUp .8s ease 0s 1 both;
    }
    .news-arrival-first-img-box{
        animation: fade .5s ease 0s 1 both;
    }
    .news-arrival-first-article-box{
        animation: fadeInRight .8s ease .2s 1 both;
    }
    .news-arrival-list.active{
         animation: fadeInUp .8s ease 0s 1 both;
    }
    .news-page-back{
        animation: fade .8s ease 0s 1 both;
    }
    .news-page-title,
    .news-page-time,
    .news-page-line{
        animation: fade .8s ease .2s 1 both;
    }
    .news-page-info-img-box,
    .news-page-info-article,
    .news-page-edit-box{
        animation: fade .8s ease .4s 1 both;
    }
    .news-list:hover .news-list-img{
        transform: scale(1.1);
    }
    .news-list:hover{
        background-color: #d1d1d1;
    }
    .news-list:hover .news-list-info-title{
        font-weight: bold;
    }
    .news-page-back:hover{
        color: #661118;
        letter-spacing: 1px;
    }
    .news-arrival-list:hover .news-arrival-list-border{
        opacity: 1;
    }
/*    .news-arrival-first-list-box:hover .news-arrival-list-border{
        opacity: 1;
    }*/
    .news-arrival-first-list-box:hover .main-bg,
    .news-arrival-list:hover .main-bg{
        transform: scale(1.1);
    }
    .news-arrival-first-list-box:hover{
        background-color: #f5f5f5;
    }
    .news-list.active{
        animation: fadeInUp .8s ease 0s 1 both;
    }

}
@media only screen and (max-width: 1600px){
    .news-arrival-box{
        width: 1400px;
    }
    .news-arrival-first-img-box{
        width: 900px;
        height: 630px;
    }
    .news-arrival-first-article-box{
        width: calc(100% - 900px);
    }
    .news-arrival-list-box{
        padding: 25px;
    }
    .news-arrival-list{
        width: 318px;
        margin-right: 25px;
        margin-bottom: 25px;
    }
    .news-arrival-list-img-box{
        height: 278px;
    }
}
@media only screen and (max-width: 1400px){
    .news-arrival-box{
        width: 1300px;
    }
    .news-arrival-first-img-box{
        width: 800px;
        height: 560px;
    }
    .news-arrival-first-article-box{
        width: calc(100% - 800px);
    }
    .news-arrival-list-box {
        padding: 20px;
    }
    .news-arrival-list{
        width: 300px;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .news-arrival-list-img-box{
        height: 260px;
    }
}
@media only screen and (max-width: 1300px){
    .news-arrival-box{
        width: 1200px;
    }
    .news-arrival-first-img-box{
        width: 700px;
        height: 490px;
    }
    .news-arrival-first-article-box{
        width: calc(100% - 700px);
    }
    .news-arrival-list{
        width: 275px;
    }
    .news-arrival-list-img-box{
        height: 235px;
    }
}
@media only screen and (max-width: 1200px){
    .news-arrival-box{
        width: 1000px;
    }
    .news-arrival-first-img-box{
        width: 600px;
        height: 420px;
    }
    .news-arrival-first-article-box{
        width: calc(100% - 600px);
    }
    .news-arrival-list {
        width: 231px;
        margin-right: 15px;
        margin-bottom: 15px;
        padding: 10px;
    }
    .news-arrival-list-img-box{
        height: 211px;
        margin-bottom: 10px;
    }
    .news-arrival-article-title{
        margin-bottom: 5px;
    }
    .news-arrival-list-box{
        padding: 15px;
    }
}
@media only screen and (max-width: 1000px){
    
    .news-box{
        width: 95%;
        margin-top: 63px;
    }
    .news-arrival-box{
        width: 750px;
        margin-top: 63px;
    }
    .news-arrival-first-img-box{
        width: 500px;
        height: 350px;
    }
    .news-arrival-first-article-box{
        width: calc(100% - 500px);
    }
    .news-arrival-first-article-title{
        font-size: 24px;
    }
    .news-arrival-first-article-box{
        padding-top: 15px;
        padding-left: 15px;
    }
    .news-arrival-first-article-title{
        margin-bottom: 10px;
        max-height: 76px;
        overflow: hidden;

    }
    .news-arrival-first-article{
        max-height: 225px;
        overflow: hidden;
    }
    .news-arrival-list{
        margin: 0;
        margin-bottom: 15px;
    }
    .news-arrival-list:nth-child(3n+2){
        margin: 0 15px;
    }
    .news-arrival-list{
        width: 230px;
    }
    .news-page-title{
        font-size: 30px;
    }
}
@media only screen and (max-width: 750px){
    .news-box{
        margin-top: 47px;
    }
    .news-arrival-box{
        margin-top: 47px;
    }
    .news-arrival-box{
        width: 550px;
    }
    .news-arrival-first-img-box{
        width: 100%;
        height: 385px;
    }
    .news-arrival-first-article-box{
        width: 100%;
        padding: 10px 0;
    }
    .news-arrival-list:nth-child(3n+2){
        margin: 0 ;
        margin-bottom: 15px;
    }
    .news-arrival-list:nth-child(even){
        margin-left: 15px ;
    }
    .news-arrival-list {
        width: 252px;
    }
    .news-arrival-list-img-box{
        height: 232px;
    }
}

@media only screen and (max-width: 550px){
    .news-arrival-box{
        width: 340px;
    }
    .news-arrival-first-img-box{
        height: 238px;
    }
    .news-arrival-list{
        width: 100%;
    }
    .news-arrival-list:nth-child(even){
        margin-left: 0px ;
        margin-bottom: 15px;
    }
    .news-arrival-list-img-box{
        height: 290px;
    }
    #news .news-box{
        width: 340px;
    }
    .news-list-img-box{
        width: 100%;
        height: 340px;
        display: block;
    }
    .news-list-info-box{
        width: 100%;
        display: block;
        margin-top: 10px;
    }
    .news-page-title{
        font-size: 20px;
    }
    .news-search-box{
        position: relative;
        margin: 0 auto;
    }
    .news-search-box i{
        top: 46%;
    }
}
@media only screen and (max-width: 340px){
    .news-arrival-box{
        width: 300px;
    }
    .news-arrival-list-img-box{
        height: 250px;
    }
}

