@charset "utf-8";
/* CSS Document */

/*:root {
	--epaperBGcolor: #F69;
}*/


body, ol, ul, li, div {
	margin: 0;
	padding: 0;
	font-family: '微軟正黑體', 'Noto Sans TC', sans-serif;
}

a {
	text-decoration: none;
	color: #3d7bad;
}

	a.viewAll {
		color: #264D7D;
		font-size: .75rem;
		border: 1px #264D7D solid;
		font-style: italic;
		padding: 0.2em 0.8em 0.25em 0.5em;
		position: absolute;
		top: 4px;
		left: 105px;
		transition-duration: .5s;
	}

		a.viewAll:hover {
			background: #264D7D;
			color: #FFF;
			transition-duration: .5s;
		}

	a.whiteColor {
		color: #FFF;
		border: 1px #FFF solid;
		transition-duration: .5s;
	}

		a.whiteColor:hover {
			background: #FFF;
			color: #264D7D;
			transition-duration: .5s;
		}


/*-- ↓↓↓↓ 最上黃底區域 ↓↓↓↓ --*/
.topArea {
	background: #f5b939;
	border-bottom: 0.3rem solid #b88519;
	padding: 0.8rem 0 0.5rem;
}

#skiptoContent a {
  position: absolute;
  top: -70px;
  left: 0px;
  padding: 1rem;
  color: white;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  border-bottom-right-radius: 8px;
  background: #CF3C3C;
  transition: top 0.5s ease-out;
  z-index: 100;
}

#skiptoContent a:focus {
  position: absolute;
  left: 0px;
  top: 0px;
  transition: top 0.1s ease-in;
  outline-color: transparent;
}

.englishVersion {
	font-size: .8rem;
	padding-top: 2rem;
	color: #454545 !important;
}

.englishVersion .btn{
	font-size: .8rem;
	color: #FFF;
}

.englishVersion .btn:hover{
	background: #b88519;
}

.englishVersion a {
	color: #454545;
}

.englishVersion img {
	max-width: 20px;
	margin-right: 8px;
}

.threeIcons {
	justify-content: flex-end;
}

	.threeIcons a {
		text-decoration: none;
	}

	.threeIcons span {
		color: #454545;
		font-size: 0.75rem;
		font-family: "微軟正黑體";
		text-align: center;
		display: block;
		margin-top: .5rem;
	}

	.threeIcons img {
		width: 80%;
	}

	.threeIcons .dropdown-menu{
		min-width: 100px;
	}
	.threeIcons .dropdown-item{
		font-size: 0.8rem;
	}

	.threeIcons .flag {
		max-width: 20px;
	}

	.threeIcons .dropdown .dropdown-toggle::after{
		display: none;
	}

.redDot {
	background: linear-gradient(#fc5659, #ce0408);
	color: #FFF;
	font-size: 0.75rem;
	text-align: center;
	line-height: 18px;
	position: absolute;
	width: 20px;
	height: 20px;
	top: -8px;
	right: 15px;
	border-radius: 50%;
}



.dropdownNews {
	width: 80vw;
	max-width: 360px;
}

	.dropdownNews a.dropdown-item {
		white-space: pre-wrap;
		padding: 8px 16px;
		border-bottom: 1px solid #efefef;
	}
	a.d-block.dropdown-item.unread {
		background-color: #dCeAff;
	}


/*-- ↓↓↓↓ 桌機版選單 ↓↓↓↓ --*/
#menu ul {
	/* 取消ul預設的內縮及樣式 */
	margin: 0;
	padding: 0;
	list-style: none;
}

	#menu ul.drop-down-menu {
		font-family: "微軟正黑體";
		font-size: 1.1rem;
		text-align: center;
		color: #000;
		text-decoration: none;
		transition-duration: 0.4s;
	}

		#menu ul.drop-down-menu li {
			position: relative;
			white-space: nowrap;
		}

		#menu ul.drop-down-menu a:hover {
			background: #b88519;
			color: #fff;
		}

		#menu ul.drop-down-menu > li {
			float: left;
			/* 只有第一層是靠左對齊*/
		}

		#menu ul.drop-down-menu a {
			background-color: #fff;
			color: #333;
			display: block;
			padding: 0 30px;
			text-decoration: none;
			line-height: 40px;
		}



		#menu ul.drop-down-menu ul {
			background: #FFF;
			font-size: 1rem;
			min-width: 180px;
			box-shadow: 3px 3px 6px #00000016;
			border: #b88519 1px solid;
			position: absolute;
			z-index: 9999;
			left: 0;
			top: 100%;
		}

			#menu ul.drop-down-menu ul li {
				text-align: left;
			}

