﻿@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}

html,
body,
form {
    min-height: 100vh;
}

html {
    font-size: 62.5%;
    background-color: #EBEAE6;
}

body > * {
    font-family: 'PingFang TC','Heiti TC','LantingHei TC','LiHei Pro','微軟正黑體','Noto Sans TC','Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;
}

img {
    max-width: 100%;
    vertical-align: top;
}

*:focus {
    outline-width: 3px !important;
    outline-style: dashed !important;
    outline-color: #fd9748 !important;
}

.container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 0;
}

h1 {
    margin-bottom: 0.5em;
    font-size: 2.8rem;
    font-weight: bold;
    color: #0468B8;
}

.header {
    position: relative;
    margin-bottom: 2em;
}

.description_list p {
    margin-bottom: 0.5em;
    font-size: 1.8rem;
    line-height: 1.6;
}

.title {
    position: relative;
    margin-bottom: 1em;
}

    .title .btnpost {
        -webkit-appearance: none;
        outline: none;
        border: none;
        background: transparent;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 78.3854166667%;
        margin: auto 0;
        width: 14.5833333333%;
        cursor: pointer;
    }

    .title.post {
        margin: 2em 0 1em 0;
    }

        .title.post .btnreg {
            -webkit-appearance: none;
            outline: none;
            border: none;
            background: transparent;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 78.3854166667%;
            margin: auto 0;
            width: 14.5833333333%;
            cursor: pointer;
        }


.passenger_wrap {
    background: url(../assets/bgleaf.png), #ebeae6;
    background-repeat: repeat-y, no-repeat;
    background-position: top center, top center;
    min-height: 100vh;
    box-shadow: 2px 2px 10px #AAA;
}

@media screen and (min-width: 1001px) {
    .passenger_wrap {
        margin: 0 15px;
    }
}

.process_wrap {
    padding: 10px 0;
}

.process_desktop {
    display: none;
}

.process_mobile {
    display: block;
}

@media screen and (min-width: 1001px) {
    .process_desktop {
        display: block;
    }

    .process_mobile {
        display: none;
    }
}

section {
    padding: 0 0 30px 0;
}

    section h2 {
        padding: 0;
        padding-left: 0.5em;
        font-size: 2.6rem;
        font-weight: bold;
        line-height: 1;
        color: #0468B8;
        position: relative;
    }

        section h2:before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            width: 6px;
            height: 100%;
            background: #0468B8;
        }

.form_wrap {
    display: flex;
    flex-wrap: wrap;
    background-color: #ccd8da;
    padding: 1em;
    border-radius: 1em;
    margin: 0 auto 2em auto;
    width: 90%;
}

.form_group {
    flex: 0 0 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1em;
}

#PanelTrain .form_group {
    padding: 0;
}

.form_label {
    padding: 0.5em 1em;
    font-size: 2.2rem;
    font-weight: bold;
    color: #606a5b;
    position: relative;
    display: block;
    flex-basis: 100%;
}

.fullwidth {
    flex-basis: 100%;
}

.smscodeerrormsg {
    flex: 0 0 90%;
    display: block;
}

    .smscodeerrormsg.active {
        color: #c40606;
        padding: 0.5em 0 0.5em 1em;
        border: 2px solid #c40606;
        font-size: 2.0rem;
        font-weight: bold;
        margin: 10px auto;
        flex-basis: 90%;
    }

#PanelSMSCode {
    text-align: center;
}

.alignitemsbaseline {
    align-items: baseline;
}

.form_label span,
.label_note {
    font-size: 1.4rem;
    font-weight: normal;
    color: #999;
    padding-left: 0.3em;
    line-height: 1.3;
}

.form_group input {
    -webkit-appearance: none;
    width: calc(100% - 2.5em);
    margin: 0 auto;
    padding: 0.5em 0.5em 0.3em 0.5em;
    border: 0;
    outline: 0;
    font-size: 1.8rem;
    border-radius: 0.5em;
}

.form_group select {
    -webkit-appearance: none;
    background: url("arrow.png") no-repeat right center transparent;
    font-size: 1.6rem;
    line-height: 1;
    padding: 0.5em 2em 0.5em 0.3em;
    z-index: 10;
}

