@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 {
    text-decoration: none;
    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; 
}
.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;
	}
}
/*
--- 切換裝置顯示項目 ---*/
#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*/
	  /* background: url(https://card.ubot.com.tw/eCard/activity/RWD/images/UBOT-logo_s.png) no-repeat 0 50%; */
	}
}
@media screen and (max-width: 576px){
	.navbar .navbar-brand {
	  margin-right: 50px;
	  margin-left: 15px;	  
	  /* background: url(https://card.ubot.com.tw/eCard/activity/RWD/images/UBOT-logo_s.png) no-repeat 0 50%; */
    }
}
@media screen and (max-width: 360px){
    .navbar .navbar-brand {
        width: 170px;
    }
}
/****************** 輪播 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 { background-image: url(../images/topHalf.jpg) !important;}
@media screen and (max-width: 576px){
	.topimg1 { background-image: url(../images/top_m.jpg)  !important;}
    .topimg-Half { background-image: url(../images/topHalf_m.jpg) !important;    }
} */
/* topimg-Half */
.topimg-Half { 
    position: relative;
    background-image: url(../img/topHalf.jpg) !important;
    background-position: center center;
}
.topimg-Half::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 200px;
    right: 10%;
    top: 16%;
    background: url(../img/kv-title.png)no-repeat;
    background-position: center center;
    background-size: contain;
}
@media screen and (max-width: 1400px){
    .topimg-Half::before { width: 500px;}
}
@media screen and (max-width: 768px){
    .topimg-Half {background-position: left -100px center;}
    .topimg-Half::before {
        width: 450px;
        height: 150px;
        top: 10%;
    }
}
@media screen and (max-width: 576px){
    .topimg-Half { 
        background-image: url(../img/topHalf_m.jpg) !important;
        background-position: center center;
    }
    .topimg-Half::before {
        width: 250px;
        height: 100px;
        right: 17%;
    }
}
/* topimg1 */
.topimg1 { 
    position: relative;
    background-image: url(../img/top.jpg)  !important;
    background-repeat: no-repeat;
    background-position: center center;
}
.topimg-title {
    position: absolute;
    background: url(../img/kv-title.png)no-repeat center center;
    background-size: contain;
    top: 20%;
    left: 40%;
    width: 50%;
    height: 300px;
}
.topimg-item {
    position: absolute;
    top: 50%;
    left: 75%;
}
@media screen and (max-width: 1400px){
    .topimg-title {top: 13%;}
}
@media screen and (max-width: 1199px){
    .topimg-item {
        top: 65%;
        left: 80%;
    }
}
@media screen and (max-width: 768px){
    .topimg-title {top: 10%;}
}
@media screen and (max-width: 576px){
    .topimg1 { 
        background-image: url(../img/top_m.jpg)  !important;
        background-position: left center;
    }
    .topimg-title {
        width: 85%;
        top: 8%;
        height: 150px;
        left: 8%;                
    }
    .topimg-item {
        width: 150px;
        top: 65%;
        left: 67%;
    }
}

