@charset "utf-8";

/****************** 基本 ******************/

* {
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #777777;
    color: #323232;
    background-color: #fff;
    height: 100%;
    position: relative;
    /*padding-top: 70px;*/
}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

hr {
    border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #009999;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}

a:hover,
a:active,
a:focus,
a:visited {
    color: #006464;
    outline: none;
    text-decoration: none;
}

img,
object,
embed,
video {
    max-width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    opacity: .2;
}


/*--- 按鈕 btn ---*/

.btn:hover,
.btn:active,
.btn:focus {
    background: #17395d !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.text-center {
    margin-top: 20px;
    margin-bottom: 30px;
}

.btn.btn-primary {
    background: #1566e8;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .btn.btn-lg {
        font-size: 14px;
    }
}


/*  --- 切換裝置顯示項目 ---*/

#bannere {
    display: block;
}

#banner_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #banner {
        display: none;
    }

    #banner_m {
        display: block;
    }
}


/****************** 導覽列 navbar ******************/

.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}




/*--- 聯邦LOGO navbar-brand ---*/

.navbar-brand {
    padding-right: 0;
}

.navbar .navbar-brand {
    margin-right: 50px;
    margin-left: 20px;
    width: 250px;
    height: 70px;
    background: url(../../../../include/images/UBLogo.png) no-repeat 0 50%;
    background-size: contain;
}

.navbar-header .navbar-brand img {
    width: 90%;
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 153, 153, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggle .icon-bar {
    background-color: #009999;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .9);
}

.navbar-light .navbar-toggle:hover,
.navbar-light .navbar-toggle:focus {
    background-color: #f8f8f8;
}

.navbar-nav>li>a {
    margin-left: 15px;
    margin-top: 10px;
    display: block;
}

.navbar-light .navbar-nav>li>a:hover,
.navbar-light .navbar-nav>li>a:focus {
    color: #009999;
    background-color: transparent;
}

.navbar-light .navbar-nav>.active>a,
.navbar-light .navbar-nav>.active>a:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav>.active>a:focus {
    color: #009999;
}

.navbar-toggle {
    margin-top: 13px;
    margin-bottom: 15px;
    border: 0px;
    border-radius: 0px;
}


/*
--- 導覽列下拉dropdown-menu ---*/

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #009999;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #eaeaea;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        margin-right: 0px;
        margin-left: 20px;
        width: 200px;
        height: 60px;
    }
}

@media screen and (max-width: 576px) {
    .navbar .navbar-brand {
        margin-right: 50px;
        margin-left: 15px;
    }
}


/****************** 輪播 carousel  ******************/

.carousel-indicators li {
    width: 10px;
    height: 10px;
    opacity: .8;
    border-radius: 50px;
    border: 1px solid #dedede;
    background-color: #bbbbbb;
}

.carousel-indicators .active {
    background-color: #009999;
}


/*
--- 主視覺 ---*/
.kv {
    position: relative;
    width: 100%;
    --w: 1920;
    --h: 1000;
}

.kv:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;
    background-image: url(../images/top.jpg);
    background-size: cover;
}

@media (max-width:768px) {
    .kv {
        --w: 768;
        --h: 768;
    }

    .kv:before {
        background-image: url(../images/top_m.jpg);
    }

    .kv_box {
        position: absolute;
        top: 54%;
        left: 12.8%;
        width: 75%;
        height: 50%;
    }

}

/****************** 版面 Container ******************/

.gridContainer {
    width: 100%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}

@media only screen and (max-width: 768px) {
    .gridContainer {
        width: 100%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
        background-size: cover;
    }
}

