@charset "utf-8";

:root {
    --ub-green: #009999;
    --ub-light-green: #30c9c2;
    --ub-bg-light-green: #1bbbbb;
}

/****************** 基本 ******************/

* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
    /* letter-spacing: normal; */
    max-width: none;
}

body {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: #777777;
    color: #323232;
    background-color: #fff;
    height: 100%;
    position: relative;
}

/*--- 主視覺 ---*/
.kv {
    position: relative;
    width: 100%;
    --w: 1920;
    --h: 1000;
    overflow: hidden;
    /* margin-top: -70px; */
}

.kv:before {
    content: '';
    width: 100%;
    padding-top: calc(var(--h) * 100% / var(--w));
    display: block;
    background-image: url(../images/top.jpg);
    background-size: cover;
}
.kv_box {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%; 
    height:100%;
    z-index: 5;
}
.kv_box_1 {
    position: absolute; 
    top: 66%;
    left: 27.266666%;
    width: 13.516666%;
    /* width: 10.416666%; */
    animation: pulsate-dish 2s ease-out 2.3s infinite forwards;
}
@keyframes pulsate-dish {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
      }
      13% {
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
        }
      25% {
        -webkit-transform: scale(1);
        transform: scale(1);
        }
      50% {
        -webkit-transform: scale(1);
        transform: scale(1);
      }
      100% {
        -webkit-transform: scale(1);
        transform: scale(1);
      }

  }

@media (max-width:768px) {
    .kv {
        --w: 768;
        --h: 1000;
    }

    .kv:before {
        background-image: url(../images/top_m.jpg);
    }
    .kv_box {
        position: absolute;
        top: 0%;
        bottom: 0;
        left: 0%;
        width: 100%; 
        height:100%;
        z-index: 1000;
    }
    .kv_box_1 {        
        /* top: 42%; */
        top: 45%;
        left: 35.042105%;
        width: 32.315789%;
    }
}

