@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 #aaaaaa;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #313131;
    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%;
    margin: 0 auto;
}

.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: 1px solid transparent !important;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}

/*
--- 切換裝置顯示項目 ---*/
#banner_pc {
    display: block;
}

#banner_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #banner_pc {
        display: none;
    }

    #banner_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;
        /* 60 only*/
    }
}

@media screen and (max-width: 576px) {
    .navbar .navbar-brand {
        margin-right: 50px;
        margin-left: 15px;
    }
}

/****************** 輪播 carousel  ******************/
.carousel-indicators li {
    width: 10px;
    height: 10px;
    opacity: .8;
    border-radius: 50px;
    border: 1px solid #dedede;
    background-color: #bbbbbb;
}

.carousel-indicators .active {
    background-color: #009999;
}

/*
--- 主視覺 ---*/
.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 {
    background: linear-gradient(to bottom, #ffffff, #f6f2ec);
    padding: 40px 0 20px;
}


/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
    text-align: center;
}

.mainText2 {
    text-align: center;
    margin-top: 2rem;
}

.mainText1 h2 {
    text-align: center;
}

.mainText1 .title,
.mainText2 .title {
    display: inline-block;
    /* border-bottom: 3px solid #f06f00; */
    padding-bottom: 8px;
    padding-top: 20px;
    font-size: 32px;
    font-weight: 550;
    letter-spacing: 1px;
    line-height: 2rem;
}

.mainText1 h3,
.mainText2 h3 {
    padding-top: 20px;
    font-size: clamp(16px, 2vw, 22px);
    line-height: 2rem;
    text-align: center;
    font-weight: 550;
}

.mainText1 h4,
.mainText2 h4 {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: clamp(18px, 4vw, 26px);
    font-weight: 600;
    margin: 2rem 0;
}

.mainText1 h4::before,
.mainText1 h4::after,
.mainText2 h4::before,
.mainText2 h4::after  {
    content: "";
    width: 0.35em;
    height: 0.35em;
    background-color: #f25a00;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}


@media screen and (max-width: 576px) {
    .mainArea {
        padding: 20px 0 20px;
    }

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .mainText1 {
        font-size: 22px;
        color: #545559;
        padding: 2px 10px;
        text-align: center;
        font-weight: 600;
        line-height: 50px;
    }

    .mainText1 h3,
    .mainText2 h3 {
        padding-top: 0px;
    }

    .mainText1 h4,
    .mainText2 h4 {
        margin: 0 0 1rem;
    }
}


.reward {
    color: #d96c39;
    margin-right: 2px;
    margin-left: 2px;
    font-size: 24px;
    line-height: 1.2;
}


.reward_d {
    color: #0a2e7a;
}

.reward_Redbig {
    color: #dd2108;
    font-size: 1.4em;
    font-weight: 550;
}

.reward_Rednormal {
    color: #dd2108;
    font-size: 1em;
    font-weight: 600;
}

.circle {
    border-radius: 50px;
    background-image: linear-gradient(135deg, #d96c39 30%, #ffe19e 100%);
    background-color: #d96c39;
    color: #fff;
    font-weight: bold;
    padding: 4px 8px;
    margin: 0 4px;
}

.indent {
    text-indent: -2rem;
}

/* 說明 */
.tueCtn {
    padding-top: 35px;
    margin-left: -15px;
    font-size: 1.8rem;
}

@media only screen and (max-width: 576px) {
    .tueCtn {
        padding-top: 20px;
        margin-left: 0px;
        font-size: 1.2rem;
    }
}

.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}

.monthBox {
    border: 1px solid #bda7a1;
    padding: 40px;
    margin-bottom: 25px;
    margin-top: 20px;
    line-height: 45px;
    border-radius: 15px;
}

.monthCtn {
    margin-top: 15px;
    font-size: 20px;
}

.comboBox {
    display: flex;
    justify-content: center;
    align-content: center;
    background-color: #fff;
    /* border: 1px salmon solid; */
    border-radius: 15px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
    padding: 15px;
    width: 100%;
}

.comboBoximg {
    padding: 15px;
}

.comboBoxCtn {
    padding: 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
    width: 100%;
    max-width: 550px;
}

.comboBox .btn.btn-primary {
    margin-top: 10px;
    margin-bottom: 10px;
}

.comboBoxCtn .title {
    font-size: 22px;
    color: #bb101e;
}

.objectArea {
    display: flex;
    justify-content: center;
}

.objectBox {
    border: 1px solid #bda7a1;
    border-radius: 15px;
    width: 100%;
    /* max-width: 250px; */
    margin: 7px;
    padding: 15px 3px;
    font-size: 30px;
    line-height: 30px;
    font-weight: 400;
}

.objectBox img {
    margin-bottom: 10px;
}

.objectBox .title {
    font-size: 20px;
    color: #bb101e;
}

@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;

    }

    .comboBox {
        flex-wrap: wrap;
    }

    .objectArea {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 576px) {
    .comboBoxCtn .title {
        font-size: 22px;
    }

    .objectBox .title {
        font-size: 20px;
    }

}

/*
--- 備註文字 ---*/
.memoTable {
    font-size: 16px;
    text-align: left;
    line-height: 1.6;
    color: rgb(107, 107, 107);
    /* margin: auto; */
    font-weight: 400;
}

.memoTable td {
    vertical-align: top;
}

/*
--- 活動表格 ---*/
.mainArea .table thead th {
    height: 30px;
    background-color: #e38a53;
    color: #fff;
    border-bottom: 5px;
    font-size: clamp(20px, 2vw, 22px);
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 16px;
    border: 1px solid #454545;
    vertical-align: middle;
    background-color: white;
    font-size: clamp(22px, 2vw, 26px);
}


@media screen and (max-width: 576px) {

    .mainArea .table-bordered th,
    .mainArea .table-bordered td {
        padding: 5px;
    }
}


.mainArea .table-bordered {
    text-align: center;
    line-height: 1;
    vertical-align: middle;
    border-width: 1px;
    border-color: #fdffdc;
    padding: 10px;
}

.mainText1 .table {
    font-size: 19px;
    font-weight: 550;
    background-color: rgba(255, 255, 255, 0);

}

.table th,
.table td {
    border-top: 0px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

@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;

    }
}

.memo .vertical {
    vertical-align: sub !important;
}

/* 活動區塊 */
.actBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    padding-right: 25px;
}

@media screen and (max-width: 1200px) {
    .saleBox h4 {
        font-size: 17px;
    }
}

@media screen and (max-width: 576px) {
    .saleBox h4 {
        font-size: 20px;
    }

    .actBox {
        flex-wrap: wrap;
    }
}


/*
--- 注意事項 ---*/
.modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 5px;
    color: #009999;
    padding: 0;
}

.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;
}

.noticeDesc h4 {
    font-size: 1.3rem;
}

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;
}

.bgColor {
    background-color: rgb(255 243 244);
}

.redpink {
    color: #d32f2f;
    font-size: 1.8rem;
    font-weight: 600;
}

.color {
    color: #feffea;
    /* color: #dcf7ff; */
}

.footer-bgc {
    background-color: #f4f4f4;
}

/* #b6e9f9; */
/* dcf7ff */

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

.mainArea .table-bordered .hight {
    line-height: 1 !important;
}