@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;
}

@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;
}

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: #027e7e !important;
    color: #fff !important;
    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;
    }
}

/* 以下 Bootstrap5 分頁按鈕 */
.paytab .nav-pills {
    display: flex;
    justify-content: center;
    position: relative;
    border-bottom: none;
    margin-bottom: 42px;
}

.paytab .nav-pills li button {
    width: 300px;
    height: 50px;
    font-size: 25px;
    font-weight: bold;
    color: #009999;
    transition: all 0.3s ease 0s;
    background-color: #fff;
    border-radius: 40px;
    border: 1px solid #dbdbdb;
    padding: 0 30px;
    margin-right: 10px;
    margin-left: 10px;
}

.paytab .nav-pills li button:hover {
    color: #fff;
    background-color: #b7874ebf;
    /* #b7874e94;#66c2c3; */
    border-radius: 40px;
}

.paytab .nav-pills li button.active {
    color: #fff;
    border: none;
    border-radius: 40px;
    background-color: #b7874e;
    /* #66c2c3; */
    height: 50px;
    padding: 0 30px;
    margin-right: 10px;
    margin-left: 10px;
    box-shadow: 2px 3px 4px #81511a6b;
}

@media screen and (max-width: 576px) {
    .paytab .nav-pills {
        display: flex;
        flex-direction: column;
        align-content: center;
        margin-top: 15px;
    }

    .paytab .nav-pills li button {
        width: 100%;
        height: 55px;
        font-size: 26px;
        /* margin-bottom: 10px; */
        margin-right: auto;
        margin-left: auto;
        border: 1px solid #DBDBDB;
    }

    .paytab .nav-pills li button:hover {
        color: #fff;
        background-color: #b7874ebf;
        border-radius: 40px;
    }

    .paytab .nav-pills li button.active {
        height: 55px;
        /* margin-bottom: 10px; */
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 375px) {
    .paytab .nav-pills li button {
        letter-spacing: 0;
    }
    .paytab .nav-pills li button,
    #pageBTN {
        max-width: 280px;
    }
}

/* 以上 Bootstrap5 分頁按鈕 end */

/*--- 切換裝置顯示項目 ---*/
#line {
    display: block;
}

#line_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }
}

/****************** 導覽列 navbar ******************/
a.btn-apply{
    color: #fff;
    background-color: #009999;
}
.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;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        width: 180px;
        height: 60px;
        margin-left: 10px;
    }
}

.navbar-header .navbar-brand img {
    width: 90%;
}

.navbar-light .navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    /* B5*/
}

.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 !important;
    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);
}

.navbar-expand-lg .navbar-collapse {
    justify-content: end;
}

.navbar-collapse {
    flex-grow: unset;
    /* B5 */
}

/*--- 導覽列下拉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;
}



/****************** 輪播 carousel  ******************/
.carousel-indicators li {
    width: 10px;
    height: 10px;
    opacity: .8;
    border-radius: 50px;
    border: 1px solid #dedede;
    background-color: #bbbbbb;
}

/* 卡片輪播 */
.actBox .carousel-indicators .active {
    background-color: #8b8b8b;
}

.actBox .carousel {
    height: 100% !important;
}

.actBox .carousel-indicators {
    margin-bottom: -10px;
}

/*--- 主視覺 ---*/
.topimg {
    background-image: url(../images/top.jpg) !important;
}

@media screen and (max-width: 576px) {
    .topimg {
        background-image: url(../images/top_m.jpg) !important;
    }
}

#top {
    display: block;
    text-align: center;
}

#top_m {
    display: none;
}

@media screen and (max-width: 540px) {
    #top {
        display: none;
    }

    #top_m {
        display: block;
    }
}

/****************** 版面 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: #ffffff;
    font-weight: 600;
    font-size: 35pt;
    margin: 0 auto 20px;
    width: 600px;
    max-width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 42pt;
    text-align: center;
    letter-spacing: 30px;
    padding-left: 30px;
    text-shadow: 0px 0px 8px #000;
}

.mainArea h2 {
    /* 活動主標 */
    color: #009999;
    font-weight: 600;
    font-size: 30pt;
    margin: 0 auto 20px;
    width: 600px;
    max-width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 28pt;
    text-align: center;
    letter-spacing: 0;

}