/*--- //主視覺 ---*/
/*---撒金幣--*/
.animateBox {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.fallings img {
    width: 1.5%;
    animation: fallings 5s ease-in infinite;
}

.fallings {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    top: -100px;
    z-index: 1;
}


@-webkit-keyframes fallings {
    0% {
        transform: translateY(0) scale(5) rotateZ(1000deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) scale(2);
        opacity: 0;
    }
}


.fallings img:nth-child(1) {
    animation-delay: 2s;
}

.fallings img:nth-child(2) {
    animation-delay: 1s;
}

.fallings img:nth-child(3) {
    animation-delay: 3s;
}

.fallings img:nth-child(4) {
    animation-delay: 1.8s;
}

.fallings img:nth-child(5) {
    animation-delay: 3.5s;
}

.fallings img:nth-child(6) {
    animation-delay: 6s;
}

.fallings img:nth-child(7) {
    animation-delay: 2.8s;
}

.fallings img:nth-child(8) {
    animation-delay: 1.5s;
}

.fallings img:nth-child(9) {
    animation-delay: 0.8s;
}

.fallings img:nth-child(10) {
    animation-delay: 2.1s;
}

.fallings img:nth-child(11) {
    animation-delay: 1.8s;
}

.fallings img:nth-child(12) {
    animation-delay: 2.3s;
}

@media (max-width:768px) {

    @-webkit-keyframes fallings {
        0% {
            transform: translateY(0) scale(8) rotateZ(1000deg);
        }

        100% {
            transform: translateY(100vh) scale(2);
        }
    }

    .fallings img:nth-child(9) {
        display: none;
    }

    .fallings img:nth-child(10) {
        display: none;
    }

    .fallings img:nth-child(11) {
        display: none;
    }

    .fallings img:nth-child(12) {
        display: none;
    }
}

/*--//撒金幣--*/
/*--1元--*/
/* .kv_money{
        position: absolute;
        top: 26%;
        left: 51.041666%;
        width: 44.270833%;
        height: 48%;
    } */
.ball-box {
    position: absolute;
    right: 7.9%;
    bottom: 0%;
    width: 24.470588%;
}

.ball-box .ball {
    animation: bounce 0.6s ease-out alternate-reverse infinite;

}

/* 彈跳 */
@keyframes bounce {
    0% {
        transform: translateY(0vh);
    }

    100% {
        transform: translateY(-3.5vh);
    }
}

/* //彈跳 */
.shadow {
    position: absolute;
    width: 60%;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    left: 22%;
    bottom: -0.2vh;
    z-index: -1;
    filter: blur(1.5px);
    animation: shadow 0.6s ease-out alternate-reverse infinite;
}

/* 陰影 */
@keyframes shadow {
    0% {
        transform: scale(0.15, 1.25);
        background-color: rgba(0, 0, 0, 0.4);
    }

    100% {
        transform: scale(1.25, 0.75);
        background-color: rgba(0, 0, 0, 0.2);
    }
}

/* //陰影 */
@media (max-width:768px) {

    /* .kv_money {
            top: 1%;
            left: 8%;
            width: 85%;
        }  */
    .ball-box {
        bottom: 17%;
    }
}

@media (max-width:576px) {

    /* .kv_money {
            top: 10%;
            left: 12%;
            width: 83%;
            z-index: 2;
        }  */
    .ball-box {
        bottom: 23%;
    }

    /* 彈跳 */
    @keyframes bounce {
        0% {
            transform: translateY(0vh);
        }

        100% {
            transform: translateY(-1.5vh);
        }
    }

    /* //彈跳 */
    .shadow {
        width: 60%;
        height: 3px;
    }
}

/*--//1元--*/
.bgColor {
    background-color: #d0e8f7;
    /* background-image: linear-gradient(to top, #eee4ec, #fff); */
}

.bgColor_Pink {
    background-color: #F2CEE3;
}

.bg_01 {
    background-image: url(../images/bg_01.png);
    height: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    background-position: center;
}

.bg_02 {
    background-color: #fad4b1;
    background-image: url(../images/bg_02.png);
    padding-top: 100px;
    background-position: center top;
    background-repeat: no-repeat;
}

.bg_03 {
    background-color: #F7F6E7;
    background-image: url(../images/bg_03.png);
    padding-top: 100px;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.bg_04 {
    /* padding-top: 100px; */
    background-color: #fad4b1;
}

.bg_05 {
    background-color: #d0e8f7;
    background-image: url(../images/bg_05.png);
    background-repeat: no-repeat;
    padding-top: 100px;
    background-attachment: fixed;
}

.bg_06 {
    /* background-color: #cee4ef; */
    /* background-image: url(../images/bg_06.png); */
    padding-top: 100px;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;

    background-size: contain;
}

.bg_07 {
    background-color: #eeeeee;
    background-image: url(../images/bg_07.png);
    padding-top: 100px;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.bg_08 {
    background-color: #d8ecf8;
    background-image: url(../images/bg_06.png);
    padding-top: 100px;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bg_money {
    background-color: #fffae0;
    background-image: url(../images/bg_money-a.jpg);
    padding-top: 100px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* img.bg_kazari{
        z-index: 2;
        position: absolute;
        margin-top: -6px;

        margin-top: -36px;
        width: 100%;
    } */
img.bg_faq {
    z-index: 0;
    position: absolute;
    margin-top: -50px;
    width: 100%;
}

#GiftCardD .mainArea {
    padding-top: 200px;
}

@media screen and (max-width: 1400px) {
    body {
        /* padding-top: 60px; */
    }
}

@media screen and (max-width: 992px) {}

@media screen and (max-width: 576px) {
    .bg_01 {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .bg_02 {
        background-image: url(../images/bg_02_m.png);
    }

    .bg_03 {
        padding-top: 0px;
        background-image: url(../images/bg_03_m.png);
    }

    .bg_04 {
        padding-top: 50px;
    }

    .bg_05 {
        padding-top: 0px;
        background-image: url();
    }

    .bg_06,
    .bg_08 {
        padding-top: 0px;
        padding-bottom: 30px !important;
        background-image: url(../images/bg_06_m.png);
    }

    /* img.bg_kazari{
            margin-top: -2px;
        } */
    #GiftCardD .mainArea {
        padding-top: 120px;
    }
}

hr {
    border-top: 1px solid #afafaf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
}

h5 {
    font-size: 14px;
    margin-top: 15px;
    color: rgb(138, 138, 138);
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #434343;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}

a:hover,
a:active,
a:focus,
a:visited {
    /* color: #434343; */
    outline: none;
    text-decoration: none;
}

img,
object,
embed,
video {
    max-width: 100%;
}

.red_text {
    color: #ff0000;
}

.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 {
    position: relative;
    /* background: #48232b;
        color: #ffffff;
        border: none !important;
        border: 0px solid #414141 !important; */
    margin-bottom: 0px;
    /* border-radius: 26px; */
    transition: 1s;

    --bs-btn-color: #fff;
    --bs-btn-bg: #17A2B8;
    --bs-btn-border-color: #17A2B8;
    --bs-btn-hover-bg: #1bbbbb;
    --bs-btn-hover-border-color: #1bbbbb;
    --bs-btn-focus-shadow-rgb: 0, 0, 0;
}

/* .btn.btn-primary:hover {
        color: #ffffff !important;
        border: 0px solid #929292 !important;
        background-color: #7a4853 !important;
    } */

/* .btn.btn-primary:focus {
        color: #ffffff !important;
        border: 0px solid #929292 !important;
        background-color: #7a4853 !important;
    } */

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/****************** 導覽列 navbar ******************/

.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    z-index: 5;
}

.navbar-brand {
    padding-right: 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;
}

@media screen and (max-width: 768px) {
    .navbar-light .navbar-toggler {}
}

.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);
    /* color: #009999;
        margin-left: 15px;
        margin-top: 10px; */
}

@media screen and (max-width: 992px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 16px;
        margin-left: 2px;
        margin-top: 0px;
    }
}

@media screen and (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        padding-left: 20px;
    }
}

.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;

    }
}


/****************** 版面 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 ---*/

h1 {
    font-size: 32pt;
    font-weight: bold;
    color: #A065AA;
    letter-spacing: 30px;
    text-align: center;
}

@media screen and (max-width: 576px) {
    h1 {
        letter-spacing: 0px;
    }
}

