body {
    text-align: center;
    background: #e2edf8;
    font: normal 12px verdana, mingliu;
    vertical-align: middle;
    line-height: 153.9%;
    color: #333333;
}

#wrapper {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

h1 {
    font-size: 150%;
    color: #0850B2;
    background: #FFFFFF url(../images/heading_bg.gif) left bottom repeat-x;
    border-bottom: 3px solid #CCCCCC;
    margin: 0 auto;
    padding: 0;
    height: 73px;
    width: 1024px;
}

h1 #logo {
    float: left;
    width: 1024px;
    height: 73px;
    background: url(../images/top.jpg) center no-repeat;

}

h1 #title {
    float: right;
    width: 200px;
    height: 20px;
    margin-top: 50px;
    color: #333333;
}

/* header */
#header {
    margin-top: 0px;
}

#header table {
    background: #dcdcdc;
    border: 1px;
    width: 100%;
}

#header .s_tr {
    text-align: center;
}

/* header2 */
#header2 {
    background: #dcdcdc;
    border: 1px;
    width: 100%;
    margin-bottom: 1.5em;
    padding: 0.5em 0 0.5em;
}

/* main */
#main {
    width: 100%;
    margin-top: 40px;
}

/* table */
.table_alert {
    width: 100%;
    border-width: 0px
}

#tbregister {
    background: #fff;
    width: 100%;
    border: 1px;
    line-height: 20px;
    border: solid 1px #aaa;
}

#tbregister2 {
    background: #fff;
    width: 100%;
    border: 1px;
    line-height: 20px;
    border: solid 1px #aaa;
    margin-top: 18px;
}

/* error_msg */
.error_msg {
    color: #ff0000;
    font-size: 16px
}

/* form1 給add_detail這類表單輸入用的 */
#form1 {
    width: 100%;
}

#form1 table {
    width: 100%;
}

#form1 th {
    background-color: #ffffff;
    font-weight: normal;
    padding: 3px;
    text-align: center;
}

#form1 th.w1 {
    width: 150px;
}

#form1 th.w2 {
    width: 300px;
}

#form1 th.w3 {
    width: 200px;
}

#form1 th.w4 {
    width: 50px;
}

#form1 th.w5 {
    width: 100px;
}

#form1 th.w6 {
    width: 10px;
}

#form1 th.w7 {
    width: 12%;
}

#form1 td.w1 {
    width: 15%;
}

#form1 td.w6 {
    width: 10px;
}

#form1 td.w4 {
    width: 50px;
}

#form1 td.w7 {
    width: 12%;
}

#form1 td.w8 {
    width: 10%;
}

#form1 td {
    padding: 5px;
}

#form1 th.must {
    border-left-color: #D90000;
}

#form1 .button_block {
    text-align: center;
    margin-top: 20px;
}

#form1 .tbregister2 {
    margin-top: 30px;
}

/* 同一頁有第2個table時用

/* form2 給add_main這類表單輸入用的 */
#form2 {
    width: 100%;
}

#form2 table {
    width: 100%;
    border-top: 1px solid #999999;
    border-bottom: none;
    border-left: none;
    border-right: none;
    font-size: 100%
}

#form2 th {
    border-top: none;
    border-bottom: 1px solid #999999;
    border-left: none;
    border-right: none;
    background-color: #f3f3f3;
    font-weight: normal;
    padding: 4px;
    width: 100px;
    vertical-align: top;
}

#form2 td {
    border-top: none;
    border-bottom: 1px solid #999999;
    border-left: none;
    border-right: none;
    padding: 4px;
}

#form2 th.must {
    border-left-color: #D90000;
}

#form2 th em {
    font-style: normal;
    color: #0300DC;
    padding-left: 5px;
}

#form2 .button_block {
    text-align: center;
    margin-top: 30px;
}

/* form input field */
.text_a1, .text_a2, .text_a3, .text_a4, .text_a6, .text_a7, .textarea_a1 {
    border: 1px solid #999999;
    background-color: #f3f3f3;
    padding: 2px;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.text_a1 {
    width: 100px;
}

.text_a2 {
    width: 4em;
}

.text_a3 {
    width: 80%;
}

.text_a4 {
    width: 98%;
}

.text_a5 {
    width: 100%;
    height: 22px;
}

.text_a6 {
    width: 200px;
}

.text_a7 {
    width: 200px;
    height: 40px;
    font-size: 22px;
    font-family: Georgia, "Times New Roman", Times, serif;
    padding: 0px 8px;
    border: 1px solid rgb(204, 204, 204);
}

/* background: url("../image/bg_input.jpg") repeat-x scroll 0% 0% rgb(255, 255, 255); */
.text_a8 {
    width: 200px;
    height: 40px;
    font-size: 22px;
    font-family: Georgia, "Times New Roman", Times, serif;
    padding: 0px 8px;
    color: #FF0000
}

input:focus {
    border: 1px solid rgb(0, 153, 255) !important;
}

.select {
    border: 1px solid #999999;
    background-color: #f3f3f3;
}

.submit {
    text-align: center;
    margin-top: 30px;
}

.button {
    clear: both;
    width: 125px;
    height: 31px;
    background: #666666;
    text-align: center;
    line-height: 20px;
    color: #FFFFFF;
    font-size: 12px;
}

.button2 {
    clear: both;
    width: 175px;
    height: 31px;
    background: #666666;
    text-align: center;
    line-height: 20px;
    color: #FFFFFF;
    font-size: 12px;
}

.button2_selectd {
    clear: both;
    width: 175px;
    height: 31px;
    background: #99FF37;
    text-align: center;
    line-height: 20px;
    color: #666666;
    font-size: 12px;
}

.button3 {
    clear: both;
    width: 50px;
    height: 25px;
    background: #666666;
    text-align: center;
    line-height: 20px;
    color: #FFFFFF;
    font-size: 12px;
}

/* block */
.button_block {
    text-align: center;
    margin-top: 30px;
}

.lp1 {
    text-align: left;
    color: darkred;
    font-weight: bold;
}

/* 列表：填寫中… */
.tb {
    table-layout: fixed;
}

.link {
    text-align: right;
}

#filter {
    text-align: right;
    margin-bottom: 10px;
}

.anchor {
    font-size: 12px;
    text-align: right;
}

.tr1 {}

.tr2 {
    border-bottom: #000000 1px dotted;
}

/* footer1 */
#footer1 {
    background: #dcdcdc;
    border: 1px;
    width: 100%;
    margin-top: 1.5em;
    padding: 0.5em 0 0.5em;
}

/* img */
IMG {
    border-bottom: 0px;
    border-left: 0px;
    border-top: 0px;
    border-right: 0px
}

/* note message */
.note_msg1 {
    color: #ff0000;
}