@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: 0em;
}

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;
}

.d-inline {
    display: inline;
}

/*
--- 按鈕 btn ---*/

.btn:hover,
.btn:active,
.btn:focus {
    background: #393e46 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.text-center {
    margin-top: 20px;
    margin-bottom: 30px;
}

.btn.btn-primary {
    background: #009999;
    color: #fff;
    border: none !important;
    border: 1px solid transparent !important;
    display: inline-block;
    margin-right: 4px;
}

@media screen and (max-width: 576px) {
    .btn.btn-lg {
        padding-top: 10px;
        padding-right: 8px;
        padding-left: 8px;
        padding-bottom: 10px;
        font-size: 16px;
    }
}


/* 活動詳情btn */
.btn.btn-primary-light {
    background: #ffe2bf;
    color: #9c6e35;
    border: none !important;
    display: inline-block;
    margin-top: 10px;
    border-radius: 60px;
    padding: 7px 15px;
    margin-bottom: -15px;
    font-weight: 550;
    letter-spacing: 1.2;
}

@media screen and (max-width: 576px) {
    .btn.btn-primary-light {
        padding: auto 5px;
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }
}

.btn.btn-primary-light:hover {
    color: #ffffff;
}




/*
--- 切換裝置顯示項目 ---*/

#line {
    display: block;
}

#line_m {
    display: none;
}

@media screen and (max-width: 576px) {
    #line {
        display: none;
    }

    #line_m {
        display: block;
    }
}


/****************** 導覽列 navbar ******************/

.navbar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.navbar-header {}


/*
--- 聯邦LOGO navbar-brand ---*/

.navbar-brand {
    padding-right: 0;
}


.navbar .navbar-brand {
    margin-right: 50px;
    margin-left: 20px;
    width: 250px;
    height: 70px;
    background: url(../../../../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;
}


/* :hover */

.navbar-nav>li>a:after {
    content: '';
    display: block;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    background: #009999;
    z-index: -1;
    transition: all .5s;
}

.navbar-nav>li:hover>a:after {
    transform: scaleX(1);
}


/*
--- 導覽列下拉dropdown-menu ---*/

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #009999;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #eaeaea;
}

@media screen and (max-width: 1200px) {
    .navbar .navbar-brand {
        margin-right: 0px;
        margin-left: 20px;
        width: 200px;
        height: 60px;
        /* 60 only*/
    }
}

@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;
}


/*
--- 主視覺 ---*/

.topimg1 {
    background-image: url(../images/top.jpg) !important;
}

/* .topimg-Half-ckeck {
    background-image: url(../images/topHalf_check.jpg) !important;
} */

@media screen and (max-width: 576px) {
    .topimg1 {
        background-image: url(../images/top_m.jpg) !important;
    }
}


/****************** 版面 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;
    }
}

.bgc_area {
    /* background-image: linear-gradient(to bottom, #fff8ce 15%, #ffffff 75%, #ffffff 100%); */
    /* padding: 20px 0px 0px 0px; */
}


/*
--- 活動主版 mainArea ---*/

.mainArea {
    padding-top: 50px;
    padding-bottom: 30px;
}

.mainArea h2 {
    /* 活動主標 */
    position: absolute;
    color: #FFFFFF;
    font-size: 18pt;
    background-color: #142280;
    /* border: 2px solid #497ecd; */
    width: 100%;
    margin: 0 auto;
    /* line-height: 100pt; */
    text-align: center;
    top: 0;
    right: 0;
    border-radius: 16px 16px 0px 0px;
    font-weight: 700;
    /* letter-spacing: 0.1rem; */
    padding: 8px;
}

.mainArea h2.title,
.mainArea h2.titleM {
    color: #497ecd;
    font-weight: 600;
    max-width: none;
    background: none;
    border: none;
    text-align: center;
    line-height: 2;
}

@media screen and (max-width: 576px) {
    .mainArea h2 {
        font-size: 18px;
        margin: 0px;
        letter-spacing: 0rem;
    }

    .mainArea h2.title {
        font-size: 22px;
    }

    .mainArea h2.title::before {
        content: url(../images/iconfa.png);
    }

    .mainArea h2.title::after {
        content: url(../images/iconfa.png);
    }
}

@media screen and (max-width: 350px) {
    .mainArea h2.title {
        font-size: 18px;
    }
}


.mainArea h2.titleM {
    display: none;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
    text-align: left;
}