@media screen and (max-width: 379px) {
    h1 {
        font-size: 30pt;
    }
}


.mainArea {
    padding-top: 100px;
    padding-bottom: 50px;
}

.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: 50px;
        /* padding-bottom: 30px; */
    }
}


.headline h3 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.8em;
    letter-spacing: 5px;
    color: #8e4882;
}

@media screen and (max-width: 992px) {
    .mainArea h3 {
        /* 活動主標 */
        font-size: 18pt;
    }
}

@media screen and (max-width: 576px) {
    .mainArea h3 {
        /* 活動主標 */
        font-size: 15pt;
        line-height: 32px;
    }
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    color: #666;
    line-height: 1.5;
    font-size: 1.2rem;
    margin-top: 16px;
    /* [disabled]text-align: center; */
    padding-left: 0px;
    -webkit-box-shadow: 0px 0px 0px;
    box-shadow: 0px 0px 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    text-align: center;
}

.mainArea h3.dateC {
    /* 活動起訖日+對象 */
    text-align: left;
    padding-left: 80px;
}

@media screen and (max-width: 576px) {
    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1.2rem;
        /* [disabled]text-align: center; */
        padding-left: 0px;
        margin-top: 0px;
    }

    .mainArea h3.dateC {
        text-align: center;
        padding-left: 0px;
    }
}

/* --------h4 */

.mainArea h4 {
    /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 18pt;
    line-height: 28pt;
    padding-top: 0px;
    /* [disabled]padding-bottom: 3px; */
    text-align: center;
    /* [disabled]margin-top: 10px; */
    margin-left: 20px;
    margin-right: 20px;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 0px;
}

@media screen and (max-width: 576px) {
    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.4;
        /* text-align: left; */
        margin-left: auto;
        margin-right: auto;
        /* [disabled]margin-top: 20px; */
        /* [disabled]margin-bottom: 20px; */
    }
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2E2E2E;
    font-size: 16pt;
    line-height: 1.8;
    /* padding-left: 20px; */
    /* padding-right: 20px; */
    padding: 40px 0px;
    text-align: left;
}

@media screen and (max-width: 992px) {
    .mainArea h5 {
        padding-top: 0px;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    .mainArea h5 {
        font-size: 14pt;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 40px;
    }
}

@media screen and (max-width: 767px) {
    .mainArea h5 {
        font-size: 16px;
        margin-bottom: 0;
        padding-right: 20px;
        padding-left: 20px;
        text-align: center;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .mainArea h5 {
        text-align: center;
        padding-bottom: 20px;
    }
}

#headingOne1 h5 {
    font-size: 20px;
    font-weight: bold;
}

/*
--- 活動內文區塊 mainText ---*/
.reward {
    color: #F43760;
    font-weight: 800;
    font-size: 150%;
}

.reward_big {
    color: #F43760;
    font-weight: 800;
    font-size: 230%;
}

/*
--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
    /* font-size: medium; */
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #a1bbbd;
    border: 1px solid #cc9e74;
    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;
    }

    .nav.nav-tabs .nav-item a {
        font-size: 20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .nav.nav-tabs .nav-item a.active {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .nav.nav-tabs .nav-item a.active:hover {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mainArea h2 {
        /* 活動主標 */
        font-size: 20pt;
        min-width: 150px;
        /* padding-top: 0px; */
        /* padding-bottom: 0px; */
    }

    .mainText2 {
        margin-top: 25px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .memoTable {
        font-size: 14px;
    }
}

/*
--- 注意事項表格 exTable ---*/
.rfont {
    color: #ff0000;
}

#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;
}

/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

/*
--- 版權宣告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;
    }

    .phoneBottom {
        padding-bottom: 171px !important;
    }
}

@media (max-width:480px) {
    .nav.nav-tabs .nav-item a {
        font-size: 20px;
    }
}

@media (max-width:768px) {
    .mainArea h3.date {
        font-size: 18px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .mainArea h3.dateC {
        /* font-size: 1.2rem; */
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width:576px) {
    .fontcolor {
        /* [disabled]color: #e72d48; */
        font-weight: bold;
        font-size: 18pt;
    }

    .redpoint {
        font-size: 15pt;
    }

    .mainArea h2.title {
        line-height: 24pt;
        margin-bottom: 0px;
    }
}

/* 圖片位置 */

.imgS {
    object-fit: cover;
    object-position: 15% 100%;
    border-radius: 50%;
    height: 150px;
}

@media screen and (max-width: 1200px) {
    .imgS {
        height: 130px;
    }
}

@media screen and (max-width: 767px) {
    .imgS {
        object-position: 50% 75%;
        border-radius: 20px;
        width: 400px;
        height: 200px;
    }
}

/*-------------------------------------------*/

a#btn-nav-apply {
    display: inline-block;
    position: relative;
    right: 0;
    top: 0;
    margin-right: 10px;
    margin-top: 11px;
    padding: 4px 15px;
    background-color: #00859a;
    border-radius: 8px;
    font-size: 0;
}

a#btn-nav-apply span {
    color: white;
    font-size: 17px;
}

a#btn-nav-apply.with-hover:hover {
    text-decoration: none;
    background-color: #16a7be;
}

