
main {
    min-height: calc(100vh - 20px);
    padding-top: 80px;
}

section {
    padding: 1.5em 1em;
}

img {
    max-width: 100%;
}

form > .row > div {
    margin-bottom: 1.5em;
    margin-top: 0;
}

table {
    width: 100%;
    margin: 1em 0;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid #b5b13e;
    border-radius: 10px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    background-color: #fff;
}

    table > thead > tr,
    table > tbody > tr {
        margin: 0.5em 0;
    }

        table > thead > tr > th,
        table > tbody > tr > td {
            padding: 0.5em 1em;
            border-bottom: 1px solid #b5b13e;
        }

        table > thead > tr > th {
            background-color: #b5b13e;
            color: #fff;
        }

            table > thead > tr > th:not(:first-of-type) {
                text-align: center;
            }

        table > tbody > tr:last-of-type > td {
            border: none;
        }

    table.style1 {
        border-spacing: 3px;
        border: none;
    }

        table.style1 > thead > tr > th,
        table.style1 > tbody > tr > td {
            border: 1px solid #fcab37;
            background-color: #fff;
        }

        table.style1 > thead > tr > th {
            background-color: #fcab37;
            color: #fff;
            width: 25%;
        }

        table.style1 > thead > tr > th {
            border-radius: 10px 0 0 10px;
        }

        table.style1 > tbody > tr > td {
            border-radius: 0 10px 10px 0;
        }

    table > tbody > tr > td .fa-check-circle:before {
        font-size: 1.3em;
        color: #16794a;
    }

.tableTitle {
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    min-width: 100px;
    background-color: #b5b13e;
    margin: 0;
    border-radius: 999em 999em 0 0;
    padding: 0.5em 2em;
    text-align: center;
    color: #fff;
}

    .tableTitle + table {
        margin-top: 0;
        border-radius: 0 10px 10px 10px;
    }


.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

input[type=radio] {
    width: 20px;
    height: 20px;
    vertical-align: sub;
}

.dash > div:not(:last-of-type) {
    position: relative;
}

    .dash > div:not(:last-of-type):after {
        content: "-";
        position: absolute;
        right: -3px;
        top: 7px;
    }

.anchor > li {
    display: inline-block;
    width: 100px;
    text-align: center;
    border: 1px solid #999528;
    padding: 0.2em;
    border-radius: 10px;
    background-color: #fff;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    transition: 0.3s all;
}

    .anchor > li > a {
        display: block;
        text-decoration: none;
    }

    .anchor > li:hover {
        background-color: #999528;
    }

        .anchor > li:hover > a {
            color: #fff;
        }
/*table.style1 > tbody > tr:last-of-type > th {
            border-bottom-left-radius: 20px;
        }

        table.style1 > tbody > tr:last-of-type > td {
            border-bottom-right-radius: 20px;
        }*/
