﻿/* CSS Document */

/* 來源：layout.css */
/*3*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
/*8*/
main {
    display: block;
}
/*11*/
body {
    font: 62.5%/1 "微軟正黑體", Arial, Helvetica, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
/*26*/
* {
    -webkit-print-color-adjust: exact;
}
/*28*/
a {
    color: #4a70c7;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/*36*/
a, button, textarea, select, input {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/*130*/
body {
    width: 100%;
    margin: 0;
    padding: 0px;
    border: 0;
    font: 62.5%/1 Arial,"微軟正黑體", Helvetica, sans-serif;
}
/*137*/
* {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
/*138*/
a, img {
    border: 0;
    vertical-align: middle;
}
/*226*/
.container {
    width: 100%;
    margin: 0 auto;
}
/*253*/
@media screen and (min-width: 481px) {
    .container {
        width: calc(100% - 16px);
    }
}
/*258*/
@media screen and (min-width: 600px) {
    .container {
        width: calc(100% - 50px);
    }
}
/*270*/
@media screen and (min-width: 1100px) {
    .container {
        width: calc(100% - 90px);
        max-width: 1000px;
    }
}
/*282*/
@media screen and (min-width: 1200px) {
    .container {
        width: calc(100% - 100px);
        max-width: 2000px;
    }
}
/*1615*/
.zoom-box {
    overflow: hidden !important;
    display: block;
    position: relative;
}
/*1620*/
.zoom-pic {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.5s;
    background-color: #e6e6e6;
    background-image: url(../pic/news3.jpg);
}
/* 來源：inside.css */
.in-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 0px;
    position: relative;
    padding-top: 0px; /*頭部距離*/
    padding-bottom: 350px /*底部距離*/
}

@media (max-width: 990px) {
    .in-bg {
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .in-bg {
        background-attachment: local;
        padding-top: 10px;
        padding-bottom: 10px
    }
}

.in-bg:after { /*備景遮罩顏色*/
    /*content:'';
	        display:block;
	        z-index:0;
	        position:absolute;
	        left:0;
	        top:0;
	        width:100%;
	        height:100%;
	        background-color:rgba(0,71,138,0.35)*/
}

.in-bg.fastnews:after {
    /*background-color:rgba(0,71,138,0.4)*/
}

.in-bg .container {
    position: relative;
    z-index: 1
}

.in-bg main {
    display: block;
    min-height: 512px
}

.fastnews main, .fastnews .databox {
    background-color: transparent
}

.in-bg.fastnews .databox ul.img_list {
    display: block;
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px);
    padding: 0 10px;
    text-align: center
}

    .in-bg.fastnews .databox ul.img_list li {
        display: inline-block;
        width: calc(20% - 23px); /* 橫排顯示數量 */
        box-sizing: border-box;
        background-color: #fff;
        padding: 18px;
        text-align: left;
        vertical-align: top;
        position: relative;
        margin: 10px;
    }

        .in-bg.fastnews .databox ul.img_list li a h4 {
            font-size: 2.6em;
            line-height: 1.2;
            font-weight: bold;
            color: #000;
            /* 固定兩行及其他... */
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            box-sizing: border-box;
            margin: 10px 0;
            position: relative;
            height: 2.4em;
            /* 兩行以上點點點 */
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .in-bg.fastnews .databox ul.img_list li a:hover h4,
        .in-bg.fastnews .databox ul.img_list li a:focus h4 {
            color: #4274be
        }
        .in-bg.fastnews .databox ul.img_list li a div {
	        font-size:2.0em; line-height:1.2;	            
	        color:#000;
	        margin-bottom:15px;
        }
        /*.in-bg.fastnews .databox ul.img_list li	a div {
	            overflow: hidden;
	            text-overflow: ellipsis;
	            white-space: nowrap;		
	    }*/
        .in-bg.fastnews .databox ul.img_list li a:hover div,
        .in-bg.fastnews .databox ul.img_list li a:focus div {
            color: #4274be;
        }

        .in-bg.fastnews .databox ul.img_list li a .zoom-box {
            width: 100%;
            height: 0;
            padding-bottom: 66.7%;
            margin-bottom: 15px;
        }

        .in-bg.fastnews .databox ul.img_list li a .zoom-box:after {
            content: '';
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            background: rgba(0,0,0,0.5) url(../pic/pic-view.png) center no-repeat;
            background-size: 33% auto;
            transition: all 0.5s;
        }