.dropBlock li {
	padding: 0;
}

.dropBlock::after {
	content: "";
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;
	border-bottom: 10px solid #b88519;
	display: block;
	position: absolute;
	left: 56px;
	top: -10px;
	z-index: -1;
}

#menu ul.drop-down-menu ul { /*隱藏次選單*/
    opacity: 0;
	visibility: hidden;
	transition-duration: .4s;
    }

/* 滑鼠滑入展開次選單*/

#menu ul.drop-down-menu li:hover > ul { /* 滑鼠滑入展開次選單*/
    opacity: 1;
	visibility: inherit;
	transition-duration: .4s;
    }

#appmenu > li[aria-expanded="true"] > ul { 
	opacity: 1;
	visibility: visible;
	transition-duration: .4s;
}


.identity {
	font-family: "微軟正黑體";
	font-size: 1.1rem;
	text-align: center;
	padding: .5rem 1rem;
	color: #000;
	text-decoration: none;
	transition-duration: 0.4s;
}

	.identity:hover {
		color: #FFF;
		background: #A79983;
		transition-duration: 0.4s;
	}

@media all and (max-width: 420px) {
	.threeIcons {
		justify-content: space-around;
	}

		.threeIcons span {
			display: none;
		}

	.redDot {
		right: -10px;
	}

	#navigation {
		position: absolute;
		top: 1%;
	}

	#navbarSupportedContent {
		margin-top: .7rem;
	}

	.identity {
		font-size: .85rem;
		text-align: center;
		padding: .5rem 1rem;
		color: #756356;
		background: #f3f1ee;
		text-decoration: none;
	}
}

@media all and (max-width: 1180px) {
	#menu ul.drop-down-menu li, a.identity{
		font-size: .95rem;
	}
	
	#menu ul.drop-down-menu li a{
		padding: 0 25px;
	}
	
	.redDot{
		right:0;
	}
}

/* ↓↓↓手機版選單 ------------------------------------ */

.navbar-brand {
	color: #FFF;
}

	.navbar-brand:focus {
		color: #FFF;
	}

.navbar-toggler {
	padding: 0;
	margin-top: 5px;
}

	.navbar-toggler:focus {
		box-shadow: none;
	}


#mobileMenu .container-fluid {
	display: block;
}

.navbar {
	position: relative;
}

.nav-item {
	padding: 8px;
	text-align: center;
	position: relative;
}

	.nav-item a {
		color: #FFF;
		font-size: 1rem;
		text-decoration: none;
	}

.mobile-pop {
	width: 220%;
	background: #FFF;
	margin-bottom: 8px;
	padding: 16px 0;
	border-radius: 5px;
	position: relative;
	top: 10px;
	z-index: 100;
}

.nav-item:nth-of-type(even) .mobile-pop {
	left: -115%;
}

.nav-item:nth-of-type(odd) .mobile-pop {
	right: 5%;
}

.mobile-pop a {
	color: #666;
}

.nav-item:nth-of-type(odd) .mobile-pop::before {
	left: calc(25% - 6px);
}

.nav-item:nth-of-type(even) .mobile-pop::before {
	left: calc(75% - 6px);
}

