@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;
	line-height: 1.2;
}

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;
}

.mainText2 .item {
	position: relative;
	overflow: hidden;
}

.cont {
	padding: 20px;
}

.cont img {
	width: 95%;
}


/* tag */

.mainText2 .item .tag {
	width: 150px;
	font-size: 24px;
	/* height: 50px; */
	background: #b6270e;
	color: #FFFFFF;
	position: absolute;
	/* top: 28px;
    left: -30px; */
	top: 6px;
	left: -40px;
	transform: rotate(-45deg);
	box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}


/* tag-end */


/*
--- 按鈕 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;
	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;
	}
}

.text-center {
	margin-top: 20px;
}

/*
--- 切換裝置顯示項目 ---*/

#point {
	display: block;
}

#point_m {
	display: none;
}

#discount {
	display: block;
}

@media screen and (max-width: 576px) {
	#point {
		display: none;
	}

	#point_m {
		display: block;
	}

	#discount {
		display: none;
	}

	#discount_m {
		display: block;
	}

	#screenshot {
		display: none;
	}

	#screenshot_m {
		display: block;
	}
}

#line {
	display: block;
}

#line_m {
	display: none;
}

#discount {
	display: block;
}

@media screen and (max-width: 576px) {
	#line {
		display: none;
	}

	#line_m {
		display: block;
	}

	#discount {
		display: none;
	}

	#discount_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;
}

.kv:before {
	content: '';
	width: 100%;
	padding-top: calc(var(--h) * 100% / var(--w));
	display: block;
	background-image: url(../images/top.jpg);
	background-size: cover;
}




@media (max-width:768px) {
	.kv {
		--w: 768;
		--h: 768;
	}

	.kv:before {
		background-image: url(../images/top_m.jpg);
	}

	.kv_box {
		position: absolute;
		top: 54%;
		left: 12.8%;
		width: 75%;
		height: 50%;
	}
}


/****************** 版面 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 ---*/

/* .bgColor {
	background-color: #f2faf8;
} */

.cardinfo h3 {
	font-size: 1.5rem;
	line-height: 3rem;
}

.btn2 {
	margin: 5px 2px;
	font-size: 1rem;
}

.circle {
	/*2%*/
	font-size: 30px;
	font-weight: bold;
	color: #ffffff;
	width: 50px;
	height: 50px;
	border-radius: 99em;
	background-color: #b6270e;
	text-align: center;
	line-height: 50px;
	display: inline-block;
}

.mainArea {
	padding-top: 50px;
	padding-bottom: 30px;
}

.mainArea h2 {
	font-size: 2.3rem;
	text-align: center;
}

.mainArea h2 small {
	color: #333333;
}

.mainArea h3 {
	color: #595757;
	font-size: 1.5rem;
	line-height: 1.8;
	font-weight: 400;
}


.mainArea h3.date {
	/* 活動起訖日+對象 */
	color: #000;
	line-height: 1.5;
	font-size: 1.1rem;
}

.mainArea h4 {
	/* 活動敘述文 */
	color: #2E2E2E;
	font-size: 1.8rem;
	line-height: 1.3;
	font-weight: 600;
}

.tipTitle {
	font-size: 1.5rem;
	color: #FFF;
	line-height: 3;
	padding: 5px 15px;
	border-radius: 20px;
	background-color: #159b7e;
}

.mainArea h4.date {
	color: #595757;
	text-align: center;
	font-size: 15pt;
	line-height: 1.5;
	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: #000000;
	font-size: 13pt;
	text-align: center;
	margin-bottom: 0px;
}

.mainArea img {
	margin: 20px auto;
}

.mainArea hr {
	border-top: 4px dotted #159b7e;
}

@media (max-width:991px) {
.mainArea h4 {
	font-size: 1.4rem;
}
}

