@charset "utf-8";

/****************** 基本 ******************/

* {
    font-family: "微軟正黑體", "Microsoft JhengHei", Arial, Geneva, sans-serif;
}

body {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    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: #393e46 !important;
    color: #fff;
    outline: none !important;
}

.btn {
    border-radius: 0px;
}

.text-center{
    margin-top: 20px;
    margin-bottom: 30px;
}

.btn.btn-primary {
    background: #df062f;
    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;
    }
}

@media screen and (max-width: 480px) {
    .btn.btn-lg {
        font-size: 14px;
    }
}


/*
--- 切換裝置顯示項目 ---*/

#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;
}


/*
--- 導覽列下拉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%;
	aspect-ratio:1920/1000;
    display: block;
	background-image: url(../images/top.jpg);
	background-size: cover;
}
@media (max-width:768px) {
    .kv {
        aspect-ratio:768/930;
		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 ---*/

.mainArea {
    padding-top: 50px;
    padding-bottom: 30px;
}

.mainArea h2 {
    /* 活動主標 */
    color: #0f0e0e;
    font-size: 20pt;     
    margin: 30px auto 15px;
    line-height: 28pt;    
    font-weight: 600;
    text-align: center;
}

.mainArea h2.title,
.mainArea h2.titleM {
    color: #009999;
    font-weight: 600;
    max-width: none;
    background: none;
    border: none;
    text-align: center;
    line-height: 2;
}

.mainArea h2.title {
    display: block;
}

/* .mainArea h2::before{
    content: url(../images/icon_1.png);
    margin-right: 6px;
    display: inline-block;
}

.mainArea h2::after{
    content: url(../images/icon_2.png);
    margin-left: 6px;
    display: inline-block;
} */

@media screen and (max-width: 576px){
    .mainArea h2{
        font-size: 23px;
    }
    .mainArea h2.title {
        font-size: 23px;
    }
    /* .mainArea h2.title::before{
        content:'';
        background-image: url(../images/icon.png);
        background-size: 30px;
        width: 30px;
        height:27px;
    }
    
    .mainArea h2.title::after{
        content:'';
        background-image: url(../images/icon.png);
        background-size: 30px;
        width: 30px;
        height:27px;
    } */
}

.mainArea h2.titleM {
    display: none;
}

.mainArea h2 small {
    color: #333333;
}

.mainArea h3.date {
    /* 活動起訖日+對象 */
    line-height: 1.5;
    font-size: 1.5rem;
}

.mainArea h3.date2 {
    background-color: #015ca2;
    margin: AUTO;
    margin-top: -57px;
    line-height: 1.5;
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
    max-width: 250px;
    color: #FFFFFF;
    border-radius: 50px;
    border: 1px solid #015ca2
}
.mainArea h4 {
    /* 活動敘述文 */
    color: #0f0e0e;
    font-size: 20pt;
    /* margin: 30px auto 15px; */
    line-height: 28pt;
    font-weight: 600;
    text-align: center;
}


.mainArea h5 {
    /* 內文區塊下方備註 */
    color: #2A2A2A;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.mainArea p {
    color: #000000;
    font-size: 13pt;
    text-align: center;
    margin-bottom: 0px;
}
.mainArea .icon {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 15px 0;
}
.mainArea img {
    margin: 0px auto;
}
@media screen and (max-width: 1200px) {
    .mainArea .icon {
        width: 90%;
    }
}
@media screen and (max-width: 576px) {
    .mainArea {
        padding-top: 30px;
        padding-bottom: 30px;
    }
 /*   .mainArea h2.title {
        display: none;
    }
    .mainArea h2.titleM {
        display: block;
        font-size: 16pt;
        line-height: 1.8;
    } */
    .mainArea h3.date {
        /* 活動起訖日+對象 */
        font-size: 1rem;
    }
    .mainArea .icon {
        width: 100%;
    }
    .mainArea .icon img {
        margin: 0px;
        width: 50px;
    }
    .mainArea h4 {
        /* 活動敘述文 */
        font-size: 13pt;
        line-height: 1.5;
    }
}