.mainArea h2 small {
    color: #333333;
}

small {
    margin-left: 5px;
    font-size: 60%;
    color: rgb(158, 158, 158);
}

.mainArea h3 {
    color: #3a3a3a;
    text-align: center;
    font-size: 24px;
    line-height: 1.8;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    font-size: 18px;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #3a3a3a;
    font-size: 15pt;
    line-height: 2;
    padding-top: 10px;
    text-align: center;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #4b4b4b;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.mainArea p {
    color: #000000;
    font-size: 13pt;
    text-align: center;
    margin-bottom: 0px;
}

.mainArea img {
    display: block;
    margin: 0px auto;
    text-align: center;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .mainArea h2 {
        margin: 0 auto 5px;
        font-size: 24pt;
    }

    .mainArea h3 {
        /* font-size: 17px; */
        font-size: 24px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 14px;
        text-align: left;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }
}

@media screen and (max-width: 480px) {
    .mainArea h1 {
        padding-left: 0;
        letter-spacing: 10px;
    }
}

.mainArea2 h1 {
    color: #009999;
    text-shadow: none;
}

.mainArea2 h2 {
    font-weight: normal;
    font-size: 22pt;
    line-height: 1.5;
}

.mainArea2 h3 {
    font-size: 15pt;
    line-height: 2;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*--- 活動內文區塊 mainText ---*/
.mainText {
    width: 100%;
    font-size: 24px;
    color: #545559;
    margin-top: 38px;
    margin-bottom: 15px;
    line-height: 50px;
    padding: 30px 20px;
    text-align: center;
}

.mainTextBorder {
    border: 1px solid #5f3362;
    border-radius: 15px;
}

/* 大標文字設定 */
.mainTitle {
    color: #b7874e;
    font-size: 42px;
    font-weight: bold;
}

@media screen and (max-width: 576px) {
    .mainTitle {
        font-size: 36px;
    }    
}

.subTitle {
    color: #b7874e;
    font-size: 37px;
    font-weight: bold;
}

.discBN {
    /* 實心圓 */
    color: #fff;
    font-weight: bold;
    margin-right: 6px;
    margin-left: 6px;
    padding: 4px 10px;
    background-color: #b7874e;
    border: 1px solid #b7874e;
    border-radius: 100px;
}

.circleBN {
    /* 空心圓 */
    color: #b7874e;
    font-weight: bold;
    margin-right: 6px;
    margin-left: 6px;
    padding: 14px 19px;
    background-color: #fff;
    border: 1px solid #b7874e;
    border-radius: 100px;
}

/* 活動分類 */
#event {
    /* padding-top: 30px; */
    padding-bottom: 40px;
    /* background-color: #fdfbef; */
}

#event h4 {
    font-size: 20px;
    line-height: 2;
    padding-top: 0;
}

#pills-tab {
    /* border-bottom: 1px solid #ddd; */
    border-bottom: none;
}

#pills-tab .nav-item{
    margin-top: 25px;
}

@media screen and (max-width: 576px) {
    #pills-tab li {
        text-align: center;
        margin-top: 8.5px;
        margin-bottom: 8.5px;
    }
    /* 農金卡總選單-切換按鈕區塊-手機版滿版100% */
    .pills-tab-width li {
        width: 100%;
    }

    #pills-tab .nav-item{
        margin-top: 8.5px;
    }
}

