
main {
    min-height: calc(100vh - 110px);
    padding-top: 75px;
}

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 #fcab37;
    border-radius: 10px;
}

    table > tbody > tr {
        margin: 0.5em 0;
    }

        table > tbody > tr > th,
        table > tbody > tr > td {
            padding: 0.5em 1em;
            border-bottom: 1px solid #fcab37;
        }

        table > tbody > tr > th {
            background-color: #fcab37;
        }

            table > tbody > 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 > tbody > tr > th,
        table.style1 > tbody > tr > td {
            border: 1px solid #fcab37;
            background-color: #fff;
        }

        table.style1 > tbody > tr > th {
            background-color: #fcab37;
            color: #fff;
            width: 25%;
        }

        table.style1 > tbody > 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;
    }

    table > tbody > tr > td .fa-exclamation-triangle:before {
        font-size: 1.3em;
        color: #fcab37;
    }

/*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-image: url(../img/headerbg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 75px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo {
    width: 250px;
    max-width: 100%;
}

.navbar {
    padding: 0;
    position: initial;
}

.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-toggler {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    padding: 0.5em;
    background-color: rgba(255,255,255,0.2);
}

.navbar-toggler-icon:before {
    content: '\f0c9';
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}

.navbar-collapse.collapse.show {
    position: absolute;
    width: 100%;
    left: 0px;
    top: 75px;
    background-color: rgba(77,171,126,0.5);
}

/*麵包屑*/
.breadcrumb-nav {
    padding: 0.5em 0;
    background-color: #232321;
}

.breadcrumb {
    margin-bottom: 0;
}

    .breadcrumb-item.active,
    .breadcrumb a {
        color: #fff;
    }

.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
}

h1 {
    padding: 2em 0;
    text-align: center;
    font-size: 2em;
    background-image: url(../img/h1bg.jpg);
    background-position: 0 200%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-bottom: 0;
    color: #fff;
}

h2 {
    font-size: 1.6em;
    position: relative;
    padding-left: 1.5em !important;
    margin-bottom: 1em;
}

    h2:before {
        content: '';
        width: 1em;
        height: 1em;
        background-color: #16794a;
        border-radius: 1em;
        display: block;
        position: absolute;
        left: 0.4em;
        top: 0.1em;
    }

    h2:after {
        content: '';
        width: 1em;
        height: 1em;
        border: 2px solid #16794a;
        border-radius: 1em;
        border-radius: 1em;
        display: block;
        position: absolute;
        left: 0em;
        top: 0em;
    }

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;
        }

#gotop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    padding: 12px 14px;
    border-radius: 5px;
    background: #777;
    background: rgba(100, 100, 100, 0.8);
    color: white;
    font-size: 1.2em;
    line-height: 16px;
    cursor: pointer;
}

.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 > div > a {
        display: block;
    }

    #Login > .container > .row > div:nth-of-type(2) {
        position: relative;
    }

        #Login > .container > .row > div:nth-of-type(2) img {
            display: block;
            max-width: 450px;
            width: 100%;
            margin: auto;
        }

        #Login > .container > .row > div:nth-of-type(2) ul {
            position: absolute;
            top: 30%;
            right: 20%;
            transform: translate(0, -50%);
            font-size: 1.3em;
            font-weight: bold;
        }

            #Login > .container > .row > div:nth-of-type(2) ul > li {
                margin-bottom: 1em;
            }

                #Login > .container > .row > div:nth-of-type(2) ul > li > a {
                    display: block;
                    padding: 1em 2em;
                    background-color: #014b32;
                    color: #fff;
                    border-radius: 10px;
                    text-decoration: none;
                    transition: .3s all;
                    position: relative;
                }

                    #Login > .container > .row > div:nth-of-type(2) ul > li > a:hover {
                        background-color: #01261a;
                    }

#ForgotPassword {
    cursor: pointer;
    text-decoration:underline;
}

#CaptchaPicture #captcha_CaptchaDiv {
    display: inline-block;
    vertical-align: middle;
}

