/* CSS Document */
body {
    margin: 0;
    font-family: \5FAE\8EDF\6B63\9ED1\9AD4, \65B0\7D30\660E\9AD4, Arial, sans-serif;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
    -webkit-text-size-adjust: 100%;
    font-size: 18px;
    color: #444;
    padding-top: constant(safe-area-inset-top);
    padding-right: constant(safe-area-inset-right);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-left: constant(safe-area-inset-left);
    letter-spacing: 1px;
}

@media only screen and (max-width: 767px) {
    body {
        font-size: 16px;
    }
}

a {
    text-decoration: none;
    transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -ms-transition: 0.3s all;
    color: #000;
}

a:hover {
    text-decoration: none;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}


*:after {
    content: "";
    display: block;
    clear: both;
    font-size: 0;
}

input, button, select, textarea {
    outline: none
}

*:focus {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border: 0;
}

.container {
    width: 1500px;
    max-width: 90%;
    margin: auto;
    position: relative;
}

form {
    width: 100%;
    margin: 0;
    padding: 0;
}

input[type=text],
input[type=button],
input[type=submit],
input[type=password],
input[type=email],
input[type=file],
input[type=reset],
input[type=tel],
input[type=search],
input[type=date],
textarea,
select,
button {
    -webkit-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    border-color: #aaa;
    padding: 10px;
    font-family: Arial, sans-serif, \5FAE\8EDF\6B63\9ED1\9AD4, \65B0\7D30\660E\9AD4;
    font-size: 16px;
}

input[type=text],
input[type=password],
input[type=email],
input[type=file],
input[type=tel],
input[type=search],
input[type=date],
textarea,
select {
    flex: 1;
}

input[type=button],
input[type=submit],
input[type=reset],
button {
    cursor: pointer;
    transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -ms-transition: 0.3s all;
    background: #002059;
    color: #fff;
    border-color: #002059;
    padding: 10px 60px;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    opacity: .7;
}

select {
    background-image: url(/static/images/arrow-a.png);
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 9px;
    padding-right: 30px;
}

select::-ms-expand {
    display: none;
}

label {
    width: 160px;
}

label span {
    display: inline-block;
    color: #c83333;
    width: 10px;
}

textarea {
    height: 150px;
}

@media only screen and (max-width: 1299px) {
    input[type=text],
    input[type=password],
    input[type=email],
    input[type=file],
    input[type=tel],
    input[type=search],
    input[type=date],
    textarea,
    select {
        flex: none;
        width: 100%;
        margin-top: 5px;
    }

    label,
    label span {
        width: auto;
    }
}

/*webkit瀏覽器專用*/
::-webkit-input-placeholder {
    color: #000;
}

/*Firefox 4-18瀏覽器專用*/
input::-moz-placeholder {
    color: #000;
}

/*Firefox 19+瀏覽器專用*/
input::-moz-placeholder {
    color: #000;
}

/*IE10瀏覽器專用*/
:-ms-input-placeholder {
    color: #000;
}

.block {
    display: block;
}

.none {
    display: none;
}

@media only screen and (max-width: 767px) {
    .block {
        display: none;
    }

    .none {
        display: block;
    }
}

.edit *:after {
    content: none;
}

.edit {
}

.edit ul,
.edit ol {
    display: list-item;
    width: calc(100% - 30px);
    margin-left: 30px;
}

.edit ul li {
    list-style: decimal;
}

.edit ol li {
    list-style: disc;
}

@media only screen and (max-width: 767px) {
    .edit {
        line-height: 28px;
    }
}

header,
main,
section,
footer {
    width: 100%;
    position: relative;
    display: block;
    margin: auto;
}

header {
    padding: 10px 7%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    display: flex;
    background-color: #fff;
    align-items: center;
    box-shadow: 1px 4px 10px #dce2e9;
}

.is-sticky.sticky {
    z-index: 99999;
    background: #ffffff;
    padding: 5px 7%;
}

.lang .register-menu {
    display: none;
}

.logo {
    width: 248px;
}

.logo a {
    display: block;
}

@media only screen and (max-width: 1599px) {
    header {
        padding: 10px 5%;
    }

    .is-sticky.sticky {
        padding: 5px 5%;
    }
}

@media only screen and (max-width: 1280px) {
    .logo {
        width: 200px;
    }

}

@media only screen and (max-width: 1099px) {
    .is-sticky.sticky {
        padding: 10px 5%;
    }
}

