@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;
}

.dottedHR {
    border-top: 4px dotted #66cccc;
    width: 80%;
    margin: 30px auto
}

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;
}

tr {
    font-size: 14px;
}

ul,
ol {
    margin-bottom: 0rem;
}

/*
--- 按鈕 btn ---*/
.btn:hover,
.btn:active,
.btn:focus {
    background: #393e46 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.btn.btn-primary {
    background: #45a880;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    border-radius: 50px;
}

@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;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }
}

#pic {
    display: block;
}

#pic_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #pic {
        display: none;
    }

    #pic_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;
}

/*
--- 導覽列下拉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;
    }
}

@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;
}

.kv:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;
    background-image: url(../images/top.jpg);
    background-size: cover;
}

@media (max-width:576px) {
    .kv {
        --w: 768;
        --h: 768;
    }

    .kv:before {
        background-image: url(../images/top_m.jpg);
    }

    .kv_box {
        position: absolute;
        top: 54%;
        left: 12.8%;
        width: 75%;
        height: 50%;
    }
}


/****************** 版面 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: 56px;
    padding-bottom: 40px;
}

.mainArea h2 {
    /* 活動主標 */
    color: #595757;
    font-weight: bold;
    text-align: center;
    line-height: 1.7;
    display: block;
    font-size: 1.7rem;
    padding-top: 24px;
    margin-bottom: 60px;
}

.mainArea h2.TWQRpink{
    color: #d64c8c;
}

.mainArea h2.TWQRgreen{
    color: #595757;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 16pt;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 3px;
    text-align: justify;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #595757;
    font-size: 20px;
    /* line-height: 1.8; */
    font-weight: 600;
}

.mainArea h6 {
    font-size: 1rem;
    line-height: 2;
    font-weight: 400;

}

.mainArea p {
    color: #000000;
    font-size: 14pt;
    text-align: center;
    margin-bottom: 0px;
}

.mainArea img {
    margin: 0px auto;
}

@media screen and (max-width: 992px) {
    .mainArea h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }

    .mainArea h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }
}

/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
  font-size: 20px;
  color: #313131;
  line-height: 50px;
  padding: 15px 12px 25px 12px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #bebfbf;
  border-radius: 36px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 72px;
  box-shadow: 0px 6px 0px #bebfbf;
}

/* 讓注意事項按鈕固定在底部 */
.mainText1 .text-center.mt-4 {
  margin-top: auto;
}



.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: #0099bd;
    border: 1px solid #0099bd;
}

.mainText1 h3.title {
    /* 活動內容標題 */
    line-height: 1.5;
    font-size: 1.6rem;
    color: #ffffff;
    background-color: #8374af;
    margin: -36px auto 5px;
    width: 60%;
    padding: 4px 0;
    border-radius: 36px;
}

.mainText1 h4 {
    /* 活動內容 */
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    color: #595757;
    font-weight: 600;
    margin-top: 8px;
    /* margin-bottom: 4px; */
}

.mainText1 .date{
    font-size: 1.2rem;
    padding-inline: 1rem;
    padding-bottom: .5rem;
    font-family: Helvetica, Arial, sans-serif;
}

.mainText1 h5 {
    font-size: 12pt;
    text-align: center;
    margin-bottom: 0px;
}

.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}

/* 特殊色文字 */
.textGreen {
    color: #40a880;
    font-weight: bold;
    font-size: 40px;
    margin-left: 3px;
    margin-right: 3px;
    font-family: Helvetica, Arial, sans-serif;
}

.mainText1 .bignumber {
    color: #40a880;
    font-size: 88px;
    font-weight: bold;
    font-family: Helvetica, Arial, sans-serif;
}

.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}

