* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: #fffefe;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header.top-content {
    flex: 1 0 auto;
}

.header {
    background-color: #fe9700;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    /*width: 80px;*/
    height: 80px;
    /*background-color: white;*/
    /*border-radius: 50%;*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*font-weight: bold;*/
    /*color: #fe9700;*/
    /*font-size: 20px;*/
}

.login-container {
    background-color: white;
    /*margin: 0px 15px 0;*/
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1;
    position: relative;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus {
    outline: none;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-bg {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
    z-index: 1;
}

.input-icon {
    width: 20px;
    height: 20px;
}

.input-with-icon input {
    padding-left: 42px !important;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    line-height: 1;
}

.password-toggle img {
    width: 20px;
    height: 20px;
}

.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-input {
    flex: 1;
}

.captcha-btn {
    padding: 5px;
}

.captcha-code {
    width: 100px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    padding: 12px;
    text-align: center;
    letter-spacing: 2px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #fe9700;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

#loginFormSendResult {
    display: none;
    font-size: 14px;
    min-height: 280px;
    line-height: 60px;
    text-align: center;
}

;

/***** Top menu *****/
nav.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

nav.navbar {
    display: flex;
    justify-content: center;
    background-color: #333333 !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0 1rem;
    height: 60px;
}

nav.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-brand {
    width: 120px !important;
    height: 60px !important;
    background: url(logo.png) left center no-repeat;
    text-indent: -99999px;
    display: block;
}

nav.navbar-light .navbar-nav .nav-link:hover {
    color: #ffffff;
}

nav.navbar-light .navbar-toggler {
    background: #ff9701;
}

nav .navbar-nav {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.header {
    background-color: #fe9700;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 首頁 */
header h1,
header p {
    color: #000 !important;
}

header.top-content {
    margin-top: 300px;
    height: 600px;
    margin-bottom: 170px;
}

header.top-content .bg-4 {
    right: 0;
    top: 0;
    z-index: -4;
    position: fixed;
    width: 100%;
}

@keyframes scroll-1 {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes scroll-2 {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes scroll-3 {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

header .img {
    transform: translateX(-4%) translateY(-17%);
}

header.top-content .bg-1 {
    animation: scroll-1 1.1s both;
    animation-timing-function: ease-out;
    animation-delay: 0.3s;
    width: fit-content;
}

header.top-content .bg-2 {
    animation: scroll-2 1.5s both;
    animation-delay: 1.3s;
    animation-timing-function: ease-out;
    width: fit-content;
}

header.top-content .bg-3 {
    animation: scroll-3 1.6s both;
    animation-delay: 2.8s;
    animation-timing-function: ease-out;
    width: fit-content;
}

header .btn {
    background: #ff9700;
    color: #fff;
    width: 200px;
    margin: 20px 0;
    font-size: 20px;
}

/***** Top content *****/

.inner-bg {
    padding: 180px 0;
}

.top-content .description {
    margin: 20px 0 10px 0;
}

.top-content .description p {
    opacity: 0.8;
}

.top-content .top-big-link {
    margin-top: 35px;
}

header.top-content .bg-1,
header.top-content .bg-2,
header.top-content .bg-3 {
    left: initial;
    right: 0;
}

#benefit .ovalbg {
    background-size: 100% 100%;
    padding-top: 150px;
    padding-bottom: 100px;
    margin-top: 100px;
}

#benefit img.bg-1 {
    /*display: none;*/
}

#benefit img.bg-2 {
    display: none;
}

.btn-link-1 {
    bottom: 10%;
}

header.top-content {
    margin-bottom: 10vw;
}

.col-xl-6.p-0 {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width:768px) {

    /* h1 {
        font-size: 28px !important;
        line-height: 50px;
        text-transform: uppercase;
        font-weight: 900 !important;
        margin-top: 10px;
        --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-family: 微軟正黑體, 微软雅黑, 'Glyphicons Halflings';

    } */

    header.top-content {
        margin-top: 100px;
        height: inherit;
        text-align: center;
    }

    header .img {
        transform: initial;
        align-items: center;
    }

    #benefit .ovalbg {
        margin-left: 15px;
        margin-right: 15px;
        padding-bottom: 50px;
        padding-top: 100px;
    }
}

@media screen and (max-width: 768px) {
    header.top-content {
        margin-top: 100px;
        height: inherit;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    header.top-content {
        margin-bottom: 10vw;
    }
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width: 768px) {
    header.top-content {
        margin-top: 0px;
        height: inherit;
        text-align: center;
        padding-top: 65px;
    }
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media screen and (max-width: 768px) {
    header .img {
        transform: initial;
        align-items: center;
    }
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

header .btn {
    background: #ff9700;
    color: #fff;
    width: 200px;
    margin: 20px 0;
    font-size: 20px;
}

.rounded-pill {
    border-radius: 50rem !important;
}

a:-webkit-any-link {
    color: -webkit-link;
    cursor: pointer;
    /*text-decoration: underline;*/
    font-size: 22px;
    font-weight: 150;
}

a,
a:hover,
a:focus {
    color: #fe9700;
    text-decoration: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

.text-white {
    color: #fff !important;
}

.footer {
    width: 100%;
    background: #333;
    padding: 10px;
    z-index: 100;
}

.footer .col {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.footer .col .title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.footer .col a {
    color: #ff9700;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.footer .col a:hover {
    text-decoration: underline;
}