﻿@charset "utf-8";

html {
    font-size: 1.2em;
}

body {
    font-family: "Arial","Times New Roman","sans-serif","Microsoft JhengHei","SimSun";
    letter-spacing: 2px;
    margin: 0px;
}

#ProgressBar {
    letter-spacing: 1px;
}

body, #ProgressBar {
    background-color: #f6f5ed;
}

a {
    letter-spacing: 1px;
    text-decoration: none;
}

/*.EngSpan, h1 span, h2 span, p span, li div {*/
.EngSpan, span, li div {
    letter-spacing: 0px;
}

h1 {
    font-size: 1.4em;
    background-color: #8A5519;
}

    h1 input[type=button] {
        float: right;
        font-size: 1rem;
    }

h2 {
    font-size: 1.3em;
    background-color: #ba9c78;
}

h1, h2 {
    color: white;
    padding: 5px;
}

h1, h2, ol {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

ol {
    margin-left: -10px;
}

li {
    font-size: smaller;
}

input, button, select {
    font-size: 1em;
}

    input[type=checkbox] {
        margin-right: 0.7em;
    }

    input[type=email] {
        width: 80%;
        max-width: 300px;
    }

select {
    height: 1.5em;
}

textarea {
    font-size: 1.2em;
    height: 6em;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

#DivHeader {
    width: 100%;
    background-color: white;
    box-shadow: 0 12px 12px -12px rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 99;
}

    #DivHeader div {
        height: 5em;
        margin: auto;
        display: flex;
        align-items: center;
    }

    #DivHeader div, #DivBody {
        max-width: 1000px;
    }

    #DivHeader img {
        max-width: 100%;
    }

#banner {
    width: 100%;
}

#ProgressBar {
    padding-bottom: 5px;
}

.w98P {
    width: 98%;
}

.w100P {
    width: 100%;
}

.w50 {
    width: 50px;
}

.w100 {
    width: 100px;
}

.w300 {
    width: 300px;
}

#DivBody {
    margin: 0 auto;
    padding-top: 5.5em;
    margin-bottom: 2em;
    background-color: #f4ece3;
}

.LastRowBtn {
    text-align: center;
    padding-bottom: 30px;
}

.CbStyle {
    font-size: smaller;
    text-indent: -30px;
    padding-left: 30px;
    letter-spacing: 1px;
}

.Cb2 {
    text-indent: -2em;
    margin-left: 2em;
    display: block;
}

/*Submit page*/
.DivSession {
    padding: 1em;
}

.CbCategory span {
    margin-right: 2em;
    white-space: nowrap;
}

.DivGrid2 {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.5em;
}

    .DivGrid2 div:nth-child(odd) {
        text-align: right;
        font-weight: bold;
        padding-right: 0.5em;
    }

#TbLastName {
    width: 150px;
}

#TbFirstName {
    width: 300px;
}

#disclaimer {
    font-size: smaller;
    margin-top: 20px;
    text-align: left;
    font-weight: normal;
    grid-column: 1 / span 2;
}

    #disclaimer div {
        text-align: left;
        font-weight: normal;
    }

/*Confirm Page*/
div.g-recaptcha {
    margin: 0 auto;
    width: 304px;
}

/*Enroll Page*/
#LbSystemNoC, #LbSystemNo {
    color: blue;
}

@media only screen and (min-width: 320px) and (max-width: 500px) {
    html {
        font-size: 1em;
    }

    #DivHeader div {
        height: 4em;
    }

    #DivBody {
        padding-top: 4.5em;
        margin-bottom: 1em;
    }

    #ProgressBar {
        padding-bottom: 5px;
    }

    h1, h2 {
        padding: 2px;
        font-size: 1.1em;
    }

    .DivSession {
        padding: 5px;
    }

    .DivGrid2 {
        grid-template-columns: 90px 1fr;
        gap: 2px;
    }

        .DivGrid2 div:nth-child(odd) {
            padding-right: 4px;
        }

    #TbLastName {
        width: 30%;
    }

    #TbFirstName {
        width: 50%;
    }

    #FileUpload, #TbCNameG, #TbRelationG {
        width: 80%;
    }

    .w98P {
        width: 90%;
    }
}