/*清樣式*/
@import url('normalize.css');
/*仿宋體字型*/

@import url(https://fonts.googleapis.com/earlyaccess/cwtexfangsong.css);

/*思源黑體*/
@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);

@import url('default.css');

/*輪播banner*/
@import url('slick.css');

/*------------------------- 修改刊頭 --------------------------------*/

.page
{
    padding: 0  0 30% 0;
    width: 100%;
    /*background: url('../images/001.jpg') no-repeat center 20%;*/
    background-size: cover;
}

.page-00
{
    background: url('../images/page/000.jpg') no-repeat center 0;
    background-size: contain;
}
.page-01
{
    background: url('../images/page/001.jpg') no-repeat center 0;
    background-size: cover;
}

.page-02
{
    background: url('../images/page/002.jpg') no-repeat center top;
    background-size: cover;
}

.page-04
{
    background: url('../images/page/004.jpg') no-repeat center top;
    background-size: cover;
}


/*------------------------- 00_menu-top --------------------------------*/

.menu-top
{
    margin: 0 auto;
    padding: 8px 15px;
    z-index: 99;
    width: 100%;
    height: 50px;
}
.menu-top img
{
    max-width: 140px;
}

/*------------------------- 02_hotnews --------------------------------*/


.icon-hot2
{
    margin: 3% 0 6%;
    transform: scale(.8);
    text-align: center;
}

.headline
{
    margin: 0 10px;
}

.headline li:nth-child(1)
{
    display: block;
    position: relative;
    float: right;
    width: 50%;
    max-height: 405px;
    overflow: hidden;
}

.scale
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow: hidden;

}

.scale img
{
    width: 100%;
    transition: all .8s;
    transform: scale(1);
    transform-origin: 50% 50%;
    -webkit-filter:brightness(1);
}

.scale img:hover
{
    transition: all 1s;
    transform: scale(1.06);
    transform-origin: 50% 50%;
    -webkit-filter:brightness(1.1);
}

.headline li:nth-child(2)
{
    margin: 0 20px 0 0;
    padding: 0 0 0 17%;
    float: left;
    float: left;
    width: 45%;
    background: url('../images/icon-hot.png') no-repeat  20% 10%;
}

.headline-padding
{
    margin: 0 auto;
    padding: 0 0;
    text-align: justify;
}

.headline-padding h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.headline-date
{
    display: block;
    margin: 10px 0 0 0;
    color: #787878;
    font-size: 13px;
}


@media screen and (max-width:768px)
{
    .scale
    {
        display: right;
    }

    .headline
    {
        margin: 0 auto 5%;
    }

    .headline li:nth-child(1)
    {
        width: 100%;
        /*float: none;*/
    }

    .headline li:nth-child(2)
    {
        margin: 0 0 0 0;
        padding: 0 0 0 0;
        float: right;
        width: 100%;
        background: transparent;
    }

    .headline-padding
    {
        padding: 3% 7% 0;
    }
}



/*------------------------- 03_thumbnail --------------------------------*/

.list
{
    margin: 5% auto 0;
}

.list li
{
    margin: 0 0 5% 0;
    padding: 0 0 0 3%;
    float: left;
    width: 33%;
    max-height: 500px;
}

.list-img
{
    position: relative;
    width: 100%;
    height: 207px;
}

.list-padding
{
    margin: 0 auto;
    padding: 15px;
    text-align: justify;
}

.list-padding h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


@media screen and (max-width:768px)
{
    .list li
    {
        margin: 0 0 15% 0;
        padding: 0 0 3% 0;
        width: 100%;
    }

    .list-padding
    {
        margin: 0 auto;
    }

    .list-img
    {
        height: auto;
    }
}

/*------------------------- 01_page --------------------------------*/



/*page-detail*/
.page-detail
{
    display: inline-block;
    margin: 0 0 2% 0;
    width: 100%;
}

.page-detail li
{
    float: left;
    width: 100%;
}

.page-detail li:nth-child(1)
{
    margin: 0 auto;
    /*! text-align: right; */
    text-align: center;
}

.page-date
{
    display: block;
    color: #787878;
    font-size: 13px;
    text-align: center;
}

/*continue */
.continue
{
    margin: 0 auto;
    font-size: 20px;
    text-align: center;
}

.continue > img
{
    max-width: 100%;
}

/*end */
.end
{
    margin: 5% auto;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
    background: url('../images/icon-end.png') no-repeat center top;
}


/*發光效果*/
@-webkit-keyframes light
{
    0%
    {
        -webkit-filter: brightness(1);
    }
    50%
    {
        -webkit-filter: brightness(1.3);
    }
    100%
    {
        -webkit-filter: brightness(1);
    }
}

.light {
    animation: light 0.8s ease-out 0s 1 both;
}

.icon-back{
 opacity: 0;
    transition:all .3s;
}

.icon-back:hover{

 opacity: 1;
     animation: light 0.3s ease-out 0s 1 both;
     transition:all .3s;
}

.end a
{
    font-size: 20px;
}


@media screen and (max-width:768px)
{
    .end
    {
        margin: 5% auto 20%;
    }
}

/*------------------------- gotop --------------------------------*/


#gotop
{
    display: none;
    position: fixed;
    right: 20px;
    bottom: 50px;
    z-index: 900;
    opacity: .3;
    cursor: pointer;
    transition: all .3s;
    transform: scale(.9);
}

#gotop:hover
{
    opacity: .8;
    transition: all .3s;
    transform: scale(1);
}

@media screen and (max-width:767px)
{
    #gotop
    {
        right: 5px;
        transform: scale(.7);
    }
}
