﻿@charset "utf-8";

html {
    font-size: 1.2em;
    font-family: "Arial","Times New Roman","sans-serif","Microsoft JhengHei","SimSun";
    letter-spacing: 2px;
    overflow-y:scroll;
}

body {
    margin: 0px;
}

body, #ProgressBar {
    background-color: #f6f5ed;
}

a {
    letter-spacing: 1px;
}

input, button, select {
    font-size: 1em;
}

    input[type=date] {
        font-size: 1em;
    }

    input[type=checkbox] {
        margin-right: 0.5em;
    }

    input[type=submit] {
        min-width: 100px;
    }

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }

.EngSpan {
    letter-spacing: 0px;
}

h1 {
    font-size: 1.4em;
    background-color: #8A5519;
    padding: 0.2em;
}

    h1 a {
        float: right;
        border: 2px solid black;
        background-color: white;
        text-decoration: none;
        font-size: 0.9em;
        padding: 0 3px;
        border-radius: 6px;
    }

h2 {
    font-size: 1.3em;
    background-color: #ba9c78;
    padding: 0.1em;
}

h1, h2 {
    color: white;
}

h1, h2, ol {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

ol {
    font-size: 0.8em;
    letter-spacing: 1px;
}

select {
    height: 1.5em;
    max-width: 90%;
    min-width: 80px;
}

#DivHeader {
    width: 100%;
    background-color: white;
    box-shadow: 0 12px 12px -12px rgba(0, 0, 0, 0.5);
    position: fixed;
}

    #DivHeader div, #DivBody {
        max-width: 1000px;
        margin: auto;
    }

    #DivHeader div {
        height: 5em;
        margin: auto;
        display: flex;
        align-items: center;
    }

    #DivHeader img {
        max-width: 100%;
    }

#Banner {
    max-width: 100%;
}

#ProgressBar {
    padding-bottom: 5px;
}

div.g-recaptcha {
    margin: 0 auto;
    width: 304px;
}

.w50 {
    width: 50px;
}

.w100 {
    width: 100px;
}

.w200 {
    width: 170px;
    max-width: 90%;
}

.w300 {
    width: 60%;
    min-width: 150px;
}

.w98P {
    width: 80%;
}

#TbLastname{
    width:30%;
    max-width:100px;
}

#TbFirstname{
    width:60%;
    max-width:200px;
}

.SpanCb {
    white-space: nowrap;
    margin-right: 20px;
}

#DivBody {
    padding-top: 5.5em;
    margin-bottom: 1em;
    background-color: #f4ece3;
}

/*.Div2 to fix ios chrome browse  */
.Div1, .Div2, .DivEnroll, #DivUpload, #DivRequest {
    padding: 1em;
}

.Div2 {
    display: grid;
    gap: 0.3em;
}

.Div2 {
    grid-template-columns: 210px 1fr;
}

    .Div2 div:nth-child(odd) {
        text-align: right;
        font-weight: bold;
    }

.DivUpload2 {
    margin-bottom: 2em;
}

    .DivUpload2 > div {
        background-color: #f6f5ed;
        margin-bottom: 2em;
    }

        .DivUpload2 > div > div:first-child{
            font-weight:bold;
        }

        .DivUpload2 > div div:nth-child(2), .DivUpload2 > div div:nth-child(3) {
            display: inline-block;
        }
        .DivUpload2 > div div:nth-child(2){
            width:80%;
        }

        .DivUpload2 > div div:nth-child(3){
            text-align:right;
            width:100px;
        }

.DivUpload {
    display: grid;
    grid-template-columns: 2em 11em 1fr;
    margin: 1em;
    background-color: #ede9e4;
}

    .DivUpload div {
        border: 1px solid black;
        padding: 0.2em;
    }

        .DivUpload div:nth-child(3n+1), .DivUpload div:nth-child(3n+2), .DivUpload div:nth-child(3) {
            text-align: center;
        }

        .DivUpload div:nth-child(n+1):nth-child(-n+3) {
            background-color: #e6be93;
        }

.DivCb {
    margin-left: 51px;
    text-indent: -26px;
    display: block;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.DivOrder {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5px;
}

    .DivOrder div:nth-child(odd) {
        text-align: right;
        font-weight: bold;
        padding-right: 10px;
    }

.DivVest {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 5px;
}

#TbOtherAlert, #TbOther {
    width: 80%;
}

#FileUpload {
    width: calc(100% - 150px);
}

#BtnSubmit, #BtnConfirm, #BtnDownload {
    margin: 0 auto 1em auto;
    display: block;
}

#BtnExit {
    top: 4px;
    right: 10px;
    position: absolute;
    float: right;
    background-color: transparent;
    border: none;
    width: 20px;
    min-width: 0px;
    font-size: larger;
    color:black;
}

#SummerGift {
    display: none;
}

.Panel {
    width: 90%;
    max-width: 800px;
    /*border: 3px solid black;
    border-radius: 10px;*/
}

.BlurBack {
    background: rgba(55,55,55,.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


@media only screen and (min-width: 320px) and (max-width: 500px) and (orientation: portrait) {
    html {
        font-size: 1em;
        letter-spacing: 1px;
    }

    h1 {
        font-size: 1.2em;
        padding: 0.1em;
    }

    h2 {
        font-size: 1.1em;
    }

    #DivHeader div {
        height: auto;
        padding: 5px;
    }

    #ProgressBar {
        padding-bottom: 0px;
    }

    #DivBody {
        padding-top: 3.5em;
        margin-bottom: 1em;
    }

    .Div1, .Div2 {
        padding: 5px;
    }

    .Div2 {
        grid-template-columns: 100px 1fr;
        gap: 2px;
    }

        .Div2 div:nth-child(odd) {
            text-align: right;
            font-weight: bold;
            padding-right: 2px;
        }

    .DivUpload {
        grid-template-columns: 2em 5em 1fr;
        margin: 0;
    }

    .DivOrder {
        grid-template-columns: 150px 1fr;
    }

    #DDLDeliveryMethod, #DDLNature, #DDLIndustry {
        overflow-x: hidden;
        max-width: 90%;
        width: 90%;
    }

    #TbFirstname {
        width: 50%;
    }
}