.highlight {
    background: linear-gradient(to bottom, transparent 50%, #ccffeb 50%);
    padding: 4px;
}

/* 主掃交易 */
.TWQRblue {
    color: #2c92ba;
}

.TWQRpink {
    color: #d64c8c;
}

.lh-s {
    font-family: 'stolzl', 'Noto Sans TC', sans-serif;
    line-height: 1.5rem;
    color: #000000;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

.scan h5 {
    margin-bottom: 4px;
}

.scan h6 {
    font-family: 'Noto Sans TC', sans-serif;
    margin-bottom: 20px;
    font-weight: 400;
}

.pr-3 {
    padding-right: 1rem !important;
}

@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;
    }

    .mainText1 h3.title {
        font-size: 2rem;
        max-width: 45%;
    }

    .mainText1 h4 {
        font-size: 16pt;
    }

    .textRed {
        font-size: 2.1rem;
    }
}

@media screen and (max-width: 576px) {

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .mainText1 {
        font-size: 16px;
        color: #545559;
        padding: 32px 12px 20px 12px;
        text-align: center;
        font-weight: 600;
        line-height: 30px;
        margin-bottom: 36px;
    }

    .mainText1 h3.title {
        /* 活動內容標題 */
        line-height: 1;
        font-size: 1.7rem;
        margin-bottom: 0px;
        margin-bottom: 16px;
        padding: 8px 0;
        margin: -52px auto 14px;
        max-width: 60%;
    }

    .mainText1 h4 {
        /* 活動內容 */
        text-align: center;
        font-size: 1.2rem;
        line-height: 1.8;
        margin-top: 0px;
    }

    .mainText2 h2 {
        width: 200px;
    }

    hr {
        border-top: 1px dotted #afafaf;
        margin-bottom: 40px;
        width: 93%
    }

    .textRed {
        font-size: 2rem;
    }

    .textGreen {
        margin-left: 0px;
        margin-right: 0px;
    }
}