.mobile-active .mobile-pop::before {
	content: "";
	position: absolute;
	top: -6px;
	width: 12px;
	height: 12px;
	background: #FFF;
	border-radius: 4px 0 0 0;
	transform: rotate(45deg);
	transition: all 300ms ease-in-out;
	transition-delay: 500;
	animation-name: triangle;
	animation-duration: .5s;
}

@keyframes triangle {
	from {
		top: 0px;
	}

	to {
		top: -6px;
	}
}

.m-drop-item {
	padding: 8px 32px;
	font-size: 1rem;
	line-height: 20px;
	display: inline-grid;
	align-content: center;
}

a.m-drop-item {
	color: #0A58CA;
}

/* ↓↓↓華夏導報部分 ------------------------------------ */

#epaperBG {
	background: var(--epaperBGcolor);	
}

#epaperBG .slick-dots {
	position: absolute;
	bottom: 1rem;
	width: 30%;
	right: 0;
	z-index: 1000;
	text-align: right;
	padding-right: 3rem;
	}


	
#epaperBG button.slick-autoplay-toggle-button{
	bottom: 1rem;
	width: 20px;
	left: calc(100% - 36px);
    z-index: 1050;
}

.slick-autoplay-toggle-button{
	opacity: 1;
}

.slick-autoplay-toggle-button .slick-pause-icon:before, 
.slick-autoplay-toggle-button .slick-play-icon:before{
	font-size: 0.8rem;
	color: #ffc107;
}

.slick-dots li{
	margin: 0;
	display: inline-flex;
}

/* 選擇dots的元素，添加自定義的顏色 */
.slick-dots li button .slick-dot-icon:before{
	content:"";
	width: .4rem;
	height: .4rem;
	margin: 0 .5rem;
	border-radius: 50%;
	background: #D9D9D9;
}

/* 選擇當前活動dot的元素，添加自定義的顏色 */
.slick-dots li.slick-active button .slick-dot-icon:before{
	margin-top: 0;
	margin: 0 .5rem;
	background: #f5b939 !important;
}

.bannerIntro {
	width: 100%;
	font-size: 1.25rem;
	text-align: left;
	color: #f5b939;
	background-image: linear-gradient(to top, #00000080, #00000060, #00000000);
	position: absolute;
	bottom: 6px;
}

.bannerIntro p {
	padding: 1rem;
	margin-bottom: 0;
	text-shadow: 3px 3px 6px #000;
}

.slick-slider.slick-dotted{
	margin-bottom: 0;
}

@media (min-width: 430px) {
#epaperBG {
	max-height: 430px;
	}

}

@media (max-width: 431px) {
	#epaperBG {
		background: none;
		/*max-height: 270px;*/
	}
	
	#epaperBG .epaperFrame {
		width: 100%;
		position: relative;
		overflow: hidden;
	}
	
	 #epaperBG .epaperFrame img {
		 min-width: 200%;
		 position: relative;
		 left: -55%;
	}

	.itemIntro {
		font-size: .95rem;
		padding: 1rem .5rem;
	}

	.bannerIntro {
		font-size: 1rem;
		width: 100vw;
	}

	#epaperBG .slick-dots {
		width: 100%;
		}

}

/* ↓↓↓四格方塊區域 ------------------------------------ */

#centerIconArea {
	font-size: 0.9rem;
}

#middleBlockArea {
	margin-top: 1rem;
}

.middleBlock {
	width: 23.5%;
	padding: 0;
	overflow: hidden;
	position: relative;
	border-radius: 15px;
	margin-bottom: 1rem;
}

	/* 中B滑入滑出，放大縮小圖*/
	.middleBlock:hover .blockImg img {
		transform: scale(115%);
		transition-duration: .5s;
	}

	.middleBlock .blockImg img {
		transition-duration: .5s;
	}

	.middleBlock:nth-of-type(2), .middleBlock:nth-of-type(6) {
		margin: 0 1% 1rem 2%;
	}

	.middleBlock:nth-of-type(3), .middleBlock:nth-of-type(7) {
		margin: 0 2% 1rem 1%;
	}