.bgc_area {
    background-image: linear-gradient(to bottom, #eaf5fb 30%, #ffffff 70%, #ffffff 100%);
    padding: 20px 0px 0px 0px;
}


/*--- 活動主版 mainArea ---*/

.mainArea {
    padding-top: 16px;
    margin-bottom: 28px;
}

.mainArea h2 {
    /* 活動主標 */
    color: #FFFFFF;
    font-size: clamp(26px, 3.2vw, 32px);
    border-radius: 50px;
    margin: 0 auto 10px;
    text-align: center;
}

.mainArea h2.title,
.mainArea h2.titleM {
    color: #53adf7;
    font-weight: 600;
    max-width: none;
    background: none;
    border: none;
    text-align: center;
    line-height: 2;
}

.mainArea h2.title {
    display: block;
    font-size: 25pt;
    padding-top: 10px;
}

.mainArea h2.title::before {
    content: url(../images/iconf.png);
    margin-top: 6px;
    margin-right: 6px;
    display: inline-block;
}

.mainArea h2.title::after {
    content: url(../images/iconf.png);
    margin-left: 6px;
    display: inline-block;
}

@media screen and (max-width:768px) {
    .mainArea h2.title {
        font-size: 24px;
        padding-top: 0;
    }

    .mainArea h2.title::before {
        content: url(../images/iconfa.png);
    }

    .mainArea h2.title::after {
        content: url(../images/iconfa.png);
    }
}

@media screen and (max-width: 576px) {
    .mainArea h2 {
        font-size: 23px;
    }

    .mainArea h2.title {
        font-size: 22px;
    }

    .mainArea h2.title::before {
        content: url(../images/iconfa.png);
    }

    .mainArea h2.title::after {
        content: url(../images/iconfa.png);
    }
}

@media screen and (max-width: 350px) {
    .mainArea h2.title {
        font-size: 18px;
    }
}


.mainArea h2.titleM {
    display: none;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3 {
    /* 活動敘述文 */
    color: #3b3b3b;
    text-align: center;
    font-size: 15pt;
    line-height: 1.2;
    /* padding-top: 30px; */
    padding-bottom: 10px;
    font-weight: 550;
}


.mainArea h4 {
    /* 活動起訖日+對象 */
    color: #222222;
    text-align: left;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 1.6;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
}

.mainArea h5 {
    /* 活動期間 */
    color: #607997;
    font-size: clamp(16px, 1.7vw, 20px);
    text-align: center;
    margin: 12px 0 0;
    font-weight: bold;
    line-height: 1.7rem;
}

.mainArea p {
    color: #000000;
    font-size: 13pt;
    /* font-weight: bold; */
    text-align: center;
    margin-bottom: 10px;
    line-height: 40px;
}


.mainArea img {
    margin: 0px auto;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding: 10px 15px 0px
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
        margin-bottom: 0;
        /* text-align: center; */
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 12pt;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .mainArea p {
        color: #000000;
        font-size: 11pt;
        text-align: center;
        margin-bottom: 5px;
        line-height: 30px;
    }
}

/*--- 活動內文區塊 mainText ---*/
.reward-main {
    position: relative;
    overflow: hidden;
    margin: 0 auto 30px;
    padding: 50px 42px;
    border: 1px solid #dcecff;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 24px 70px rgba(26, 92, 164, .10);
}

.mainText1 {
    border-radius: 16px;
}

.mainText1::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 40px solid rgba(61, 156, 243, .04);
    left: -120px;
    top: -120px;
    pointer-events: none;
}

.digital-reward .room {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0 0 22px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #eaf5ff;
    color: #1769c2;
    font-size: clamp(20px, 2.3vw, 26px);
    font-weight: 900;
    letter-spacing: .08em;
}

.reward-upgrade .mainText1 {
    z-index: 100;
    background: linear-gradient(135deg, #f4faff 0%, #eaf5ff 100%);
    border-color: #cfe6ff;
    border: 2px solid #dcecff;
    padding: 32px 0 16px;
}

.upgrade {
    position: relative;
    border: 1px solid #dcecff;
    z-index: 1;
    padding: 34px 36px 32px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f5faff 0%, #ebf5ff 100%);
    border: 1px solid #d5eaff;
    box-shadow: inset 0 1px 0 #fff;
    text-align: center;
}

/* 回饋升級標題 */
.reward-upgrade .room {
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    margin: 0 0 24px;
    padding: 10px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg,
            #3e9df3,
            #1769c2);
    color: #fff;
    font-size: clamp(20px, 2.3vw, 27px);
    font-weight: 900;
    letter-spacing: .08em;
}

.reward-upgrade .room::before,
.reward-upgrade .room::after {
    content: "—";
    color: #aad7ff;
    font-weight: 700;
}

.mainText1 h3 {
    margin: 0;
    padding: 0;
    color: #10345f;
    font-size: clamp(23px, 4vw, 34px);
    font-weight: 700;
    line-height: 2;
    letter-spacing: -.02em;
}

.mainText1 h5 {
    margin: 12px 0;
    color: #607997;
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 700;
    line-height: 1.6;
}

.mainText1 .room {
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.reward-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 36px 0 26px;
    color: #8bbcf1;
}

.reward-divider::before,
.reward-divider::after {
    content: "";
    flex: 1;
    height: 1px;
}

.reward-divider::before {
    background:
        linear-gradient(90deg, transparent, #b8d9fb);
}

.reward-divider::after {
    background:
        linear-gradient(90deg, #b8d9fb, transparent);
}

.reward {
    /* 大數字 */
    display: inline-block;
    margin: 0 4px;
    background: linear-gradient(90deg, #ff9a63 0%, #ff7a5c 45%, #f04f9a 100%);
    font-size: 1.55em;
    line-height: 1;
    font-weight: 950;
    vertical-align: -.06em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.row:nth-of-type(2) .room {
    background: linear-gradient(135deg, #1f74d8, #0f58ae);
}

/* 折扣碼mark */
.couponmark {
    display: inline-block;
    padding: 0px 16px;
    margin: 0 4px;
    border-radius: 100px;
    background: #eaf5ff;
    color: #1769c2;
    font-weight: 700;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .mainText1::before {
        width: 270px;
        height: 270px;
    }

    .reward-main {
        padding: 52px 24px 16px;
    }

    .reward-divider {
        margin: 0px 24px 24px;
    }
}

@media screen and (max-width: 576px) {
    .mainText1 h3 {
        margin-top: 10px;
        line-height: 1.4;
    }

    .mainText1 .room {
        font-size: 16pt;
        margin-top: -30px;
        padding: 6px 0;
        line-height: 1.4;
        width: 240px;
    }

    .couponmark {
        padding: 0px 8px;
    }

    .reward-upgrade .mainText1 {
        padding: 56px 0 16px;
    }
}

/* 活動資格標籤 */
.reward-wrap {
    position: relative;
    overflow: visible;
}

.reward-main {
    position: relative;
    overflow: hidden;
}

.subscription-title {
    anchor-name: --subscription-title;
}

.activity-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3e9df3 0%, #1769c2 100%);
    color: #fff;
    border-radius: 0 0 12px 12px;
    text-align: center;
    line-height: 1.35;
    overflow: hidden;
    isolation: isolate;
}

.activity-badge::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;
    width: 65%;
    height: 200%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.03) 20%, rgba(255, 255, 255, 0.12) 35%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.12) 65%, rgba(255, 255, 255, 0.03) 80%, transparent 100%);
    filter: blur(7px);
    transform: translateX(0) skewX(-18deg);
    mix-blend-mode: screen;
    opacity: 0;
    animation: badgeShimmer 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.activity-badge span {
    position: relative;
    z-index: 1;
    display: block;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 700;
    color: #fff;
}

@keyframes badgeShimmer {
    0% {
        transform: translateX(0) skewX(-18deg);
        opacity: 0;
    }

    12% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    60% {
        transform: translateX(320%) skewX(-18deg);
        opacity: 1;
    }

    70% {
        opacity: 0;
    }

    100% {
        transform: translateX(320%) skewX(-18deg);
        opacity: 0;
    }
}


@media (max-width: 768px) {
    .activity-badge {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .activity-badge span {
        width: 200px;
    }
}

/*--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
}

.memoTable td {
    vertical-align: top;
}


/*--- 活動表格 ---*/
.table-bordered th,
.table-bordered td {
    padding: 3px;
    vertical-align: middle;
}

.table-bordered th{
    background-color: #bcdfff;
}


.table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
}

.mainText1 .table {
    font-size: 17px;
}

@media screen and (max-width: 576px) {
    .table thead th {
        font-size: 15px;
    }

    .table-bordered td {
        font-size: 13px;
    }

    .table-bordered th{
        padding: 10px 0px;
    }
}

.game {
    background-color: #e4f1fd;
}


/*--- 注意事項 ---*/

.noticeDesc h4 {
    font-size: 1.3rem;
    text-align: left;
}



ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}


/*--- 注意事項表格 exTable ---*/

#exTable table th,
#exTable table td {
    text-align: center;
    font-size: 12px;
    border: 1px solid #ccc;
    vertical-align: inherit;
}

#exTable table th {
    color: #fff;
    background-color: #323232;
}


