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

   article{
        padding-bottom: 50px;
    }
    #banner{
        width: 100%;
        height: 460px;
        background: url(/images/origin/banner.jpg) no-repeat center center;
    }   
    #banner_title{
        width: 300px;
        height: 100px;
        padding-top: 230px;
        color: #FFF;     
        text-align: center;     
        margin: 0 auto;      
    }
    #banner_txt1{
        font-family: "新細明體";
        font-size: 28px;
        font-weight: bold;
        letter-spacing: 2px;
        text-shadow: 2px 2px 3px #aaa
    }
    #banner_txt2{
        font-family: 'Rasa', serif;
        font-size: 24px;
        text-transform:uppercase;
        text-shadow: 2px 2px 3px #aaa
    }
    #main{
        padding: 10px;
        margin: 0 auto;
    }
    #btn_close{
        width: 42px;
        height: 42px;
        float: right;
        display: block;
        background: url(/images/btn_close.png);
        margin-top: 30px;
        position:static;
        margin-right: -42px;
    }
    #title_name{
        width: 100%;
        font-family: "新細明體";
        font-size: 30px;
        text-align: center;
        padding-bottom: 10px;
        padding-top: 20px;
    }
    #title_dec{
        width: 100%;
        font-size: 13px;
        text-align: center;
    
    }
    #content{
        width: 100%;
        padding-top: 30px;
        padding-bottom: 50px;
        
    }
    #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){
    #main{
        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;            
    } 
}
@media screen and (max-width:992px){
    #banner{
        width: 100%;
        height: 135px;
        background: url(/images/origin/m_banner.jpg) no-repeat center center;
    }
    #banner_title{
        width:300px;
        height: 100px;
        padding-top: 50px;
        margin: 0 auto;
        text-align: center;
        color: #FFF;
        text-shadow: 2px 2px 3px #aaa;
    }
    #banner_txt1{
        font-family: "微軟正黑體";
        font-size: 24px;
        font-weight: bold;
    }
    #banner_txt2{
        font-family: 'Rasa', serif;
        font-size: 20px;
    }

}
@media screen and (max-width:992px) and (min-width:576px){

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

}
/* ============================================================
 * LOLA-FIX-btn-close
 * 手機版:關閉鈕的 margin-right:-42px 會把自己推出畫面,
 * 造成整頁可以左右滑動、右側露出一條空白。手機不需要那個負邊界。
 * ============================================================ */
@media screen and (max-width:992px){
    #btn_close{ margin-right: 0; }
}