@media screen and (max-width: 576px) {
	.circle {
		/*2%*/
		font-size: 20px;
		font-weight: bold;
		color: #ffffff;
		width: 40px;
		height: 40px;
		border-radius: 99em;
		background-color: #b6270e;
		text-align: center;
		line-height: 40px;
		display: inline-block;
	}

	.mainArea h2 {
		color: #FFFFFF;
		font-size: 1.9rem;
		background-color: #00AEAE;
		border-radius: 99em;
		margin: 0px auto 10px;
		max-width: 80%;
	}

	.mainArea {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.mainArea h3 {
		font-size: 1.2rem;
		line-height: 1.5;
	}

	.mainArea h3.date {
		/* 活動起訖日+對象 */
		font-size: 1rem;
	}

	.mainArea h4 {
		font-size: 1.3rem;
		line-height: 1.4;
	}

	.mainText2 .date {
		width: 200px !important;
		font-size: 20px !important;
		line-height: 50px;
		border-radius: 50px;
		margin: 30px auto 0px !important;
	}
}

@media screen and (max-width: 375px) {
	.mainArea h4 {
		font-size: 13pt;
	}
}


/*
--- 活動內文區塊 mainText ---*/
.mainText1 {
	font-size: 22px;
	color: #545559;
	margin-top: 40px;
	margin-bottom: 40px;
	background-color: #fff;
	/* background-color: #f1f8f7;
	border: 2px solid #b6cbc6; */
	padding: 10px 5px 40px;
	text-align: center;
	border-radius: 10px 10px 30px 30px;
}

.mainText2 {
	color: #545559;
	margin-top: 50px;
	margin-bottom: 15px;
	line-height: 50px;
	border: 1px solid #b6270e;
	text-align: center;
	padding: 0;
}

.mainText1 h2 {
	text-align: center;
	line-height: 2em;
	color: #FFFFFF;
	border-radius: 5px 5px 20px 20px;
	margin: -16px auto 10px;
	max-width: 25rem;
	letter-spacing: 5px;
	text-indent: 8px;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
		rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
	background: linear-gradient(to bottom, rgb(42, 191, 173) 0%, rgb(21, 155, 126) 16%, rgb(21, 155, 126) 16%);
}

.mainText2 .date {
	width: 300px;
	background-color: #009999;
	font-size: 24px;
	text-align: center;
	color: rgb(255, 255, 255);
	line-height: 50px;
	border-radius: 50px;
	margin: 20px auto;
}

.mainText1 .title,
.mainText2 .title {
	text-align: center;
	font-weight: bold;
	color: #007986;
	padding-left: 10px;
	padding-right: 10px;
}

.reward {
	font-weight: 900;
	color: #159b7e;
	letter-spacing: 2px;
	font-size: 160%;
	font-family: Arial, Helvetica, sans-serif;
}

.reward1 {
	font-weight: 900;
	color: #159b7e;
	letter-spacing: 2px;
	font-size: 120%;
	font-family: Arial, Helvetica, sans-serif;
}

.highlight {
	background: linear-gradient(to bottom, transparent 50%, #fff5bf 50%);
	padding: 4px;
}

.highlight1 {
	color: #f7eaa2;
	font-size: 120%;
	padding: 4px;
}

.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) {

.mainText1 {
	padding: 10px 0px 0px;
}

	.mainText1 .title,
	.mainText2 .title {
		font-size: 1.5rem;
	}

	.mainText2 h2 {
		width: 200px;
	}

	.reward {
		font-size: 140%;
		letter-spacing: 2px;
	}
}


/*
--- 備註文字 ---*/
.memoTable {
	font-size: 15px;
}

.memoTable td {
	vertical-align: top;
}

.memoTable2 {
	font-size: 15px;
	margin-bottom: 30px;
}

/*
--- 活動表格 ---*/
.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 ul.list-style {
	margin-bottom: .2rem;
	padding: 0 0 0 20px;
}

.noticeDesc ul li {
	word-break: break-all;
}

.red {
	color: #d40000;
}


/*
--- 注意事項表格 exTable ---*/

#exTable table th,
#exTable table td {
	text-align: center;
	/* font-size: 14px; */
	border: 2px 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 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;
}

/* 
    WinterSchool ++20220112++ */
.act h2 {
	position: relative;
}

.act>h2::after {
	content: "";
	position: absolute;
	width: 100px;
	height: 100px;
	top: -75px;
	left: 50%;
	transform: translate(-50%, 0%) scale(1);
	/* background-image: url(../images/icon_1.png); */
	z-index: -1;
}

.act-1>h2::after {
	/* 免手續費 */
	background-image: url(../images/icon_1.png);
}

.act-2>h2::after {
	/* 一次付清享回饋 */
	background-image: url(../images/icon_2.png);
}

.act-3>h2::after {
	/* 學費優利輕鬆繳 */
	background-image: url(../images/icon_3.png);
}

