@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 #dadada;
}

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;
}

.btn.btn-primary {
	background: #0c3598;
	color: #fff;
	border: none !important;
	border: 2px solid transparent !important;
	display: inline-block;
}

@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;
	}
}

#screenshot {
	display: block;
}

/*note交易截圖*/
#screenshot_m {
	display: none;
}

#pic {
	display: block;
}

#pic_m {
	display: none;
}

@media screen and (max-width: 576px) {
	#pic {
		display: none;
	}

	#pic_m {
		display: block;
	}

	#screenshot {
		display: none;
	}

	#screenshot_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%;
	--w: 1920;
	--h: 1000;
	overflow: hidden;
	display: block;
}

/* 用 padding-top 維持比例，避免高度塌陷 */
.kv::before {
	content: '';
	width: 100%;
	padding-top: calc(var(--h) * 100% / var(--w));
	display: block;
}

/* 圖片基本設定：預設讓第一張圖直接顯示，確保不是透明問題 */
.kv-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.kv-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 預設隱藏電話版，只留 apple 顯示（後續靠 JS 或 CSS 切換） */
.kv-telecom {
	opacity: 0;
	visibility: hidden;
	z-index: 0;
}

/* 當切換到 telecom 時的顯示 */
body:has(#telecom.active) .kv-telecom {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

body:has(#telecom.active) .kv-apple {
	opacity: 0;
	visibility: hidden;
	z-index: 0;
}

@media (max-width: 576px) {
	.kv {
		--w: 768;
		--h: 768;
	}
}

/****************** 版面 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-tab-mb {
	margin-bottom: -75px !important;
}

.mainArea {
	padding-top: 50px;
	padding-bottom: 30px;
}

.mainArea h2 {
	/* 活動主標 */
	color: #FFFFFF;
	text-align: center;
	font-size: 16pt;
	background-color: #009999;
	border-radius: 20px;
	border: 1px solid #009999;
	max-width: 130px;
	margin: 0 auto 10px;
	line-height: 22pt;
	font-weight: 600;
}

.mainArea h2 small {
	color: #333333;
}

.mainArea h3.date {
	/* 活動起訖日+對象 */
	line-height: 1.7;
	font-size: 1.3rem;
	margin-top: 32px;
}

.mainArea h4 {
	/* 活動敘述文 */
	color: #2E2E2E;
	font-size: 16pt;
	line-height: 1.5;
	padding-top: 10px;
	padding-bottom: 3px;
	text-align: center;
}

.mainArea h5 {
	/* 內文區塊下方備註 */
	color: #2A2A2A;
	font-size: 15px;
	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: 1200px) {
	.mainArea h4 {
		/* 活動敘述文 */
		text-align: left;
	}
}

@media screen and (max-width: 768px) {
	.mainArea h3.date {
		/* 活動起訖日+對象 */
		font-size: 1.2rem;
	}
}

@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 ---*/
.mainTitle {
	font-size: 30px;
	font-weight: 600;
	color: #1a3f7c;
	letter-spacing: 1px;
	background: linear-gradient(to bottom, transparent 50%, #ccf1ff 50%);
	display: inline-block;
	padding: 0 10px;
	margin: 8px auto 24px 0;
}

.mainTitle1 {
	color: #ffffff;
	background-color: #0c3598;
	font-size: 20pt;
	font-weight: 600;
	text-align: center;
	line-height: normal;
	max-width: 90%;
	width: max-content;
	padding: 8px 24px;
	border-radius: 100px;
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	z-index: 10;
}

.mainText {
	font-size: 21px;
	color: #545559;
	margin-top: 15px;
	margin-bottom: 15px;
	line-height: 50px;
	padding: 0px 0px 30px 0px;
	text-align: center;
	font-weight: 600;
}


.mainText1 {
	font-size: 21px;
	color: #545559;
	margin: 15px 0px 30px 0px;
	line-height: 50px;
	border: 2px solid #0c3598;
	border-radius: 20px;
	padding: 30px 20px;
	text-align: center;
	font-weight: 600;
	position: relative;
}

.mainText2 {
	font-size: 24px;
	color: #545559;
	margin-top: 50px;
	margin-bottom: 15px;
	line-height: 50px;
	padding: 30px 20px;
	text-align: center;
}

.mainText1 h2 {
	text-align: center;
}

.mainText2 h2 {
	width: 300px;
	margin-top: -50px;
	background-color: #3164b8;
	border: 1px solid #3164b8;
}

.mainTitle .title,
.mainText1 .title,
.mainText2 .title {
	text-align: center;
	font-weight: bold;
	color: #1a3f7c;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 22px;
}


.activity-ends {
	border: 3px solid #ff0004;
	color: #ff0004;
	display: inline-block;
	padding: 0px 10px;
	margin: 0 5px 10px;
}

@media screen and (max-width: 576px) {
	.activity-ends {
		padding: 0px 2px;
	}
}

.reward {
	color: #ff4b4e;
	margin-right: 2px;

	/* padding: 5px; */
	font-size: 24px;
	font-weight: 800;
}

.reward1 {
	color: #ff4b4e;
	padding: 1px;
	font-size: 110%;
	font-weight: 800;
}

.reward2 {
	color: #ff7900;
}

.big_number {
	font-size: 130%;
}

.red {
	color: red;
}

.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: 576px) {
	.mainTitle {
		font-size: 24px;
	}

	.mainTitle1 {
		font-size: 15pt;
		padding: 8px 24px;
	}


	.mainText1 .title,
	.mainText2 .title {
		font-size: 1rem;
	}

	.mainText {
		padding: 0px 0px 10px 0px;
	}


	.mainText1 {
		font-size: 16px;
		color: #545559;
		padding: 30px 10px;
		text-align: center;
		font-weight: 600;
		line-height: 30px;
	}

	.reward {
		font-size: 18px;
		margin-right: 1px;
		margin-left: 1px;
		font-weight: 800;
	}

	.mainText2 h2 {
		width: 200px;
	}
}

