﻿/*文字格式*/
body
 {font: 14px/21px "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;}
.contact_form h2, 
.contact_form label {font-family:Georgia, Times, "Times New Roman", serif;}
.form_hint,
.required_notification {font-size: 12px;
}



/*填寫項目裡提示文字顏色 start*/
::-moz-placeholder {
    color:#aaa;
}
 
::-webkit-input-placeholder {
       color:#aaa;
}


.s1 {
    margin-right:14px;
}

/*點選填寫項目框架顏色*/
*:focus {
    outline: none;
}

/*ul li效果*/
ul {
    width:660px;
    list-style-type:none;
    list-style-position:outside;
   
}
li{
    padding:16px; 
    border-bottom:1px solid #eee;
    position:relative;
    width:660px;
    top: 0px;
    left: 0px;
}


/*取li第一個跟最後一個框出邊界 start*/
li:first-child, li:last-child {
    border-bottom:1px solid #777;
    width:660px;
}




/*必填欄位提示訊息文字顏色與位置 start*/
.contact_form h2 {
    margin:0;
    display: inline;
}
.required_notification {
    color:red; 
    margin:5px 0 0 0; 
    display:inline;
    float:right;
    font-size:14px;
}

/*填寫欄位格式 start*/
.contact_form label {
    width:160px;
    margin-top: -13px;
    margin-left:-20px;
    float:left;
    padding:10px;
}

.group1 {
    height:15px; 
    width:200px; 
    padding:5px 8px;
    
}


.group2 {
    height:15px; 
    width:40px; 
    padding:5px 8px;

}

.contact_form textarea {padding:8px; width:300px;}
.contact_form button {margin-left:156px;}




/*填寫欄位 陰影效果*/
.group1,.group2, .contact_form textarea { 
    border:1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius:2px;
}
.group1:focus, .contact_form textarea:focus {
    background: #fff; 
    border:1px solid #555; 
    box-shadow: 0 0 3px #aaa; 
}



/* 送出Button 按鈕效果 start*/
/*button.submit {
    background-color:#68b12f;
    background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
    background: -webkit-linear-gradient(top, #68b12f, #50911e);
    background: -moz-linear-gradient(top, #68b12f, #50911e);
    background: -ms-linear-gradient(top, #68b12f, #50911e);
    background: -o-linear-gradient(top, #68b12f, #50911e);
    background: linear-gradient(top, #68b12f, #50911e);
    border: 1px solid #509111;
    border-bottom: 1px solid #5b992b;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #9fd574;
    -webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
    -moz-box-shadow: 0 1px 0 0 #9fd574 inset;
    -ms-box-shadow: 0 1px 0 0 #9fd574 inset;
    -o-box-shadow: 0 1px 0 0 #9fd574 inset;
    color: white;
    font-weight: bold;
    padding: 6px 20px;
    text-align: center;
    text-shadow: 0 -1px 0 #396715;
}

button.submit:hover {
    opacity:.85;
    cursor: pointer; 
}
button.submit:active {
    border: 1px solid #20911e;
    box-shadow: 0 0 10px 5px #356b0b inset; 
    -webkit-box-shadow:0 0 10px 5px #356b0b inset ;
    -moz-box-shadow: 0 0 10px 5px #356b0b inset;
    -ms-box-shadow: 0 0 10px 5px #356b0b inset;
    -o-box-shadow: 0 0 10px 5px #356b0b inset;   
}
    */


/* 送出Button 按鈕效果 start*/
/*游標點選後，放大填寫欄位 start*/
.group1:focus, .contact_form textarea:focus { 
    padding-right:70px;
}

/*讓放大效果平順點*/
.group1, .contact_form textarea {
    -moz-transition: padding .25s; 
    -webkit-transition: padding .25s; 
    -o-transition: padding .25s;
    transition: padding .25s;
}


/*必填欄位 不符合格式或是無效效果*/
.group1:focus:invalid, .contact_form textarea:focus:invalid { 
    background: #fff url(../image/error.png) no-repeat 96% center;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535
}

/*必填欄位 符合格式效果*/
.group1:required:valid, .contact_form textarea:required:valid { 
    background: #fff url(../image/correct.png) no-repeat 96% center;
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;

   
}


/*防止輸入太多文字蓋住星號*/
.group1, .contact_form textarea {

}


/*格式提示效果*/
.form_hint {
    background: #d45252;
    border-radius: 3px 3px 3px 3px;
    color: white;
    margin-left:8px;
    padding: 1px 6px;
    z-index: 999;
    position: absolute;
    display:none;
}

/*格式提示箭頭*/
.form_hint::before {
    content: "\25C0"; 
    color:#d45252;
    position: absolute;
    top:1px;
    left:-6px;
}

/*欄位格式提示*/
.group1:focus + .form_hint {display: inline;}
.group1:required:valid + .form_hint {background: #28921f;} 
.group1:required:valid + .form_hint::before {color:#28921f;}


/*驗證碼圖片*/
#framephoto {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    position:absolute;
    margin-top:1px;
    margin-left:430px;
    top: 5px;
    left: 26px;
    right: -135px;
    width:300px;
    height: 60px;
    overflow-x:hidden;
}



#send {
    background-color:#68b12f;
    background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
    background: -webkit-linear-gradient(top, #68b12f, #50911e);
    background: -moz-linear-gradient(top, #68b12f, #50911e);
    background: -ms-linear-gradient(top, #68b12f, #50911e);
    background: -o-linear-gradient(top, #68b12f, #50911e);
    background: linear-gradient(top, #68b12f, #50911e);
    border: 1px solid #509111;
    border-bottom: 1px solid #5b992b;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #9fd574;
    -webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
    -moz-box-shadow: 0 1px 0 0 #9fd574 inset;
    -ms-box-shadow: 0 1px 0 0 #9fd574 inset;
    -o-box-shadow: 0 1px 0 0 #9fd574 inset;
    color: white;
    font-weight: bold;
    padding: 6px 20px;
    text-align: center;
    text-shadow: 0 -1px 0 #396715;
  
    margin-top:10px;
}
#send:hover {
    opacity:.85;
    cursor: pointer; 
}
#send:active {
    border: 1px solid #20911e;
    box-shadow: 0 0 10px 5px #356b0b inset; 
    -webkit-box-shadow:0 0 10px 5px #356b0b inset ;
    -moz-box-shadow: 0 0 10px 5px #356b0b inset;
    -ms-box-shadow: 0 0 10px 5px #356b0b inset;
    -o-box-shadow: 0 0 10px 5px #356b0b inset;   
}


.msshow {
    color:red;
    font-size:14px;
}

/*身份 其他選項*/
#identity_other {
width:120px;
height:20px;
border-top:none;
border-right:none;
border-left:none;
border-bottom:1px solid gray;
visibility:hidden;
}


/*議題 其他選項*/
#issue_other {
width:70px;
height:20px;
border-top:none;
border-right:none;
border-left:none;
border-bottom:1px solid gray;
visibility:hidden;

}