@charset "utf-8";
/* ============================================================
 * 檔案:news_detail.css
 * 用途:消息內頁(news_detail.php)
 * ------------------------------------------------------------
 * 【常見小修改速查】
 *   字體大小  → 搜尋  font-size      (例 font-size: 16px;)
 *   字型      → 搜尋  font-family    (全站預設字型設定在 public.css)
 *   文字顏色  → 搜尋  color
 *   背景顏色  → 搜尋  background  或  background-color
 *   外距(元素之間) → 搜尋  margin
 *   內距(框內留白) → 搜尋  padding
 *   粗體      → font-weight: bold;   置中 → text-align: center;
 * ============================================================ */

   article{
        background: #F5F2EA;
        padding-bottom: 50px;
    }
    article:after{
        content:".";
        height:0;
        visibility:hidden;
        display:block;
        clear:both;
    }
    #banner{
        width: 100%;
        height: 332px;
        background: url(/images/news/news_banner.png) no-repeat center center;    
        margin-bottom: 100px;
    }    
    #banner_title{
        width:200px;
        height: 25px;
        margin: 0 auto;
        padding-top: 140px;
        color:#FFF;
        
    }
    #banner_txt1{
        font-family: 'Rasa', serif;
        font-size: 46px;
        line-height: 30px;
    }
    #banner_txt2{
 
        font-size: 28px;
        margin: 0 auto;
        font-weight: 400; 
    }
    #detail{
        padding-top: 50px;
        padding-bottom: 50px;
        margin: 0 auto;
        margin-bottom: 50px;
        background: #FFF;
        font-size: 15px;
    }
    #news_title{
        width:100%;
        height: 50px;
        font-size: 30px;
        font-weight: 400;
        text-align: center;
        margin-top: 50px;
        margin-bottom: 10px;
    }
    #news_dec{
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 13px;
    }
    #news_date{
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: right;
        margin-bottom: 10px;
    }
    #news_content img{
        max-width: 100%;
    }
    #btn_back{
        width:350px;
        height: 60px;
        line-height: 60px;
        font-size: 18px;
        font-weight: bolder;
        border: 1px solid #666666;
        display: block;
        margin: 0 auto;
        text-align: center;
        margin-top: 50px;
        color:#666;
        transition: all 0.2s ease;
    }
    #btn_back:hover{
        border-radius: 30px;
        overflow: hidden;
        color:#FFF;
        background: #666666;
    }
    a:hover{
        text-decoration: none;
    }

/* mobile start */
@media screen and (min-width:1200px){
    #detail{
        width:1080px;
        padding-left: 100px;
        padding-right: 100px;

    }
    
}
@media screen and (max-width:1200px) and (min-width:992px){
    #detail{
        width: calc(100% - 40px);
        margin: 20px;
        
    }
}
@media screen and (min-width:992px){
    article{
        width: calc(100% - 150px);
        margin-left: 150px;            
    }
}
@media screen and (max-width:992px){
    #banner{
        width: 100%;
        height: 20px;
        background: none;
        padding: 0px;
        margin: 0px;
        
    }
    #banner_title{
        display: none;
    }

    #detail{
        width: calc(100% - 40px);
        margin: 20px;
        padding-top: 20px;
        padding-bottom: 30px;   
        margin-bottom: 30px;
    }
    #news_title{
        width:100%;
        min-height:30px;
        font-size: 20px;
        font-weight: 400;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    #news_dec{
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 13px;
    }
    #news_date{
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: center;
        margin-bottom: 10px;
    }

}

@media screen and (max-width:576px){
    #btn_back{
        width:calc(100% - 40px);
        
 
    }

}