a#btn-nav-apply.with-hover:hover span {
    color: #feffff;
}

@media screen and (max-width: 768px) {
    a#btn-nav-apply {
        margin-right: 60px;
    }
}

/*-------------------------------------------*/
@media (min-width: 768px) and (max-width: 992px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 0.32rem;
        padding-left: 0.32rem;
    }
}

/*---------
top button for PC---------*/

.nav-itemA {
    color: #000;
    background: transparent;
    /* border-left: 1px solid #ccc; */
    transition: all 0.5s ease;
    height: 72px;
    padding: 15px;
    padding-top: 20px;
    margin-bottom: 0;
    transition: all 0.5s ease;
}

.nav-itemA a {
    color: #333;
}

@media screen and (max-width: 992px) {
    .nav-itemA {
        padding: 15px 20px;
        line-height: 1.2;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .nav-itemA {
        padding-top: 5px;
        height: 42px;
        /* width: 60px; */
    }
}

.nav-link {
    margin-left: 10px;
    margin-right: 10px;
}

/*---------
bottom button for phone---------*/

.container-fluid {
    position: relative;
    list-style-type: none;
}

@media screen and (max-width: 768px) {
    .container-fluid {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .container-fluid {
        /* justify-content: space-between; */
    }
}

/*Scroll To Top Button*/

#myBtn {
    display: none;
    position: fixed;
    bottom: 130px;
    right: 45px;
    z-index: 99;
    font-size: 15px;
    border: none;
    outline: none;
    background-color: #6d2a2a;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 100%;
    text-transform: uppercase;
}

#myBtn:hover {
    background-color: #7e4747;
}

/* 右側button 立即申請*/

#applyBtn {
    color: #FFFFFF;
    display: inline;
    position: fixed;
    top: 50%;
    /*bottom: 0px;*/    
    right: 0%;
    text-align: center;
    z-index: 9;
    /* background-color: #6d2a2a; */
    background-color: #17A2B8;
    
    /* letter-spacing: 3px; */
    /* text-orientation: upright; */
    margin: 0 auto;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    border-radius: 15px 0 0 15px;
    overflow: hidden;
}

#applyBtn a {
    color: #fff;
    padding: 12px 10px;
    display: inline-block;
}

/* #applyBtn a+a {
        border-top: 1px solid #1bbbbb;
    } */
#applyBtn a:nth-of-type(2) {
    background-color: #ff983b !important;
}

.dropleft .dropdown-menu {
    margin-top: -1.1rem;
}

.dropdown-menu1.show {
    transform: translate3d(-160px, 16px, 0px) !important;
}

#applyBtn .dropdown-menu a {
    padding: 5px 10px;
}

.dropdown-menu .dropdown-item {
    color: #333333 !important;
    text-align: center;
}

@media screen and (max-width: 768px) {
    #applyBtn {
        -webkit-writing-mode: vertical-lr;
        writing-mode: vertical-lr;
        font-size: 15px;
        /* display: none; */
    }

    #applyBtn a {
        padding: 12px 8px;
        letter-spacing: 2px;
    }

    .dropleft .dropdown-menu {
        margin-top: -0.8rem;
    }

    .dropdown-menu1.show {
        transform: translate3d(-160px, 12px, 0px) !important;
        display: flex;
    }

    .dropdown-menu {
        min-width: 10rem;


    }

    .dropdown-item {
        padding: 0.25rem 0.25rem;
        width: auto;
    }

    .dropdown-menu .dropdown-item {
        -webkit-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
    }

}

#applyBtn a:hover,
#applyBtn a:active,
#applyBtn a:focus,
#applyBtn a:visited {
    color: #FFFFFF;
    outline: none;
    text-decoration: none;
}

#applyBtn a:hover,
#applyBtn a:active,
#applyBtn a:focus,
#applyBtn a:visited {
    color: #FFFFFF;
    outline: none;
    text-decoration: none;
    background: #1bbbbb;
    text-decoration: none;
}

/* -- Top 序文 -- */

h5.modal-title {
    line-height: 1.5;
    padding: 0;
}

