@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;
}


.btn.btn-primary {
    background: #f7ad1a;
    color: #fff;
    border: none !important;
    border: 2px solid transparent;
    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;
        font-size: 16px;
    }
}


/*
--- 切換裝置顯示項目 ---*/

#line,
#line_m {
    text-align: center;
}

#line img,
#line_m img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

#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;
    }
}


/*
--- 活動主版 mainArea ---*/

.mainArea {
    padding-top: 30px;
    padding-bottom: 30px;
}

.mainArea h1 {
    /* 活動主標 */
    color: #e37066;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
}

.mainArea h2 {
    /* 活動副標 */
    color: #7f7f7f;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 20px;
}

/* 活動主標 */
.mainArea h2 {
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    color: #f7ad1a;
    text-shadow:
        -1px -1px 0 #FFF,
        1px -1px 0 #FFF,
        -1px 1px 0 #FFF,
        1px 1px 0 #FFF;
    font-size: 3rem;
    /* 56px */
    text-align: center;
    letter-spacing: 2px;
    padding-bottom: 20px;
    font-weight: 900;
}

.mainArea h2 .titlepoint {
    /* 主標重點 */
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 600;
    font-style: italic;
    color: #FF5E62;
}

.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: 20px;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    /* padding-left: 10px; */
    /* padding-right: 10px; */
    text-align: justify;
    padding-top: 10px;
}

.mainArea p {
    color: #000000;
    font-size: 18px;
    /* font-weight: bold; */
    text-align: center;
    margin-bottom: 10px;
    line-height: 40px;
}

.mainArea img {
    margin: 0px auto;
}

@media screen and (max-width: 1200px) {
    .mainArea h4 {
        /* padding-right: 50px; */
        /* padding-left: 50px; */
    }
}


@media screen and (max-width: 576px) {
    .mainArea {
        padding: 20px 0px;
        padding-bottom: 30px;
    }

    .mainArea h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .mainArea h2 {
        font-size: 2.3rem;
        margin: 0px;
        /* padding: 10px 0; */
    }

    .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;
        padding-left: 10px;
        padding-right: 10px;

    }

    .mainArea p {
        color: #000000;
        font-size: 15px;
        text-align: center;
        margin-bottom: 5px;
        line-height: 30px;
    }
}

.Area_01 h4 {
    color: #fff;
    padding: 0;
}

@media screen and (max-width: 576px) {
    .Area_01 h4 {
        padding-bottom: 15px;
    }
}


.Area_01 h5 {
    color: #dae6ff;
    padding-bottom: 30px;
}

@media screen and (max-width: 576px) {
    .Area_01 h5 {
        padding-bottom: 0px;
        font-size: 14px;
    }
}



/*
--- 活動內文區塊 mainText ---*/

.reward {
    color: #cf3934;
    padding: 2px;
    font-weight: 600;
}

.rewardOrange {
    color: #f98a1d;
    padding: 2px;
    font-weight: 600;
}


/*
--- 備註文字 ---*/

.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: #f7ad1a;
    color: #FFF;
}

.mainArea .table td {
    background-color: #fff;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 10px;
    border: 1.9px solid #ffbb33;
    vertical-align: middle;
    font-weight: 800;
    font-size: 21px;
    line-height: 1.4;
}


.mainArea .table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
}


@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: 8px;
        line-height: 1.2;
    }

    .mainArea .table-bordered {
        line-height: 1.5;
        margin-bottom: 5px;
    }

    .mainArea .table th,
    .mainArea .table td {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .mainArea .table {
        width: 100%;
        /* 保持表格不超出螢幕 */
        table-layout: fixed;
        /* 單元格寬度自動分配 */
    }
}






/*
--- 版權宣告footer ---*/

#footer {
    background-color: #eeeeee;
}

#footerStyle {
    width: 100%;
    background-color: #f4f4f4;
}

.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;
}


.bgColor {
    background-color: #FFEFCC;
}


.redText {
    color: #ff0000;
}

.wordBerakAll {
    word-break: break-all;
}

/*-------注意事項彈出視窗--------------------*/
/* .noticeModa要區隔各信用卡發卡機構掛失服務資訊彙整表 */
.noticeModal .modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 3px;
    color: #009999;
    padding: 0;
    /* color: #f7ad1a; */
}