#mainContent h2,
#centerBlock h2,
#campusBG h2,
#eventsBG h2,
#todayBG h2,
#footerArea h2
{
	font-size: 1.5rem;
	display: block;
	color: #264d7d;
	font-weight: 700;
}

h4 {
	display: block;
	color: #264d7d;
	font-weight: 700;
}
#centerBlock h4{
	display: block;
	margin-top: .5rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5rem;	
}

#centerBlock h4 span{
	color: #000;
}

.centerBlockTitle{
	display: block;
	margin-top: .5rem;
	margin-bottom: 1.2rem;;
	font-size: 1rem;
	font-weight: 400;
}

.middleBlock .centerBlockTitle{
	position: absolute;
	bottom: -60px;
	color: #2D2D2D;
	width: 100%;
	margin: 0;
	padding: .5rem 1rem;
	z-index: 100;
	opacity: 0;
	transition: all .2s ease-in-out;
}

.middleBlock:hover .centerBlockTitle{
	bottom: 0;
	opacity: 1;
	transition: all .2s ease-in-out;
}

.middleBlock .centerBlockTitle::after{
	content: "";
	background: #f5b939;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	margin: 0;
	box-shadow: 0 3px 9px 9px #67676750;
	z-index: -1;
}

#centerBlock p span {
	color: #707070;
	font-size: .8rem;
	padding-left: 1rem;
}

.blockImg {
	width: 100%;
	height: auto;
	overflow: hidden;
}

#mediaReportSlick .slick-prev.slick-arrow{
	opacity: 1;
	left: 10px;
	transform: scale(200%);
}

#mediaReportSlick .slick-next.slick-arrow{
	opacity: 1;
	right: 18px;
	transform: scale(200%);
}

#mediaReportSlick .slick-next .slick-next-icon, 
#mediaReportSlick .slick-next .slick-prev-icon, 
#mediaReportSlick .slick-prev .slick-next-icon, 
#mediaReportSlick .slick-prev .slick-prev-icon{
	opacity: 0;
	color: #f3f1ee;
}

#mediaReportSlick .slick-next:focus .slick-next-icon, 
#mediaReportSlick .slick-next:focus .slick-prev-icon, 
#mediaReportSlick .slick-prev:focus .slick-next-icon, 
#mediaReportSlick .slick-prev:focus .slick-prev-icon{
	opacity: 1;
	color: #F69;
}



#ytChannel {
	aspect-ratio: 4 / 2.66;
}

.rushNews {
	margin-top: 36px !important;
}


@media (max-width: 767px) {
	.middleBlock h4 {
		font-size: 1.25rem;
	}

	.middleBlock {
		width: 50%;
	}

		.middleBlock:nth-of-type(odd) {
			padding: 0 .5rem 0 1rem;
		}

		.middleBlock:nth-of-type(even) {
			padding: 0 1rem 0 .5rem;
		}

		.middleBlock:nth-of-type(2), .middleBlock:nth-of-type(3), .middleBlock:nth-of-type(6), .middleBlock:nth-of-type(7) {
			margin: 0;
		}

	.rushNews {
		margin-top: 30px !important;
	}

	a.viewAll {
		top: 1px;
	}
}





/* ↓↓↓最新消息區塊 ------------------------------------ */

.newsBlock {
	margin-top: 1rem;
}

.newsItem {
	border-bottom: #f4f4f4 1px inset;
	padding-bottom: .4rem;
	margin-bottom: .4rem;
}

.newsDate {
	height: 16px;
	color: #757575;
	font-size: .85rem;	
	margin-bottom: 3px;
	/*border-left: 16px #C9C9C9 solid;*/
	position: relative;
	letter-spacing: 0.05rem;
}
.newsDate img {
	margin-right:8px;
}
	.newsDate span {
		position: absolute;
		top: 2px;
	}

.newsTitle {
	font-size: 1rem;
	padding-top:5px;
}

.newsDot01 {
	border-color: #83CAB8;
}