.modal-headerS {
    background-color: #009dad;
    border-bottom: 0px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-headerS1 {
    padding-left: 1.5rem;
}

.close {
    font-size: 2rem;
    color: #fff;
    border: none;
    background-color: #fff;
    opacity: .5;
}

.close:not(:disabled):not(.disabled):hover {
    opacity: .75;
}

.modal-header1 {
    padding-top: 0;
}

/*--- mainAct ---*/

.mainAct {
    padding-top: 34px;
    padding-bottom: 30px;
}

.mainAct a:hover {
    text-decoration: none;
}

.mainAct .list-group {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 30px;
}

.mainAct .list-group-item {
    color: #414141;
    border: 0;
    font-weight: 600;
    border-radius: 30px;
    text-align: center;
    margin-right: 10px;
    margin-left: 10px;
    padding: 0px 20px;
}

.mainAct .list-group-item.active {
    background-color: #414141;
    border-color: #414141;
    color: #FFFFFF;
}

.mainAct .list-group-item span {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 1.3rem;
}

@media screen and (max-width: 560px) {
    .mainAct .list-group-item {
        margin: 10px 3px -2px;
        padding: .20rem .4rem;
    }

    .mainAct .list-group-item+.list-group-item.active {
        margin: 10px 3px -2px;
    }
}

/* 圖片切換 lg/sm */

.img-lg {
    display: block;
}

.img-sm {
    display: none;
}

@media screen and (max-width: 768px) {
    .mainAct .list-group {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 560px) {
    .mainAct {
        margin-bottom: 0;
    }

    /* 圖片切換 lg/sm */
    .img-lg {
        display: none;
    }

    .img-sm {
        display: block;
    }
}


.modal-content {
    border-radius: 1rem;
}

.modal-headerS {
    border-top-left-radius: calc(1rem - 1px);
    border-top-right-radius: calc(1rem - 1px);
}


/*-----------------大區塊間距--------------------------*/

.fh5co-Card {
    padding-top: 3em;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 2em;
}


@media screen and (max-width: 480px) {
    .fh5co-Card {
        padding: 40px 0px 80px;
    }
}

/*---------------------------附加權益---------------------------------*/
.addBox {
    padding: 15px;
}

.addBox .iconPC {
    display: block;
    text-align: center;
    margin: auto;
}

.addBox h3 {
    color: #A065AA;
    font-size: 26px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.section-heading {
    /*float: left;*/
    width: 100%;
    clear: both;
}

.section-heading h2 {
    font-size: 40px;
    font-weight: 300;
    color: #444;
    position: relative;
    display: block;
    padding-bottom: 0px;
    line-height: 1.5;
    font-family: "微軟正黑體", Arial, sans-serif;
}

.section-heading h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 80px;
    height: 2px;
    background: #009999;
    left: 50%;
    margin-left: -40px;
    bottom: 0;
    display: none;
}

.section-heading h3 {
    font-weight: 300;
    line-height: 1.5;
    color: #929292;
    margin: 0;
}

.section-heading h4 small {
    font-size: 20px;
    font-weight: 400;
}

@media screen and (max-width: 768px) {
    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading h3 {
        font-size: 24px !important;
        line-height: 34px;
    }
}

.headline h3 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.8em;
    letter-spacing: 5px;
    color: #343434;
}

.headline p {
    font-size: 34px;
    line-height: 1.5em;
    color: #707070;
}

@media screen and (max-width: 768px) {
    .headline h3 {
        font-size: 36px !important;
    }

    .headline p {
        font-size: 24px;
        line-height: 1.5em;
        color: #707070;
    }
}

.center_001 {
    margin-top: 20px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.center_001_txt {
    width: 370px;
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #595656;
    display: block;
    line-height: 1.8;
    text-align: justify;
    text-align: left;
    margin: auto;
}

@media (max-width: 576px) {
    .center_001_txt {
        width: 308px;
        font-size: 15px;
        font-weight: 600;
    }

    .addBox h3 {
        text-align: left;
    }
}

.center_001_txt a {
    color: #595656;
}

.text001 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 40px;
    line-height: 1.8;
}

.text002 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 30px;
    line-height: 1.8;
}

.text003 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.6;
}

.text004 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.6;
}

.text005 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

.text006 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.text007 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

.text008 {
    font-family: "微軟正黑體", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .text001 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 36px;
        line-height: 1.8;
    }

    .text002 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 26px;
        line-height: 1.8;
    }

    .text003 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 22px;
        line-height: 1.6;
    }

    .text004 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 20px;
        line-height: 1.6;
    }

    .text005 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.6;
    }

    .text006 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 14px;
        line-height: 1.6;
    }

    .text007 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 11px;
        line-height: 1.6;
    }

    .text008 {
        font-family: "微軟正黑體", Arial, sans-serif;
        font-size: 12px;
        line-height: 1.6;
    }

    .block3-p {
        color: #595757;
        font-size: 17px;
        margin-bottom: 0;
    }
}

/*---------產品特色-----------*/
.product_feature {
    padding-top: 5rem;
    padding-bottom: 2rem;
    /* padding-bottom: 1rem; */
}

.product_feature h2 {
    display: inline-block;
    color: #ffffff;
    background-color: #664e56cc;
    /*80%*/
    background-color: #7e4747;
    font-size: 32pt;
    padding: 5px 30px;
    font-weight: 600;
    border-radius: 30px;
    position: relative;
}

.product_feature .product_date {
    font-size: 20px;
    font-weight: 400;
}

/* .product_feature h2:before {
        content: "";
        position: absolute;
        background-image: url(../images/person_01.png);
        background-repeat: no-repeat;        
        width: 150px;
        height: 150px;
        left: -33%;
        top: -23px;
    } */
.product_box {
    display: flex;
    flex-direction: row;
    overflow: hidden;

    /* margin-top: -2rem;
    margin-bottom: 2rem; */
}

.product_box .product_item {
    display: flex;
    position: relative;
    width: 33.333%;    
    padding: 15px 10px 0;
    text-align: center;
    transition: .5s;
    background-color: #fff;

    border: 3px solid #9ccd58;
    border-radius: 1rem;
    margin: 0 6px 15px;
}

.product_box .product_item>img {
    width: 100%;
    max-width: 190px;
}

