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

    #banner{
        width: 100%;
        padding-top: 120px;
        height: 380px;
        background: url(/images/contact/background_bg.png) repeat-x bottom;
    }
    #banner_bg{
        width: 367px;
        height: 340px;
        float: right;
        margin-right: 300px;
        margin-top: -40px;
    }
    #contact{
        width: 100%;       
        background: #F1F4F0;
    }
    #contact_title_form{
        width: 100%;
         padding-top: 50px;
    }
    #contact_form{
        padding-bottom: 50px;
    }
    #contact_form:after{
        content:".";
        height:0;
        visibility:hidden;
        display:block;
        clear:both;
    }
    
    h1{
        font-family: "新細明體";
        font-size: 26px;
        font-weight: bold;
        letter-spacing: 3px;
    }
    #title_txt{
        padding-top: 5px;
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }  
    #left_form{
        width: 180px;
        border-right: 1px solid #FFF;
        float: left;
    }
    #right_form{
        width: calc(100% - 180px);
        float: left;
        padding-left: 50px;
    }
    #left_form ul li, #right_form ul li{
        width: 100%;
        min-height: 50px;
        margin-bottom: 15px;
    }
    .icon{
        width: 20px;
        height: 40px;
        float: left;
        font-family: "新細明體";
        color: #956134;
        font-size: 15px;
    }
    .icon_txt{
        font-family: "新細明體";
        color: #956134;
        font-size: 15px;
    }
    .txt1{
        font-family: "新細明體";
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 2px;
    }
    .txt2{
        font-family: 'Rasa';
        font-size: 13px;
        letter-spacing: 2px;
    }
    #right_form input, #right_form select{
        width: 100%;
        height: 50px;
        border: none;
        padding-left: 20px;
        font-size: 15px;
    }
    #right_form input::placeholder{
        color:#aaa;
    }
   .input_err::placeholder{
        color:#FF0000 !important;        
    }
    #right_form textarea::placeholder{
        color:#aaa;
    }
    .height_150{
        height: 150px;
    }
    #right_form textarea{
        width: 100%;
        height: 150px;
        border: none;
        padding: 20px;
    }
    #vcode{
        width: 200px !important;
        float: left;
        margin-right: 15px;
    }
    #btn_send{
        width: 350px;
        height: 50px;
        background: #109363;
        border: none;
        font-family: "新細明體";
        font-size: 16px;
        color: #FFF;
        margin-right:20px;
       
    }
    #btn_reset{
        width: 350px;
        height: 50px;
        border: none;
        font-family: "新細明體";
        font-size: 16px;
     
        background: #FFF;
    }
    #alert{
        width: 350px;
        height: 150px;
        background: #FFF;
        position:fixed;
        left: 50%;
        top: 50%;
        margin-top: -75px;
        margin-left: -100px;
        border: 1px solid #CCC;
        box-shadow: 3px 3px 7px #CCC;
        text-align: center;
        display: none;

    }
    #alert_title{
        width: 100%;
        height: 70px;
        line-height: 70px;
        color:#83B0C0;
        font-size: 24px;
        font-weight: 400;
    }
    #alert_content{
        width: 100%;
        height: 80px;
        line-height: 25px;
        color:#9F9F9F;
        font-size: 16px;
    }   
    select{
        height: 40px;
        float: left;
        padding-left: 20px;
        border:1px solid #AAA;
        appearance:none;
        -moz-appearance:none;
        -webkit-appearance:none;        
        background: url("/images/arrow.png") no-repeat scroll right center transparent;
        background-color: #FFF;
    }
    select::-ms-expand { display: none; }

/* mobile start */
@media screen and (min-width:1200px){
    #banner_title{
        width: 1000px;
        height: 150px;
        margin: 0 auto;
    }
    #contact_form{
        width: 1000px;
        margin: 0 auto;
    }

    
}
@media screen and (max-width:1200px) and (min-width:992px){
    #banner_bg{
        width: 367px;
        height: 340px;
        float: right;
        margin-right: 0px;
        margin-top: -40px;
    }
    #contact_form{
        padding: 20px;
    }
    #btn_send, #btn_reset{
        width: calc(50% - 12px);
    }
}
@media screen and (min-width:992px){
    article{
        width: calc(100% - 150px);
        margin-left: 150px;
    }
    #title_en{
        display: none;
    }
    #phone_bg{
        display: none;
    }
    .show_mobile{
        display: none;
    }
}
@media screen and (max-width:992px){
    .show_pc{
        display: none;
    }
    #banner{
        display: none;
    }
    #contact{
        width: 100%;
        padding: 0px;
        overflow: hidden;
    }
    #contact_form{
        padding: 0px;
    }
    #contact_title_form{
        background: #FFF;
        padding: 40px;
        padding-top: 60px;
        padding-bottom: 5px !important;
    }
    #title_txt{
        margin-bottom: 20px;
    }
    #title_en{
        font-display: 'Rasa';
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    #phone_bg{
        width: 150px;
        position: absolute;
        top: 50px;
        right: 20px;
    }
    #phone_bg img{
        width: 100%;
    }
    #left_form{
        width: 25px;
        border: none;
        padding-top: 30px;  
        margin-left: 0px;
        padding-right: 5px;
    }
    .icon{
        text-align: right;
    }
    #right_form{
        width: calc(100% - 40px);
        margin: 0;
        padding: 0px;
        padding-top: 20px;
    }
    .txt1, .txt2{
        display: none;
}
    #btn_send, #btn_reset{
        width: 100%;
    }
    #btn_send{
        margin-bottom: 15px;
    }
    #left_form ul li, #right_form ul li{
        width: 100%;
        min-height: 40px;
        margin-bottom: 15px;
    }
    #right_form input, #right_form select{
        width: 100%;
        height: 40px;
        border: none;
        padding-left: 20px;
        font-size: 15px;
    }
    #vcode{
        width: 100% !important;
        margin-bottom: 15px;
    }
    #title_txt1{
            width: calc(100% - 80px);
            margin: 0 auto;
            padding-top: 30px;
            padding-bottom: 10px;
            font-size: 13px;
        }
        #info{
            width: 100%;    
            padding-bottom: 20px;
            padding-top: 20px;
        }
        #info ul li{
            width: 100%;
            height: 30px;
            line-height: 30px;
            letter-spacing: 2px;
        }
        .info_icon{
            width: 30px;
            height: 30px;       
            float: left;
        }
        .info_data{
            width: calc(100%-30px);
            height: 30px;
            float: left;
        }
}
