@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;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
    font-weight: 400;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #009999;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

a:hover,
a:active,
a:focus,
a:visited {
    color: #006464;
    outline: none;
    text-decoration: none;
}

img,
object,
embed,
video {
    max-width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: #000;
    opacity: .2;
}

/*
--- 按鈕 btn ---*/
.btn:hover,
.btn:active,
.btn:focus {
    background: #546161 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.btn.btn-primary {
    background: #b08010;
    color: #fff;
    border: none !important;
    border: 2px solid transparent !important;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 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;
    }
}

/*
--- 切換裝置顯示項目 ---*/
#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;
}

/****************** 輪播 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:768px) {
    /* .kv {
        --w: 768;
        --h: 768;
    } */

    .kv:before {
        background-image: url(../images/top_m.jpg);
    }
}

/****************** 版面 Container ******************/
.gridContainer {
    width: 100%;
    clear: none;
    float: none;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
}

.bgColor {
    background-color: #f1dcc7;
}

@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: 50px;
    padding-bottom: 50px;
}

.mainArea h3.date {
    /* 活動主標 */
    color: #000;
    font-size: 1.5rem;
    line-height: 28pt;
    text-align: left;
    padding-right: 10px;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h2 {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 16pt;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 3px;
    text-align: justify;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    margin-top: 20px;
    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: 30px;
        padding-bottom: 30px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
        text-align: left;
        padding-right: 0;
        line-height: 1.5;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }

    .mainArea h2 {
        font-size: 20px;
    }

    .bgColor {
        background-image: none;
    }
}

/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
    font-size: 22px;
    line-height: 50px;
    font-weight: 600;
    color: #313131;
    text-align: center;
    margin: 35px 0 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
}

.mainText2 {
    line-height: 50px;
    font-weight: 600;
    text-align: center;
    margin: 35px 0 15px;
    padding: 40px;
    background-color: #fff;
    border-radius: 20px;
}

.mainText1 h2 {
    color: #a06b08;
    text-align: center;
    font-size: 33px;
    margin: 0 auto 30px;
    border-radius: 20px;
}

.mainText2 h2 {
    font-size: 33px;
    text-align: center;
    line-height: 1.5em;
    border-radius: 32px;
    padding: 40px 0px 0px;
}

.mainText2 h3 {
    font-size: 35px;
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 12px;

    border-radius: 32px;
    padding: 64px 24px 48px;
    margin: 32px 0 56px;

}

.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}

.reward {
    color: #c30d23;
}


.big-numbers {
    color: #c30d23;
    margin-right: 2px;
    margin-left: 2px;
    font-size: 130%;
    font-weight: 800;
}
.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}

@media screen and (max-width: 991px) {
    .flexBox {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;

    }
}

@media screen and (max-width: 768px) {

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .mainText1 {
        font-size: 16px;
        color: #545559;
        padding: 30px 5px;
        text-align: center;
        font-weight: 600;
        line-height: 30px;
    }

    .mainText2 {
        padding: 30px 0;
    }

    .mainText2 h2 {
        font-size: 28px;
        padding: 30px 20px 0px;
    }
}

/*
--- 備註文字 ---*/
.memoTable {
    font-size: 15px;
    text-align: left;
    line-height: 2;
    color: rgb(122, 122, 122);
    font-weight: 400;
}

.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;
}

.mainText1 .table {
    font-size: 17px;
}

.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;
    }
}

/*
--- 注意事項 ---*/
.noticeDesc h4 {
    font-size: 1.3rem;
}

.noticeDesc .table-bordered {}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}

.modal-dialog {
    width: 100%;
    max-width: 950px;
}

.noteTable td {
    vertical-align: top;
    border: 0;
}

/*
--- 注意事項表格 exTable ---*/
#exTable th,
#exTable td {
    text-align: center;
    font-size: 16px;
    border: 1px solid #ccc;
    vertical-align: inherit;
    padding: 5px;
}

#exTable 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;
    }
}

.textCenter {
    margin: auto;
    text-align: center;
}

.cardCtn {
    line-height: 1.5;
    font-weight: 400 !important;
}

.noteRed {
    color: rgb(243, 0, 0);
}

.rfont {
    color: #e61a54;
    font-size: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin: 0 2px;
}

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}

.close {
    background-color: transparent;
    border: 0;
}

.over {
    font-weight: 600;
    border: #eb0000 2px solid;
    padding: 2px 10px;
    color: #eb0000;
    margin-left: 5px;
}

@media only screen and (max-width: 576px) {
    .over {
        border: #eb0000 1px solid;
        padding: 2px 2px;
        margin-left: 2px;
        font-size: 14px;
    }
}

/* modal */
.leaveModal.modal .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 3em;
    height: 3em;
    float: right;
}

.leaveModal .modal-header {
    background-color: #fff;
    border-radius: 30px 30px 0 0;
}

.leaveModal .modal-content {
    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}

.leaveModal.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

.actTable {
    width: 100%;
    max-width: 700px;
    margin: 20px auto 20px;
}

.actTable th {
    background-color: #b18150;
    border: 1px solid #b18150;
    color: #fff;
    font-weight: 800;
}

.actTable td {
    border: 1px solid #a8a8a8;
}

.shopNav {
    background-color: #b08010;
}

.shopNav .shopNavBtn {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    width: 100%;
    max-width: 33.33%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media only screen and (max-width: 576px) {
    .shopNav .shopNavBtn {
        font-size: 16px;
    }
}

/* modal */
.leaveModal.modal .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 2em;
    height: 2em;
    float: right;
}

.leaveModal .modal-header {
    background-color: #fff;
    border-radius: 30px 30px 0 0;
}

.leaveModal .modal-content {
    background-color: #fff;
    border: 5px solid rgba(26, 193, 220, 0.84);
    border-radius: 30px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}

.leaveModal.modal .modal-title {
    color: #009999 !important;
    font-weight: 600;
    font-size: 24px;
}