@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;
}

@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%;
}

/*--- 按鈕 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: 2px solid transparent !important;
    display: inline-block;
    margin-top: 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;
    }
}


/****************** 導覽列 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;
    }
}

/*--- 主視覺 ---*/
.kv {
	width: 100%;
	aspect-ratio:1920/800;
    display: block;
	background-image: url(../images/top.jpg);
	background-size: cover;
}
@media (max-width:768px) {
    .kv {
        aspect-ratio:1200/1280;
		background-image: url(../images/top_m.jpg);
    }
}

/****************** 版面 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 ---*/
.image-group {
    display: flex;
    justify-content: center
}

.image-group img {
    margin-top: -4rem;
    padding: 0 20px;
    width: 70%;
}
.box_img {
    display:inline-block;
    width: 80%;
    padding: 15px 0;
    margin: auto;
}
@media (max-width:768px) {
    .image-group {
    display: none;}
    .box_img {
        width: 100%;
        padding: 8px 0;
    }
}
.mainArea {
    padding-top: 30px;
    padding-bottom: 40px;
    overflow: hidden;
}

.mainArea h2 {
    /* 活動主標 */
    color: #0096ad;
    font-weight: 600;
    font-size: 26pt;
    padding: 25px 0;
    text-align: center;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
}

.mainArea h4 {
    /* 活動敘述文 */
    color: #2E2E2E;
    font-size: 20pt;
    font-weight: 600;
    line-height: 1.5;
    padding-bottom: 50px;
    text-align: center;
}

.mainArea h5 {
    /* 內文區塊下方備註 */
    font-size: 20px;
    font-weight: bold;
    color: #636262;
}

.mainArea p {
    color: #000000;
    font-size: 13pt;
    text-align: center;
    margin-bottom: 0px;
}

.mainArea img {
    margin: 0px auto;
}

@media screen and (max-width: 992px) {
    .image-group img {
        padding: 0 20px;
        width: 55%;
    }
}

@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 20px;
        padding-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }

    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
    }

    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 17pt;
        line-height: 1.5;
    }

    .mainArea h5 {
        /* 內文區塊下方備註 */
        font-size: 17px;
    }
   
}

.btn-box {
    display: flex;
    justify-content: center;
}

.btn-box .btn-item {
    display: inline-block;
    border-radius: 10px;
    margin: 0px 15px;
    width: 290px;
    text-align: center;
}

.btn-box .btn-blue {
    /* background-image: linear-gradient(to top, #009fb9, #00dbff);
    box-shadow: 3px 3px #286e89; */
    transition: .3s;
}

.btn-box .btn-blue:hover {
    box-shadow: none;
    transform: translateX(5px);
    transform: translatey(5px);
}

.btn-box .btn-green:hover {
    box-shadow: none;
    transform: translateX(5px);
    transform: translatey(5px);
}

.btn-box .btn-item a {
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    letter-spacing: 1px;
    font-weight: 600;
}

@media screen and (max-width: 1199.9px) {
    .round {
        text-align: center;
        font-size: 40px;
        line-height: 1;
        margin: auto;
        padding: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .main-box ul li {
        font-size: 2.3rem;
    }
}

@media screen and (max-width: 991px) {   
    .btn-box .btn-item {
        padding-top: 5px;
        padding-bottom: 5px;
        border-radius: 10x;
        margin: 0 0;
    }
   

    .btn-box .btn-blue:hover {
        /* box-shadow: 3px 3px #284f89; */
        transform: translateX(0px);
        transform: translatey(0px);
    }

    .btn-box .btn-green:hover {
        box-shadow: 3px 3px #368839;
        transform: translateX(0px);
        transform: translatey(0px);
    }

    .btn-box .btn-item a {
        font-size: 18px;
    }
}

@media screen and (max-width: 990px) {
    .round {
        font-size: 35px;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .round {
        display: block;
        padding: 10px;
        border-radius: 50px;
        font-size: 30px;
        max-width: 260px;
    }
}

/*--- 活動內文區塊 mainText ---*/
.mainText1 {
    font-size: 24px;
    color: #545559;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 50px;
    border: 1px dashed #767272;
    padding: 30px 20px;
    text-align: center;
}

.mainText2 {
    font-size: 24px;
    color: #545559;
    margin-top: 50px;
    margin-bottom: 15px;
    line-height: 50px;
    border: 1px solid #009999;
    padding: 30px 20px;
    text-align: center;
}

.mainText1 h2 {
    text-align: center;
}

.mainText2 h2 {
    width: 300px;
    margin-top: -50px;
    background-color: #009999;
    border: 1px solid #009999;
}

.mainText1 .title,
.mainText2 .title {
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}

.reward {
    color: #d60000;
}

@media screen and (max-width: 576px) {

    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }

    .mainText2 h2 {
        width: 200px;
    }
}

/*--- 備註文字 ---*/
.memoTable {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.memoTable .big {
    font-size: 1.6rem;
}

.memoTable td {
    vertical-align: top;
}

.memoTable_box {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.memoTable_box img {
    margin: 10px;
    width: 30%
}

@media screen and (max-width: 992px) {
    .memoTable_box img {
        width: 55%
    }
}

@media screen and (max-width: 576px) {

    .memoTable_box img {
        margin: 10px 0;
        width: 80%
    }

    .memoTable {
        font-size: 17px;
    }
}

/*
--- 活動表格 ---*/
.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;
}

ul.list-style {
    margin-bottom: .3rem;
    padding: 0 0 0 20px;
}
.notic_bg {
    background-color: #7cd6dc;
}
.notic_bg h5 {
    font-weight: 600;
}

/*
--- 注意事項表格 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: 576px) {
    .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;
    }
}

/*----------綁定------------*/
.binding {
    padding: 20px;
    background-color: #b2e7ea;
}
.binding_box {
    display: flex;

}
.binding_title {
    width: 80%;
}
.binding_step {
    padding: 30px 0;
}
.binding_step img {
    margin-bottom: 20px;
}
@media (max-width:768px) {
    .binding_title {
    width: 100%;
    }
    .binding_step {
    padding: 30px 0 0 0;
}
    .binding_step img {
    margin-bottom: 30px;
}

}

/*
--- 版權宣告footer ---*/
footer {
    background-color: #f4f4f4;
}

#footer {
    background-color: #eeeeee;
}

.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;
    }
}

/* 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;
    }
}