.mainArea h4 {
    /* 活動敘述文 */
    color: #323232;
    text-align: left;
    font-size: 15pt;
    line-height: 1.7;
    padding-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 0.1rem;
    font-weight: 400;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.mainArea p {
    color: #222222;
    font-size: 13pt;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    line-height: 40px;
}

.logo {
    padding-bottom: 30px;
}

.mainText1 img {
    margin: 0px auto;
    padding: 8px 0px 12px;
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding: 10px 0px;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        line-height: 1.5;
        font-size: 18px;
        text-align: left;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 13pt;
        line-height: 1.5;
        margin-bottom: 0;
    }
 
    .mainText1 img{
        width: 22px;
        margin: 0 -4px;
    } 

    /* .logo {
        width: 100%;
    }  */
}

/*--- 活動內文區塊 mainText ---*/

.mainText1 {
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 40px;
    line-height: 50px;
    border: 2px solid #142280;
    padding: 47px 43px 25px 43px;
    text-align: center;
    border-radius: 20px;
    background-position: center top;
    /* background-size: cover; */
    background-repeat: no-repeat;
    background-color: #fff;
    position: relative;
}

.mainText1 h3 {
    font-size: 20pt;
    padding-top: 56px;
    /* padding-bottom: 10px; */
    line-height: 1.5;
}

@media screen and (max-width: 992px) {
    .mainText1 h3 {
        font-size: 20pt;
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 992px) {
    .mainText1 .hh32 {
        font-size: 20pt;
        /* margin-top: 40px; */
        padding-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .mainText1{
        padding: 56px 12px 20px;
        width: 90%;
    }

    .mainText1 h3 {
        font-size: 14pt;
        margin-top: 8px;
        padding: 12px 0 4px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 576px) {
    .mainText1 .hh32 {
        font-size: 16pt;
        margin-top: 80px;
        padding: 10px 0;
        line-height: 1.4;
    }
}

.reward1 {
    color: #0f4b94;
    font-size: 130%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 2px;
}

.reward2 {
    color: #ff4f00;
    font-size: 180%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 2px;
}


/*
--- 備註文字 ---*/

.memoTable {
    font-size: 15px;
    margin-top: 30px;
}

.memoTable td {
    vertical-align: top;
}


/* 文字區塊上下左右留白 */
.textBlock {
    padding: 60px 24px 68px 24px;
    border: 4px solid #eeeeee;
    border-radius: 16px;
    background-color: #ffffff;
}



@media screen and (max-width: 576px) {

    .textBlock {
        padding: 25px;
    }
}
/*
--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table th {
    background-color: #e3f1ff;
    /* color: #fff; */
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 10px;
    border: 1px solid #9cbfdf;
    vertical-align: middle;
    font-weight: 800;
    font-size: 21px;
    line-height: 26px;
}

.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,
    .mainArea .table-bordered th {
        font-size: 17px;
        padding: 5px;
        line-height: 22px;
    }

    .mainArea .table-bordered {
        line-height: 1.5;
        margin-bottom: 5px;
    }
}

.indentNote {
    font-size: 18px;
    text-align: left;
    line-height: 30px;
    margin-bottom: 10px;
    margin-top: 0;
}

.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

@media screen and (max-width: 991px) {
    .flexBox {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .mainText {
        padding-bottom: 18px;
    }

    .mainText .title {
        font-size: 1.7rem;
        line-height: 1.5;
        padding-left: 5px;
        padding-right: 5px;
        /* padding-top: 64px;。 */
    }

    .mainText h2 {
        font-size: 1.4rem;
        font-weight: bold;
        padding: 10px 10px;
        line-height: 1.8rem;

    }

    .mainArea p {
        font-size: 11pt;
        line-height: 1.9rem;

    }
    /* .mainArea p {
        color: #000000;
        font-size: 11pt;
        text-align: center;
        margin-bottom: 5px;
        line-height: 30px;
    } */

    .edmImg img:hover {
        border-radius: 0;
        box-shadow: none;
    }
}

.newyearObject {
    left: -10px;
    bottom: -38px;
}

@media screen and (max-width: 576px) {
    .newyearObject {
        width: 50%;
    }
}

/*
--- 備註文字 ---*/

.memoTable {
    font-size: 15px;
}

.memoTable td {
    vertical-align: top;
}


/*--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #a1bbbd;
    vertical-align: middle;
}

.mainArea .table-bordered {
    text-align: center;
    line-height: 2;
    vertical-align: middle;
    border-width: 1px;
    border-color: #ddd;
    padding: 10px;
}

@media screen and (max-width: 576px) {
    .mainArea .table thead th {
        font-size: 17px;
    }

    .mainArea .table-bordered td {
        font-size: 17px;
    }

    .mainArea .table-bordered {
        line-height: 1.5;
    }
}


/*
--- 注意事項 ---*/

.noticeDesc h4 {
    font-size: 1.3rem;
    text-align: left;
}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}


/*
--- 注意事項表格 exTable ---*/

#exTable table th,
#exTable table td {
    text-align: center;
    font-size: 12px;
    border: 1px solid #ccc;
    vertical-align: inherit;
}

