html {
	scroll-behavior: smooth;
}

body,
div,
button,
section,
select,
option,
input,
ul,
li,
a,
label {
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 18px;
	color: #000;
}

body {
	padding: 0px;
	margin: 0px;
	background-color: #ebebeb;
}

a img {
	border: 0px;
}

.flickity-viewport {
	opacity: 0;
}

.body-wrapper {
	display: flex;
	justify-content: center;
}

.body-width-limited {
	max-width: 1280px;
}

.flexboxes {
	display: inline-flex;
	flex-wrap: wrap;
}

.half-space {
	display: inline-block;
	width: 5px;
	min-width: 5px !important;
	max-width: 5px !important;
}

.body-width-limited,
.home-media,
.direction-video,
.header-text-sub-menu,
.button-menu-wrapper {
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25);
}

.header-text-menu,
.header-text-menu-item,
.header-text-sub-menu,
.header-text-sub-menu-item,
.header-button-menu,
.button-menu-wrapper,
.button-menu-wrapper div {
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
}

.body-wrapper,
.body-width-limited,
.flexboxes,
.header,
.header-spacing,
.home-carousel,
.carousel-cell,
.carousel-images,
.home-media,
.footer-wrapper,
.footer-copyright-wrapper,
.button-menu-wrapper,
.map {
	width: 100%;
}

.home-carousel,
.carousel-cell,
.carousel-images {
	aspect-ratio: 5 / 2;
}

.home-media,
.direction-video {
	aspect-ratio: 16 / 9;
}

.header-wrapper {
	top: 0px;
	left: 0px;
	min-width: 368px;
	z-index: 10;
}

.header,
.header-spacing {
	height: 100px;
}

.header-logo {
	background: url(/image/twpct-logo-header.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 406px;
	height: 80px;
	margin: 10px 10px 10px 20px;
}

.footer-wrapper {
	border-top: 1px solid #dcdcdc;
}

.footer-contact-wrapper {
	width: auto;
	max-width: 480px;
	text-align: left;
}

.footer-logo-wrapper {
	margin-top: 20px;
	margin-bottom: 10px;
	padding: 0px 20px;
}

.footer-line-wrapper {
	display: flex;
	width: 100%;
	max-width: 128px;
	margin-top: 102px;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}

.footer-line-wrapper img {
	position: relative;
	top: 5px;
	width: 128px;
	height: 128px;
}

.footer-media-wrapper {
	max-width: 480px;
	min-width: 320px;
	justify-content: center;
}

.footer-content-container {
	max-width: 480px;
	min-width: 320px;
	margin: auto;
}

.footer-content-container div,
.footer-content-container div a {
	font-size: 16px;
}

.footer-copyright-wrapper {
	height: 40px;
	justify-content: center;
	text-align: center;
	font-size: 16px;
	padding: 20px 0px;
}

.header-menu-wrapper {
	display: block;
	float: right;
	margin-right: 20px;
	margin-top: 63px;
}

.header-text-menu {
	display: block;
}

.header-text-menu-item {
	display: inline-block;
	margin: 0px 5px;
}

.header-text-sub-menu {
	position: absolute;
	opacity: 0;
	background: rgba(255, 255, 255, 0.9);
	z-index: 2;
}

.header-text-sub-menu-item {
	padding: 3px 10px;
	border: 1px solid #dcdcdc;
	border-top: 1px solid transparent;
}

.header-button-menu {
	position: relative;
	top: -33px;
	display: none;
}

.button-menu-wrapper {
	position: absolute;
	top: 0px;
	left: 0px;
	background: rgba(255, 255, 255, 0.97);
	visibility: hidden;
	z-index: 9;
}

.button-menu-indicator-wrapper {
	position: relative;
	top: -2px;
	height: 10px;
	width: 16px;
	line-height: 18px;
	display: inline-block;
	overflow: hidden;
}

.button-menu-indicator {
	position: relative;
	top: 0px;
}

.section-width {
	max-width: 980px;
	min-width: 300px;
	margin: auto;
	padding: 10px;
}

.section-title {
	margin-left: 14px;
	padding-top: 20px;
	font-size: 24px;
}

.home-carousel {
	background: url(/image/icon/loading-heart.gif);
	background-position: center center;
	background-repeat: no-repeat;
	background-color: white;
}

.weekly-verse-width {
	max-width: calc(100% - 20px);
	padding: 2px 10px;
}

.home-media-title {
	max-width: 320px;
}

.media-item {
	flex-grow: 1;
	font-size: 18px;
	margin: 10px 10px;
}

.media-item div {
	margin: 0px 3px;
}

.home-media,
.direction-video {
	min-width: 240px;
	min-height: 135px;
}

.home-media {
	max-width: 960px;
	max-height: 540px;
	margin-top: 5px;
	border: 1px solid #eee;
}

.home-media-divider {
	width: 100%;
	line-height: 1px;
	margin: 20px 0px !important;
	border-bottom: 1px dashed #a5a5a5;
}

.contact-wrapper {
	width: 33%;
	min-width: 320px;
}

.contact-tiem {
	margin-bottom: 30px;

	div {
		align-self: center;
	}
}

.contact-icon {
	width: 24px;
	height: 24px;
	margin: 0px 10px;
}

.contact-line-wrapper {
	text-align: center;
}

.social-media-link {
	display: inline-block;
	margin: 84px 0px 20px 10px;
}

.social-media-link img {
	width: 36px;
	height: 36px;
}

.direction-video {
	max-width: 600px;
	max-height: 360px;
	margin: 10px;
}

.map {
	height: 400px;
	border-top: 1px solid #dcdcdc;
}

.map-info {
	font-size: 16px;
}

.nav-icon {
	position: relative;
	top: 1px;
}

.marquee {
	height: 30px;
	overflow: hidden;
	position: relative;
	color: #333;
	transition: height 0.3s;
	cursor: pointer;
}

.marquee div {
	position: absolute;
	width: auto;
	height: 100%;
	margin: 0;
	line-height: 30px;
	text-align: center;
	white-space: nowrap;
}

@keyframes scroll-left-first-run {
	0% {
		-moz-transform: translateX(100%);
		-webkit-transform: translateX(100%);
		transform: translateX(0%);
	}

	100% {
		-moz-transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}
}

@keyframes scroll-left {
	0% {
		-moz-transform: translateX(100%);
		-webkit-transform: translateX(100%);
		transform: translateX(100vw);
	}

	100% {
		-moz-transform: translateX(-100%);
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%);
	}
}

@media all and (max-width: 320px) {
	.header-logo {
		width: 231px;
		height: 40px;
		margin: 5px 15px;
	}

	.header-button-menu {
		top: -38px;
	}
}

@media all and (max-width: 480px) {
	.footer-contact-wrapper {
		width: 100%;
		text-align: center;
	}

	.footer-line-wrapper {
		width: 100%;
		max-width: 100%;
		margin-top: 40px;
	}
}

@media all and (max-width: 620px) {
	.header-logo {
		background: url(/image/twpct-logo-header-small.png);
		background-repeat: no-repeat;
		width: 261px;
		height: 45px;
		margin: 5px 15px;
	}

	.header-button-menu {
		top: -50px;
	}

	.header {
		height: 55px;
		padding: 0px 5px;
	}

	.header-spacing {
		height: 55px;
	}
}

@media all and (max-width: 640px) {}

@media all and (max-width: 787px) {
	.footer-media-wrapper {
		text-align: center;
	}
}

@media all and (max-width: 800px) {
	.header-text-menu {
		display: none;
	}

	.header-button-menu {
		display: block;
	}
}