@charset 'UTF-8';

body {
    background: #000;
    color: #ccc;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

h3 {
    background: #212121;
    color: #666;
    margin: 0;
    width: 100%;
}

/* 頁籤 */
.tabMenu {
    background: -webkit-linear-gradient(top, #313131, #151515, #313131);
    display: flex;
    height: 60px;
    margin: 5px 0 0;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    width: 100%;
}

.tab_item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    font-size: 12px;
    flex: 1;
    padding: 0 10px;
}

.tab_item img {
    /* width: 32px; */
    max-width: 100%;
}

.tab_item>div {
    color: #ccc;
    margin-top: 5px;
}

.tab_item.active>div {
    color: #c3a05b;
}

.tab_item_cont.active {
    display: block;
}

/* 主頁籤樣式 */
.navTab {
    border-bottom: 1px solid #464646;
}

.tabMenu.navTab::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #191919;
    width: 100%;
    height: 2px;
}

.navTab .tab_item {
    height: 43px;
}

.navTab .tab_item>div {
    margin-top: 35px;
    line-height: 100%;
    text-align: center;
}

.nav1 {
    background: url(../images/nav/nav1.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav1.active {
    background: url(../images/nav/nav1_on.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav2 {
    background: url(../images/nav/nav2.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav2.active {
    background: url(../images/nav/nav2_on.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav3 {
    background: url(../images/nav/nav3.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav3.active {
    background: url(../images/nav/nav3_on.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav4 {
    background: url(../images/nav/nav4.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav4.active {
    background: url(../images/nav/nav4_on.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav5 {
    background: url(../images/nav/nav5.png) no-repeat center 0;
    background-size: 27px auto;
}

.nav5.active {
    background: url(../images/nav/nav5_on.png) no-repeat center 0;
    background-size: 27px auto;
}



/* 表單 */
.form {
    background: #272727;
    padding: 10px 30px;
}

.input-box {
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

.input-box .label {
    color: #c3a05b;
    font-size: 14px;
    min-width: 120px;
}

.input-box input {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    width: 80%;
}

.input-box.bgShow {
    border: none;
}

.input-box.bgShow input {
    background: #ccc;
    border-radius: 8px;
    color: #666;
    width: 100%;
    height: 40px;
    padding: 0 10px;
}

.input-box.bgShow input::placeholder {
    color: #aaa;
}

.input-box input.disabled {
    color: #666;
}

.input-box .arrowImgClass {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* button */
.button-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.selectBox {
    background: #383838;
    border-radius: 10px;
    color: #c7c7c7;
    position: absolute;
    left: 100px;
    top: 40px;
    width: calc(100% - 100px);
    z-index: 100;
    max-height: 120px;
    overflow-y: scroll;
}

.selectBox ul {
    display: flex;
    flex-wrap: wrap;
}

.selectBox li {
    display: inline-flex;
    border-bottom: 1px solid #2a2a2a;
    width: 100%;
    padding: 10px;
}

/* 隱藏原生 checkbox */
input.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #999999;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    display: inline-flex;
    border: none;
    outline: none;
    flex: none;
}

/* 勾選時 */
input.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 11px;
    height: 7px;
    border: solid #272727;
    border-width: 0 0 2px 2px;
    transform: rotate(-45deg);
    box-sizing: border-box;
}

/* index */
header {
    background: #0f0f0f;
    display: flex;
    flex-wrap: wrap;
}

.headTop {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    padding: 0 10px;
    border-bottom: 1px solid #cca352;
}

.site {
    color: #fff;
    display: flex;
    font-size: 22px;
    font-weight: bold;
    justify-content: center;
    width: 100%;
}

.headTop .right {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    /* width: 30%; */
    flex: 1;
}

.siteBox {
    background: #161616;
    border-bottom: 1px solid #cca352;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
}

.lang {
    display: flex;
}

.lang-left {
    position: absolute;
    left: 20px;
}

.lang img {
    width: 28px;
    height: 28px;
}

.lang-current {
    display: flex;
    align-items: center;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 43px;
    left: -10px;
    z-index: 99;
}

.lang-dropdown.right {
    left: auto;
    right: 10px;
}

.lang-dropdown ul {
    background: #272727;
    border: 1px solid #666;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    width: 120px;
    padding: 0 10px;
}

.lang-dropdown li {
    border-bottom: 1px solid #464646;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    padding: 10px 0;
}

.lang-dropdown li:last-child {
    border: 0;
}

.reflash img {
    transition: transform 1s ease-in-out;
}

.reflash.active img {
    transform: rotate(360deg);
}

.accountInfo {
    display: none;
    background: #161616;
    border-bottom: 1px solid #464646;
    width: 100%;
    height: 50px;
    padding: 0 15px;
}

.accountInfo > div {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.accountInfo_l,
.accountInfo_r {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 7px 10px;
    position: relative;
}

.accountInfo_l > div {
    white-space: nowrap;
}

.accountInfo_r > div {
    justify-content: center;
    white-space: nowrap;
}

.accountInfo .label {
    padding-right: 20px;
}

.wrapper,
.container {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100vw;
    min-height: 0;
}

/* banner */
.banner {
    display: flex;
    height: 80px;
}

.banner .swiper-container-horizontal>.swiper-pagination-bullets,
.banner .swiper-pagination-custom,
.banner .swiper-pagination-fraction {
    bottom: 3px;
    text-align: right;
    padding-right: 20px;
}

.swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: #6889b7 !important;
}

.banner img {
    width: 100%;
    height: 100%;
    /* max-width: 100%; */
    object-fit: cover;
}

.box {
    display: flex;
    margin-top: 10px;
    padding: 0 20px;
}

.main { 
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: scroll;
}

.tabContent {
    display: none;
    flex-direction: column;
    flex: 1;
}

/* Card */
.cardArea {
    background: #272727;
    position: relative;
}

.card {
    display: flex;
    border: 0;
    align-items: center;
}

.card_wrap {
    background: #252525;
    border: 2px solid #c3a05b;
    border-radius: 12px;
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 95%;
}

.card_head {
    background: #f1f1f1;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: #7285a3;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 5px 10px;
}

.card_head img {
    max-height: 100%;
}

.card_head span {
    color: #4595d5;
}

.card_cont {
    display: flex;
    flex-direction: column;
    padding: 5px 20px;
    height: 145px;
    max-height: 145px;
    justify-content: center;
}

.card_cont_row {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    margin: 7px 0;
}

.cardNumber {
    font-size: 20px;
    word-break: break-all;
    line-height: 120%;
}


.card-slider {
    display: flex;
}

.card-slider .swiper-slide {
    padding: 15px 20px 30px;
}

.card-slider .swiper-container-horizontal>.swiper-pagination-bullets,
.card-slider .swiper-pagination-custom,
.card-slider .swiper-pagination-fraction {
    bottom: 5px;
}

/* .card-slider .swiper-pagination-bullet {
        background: #aaa;
        opacity: 1;
} */

/* .card-slider .swiper-pagination-bullet-active {
        background: #007aff;
} */

.card-slider_arrow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.card-slider_arrow .swiper-container-horizontal>.swiper-pagination-bullets,
.card-slider_arrow .swiper-pagination-custom,
.card-slider_arrow .swiper-pagination-fraction {
    bottom: 15px;
}

.card-slider_arrow .swiper-button-prev,
.card-slider_arrow .swiper-container-rtl .swiper-button-next {
    left: 0;
}

.card-slider_arrow .swiper-button-next,
.card-slider_arrow .swiper-container-rtl .swiper-button-prev {
    right: 0;
}

.card-slider_arrow .swiper-button-prev,
.card-slider_arrow .swiper-button-next {
    opacity: 0.2;
    touch-action: none;
    /* 禁止滑動手勢影響 */
    pointer-events: auto;
    /* 允許點擊事件 */
}

.inlineBox {
    background: #272727;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 30px;
    margin: 10px 0;
    width: 100%;
}

.inlineBox .label {
    color: #ccc;
    font-size: 16px;
    /* width: 100px; */
    width: 40%;
}

.inlineBox .text {
    color: #c3a05b;
    font-size: 18px;
    flex: 1;
    text-align: right;
    padding: 0 20px;
}

/* 彈出訊息 */
#toast {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10001;
    width: 100%;
    height: 100%;
    display: none;
}

#toast_mask {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    width: 100%;
}

#toast_content {
    height: fit-content;
    max-width: 90%;
    overflow-wrap: break-word;
    word-break: break-all;
    border-radius: 10px;
    background: rgb(56, 56, 56);
    color: rgb(204, 204, 204);
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 150%;
    padding: 10px;
    box-sizing: border-box;
}

.mask {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9995;
    width: 100%;
    height: 100%;
    display: none;
}

#msgBox_mask {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    width: 100%;
    height: calc(100% - 40px - 40px);
}

#msgBox_wrap {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid rgba(195, 160, 91, 0.5);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    /* height: 50vh; */
    padding: 40px 20px;
    position: relative;
}

#msgBox_content {
    width: 100%;
}

#msgBox_close {
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: -45px;
    left: 50%;
    right: 50%;
    transform: translate(-50%);
}

/* 訊息內容 */
.msgBox_title {
    color: #cca352;
    font-size: 20px;
    line-height: 200%;
    margin-bottom: 20px;
}

.msgBox_text {
    color: #ccc;
    line-height: 150%;
    text-align: center;
    font-size: 16px;
    padding: 20px 0;
}

.msgBox_btn {
    margin-top: 20px;
}

/* 右側滑入 */
#slidePage {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
}

#slidePage.hasItem {
    pointer-events: auto;
}

.slidePageItem {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.slidePageItem.active {
    right: 0;
}

.slidePageContainer {
    background: #212121;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
}

.slidePageContainer .header {
    background: #212121;
    border-bottom: 1px solid #c3a05b;
    display: flex;
    align-items: center;
    width: 100%;
    height: 45px;
    padding: 10px;
    position: relative;
}

.slidePageContainer .header-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slidePageContainer .header-title {
    flex: 1;
    font-size: 22px;
}

.slidePageContainer .backBtn {
    cursor: pointer;
    margin-right: 10px;
}

.slidePageContainer .content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.slidePageDetail {
    background: #000;
    position: fixed;
    right: -100%;
    /* top: 306px; */
    width: 100%;
    height: auto;
    transition: right 0.3s ease;
    z-index: 10000;
}

.slidePageDetail.active {
    right: 0;
}

.slidePageDetail .slidePageContainer .header {
    background: #0c0c0c;
}

.slidePageDetail .slidePageContainer .header-title {
    flex: 1;
    text-align: center;
}

.slidePageDetail .slidePageContainer .content {
    overflow-y: scroll;
}

/* 日期選擇 */
.filterPage {
    background: #000;
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    transition: right 0.3s ease;
    z-index: 100001;
}

.filterPageContainer {
    background: #212121;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.filterPage .header {
    background: #212121;
    border-bottom: 1px solid #c3a05b;
    display: flex;
    align-items: center;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1;
    height: 56px;
}

.filterPage .header img {
    cursor: pointer;
    margin-right: 10px;
}

.filterPage .header-title {
    font-size: 16px;
}

.filterPage .selectedBox {
    background: #0c0c0c;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    height: 46px;
}

.filterPage .selectList div {
    border-bottom: 1px solid #161616;
    padding: 15px 20px;
    cursor: pointer;
}

.filterPage .selectList .active {
    background: url("../images/i_select.png") no-repeat 96% 50%;
    /* background-size: auto 10px; */
}

.filterPage .datePickBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.filterPage .datePickBox input {
    background: #000;
    border-radius: 5px;
    color: #ccc;
    width: calc(100% / 2 - 20px);
    height: 40px;
    padding: 0 10px;
    text-align: center;
}

.filterSection {
    display: none;
}

.filterPage.show {
    right: 0;
}

/* 沒有資料 */
.nodata {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    font-size: 12px;
}

/* Captcha */
.captcha_item {
    padding: 30px 0 10px;
}

.captcha_item .sliderbg {
    background-color: #c0eee7;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.captcha_item .sliderContainer_success .sliderMask {
    width: 0px;
    right: 0px;
    left: auto;
}

.captcha .slider {
    left: auto;
    right: 0px;
}

.captcha_item .sliderContainer {
    width: 280px;
    margin: 0px auto;
}

.captcha_item .sliderContainer_success {
    transform: translateX(-7%);
}

.captcha_item .sliderContainer_success .sliderbg {
    position: relative;
}

/* ball */
.ball {
    background: #5775e9;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 1;
}

.ball-s {
    width: 22px;
    height: 22px;
}

/* datapicker */
@media only screen and (max-width: 768px) {
    .ui-datepicker {
        font-size: 14px;
        max-width: 100%;
    }
}


/* 多元登入方式 */
.loginWay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    margin-top: 50px;
}

.loginWay p {
    color: #999;
    text-align: center;
}

.loginWay img {
    width: 20px;
    margin-right: 10px;
}

.loginWay .tg {
    background-color: #3CA8E0;
    letter-spacing: 1px;
}