/* 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;
}


/* reset end */

h1 {
    font-size: 2em;
    color: darkblue;
    text-align: left;
    font-weight: bold;
    margin: 15px 0px 15px 0px;
}

h5 {
    font-size: 1em;
    color: red;
    text-align: center;
    font-weight: bold;
}

h3 {
    font-size: 1em;
    color: #ff0050;
    padding: 10px 20px 10px 0px;
    font-weight: bold;
}

h6 {
    font-size: .7em;
    color: #2d458d;
    line-height: 1.5em;
}

a {
    text-decoration: none;
    color: #ff0050;
}

nav a.active,
a:hover {
    color: #ff0050;
    font-weight: bold;
}

.game a {
    text-decoration: none;
    color: #2d458d;
}

.share a {
    text-decoration: none;
    color: #fff;
}

img {
    width: 100%;
    max-width: 100%;
}

html {
    min-height: 100%;
    position: relative;
}

body {
    background-color: #c6ffff;
    background-image: url('img/pg.png');
    background-repeat: repeat;
    color: #000;
    font-size: 24px;
    line-height: 1.4;
    font-family: Microsoft JhengHei, Arial, sans-serif;
    margin-bottom: 2em;
}

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

header img {
    display: block;
}

nav {
    background-color: #00dcff;
    text-align: center;
    margin: 0 auto;
    padding-top: 8px;
}

nav li {
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    padding: 5px;
    color: #ff0050;
    margin-top: -.5em;
}

nav img {
    margin-bottom: -.5em;
}

footer {
    background-color: #25dcfc;
    padding: 5px 0;
    text-align: center;
    font-size: .8em;
    color: #2d458d;
    position: absolute;
    bottom: 0;
    width: 100%;
}

section {
    box-sizing: border-box;
    padding: 1em;
    max-width: 1200px;
    width: 60%;
    margin: 0 20%;
}

h4 {
    display: inline-block;
}

h4+input {
    width: auto;
}

section p {
    margin: 8px auto;
}

.notice {
    font-size: .7em;
    display: block;
}

.tident {
    text-indent: -2em;
    margin-left: 2em;
}

.game {
    background-color: #00dcff;
    background-image: url('img/t.png');
    background-repeat: no-repeat;
    color: #2d458d;
    text-align: left;
    margin: 10px 0 10px 0;
    padding: 15px 25px 15px 50px;
    border-radius: 10px;
    box-shadow: 0px 3px 3px 0px black;
}

.game_a {
    background-color: #00dcff;
    color: #2d458d;
    text-align: left;
    padding: 10px 25px 10px 25px;
    border-radius: 10px;
}

.way {
    background-color: #fff;
    color: black;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 10px 10px 5px 25px;
    border-radius: 10px;
    border: #00dcff 3px;
    border-style: solid;
    line-height: 35px;
}

.qa01 {
    background-color: #fff;
    color: black;
    text-align: center;
    padding: 20px 30px 30px 30px;
    border-radius: 10px;
    border: #25dcfc 3px;
    border-style: solid;
    text-align: left;
    margin-bottom: 5px;
}

.qa {
    background-color: #fff;
    color: black;
    text-align: center;
    margin-top: 20px;
    padding: 10px 0px 5px 0px;
    border-radius: 10px;
    border: #00dcff 3px;
    border-style: solid;
}

.price {
    background-color: #fff;
    color: black;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 10px 10px 5px 25px;
    border-radius: 10px;
    border: #00dcff 3px;
    border-style: solid;
    line-height: 35px;
}

#userName {
    font-size: 1em;
}

.obx {
    display: inline-block;
}

.half {
    width: 42%;
    display: inline-block;
}

.half:last-child {
    width: 56%;
}

.half.max {
    max-width: 10em;
}

.form-label {
    margin: .5em 0;
    line-height: 2;
}

label {
    min-width: 24%;
    display: inline-block;
    margin-top: .5em;
}

.colorBox input[type=radio] {
    margin-top: 2em;
}

.box {
    width: 100px;
    height: 100px;
    display: block;
    float: left;
}

input,
select {
    background-color: #fff;
    padding: .5em;
    outline: none;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: .9em;
    margin-top: 30px;
}

input[type=radio] {
    margin-top: .45em;
    float: left;
}

select {
    width: 100%;
    max-width: 60px;
    height: 48px;
    line-height: 48px;
}

button {
    padding: .45em .5em;
    box-sizing: border-box;
    color: white;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: .9em;
    width: 80%;
    outline: none;
}

.rdo {
    width: 70px;
    box-sizing: border-box;
    display: inline-block;
    line-height: 1em;
}

.col5 {
    width: 30%;
    display: inline-block;
}

.col7 {
    width: 65%;
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    font-size: 1em;
}

.col6 {
    width: 20%;
    display: inline-block;
    margin-top: 20px;
    padding-left: 10px;
}

.center {
    text-align: center;
}

.share {
    display: block;
    min-width: 250px;
    background-color: #3b5999;
    cursor: pointer;
    margin: 20px auto 0px auto;
}

.sent {
    display: block;
    min-width: 250px;
    background-color: white;
    color: black;
    cursor: pointer;
    margin: 20px auto 0px auto;
}

.start {
    width: 120px;
    background-color: dodgerblue;
    color: white
    cursor: pointer;
    margin: 5px 0px 0px 10px;
}


.check {
    display: none;
}

h2 {
    color: #f00;
    font-weight: bold;
}

#quesTab,
#finalAns {
    display: none;
}

#copyText {
    width: 100%;
    resize: none;
    font-size: 1em;
    text-align: center;
    padding: 10px 0px 0px 0px;
}
#loadFont { font-size:4em; color:rgba(0,0,0,.6); }
.selImgBox label{ width: 19%; }
.selImg5 label { min-width: 19%; }
.selFocus span ,.selFocus img { box-sizing: border-box; float: none; margin: 0 auto }
.selFocus input:checked + span { border: 2px solid #00f; box-shadow: 0 0 10px #00f; }
.selFocus input:checked + img { border: 2px solid #00f; box-shadow: 0 0 10px #00f; }
@media (max-width: 767px) {
    h4 {
        display: block;
    }
    .rdo {
        width: 18%;
    }
    .half {
        width: 100%;
    }
    .half:last-child {
        width: 100%;
    }
    h4+input {
        width: 100%;
    }
    section {
        width: 100%;
        margin: 0 auto;
    }
    .col5 {
        width: 50%;
        margin-left: 25%;
        margin-right: 25%;
    }
    .col7 {
        width: 95%;
    }
}

@media (min-width: 768px) and (max-width: 961px) {
    section {
        width: 80%;
        margin: 0 10%;
    }
}
