@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; */
    /* background-color: #faffc328; */
    height: 100%;
    position: relative;
    /*padding-top: 70px;*/
    background-color: #fef3b866;
}

@media screen and (max-width: 1400px) {
    body {
        padding-top: 60px;
    }
}

hr {
    border-top: 1.5px solid #7a7a7a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #014f9f;
    /* color: #009999; */
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus,
a:visited {
    color: #014f9f;
    /* 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;
    }
}

/* 樣式2活動btn */
.btn.actbtn-primary {
    background: #014f9f;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
}

@media screen and (max-width: 576px) {
    .btn.actbtn-primary {
        padding-top: 7px;
        padding-right: 6px;
        padding-left: 6px;
        padding-bottom: 7px;
        font-size: 16px;
    }
}


/*
--- 切換裝置顯示項目 ---*/
#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(https://card.ubot.com.tw/eCard/activity/RWD/images/UBOT-logo.png) no-repeat 0 50%;
}

.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*/
        background: url(https://card.ubot.com.tw/eCard/activity/RWD/images/UBOT-logo_s.png) no-repeat 0 50%;
    }
}

@media screen and (max-width: 576px) {
    .navbar .navbar-brand {
        margin-right: 50px;
        margin-left: 15px;
        background: url(https://card.ubot.com.tw/eCard/activity/RWD/images/UBOT-logo_s.png) no-repeat 0 50%;
    }
}

/****************** 輪播 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;
}

/*
--- 主視覺 ---*/
.topMain {
    background-image: url(../images/top.jpg) !important;
}

.topimg1 {
    background-image: url(../images/top.jpg) !important;
}

.topimg2 {
    background-image: url(../images/top_2.jpg) !important;
}

.topimg3 {
    background-image: url(../images/top_3.jpg) !important;
}

.topimg-Half-ckeck {
    background-image: url(../images/topHalf_check.jpg) !important;
}

@media screen and (max-width: 576px) {
    .topimg1 {
        background-image: url(../images/top_m.jpg) !important;
    }

    .topimg2 {
        background-image: url(../images/top_2m.jpg) !important;
    }

    .topimg3 {
        background-image: url(../images/top_3m.jpg) !important;
    }

    .topimg-Half-ckeck {
        background-image: url(../images/topHalf_check_m.jpg) !important;
    }
}

/****************** 版面 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 h2 {
    /* 活動主標 */
    color: #14377e;
    font-size: 2rem;
    margin: 0 10px 10px;
    padding: 5px;
    line-height: 28pt;
    text-align: center;
    font-weight: 550;
    display: inline-block;
    /* position: relative; */
    /* border-radius: 50px; */
    /* max-width: 260px; */
}

.mainArea h2::before {
    /* 畫線 */
    /* content: '';
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%);
    width: 100%;
    height: 50%;
    background-color: #075ac036; */
}

.mainArea h2 small {
    color: #333333;
    font-size: 0.7em;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.4rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
    font-weight: 550;
    color: #353535;
    /* text-align: center; */
}

@media screen and (max-width: 576px) {
    .mainArea h3.date {
        /* 活動起訖日+對象 */
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

}


/**** 活動敘述文 ****/
.mainArea h4 {
    color: #2E2E2E;
    font-size: 1.3rem;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 3px;
    font-weight: 550;
    /* position: relative;
    display: inline; */
    /* text-align: justify; */
}

.mainArea h4.datetext {
    color: #3c3c3c;
}

.contenttext {
    color: #000000;
    font-size: 1.6rem;
}

@media screen and (max-width: 576px) {
    .mainArea h4.datetext {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
    }

}

/* 畫中重點 */
.mainArea h4 span.highlight {
    background-image: linear-gradient(to top, #f0ff189e 50%, rgba(0, 0, 0, 0) 50.1%);
    padding: 0px 4.5px 1px 4.5px;
    color: #0a3691;
    font-size: 1.68rem;
}

@media screen and (max-width: 576px) {
    .mainArea h4 span.highlight {
        font-size: 1.3rem;
    }
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    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 {
    margin: 0px auto;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 0px;
        padding-bottom: 30x;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 17.5pt;
        line-height: 1.3;
    }
}

/* 樣式2標題 */
/* 全支付週年慶，限時再加碼 */
.mainArea h2.actText {
    /* 活動主標 */
    color: #14377e;
    font-size: 2.3rem;
    margin: 0 10px 10px;
    padding: 5px;
    line-height: 2.7rem;
    text-align: center;
    font-weight: 550;
    display: inline-block;
}



/*--- 活動內文區塊 mainText ---*/

/* 樣式1 */
.mainText1 {
    font-size: 24px;
    color: #545559;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 50px;
    line-height: 50px;
    border-radius: 30px;
    padding: 30px 0px 0px 0px;
    text-align: center;
}

@media screen and (max-width: 576px) {
    .mainText1 {
        font-size: 24px;
        color: #545559;
        margin-top: 15px;
        margin-bottom: 15px;
        line-height: 50px;
        line-height: 50px;
        border-radius: 30px;
        padding: 0px 0px 0px 0px;
        text-align: center;
    }
}

/* <!--區塊2_調整上方距--> */
.mainText1.secondPd {
    padding: 30px 0px 10px 0px;
}


/* 樣式2 */
.mainText2 {
    font-size: 24px;
    color: #545559;
    margin-top: 50px;
    margin-bottom: 15px;
    line-height: 50px;
    border: 1px solid #009999;
    padding: 30px 20px;
    text-align: center;
}

.mainText1 h2 {
    text-align: center;
}

.mainText2 h2 {
    width: 300px;
    margin-top: -50px;
    background-color: #009999;
    border: 1px solid #009999;
}

.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}

@media screen and (max-width: 576px) {

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .mainText2 h2 {
        width: 200px;
    }
}




/* 圖標 */
.titleIcon {
    min-width: 65px;
    height: 60px;
    object-fit: contain;
}


.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-items: 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;
    }
}