.newsDot02 {
	border-color: #DB706D;
}

.newsDot03 {
	border-color: #FDC958;
}

.newsDot04 {
	border-color: #537797;
}

.newsDot05 {
	border-color: #E47C45;
}

.newsDot06 {
	border-color: #64CBCA;
}

.newsDot07 {
	border-color: #AD64CB;
}

.newsDot08 {
	border-color: #F2BADC;
}

.newsDot09 {
	border-color: #B8946E;
}

.newsDot10 {
	border-color: #9EC49C;
}

.newsDot11 {
	border-color: #AB5555;
}

.newsDot12 {
	border-color: #B19A00;
}

.newsDot13 {
	border-color: #7E3191;
}

.newsDot14 {
	border-color: #FF910F;
}

.newsDot15 {
	border-color: #6FD36C;
}

.newsDot16 {
	border-color: #FA7070;
}

.newsDot17 {
	border-color: #FBF0BF;
}

.newsDot18 {
	border-color: #CA3E3E;
}

.newsDot19 {
	border-color: #C3D95A;
}

.newsDot20 {
	border-color: #B8ADC8;
}

#midBanner {
	margin-top: 45px;
}

@media (max-width: 420px) {
	#ccuNews {
		padding: 0 1rem !important;
	}
}


#mediaReportSlick{
	margin-bottom: 0
}


/* ↓↓↓校園焦點區塊 ------------------------------------ */

#campusBG {
	background: #f3f1ee;
	margin-top: 2rem;
	padding: 1.5rem 0 3rem;
}


#campusBG .item{
	padding-right: 1rem;
}

.epaper_s p {
	color: #2972a3;
	font-size: 1.2rem;
	margin: .5rem 0;
	padding: 0 0.5rem;
}

.epaper_s span {
	font-size: .95rem;
	padding: 0 0.5rem;
	color: #333;
	display: block;
}

#epaperSmallSlideSlick .blockImg img {
	transition-duration: .5s;
}

#epaperSmallSlideSlick .blockImg:hover img {
	transform: scale(115%);
	transition-duration: .5s;
}

#campusBG .slick-dots li button .slick-dot-icon:before{
	background: #000 ;
}

#campusBG .slick-prev.slick-arrow{
	opacity: 1;
	left: -3.2rem;
	transform: scale(200%);
}

#campusBG .slick-next.slick-arrow{
	opacity: 1;
	right: -2rem;
	transform: scale(200%);
}

#campusBG .slick-next .slick-next-icon, 
#campusBG .slick-next .slick-prev-icon, 
#campusBG .slick-prev .slick-next-icon, 
#campusBG .slick-prev .slick-prev-icon{
	color: #f3f1ee;
}

#campusBG .slick-next:focus .slick-next-icon, 
#campusBG .slick-next:focus .slick-prev-icon, 
#campusBG .slick-prev:focus .slick-next-icon, 
#campusBG .slick-prev:focus .slick-prev-icon{
	color: #F69;
}

/* ↓↓↓活動平台區塊 ------------------------------------ */

#eventsBG {
	background: #293352;
	padding: 2rem 0 3rem;
}

.eventItem {
	background: #FFF;
	margin: 0 0.5rem;
}

#eventsBG .blockImg img {
	transition-duration: .5s;
}

#eventsBG .blockImg:hover  img {
	transform: scale(115%);
	transition-duration: .5s;
}


.eventContent p {
	width: 90%;
	margin: auto;
	padding: 1rem 0;
	border-bottom: 1px #b9d5e9 solid;
	color: #555555;
}

.eventContent p span {
	display: block;
}

.eventContent p:nth-last-of-type(1) {
	border-bottom: 0;
	padding: 1rem 0 .5rem 0;
}


#eventsBG .slick-prev.slick-arrow{
	opacity: 1;
	left: -3.2rem;
	transform: scale(200%);
}

#eventsBG .slick-next.slick-arrow{
	opacity: 1;
	right: -2rem;
	transform: scale(200%);
}

