@charset "utf-8";
/* CSS Document */

.whitecon{
    border:1px solid #eaeaea;
    box-shadow: none;
    margin-bottom:25px;
}

/*------------------------------*\
			  Article
\*------------------------------*/
/* 新聞標題+分隔線 */
.whitecon h1 {
    width:90%;
    font-family:'Noto Sans TC';
    font-size:28px;
    font-weight:700;
    line-height:35px;
    border:none;
    border-bottom:3px double #8c8b8b;
    padding:0 0 10px;
    margin:20px auto 5px;
}
/* 分享+功能鍵 */
.whitecon .function {
    width:90%;
    height:auto;
    margin:5px auto 20px;
    overflow: hidden;
}
.whitecon .function span.time /* 時間 */{
    display:block;
    width:100%;
    font-size:14px;
    color:#59493f;
    margin:8px auto 7px;
}
.whitecon .function span.author /* 作者 */{
    display:block;
    width:100%;
    font-size:15px;
    color:#111;
    margin:0px auto 10px;
}
.whitecon .function a {
    display:inline-block;
    width:35px;
    height:35px;
    margin-right:5px;
    overflow: hidden;
}
.function a.sharefbnice {
    background-color:#1877f2;
    border-radius:100%;
    position:relative;
}
.function a.sharefbnice iframe {
    position:absolute;
    top:7px;
    left:-6px;
}
.function a.sharefb {
    background:url(../../images/rwd/fb.svg) center no-repeat;
    background-size:35px;
}
.function a.sharetwitter {
    background:url(../../images/rwd/twitter.svg) center no-repeat;
    background-size:35px;
}
.function a.shareline {
    background:url(../../images/rwd/line.svg) center no-repeat;
    background-size:35px;
}
.function a.fontsize {
    background:url(../../images/rwd/fontsize1.svg) center no-repeat;
    background-size:35px;
    float:right;
}
.whitecon .function a:hover {
    opacity:0.8;
}
/* 內文字變大用 fontsize */
.function a.fontsize2 {
    background:url(../../images/rwd/fontsize2.svg) center no-repeat;
    background-size:35px;
}
.whitecon h1.fs_h1 {
    font-size:32px;
    line-height:1.3;
}
.text h3.subtit,
.text h4.subtit,
.text h5.subtit,
.text h6.subtit {
    font-size:26px;
 }
.whitecon .text p.fs_p,
.whitecon .text p.fs_p a,
.whitecon .text p.fs_p b,
.whitecon .text p.fs_p strong {
    font-size:21px;
    line-height:1.5;
}
.text .photo p.fs_p{
    font-size:21px;
    line-height:1.3;
}
.whitecon .text span.fs_time {
    font-size:16px;
}

/* 內文 */
.whitecon .text {
    width:90%;
    margin:0 auto;
}
.whitecon .text p,
.whitecon .text p b,
.whitecon .text p strong,
.whitecon .text p a {
    font-size:18px;
    line-height:30px;
    text-align:justify;
    text-justify:inter-ideograph;
    margin:25px 0px;
}
.whitecon .text p b,
.whitecon .text p strong {
    font-weight:500;
}
.article .text a{
    word-break: break-word;
}
/*小標*/
.text h3,
.text h4,
.text h5,
.text h3 span,
.text h4 span,
.text h5 span{
    font-size:20px;
    line-height:1.8;
    font-weight:500;
    color:#0160ba;
}
.whitecon .text p a {
    color:#004796;
}
.whitecon .text p a:hover {
    color:#004796;
    text-decoration:underline;
}

/* 內文大圖 */
.text .photOut {
    width:100%;
    margin:20px auto 30px;
    padding:10px 10px 0px;
}
.text .photo {
    display:table;
    margin:auto;
    caption-side:bottom;
}
.text .photo a {
    margin:0px auto;
}
.text .photo a img {
    display:block;
    width:auto;
    max-width:100%;
    max-height:700px;
    line-height:0;
    margin:0px auto;
}
.text .photo p {
    display:table-caption;
    width:auto;
    font-size:16px;
    line-height:1.5;
    text-align:left;
    background-color:#e6e6e6;
    padding:7px 8px 8px;
    margin:0;
}

/* 內文影音 YOUTUBE RWD */
.v_container ,
.v_containerTOP {
    height:0;
    padding-bottom:56.25%;
    position:relative;
    overflow:hidden;
    margin:0 auto 30px;
}
.v_container iframe,
.v_container object,
.v_container embed ,
.v_containerTOP iframe,
.v_containerTOP object,
.v_containerTOP embed{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
}
/* 影音專用，H1上 */
.v_containerTOP {
    margin:0 auto;
}


/*------------------------------*\
		   Other Blocks
\*------------------------------*/
/* 相關新聞 */
.caption2{
    width:100%;
    font-size:20px;
    font-weight:bold;
    letter-spacing: 0.5px;
    color:#fff;
    border-bottom:1px solid #00b0ec;
    padding:0px 0px 3px 8px;
    margin-top:30px;
    position: relative;
    z-index: 0;
}
.caption2:after{
    content:'';
    display: block;
    width:110px;
    height: 60px;
    -webkit-clip-path: polygon(90% 44%, 100% 83%, 100% 100%, 0 100%, 0 44%);
    clip-path: polygon(90% 44%, 100% 83%, 100% 100%, 0 100%, 0 44%);
    background:#00b0ec;
    position: absolute;
    left:0px;
    bottom:-1px;
    z-index: -1;
}
ul.related li{
    padding:10px 0px 10px 8px;
    border-bottom:1px solid #afafaf;
}
ul.related li:hover{
    background:#f5f5f5;
}
ul.related li:hover a h3 {
    color:#00b0ec;
}
ul.related li a h3 { font-size:18px; font-weight:300; }