/****************** 版面 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: 30px; */
    padding-top: 50px;
	padding-bottom: 30px;
}
.mainArea h2 {        /* 活動主標 */
    color: #FFFFFF;
    font-size: 19pt;
    background-color: #009999;
    border-radius: 50px;
    border: 1px solid #009999;
    max-width: 350px;
    margin: 0 auto 10px;
    line-height: 28pt;
    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: 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;
    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;
    } 
    .mainArea h4 {        /* 活動敘述文 */
        font-size: 14pt;
        line-height: 1.5;
    }
}
/*
--- 活動內文區塊 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;
    margin-right: 3px;
    margin-left: 3px;
    padding: 5px;
}
.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){
    .mainText1 .title,
    .mainText2 .title {
        font-size: 1.5rem;
    }
    .mainText2 h2 {
        width: 200px;
    }    
}
/*
--- 備註文字 ---*/
.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;
}
.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-bottom: 20px;
    padding: 0;
    border-bottom: 1px solid #13b4be;
    /* padding-right: 0px;
    padding-left: 0px; */
    /* border-bottom: 1px solid #00859a; */
}
.submenu {
    padding-inline-start: 0;
    list-style-type: none;
    margin-bottom: 0;
    transition: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.submenu li {
    width: 25%;
    line-height: 2.5;    
    font-size: 13pt;
    font-weight: normal;
    text-align: center;
    list-style-type: none;
    /* background: #eff7f0; */
    border-radius: 10px 10px 0 0;

    display: flex;
    justify-content: center;
    overflow: hidden;
}
.submenu li + li {
    margin-left: 5px;
}
.submenu li .nav-link {
    width: 100%;
    background-color: #eff7f0;
    border: transparent;
    border-radius: 10px 10px 0 0;
}
.submenu li .nav-link:hover {
    color: #fff;
    background: #13b4be;
    font-weight: bold;
}
.submenu li .nav-link.active {
    color: #fff;
    background: #13b4be;
    font-weight: bold;
}
.submenu li a ,
.submenu .list-group-item-action {
    display: block;
    white-space: nowrap;
    color: #6b6b6b;
    transition: none;
    border-radius: 10px 10px 0 0;
}

/* .submenu li.active, */
.submenu li:hover,
.submenu li a.active,
.submenu .list-group-item.action {
    background: #13b4be;
}
/* .submenu li.active a, */
.submenu li:hover a,
.submenu li a.active,
.submenu li a:hover {
    color: #FFFFFF;
    font-weight: bold;
}

@media screen and (max-width: 587px){
    .submenu li {
        font-size: 12pt;
    }
}
@media screen and (max-width: 375px){
    .submenu li {
        font-size: 9pt;
        /* width: 22%; */
        line-height: 3;
    }
    .submenu li + li {
        margin-left: 2px;
    }
    /* .submenu li:last-child {
        width: 30%;
    } */
}
/*
--- 版權宣告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;
    }
}
/*
---- hotelweb set----*/
.rowinfo {
    margin-bottom: 15px;
    background-color: #f7f5f5;
}
.rowinfo > a {
    display: inline-block;    
}
.rowinfo > a img {transition: ease .5s;}
.rowinfo > a:hover img {
    outline: 1px solid #ccc;
    opacity: .9;
}
.info {
    padding: 10px 5px 0;
    min-height: 100px;
}
.tag {
    font-weight: normal;
    color: #fff;
    padding: 1px 5px;
    margin-right: 3px;
    border-radius: 3px;
}
.info .tag {
    font-size: .9rem;
    background-color: #989898;
}
.hotel-title .tag {
    font-size: 1.25rem;
    background-color: #094F60;
}
.info .reward {
    color: red;
    padding: 0;
}
.info h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: bold;
    text-align: center;
    display: block;
    
}
.info h4 {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    font-family: inherit;
    color: #3C3C3C;
    padding: 0;
}
 .hotel-title {
    font-weight: bold;
    font-size: 24px;
    color: #094F60;
    line-height: 1.8;
    margin-bottom: 20px;
}
.mainArea .act-title {
    font-size: 2rem;
    font-weight: bold;
    color: #13b4be;
    max-width: none;
    border: none;
    background: transparent;
    margin: 0 auto;
}
.table-txt-sm {
    font-size: .8rem;
}
@media screen and (max-width: 576px){
    .info {
        min-height: 120px;
    }
    .info h3 {
        font-size: 15px;
    }
    .info .tag {
        display: block;
        margin: 0 auto 3px;
    }
}

 /*
  --- +++mainAct ---*/
