@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;
}

eModal
/*
--- 按鈕 btn ---*/

.btn:hover,
.btn:active,
.btn:focus {
    background: #393e46 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.btn.btn-primary {
    background: #009999;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    background-color: #2c6cbd;
}


@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;
}



/*
--- 聯邦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;
}


/*
--- 主視覺 ---*/
.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;
    }
}



/*-------注意事項彈出視窗--------------------*/
/* .noticeModa要區隔各信用卡發卡機構掛失服務資訊彙整表 */
.noticeModal .modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 3px;
    color: #009999;
    padding: 0;
    color: #014fb1;
}

.noticeModal .modal-content {
    border-radius: 1rem;
}

.noticeModal .modal-content button:focus {
    outline: none;
}

.noticeModal .modal-dialog {
    max-width: 960px;
    margin: 1.75rem auto;
}

.noticeModal .modal-header .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.8rem;
    margin: 0rem 0rem -1rem auto;
    background: transparent url(../images/close.png) center/2.5em auto no-repeat;
}

.noticeModal .modal-footer {
    padding: 0;
}

@media screen and (max-width: 768px) {
    .noticeModal .modal-header .btn-close {
        padding: 1.5rem;
    }

    .noticeModal .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}

/*-------//注意事項彈出視窗--------------------*/


/*
--- 背景區塊 ---*/


.mainArea.bgColor-snow {
    /* background-color: #f9f9f9; */
    background-image: url(../images/bg-snow.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    padding-bottom: 150px;
    background-color: #e1ecfb;
    background-color: #eff6ff;
}

.mainArea.bgColor2 {
    background-color: rgba(46, 99, 139, 0.074);
    padding-top: 80px;
    padding-bottom: 100px;
    background-color: #fff;
}

.mainArea.bgColor {
    background-color: white;
    background-color: #eff6ff;
}

@media screen and (max-width: 768px) {
    .mainArea.bgColor-snow {
        padding-bottom: 50px;
    }

    .mainArea.bgColor2 {
        padding-top: 50px;
        padding-bottom: 70px;
    }

}



/*
--- 活動主版 mainArea ---*/

.mainArea {
    padding-top: 50px;
    padding-bottom: 30px;
}

.mainArea h2 {
    /* 活動主標 */
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    color: #FF8701;
    text-shadow:
        -1px -1px 0 #FFF,
        1px -1px 0 #FFF,
        -1px 1px 0 #FFF,
        1px 1px 0 #FFF;
    font-size: 3.5rem;
    text-align: center;
    letter-spacing: 2px;
    padding-bottom: 10px;
    padding-top: 10px;
    /* color: #014eb0; */
    /* color: #e929a0; */
}

.mainArea .titlepoint {
    /* 主標重點 */
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    font-style: italic;
    color: #fab10d;
    color: #FF5E62;
}

.mainArea .titlepoint_Area02 {
    /* font-style: initial; */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 130%;
}

@media screen and (max-width: 992px) {
    .mainArea h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .mainArea h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 576px) {
    .mainArea h2 {
        font-size: 1.9rem;
        margin: 0px;
        /* padding: 10px 0; */
    }
}


.mainArea h3.date {
    /* 活動起訖日+對象 */
    padding-top: 10px;
    line-height: 1.6;
    font-size: 1.5rem;
    font-weight: 600;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #595757;
    text-align: left;
    font-size: 15pt;
    line-height: 1.6;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
    color: #333;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 17px;
    line-height: 1.8;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    text-align: justify;
    padding-top: 10px;
}

.mainArea p {
    color: #000000;
    font-size: 17px;
    /* 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 0px;
        padding: 30px 0px 10px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
        margin-bottom: 0;
        /* text-align: center; */
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .mainArea h5 {
        font-size: 15px;
        line-height: 1.5;
    }

    .mainArea p {
        color: #000000;
        font-size: 11pt;
        text-align: center;
        margin-bottom: 5px;
        line-height: 30px;
    }
}


/*
--- 活動內文區塊 mainText ---*/

/* 內容文字只變色 */
.reward {
    color: #d70000;
}

/* 變色又放大(出遊神幫手&刷卡金) */
.reward1 {
    color: #d70000;
    padding: 2px;
    font-weight: 600;
    /* font-size: 110%; */
}

/* 每月滿額告示 */
.reward_point {
    border: 2px solid #ff1d45;
    color: #ff1d45;
    padding: 1px 5px 2px;
    font-weight: 600;
    line-height: 2;
}


/*
--- 活動表格 ---*/
.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table th {
    background-color: #24587f;
    color: #fff;
    background-color: #2c6cbd;
    padding: 14px;
}

.mainArea .table td {
    background-color: #fff;
}

.mainArea .table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;

    border: 1px solid #d9e1ea;
    border-radius: 10px;
    overflow: hidden;
    background-color: #d9e1ea;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 10px;
    border: 1px solid #24587f;
    vertical-align: middle;
    font-weight: 800;
    font-size: 21px;
    line-height: 26px;
    border: 1px solid #d9e1ea;
}

