@charset "UTF-8";
/* =========================================================================

==base
==header
==banner
==service
==news
==album
==footer
==breadcrumb + pagination
==team
==RWD

========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+TC:wght@100..900&display=swap');

/* =========================================================================
==base
========================================================================= */
:root {
	--fs-BNTitle: 48px;
	--fs-BNTxt: 20px;
	--fs-sectionTitle: 36px;
	--fs-infoTitle: 28px;
	--fs-sidebarTitle: 22px;
	--fs-itemTitle: 22px;
	--fs-footerTitle: 22px;
	--fs-headerNav: 18px;
	--fs-normal: 16px;
	--fs-small: 14px;

	--section: 80px;

	--cnvs-themecolor: #0A2C6B;
	--cnvs-themecolor-rgb: 10, 44, 107;
	--cnvs-blue: #267DF4;
	--cnvs-bgblue: #F4F8FE;
	--cnvs-orange: #FE7546;
	--cnvs-red: #EF4368;
	--cnvs-gray: #888888;
	--cnvs-youtube-hover: #E00000;
}

/* ================= base ================= */
body,
.form-control {
	word-break: break-word;
	letter-spacing: 1px;
	line-height: 1.8;
	font-weight: 400;
	font-family: "Noto Sans TC", sans-serif;
	color: var(--cnvs-black);
	font-size: var(--fs-normal);
}

.form-control::placeholder {
	color: var(--cnvs-contrast-500);
}

p:last-child,
ul:last-child,
ol:last-child,
li:last-child,
form:last-child,
.form-control:last-child {
	margin-bottom: 0;
}

a {
	color: var(--cnvs-black);
	transition: .3s ease;
}

a:hover {
	color: var(--cnvs-themecolor);
}

button {
	transition: .3s ease;
}

/* ================= ellipsis ================= */
.one-row { 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.two-row { 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.two-row.php_info_wrap {
	height: 58px;
}

.two-row.item-title {
	height: 58px;
}

.vertical-middle .two-row.item-title {
	height: auto;
}

.three-row { 
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.three-row.php_info_wrap {
	height: 87px;
}

@media (min-width:768px) {
	.three-md-row {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
}

@media (min-width:1200px) {
	.two-xl-row {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
	}
}

/* ==================== btn ==================== */
.btn-base {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	color: var(--cnvs-white);
	background-color: var(--cnvs-themecolor);
	padding: 12px 32px;
	border-radius: 100px;
	transition: .3s ease;
}

.btn-base:hover {
	color: var(--cnvs-white);
	background-color: var(--cnvs-blue);
}

.btn-base.orange {
	background-color: var(--cnvs-orange);
}

.btn-base.orange:hover {
	background-color: var(--cnvs-red);
}

/* ==================== title ==================== */
.section-title {
	font-weight: 700;
	font-size: inherit;
}

.section-title .ch {
	display: block;
	font-size: var(--fs-sectionTitle);
	color: var(--cnvs-themecolor);
	line-height: 1.5;
}

.section-title .en {
	display: inline-block;
	font-family: "Montserrat", sans-serif;
	font-size: var(--fs-small);
	line-height: 1.3;
	background-color: rgba(38, 125, 244, 0.10);
	margin-bottom: 12px;
}

.section-title::after {
	content: '';
	display: block;
	width: 50px;
	height: 3px;
	background-color: var(--cnvs-orange);
	margin-top: 24px;
}

.section-title.text-center::after {
	margin-left: auto;
	margin-right: auto;
}

.footer-title {
	font-size: var(--fs-footerTitle);
}

.footer-title::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background-color: var(--cnvs-orange);
	margin-top: 24px;
}
	
.item-title {
	font-size: var(--fs-itemTitle);
	color: var(--cnvs-themecolor);
	line-height: 1.3;
	font-weight: 700;
}

.item-title a {
	color: var(--cnvs-themecolor);
}

.item-title a:hover,
.item-title a:active {
	color: var(--cnvs-red);
}

h4.footer-title {
	font-size: var(--fs-footerTitle);
}

.sidebar-title {
	display: inline-block;
	font-size: var(--fs-sidebarTitle);
	color: var(--cnvs-black);
	position: relative;
	font-weight: 700;
}

.sidebar-title::after {
	content: '';
	width: 105px;
	height: 8px;
	background-color: rgb(254 117 70 / 20%);
	position: absolute;
	bottom: 0;
	left: 0;
}

.info-title {
	font-size: var(--fs-infoTitle);
	color: var(--cnvs-black);
	text-decoration: underline;
	text-decoration-skip-ink: none;
	text-decoration-thickness: 10px;
	text-decoration-color: rgba(254, 117, 70, .2);
	text-underline-offset: -1px;
}

/* ==================== other ==================== */
.section {
	background-color: transparent;
	padding: var(--section) 0;
	margin: 0;
}

.text-justify {
	text-align: justify !important;
}

.color-blue {
	color: var(--cnvs-blue) !important;
}

.color-red,
.h-color-red:hover,
.h-color-red:active {
	color: var(--cnvs-red) !important;
}

.color-gray {
	color: var(--cnvs-gray) !important;
}

.color-orange,
.h-color-orange:hover,
.h-color-orange:active {
	color: var(--cnvs-orange) !important;
}

.bg-youtube:hover,
.bg-youtube:active {
	background-color: var(--cnvs-youtube-hover) !important;
}

.bg-blue {
	background-color: var(--cnvs-blue) !important;
}

.bg-bgblue {
	background-color: var(--cnvs-bgblue) !important;
}

.bg-red {
	background-color: var(--cnvs-red) !important;
}

.bg-orange {
	background-color: var(--cnvs-orange) !important;
}

.shadow {
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.20) !important;
}

.section-patch {
	padding: calc(var(--section) - 20px) 0;
}

@media (min-width: 992px) {
	.position-lg-absolute {
		position: absolute !important;
	}

	.translate-middle-lg-y {
    transform: translateY(-50%) !important;
	}
}

/* =========================================================================
==header
========================================================================= */
#header {
	--cnvs-header-height-shrink: 75px;
}

#header-wrap {
	background-image: url(../images/header_bg.png);
	background-size: 31%;
	background-position: left center;
	border-bottom: 1px solid #DDD;
}