/*header*/
header {
    background: -webkit-gradient(linear,left top,right bottom,from(#827f2c),to(#999528));
    background: linear-gradient(to bottom right,#827f2c,#999528);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 80px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    width: 250px;
    max-width: 100%;
}

.nav-link {
    color: #fff;
    transition-property: background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: transparent;
    box-shadow: inset 0 -3px 0 #fff;
    border-radius: unset;
}

.nav-link:focus {
    color: #fff;
    border-radius: unset;
    background-color: transparent;
    border-bottom: transparent;
}

.nav-pills .nav-link.active:hover,
.nav-pills .show > .nav-link:hover,
.nav-link:hover {
    color: #fff;
    border-radius: unset;
    background-color: transparent;
    box-shadow: inset 0 -38px 0 rgba(255,255,255,0.3);
}

.nav-pills > .nav-item {
    padding: 0 0.5em;
}

.navbar {
    padding: 0;
    position: initial;
}

/*麵包屑*/

.breadcrumb-nav {
    padding: 0.5em 0;
    background-color: #e1d6b8;
}

.breadcrumb {
    margin-bottom: 0;
}

    .breadcrumb-item.active,
    .breadcrumb a {
        color: #333;
    }

.breadcrumb-item + .breadcrumb-item::before {
    color: #333;
}

h1 {
    padding: 2.3em 0;
    text-align: center;
    font-size: 2.2em;
    background-image: url(../img/h1bg.png);
    background-position: center -10%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-bottom: 0;
    color: #333;
    font-weight: bold;
    background-color: #eae3cc;
    position: relative;
    z-index: 0;
    color: #fff;
}

    h1::after {
        content: '';
        display: block;
        position: absolute;
        top: -320px;
        left: 50%;
        transform: translate(-50%,0);
        background-color: #b7ae37;
        width: 500px;
        height: 500px;
        max-width: 100%;
        border-radius: 300px;
        z-index: -1;
    }

h2 {
    font-size: 1.6em;
    position: relative;
    margin-bottom: 1.2em;
}

    h2:after {
        content: '';
        width: 3em;
        height: 4px;
        display: block;
        background-color: #999528;
        margin-top: 0.2em;
    }

h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

.note {
    background-color: #ffefc3;
    padding: 1em;
    border-radius: 0 20px 0 20px;
}

    .note > p:last-of-type {
        margin-bottom: 0;
    }

.ul-list {
    list-style-type: none;
    padding-left: 0;
}

    .ul-list.style1 {
        padding-left: 2rem;
    }

        .ul-list.style1 > li {
            list-style-type: disc;
        }

.demo-section {
    overflow: auto;
}

.k-upload {
    width: calc(100% - 125px);
    float: left;
    position: relative;
}

    .k-upload .k-dropzone {
        background-color: #efefef;
        border: 1px solid #d3d3d3;
        padding: 0.7em;
        border-radius: 10px 0 0 10px;
    }

        .k-upload .k-dropzone .k-upload-button {
            width: 150px;
            height: 40px;
            background-color: #333;
            border: 1px solid #aaa;
            color: #fff;
            border-radius: 10px;
            position: relative;
            transition: .3s all;
        }

            .k-upload .k-dropzone .k-upload-button:hover {
                background-color: #888;
            }

            .k-upload .k-dropzone .k-upload-button input {
                opacity: 0;
                width: 100%;
                height: 100%;
                cursor: pointer;
            }

                .k-upload .k-dropzone .k-upload-button input::-webkit-file-upload-button {
                    cursor: pointer;
                }

            .k-upload .k-dropzone .k-upload-button span {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                text-align: center;
                width: 100%;
                pointer-events: none;
            }

.kendo-flix-single .k-upload-files {
    list-style-type: none;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 11em;
    transform: translate(0,-50%);
}

.k-upload *,
.k-upload::after,
.k-upload::before {
    box-sizing: border-box;
}

.k-upload-status {
    margin-left: 0.5em;
}

.k-button {
    box-sizing: border-box;
    border: 1px solid transparent;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    position: relative;
    transition: color .2s ease-in-out;
    border-radius: 5px;
    width: 1.5em;
    height: 1.5em;
    vertical-align: top;
}

    .k-button:hover::before {
        opacity: 0.4;
    }

    .k-button::before {
        border-radius: inherit;
        content: "";
        background-color: #aaa;
        opacity: 0;
        display: none;
        pointer-events: none;
        position: absolute;
        left: -1px;
        right: -1px;
        top: -1px;
        bottom: -1px;
        z-index: 0;
        transition: opacity .2s ease-in-out;
    }

.k-button-flat::before {
    display: block !important;
}


.k-button .k-button-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .k-button .k-button-icon:before {
        content: '\f00d';
        color: #333;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
    }

.k-submit-button {
    width: 125px;
    float: right;
    margin: 0;
}

    .k-submit-button button[type=submit] {
        width: 100%;
        /* height: 100%; */
        padding: 0.7em;
        line-height: 40px;
        border-radius: 0 10px 10px 0;
    }

.kendo-flix-multiple .k-upload-files {
    padding: 0;
    list-style-type: none;
}

    .kendo-flix-multiple .k-upload-files .k-file {
        margin: 0.5em 0;
        border: 1px solid #ddd;
        padding: 0.5em;
    }

.k-upload-files .k-file .k-file-size {
    font-size: 0.9em;
    margin: 0 0.5em;
    color: #5c5c5c;
    background-color: #efefef;
    padding: 0.1em 0.5em;
    border-radius: 10px;
}

/*Login*/
#Login > .container > .row {
    margin: 1em auto;
}

    #Login > .container > .row > .text-center > h2:after {
        margin: auto;
    }

    #Login > .container > .row > .text-center > #ReserveBtn {
        background-image: url(../img/btn-bg1.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        color: #fff;
        width: 800px;
        max-width: 100%;
        border-radius: 20px;
        text-align: left;
        padding: 4%;
        padding-left: 12%;
        font-size: 2em;
        transition: .3s all;
    }


        #Login > .container > .row > .text-center > #ReserveBtn:hover {
            opacity: .8;
        }