#eventsBG .slick-next .slick-next-icon, 
#eventsBG .slick-next .slick-prev-icon, 
#eventsBG .slick-prev .slick-next-icon, 
#eventsBG .slick-prev .slick-prev-icon{
	color: #f3f1ee;
}

@media (max-width: 1312px) {

}


/* ↓↓↓今日華岡區塊 ------------------------------------ */

#todayBG {
	background: #e6e6e6;
	padding: 2rem 0 1rem;
}

#weather {
	background: #6fc090;
	min-height: 240px;
	padding: .5rem 0 0;
	position: relative;
}

#weather_pic {
	width: 33%;
	height: 120px;
	padding: .5rem .5rem .5rem 1rem;
	float: left;
}

#weather_temperature {
	width: 58%;
	height: 120px;
	padding: 0 .5rem .5rem;
	color: #FFF;
	font-size: 4rem;
	line-height: 2.5rem;
	float: left;
}

	#weather_temperature span:nth-of-type(1) {
		color: #136936;
		font-size: 1rem;
		display: block;
	}

	#weather_temperature span {
		font-size: 2rem;
	}

.weather_info {
	width: 32.5%;
	color: #fff;
	font-size: 1.5em;
	font-weight: bold;
	padding: 0 0 0 1rem;
	margin-bottom: 1.1rem;
	float: left;
}

	.weather_info span {
		color: #136936;
		font-size: 1rem;
		font-weight: 400;
		display: block;
	}

.weather_sub {
	width: 100%;
	background: #4f705d;
	padding: .3rem 0 .3rem 1rem;
	color: #E8E8E8;
	font-size: 1em;font-weight: 700;
	position: absolute;
	bottom: 0;
}

.weather_sub div {
	display: inline-block;
	}

.weather_sub span {
	color: #FFF;
	margin: 0 0 0 0.5em;
	}

#weather_location span {
	margin-right: 40px;
}

.campusview_content {
	position: relative;
}


.campusview_sub {
	width: 100%;
	color: #f5b939;
	font-size: 1rem;
	background: rgba(7, 63, 114, 0.6);
	padding: .3rem 0 .3rem 1rem;
	position: absolute;
	bottom: 0;
}

#campusViewSlick .slick-prev.slick-arrow{
	opacity: 1;
	left: 10px;
	transform: scale(200%);
}

#campusViewSlick .slick-next.slick-arrow{
	opacity: 1;
	right: 18px;
	transform: scale(200%);
}

#campusViewSlick .slick-next .slick-next-icon, 
#campusViewSlick .slick-next .slick-prev-icon, 
#campusViewSlick .slick-prev .slick-next-icon, 
#campusViewSlick .slick-prev .slick-prev-icon{
	opacity: 0;
	color: #f3f1ee;
}

#campusViewSlick .slick-next:focus .slick-next-icon, 
#campusViewSlick .slick-next:focus .slick-prev-icon, 
#campusViewSlick .slick-prev:focus .slick-next-icon, 
#campusViewSlick .slick-prev:focus .slick-prev-icon{
	opacity: 1;
	color: #F69;
}

/*
.slick-next .slick-next-icon, .slick-next .slick-prev-icon, .slick-prev .slick-next-icon, .slick-prev .slick-prev-icon{
	color: #e6e6e6;
}
*/

.slick-next.slick-arrow{
	right: 1rem;
	opacity: 0;
}

.slick-prev.slick-arrow{
	left: .8rem;
	z-index: 1;
	opacity: 0;
}

.ccuAlbums_sub {
	width: 100%;
	color: #f5b939;
	font-size: 1rem;
	background: rgba(7, 63, 114, 0.6);
	padding: .3rem 0 .3rem 1rem;
	position: absolute;
	bottom: 0;
}

#ccuAlbums .blockImg img,
#campusViewSlick .blockImg img{
	transition-duration: .5s;
}