.header-wrap-clone {
	height: 127px;
}

/* ==================== nav ==================== */
.is-expanded-menu .menu-link {
	padding: 32px 20px;
}

.menu-link,
.sub-menu-container .menu-item > .menu-link {
	color: var(--cnvs-themecolor);
	font-size: var(--fs-headerNav);
	font-weight: 600;
	line-height: 1.5;
	transition: .3s ease;
}

.menu-item:hover > .menu-link,
.is-expanded-menu .sub-menu-container .menu-item:hover > .menu-link {
	color: var(--cnvs-red);
}

.is-expanded-menu .menu-container > .menu-item:not(:first-child) {
	margin-left: 5px;
}

/* ==================== func ==================== */
.header-misc .youtube-link a {
	padding: 6px 32px;
}

/* search */
.header-misc-icon > a {
	font-size: 18px;
}

#top-search::before {
	content: '';
	height: 20px;
	width: 1px;
	background-color: var(--cnvs-gray);
	display: block;
	margin: 0 36px;
}

.top-search-open .top-search-parent #top-search::before {
	opacity: 0;
}

.top-search-form input {
	font-size: var(--fs-headerNav);
}

.top-search-form input::placeholder {
	color: var(--cnvs-contrast-500);
}

/* ==================== logo ==================== */
#header-wrap #logo img,
.is-expanded-menu #header.sticky-header-shrink #header-wrap #logo img {
	height: 110px;
}

/* =========================================================================
==banner
========================================================================= */
#slider {
	aspect-ratio: 2000 / 885;
}

.slider-caption {
	max-width: 700px;
}

.swiper-slide-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%);
}

.banner-title {
	font-size: var(--fs-BNTitle);
	font-weight: 600;
	line-height: 1.3;
	color: var(--cnvs-white);
	margin-bottom: 0;
}

.banner-txt,
.slider-caption p {
	font-size: var(--fs-BNTxt);
	font-weight: 400;
	color: var(--cnvs-white);
	margin-bottom: 0;
}

/* ==================== banner underbox ==================== */
.banner-underbox-wrap {
	transform: translateY(-50%);
}

.banner-underbox {
	width: 1400px;
	margin-left: auto;
	border-radius: 6px 0 0 6px;
}

.banner-underbox .item {
	padding: 40px 24px;
}

.banner-underbox > div:first-child {
	border-left: 6px solid #000F2C;
}

.banner-underbox .item .title {
	font-size: var(--fs-itemTitle);
}

.banner-underbox img {
	width: 50px;
}

/* =========================================================================
==service
========================================================================= */
.index-service-wrap {
	margin-top: -179px; /*(-1 * banner-underbox-wrap高度)*/
	padding-top: calc(var(--section) + (179px / 2));/*(section高度 + banner-underbox-wrap高度/2)*/
}