/*@keyframes rotationY {
    0% {
        background-size:100%;
    }

    50% {
        background-size: 120%;
    }

    100% {
        background-size: 100%;
    }
}*/

/*Register*/
.illegal > label {
    width: 100%;
}

    .illegal > label > input[type=text] {
        display: inline-block;
        width: calc(100% - 84px);
    }

.was-validated #CheckBoxAgency input[required=required] {
    border-color: #dc3545;
}

    .was-validated #CheckBoxAgency input[required=required]:checked {
        background-color: #dc3545;
    }

    .was-validated #CheckBoxAgency input[required=required] + label {
        color: #dc3545;
    }

#CheckBoxAgency > div {
    margin-bottom: 0.5em;
}

.form-check-label {
    line-height: 38px;
}

.form-check-input {
    margin-top: 0.65em;
}

/*SignInfo*/
#SignInfo h2 {
    float: left;
}

#SignInfo table {
    min-height: 370px;
}

    #SignInfo table > tbody > tr > td:not(:first-of-type) {
        text-align: center;
    }

/*UploadFile*/
#UploadFile > .container > #UploadFileAnchor {
    padding: 1em;
    margin-bottom: 3em;
    background-color: #01321f;
    border-radius: 10px;
    position: relative;
}

    #UploadFile > .container > #UploadFileAnchor:after {
        border-color: #01321f transparent transparent transparent;
        border-style: solid solid solid solid;
        border-width: 20px 20px 0 20px;
        bottom: -20px;
        content: "";
        height: 0px;
        position: absolute;
        left: 50%;
        transform: translate(-50%,0);
        width: 0px;
    }

    #UploadFile > .container > #UploadFileAnchor > li {
        display: inline-block;
        padding: 0.5em 1em;
        background-color: #fff;
        border: 2px solid #01321f;
        margin-right: 0.5em;
        border-radius: 10px;
        transition: .5s all;
    }

        #UploadFile > .container > #UploadFileAnchor > li:hover {
            transform: scale(1.05);
        }

        #UploadFile > .container > #UploadFileAnchor > li > a {
            display: block;
            color: #01321f;
            text-decoration: none;
        }