/* 活動內容區_tablebox(discount)樣式 */
span img.iconstar {
    width: 20px;
    object-fit: contain;
    display: inline-block;
}

.discountbox {
    padding: 0px;
    box-shadow: 8px 7px 0px 2px #8c99592e;

}

.discountbox h3 {
    padding: 5px;
    background-color: rgb(7 114 192);
    color: #ffffff;
}

.discountbox h4 {
    color: #2E2E2E;
    font-size: 1.4rem;
    line-height: 1.5;
    padding-top: 7px;
    padding-bottom: 3px;
    font-weight: 550;
    text-align: center;
}

.w-block {
    background-color: #fff;

    border-right: 1.5px solid #8c99592e;
}

@media screen and (max-width: 576px) {
    .discountbox h4 {
        font-size: 1.2rem;
        line-height: 1.2;
    }

}


/* 活動內容區_giftbox樣式 */

.giftPointBox {
    margin-bottom: 4rem;
    margin-top: 1rem;
}

/* <!--手機板giftbox第2個_調整上方距--> */
@media screen and (max-width: 576px) {
    .giftPointBox .secondbox {
        margin-top: 2rem;
    }
}

.giftcontent {
    font-size: 1.5rem;
    font-weight: 550;
    border-radius: 10px;
    /* filter: drop-shadow(0 0px 7px #075ac041);#efdc9c99*/
    background-color: #ffffff;
    filter: drop-shadow(2px 2px 15px #d0c8a370);
    padding: 0rem;
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    height: 90%;
}

.giftcontent .giftitle {
    color: #ffffff;
    background-color: #075bc0;
    width: 100%;
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    font-size: 1.8rem;
}

.giftcontent .giftitle:before {
    content: '';
    background-image: url(../images/deco.svg);
    position: absolute;
    top: -30px;
    left: calc(50% - 50px);
    height: 25px;
    width: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    transform: scale(1.3);
    filter: drop-shadow(2px 2px 6px #d0c8a3e8);
    z-index: -1;
}

/* Dialog */
.giftcontent .dialog.giftitle:after {
    content: '';
    background-image: url(../images/dialog.png);
    position: absolute;
    top: -85px;
    left: -60px;
    height: 120px;
    width: 140px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0px 0px 0px #e8a72de8);
    z-index: 2;
}

@media screen and (max-width:768px) {
    .giftcontent .dialog.giftitle:after {
        content: '';
        top: -70px;
        left: -50px;
        height: 109px;
        width: 128px;
        filter: drop-shadow(0px 0px 0px #e8a72de8);
    }
}

.giftcontent h4.content {
    padding: 18px 25px 20px 25px;
}


/* 贈點圈圈樣式 */
.rewardRoted {
    color: #fff;
    background-color: #d60000;
    padding: 1px 6px;
    border-radius: 50px;
    margin: 0px 2px;
    font-size: 1.5rem;
}

.reward {
    color: #d60000;
    margin-right: 1px;
    font-size: 1.9rem;
    font-family: Helvetica;
}

@media screen and (max-width:768px) {
    .rewardRoted {
        font-size: 1.4rem;
        padding: 1px 4px;
    }

    .reward {
        font-size: 1.6rem;
    }
}

.redText {
    color: #d60000;
}

.redTextbold {
    color: #d60000;
    font-family: Helvetica;
}



/*--- 備註文字 ---*/
.memoTable {
    font-weight: bolder;
    font-size: 18px;
    line-height: 1.6rem;
}

.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;
}

/*--- 分頁 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;
}

.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;
    }
}

.w-100 {
    width: 100%;
}

.footerbg {
    background-color: #f4f4f4;
}

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

/* boxItem:hover 20200428 */
.boxItem {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    max-width: 330px;
    border: 2px solid #e0e0e0;
}

.boxItem:hover {
    cursor: pointer;
    /* 滑鼠手指 */
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    border: 2px solid #009999;
    box-shadow: 0px 4px 5px rgba(120, 120, 120, 0.3);
}

@media screen and (max-width: 991px) {
    .boxItem {
        max-width: none;
    }
}

/*--- Swiper -------------------*/
.swiper-wrapper {
    list-style: none;
    padding: 10px;
}

.swiper-slide {
    min-height: 300px;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    text-align: center;
    /*display: flex;
      flex-direction: column;*/
}

.swiper-slide .btn {
    bottom: 0;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
}

@media screen and (max-width: 991px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }
}

.ubgreenLink {
    color: #009999;
    /* font-weight: 550; */
}


/****************** 跳轉提醒modal樣式 ******************/

.modalstyle .modal-dialog .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;
}

.modalstyle.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

.modalstyle.modal .modal-content .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 3em;
    height: 3em;
    float: right;
}

.modalstyle.modal .modal-footer .ubstyle button {
    border-radius: 0px;
}

.modalstyle.modal .modal-footer .ubstyle .btn-primary-ubgreen {
    background-color: #009999;
    border: 1px solid #009999;
}