.item-img-wrap img {
	aspect-ratio: 960 / 540;
	width: 100%;
	object-fit: contain;
	transition: .3s ease;
}

.item-img-wrap:hover img {
	transform: scale(1.05);
}

.card-border-bottom {
	border-bottom: 4px solid var(--cnvs-themecolor);
}

/* ==================== decoimg ==================== */
.decoimg-right,
.decoimg-left {
	top: -255px;
}

/* ==================== donate ==================== */
#donate-nav {
	border-bottom: 4px double var(--cnvs-orange);
}

#donate-nav .wrap {
  width: fit-content;
  max-width: calc(100% - 70px);
  margin: auto;
}

#donate-nav .wrap i {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  padding: 5px 12px;
  cursor: pointer;
  color: var(--cnvs-themecolor);
  display: none;
}
#donate-nav .wrap .right-btn {
  right: -40px;
  left: auto;
}

.tab-menu,
#donate-nav .nav {
  overflow-x: scroll;
  flex-wrap: nowrap;
  user-select: none;
  scroll-behavior: smooth;
}

.tab-menu.dragging,
#donate-nav .nav.dragging {
  scroll-behavior: unset;
  cursor: grab;
}

#donate-nav .nav::-webkit-scrollbar {
  display: none;
}

#donate-nav .nav .item {
  white-space: nowrap;
  margin: 0 8px;
}

.tab-menu.dragging .tab-item,
#donate-nav .nav.dragging .item {
  pointer-events: none;
}

#donate-nav .nav .item a {
  padding: 6px 24px;
  color: var(--cnvs-themecolor);
	border: 1px solid var(--cnvs-themecolor);
  cursor: pointer;
  border-radius: 30px;
  transition: .3s all;
}

#donate-nav .nav .item .active {
  color: var(--cnvs-white);
  background-color: var(--cnvs-themecolor);
}

@media (min-width:992px) {
	#donate-nav .wrap i:hover {
		color: var(--cnvs-red);
	}
	
	#donate-nav .nav .item:hover a,
	#donate-nav .nav .item:hover .active {
		color: var(--cnvs-white);
		background-color: var(--cnvs-themecolor);
	}
}
	

/* =========================================================================
==news
========================================================================= */
.owl-carousel .owl-dots .owl-dot {
	width: 20px;
	height: 5px;
	border-radius: 4px;
	background-color: var(--cnvs-blue);
	transition: all .3s ease-out;
	opacity: .3;
}

.owl-carousel .owl-dots .owl-dot.active { 
	width: 45px;
}

/* ==================== sidebar ==================== */
.sidebar-wrap {
  top: 163px;
	position: sticky;
}

.news_1__widget-item {
  border: 2px solid var(--cnvs-themecolor);
	background-color: var(--cnvs-bgblue);
  background-image: url(../images/hero-bg-icons_sidebar.svg);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
  margin-bottom: 36px;
}

.news_1__widget-categories li {
  border-bottom: 1px solid #DDD;
	transition: .3s ease;
}

.news_1__widget-categories li:hover {
  border-color: var(--cnvs-themecolor);
  background-color: rgb(38 125 244 / 30%);
}

.news_1__widget-categories li.active {
  border-color: var(--cnvs-themecolor);
  background-color: var(--cnvs-themecolor);
}

.news_1__widget-categories li.active a,
.news_1__widget-categories li.active span {
  color: var(--cnvs-white);
}

.news_1__widget-categories i {
  font-size: 12px;
	transform: translateY(4px);
}

.news_1__widget-categories li a {
	padding: 12px 16px;
}


/* ==================== hot ==================== */
.news_1__side-thumb {
  width: 120px;
}

.news_1__side-content {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  width: calc(100% - 136px);
  margin-top: -7px;
}

.news_1__side-content span {
  color: #888888;
  font-size: 14px;
  text-transform: uppercase;
}

.news_1__side-content h3 {
  font-size: 18px;
}

.news_1__side-content h3 a:hover {
  color: var(--cnvs-themecolor);
}

/* =========================================================================
==album
========================================================================= */
.ecommerce-categories [class^=col-] {
	position: relative;
	margin-bottom: 24px;
}

.ecommerce-categories [class^=col-] > a {
	display: block;
	position: relative;
	height: 250px;
	background-color: #EEE;
}