.mainArea .table-bordered td {
    color: #454545;
    color: #003d7c;
    padding: 12px;
    color: #454545;
}

/* 偶數列背景 */
.mainArea .table.table-bordered tbody tr:nth-child(even) td {
    background-color: #f7f9fc !important;
}

/* 最後一列不顯示底線 */
.mainArea .table-bordered tr:last-child td {
    border-bottom: none;
}

/* 活動門檻藍色 */
.mainArea .table-bordered tbody td:first-child {
    color: #003d7c;
    font-weight: 700;
    color: #454545;
}

/* 刷卡金紅色 */
.mainArea .table-bordered tbody td:last-child {
    color: #d70000;
    font-weight: 700;
    color: #ff5501;
}

.highlight {
    color: #d70000;
}

.highlight_Blue {
    color: #003d7c;
    color: #454545;
}

@media screen and (max-width: 768px) {
    .limit-text {
        display: block;
        margin-top: 2px;
    }
}

@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;
}

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;
    border: 1px solid #014fb1;
}

.exTable table th {
    color: #fff;
    background-color: #24587f;
    border-bottom: 1px solid #FFF;
    background-color: #014fb1;
}

.exTable table td {
    text-align: left;
}


/*--- 分頁 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: 17px;
    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: 16px;
        padding: 0px;
    }

    .submenu li a {
        padding-bottom: 8px;
    }

    .submenu li a.active {
        font-size: 16px;
        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;
    }
}

/*-------//注意事項彈出視窗--------------------*/

/*----------------------- 分頁 ----------------------*/
.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: 10px;
    color: #f79f01;
    background-color: #f1f1f1;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 2px;
    min-width: 120px;
    padding: 4px 10px;
}

a,
a:hover,
a:active,
a:focus,
a:visited {
    color: #f79f01;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #f79f01;
    border-color: #fff;
}

@media screen and (max-width: 576px) {
    .nav-item {
        margin-right: 1px;
        margin-left: 1px;
    }

    .nav-tabs .nav-link {
        font-size: 20px;
        min-width: 80px;
    }
}

/* -------出遊神邦手 框線-------/ */
.storeBox {
    background-color: #fff;
    text-align: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: 0.5s;
    height: 100%;
    padding: 10px 10px 0;
    border: 1px solid #014fb1;
    border-radius: 15px;
    width: 100%;
}

.storeBox:hover {
    transform: translateY(-5px);
    box-shadow: 0px 2px 10px #24587f;
}

.storeBox h4 {
    text-align: center;
}


/* 白雪 
.travel-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #fff;
}

.travel-title::before,
.travel-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 45px;
    flex-shrink: 0;
    background: url("../images/title-snow.png") center / contain no-repeat;
}

.travel-title::after {
    transform: scaleX(-1);
    transform: translateY(10px);
}

@media (max-width: 576px) {
    .travel-title {
        gap: 8px;
        font-size: 26px;
    }

    .travel-title::before,
    .travel-title::after {
        width: 55px;
        height: 30px;
    }
}*/


.gift-table-wrap {
    position: relative;
}

.gift-table-wrap::before {
    content: "";
    position: absolute;
    top: -27px;
    right: 12px;
    z-index: 2;
    width: 200px;
    height: 45px;
    background-image: url("../images/top-snow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}