.product_box .product_item h3 {
    flex-grow: 1;
    font-size: 26px;
    line-height: 1.5em;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.product_box .product_item h4 {
    color: #4d0f09;
    font-size: 19px;
    text-align: center;
    line-height: 1.7em;
    font-weight: 600;
}

.product_box .product_item h4 span {
    color: #ef400a;
}


@media screen and (max-width: 1199px) {
    .product_box .product_item>img {
        width: 100%;
        max-width: 150px;
    }
}
@media screen and (max-width: 991px) {
    .product_box .product_item {
        flex-direction: column;
    }
    .product_box .product_item>img {
        margin: 10px auto;
    }
    .product_box .product_item h3 {
        margin-top: 0;
    }
}
@media screen and (max-width: 768px) {
    .product_box {
        display: flex;
        flex-direction: column;
    }

    .product_box .product_item {
        flex-direction: row;
        width: 95%;
        padding: 20px 15px 0;
        text-align: center;
    }
    .product_box .product_item>img {
        margin: 0;
        max-width: 160px;
    }
    .product_box .product_item h3 {
        margin-top: 25px;
    }

}


/*---------//產品特色------------*/

/*---------產品3特點------------*/
.product_point {
    padding-top: 6rem;
    padding-bottom: 5rem;
}
.product_box {}
.product_point .product_box .product_item {
    padding: 20px 10px;
    box-shadow:rgba(0, 0, 0, 0.4) 0px 2px 2px;
}
.product_point .product_box .product_item h3 {     
    margin: 10px auto;
}
@media screen and (max-width: 991px) {
    .product_point .product_box .product_item h3 {        
        font-size: 22px;
    }
}

/*---------//產品3特點------------*/

/* 試算 */
.product_calc h2 {
    display: inline-block;
    color: #ffffff;
    background-color: #7e4747;
    /* background-color: #f6ba48; */
    font-size: 32pt;
    padding: 5px 30px;
    font-weight: 600;
    border-radius: 30px;
    position: relative;
}

.product_calc table th {
    /* font-size: 20px; */
    color: #ffffff;
    background-color: #1bbbbb;
    background-color: #ffb068;
}

.product_calc table tr>td:first-of-type {
    background-color: #effdfd;
    background-color: #fff4e9;
    font-weight: 600;
}

/*----------------彈出視窗-------------------*/

.modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.8em;
    letter-spacing: 5px;
    color: #009999;
}

.modal-content button:focus {
    outline: none;
}

.modal-dialog {
    max-width: 900px;
    margin: 1.75rem auto;
}



@media screen and (max-width: 768px) {
    .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}

.modal-body h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 3px;
    color: #363636;
}

.modal-body .modal_text {
    font-size: 20px;
    line-height: 2;
    letter-spacing: 3px;
    color: #2E2E2E;
}

.modal-body .modal_text_grey {
    font-size: 18px;
    font-weight: 600;
    color: #434343;
    margin-top: 20px;
    line-height: 1.2;
    text-indent: -16px;
    padding-left: 18px;
}

.modal-body .modal_text_grey span {
    font-size: 13px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .modal-body h4 {
        font-size: 20px;
        letter-spacing: 0px;
    }

    .modal-body .modal_text {
        font-size: 17px;
        letter-spacing: 0px;
    }
}

.logo a {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    width: 200px;
    height: 120px;
    padding: 10px;
    box-shadow: 0px 5px 5px 0px rgb(132 128 128 / 30%);
    margin: 20px;
    background: #fff;
    display: inline-block;
}

.logo a:hover {
    transition: 0.5s;
    box-shadow: 0px 1px 30px 0px rgb(132 128 128 / 70%);
}

@media screen and (max-width: 576px) {
    .logo a {
        width: 120px;
        height: 75px;
        padding: 5px 0px 0px 0px;
        box-shadow: 0px 5px 5px 0px rgb(132 128 128 / 30%);
        margin: 10px 3px;
    }

}


/* 分頁 */
.newNav {
    justify-content: center;
    margin-top: 30px;
}

.newNav.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: #414141;
    border: 0;
}

.newNav .nav-link {
    width: 170px;
    color: #414141;
    border: 0;
    font-weight: 600;
    border-radius: 30px;
    background-color: #F0F0F0;
}

.newTab .tab-pane {
    text-align: center;
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 35px;
    border-radius: 20px;
}

.newTab img {
    margin: auto;
}

@media screen and (max-width: 576px) {
    .newNav .nav-link {
        margin-right: 0;
        margin-left: 0;
    }
}

/* 好友推薦 */
.friendBox {
    max-width: 950px;
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #F7F6E7;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.friendBox .pic {
    padding: 0px 35px;
}

.friendBox .ctn {
    padding: 20px 35px;
    text-align-last: left;
}

@media screen and (max-width: 992px) {
    .friendBox {
        flex-wrap: wrap;
    }
}

/* 打造未來 */
.super_loan {
    overflow: hidden;
}

.super_loan h2 {
    display: inline-block;
    color: #ffffff;
    background-color: #664e56cc;
    /*80%*/
    font-size: 32pt;
    padding: 5px 30px;
    font-weight: 600;
    border-radius: 30px;
    margin-left: -12px;
    margin-right: -12px;
    position: relative;
}