/*
--- 活動內文區塊 mainText ---*/

.mainText1 {
    font-size: 24px;
    color: #343436;
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 50px;
    font-weight: 600;
    /* border: 2px solid #009999; */
    padding: 20px 20px;
    text-align: center;
    border-radius: 10px;
}


.mainText1 h2 {
    text-align: center;
    max-width: 150px;
}

.mainText1 .title {
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    color: #007986;
    padding-left: 10px;
    padding-right: 10px;
}

.mainText1 img {
    /* margin-bottom: 20px; */
    /*border-radius: 10px;*/
}
.mainText1 a {
    color: #343436;
    text-decoration: none;
    position: relative;    
}
.mainText1 img {
    transition: all 0.3s ease;
}

.mainText1 a:hover img {
    transform: scale(1.1);
}

.reward {
    color: #009999;
    font-weight: 600;
}

.flex-container {
    flex-direction: row;
}

.flexBox {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.mainBox {
    border-radius: 45px;
    background-color: #fcead1;
    padding: 40px 10px;
    margin: 30px 0 20px;
}
@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;
    }
    .mainText1 {
        padding-top: 10px;
        margin-top: 0;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 576px) {
    .mainText1 .title {
        font-size: 1.5rem;
    }  
    .mainBox {   
        border-radius: 30px; 
        padding: 20px 5px;
        margin: 20px 0;
}
}

@media (max-width: 480px) {
    .mainText1 .title {
        font-size: 1.2rem;
    }

}
/*--logo--*/
.logo-store {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}

.logo-store img {
    width: calc((100% - 72px) / 7);
    /* 7張圖一排，72px是6個gap */
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-store img {
        width: calc((100% - 36px) / 4);
    }
}

@media (max-width: 576px) {
    .logo-store {
        gap: 0px;
    }

    .logo-store img {
        width: calc((100%) / 4);
    }
}

/*
--- 備註文字 ---*/

.memoTable {
    font-size: 15px;
}

.memoTable td {
    vertical-align: top;
}


/*
--- 活動表格 ---*/

.mainArea .table thead th {
    height: 30px;
    border-bottom: 1px;
}

.mainArea .table th{
    background-color: #66bebe;
    color: #fff;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
    padding: 3px;
    border: 1px solid #66bebe;
    vertical-align: middle;
    font-weight: 800;
}

.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;
    }
}
/* AsiaYo */
.actWrap {
    margin: 0;
    padding-inline-start: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
.actWrapItem {
    width: 50%;
    margin-bottom: 2rem;
    border-left: 1px dotted #ccc;
}
.actWrapItem:first-of-type {
    border: 0;
}

.actWrap h3 {
    line-height: 1;
}
.actWrap h3 .title {
    font-size: 2rem;
    margin-top: 1rem;
}
.actWrap h3 .title img {
    /* icon */
    padding-right: 10px;
    opacity: .9;
}
.actWrapItem > img {
    transform: scale(85%);
    margin-bottom: 0px;
}
.actWrapItem .smalltext{
    color: #fd7134;
    font-size: 18px;
    text-align: center;
    line-height: 20px;
}
.orangeword {
    font-size: 180%;
    color: #fd7134;
    padding: 0 8px;
    font-weight: 600;
}
@media screen and (max-width: 991px) {
    .actWrapItem {
        margin-bottom: 1.5rem;
    }
    .actWrap h3 {
        line-height: 1.2;
    }
    .actWrap h3 .title img {
        /* icon */
        display: block;
        padding-right: 0;
        margin-bottom: 5px;
    }
}
@media screen and (max-width: 768px) {
    .actWrap {
        flex-wrap: wrap;
    }
    .actWrapItem {
        width: 100%;
        border-left: 0;
        border-top: 1px dotted #ccc;
    }
    .actWrap h3,
    .actWrap h3 .title {
        font-size: 1.65rem;
    }
    .orangeword {font-size: 130%;}
}

/*
--- 注意事項 ---*/

.noticeDesc h4 {
    font-size: 1.3rem;
    text-align: left;
}

.noticeDesc .table-bordered {}

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 {
    width: 100%;
    background-color: #f4f4f4;
}

#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;
    }
}