@media only screen and (max-width: 500px) {
    .logo {
        width: 170px;
    }

}

@media only screen and (max-width: 400px) {
    .logo {
        width: 150px;
    }

}

@media only screen and (max-width: 350px) {
    .logo {
        width: 120px;
    }

}

.lang {
    position: relative;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.lang a {
    display: inline-block;
    margin: 0 5px;
}

.lang a span,
.lang .register-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    color: #fff;
    transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -ms-transition: 0.3s all;
    background: #3d6185;
}

.lang a.loginoff span {
    color: #3d6185;
    background: #fff;
}

.lang a.logoutBtn span,
.lang a.logoutBtn:hover span {
    background: none;
    width: auto;
}

.lang a.register span,
.lang .register-menu a {
    background: #4f9ca8;
}

.lang a:hover span,
.lang .register-menu a:hover {
    background: #fff;
    color: #3d6185;
}

.lang a.loginoff:hover span {
    color: #fff;
    background: #3d6185;
}

.lang a.register i {
    color: #fff;
    margin-left: 10px;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -ms-transition: 0.3s all;
}

.lang a.register:hover i {
    color: #4f9ca8;
}

.lang .register-menu {
    position: absolute;
    top: 50px;
    right: 25px;
    width: 40px;
}

.lang .register-menu a {
    margin: 0 0 10px;
}

@media only screen and (max-width: 1099px) {
    .lang {
        position: absolute;
        right: 5%;
    }
}

@media only screen and (max-width: 500px) {
    .lang a span,
    .lang .register-menu a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .lang .register-menu {
        right: 20px;
    }
}

