/*css reset start*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*css reset end*/

body {
	position: relative;
	font-size: 1.2em;
}

body,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
button {
	font-family: "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	font-weight: bold;
}

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1.1em;
}

h6 {
	font-size: 1em;
}

button {
	border: 0
}

a,
a:focus,
a:hover {
	text-decoration: none
}

body {
	background-color: #e1efef;
	padding: 1em 0;
}

h1,
h2 {
	text-align: center;
}

form {
	display: block;
	margin: 0 auto;
	margin-top: 1em;
	padding: 2em;
	max-width: 30em;
	background-color: #fff;
	box-shadow: 0 1px 5px 2px rgba(0, 0, 0, .3);
	text-align: center;
}

form p,
form .p{
	margin: 0.5em;
	text-align: left;
    display: block;
}

form label{
    display:inline-block;
}

    form p > span,
    form .p > span {
        display: block;
        margin-bottom: 0.2em;
    }

    form p input,
    form .p input {
        height: 1.5em;
        font-size: 1em;
    }

    form p > input,
    form p > select,
    form .p > input,
    form .p > select {
        width: 100%;
        height: 1.5em;
        font-size: 1em;
    }

    form p > select,
    form .p > select {
        height: 1.9em;
    }

    form p > sub,
    form .p > sub {
        font-size: 0.9em;
        margin-bottom: 0.5em;
        display: inline-block;
        line-height: 1.5em;
    }

form > div > button {
	padding: 0.3em 1em;
	font-size: 1em;
	background-color: #d85424;
	color: #FFF;
	border-radius: 0.3em;
	cursor: pointer;
	margin-top: 1em;
}

form > div > button:hover {
	background-color: #157b48;
}

form > div > button:disabled {
	color: #EEE;
	background-color: #AAA;
	cursor: default;
}

body > img {
	display: block;
	max-width: 25%;
	height: 25%;
	margin: 0 auto;
	margin-top: 2em;
}

#mask {
	display: none;
	top: 0;
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.3);
}
form .error
{
	color:#FF0000;
}