@charset "utf-8";
/* ============================================================
 * 檔案:news.css
 * 用途:最新消息列表(news.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;
        
    }    
    #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; 
    }
    #news_menu{    
        padding-top: 50px;     
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto; 
    }
    #news_menu:after{
        content:".";
        height:0;
        visibility:hidden;
        display:block;
        clear:both;
    }
    .news_menu{
        width: calc(25% - 3px);        
        border-bottom: 1px solid #9FA0A0;
        text-align: center;        
        float: left;
        margin-right: 3px;
        font-size: 16px;
        font-family: "新細明體";
        line-height: 30px;
        color:#9FA0A0;
     
    }
    .menu_icon{
        height: 40px;
        padding-bottom: 10px;
    }
    .menu_name{
        padding-bottom: 10px;
    }
    .active{
        border-bottom: 3px solid #9FA0A0;
        font-weight: bold;
    }
    #news_list{
        padding-bottom: 50px;
        margin: 0 auto;
    }
    #news_list ul{
        padding: 0px;
        margin: 0px;
        list-style: none;
    }
    #news_list ul li{
        width: calc(33.33% );
        float: left;
        padding: 20px;
        cursor: pointer;      
    }
    .news_info{
        width: 100%;

        padding: 20px;
        background: #FFF;
    }
    .news_cover{
        width: 100%;
        overflow: hidden;
}
    .news_img{
        width: 100%;
    }
    .news_title{
        width: 100%;
        min-height: 30px;
        line-height: 25px;
        font-size: 18px;
        font-weight: bold;
        padding-top: 15px;
        padding-bottom: 10px;
    }
    .news_dec{
        width:100%;
        min-height: 25px;
        line-height: 20px;
        font-size: 13px;
        font-weight: 400;
    }
    .news_date{
        width:100%;
        height: 30px;
        line-height: 30px;
        border:1px solid #999999;
        border-left: none;
        border-right: none;
    }
    .more{
        width:100%;
        height: 280px;
        position: absolute;        
        background:rgba(255,255,255,0.80);
        text-align: center;
        display: none;
    }
    .more img{
        vertical-align : middle;
    
    }

/* mobile start */
@media screen and (min-width:1200px){
    #news_menu{
        width:1080px;
    }
    #news_list{
        width:1080px;
    }
    
}
@media screen and (max-width:1200px) and (min-width:992px){
    
}
@media screen and (min-width:992px){
    article{
        width: calc(100% - 150px);
        margin-left: 150px;            
    }
    #news_menu_mobile{
         display: none;  
    }
}
@media screen and (max-width:992px){
    #banner{
        width: 100%;
        height: 135px;
        background: url(/images/news/new_mboile_banner.png) no-repeat center center; 
    }
    #news_list ul li{
        width: 100%;
        float: none;
        padding:10px 20px;
        
        cursor: pointer;      
    }

    #banner_title{
        width:100%;
        height: 25px;     
        padding-top: 30px;
        color:#FFF;
        text-align: center;
        letter-spacing: 2px;
        
    }
    #banner_txt1{
        font-family: 'Rasa', serif;
        font-size: 25px;
        line-height: 30px;
    }
    #banner_txt2{
    
        font-size: 15px;      
    }
    #news_menu{
        display: none;
    }
    #cid{
        width: calc(100% - 40px);
        height:35px;  
        margin: 20px 20px 10px 20px;
        padding-left: 20px;
        font-size: 16px;     
    }
}