.nav-pills .nav-link {
    color:#009999;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1rem;
    border-radius: 31px;
    margin: 0 7px;
    border: 1px solid #dbdbdb;
}
@media screen and (max-width: 991px) {
    .nav-pills .nav-link {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .nav-pills .nav-link {
        letter-spacing: 0rem;
    }
}

.nav-link:hover,
.nav-link:focus {
    background-color: #00999933;
    /* background-color: #009999; */
    /* border-bottom: 2px solid #009999; */
    color: #009999;
    /* color: #fff; */
    border-radius: 31px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #009999;
    /* color: #009999;
    background-color: #fffefc; */
    border: 1px solid #009999;
    border-radius: 31px;
}

/* a#pills-shopping-tab,
a#pills-stores-tab {
    color: #999;
} */

/************ gift 首刷禮 活動敘述 ************/
.intro {
    margin-bottom: 20px;
    /* background-color: #b7874e75; */
    padding: 15px;
    border-radius: 35px 0 35px 0;
    border: 2px solid #b7874e;
    box-shadow: 3px 3px 3px #c3c0c0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.intro h3 {
    font-size: 24px;
}

/************ gift 首刷禮 活動敘述 稻麥img ************/
.introImg {
    position: absolute;
    top: 18%;
    right: 1%;
}

@media screen and (max-width: 996px) {
    .introImg {
        right: -6%;
    }
}

@media screen and (max-width: 768px) {
    .introImg {
        display: none;
    }
}

/************ gift 首刷禮圖 ************/
.outBox {
    display: flex;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
    padding-top: 30px;
}

.giftBox {
    margin-top: 20px;
    margin-bottom: 25px;
    padding-right: 20px;
    padding-left: 20px;
}

@media screen and (max-width: 576px) {
    .giftBox {
        padding-right: 0px;
        padding-left: 0px;
    }
    
    .giftBox img {
        width: 70%;
    }
}

/************ gift 首刷禮 活動敘述 淡黃螢光筆底色 ************/
.colormark {
    background-image: linear-gradient(to top, #ffe0898f 50%, rgba(0, 0, 0, 0) 50.1%);
}

/************ gift 行動支付升級禮 分隔線 ************/
.dotLine {
    border-top: 4px dotted #afafaf;
    margin: 50px auto;
}

@media screen and (max-width: 576px) {
    .dotLine {
        nav-right: auto;
        margin-left: auto;
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

/************ gift 行動支付升級禮 ************/
.fontsquare {
    font-weight: 400;
    color: #b7874e !important;
}

@media screen and (max-width: 576px) {
    .fontsquare {
        font-size: 16px !important;
    }
}

.imgS {
    width: 70%;
}

/************ gift 如何取得新戶首刷禮 ************/
.stepZone {
    padding: 50px 0 30px;
}

h3.stepTitle {
    background: #b7874e;
    color: #fff;
    border-radius: 35px;
    max-width: 310px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 4%;
}

.stepImg {
    display: flex;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 4%;
}

@media screen and (max-width: 768px) {
    .stepImg {
        flex-direction: column;
    }
}

/************ p1 卡友最新優惠、p2 尊榮服務 ************/
.listBox {
    display: flex;
    margin-bottom: 30px;
    padding: 15px;
    /* padding-top: 30px;
    padding-bottom: 30px; */
    border: 2px solid #b7874e;
    border-radius: 35px 0 35px 0;
    box-shadow: 3px 3px 3px #c3c0c0;
}

@media screen and (max-width: 768px) {
    .listBox {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.imgBox {
    /* border-right: 2px dotted #dddddd; */
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .imgBox {
        /* border-right: none; */
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
    .imgBox {
        padding-bottom: 10px;
    }
}

.textBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 2px dotted #dddddd;
    padding-left: 15px;
}

@media screen and (max-width: 768px) {
    .textBox {
        border-left: none;
        padding-left: 0;
    }
}

@media screen and (max-width: 576px) {
    .textBox {
        padding-top: 20px;
    }
}

.btn.btn-primary2 {
    background: #b7874e;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 10px;
    font-size: 100%;
}

.btn-primary2:hover {
    background: #b7874ebf !important;
}

/************ p3 農漁會獨家優惠 活動敘述 ************/
.introA {
    /* 呷好米 */
    margin-bottom: 20px;
    background-color: #e7d20e17;
    padding: 15px;
    border-radius: 35px 0 35px 0;
    box-shadow: 3px 3px 3px #6867572e;
}

.introB {
    /* 好食尚 */
    margin-bottom: 20px;
    background-color: #fdb65340;
    padding: 15px;
    border-radius: 35px 0 35px 0;
    box-shadow: 3px 3px 3px #6867572e;
}

.introC {
    /* 品好茶 */
    margin-bottom: 20px;
    background-color: #00999917;
    padding: 15px;
    border-radius: 35px 0 35px 0;
    box-shadow: 3px 3px 3px #15585840;
}

.introD {
    /* 購物趣 */
    margin-bottom: 20px;
    /* background-color: #757fdf2e; */
    background-color: #ffe8de;
    padding: 15px;
    border-radius: 35px 0 35px 0;
    box-shadow: 3px 3px 3px #6867572e;
}

.introE {
    /* 免費停車 */
    margin-bottom: 20px;
    background-color: #9dbeed3d;
    padding: 15px;
    border-radius: 35px 0 35px 0;
    box-shadow: 3px 3px 3px #6867572e;
}

.reward {
    color: #caa664;
    font-weight: 600;
}

/************ p1 卡友最新優惠 紅字、變大 ************/
.textRed, .noticeRed {
    color: #d60000;
}

.hugeWord {
    font-weight: 600;
    font-size: 130%;
    margin-right: 3px;
    margin-left: 3px;
}

/************ p1 卡友最新優惠 紅字、變大 ************/
.textBN {
    color: #b7874e !important;
}

/************ p3 農漁會獨家優惠 呷好米 紅字、變大 ************/
.textGN {
    color: #009999 !important;
}

/************ p3 農漁會獨家優惠 表格 紅字 ************/
.SPoffer {
    font-size: 16px;
    color: #D80003;
}


.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}

@media screen and (max-width: 991px) {
    .flexBox {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .mainText .title {
        font-size: 1.5rem;
    }

    h4.wordLeftPhone {
        text-align: left;
    }

    .hugeWord {
        font-size: 100%;
    }
}

/*--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
    /* margin: 20px auto; */
    margin-top: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.memoTable td {
    vertical-align: top;
}

/*--- 活動表格 ---*/
.mainArea .table {
    margin-top: 20px;
}

.mainArea .table thead th {
    height: 15px;
    background-color: #5f3362;
    color: #fff;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #cfbbd1;
    vertical-align: middle;
    background-color: #fff;
}

.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;
    }
}


.mainArea2 .table-bordered thead th,
.table-bordered thead td {
    border-bottom-width: 1px;
}

.mainArea2 .table-bordered th,
.table-bordered td {
    border-right: 0;
    border-left: 0;
}


/* ---------- 表頭固定的表格 ---------- */
.list table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ebebeb;
    text-align: center;
}

.list table thead {
    background-color: #009999;
    color: #fff;
}

.list table tbody tr:nth-of-type(even) {
    /* background-color: #0099991f; */
    background-color: #d0d1d157;
}

.list table tr {
    width: 100%;
    height: 69px;
    display: table;
}

.list table th,
.list table td {
    padding: 5px;
    border-right: 2px dotted #e1dfdf;
}
/* table th td 最一個 右邊線影藏 */
.list table th:last-child,
.list table td:last-child{
    border-right: none;
}

.list table tbody {
    /* firefox */
    scrollbar-width: none;
    /* ie10+ */
    -ms-overflow-style: none;
}

/* chrome safari */
.list table tbody::-webkit-scrollbar {
    display: none;
}

.borderTB {
    border-top: 2px dotted #e1dfdf;
    border-bottom: 2px dotted #e1dfdf;
}

.borderTop {
    border-top: 2px dotted #e1dfdf;
}

/* 表頭背景色、標題色 */
.bgColorY {
    /* 呷好米*/
    background-color: #f7e994;
    color: #2a2929;
}

.bgColorO {
    /* 好食尚 */
    background-color: #fdb653fc;
    /* color: #2a2929; */
}

.bgColorR {
    /* 購物趣 */
    background-color: #f5bdcd;
    color: #2a2929;
}

.bgColorDB {
    /* 免費停車 */
    background-color: #3560af;
}

/* 表頭背景色、標題色 end */

/* 表格寬度 */
.w10 {
    width: 10%;
}

.w15 {
    width: 15%;
}

@media only screen and (max-width: 576px) {
    .w15 {
        width: 26%;
    }
}

.w30 {
    width: 30%;
}


.w35 {
    width: 35%;
}

/* 表格寬度 end */

/* ---------- 表頭固定的表格 end ---------- */

.bgColorGray {
    background-color: #e1dfdf52;
}

.bgcBN {
    background-color: #b7874e7a;
}

.noDot {
    list-style: none;
}

.memoText {
    font-size: 16px;
    color: #706d6d;
}


/*
--- 版權宣告footer ---*/

footer {
    width: 100%;
    background-color: #f4f4f4;
}

#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;
    }
}


/* modal */
.leaveModal.modal .btn-close {
    background: url(https://activity.ubot.com.tw/eCardWeb/images/img/close.png) no-repeat;
    width: 2em;
    height: 2em;
    float: right;
}

.leaveModal .modal-header {
    background-color: #fff;
    border-radius: 30px 30px 0 0;
}

.leaveModal .modal-content {
    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}

.leaveModal .modal-body {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
}

.leaveModal.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

.btn.btn-primary {
    background: #009999;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}




.w-100 {
    width: 100%;
}





/* ---- 2025 首刷禮 gift 樣式---- */

.giftPointBox {
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: #323232;
}

.giftcontent {
    font-size: 1.5rem;
    font-weight: 550;
    border-radius: 20px;
    /* filter: drop-shadow(0 0px 7px #075ac041);#efdc9c99*/
    background-color: #ffffff;
    filter: drop-shadow(1px 1px 10px #dfdfdfe8);
    padding: 0rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    height: 93%;
}

.giftcontent .giftitle {
    color: #543a24;
    background: rgb(233,224,196);
    background: linear-gradient(335deg, rgb(255 215 92) 13%, #ffe593 45%);
    background: linear-gradient(335deg, rgba(233, 224, 196, 1) 13%, #f7f0da 45%);
    width: 100%;
    position: relative;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    font-size: 2.3rem;
    padding-top: 20px;
    padding-bottom: 15px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
}

.giftcontent .giftitle:before {
    content: '';
    background-image: url(../images/bow_y.svg);
    background-image: url(../images/bow_g.svg);
    position: absolute;
    top: -43px;
    left: calc(50% - 75px);
    height: 50px;
    width: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(2);
    filter: drop-shadow(1px 1px 1px #dfdfdfe8);
    z-index: -1;
}

.giftcontent h2{
    font-size: 19pt;
    color: #b07d28;
    background-color: #ffffff;
    border: 1px solid #e8d5a5;
    font-weight: bold;
    text-align: center; 
    border-radius: 50px;   
    max-width: 300px;
    margin: 0 auto 10px;
    line-height: 28pt;
    width: 600px;
    padding-top: 5px;
    padding-bottom: 5px;
    letter-spacing: 0;
}

.giftcontent h6{
    text-align: center; 
}

.giftcontent h4.content {
    font-size: 17px;
    padding: 25px 25px 20px 25px;
    text-align: center;
    line-height: 1.6;
    color: #2E2E2E;
}

@media screen and (max-width: 992px) {
    .giftcontent .giftitle {
        font-size: 1.85rem;
    }
    .giftcontent h4.content {
        padding: 18px 15px 20px 15px;
    }
}

@media screen and (max-width: 768px) {
    .giftcontent .giftitle:before {
        top: -31px;
        /* transform: scale(1.5); */
    }

    /* <!--手機板giftbox第2個_調整上方距--> */
    .giftPointBox {
        margin-top: 1rem;
    }    
    .giftPointBox .secondbox {
        margin-top: 2rem;
    }
}

.giftPointBox p{
    color: #2E2E2E;
    font-size: 16px;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 15px;
    font-weight: normal;
}

.giftPointBox .memoTable{
        font-size: 16px;
        text-align: left;
        line-height: 1.5;
        color: #d60000;
        margin-top: 10px;
}

@media screen and (max-width: 576px) {
    .giftcontent h2{
        font-size: 17pt;
        max-width: 250px;
    }
}



/* 除外商品文字縮小 */
.exclude-note {
  font-size: 0.9em;   /* 比主文字小一階 */
  color: #850404;         /* 視覺降權，不搶重點 */
}

/* 除外商品文字縮小 */
.small-note {
  font-size: 0.8em;   /* 比主文字小一階 */
  color: #626161;         /* 視覺降權，不搶重點 */
}