#exTable table th {
    color: #fff;
    background-color: #323232;
}


/*--- 分頁 tabs submenu ---*/

.tabs {
    margin-top: 50px;
    margin-bottom: 20px;
    padding-right: 0px;
    padding-left: 0px;
    border-bottom: 1px solid #00859a;
}

.submenu ul {
    list-style-type: none;
}

.submenu li {
    float: left;
    height: 30px;
    width: 33.333%;
    font-size: 13pt;
    font-weight: 500;
    line-height: 20px;
    color: #1c100b;
    text-align: center;
    padding: 0 24px;
    list-style-type: none;
}

.submenu li a {
    color: #a9a9a9;
    padding-bottom: 5px;
}

.submenu li a.active {
    color: #FFFFFF;
    font-size: 15pt;
    background: #00859a;
    padding: 10px 10% 8px;
    border-radius: 10px 10px 0 0;
}

@media screen and (max-width: 587px) {
    .submenu {
        padding: 0 0 0 0;
    }

    .submenu li {
        font-size: 12pt;
        padding: 0px;
    }

    .submenu li a {
        padding-bottom: 8px;
    }

    .submenu li a.active {
        font-size: 12pt;
        padding: 10px 10% 10px;
    }
}

@media screen and (max-width: 320px) {
    .submenu li {
        font-size: 10pt;
    }

    .submenu li a.active {
        font-size: 10pt;
        padding-bottom: 13px;
    }
}


/*
--- 版權宣告footer ---*/

#footer {
    background-color: #eeeeee;
}

footer {
    width: 100%;
    background-color: #f4f4f4;
}

.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;
    }
}

.footerStyle {
    width: 100%;
    background-color: #f4f4f4;
}

/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}


/* boxItem:hover 20200428 */

.boxItem {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    max-width: 330px;
    border: 2px solid #e0e0e0;
}

.boxItem:hover {
    cursor: pointer;
    /* 滑鼠手指 */
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    border: 2px solid #009999;
    box-shadow: 0px 4px 5px rgba(120, 120, 120, 0.3);
}

@media screen and (max-width: 991px) {
    .boxItem {
        max-width: none;
    }
}


/*
  --- Swiper -------------------------------*/

.swiper-wrapper {
    list-style: none;
    padding: 10px;
}

.swiper-slide {
    min-height: 300px;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    text-align: center;
    /*display: flex;
      flex-direction: column;*/
}

.swiper-slide .btn {
    bottom: 0;
}

.swiper-button-next,
.swiper-button-prev {
    display: none;
}

@media screen and (max-width: 991px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }
}

.red {
    color: #d21921;
}

.yellow {
    color: #ffca0b;
}

/* 活動內文贈底紅圓白字 */

.circle {
    border-radius: 50px;
    background-color: #ff4f00;
    color: #fff;
    font-weight: bold;
    padding-top: 1px;
    padding-bottom: 0.6px;
    padding-left: 6px;
    padding-right: 6px;
    /* margin-left: 2px; */
    margin-right: 2px;

}

@media screen and (max-width: 992px) {
    .circle {
        font-size: 1.65rem;
        padding-right: 6.5px;
        padding-bottom: 2px;
        padding-top: 3px;
    }
}

/* 活動額滿註記 */

.actFull {
    border: 2px solid #d21921;
    color: #d21921;
    padding: 0 4px;
}

/* svgIcon設定 */
.svgIcon {
    width: 51px;
    height: 44px;
}

/* KV 主視覺 */
.kv {
    position: relative;
    width: 100%;
    --w: 1920;
    --h: 1000;
    overflow: hidden;
}

.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 .content {}


/* 標題 */
#kv_title_img {
    display: block;
}

#kv_title_img_m {
    display: none;
}

/* .kv_title {
   position: absolute;
   top: 20%;
   left: 58%;
   width: 35.35%;
   -webkit-animation: float 1s ease-in-out 2.5s infinite alternate both;
   animation: float 1s ease-in-out 2.5s infinite alternate both;
}  */



/* kv手機板setting */
@media (max-width:768px) {
    .kv {
        --w: 540;
        --h: 542;
    }

    .kv:before {
        background-image: url(../images/top_m.jpg);
    }

    #kv_title_img {
        display: none;
    }

    #kv_title_img_m {
        display: block;
    }

}




/* 跳轉提醒modal樣式*/

#noticeModal02 .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;

}

#noticeModal02.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

#noticeModal02.modal .modal-content .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 2em;
    height: 2em;
    float: right;
}

#noticeModal03 .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;

}

#noticeModal03.modal .modal-title {
    color: #009999;
    font-weight: 600;
}

#noticeModal03.modal .modal-content .btn-close {
    background: url(../images/close.png) no-repeat;
    width: 3em;
    height: 3em;
    float: right;
}