@media only screen and (max-width: 370px) {
    .lang a span,
    .lang .register-menu a {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .lang .register-menu {
        right: 15px;
        top: 40px;
    }
}

@media only screen and (max-width: 350px) {
    .lang a span,
    .lang .register-menu a {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .lang .register-menu {
        right: 10px;
        top: 40px;
    }
}

nav {
    padding: 0;
    flex: 1;
}

.menuzord {
    width: 100%;
    float: left;
}

.menuzord-menu {
    float: right;
}

.menuzord-menu > li > a,
.menuzord-menu > li > span {
    color: #1a1d30;
    font-size: 18px;
    padding: 25px;
    position: relative;

}

.menuzord-menu > li > a.action {
    color: #b2cfff;
}

.menuzord-menu ul.dropdown li {
    list-style: none;
}

.menuzord-menu > li > a:hover {
    color: #b2cfff;
}

.menuzord-menu > li {
    position: relative;
}

.menuzord-menu ul.dropdown, .menuzord-menu ul.dropdown li ul.dropdown {
    background: #557ab8;
}

.menuzord-menu ul.dropdown li a {
    font-size: 15px;
}

.menuzord-menu ul.dropdown li:hover > a {
    background: #388996;
}

@media only screen and (min-width: 1100px) {
    nav {
        padding-right: 20px;
    }

    .menuzord-menu > li:after {
        height: 4px;
        width: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #b2cfff;
        -webkit-transition: all .2s;
        -moz-transition: all .2s;
        transition: all .2s;
    }

    .menuzord-menu > li:hover:after {
        width: 110%;
    }

    .menuzord-menu > li:nth-last-child(3):hover:after {
        width: 100%;
    }

    .menuzord-menu ul.dropdown li {
        border-top: 1px solid rgba(255, 255, 255, .4);
    }

    .menuzord-menu ul.dropdown li:first-child {
        border-top: 0;
    }

    /*
        .menuzord-menu ul.dropdown li li a{
            text-align: left;
        }
    */
    .menuzord-menu ul.dropdown li ul.dropdown {
        width: 150px;
        background: rgba(0, 0, 0, .8);
        top: -2px;
    }

    .menuzord-menu ul.dropdown li ul.dropdown li:hover > a {
        background: rgba(98, 121, 132, .8)
    }

    .menuzord-menu ul.dropdown, .menuzord-menu ul.dropdown li ul.dropdown {
        width: 110%;
    }

    .menuzord-menu > li.color-yw > a {
        color: #ff4521;
        border: 2px solid #ff4521;
        border-radius: 5px;
    }

    .menuzord-menu > li.color-yw > a:hover {
        color: #fff;
        border-color: #fff;
    }

    .menuzord-menu > li > a,
    .menuzord-menu > li > span {
        padding: 12px 25px;
    }

    .menuzord-menu > li.color-yw:after {
        content: none;
    }
}

@media only screen and (max-width: 1599px) {
    .en .menuzord-menu > li > a,
    .en .menuzord-menu > li > span {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1380px) {
    .logoutnav .menuzord-menu > li > a,
    .logoutnav .menuzord-menu > li > span {
        padding: 12px 20px;
    }
}

@media only screen and (max-width: 1299px) {
    .menuzord-menu > li > a,
    .menuzord-menu > li > span {
        padding: 12px 10px;
        font-size: 17px;
    }

    .logoutnav .menuzord-menu > li > a,
    .logoutnav .menuzord-menu > li > span {
        padding: 12px 9px;
        font-size: 16px;
    }

    .en .menuzord-menu > li > a,
    .en .menuzord-menu > li > span {
        font-size: 13px;
        padding: 10px 6px;
    }

    .en nav {
        padding-right: 0;
    }

    .en .lang a span, .en .lang .register-menu a {
        font-size: 15px;
    }
}

@media only screen and (max-width: 1099px) {
    header .container {

    }

    .is-sticky.sticky .container {

    }

    .is-sticky.sticky nav {
        top: 13px;
    }

    .is-sticky.sticky .menuzord-responsive .menuzord-menu {
        top: 44px;
    }

    nav {
        position: absolute;
        width: 100%;
        top: 25px;
        right: 0;
        padding: 0 !important;
    }

    .menuzord-menu {
        display: none;
    }

    .menuzord-responsive .showhide {
        padding: 0 5% 0 0;
        margin-right: 130px;
    }

    .logoutnav .menuzord-responsive .showhide {
        margin-right: 155px;
    }

    .menuzord .showhide em {
        background: #fff;
    }

    .menuzord-responsive .menuzord-menu {
        top: 45px;
        z-index: 99998;
        background: rgba(61, 97, 133, .8);
    }

    .showhide:before {
        display: block;
        position: absolute;
        right: 6px;
        bottom: -20px;
        text-align: right;
        font-size: 12px;
        color: #333;
        width: 50px;
        content: "";
    }

    .menuzord-menu li > a > div {
        top: 0 !important;
    }

    .menuzord > ul.menuzord-menu > li {
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, .3);
    }

    .menuzord > ul.menuzord-menu > li:hover {
        border-bottom: 1px solid rgba(255, 255, 255, .3);
    }

    .menuzord-responsive .menuzord-menu > li > a:hover {
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, .3);
    }

    .menuzord-responsive .menuzord-menu li ul.dropdown li .indicator {
        top: 0;
    }

    .menuzord-responsive .menuzord-menu ul.dropdown, .menuzord-responsive .menuzord-menu ul.dropdown li ul.dropdown {
        background: rgba(0, 0, 0, .7);
    }

    .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li:hover > a, .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li.active > a {
        background: rgba(0, 0, 0, .2);
    }

    .menuzord-menu ul.dropdown li a {
        text-align: left;
    }

    .menuzord-responsive .menuzord-menu > li > a {
        padding: 0 5%;
    }

    .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > a {
        padding: 5px 5% !important;
        color: #fff;
    }

    .menuzord-responsive .menuzord-menu.menuzord-indented > li > ul.dropdown > li > a:hover {
        padding: 5px 5% !important;
    }

    .menuzord-responsive .menuzord-menu li .indicator {
        right: 5%;
    }

    .menuzord-responsive .menuzord-menu li .indicator {
        color: #fff;
    }
}

@media only screen and (max-width: 500px) {
    .menuzord-responsive .showhide {
        margin-right: 110px;
    }

    .is-sticky.sticky nav {
        top: 9px;
    }

    .is-sticky.sticky .menuzord-responsive .menuzord-menu {
        top: 42px;
    }

    .logoutnav .menuzord-responsive .showhide {
        margin-right: 135px;
    }
}

@media only screen and (max-width: 370px) {
    nav {
        top: 22px;
    }

    .menuzord-responsive .showhide {
        margin-right: 100px;
    }

    .is-sticky.sticky .menuzord-responsive .menuzord-menu {
        top: 40px;
    }

    .logoutnav .menuzord-responsive .showhide {
        margin-right: 122px;
    }
}

@media only screen and (max-width: 350px) {
    nav {
        top: 22px;
    }

    .menuzord-responsive .showhide {
        margin-right: 90px;
    }

    .menuzord .showhide em {
        height: 3px;
    }

    .is-sticky.sticky .menuzord-responsive .menuzord-menu {
        top: 38px;
    }

    .en .lang a span, .en .lang .register-menu a {
        font-size: 12px;
    }

    .logoutnav .menuzord-responsive .showhide {
        margin-right: 115px;
    }
}

/* CSS Document */
a.tel, a.tel:hover {
    pointer-events: none;
    text-decoration: none !important;
}

@media print, screen and (max-width: 999px) {
    a.tel, a.tel:hover {
        pointer-events: initial;
    }
}


footer {
    text-align: center;
    background: #f5f5f5;
    color: #999;
    font-size: 14px;
    line-height: 22px;
}

footer .risk-warning {
    background: #232a40;
    color: #fff;
    width: 100%;
    float: left;
    padding: 15px;

}

footer .risk-warning span {
    width: 100%;
    display: block;
    color: #8ec0a3;
    padding-bottom: 5px;
}

footer .text {
    width: 100%;
    float: left;
    padding: 20px;
}

@media only screen and (max-width: 1680px) {
    footer .risk-warning {
        padding: 15px 5%;
    }

    footer .risk-warning br {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    footer {
        font-size: 12px;
    }
}

@media only screen and (max-width: 500px) {

}


/* Button Up */

.btn-up {
    width: 40px;
    height: 40px;

    position: fixed;
    z-index: 9999;
    bottom: 30px;
    right: 10px;

    background-color: rgba(52, 56, 59, 0.3);
    border-radius: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    opacity: 0;

    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}


.btn-up.active {
    opacity: 1;
}

.right-btn {
    position: fixed;
    z-index: 9999;
    bottom: 70px;
    right: 10px;
}

.right-btn a {
    width: 40px;
    height: 40px;
    background-color: rgba(85, 160, 150, 0.9);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 10px 0;
    color: #fff;
}

.right-btn a:hover {
    opacity: .7;
}

.right-btn a:first-child {
    background-color: rgba(80, 140, 190, 0.9);
}

@media only screen and (min-width: 1480px) {
    .right-btn {
        bottom: 90px;
        right: 20px;
    }

    .right-btn a {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .btn-up {
        width: 60px;
        height: 60px;
        right: 20px;
    }

    .btn-up:before {
        font-size: 30px;
    }
}

.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999999;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -25%);
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - (0.5rem * 2));
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.8;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.modal-footer > :not(:first-child) {
    margin-left: .25rem;
}

.modal-footer > :not(:last-child) {
    margin-right: .25rem;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal.a .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }

    .modal-sm {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 800px;
    }
}

