@charset "utf-8";

/****************** 基本 ******************/

* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, 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: #393e46 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.text-center {
    margin-top: 20px;
    /* margin-bottom: 30px; */
}

.btn.btn-primary {
    background: #009999;
    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;
    }
}


/*
--- 切換裝置顯示項目 ---*/

#line {
    display: block;
}

#line_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }
}


/****************** 導覽列 navbar ******************/

.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.navbar-header {}


/*
--- 聯邦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;
        /* 60 only*/

    }
}

@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;
}


/*
--- 主視覺 ---*/
/* * {
    outline: 1px solid rgb(192, 20, 106);
} */

.kv {
    position: relative;
    width: 100%;
    --w: 1920;
    --h: 1000;
}

.topimg1:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;
    background-image: url(../images/top.jpg);
    background-size: cover;
}

.topimg2:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;
    background-image: url(../images/top_2.jpg);
    background-size: cover;
}


@media (max-width:768px) {
    .kv {
        --w: 768;
        --h: 768;
    }

    .topimg1:before {
        background-image: url(../images/top_m.jpg);
    }

    .topimg2:before {
        background-image: url(../images/top_2m.jpg);
    }

}



/****************** 版面 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;
    }
}



/*
--- 活動主版 mainArea ---*/

.mainArea {
    /* padding-top: 30px; */
    padding-bottom: 50px;
}

.mainArea h2 {
    font-size: 3.5rem;
    text-align: center;
    letter-spacing: 2px;
}


.mainArea h2 .titlemain {
    /* 活動主標 */
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    background: linear-gradient(180deg, #2da2f9, #0053bb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mainArea h2 .titlepoint {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;

    background: linear-gradient(180deg, #00913a, #8fc31f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


@media screen and (max-width: 576px) {
    .mainArea h2 {
        font-size: 2.5rem;
        margin: 0px;
    }
}


.mainArea h3.date {
    /* 活動起訖日+對象 */
    padding-top: 10px;
    line-height: 1.6;
    font-size: 1.5rem;
    font-weight: 600;
}

.mainArea h3.date1 {
   color: #ff313c;
    line-height: 1.5;
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 2px;
    font-weight: bold;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #323232;
    text-align: left;
    font-size: 15pt;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
}


.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.mainArea p {
    color: #000000;
    font-size: 13pt;
    text-align: center;
}


.mainArea img {
    margin: 0px auto;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding: 10px 0px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
        margin-bottom: 0;
        /* text-align: center; */
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 13pt;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .mainArea p {
        color: #000000;
        font-size: 11pt;
        text-align: center;
        margin-bottom: 5px;
        line-height: 30px;
    }
}


/*
--- 活動內文區塊 mainText ---*/

/* 變色又放大(&刷卡金) */
.reward1 {
    color: #ff1d45;
    padding: 2px;
    font-weight: 600;
    font-size: 110%;
}


/*
--- 備註文字 ---*/

.memoTable {
    font-size: 15px;
    margin-top: 30px;
}

.memoTable td {
    vertical-align: top;
}


/*
--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table th {
    background-color: #0053bb;
    color: #fff;
}


.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 15px;
    border: 1px solid#0054bb58;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 26px;
}


.mainArea .table-bordered th{
    border-color: #ddd;
}

.mainArea .table-bordered {
    text-align: center;
    line-height: 1.5;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
    margin-bottom: 30px;
}


@media screen and (max-width: 576px) {
    .mainArea .table thead th {
        font-size: 17px;

    }

    .mainArea .table-bordered td,
    .mainArea .table-bordered th {
        font-size: 17px;
        padding: 5px;
        line-height: 22px;
    }

    .mainArea .table-bordered {
        line-height: 1.5;
        margin-bottom: 5px;
    }
}


/*
--- 注意事項 ---*/

.noticeDesc h4 {
    font-size: 1.3rem;
    text-align: left;
}

.noticeDesc .table-bordered {}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}


/*
--- 注意事項表格 exTable ---*/
/* 完整活動名單&精選分期特店 */

.exTable table th,
.exTable table td {
    text-align: center;
    border: 1px solid #24587f;
    vertical-align: inherit;
}

.exTable table th {
    color: #fff;
    background-color: #24587f;
    border-bottom: 1px solid #FFF;
}


/*--- 分頁 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;
    }
}



/*
--- 版權宣告footer ---*/

#footer {
    background-color: #eeeeee;
}

#footerStyle {
    width: 100%;
    background-color: #f4f4f4;
}

.copyright {}

.copyright a {
    color: #7f7f7f;
    outline: none;
    text-decoration: none;
}

.copyright h4,
.copyright h5 {
    margin-top: 15px;
}

.copyright h4 {
    font-size: 26px;
    text-align: right;
}

.copyright h5 {
    font-size: 12px;
    text-align: left;
    color: #777;
    margin-left: 70px;
}

.copyright p {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
}

.copyright .list-inline {
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .copyright h4 {
        font-size: 20px;
        text-align: center;
    }

    .copyright h5 {
        font-size: 12px;
        margin-left: auto;
    }

    .copyright p {
        font-size: 12px;
        text-align: center;
    }
}

@media only screen and (max-width: 768px) {
    #footer {
        padding: 10px 0;
        color: #7f7f7f;
        background-color: #eeeeee;
    }

    #footer .copyright {
        margin-bottom: 0px;
        padding-bottom: 0;
    }

    .copyright h5 {
        text-align: center;
    }

    .copyright a {
        color: #7f7f7f;
        outline: none;
        text-decoration: none;
    }
}


/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}


/*-------注意事項彈出視窗--------------------*/
#noticeModal .modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 3px;
    color: #0053bb;
    padding: 0;
}

#noticeModal .modal-content {
    border-radius: 1rem;
}

#noticeModal .modal-content button:focus {
    outline: none;
}


@media screen and (max-width: 768px) {

    .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}




.loginTime {
    padding-top: 8px;
}

.login-btn {
    color: #fff !important;
    position: relative;
    padding: 10px 30px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    /* 加上這些 針對 <a> 標籤重置 */
    display: inline-block;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    /* 手機點擊高亮 */
    user-select: none;

    /* 玻璃擬態效果 */
    background: linear-gradient(135deg,
            rgba(45, 162, 249) 0%,
            rgba(0, 83, 187) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);

    /* 陰影 */
    box-shadow:
        0 2px 5px rgba(0, 83, 187, 0.45),
        0 2px 8px rgba(45, 162, 249, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);

    transition: all 0.3s ease;
}

/* 頂部高光 */
.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 45%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0));
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

/* Hover 效果 */
.login-btn:hover {
    color: #fff;
    background: linear-gradient(135deg,
            rgba(0, 145, 58) 0%,
            rgba(143, 195, 31) 100%);
    box-shadow:
        0 4px 10px rgba(0, 145, 58, 0.5),
        0 4px 16px rgba(143, 195, 31, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 點擊效果 */
.login-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 4px 10px rgba(0, 145, 58, 0.5),
        0 4px 16px rgba(143, 195, 31, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 576px) {
    .login-btn {
        padding: 5px 15px;
        font-size: 15px;
        letter-spacing: normal;
    }
}