.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 1.3rem;
    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-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: #009999;
    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: #009999;
    border-color: #fff;
}

@media screen and (max-width: 576px) {
    .nav-item {
        margin-right: 1px;
        margin-left: 1px;
    }

    .nav-tabs .nav-link {
        font-size: 18px;
    }
}




.reward1 {
    color: #cf3934;
    padding: 2px;
    font-weight: 600;
    font-size: 110%;
}

.reward2 {
    color: #ff1d45;
    padding: 2px;
    font-weight: 600;
    font-size: 110%;
}

.redonly {
    color: #f36;
}


.bgColor {
    background-color: rgba(46, 99, 139, 0.074);
    /* background-color: #f0f9ff; */
}



/* 第一區 */

.apple-pay-section {
    padding: 80px 0 0px;
    /* background:#f5f5f5; */
}


    .phone-img1 {
        max-width: 280px;
    }

@media screen and (min-width: 992px) {
    .phone-img2 {
        max-width: 280px;
    }
}

.content-box {
    max-width: 520px;
}

.content-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1c5e;
    margin-bottom: 30px;
}

.desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.notice {
    font-size: .95rem;
    line-height: 1.8;
    color: #666;
}

@media screen and (max-width: 992px) {
    .content-box {
        max-width: initial;
    }
}

@media (max-width:768px) {

    .apple-pay-section {
        padding: 40px 0 0;
        text-align: center;
    }

    .content-box {
        margin: auto;
    }

    .content-box h2 {
        /* font-size: 2rem; */
        margin-bottom: 20px;
    }

    .desc {
        margin-bottom: 30px;
        font-size: 1rem;
    }

    .notice {
        font-size: .9rem;
    }

    .phone-img1, .phone-img2 {
        max-width: 220px;
    }
}

@media screen and (max-width: 768px) {
    .content-box h2 {
        font-size: 2rem;
    }
}



/* 第二區 */

.feature-section {
    padding: 40px 0;
    background: #fff;
}

.feature-item {
    height: 100%;
    padding: 32px 24px;
    /* background: #f1f1f1; */
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    /* box-shadow:0 4px 16px rgba(0,0,0,.08); */
    /* transition:.3s; */
}

/* .feature-item:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 24px rgba(0,0,0,.12);
} */


.feature-item h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 16px;
}

.feature-item p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

@media screen and (max-width: 992px) {
    .feature-item h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {

    .feature-section {
        padding: 30px 0;
    }

    .feature-item h3 {
        font-size: 20px;
    }

    .feature-item p {
        font-size: 16px;
    }
}

.icon-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: #dadada;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    /* border: 1px solid #a1a1a1; */
}

.newiconStyle {
    color: #ffffff;
}


/* 第三區 */

.info_card {
    background-color: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 2rem;
}

.apple-step {
    /* background: #f5f5f5; */
    padding: 30px 0;
}

.step-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-content {
    font-size: 1.25rem;
    line-height: 2;
}

@media (max-width: 768px) {

    .apple-step {
        padding: 0px 20px 30px;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-content {
        font-size: 1rem;
        line-height: 1.8;
    }
}


.step-list {
    padding-left: 1.4rem;
    margin-bottom: 50px;
}

.step-list li {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
}

.watch-block h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #222;
}

.watch-block p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 0px;
}


.notice {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    /* text-align: right; */
    padding-top: 10px;
}

@media screen and (max-width: 576px) {
    .notice {
        font-size: 0.95rem;
        color: #666;
        margin: 0;
        text-align: center;
        padding-top: 10px;
    }
}


@media (max-width:768px) {
    .step-list li {
        font-size: 1rem;
    }

    .watch-block h3 {
        font-size: 1.2rem;
    }

    .watch-block p {
        font-size: 1rem;
    }
}


.bigtitle {
    padding-top: 50px;
    margin-bottom: 0px;
}

.bigtitle h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #0d1c5e;
    line-height: 1.4;

}


@media (max-width: 768px) {
    .bigtitle h1 {
        font-size: 2rem;
        /* margin-bottom: 30px; */
        padding: 0px 20px;
    }
}

.Area_03 {
    background: #009DAD;
    background: linear-gradient(180deg, rgb(243 242 242) 0%, rgb(250 249 249) 69%, rgb(255, 255, 255) 100%);
}