/*--- 分頁 tabs submenu ---*/

.tabs {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-right: 0px;
    padding-left: 0px;
    border-bottom: 1px solid #00859a;
}

.submenu ul {
    list-style-type: none;
}

.submenu li {
    float: left;
    height: 30px;
    width: 33.333%;
    font-size: 13pt;
    font-weight: 500;
    line-height: 20px;
    color: #1c100b;
    text-align: center;
    padding: 0 24px;
    list-style-type: none;
}

.submenu li a {
    color: #a9a9a9;
    padding-bottom: 5px;
}

.submenu li a.active {
    color: #FFFFFF;
    font-size: 15pt;
    background: #00859a;
    padding: 10px 10% 8px;
    border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 587px) {
    .submenu {
        padding: 0 0 0 0;
    }

    .submenu li {
        font-size: 12pt;
        padding: 0px;
    }

    .submenu li a {
        padding-bottom: 8px;
    }

    .submenu li a.active {
        font-size: 12pt;
        padding: 10px 10% 10px;
    }
}

@media screen and (max-width: 320px) {
    .submenu li {
        font-size: 10pt;
    }

    .submenu li a.active {
        font-size: 10pt;
        padding-bottom: 13px;
    }
}

/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

.storeBox {
    background-color: #fff;
    border: 1px solid #518a53;
    border-radius: 15px;
    padding: 10px 15px;
    text-align: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: 0.5s;
}