.ecommerce-categories [class^=col-] > a::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: var(--cnvs-black);
	opacity: 0.5;
	-webkit-transition: all .7s ease;
	transition: all .7s ease;
}

.ecommerce-categories [class^=col-] > a:hover::before,
.ecommerce-categories [class^=col-] > a:hover .item-title { 
	opacity: 0;
}

/* ==================== list ==================== */
.album-list-wrap.ecommerce-categories [class^=col-] > a::before {
	background: linear-gradient(0deg, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0));
	opacity: 1;
	top: auto;
	bottom: 0;
	height: 30%;
}

.album-list-wrap.ecommerce-categories [class^=col-] > a:hover::before {
	opacity: 0;
}

.album-img-item {
	aspect-ratio: 960 / 540;
}

/* =========================================================================
==contact
========================================================================= */
.index-contact-wrap .img-wrap:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(10, 44, 107, 0.3);
	pointer-events: none;
}

.index-contact-wrap .contact-box {
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.9);
}

/* =========================================================================
==footer
========================================================================= */
/* ==================== logo ==================== */
.footer-logo {
	width: 100px;
}

.footer-h1 {
	line-height: 1.75;
}

/* ==================== sns ==================== */
.social-icon {
	--cnvs-socialicon-size: 32px
}

.social-icon i {
	font-size: var(--fs-normal);
}

/* ==================== widget ==================== */
#footer .widget a {
	display: block;
	width: 125px;
}

#footer a:hover,
#footer a:active {
	color: var(--cnvs-red);
}

/* ==================== float sns ==================== */
.float-sns-wrap {
	right: 26px;
	bottom: calc(44px + 48px + 16px); /* gotop bottom + item width + gap */
	z-index: 599;
}

.float-sns-wrap .social-icon {
	--cnvs-socialicon-size: 48px;
}

.float-sns-wrap .social-icon i {
	font-size: 24px;
}

/* =========================================================================
==breadcrumb + pagination
========================================================================= */
/* ==================== breadcrumb ==================== */
.breadcrumb-title {
	font-size: var(--fs-sectionTitle);
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 1px;
}

.php_breadcrumb li:not(:last-child)::after {
	content: '/';
	display: inline-block;
	margin: 0 12px;
	color: var(--cnvs-white);
	opacity: .7;
}

/* ==================== pagination ==================== */
.page-item {
	margin: 0 4px;
}

.page-link {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--cnvs-blue);
	border-color: var(--cnvs-blue);
}

.page-link:hover {
	background: var(--cnvs-blue);
	border-color: var(--cnvs-blue);
	color: var(--cnvs-white);
}

.active > .page-link {
	background: var(--cnvs-blue);
	border-color: var(--cnvs-blue);
}

.page-link.arrow {
	background-color: transparent;
	color: var(--cnvs-blue);
	border-radius: 50% !important;
}

.page-link.arrow:hover,
.page-link.arrow:active {
	background-color: var(--cnvs-blue);
	color: var(--cnvs-white);
}

.page-link.arrow i {
	font-size: 12px;
}

/* =========================================================================
==team
========================================================================= */
.cer-item-wrap:nth-child(even) {
	animation-delay: .1s;
}

.cer-img::before,
.cer-img::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 90%;
	height: 90%;
	border: 2px solid var(--cnvs-blue);
	border-radius: 8px;
	z-index: -1;
	transition: .3s ease-in-out;
}

.cer-img::before {
	opacity: 0;
  background: linear-gradient(90deg, rgb(38 125 244 / 50%) 0%, rgb(254 117 70 / 50%) 100%);
	transition: .3s ease-in-out;
}

.cer-item:hover .cer-img::after {
	width: 100%;
	height: 100%;
}

.cer-item:hover .cer-img::before {
	width: 100%;
	height: 100%;
	opacity: 1;
}

.cer-img img {
	aspect-ratio: 1 / 1;
}

/* =========================================================================
==RWD
========================================================================= */
@media (max-width: 1599px) {
	/* ==================== banner ==================== */
	.banner-underbox {
		width: 1330px;
	}

	/* ==================== deco ==================== */
	.decoimg-right {
		width: 375px;
		top: -230px;
	}

	.decoimg-left {
		width: 350px;
		top: -170px;
	}
}

@media (max-width: 1399px) {
	/* ==================== header ==================== */
	#header-wrap {
		background-size: 45%;
	}

	.header-wrap-clone {
		height: 117px;
	}

	#header-wrap #logo img,
	.is-expanded-menu #header.sticky-header-shrink #header-wrap #logo img {
		height: 100px;
	}

	/* ==================== banner ==================== */
	.banner-underbox {
		width: 98%;
	}
	
	.banner-underbox .item {
		padding: 24px 16px;
	}

	.banner-underbox img {
		width: 40px;
	}
}