.act-4>h2::after {
	/* 紅利折抵100%*/
	background-image: url(../images/icon_4.png);
}

.act-1 {
	margin-top: 70px;
}

.act-2 {
	margin-top: 80px;
}


h3.title {
	font-size: 2rem;
	font-weight: 600;
	text-align: center;
	color: #159b7e;
	line-height: 2em;
	padding-bottom: 20px;
}

.actBox {
	display: flex;
	justify-content: space-around;
	list-style-type: none;
	padding-inline-start: 0px;
}

.actBox li {
	width: 40%;
	border-radius: 20px 10px;
	padding: 20px 10px;
	/* background-color: #f1f8f7; */
	background-color: #fff;
	box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
		rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.actBox h3 {
	font-weight: 600;
	margin-bottom: 0;
}

.actBox h4 {
	line-height: 1.5em;
}

@media only screen and (max-width: 768px) {
	.actBox {
		flex-wrap: wrap;
	}

	.actBox li {
		width: 80%;
		margin-bottom: 1rem;
	}

	h3.title {
		font-size: 1.5rem;
		line-height: 1.5em;
	}
}

.act-1 .memoTable {
	text-align: left;
}

/* 20220114 +++ cardList */
h2.cardTitle {
	max-width: 35rem;
	margin-top: 50px;
}

h2.cardTitle::after {
	background-image: none;
}

.act-2 hr {
	width: 90%;
	margin-top: -57px;
	margin-bottom: 57px;
	z-index: -1;
	border-color: #b6cbc6;
}



.cardList {
	list-style-type: none;
	padding-left: 0;
	/* padding-inline-start: 0; */
	display: flex;
	justify-content: space-between;
	margin-bottom: 1rem;
	line-height: 1;
	max-width: auto;
}

.cardList li {
	text-align: center;
	margin: 120px 10px 10px;
	border-radius: 5px;
	background-color: #fff;
	padding: 0 15px 20px;

	box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px,
		rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.cardList li img {
	margin-top: -100px;
	max-width: 316px;
}

.cardList h2.title {
	color: #00AEAE;
	background-color: transparent;
	border: 1px solid #009999;
	margin-top: 0;
	margin-bottom: 0;
}

.cardList h2 {
	color: #159b7e;
	font-weight: bold;
	border: none;
	background: none;
	box-shadow: none;
	top: -90px;
}

.cardList h3 {
	font-size: 1.5rem;
	/* color: #00AEAE; */
	font-weight: bold;
	margin-bottom: 0;
	line-height: 60px;
}

@media screen and (max-width: 1199px) {

	/* h2.cardTitle::after {width: 150%;} */
	.cardList li img {
		max-width: 256px;
	}
}

@media screen and (max-width: 991px) {

	/* h2.cardTitle::after {width: 115%;} */
	.cardList h3 {
		font-size: 1.3rem;
	}

	.cardList li img {
		max-width: 176px;
	}
}

@media screen and (max-width: 768px) {
	h2.cardTitle {
		max-width: 20rem;
	}

	h2.cardTitle::after {
		display: none;
	}

	.cardList {
		flex-wrap: wrap;
	}

	.cardList li {
		margin: 90px 10px 20px;
	}

	.cardList li img {
		width: 80%;
		max-width: none;
		margin-top: -80px;
	}

	.cardList h2 {
		font-size: 1.75rem;
		top: -70px;
	}

	.act-2 hr {
		margin-top: -110px;
		margin-bottom: 110px;
	}
}

@media screen and (max-width: 480px) {
	h2.cardTitle {
		padding: 5px 0;
		line-height: 1.5em;
	}

	.act-2 hr {
		display: none;
		opacity: 0;
	}
}

.centerBox {
	display: flex;
	justify-content: center;
	margin-right: auto;
	margin-left: auto;
}

.nnb {
    border-radius: 30px;
}

/* 定位按鈕 nnb-btn */

.nnb-btn {
	/*for IE 用定位*/
	position: absolute;
	left: 61%;
	bottom: 14%;
}

@media screen and (max-width: 992px) {
	.nnb-btn {
		left: 58%;
		bottom: 10%;
	}
}

@media screen and (max-width: 768px) {

	.nnb-btn {
		left: 36%;
		bottom: 5%;
	}
}