.super_loan_Box p {
    font-size: 26px;
    line-height: 1.5em;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
    text-indent: -0.79em;
    padding-left: 0.8em;
}

@media screen and (max-width: 576px) {

    .super_loan h2 {
        font-size: 20pt;
    }

    /* .product_feature h2:before {           
        background-image: none;  
        width: 0px;
        height: 0px;             
    } */
}

/* 免費專人諮詢 */
.free h2 {
    display: inline-block;
    color: #ffffff;
    background-color: #7e4747;
    font-size: 32pt;
    padding: 5px 30px;
    font-weight: 600;
    border-radius: 30px;
    position: relative;
}

.free h2:before {
    content: "";
    position: absolute;
    background-image: url(../images/person_02.png);
    background-repeat: no-repeat;
    width: 150px;
    height: 266px;
    left: 110%;
    top: 25px;
}

.free h2:after {
    position: absolute;
    content: "►";
    color: #7e4747;
    left: 93.2%;
    top: 22px;
    transform: rotate(47deg)
}

.fee_Box p {
    font-size: 28px;
    line-height: 1.8em;
    color: #542626;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
    /* padding-left: 30px; */
}

.fee_Box .fee_text {
    font-size: 24px;
    line-height: 1.8em;
    color: #000000;
    font-weight: 600;
    /* padding-left: 30px; */
}

.fee_Box .blue_text {
    color: #009999;
}

.fee_Box .fee_text a {
    color: #000;
}

@media screen and (max-width: 1200px) {
    .free h2:before {
        left: 120%;
        top: 20px;
    }
}

@media screen and (max-width: 992px) {
    .free h2:before {
        content: "";
        position: absolute;
        background-image: none;
        background-repeat: no-repeat;
        width: 0px;
        height: 0px;
        left: 0%;
        top: 0px;
    }

    .free h2:after {
        position: absolute;
        content: "";
        color: #7e4747;
        left: 95.2%;
        top: 31px;
        transform: rotate(47deg)
    }
}

@media screen and (max-width: 576px) {

    .free h2 {
        font-size: 20pt;
    }


    .fee_Box p {
        font-size: 26px;
        padding-left: 0px;
    }

    .fee_Box .fee_text {
        font-size: 22px;
        padding-left: 0px;
    }
}

/*--四步驟--*/
.steps {
    /* padding-top: 50px;     */
}

.steps h2 {
    display: inline-block;
    color: #ffffff;
    background-color: #f6ba48;
    font-size: 32pt;
    padding: 5px 30px;
    font-weight: 600;
    border-radius: 30px;
    position: relative;
}

.steps img {
    display: block;
    max-width: 100%;
    height: auto;
    padding: 30px 20px 10px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    transition: .5s;
}

.steps img:hover {
    margin-top: -35px;
}

.steps h5 {
    font-size: 15px;
    color: #9d443b;
    text-align: left;
    text-indent: -11px;
    line-height: 20pt;
    padding-left: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    letter-spacing: 0px;
}

.steps h5 span {
    color: #9d443b;
    line-height: 1.4;

}

@media screen and (max-width: 576px) {
    .steps {
        padding-top: 70px;
    }

    .steps h2 {
        font-size: 20pt;
    }

    .mainArea .steps h4 {
        line-height: 3.2;
    }

    .steps img {
        max-width: 80%;
        height: auto;
        padding: 20px 20px 0px;
        margin-left: auto;
        margin-right: auto;
    }

    .steps img:hover {
        margin-top: 0px;
    }
}

/*--信貸知識--*/
/* 免費專人諮詢 */
.faq {
    padding-top: 5em;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 2em;
    overflow: hidden;
}


@media screen and (max-width: 480px) {
    .faq {
        padding: 40px 0px 80px;
    }
}

.faq h2 {
    display: inline-block;
    color: #ffffff;
    /* background-color: var(--ub-light-green); */
    /* background-color: #7e4747; */
    background-color: #f6ba48;
    font-size: 32pt;
    padding: 5px 40px;
    font-weight: 600;
    border-radius: 30px;
    position: relative;
}

.faq h2:before {
    content: "";
    position: absolute;
    background: url(../images/person_teacher2.png) no-repeat;
    background-size: contain;
    width: 200px;
    height: 247px;
    left: 97%;
    top: -58px;
}

@media screen and (max-width: 576px) {
    .faq h2 {
        font-size: 20pt;
    }

    .faq h2:before {
        background-image: none;
        width: 0px;
        height: 0px;

    }
}

/* 
    --- navbar -------------------------------*/

/* Navbar links */
#navbar {
    /* background-color: #ede2e8; */
    background-color: #fff8d1;
    position: relative;
    z-index: 5;
    /* margin-top: -5px; */
    -webkit-box-shadow: 0 -10px 10px rgba(30, 25, 0, 0.1);
    box-shadow: 0 -10px 10px rgba(30, 25, 0, 0.1);
}


/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */

@media screen and (max-width: 991px) {
    #navbar a {
        font-size: 1rem;
    }

    #navbar a::before {
        top: 10px;
        width: 40px;
    }

    #navbar a:hover:before {
        top: 10px;
    }

    #navbar .navbar {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    #navbar a {
        font-size: 14px;
        flex-wrap: wrap;
        align-items: center;
        /* padding-top: 0; */
        padding-left: 0;
        line-height: 1.2;
        margin-left: 10px;
        margin-right: 10px;
    }

    #navbar a::before {
        top: 3px;
        left: 50%;
        opacity: 1;
        transform: translateX(-50%);
    }

    #navbar a:hover:before {
        top: 5px;
        left: 50%;
        transform: translateX(-50%);
    }

    #navbar.sticky {
        margin-bottom: 0;
        background-color: rgba(255, 255, 255, 0.9);
        -webkit-box-shadow: 3px 0 3px rgba(0, 0, 0, 0.1);
        box-shadow: 3px 0 3px rgba(0, 0, 0, 0.1);
        -webkit-animation: slideUp 1s;
        animation: slideUp 1s;
    }

    .sticky {
        top: auto;
        bottom: 0;
    }

    #navbar.sticky .dropdown-menu-here {
        top: -100px;
    }

    #navbar.sticky .dropdown-menu {
        box-shadow: 0;
        background-color: rgba(255, 255, 255, 1);
    }
}

#navbar .McardMainBtn {
    display: flex;
}

#navbar .McardMainBtn a {
    margin-right: 0;
    margin-left: 0;
}

#navbar .applyBtnMain {
    margin-top: 10px;
    margin-bottom: 10px;
}

#navbar .applyBtnMain a {
    border: 2px solid #414141;
    border-radius: 25px;
    background-color: transparent;
    padding-right: 15px;
    padding-left: 15px;
}

#navbar .applyBtnMain a:hover {
    transform: none;
}

#navbar .applyBtnMain a.dropdown-item {
    border: 0px;
    padding-right: 13px;
    padding-left: 0;
    font-size: 16px;
    letter-spacing: 0;
}

.purchaseIcon {
    height: 85%;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu-here {
    right: 0;
    left: auto;
}

.moreBtm {
    height: 100%;
    display: inline-block;
    padding-top: 11px;
}

@media screen and (max-width: 992px) {
    #navbar .applyBtnMain {
        margin: 15px auto 15px;
    }

    #navbar .applyBtnMain a {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 16px;
    }

    .dropdown-menu-here {
        right: -15px;
        left: auto;
    }

    .moreBtm {
        padding-top: 7px;
    }
}

@media screen and (max-width: 768px) {
    .moreBtm {
        padding-top: 3px;
    }
}

@media screen and (max-width: 576px) {
    #navbar {
        margin-top: 0px;
    }

    #navbar .navbar {
        justify-content: center;
    }

    .purchaseIcon {
        height: auto;
    }
}

/* 與我聯絡 */
.main-contact {
    padding: 3em 0 0;
    background: url(../images/bg.jpg) no-repeat center right,#e9f9f8;
    background-size: cover;
}

.text-shadow-wh {
    text-shadow: 0px 0px 5px #ffffffe6;
}

.fee_Box {
    text-align: center;
    margin-top: 70px;
}

.fee_Box p {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.8em;
    color: #542626;
    margin-top: 20px;
    margin-bottom: 10px;
}

.fee-btn {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff !important;
    border: 2px solid #fff;
    background: var(--ub-light-green);
    border-radius: 50em;
    padding: 5px 30px;
    margin: 0 auto;
}

.fee-btn:hover {
    background: var(--ub-green);
}

.fee_img {}

.fee_Box .fee_text {
    font-size: 24px;
    line-height: 1.8em;
    color: #000000;
    font-weight: 600;
    padding-top: 30px;
}

.fee_Box .blue_text {
    color: #009999;
}

@media screen and (max-width: 1199px) {
    .fee_Box {
        margin-top: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-bg {
        padding: 1em 0;
    }
}

@media screen and (max-width: 768px) {
    .contact-bg {
        padding: 2em 0 0;
    }

    .fee_Box {
        margin: 0 auto;
        width: 90%;
        margin-top: -10px;
    }
}

.title_a {
    font-size: 40px;
    color: #636363;
    text-align: center;
    display: block;
    line-height: 60px;
    padding-bottom: 30px;
    font-weight: bold;
}
/* //與我聯絡 */

.bignumber {
    font-size: 42px;
}

.textRed {
    color: #f13a00;
    font-weight: bold;
    margin-left: 3px;
    margin-right: 3px;
}

.bg-point {
    background: url(../images/bg_a.png) no-repeat center bottom;
    background-size: cover;
}
.bg-desk {
    background: url(../images/bg_desk.png) no-repeat top center,
    url(../images/bg_desk2.jpg) no-repeat center center fixed,#efefef;
    background-size: cover;
}
@media screen and (max-width: 768px) {
    .bg-point {
        background: url(../images/bg_a.png) no-repeat center top;
        background-size: contain;
    }
    .bg-desk {
        background: url(../images/bg_desk.png) no-repeat top center,
        url(../images/bg_desk2-m.jpg) no-repeat center center,#efefef;
    background-size: contain;

    }
}