@media (max-width: 1199px) {
	/* ==================== deco ==================== */
	.decoimg-right {
		width: 320px;
		top: -210px;
	}

	.decoimg-left {
		width: 310px;
		top: -150px;
	}

	/* ==================== header ==================== */
	.is-expanded-menu .menu-link {
		padding: 32px 12px;
	}

	#top-search::before {
		margin: 0 28px;
	}

	#header-wrap > img {
		width: 130px;
	}

	/* ==================== banner ==================== */
	.banner-underbox-wrap {
		transform: none;
	}

	.banner-underbox {
		width: 100%;
		margin: 0;
		border-radius: 0;
	}

	.banner-underbox > div:first-child {
		border-left: 0;
	}

	/* ==================== service ==================== */
	.index-service-wrap {
		margin-top: 0;
    padding-top: var(--section);
	}
}

@media (max-width: 991px) {
	.wow {
		animation-name: none !important;
		visibility: visible !important;
		opacity: 1;
	}

	:root {
		--fs-BNTitle: 40px;
		--fs-BNTxt: 18px;
		--fs-sectionTitle: 32px;
		--fs-infoTitle: 26px;
		--fs-sidebarTitle: 20px;
		--fs-itemTitle: 20px;
		--fs-footerTitle: 20px;
		--fs-headerNav: 17px;
	
		--section: 60px;
	}
	
	.two-row.item-title {
		height: 52px;
	}

	/* ==================== deco ==================== */
	.decoimg-right {
		width: 285px;
		top: -215px;
	}

	.decoimg-left {
		width: 275px;
		top: -120px;
	}

	/* ==================== header ==================== */
	#header-wrap {
		background-size: 56%;
	}

	#header-wrap #logo img {
		height: 85px;
	}

	.header-wrap-clone {
		height: 102px;
	}

	/* ==================== banner ==================== */
	.banner-underbox .item {
		padding: 16px;
	}

	/* ==================== footer ==================== */
	.footer-logo {
		width: 95px;
	}

	.footer-title::after {
		margin-top: 16px;
	}

	/* ==================== team ==================== */
	.cer-item .cer-img {
		padding: 12px;
	}
}

@media (max-width: 767px) {
	.btn-base {
		padding: 8px 24px;
	}

	/* ==================== deco ==================== */
	.decoimg-right {
		width: 245px;
		top: -200px;
	}

	.decoimg-left {
		width: 230px;
		top: -115px;
	}

	/* ==================== header ==================== */
	#header-wrap > img {
		width: 110px;
	}

	.header-wrap-clone {
		height: 94px;
	}

	/* ==================== album ==================== */
	.ecommerce-categories [class^=col-] > a {
		height: 200px;
	}

	/* ==================== footer ==================== */
	#footer .widget a {
		width: 115px;
	}
}

@media (max-width: 575px) {
	:root {
		--fs-BNTitle: 30px;
		--fs-sectionTitle: 28px;
		--fs-infoTitle: 24px;
	
		--section: 40px;
	}

	.two-row.item-title {
		height: 52px;
	}

	/* ==================== deco ==================== */
	.decoimg-right,
	.decoimg-left {
		display: none;
	}

	/* ==================== header ==================== */
	#header-wrap {
		background-size: 100%;
	}
	
	.header-misc .youtube-link a {
		padding: 0;
		background: transparent !important;
		color: var(--cnvs-color-youtube) !important;
		font-size: 24px;
	}

	#top-search::before {
		display: none;
	}

	#header-wrap #logo img {
		height: 75px;
	}

	.header-wrap-clone {
		height: 84px;
	}

	/* ==================== banner ==================== */
	.banner-txt, .slider-caption p {
		display: none;
	}

	/* ==================== album ==================== */
	.ecommerce-categories [class^=col-] > a {
		height: 150px;
	}

	/* ==================== team ==================== */
	.cer-item .cer-img {
		padding: 10px;
	}

	/* ==================== news ==================== */
	.news-share-wrap [class*=border-] {
		border: 0 !important;
	}

	.news-share-wrap a {
		display: inline-block;
		font-size: 24px;
		margin: 0 8px;
	}

	.news-share-wrap a[title="Facebook"] {
		font-size: 26px;
	}
}