.form_textarea {
    width: 100%;
    padding: 1em;
    font-size: 1.8rem;
}

.form_group .description {
    padding: 0 1em;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: bold;
    color: #c40606;
}

.validcode {
    text-align: center;
}

.btn {
    -webkit-appearance: none;
    padding: 0.5em 3em !important;
    border: none;
    border-radius: 0.5em;
    outline: none;
    font-size: 2.0rem;
    font-weight: bold;
    color: #FFF;
    background-color: #606a5b;
    cursor: pointer;
}

.form_group.fillout_datetime .form_label {
    flex-basis: 6em;
}

.fillout_datetimebox_wrap {
    display: flex;
    flex-wrap: wrap;
}

.form_group.fillout_datetime .fillout_datetimebox {
    flex: 1 0 0;
    display: flex;
    align-items: flex-start;
    padding-left: 2.5em;
}

@media screen and (min-width: 1001px) {
    .form_group.fillout_datetime .fillout_datetimebox {
        padding-left: 0;
    }
}

.fillout_datetimebox span {
    background-color: #F7F7F7;
    border: 1px solid #999;
    padding: 0.5em;
    font-size: 1.6rem;
    vertical-align: middle;
}

    .fillout_datetimebox span.breakpoint {
        flex: 0 0 100%;
    }

.fillout_placebox {
    padding: 0;
    flex: 0 0 100%;
    display: flex;
}

@media screen and (min-width: 1001px) {
    .fillout_placebox {
        padding-left: 2em;
        flex: 0 0 100%;
        display: flex;
    }
}

.fillout_placebox .placebox_item {
    text-align: center;
    flex: 1 0 0px;
    color: #0468B8;
    background: #F7F7F7;
    border: 1px solid #000;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.4em 1em;
    cursor: pointer;
    text-decoration: none;
}

@media screen and (min-width: 1001px) {
    .fillout_placebox .placebox_item {
        font-size: 2.4rem;
    }
}

.fillout_placebox .placebox_item.active {
    background: #0468B8;
    color: #FFF;
    border: 1px solid #0468B8;
}

.fillout_placebox div + div {
    margin-left: 1em;
}

.fillout_venuesdropdownlist {
    flex: 0 0 100%;
    margin-top: 1em;
    padding-left: 2em;
}

    .fillout_venuesdropdownlist select,
    .fillout_linestionbox select {
        width: 100%;
        font-size: 1.6rem;
        padding: 0.5em 2em 0.5em 0.3em;
    }

@media screen and (min-width: 1001px) {
    .fillout_venuesdropdownlist {
        flex: 1 0 0;
        margin-top: 0;
        padding-left: 2em;
    }
}

.fillout_linestionbox {
    width: 100%;
    margin-top: 1em;
    padding-left: 2em;
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 1001px) {
    .fillout_linestionbox {
        margin-top: 0;
    }
}

.fillout_trtcstationdropdownlist {
    flex: 1 0 0;
}

.form_group input.fileupload {
    border: none;
}

.rfvhint {
    color: #c40606;
    font-size: 1.6rem;
    font-weight: bold;
    width: 100%;
    padding-top: 0.5em;
    margin-left: 1.5em;
}

.smscodehint {
    color: #c40606;
    font-size: 1.6rem;
    font-weight: bold;
    width: 100%;
    padding: 1em 1em 0 1em;
    line-height: 1.3;
    margin-bottom: 1em;
}

.centerbox {
    /*height: 100%;*/
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 0 15px;
}

    .centerbox p,
    .centerbox a {
        flex-basis: 100%;
        font-size: 32px;
        font-weight: bold;
        color: #b1118b;
    }

    .centerbox a {
        display: block;
        text-decoration: none;
    }

.form_group.random {
    flex-wrap: wrap;
    justify-content: flex-start;
}

    .form_group.random label {
        flex-basis: 100%;
    }

.random_list {
    flex-basis: 100%;
}

    .random_list.pic {
        text-align: center;
    }

