@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: rgb(255, 255, 255);
    height: 100%;
    position: relative;
    /*padding-top: 70px;*/
}


@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

.footbg {
    width: 100%;
    background-color: #f4f4f4;
}

.text-center {
    margin-bottom: 30px;
}

hr {
    border-top: 0.7px solid rgb(175 175 175 / 42%);
}

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;
}

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: #009999;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

/*
--- 切換裝置顯示項目 ---*/
#line {
    display: block;
}

#line_m {
    display: none;
}

#percentpoint {
    display: block;
}

#percentpoint_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }

    #percentpoint {
        display: none;
    }

    #percentpoint_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;
}

/* :hover */
.navbar-nav>li>a:after {
    content: '';
    display: block;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    background: #009999;
    z-index: -1;
    transition: all .5s;
}

.navbar-nav>li:hover>a:after {
    transform: scaleX(1);
}

/*--- 導覽列下拉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;
}

/*--- 主視覺 ---*/
.topimg1 {
    background-image: url(../images/top.jpg) !important;
}


@media screen and (max-width: 576px) {
    .topimg1 {
        background-image: url(../images/top_m.jpg) !important;
    }

 
}

/* 主視覺非背景設定 */

.topImg {
    padding-top: 70px;
}

@media screen and (max-width: 1401px) {
    .topImg {
        padding-top: 12px;
    }
}

@media screen and (max-width: 1194px) {
    .topImg {
        padding-top: 0px;
    }
}

#top {
    text-align: center;
}

/****************** 版面 Container ******************/



.gridContainer {
    width: 76%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
   
}

@media screen and (max-width: 1280px) {
    .gridContainer {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .gridContainer {
        width:100%;
    }
}

@media only screen and (max-width: 768px) {
    .gridContainer {
        width:100%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
        background-size: cover;
    }
}

/*
--- 活動主版 mainArea ---*/
.mainArea-tab-mb {
    margin-bottom: -75px !important;
}

.mainArea {
    padding-top: 50px;
    padding-bottom: 30px;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.logo{
    text-align: center;
}

/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
    font-size: 24px;
    color: #545559;
    margin:0px 80px;
    line-height: 50px;
    border: 3px solid rgb(238 238 238);
    padding: 47px 43px 25px 43px;
    text-align: center;
    border-radius: 20px;
    background-image: url(../images/bg.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #fff;
    position: relative;
}



.mainText1 h2 {
    text-align: center;
    padding: 3px 0px;
    margin-bottom: 15px;
    overflow: hidden;
}


.mainText1 h3 {
    font-size: 22pt;
    padding-top: 28px;
    padding-bottom: 10px;
}


.mainText1 h5 {
   
    font-size: 13px;
    line-height: 21px;
    color: #757575;
    text-align: left;

}
   

@media screen and (max-width: 992px) {
    .mainText1 h3 {
        font-size: 20pt;
        /* padding-top: 30px; */
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .mainText1 h3 {
        font-size: 16pt;
        /* padding-top: 30px; */
        padding: 10px 0;
        line-height: 1.4;
    }
}

.mainText1 h4{
    font-size: 20px;
    color: #777;
    text-align: center;
}

.mainText1 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}



@media screen and (max-width: 576px) {

    .mainText1 .title {
        font-size: 1.5rem;
        
    }
    .mainText1 {
        padding: 47px 25px 25px 25px;
        margin:0px 0px;
    }

}



/*--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
    text-align: left;
}

.memoTable td {
    vertical-align: top;
}

/*
--- 活動表格 ---*/
.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #a1bbbd;
    vertical-align: middle;
}

.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 {
        font-size: 17px;
    }

    .mainArea .table-bordered {
        line-height: 1.5;
    }
}

/*--- 注意事項 ---*/
.noticeDesc h4 {
    font-size: 1.3rem;
}

.noticeDesc .table-bordered {}

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;
}

/*--- 注意事項標題列 ---*/


.carrefour_modal-header {
    background-color: #004da1;
}

.RTMART_modal-header {
    background-color: #e81d0f;
}

.amart_modal-header {
    background-color: #008236;
}

.modal-title {
    color: #fff !important;
    font-weight: 600;
}

.titlered {
    color: #c30d23;
}

.close {
    font-size: 2rem !important;
    color: rgb(255, 255, 255);
}

.close:hover {
    color: rgb(255, 255, 255) !important;
}



/*--- 版權宣告footer ---*/
#footer {
    background-color: #eeeeee;
}

.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;
    }
}







/* 3pay-tab */
.paytab {
    text-align: center;
    margin-top: 28px;

}
.nav-pills{
    --bs-nav-pills-link-active-bg:#c30d23;
}

.paytab .nav-pills {
    display: flex;
    justify-content: center;
    position: relative;
    border-bottom: none;
    margin-bottom: 42px;
}

.paytab .nav-pills li {
    margin: 0;
}

.paytab .nav-pills li button {
    display: block;
    padding: 0px 30px;
    /* background: #fff; */
    font-size: 26px;
    font-weight: 700;
    color: #c30d23;
    /*text-transform: uppercase;*/
    text-align: center;
    border-radius: 15px 15px 0 0;
    /* [disabled]border: none; */
    /* [disabled]border-bottom: 0px solid #ddd; */
    overflow: hidden;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease 0s;
    margin-left: 10px;
    margin-right: 10px;
   
}