#UploadFile > .container > #UploadFileItem > li {
    padding: 0.7em 1.5em;
    margin: 1em 0 3em 0;
    border: 2px solid #01321f;
    border-radius: 20px 0 20px 0;
    position: relative;
}

    #UploadFile > .container > #UploadFileItem > li > h3 {
        position: absolute;
        top: -1.5em;
        left: 0.5em;
        background-color: #01321f;
        color: #fff;
        padding: 0.3em 0.5em;
        border-radius: 10px;
    }

        #UploadFile > .container > #UploadFileItem > li > h3:after {
            border-color: #01321f #01321f transparent transparent;
            border-style: solid solid solid solid;
            /* 設定邊框大小可拼湊出任意形狀的三角形 */
            border-width: 13px 8px;
            bottom: -20px;
            /* 必須指定，才能顯示內容 */
            content: "";
            height: 0px;
            /* 必須指定，否則會變梯形 */
            position: absolute;
            left: 30px;
            width: 0px;
        }

    #UploadFile > .container > #UploadFileItem > li .ex-download {
        position: relative;
        padding: 0.7em 2em;
        margin: 1.5em 0;
        display: inline-block;
        background-color: #d5f5e7;
        margin-left: 2em;
        border-radius: 20px;
    }

        #UploadFile > .container > #UploadFileItem > li .ex-download:before {
            content: '';
            width: 3em;
            height: 3em;
            display: block;
            background-color: #01321f;
            position: absolute;
            top: 50%;
            left: -2em;
            transform: translate(0,-50%);
            border-radius: 2em;
        }

        #UploadFile > .container > #UploadFileItem > li .ex-download:after {
            content: '\f019';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            margin-right: 0.5em;
            position: absolute;
            top: 50%;
            left: -0.8em;
            transform: translate(0,-50%);
            color: #fff;
            font-size: 1.5em;
        }

#UploadFile form {
    margin: 1em 0;
}

#UploadFile > .container > #UploadFileItem > li > h4 {
    position: absolute;
    margin-top: -0.5em;
    background-color: #fff;
    padding: 0 0.5em;
    margin-left: 0.5em;
    font-weight: 700;
}

    #UploadFile > .container > #UploadFileItem > li > h4 + div {
        border: 1px dashed #01321f;
        padding: 1em;
        border-radius: 20px;
        margin-bottom: 2em;
    }

#UploadFile > .container > #UploadFileItem > li .upload-files-block {
    padding: 0.5em 1em;
    border: 1px dashed #333;
    list-style-type: none;
}

    #UploadFile > .container > #UploadFileItem > li .upload-files-block.red {
        border: 1px dashed #ff3e3e;
        color: #ff3e3e;
    }

    #UploadFile > .container > #UploadFileItem > li .upload-files-block > li {
        margin: 0.5em 0;
    }

        #UploadFile > .container > #UploadFileItem > li .upload-files-block > li > .btn {
            margin-right: 0.5em;
        }

        #UploadFile > .container > #UploadFileItem > li .upload-files-block > li i {
            margin-right: 0.5em;
        }

        #UploadFile > .container > #UploadFileItem > li .upload-files-block > li > span {
            font-size: 0.9em;
            padding: 0.1em 0.5em;
            background-color: #ffefc3;
            border-radius: 10px;
            margin-left: 0.5em;
        }

/*DocDownload*/
#DocDownload table a {
    display: block;
    text-decoration: none;
}

    #DocDownload table a:hover {
        text-decoration: underline;
    }

    #DocDownload table a:before {
        content: '\f019';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-right: 0.5em;
    }

/*RegisterSet*/

#AreaAnchor {
    padding: 1em;
}

    #AreaAnchor > .container > ul {
        margin-bottom: 0;
    }

#AreaItem > .container > table {
    margin-bottom: 2em;
}

    #AreaItem > .container > table tr > th:first-of-type,
    #AreaItem > .container > table tr > th:nth-of-type(4) {
        width: 10%;
    }

    #AreaItem > .container > table tr > th:nth-of-type(2),
    #AreaItem > .container > table tr > th:nth-of-type(5) {
        width: 15%;
    }

    #AreaItem > .container > table tr td:first-of-type {
        font-weight: bold;
    }

    #AreaItem > .container > table tr > th:nth-of-type(2) {
        text-align: left;
    }

    #AreaItem > .container > table tr > td:nth-of-type(3),
    #AreaItem > .container > table tr > th:nth-of-type(4),
    #AreaItem > .container > table tr > td:nth-of-type(4) {
        text-align: center;
    }

    #AreaItem > .container > table tr > th:nth-of-type(5),
    #AreaItem > .container > table tr > td:nth-of-type(5) {
        text-align: right;
    }