@media screen and (min-width: 1001px) {
    .random_list.pic {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.validate__toolbar {
    margin: 1em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.randomplay {
    touch-action: manipulation;
    line-height: 50px;
    flex: 0 0 100%;
    -webkit-appearance: none;
    display: block;
    outline: none;
    text-align: center;
    color: #0468B8;
    background: #F7F7F7;
    border: 1px solid #000;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0 5px;
    cursor: pointer;
    margin-bottom: 1em;
}


.randomtextbox {
    -webkit-appearance: none;
    font-size: 1.6rem;
    font-size: max(16px, 1em);
    border: 1px solid #000000;
    margin-bottom: 10px;
    margin-right: 1em;
}

#ImageRandom {
    display: block;
    margin: auto;
}

.randomrefresh {
    flex: 0 0 100%;
    line-height: 50px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    color: #0468B8;
    background: #F7F7F7;
    border: 1px solid #000;
    margin: 0 5px;
    padding: 0 5px;
}

@media screen and (min-width: 1001px) {
    .random_list.input {
        flex-basis: 40%;
    }

    .random_list.pic {
        flex: 1 0 0;
        text-align: left;
    }

    #ImageRandom {
        margin: 0;
    }

    .randomplay {
        flex: 0 0 fit-content;
        margin-left: 20px;
        margin-bottom: 0;
    }

    .randomrefresh {
        flex: 0 0 fit-content;
        margin-left: 20px;
    }
}

#PanelThank_pic {
    display: block;
    margin: auto;
}

textarea.form_textarea {
    border: none;
    outline: none;
    border-radius: 0.5em;
    width: calc(100% - 2.5em);
    margin: 0 auto;
    margin-bottom: 2em;
}

.fixwarning {
    font-weight: bold;
    color: #d11a36;
}

#PanelWaitting {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
}

    #PanelWaitting.active {
        display: flex;
        cursor: not-allowed;
        user-select: none;
        align-items: flex-end;
        padding-bottom: 200px;
    }

.download__title {
    font-size: 4.8rem;
    font-weight: bold;
    color: #FFF;
    font-size: 4.0rem;
    font-weight: bold;
    text-shadow: 3px 3px #333;
}

    .download__title img {
        border: none;
        height: 50px;
    }

.message__wrap {
    display: flex;
}

    .message__wrap tbody {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .message__wrap tr {
        margin: 1em auto;
        padding: 1em 2em;
        border-radius: 0.5em;
        background: rgba(255, 255, 255, 70%);
        flex: 0 0 90%;
        display: grid;
        grid-template-areas: "name name"
            "datetime ip"
            "content content";
    }

    .message__wrap td {
        border: none;
        margin-bottom: 0.5em;
    }

        .message__wrap td.message__name {
            grid-area: name;
            font-size: 20px;
            font-weight: bold;
            color: #606a5b;
        }

        .message__wrap td.message__content {
            grid-area: content;
            font-size: 16px;
            font-weight: bold;
            line-height: 1.3;
            color: #4d4d4d;
            margin-top: 0.5em;
            word-break: break-word;
        }

        .message__wrap td.message__ip {
            grid-area: ip;
            font-size: 14px;
            font-weight: bold;
            text-align: right;
            color: #636363;
        }

        .message__wrap td.message__datetime {
            grid-area: datetime;
            font-size: 14px;
            font-weight: bold;
            color: #636363;
        }

    .pagecontrol {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        background: transparent;
        padding: 0 10px;
        margin: 0 auto;
    }
        .pagecontrol a {
            flex: 0 0 10%;
            padding: 0;
            font-size: 18px;
            font-weight: bold;
            color: #231815;
            margin: 0;
            text-decoration: none;
            text-align: center;
        }

            .pagecontrol a.active,
            .pagecontrol a:hover {
                color: #152cff;
            }

.reglist__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.reglist {
    text-align: left;
    margin-left: 1em;
    padding: 0 0.5em;
}

    .reglist li {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 0.2em;
    }

@media screen and (min-width: 768px) {
    .swal2-popup.swal2-modal.swal2-icon-info.swal2-show {
        max-width: 700px;
        width: 100%;
    }
}