#CaptchaPicture > label {
    display: block;
}

#CaptchaPicture > input {
    display: inline-block;
    width: calc(100% - 284px);
    vertical-align: middle;
}

#captcha1_CaptchaDiv {
    display: inline-block;
    vertical-align: middle;
}

#CaptchaCode1 {
    vertical-align: middle;
}


/*Register*/
.illegal > label {
    width: 100%;
}

    .illegal > label > input[type=text] {
        display: inline-block;
        width: calc(100% - 84px);
    }

#CheckBoxAgency.was-validated input[required=required] {
    border-color: #dc3545;
}

    #CheckBoxAgency.was-validated input[required=required]:checked {
        background-color: #dc3545;
    }

    #CheckBoxAgency.was-validated 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 > .container > .row > .col-md-6:nth-of-type(2) > h2 {
    float: none;
}

    /*#SignInfo table {
    min-height: 370px;
}*/

    #SignInfo table > tbody > tr > td:not(:first-of-type) {
        text-align: center;
    }

#SignInfo table {
    caption-side:top;
    margin-bottom:1.5em;
}

#SignInfo table caption{
    padding: 0.7em 0;
}

#SignInfo .sign-info-block {
    position:relative;
}

    #SignInfo .sign-info-block:not(:last-of-type) {
        border-bottom: 1px solid #cdcdcd;
    }

    #SignInfo .sign-info-block > a {
        position: absolute;
        right: 0;
    }

/*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: 1em 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;
        display: inline-block;
        background-color: #d5f5e7;
        margin-left: 2em;
        border-radius: 20px;
        margin-top: 1.5em;
        display: block;
    }

        #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 {
    background-color: #fff;
    padding: 0 0.5em;
    margin-left: 0.5em;
    font-weight: 700;
    margin-top: 1.5em;
    display: inline-block;
}

    #UploadFile > .container > #UploadFileItem > li > h4 + div {
        border: 1px dashed #01321f;
        padding: 1em;
        border-radius: 20px;
        margin-top: -1.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;
        }

/*UploadSpecial*/

#UploadSpecial > .container {
    max-width: 600px;
    margin: auto;
}

    #UploadSpecial > .container h2 {
        max-width: 250px;
        margin: auto;
    }

#UploadSpecial .k-upload {
    width: 100%;
}

    #UploadSpecial .k-upload .k-dropzone {
        border-radius: 10px;
    }

#UploadSpecial p:last-of-type {
    text-align: center;
}

    #UploadSpecial p:last-of-type > button {
        width:100%;
    }

/*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;
    }

/*PassReset*/
#PassResetInfo form > div {
    width: 50%;
    margin: auto;
}


/*ApplyReset*/

#ApplyReset > .container {
    max-width: 600px;
    margin: auto;
}

    #ApplyReset > .container h2 {
        max-width: 250px;
    }

    #ApplyReset p:last-of-type > button {
        width: 100%;
    }
/*footer*/
footer {
    background-color: #01321f;
}

    footer .row {
        justify-content: center;
        align-items: center;
    }

        footer .row > div {
            padding: 1.5em 1em;
        }


.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;
    }

    .c{
        text-align:center;
    }
    .l{
        text-align:left;
    }
    .r{
        text-align:right;
    }

/*popupUI*/
.popupUI.popupUIOverlay {
    background-color: rgba(0, 0, 0, 0.7);
}


element.style {
    display: inline-block;
    text-align: left;
}

.modalpopup.point {
    max-width: 500px;
    background-color: transparent;
    padding-top: 3em;
    position: relative;
    border-radius: 0;
}

.wran, .delete {
    display: none;
}

.modalpopup {
    background-color: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    max-height: 100%;
    max-width: 1170px;
    width: 90%;
    padding:1.5em;
}

    .modalpopup.small {
        max-width: 600px;
    }

    .modalpopup #popupUIClose {
        text-decoration:underline;
        cursor:pointer;
    }