/*--- 備註文字 ---*/
.memoTable {
	font-size: 15px;
}

.memoTable td {
	vertical-align: top;
}

/*--- 活動表格 ---*/
.mainArea .table thead th {
	height: 30px;
	border-bottom: 1px;
	color: #fff;
	background-color: #0c3598;
}

.mainArea .table-bordered th,
.mainArea .table-bordered td {
	font-size: 20px;
	padding: 3px;
	border: 1px solid #b6b6b6;
	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: 15px;
	}

	.mainArea .table-bordered td {
		font-size: 14px;
	}

	.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-top: 50px;
	margin-bottom: 20px;
	padding-right: 0px;
	padding-left: 0px;
	border-bottom: 1px solid #00859a;
}

.paytab {
	margin-top: -20px;
	/* text-align: center; */
}

.paytab .nav-tabs {
	display: flex;
	justify-content: space-evenly;
	margin-bottom: 15px;
	text-align: center;
}

.paytab .nav-tabs li a {
	color: #999;
	background: #f1f1f1;
	font-size: 24px;
	font-weight: bold;
	transition: all .5s ease 0s;
	padding: 0px 20px;
	border-radius: 10px 10px 0 0;
	border: none;
}

.paytab .nav-tabs li a:hover {
	color: #ffffff;
	background: #071d40;
}

.nav-tabs .nav-link.active {
	color: #ffffff;
	background: #0c3598;
	border: none;
}

@media screen and (max-width: 991px) {
	.paytab .nav-tabs li a {
		color: #999;
		background: #f1f1f1;
		font-size: 20px;
		font-weight: bold;
		transition: all .5s ease 0s;
		padding: 0px 12px;
		border-radius: 10px 10px 0 0;
	}
}

@media screen and (max-width: 768px) {
	.paytab .tab-content {
		padding: 0px;
		margin-top: 0px;
		border: 0px;
	}

	.nav-tabs {
		border: none;
	}

	.paytab .nav-tabs li {
		margin-top: 10px;
		width: 100%;
	}

	.paytab .nav-tabs li a {
		border: 1px solid #f1f1f1;
		padding-top: 0px;
		padding-bottom: 0px;
		margin: 0;
		border-radius: 20px;
		font-size: 20px;
	}
}

.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;
	}
}

.bgColor01 {
	background-color: #def2f5;
}

.dotLine {
	border-top: 6px dotted #e5e5e5;
}


.allFinish {
	color: red;
	border: solid 2px rgb(255, 0, 0);
	font-weight: 600;
	padding-left: 3px;
	padding-right: 3px;
	margin-left: 3px;
}

@media screen and (max-width: 576px) {
	.breakAll {
		word-break: break-all;
	}
}

/* animate */
.js .to-animate,
.js .to-animate-2,
.js .single-animate .js .animate-single {
	opacity: 0;
}

.js .animate-box {
	opacity: 0;
}

.text-indent {
	text-indent: -.35rem;
}