.modal button {
    background: none;
    font-size: 1.7em;
    color: #333;
    border: 0;
    width: 40px;
    height: 40px;
    line-height: 20px;
    position: absolute;
    top: 0;
    right: 1px;
    cursor: pointer;
    z-index: 9999;
    padding: 0;
}

.modal-form {
    padding: 20px;
}

.modal-form form {
    width: 100%;
}

.modal-form p span {
    color: #c83333;
    display: inline-block;
}

.modal-form ul {
    width: 100%;
    float: left;
}

.modal-form ul li {
    width: 100%;
    float: left;
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    font-size: 16px;
}

.modal-form label {
    width: 100px;
    line-height: 36px;
}

.modal-form ul li:last-child {
    border: 0;
    justify-content: center;
    align-items: center;
}

.modal-form ul li > div {
    flex: 1;
}

.modal-form ul li input[type=text],
.modal-form ul li input[type=email],
.modal-form ul li input[type=password] {
    flex: 1;
    font-size: 16px;
}

.modal-form p {
    width: 100%;
    padding-bottom: 10px;
    font-size: 20px;
    color: #477aaa;
    border-bottom: 1px dotted #ccc;
}

.modal-form a {
    color: #477aaa;
    display: inline-block;
    margin-left: 20px;
}

.modal-form a:hover {
    color: #222;
}

@media only screen and (max-width: 500px) {
    .modal-form {
        padding: 10px;
    }

    .modal-form ul li {
        flex-wrap: wrap;
        list-style: 24px;
        border: 0;
    }

    .modal-form ul li input[type=text],
    .modal-form ul li input[type=email],
    .modal-form ul li input[type=password] {
        flex: none;
    }

    .modal-form a {
        width: 100%;
        margin: 20px 0 0;
        text-align: center;
    }
}

.ti-chevron-up {
    font-size: 24px;
}

.showhide {
    display: none;
}