#ccuAlbums:hover .blockImg img,
#campusViewSlick:hover .blockImg img {
	transform: scale(115%);
	transition-duration: .5s;
}

@media (max-width: 1399px) {
	#weather {
		min-height: 227px;
	}
}

@media (min-width: 1181px) and (max-width: 1190px) {
	#weather {
		min-height: 189px;
	}

	#weather_temperature {
		font-size: 3rem;
		height: 95px;
	}

	#weather_pic {
		height: 95px;
	}

	.weather_info {
		font-size: 1rem;
	}

	#weather_location span {
		margin-right: 0;
	}
}

@media (min-width: 720px) and (max-width: 1180px) {
	#weather {
		min-height: 189px;
	}

	#weather_pic {
		height: 90px;
	}

	#weather_temperature {
		font-size: 3rem;
		height: 90px;
	}

	.weather_info {
		font-size: 1.1rem;
	}

	#weather_location span {
		margin-right: 0;
	}
}

@media (min-width: 720px) and (max-width: 991px) {
	#weather {
		min-height: 138px;
	}

	#weather_location {
		display: none;
	}
}

@media (max-width: 420px) {
	.item.campusview_content {
	margin: 1.5rem 0 1rem 0;
}
}



/* ↓↓↓Footer部分 ------------------------------------ */
#footerArea {
	background: #4a4a52;
	color: #FFF;
	font-size: .8rem;
	padding: 2rem 0;
}


#footerArea h2{
	color:#FFA500;
}

#footerArea h4 {
	color: #ffa500;
}

#importantLink a {
	color: #FFF;
	margin-right: 1rem;
}

#fastLink img {
	margin: 0 .2rem .5rem 0;
}



#contactUs span {
	padding-left: 64px;
}

#socialMedia img {
	margin-right: 1.2rem;
}

@media (max-width: 420px) {
	#fastLink {
		margin-bottom: 1rem;
	}

		#fastLink img {
			width: 48%;
			margin: 0 .5% .5rem;
		}
}

/*--------------蓋掉BS5-----------------*/


.carousel-indicators {
	position: relative;
	margin-bottom: 0;
	margin-top: -43px;
}

.modal-header {
	background: #EFEFEF;
	color: #721B1B;
	text-align: center;
}

.modal-title {
	font-weight: 700;
}



.busInfo {
	text-align: center;
}

	.busInfo:nth-of-type(1) {
		color: #EB1C46;
		font-weight: 700;
		padding-top: 12px;
		padding-right: 0;
	}

	.busInfo:nth-of-type(2) {
		color: #FF9E0D;
		font-weight: 700;
		padding-top: 12px;
		padding-left: 0;
	}

.busInfoUnit {
	padding-bottom: .5rem;
	padding-left: .5rem;
}

.busInfo:nth-of-type(1) .busInfoUnit {
	border-right: 1px solid #E1E1E1;
}

.busInfoContent {
	display: flex;
	padding: .5rem 0 0;
	justify-content: space-between;
}

.busInfoUnit:nth-of-type(odd) {
	background: #EFEFEF;
}

.busStop {
	color: #666;
	text-align: left;
}


@media (min-width: 1400px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1200px;
	}
}



/*因首頁下面一直長白底(body裡的canvas)，故指定body裡的canvas不顯示。*/
body>canvas {
	display:none;
}
/*----*/
/*fade系列：小區翻轉效果(搭配indexCode.js的reveal使用)*/
.fade_up .reveal {
	position: relative;
	transform: translateY(150px);
	opacity: 0;
	transition: 1s all ease;
}

.fade_up:nth-of-type(4) .reveal {
	transition-delay: 0s;
}

.fade_up:nth-of-type(3) .reveal {
	transition-delay: .2s;
}

.fade_up:nth-of-type(2) .reveal {
	transition-delay: .4s;
}

.fade_up:nth-of-type(1) .reveal {
	transition-delay: .6s;
}

.fade_up .reveal.active {
	transform: translateY(0);
	opacity: 1;
}