#AreaItem .end,
#AreaItem .end ~ td {
    background-color: #e7e7e7;
    color: #959595;
}

/*RegisterPersonInfo*/

#ReservationInfo {
    background-color: #f6f5e8;
}

    #ReservationInfo > .container > table th:last-of-type {
        width: 15%;
    }

    #ReservationInfo > .container > table td:not(:first-of-type) {
        text-align: center;
    }

#PersonInfo #PersonBasicInfo {
    margin: 0.5em 0;
    padding: 0.5em;
}

    #PersonInfo #PersonBasicInfo:before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 17.3px 10px 0 10px;
        border-color: #8a872b transparent transparent transparent;
        display: inline-block;
        vertical-align: middle;
    }

    #PersonInfo #PersonBasicInfo > label {
        font-size: 1.1em;
        font-weight: bold;
        margin-right: 0.5em;
        margin-bottom: 0;
        vertical-align: middle;
    }

#PersonInfo .col-sm-12.row {
    padding: 0;
}

/*footer*/
footer {
    background-color: #66641b;
    min-height: 20px;
}

    footer div > h4 {
        color: #fff;
        text-align: center;
        font-size: 0.9em;
        margin: 0;
        padding: 0.5em;
    }


.loading-bg {
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
}

    .loading-bg > .spinner-border {
        width: 3rem;
        height: 3rem;
        color: #fff;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }

.btn-submit.bottomfixed {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5em 1em;
    background-color: rgba(62,62,62,0.8);
}

.btn-submit > button {
    width: 100%;
}

.btn-submit.fixed > button {
    width: calc(1280px - 1em);
    max-width: 100%;
}

/*btn-primary*/
.btn-primary {
    color: #fff;
    background: -webkit-gradient(linear,left top,right bottom,from(#827f2c),to(#999528));
    background: linear-gradient(to bottom right,#827f2c,#999528);
    border-color: transparent;
    transition: all 0.3s;
}

    .btn-primary:hover {
        color: #fff;
        opacity: 0.8;
        background: -webkit-gradient(linear,left top,right bottom,from(#827f2c),to(#999528));
        background: linear-gradient(to bottom right,#827f2c,#999528);
        border-color: transparent;
    }

    .btn-check:focus + .btn-primary,
    .btn-primary:focus {
        color: #fff;
        background: -webkit-gradient(linear,left top,right bottom,from(#827f2c),to(#999528));
        background: linear-gradient(to bottom right,#827f2c,#999528);
        border-color: transparent;
        box-shadow: 0 0 0 0.25rem rgba(132,129,44,0.35)
    }

    .btn-check:active + .btn-primary,
    .btn-check:checked + .btn-primary,
    .btn-primary.active, .btn-primary:active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background: -webkit-gradient(linear,left top,right bottom,from(#827f2c),to(#999528));
        background: linear-gradient(to bottom right,#827f2c,#999528);
        border-color: transparent;
    }

        .btn-check:active + .btn-primary:focus,
        .btn-check:checked + .btn-primary:focus,
        .btn-primary.active:focus, .btn-primary:active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(132,129,44,0.35)
        }

    .btn-primary.disabled,
    .btn-primary:disabled {
        color: #fff;
        background: -webkit-gradient(linear,left top,right bottom,from(#827f2c),to(#999528));
        background: linear-gradient(to bottom right,#827f2c,#999528);
        border-color: transparent;
    }

#PersonInfo .close {
    display: none;
}

#PersonInfo .active {
    display: block;
}

.was-validated .form-control.submit-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url( '../img/submiterror.svg' );
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .was-validated .form-control.submit-error ~ .invalid-feedback {
        display: block;
    }