/* animate */

.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
    opacity: 0;
}

.js .animate-box {
    opacity: 0;
}


/*雄獅*/

.spBox {
    background-color: #d4e4e4;
    border-radius: 10px;
    padding: 30px 10px 10px;
    margin-bottom: 20px;
}

.spBox h3 {
    color: #009999;
    text-align: center;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.point {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.boxItem {
    background-color: #FFFFFF;
}

.boxItem h2 {
    font-size: 15pt;
    line-height: 22pt;
}

.boxItem img {
    border-radius: 9px 9px 0 0;
}
.boxItem2 img {
    border-radius: 9px;
}

.boxItem,
.point {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

.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);
}

.point a:hover {
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    -webkit-filter: drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.5))
}

@media (max-width: 1199px) {
    .boxItem {
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .spBox {
        padding: 20px 5px 0;
    }
    .boxItem {
        max-width: none;
    }
    .boxItem img {
        border-radius: 9px;
    }
}

@media (max-width: 480px) {
    .spBox {
        padding: 20px 5px 0;
    }
    .spBox h3 {
        font-size: 17pt;
    }
    .point {
		display: inline-block;
		text-align: center;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .boxItem img {
        border-radius: 9px 9px 0 0;
    }
}

.titleimg{
	text-align: center;
	margin-bottom: 50px;
}

.item_box{
    
}

.giftItem{
    text-align: center;
    margin-bottom: 30px;
    padding-right: 5px;
    padding-left: 5px;
}

.giftItem .item{
    border: #91b1b1 solid 1px;
    padding-top: 6px;
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 10px;
    background-color: #e9f8f8;
}

.item h4{
    /* font-weight: 600; */
    margin-top: 10px;
}

@media screen and (max-width: 1200px){
    .item h4{
        font-size: 17px;
    }
    .item p{
        font-size: 15px;
    }
}

@media screen and (max-width: 576px){
    .item h4{
        font-size: 20px;
    }
    .item p{
        font-size: 18px;
    }
}



.more_gift{
    width: 98%;
    margin-right: auto;
    margin-left: auto;
    background-color: #e5f0db;
    border-radius: 10px;
    padding-top: 20px;
}

.giftItem .more_item{
    border: #9aae87 dashed 3px;
    border-radius: 0px;
    background-color: #fff;
}

.more_item h4{
    color: #694130;
}

.ctn{
    text-align: center;
    margin-bottom: 5px;
    font-weight: 800;
    font-size: 22px;
    line-height: 2;
    color: #333;
}

.active3 h4{
    font-weight: 800;
    line-height: 2;

}


@media (max-width: 480px){
	.titleimg{
		margin-bottom: 20px;
	}
	.mainText1 .title {
    	padding-left: 0px;
    	padding-right: 0px;
    }
    .ctn{
        text-align: left;
        margin-bottom: 5px;
        font-weight: 800;
        font-size: 18px;
        line-height: 2;
        color: #333;
    }
}

.travelBox{
    padding-top: 20px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border: 2px dashed #ccc;
}
.travelBox img{
    display: block;
    margin: 0 auto;
}

.red{
    color: red;
}
/*-------注意事項彈出視窗--------------------*/
.modal-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 5px;
    color: #df062f;
    padding: 0;
}
.modal-content {
    border-radius: 1rem;
}
.modal-content button:focus {
    outline: none;
}

.modal-dialog {
    max-width: 960px;
    margin: 1.75rem auto;
}
@media screen and (max-width: 768px) {
    .modal-title {
        font-size: 22px;
        letter-spacing: 0px;
        font-weight: 600;
    }
}
/*-------//注意事項彈出視窗--------------------*/


    .blue{
        color: #015ca2;
    } 