.paytab .nav-pills li a.active {
    padding: 0px 30px;
    color: #ffffff;
    background-color: #a73114
        /* 2022舊版配色#13a0be*/
    ;
}


.paytab .nav-pills li a:hover {
    color: #ffffff;
    /* [disabled]border: 1px solid #009dad; */
    padding: 0px 30px;
    background-color: #30c2bf93;
}

.paytab .nav-pills li.active a {
    color: #01a3c0;
    border: 1px solid #01a3c0;
    padding: 0px 30px;
}

@media screen and (max-width: 768px) {
    .paytab .nav-pills li a {
        font-size: 24px;
        padding: 4px 10px !important;
        margin-left: 5px;
        margin-right: 5px;

    }

    .paytab .nav-pills li a.active {
        padding: 4px 10px;
    }

    .paytab .nav-pills li a:hover {
        padding: 4px 10px !important;
    }

    .paytab .nav-pills li.active a {
        padding: 4px 10px;
    }
}

.paytab .tab-content {
    /* padding: 20px; */
    margin-top:
        /*-5px*/
        -20px;
    border-top: 2px solid #e5e5e5;
}
.mainArea1{}
.paytab .tab-content h5 {
    font-size: 13px;
    line-height: 21px;
    color: #757575;
    /* line-height: 26px; */
    text-align: left;
}

@media screen and (max-width: 576px) {
    .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;
    }

    .paytab .tab-content {
        /* padding: 20px; */
        margin-top:
            /*-5px*/
            20px;
        border: 0px;
    }
    .paytab .nav-pills li button {
        
        padding: 0px 15px;
        font-size: 23px;
        margin-left: 5px;
        margin-right: 5px;
       
       
    }
}

@media screen and (max-width: 320px) {
    .submenu li {
        font-size: 10pt;
    }

    .submenu li a.active {
        font-size: 10pt;
        padding-bottom: 13px;
    }

    .nav.nav-tabs .nav-item a.active {
        font-size: 20px;
    }

    .nav.nav-tabs .nav-item a.active:hover {
        font-size: 20px;

    }

    .nav.nav-tabs .nav-item a {
        font-size: 20px;

    }
}

/*
--- 版權宣告footer ---*/
#footer {
    background-color: #eeeeee;
}

.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;
    }

    .forpad {
        margin-left: 10px;
        margin-right: 10px;
    }

}


.setlogo {
    /* [disabled]display: block; */
    /* [disabled]margin-left: auto; */
    /* [disabled]margin-right: auto; */
    /* [disabled]border: 1px dotted #009999; */
    border-radius: 60px;

}

.set11 {
    margin-top: 25px;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0px 0px 5px #979797;
    box-shadow: 0px 0px 5px #979797;
    border-radius: 20px;
    /* [disabled]min-height: 400px; */
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 0px;
}

.tablebg {
    background-color: #EDEDED;
}

@media (max-width:576px) {
    .paytab {
        border-bottom: 1px solid #FFFFFF;
        margin-bottom: 10px;
        margin-top: -32PX
    }

    .paytab .nav-pills {
        margin-top: 10px;
    }

    .paytab .nav-pills li {
        margin-top: 10px;
       
    }

    .paytab .nav-pills li a {
        border: 1px solid #DBDBDB;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .nav.nav-pills .nav-item a {
        font-size: 20px;
    }
}




@media screen and (max-width: 992px) {
    .mainText1 h3 {
        font-size: 18pt;
        /* padding-top: 30px; */
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .mainText1 h3.newfontSize {
        font-size: 16pt;
        padding: 10px 0;
        line-height: 1.4;
    }
}

@media screen and (min-width: 768px) {
    .facoin {
        line-height: 42pt;
    }
}

@media screen and (min-width:768px) and (max-width:992px) {
    .newE {
        padding: 20px;
    }
}




.reward {
    /* 家樂福--滿額(數字) */
    font-size: 150%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    /* font-family: Verdana, Tahoma, sans-serif; */
    color: #004da1;
    padding: 0 5px;
}

.reward1 {
    /* 大潤發--滿額(數字) */
    font-size: 150%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #e81d0f;
    padding: 0 5px;
}
.reward2 {
    /* 愛買--滿額(數字) */
    font-size: 150%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    /* font-family: Verdana, Tahoma, sans-serif; */
    color: #008236;
    padding: 0 5px;
}


.reward0_A {
    /* --滿額(折扣-數字) */
    font-size: 180%;
    /* font-family: Verdana, Tahoma, sans-serif; */
    font-weight: bold;
    color: #e71a0f;
    padding: 0 5px;
}

.reward_A {
    /* 家樂福現金抵用券) */
    color: #004da1;
    padding: 5 0px;
}
.reward1_A {
    /* 大全聯現金抵用券) */
    color: #e71a0f;
    padding: 5 0px;
}

.reward2_A {
    /* 愛買現金抵用券) */
    color: #008236;
    padding: 5 0px;
}



/* 修改style */


.footbg {
    width: 100%;
    background-color: #f4f4f4;
}



.mainArea1{
    margin-top:-22px ;
    padding-top: 25px;
    border-top: 2px solid #c30d23;
}
@media screen and (max-width: 576px) {
    .mainArea1{
        margin-top:-33px ;
    }
}