.bg_paleYellow {
    /* background-color: #f6f5f0; */
    background: linear-gradient(175deg, #fff 45%, #f4f1ec 100%);
}

/* 新戶首刷好禮 */
.actBox {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.actBox span {
    position: absolute;
    width: 150px;
    height: 150px;
    top: -10px;
    left: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.actBox span::before {
    font-size: 20px;
    font-weight: 600;
    position: absolute;
    width: 150%;
    height: 40px;
    background: linear-gradient(35deg, #2f8c6f, #45a880, #66c1a1, #45a880, #2f8c6f);
    background-size: 300% 300%;
    animation: lightWave 3s ease-in-out infinite;
    transform: rotate(-45deg) translateY(-20px);
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.05em;
    color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

@keyframes lightWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.actBox span::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #347a5e;
    bottom: 0;
    left: 0;
    z-index: 0;
    box-shadow: 140px -140px #347a5e;
}

.label-online::before {
    content: '線上申辦限定';
}

.actBox-body {
    background-color: #ffffff;
    border-radius: 36px;
    padding: 56px 24px 24px;
    margin-bottom: 40px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #bebfbf;
}

.actBox-body p {
    font-size: 26px;
    font-weight: bold;
    line-height: 36px;
}

.actBox-body h3 {
    font-weight: 600;
    font-size: 30px;
    color: #45a880;
}

.circle {
    padding: 2px 6px;
    border-radius: 100px;
    background-color: #45a880;
    color: #ffffff;
}

.reward {
    font-weight: 600;
    font-size: 20px;
}

.reward2 {
    color: #ffffff;
}


@media screen and (max-width: 1200px) {
    .actBox-body h3 {
        font-size: 26px;
    }

    .actBox span {
        width: 140px;
        height: 140px;
        top: -20px;
        left: -20px;
    }

    .actBox span::after {
        width: 20px;
        height: 20px;
        box-shadow: 120px -120px #347a5e;
    }
}


@media screen and (max-width: 991px) {
    .actBox-body h3 {
        margin-top: 12px;
    }
}

@media screen and (max-width: 768px) {
    .actBox {
        margin-top: 20px;
    }

    .actBox-body {
        padding: 52px 12px 24px;
        margin-bottom: 8px;
        position: relative;
        height: auto;
    }

    .actBox-body h2 {
        position: absolute;
        top: -16px;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 0px;
        color: #ffffff;
        background-color: #45a880;
        font-size: 22px;
        justify-content: center;
        width: 75%;
        text-align: center;
        background: linear-gradient(35deg, #2f8c6f, #45a880, #66c1a1, #45a880, #2f8c6f);
        background-size: 300% 300%;
        animation: lightWave 3s ease-in-out infinite;
        height: auto;
        border-radius: 100px;
    }


}


@media screen and (max-width: 576px) {
    .newcustomer {
        padding: 36px 16px 16px;
        border-radius: 20px;
    }

    .actBox span {
        top: -35px;
    }

    .actBox span::before {
        transform: rotate(0deg) translateY(0px);
    }

    .actBox span::after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        background-color: #a39cc4;
        bottom: 36px;
        left: -12px;
        z-index: 0;
        transform: rotate(45deg) translateY(-20px);
    }

    .actBox-body {
        padding: 40px 12px 24px;
    }

    .actBox-body h2 {
        top: -16px;

    }

    .actBox-body p {
        font-size: 20px;
    }

    .actBox-body h3 {
        font-size: 22px;
        margin-top: 6px;
    }

    .circle {
        padding: 2px 6px;
    }
}
/* --新戶首刷好禮 */


/* 限時加嗎 */
.plus-img {
  position: absolute;
    top: 40%;
    left: -22px;
    transform: translateY(-50%);
    max-height: 44px;
    z-index: 2;
    animation: pulse-scale 1.6s ease-in-out infinite;
}

@keyframes pulse-scale {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
}

/* //限時加嗎 */

/*
--- 備註文字 ---*/
.memoTable td{
    background-color: #eaeff7;
}


/*
--- 活動表格 ---*/
.table-bordered th,
.table-bordered td {
    padding: 3px;
    vertical-align: middle;
}

.table-bordered th{
    background-color: #70afe8;
    color: #fff;
}

.table-bordered tbody tr td:first-child {
    background-color: #bcdfff;
}

.table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
}

.mainText1 .table {
    font-size: 17px;
}

@media screen and (max-width: 576px) {
    .table thead th {
        font-size: 17px;
    }

    .table-bordered td {
        font-size: 13px;
    }

    .table-bordered th{
        padding: 10px 0px;
    }
}

/*
--- 注意事項 ---*/
.noticeDesc h4 {
    font-size: 1.3rem;
}

/*
--- 注意事項表格 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;
}

#footerStyle {
    width: 100%;
    background-color: #f4f4f4;
}

.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;
    }
}

.tueCtn {
    padding-top: 20px;
}

/*-------注意事項彈出視窗--------------------*/
.modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 5px;
    color: #45a880;
    padding: 0;
}

.modal-content {
    border-radius: 1rem;
}

.modal-content button:focus {
    outline: none;
}

.modal-dialog {
    margin: 1.75rem auto;
}

.modal-header .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.9rem 2rem;
    margin: 0rem 0rem -1rem auto;
    background: transparent url(../images/close.png) center/2.5em auto no-repeat;
}

#noticeModal01 .modal-dialog .modal-content,
#noticeModal02 .modal-dialog .modal-content,
#noticeModal03 .modal-dialog .modal-content,
#noticeModal04 .modal-dialog .modal-content,
#exitFormModal .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;
}

@media screen and (max-width: 768px) {
    .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}

/*-------//注意事項彈出視窗--------------------*/

.memoText {
    font-size: 18px;
    padding: 5px;
}

@media screen and (max-width: 576px) {
    .memoText {
        font-size: 14px;
    }
}

/* 立即申辦 */
#myBtn {
    display: inline-block;
    position: fixed;
    width: 117px;
    height: 117px;
    bottom: 50px;
    right: 35px;
    z-index: 99;
    border: none;
    outline: none;
    background-image: url("../images/apply.png?d=20230630");
    background-size: contain;
    cursor: pointer;
    padding: 10px;
}

#myBtn:hover {
    background-image: url("../images/apply_a.png?d=20230630");
}


@media screen and (max-width: 768px) {
    #myBtn {
        width: 81px;
        height: 81px;
        bottom: 50px;
        right: 10px;
        z-index: 99;
        border: none;
        outline: none;
        background-image: url("../images/apply_s.png?d=20230630");
    }

    #myBtn:hover {
        background-image: url("../images/apply_a_s.png?d=20230630");
    }
}
/* //立即申辦 */