.mainAct {
    padding-top: 50px;
    margin-bottom: 30px;
  }
  
  .mainAct a:hover {
    text-decoration: none;
  }
  
  .mainAct .list-group {
    flex-direction: row;
    justify-content: center;
  }
  
  .mainAct .list-group-item {
    border: 1px solid #FFFFFF;
    border-radius: 10px;
    color: #13a5a5;
    font-weight: bold;
    text-align: center;
    max-width: 200px;
    margin: 10px 5px;
    padding: .25rem .75rem;
  }
  
  .mainAct .list-group-item.active {
    background-color: #13a5a5;
    border-color: #13a5a5;
    color: #FFFFFF;
  }
  
  .mainAct .list-group-item + .list-group-item.active {
    margin: 10px 5px;
  }
  
  .mainAct .list-group-item span {
    padding-left: 3px;
    padding-right: 3px;
    font-size: 1.3rem;
  }
  
  
  
  /* 圖片切換 lg/sm */
  .img-lg {
    display: block;
  }
  .img-sm {
    display: none;
  }
  
  @media screen and (max-width: 768px) {
    .mainAct .list-group {
      flex-wrap: wrap;
    }
  
    .swiper-container {
      padding: 0 0 1.25rem;
    }
  
    .swiper-button-prev,
    .swiper-button-next {
      height: auto;
      width: auto;
      background-color: transparent;
    }
  
    .swiper-button-prev {
      left: 10px;
    }
  
    .swiper-button-next {
      right: 10px;
    }
  }
  
  @media screen and (max-width: 560px) {
    .mainAct {
      margin-bottom: 0;
    }
  
    /* 圖片切換 lg/sm */
    .img-lg {
      display: none;
    }
    .img-sm {
      display: block;
    }
  } 
  
  /*
    --- +++Swiper -------------------------------*/
  .swiper-container {
    padding: 0 4rem 1.25rem;
    }
  
  .swiper-container ul {
    list-style: none;
    padding-inline-start: 0;
  }
  
  /* 無滑動區塊 no-swiper-wrapper */
  .no-swiper-wrapper {  
    padding: 0 4rem 1.25rem;
  
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
  }
  
  .swiper-slide .item,
  .no-swiper-wrapper {
    /* outline: 1px solid red; */
    text-align: center;
    position: relative;
  
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  
  .swiper-wrapper .item img,
  .no-swiper-wrapper img {
    width: 100%; 
    flex-shrink: 0; /*for IE 不收縮*/
    position: relative;
  }
  
  /* 定位按鈕 item-btn */
  .swiper-wrapper .item .item-btn,
  .no-swiper-wrapper .item-btn {
    /*for IE 用定位*/
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
  }
  
  /* 無滑動區塊底部少了Pagination點點,定位按鈕需墊高 */
  .no-swiper-wrapper .item-btn {
    bottom: 1rem;
  }
  
  .swiper-slide .btn,
  .no-swiper-wrapper .btn {
    bottom: 0;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    top: 0;
    font-weight: bold;
    height: 100%;
    width: 4rem;
    /* background-color: rgba(255, 255, 255, 0.8); */
  }
  
  .swiper-button-prev {
    left: 0;
  }
  
  .swiper-button-next {
    right: 0;
    text-align: right;
  }
  
  @media screen and (max-width: 991px) {
    .swiper-container {
      padding: .1rem 1.75rem 1.25rem;
    }
    .swiper-container ul {
      margin-bottom: 50px;
    }
    
    .no-swiper-wrapper {
      flex-wrap: wrap;
    }
  
    .no-swiper-wrapper .item {
      min-width: 280px;
      min-height: 100px;
    }
    
  
    .swiper-button-next,
    .swiper-button-prev {
      display: block;
      top: 45%;
      height: 5%;
      width: 1.75rem;
    }
    .swiper-button-prev:after,
    .swiper-button-next:after {
      font-size: 1.75rem;
    }
    .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 40px;
    }
  }
  @media screen and (max-width: 768px) {
    .swiper-container {
        padding: .1rem 1.75rem 0;
      }
    .no-swiper-wrapper li {
      margin-bottom: 60px;
    }
    .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 30px;
    }
  }
  /*
    --- Swiper end-------------------------------*/