.storeBox:hover {
    transform: translateY(-5px);
    box-shadow: 0px 2px 10px #518a5373;
}

.storeBox h4 {
    text-align: center;
}




.mainArea .titleImg {
    display: block;
    text-align: center;
    margin: 10px auto;
}

.bgColor {
    background-color: #F3F5E8;
}

/*-------注意事項彈出視窗--------------------*/
.modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 5px;
    color: #154596;
    padding: 0;
}

.modal-content {
    border-radius: 1rem;
}

.modal-content button:focus {
    outline: none;
}

.modal-dialog {
    margin: 1.75rem auto;
}

.modal-header .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.8rem 1.3rem;
    margin: 0rem 0rem -1rem auto;
    background: transparent url(../images/close.png) center/2.5em auto no-repeat;
}

@media screen and (max-width: 768px) {
    .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}

/*-------//注意事項彈出視窗--------------------*/

/*----------------------- 分頁 ----------------------*/
.nav {
    justify-content: center;
}

.nav-item {
    margin-right: 5px;
    margin-left: 5px;
}

.nav-tabs {
    border-bottom: 0;
}

.nav-tabs .nav-link {
    border: 2px solid #fff;
    border-radius: 20px;
    color: #ff6359;
    background-color: #f0f0f0;
    font-weight: 600;
    font-size: 20px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #ff6359;
    border-color: #fff;
}

@media screen and (max-width: 576px) {
    .nav-item {
        margin-right: 1px;
        margin-left: 1px;
    }

    .nav-tabs .nav-link {
        font-size: 18px;
    }
}

/*------------------------------------*/
.card_title {
    padding: 5px 5px;
    width: 95%;
    display: inline-block;
    border-radius: 35px;
    color: #fff;
    background-color: #467DAC;
    font-weight: 600;
    font-size: 20px;
}

.card_text {
    vertical-align: middle;
    font-weight: 800;
    font-size: 18px;
    line-height: 26px;
}

.card_text img {
    padding: 20px;
}

.card_text .btn.btn-primary {
    right: 30px;
    bottom: 10px;
    background-color: #fff;
    color: #467DAC;
    border: #467DAC 1px solid !important;
}

.card_text .btn.btn-primary:hover {
    background-color: #c5e4e4 !important;
}