/* 推薦新聞 */
div.todaynews ul{
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
    padding:15px;
    overflow:hidden;
}
div.todaynews li{
    flex:0 0 48.5%;
    border-bottom:1px solid #afafaf;
    margin:0 0 15px;
    overflow: hidden;
}
div.todaynews li a div /* 縮圖 */{
    float:left;
    width:35%;
    height:0;
    padding:0 0 23%;
    overflow:hidden;
}
div.todaynews li a div img{
    width:100%;
    height: auto;
}
div.todaynews li a h3 /* 標題 */{ font-size:18px; font-weight:300; line-height:1.5;
    float:left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    width:65%;
    height: 81px;
    padding:0 0 0 10px;
    overflow:hidden;
}
div.todaynews li:hover a h3{
    color: #00b0ec;
}

/* 網友回應 */
.fb-comments,
.fb-comments iframe[style] {
    width:100% !important;
}
.fb-comments {
    width:100%;
    text-align:center;
}

/*------------------------------*\
		       RWD
\*------------------------------*/
/* Desktop */
@media screen and (max-width:1300px) and (min-width:1140px) {
/* Article Page */
    .whitecon h1,
    .whitecon .function,
    .whitecon .text,
    div.keyword,
    {
        width:94%;
    }
}

/* Pad */
@media screen and (max-width:1139px) {
/* Article Page */
    .whitecon .function {
        text-align:right;
    }
    .whitecon .function span.time {
        display:inline-block;
        width:auto;
        float:left;
        font-size:15px;
        text-align:left;
    }
    .whitecon .function a{
        margin-top:10px;
    }
    .whitecon .function a.fontsize{
        float: initial;
    }
}

/* Mobile */
@media screen and (max-width:800px) {
/* Article Page */
    div.todaynews ul li a h3 {
        height:70px;
        line-height:1.3;
        margin:-3px 0 0;
    }
}

@media screen and (max-width:700px) {
/* Article Page */
    div.todaynews li{
        flex:100%;
    }
    div.todaynews ul li a h3{
        height: 80px;
        line-height: 1.5;
        margin-top:7px;
    }
    div.popular_video > ul{
        justify-content: space-between;
    }
    div.popular_video li{
        flex:0 0 49%;
        margin:0px 0px 12px 0px;
    }
    div.popular_video li a div{
        border-bottom: 3px solid #afafaf;
    }
}

@media screen and (max-width:600px) {
/* Article Page */
    /* 兩邊留空20px */
    .whitecon h1{
        width:calc(100% - 40px);
    }
    .whitecon .function,
    .whitecon .text,
    ul.related li,
    div.todaynews ul,
    div.popular_video > ul{
        padding-left:20px;
        padding-right:20px;
    }
    /**/
    .whitecon{
        margin:0px auto 20px;
        border:none;
        border-bottom:1px solid #eaeaea;
    }
    .whitecon .function,
    .whitecon .text,
    div.keyword{
        width:100%;
    }
    .whitecon h1{
        padding-top:15px;
        margin:0px auto 8px;
        font-size:25px;
        font-weight:500;
        line-height:1.2;
    }
    .whitecon .function{
        margin-top:0px;
    }
    .text .photOut{
        padding:0px
    }
    .text .photo p{
        padding-right:10px;
        padding-left:10px;
    }
}

@media screen and (max-width:500px){
/* Article Page */
    /* 兩邊留空15px */
    .whitecon h1{
        width:calc(100% - 30px);
    }
    .whitecon .function,
    .whitecon .text,
    ul.related li,
    div.todaynews ul,
    div.popular_video > ul{
        padding-left:15px;
        padding-right:15px;
    }
    /**/
    .whitecon .function{
        margin-bottom:10px;
    }
    .text h3,
    .text h4,
    .text h5,
    .text h3 span,
    .text h4 span,
    .text h5 span{
        line-height:1.3;
        margin:0 0 5px;
    }
    div.keyword p{
        padding-right:10px;
    }
    div.keyword ul li{
        margin-right:10px;
    }
    div.todaynews ul,
    div.popular_video > ul{
        padding-bottom:5px;
    }
    div.popular_video li{
        flex:100%;
        border-bottom: 1px solid #afafaf;
    }
    div.popular_video li a div{
        border:none;
    }
    div.popular_video li a p{
        height: auto;
        -webkit-line-clamp: initial;
        margin-bottom: 7px;
        overflow:initial;
    }
    
    ul.related li a h3, div.todaynews li a h3 { font-weight:400; font-family:Verdana, Arial, "微軟正黑體", "新細明體", sans-serif; }
}

@media screen and (max-width:420px) {
/* Article Page */
    .whitecon .function span.time{
        width:100%;
        margin:2px 0px;
    }
    div.todaynews ul li a h3 {
        padding:0 0 0 10px;
        margin:-3px 0 0;
    }
}

@media screen and (max-width:380px) {
/* Article Page */
    /* 兩邊留空10px */
    .whitecon h1{
        width:calc(100% - 20px);
    }
    .whitecon .function,
    .whitecon .text,
    ul.related li,
    div.todaynews ul,
    div.popular_video > ul{
        padding-left:10px;
        padding-right:10px;
    }
}

@media screen and (max-width:330px) {
    span.video{
        width:18px;
        height:17px;
        background-size:20px;
    }
/* Article Page */
    .whitecon h1{
        font-size:24px;
    }
    .text h3,
    .text h4,
    .text h5,
    .text h3 span,
    .text h4 span,
    .text h5 span{
        font-size:20px;
    }
    div.todaynews ul li a p{
        margin-bottom:5px;
    }
}
