/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
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;
}

a { text-decoration: none; color: #f6edd4; }
nav a.active ,a:hover{ color: #eaa82c; }
img { max-width: 100%; }
body {
    background-color: #000;
    color: #fff;
    font-size: 24px;
    line-height: 1.5;
    font-family: Microsoft JhengHei, Arial, sans-serif;
}

header{
    text-align: center;
    margin-bottom: 3px;
    padding: 15px;
}

header img { width: 70%; }

nav {
    background-color: #3c3526;
    text-align: center;
    margin: 0 auto;
}

nav li {
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    padding: 5px .3em; 
}

footer {
    background-color: #3c3526;
    padding: 5px;
    text-align: center;
}

section{
    box-sizing: border-box;
    background-color: #22211f;
    max-width: 1200px;
    padding: 1em;
    width: 100%;
    margin: 0 auto;
}

h1 { display: none; }
h1.home {
    display: block;
    text-align: center;
    margin: 8px 5px;
}

h2 {
    font-size: 1.1em;
    color: #f6edd4;
    text-align: center;
    padding: 1.3em 0;
}

h3 {
    color: #f6edd4;
    margin: 1em auto;
}

h4 {
    margin: 1.5em 0 1em;
}

strong {
    color: #f6edd4;
    margin: 0.5em 0 1em;
    font-weight: bold;
    display: inline-block;
}

ol { list-style: decimal; padding-left: 2em; }

section p { margin: 8px auto; }
.notice { color: #a9a9a9; font-size: .9em; }

.imgbox img {
    float: left;
}
.imgbox:after ,.imgTab:after{
    content: ""; display: block; clear: both;
}

.imgbox div { float: left; display: inline-block; }
#img_f { width: 6%; }
#img_e { width: 35.533%; }
#img_1 { width: 14.8%; }
#img_2 { width: 11.4%; }
#img_3 { width: 10%; }
#img_4 { width: 11.2%; }
#img_5 { width: 11.067%; }

.step { margin: 1.5em 0; }
.step:after{ content: ""; display: block; clear: both; }
.fb_frame {
    max-width: 340px;
    width: 100%;
    margin: .2em .3em;
    display: inline-block;
}

.input-tab {
    width: 70%;
    max-width: 460px;
    float: left;
}
.word-tab {
    width: 30%;
    float: left;
}
#formData { clear:both; }

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.video iframe, .video object, .video embed{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

input ,select {
    background-color: #fff;
    padding:.5em;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: .9em;
}
input {
    width: 100%; max-width: 350px;
}
select {
    width: 100%; max-width: 150px;
    height: 48px; line-height: 48px;
}
button {
    padding: .45em .5em; text-align: center;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #fff;
    font-size: .9em;
}

.center { text-align: center; }



@media (min-width: 768px) {
    section{
        width: 80%;
        margin: 0 10%;
    }
}
@media (min-width: 962px) {
    section{
        width: 60%;
        margin: 0 20%;
    }
}