.flip .reveal {
	position: relative;
	transform: perspective(2500px) rotateY(-100deg);
	opacity: 0;
	transition: 1s all ease;
}

.flip .reveal.active {
		transform: perspective(2500px) rotateY(0deg);
		opacity: 1;
	}

.flip:nth-of-type(2) .reveal {
	transition-delay: .3s;
}

.flip:nth-of-type(3) .reveal {
	transition-delay: .6s;
}

.mvoeIn{
	animation: mvoeIn 0.6s ease both;
	animation-delay: 1s;
}

.mvoeUP{
	animation: mvoeUP 0.6s ease both;
	animation-delay: 1.45;
}


.fadeInDown{
	animation: fadeInDown 0.6s ease both;
	animation-timeline: view(250px 0px);
}

.fadeInLeft{
	animation: fadeInLeft 0.6s ease both;
	animation-timeline: view(350px 0px);
}

@keyframes mvoeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mvoeUP {
  from {
    opacity: 0;
	bottom: -20px;
  }
  to {
    opacity: 1;
	bottom: 0;
  }
}


@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-15px) scale(1.3);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------起始小圖片-------- */
        .splash-image-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 5100; /* 確保它在最上層 */
            animation: hideElement 0s 1s forwards; /* 延遲 1s 後隱藏 */
        }

        .splash-image {
            width: 100px; /* 調整圖片大小 */
            height: auto;
            animation: pulse 1s ease-in-out forwards; /* 播放縮小再放大動畫 */
        }

		/* 圖片的縮小再放大動畫 */
        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(0.8);  opacity: 1;}
            100% { transform: scale(15); opacity: 0;}
        }

/*--------起始遮罩部分---------*/
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            transform-origin: top;
        }

		.overlay_bottom {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100vw;
            height: calc(100vh - 570px);
            transform-origin: bottom;
        }

        #white-overlay-1 {
            background-color: #FFFFFF;
            opacity: 1;
            z-index: 5000;
            animation: shrinkUp ease-in, hideElement;
			animation-duration: 0.5s;
			animation-fill-mode: forwards;
			animation-delay: 1s;

        }

        #white-overlay-2 {
            background-color: white;
            opacity: 0.3;
            z-index: 4000;
            animation: shrinkUp ease-out, hideElement;
			animation-duration: 0.8s;
			animation-fill-mode: forwards;
			animation-delay: 1s;
        }
        
        #white-overlay-3 {
            background-color: white;
            opacity: 0.3;
            z-index: 3000;
            animation: shrinkUp ease-in-out, hideElement;
			animation-duration: 1s;
			animation-fill-mode: forwards;
			animation-delay: 1s;
        }

        #white-overlay-4 {
            background-color: #FFFFFF;
            opacity: 1;
            z-index: 50;
            animation: shrinkDown ease-in, hideElement;
			animation-duration: 0.5s;
			animation-fill-mode: forwards;
			animation-delay: 1.7s;

        }

        #white-overlay-5 {
            background-color: white;
            opacity: 0.3;
            z-index: 40;
            animation: shrinkDown ease-out, hideElement;
			animation-duration: 0.8s;
			animation-fill-mode: forwards;
			animation-delay: 1.7s;
        }
        
        #white-overlay-6 {
            background-color: white;
            opacity: 0.3;
            z-index: 30;
            animation: shrinkDown ease-in-out, hideElement;
			animation-duration: 1s;
			animation-fill-mode: forwards;
			animation-delay: 1.7s;
        }		

		        /*
         * 定義白色覆蓋層的向上縮小動畫。
         * 從 100vh 縮小到 1px。
         */
        @keyframes shrinkUp {
            from {
                height: 100vh;
            }
            to {
                height: 1px;
            }
        }

		@keyframes shrinkDown {
            from {
                height: calc(100vh - 570px);
            }
            to {
                height: 1px;
            }
        }

        
        @keyframes hideElement {
            to {
                visibility: hidden;
            }
        }
