﻿.news-page-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    background-color: #f5f5f5;
}
.news-page{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 40px 160px;
    background-color: #fff;
}
.news-page-info-data{
    font-family: 'Poppins', "微軟正黑體";
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 1px;
    color: #888;
}
.news-page-info-title{
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 2px;
    margin-top: 15px;
    margin-bottom: 40px;
}
.news-page-info-img{
    text-align: center;
}
.news-page-info-edit{
    font-size: 16px;
    color: #555;
    line-height: 2;
    letter-spacing: 1px;
    margin: 40px 0;
}
.news-page-info-btn{
    display: block;
    margin: 0 auto;
    width: 180px;
    border: 1px solid #d1d1d1;
    text-align: center;
    font-size: 18px;
    line-height: 60px;
    color: #555;
    letter-spacing: 1px;
    font-family: 'Poppins',"微軟正黑體";
    font-weight: 200;
    transition: all .3s linear; 
    position: relative;
    z-index: 3;
}
.news-page-info-arrow{
    font-size: 20px;
    font-family: 'Poppins', "微軟正黑體";
    font-weight: 300;
    color: #555;
    transition: all .3s linear; 
}
.news-page-info-arrow i{
    margin: 0 10px;
}
.news-page-info-arrow-box{
    width: 100%;
    position: absolute;
    top: 50%;    
}
.news-page-info-arrow-all{
    width: 1560px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.next-arrow{
    float: right;
}

/*----------hover----------*/
.news-page-info-btn:hover{
    background-color: #61942d;
    color: #fff;
    letter-spacing: 4px;
}
.news-page-info-arrow:hover{
    color: #61942d;
}




@media only screen and (max-width: 1200px){
    .news-page{
        width: 1000px;
    }
    .news-page-info-arrow-all{
        width: 1000px;
    }
}
@media only screen and (max-width: 800px){
    .news-page{
        width: 100%;
        padding: 40px;
    }
    .news-page-info-arrow-box{
        top: initial;
        bottom: 55px;
        box-sizing: border-box;
        padding: 0 40px;
    }
}
@media only screen and (max-width: 600px){
    .news-page{
        padding: 30px;
    }
    .news-page-info-arrow-box{
        bottom: 45px;
        padding: 0 30px;
    }
    .news-page-info-btn{
        width: 120px;
        font-size: 14px;
        line-height: 50px;
    }
    .news-page-info-title{
        font-size: 20px;
    }
    .news-page-info-data{
        font-size: 12px;
    }
    .news-page-info-edit{
        font-size: 14px;
    }
    .news-page-info-arrow{
        font-size: 16px;
    }
}
@media only screen and (max-width: 400px){
    .news-page{
        padding: 20px;
    }
    .news-page-info-arrow-box{
        bottom: 30px;
        padding: 0 20px;
    }
    .news-page-info-title{
        font-size: 18px;
        margin-bottom: 20px;
    }
    .news-page-info-btn{
        line-height: 40px;
    }
    .news-page-info-edit{
        margin: 20px 0;
    }
}



/*animation*/
/*<-------------動畫------------->*/

@media only screen and (min-width: 1001px){
    .news-page-info-data,
    .news-page-info-title,
    .news-page-info-img,
    .news-page-info-edit,
    .news-page-info-btn,
    .prev-arrow{
        opacity: 0;
    }
    .news-page-info-data.active{
        animation: animation_rtol 1s ease both;
    }
    .news-page-info-title.active{
        animation: animation_fade 1s ease .1s both;
    }
    .news-page-info-img.active,
    .news-page-info-edit.active{
        animation: animation_btot 1s ease both;
    }
    .news-page-info-btn.active{
        animation: animation_ttob 1s ease both;
    }
    .prev-arrow{
        animation: animation_rtol 1s ease both;
    }
    .next-arrow{
        animation: animation_ltor 1s ease both;
    }
}