@font-face {
	font-family: "PistilliRoman";
	src: url("../fonts/Pistilli-Roman.otf")
}

html, body {
	padding: 0;
	margin: 0;
	font-size: 16px;
	font-family: 'Montserrat', Arial, "PingFang HK", "PingFang TC","Heiti TC","Microsoft JhengHei", sans-serif;
	line-height: 1.6;
	overflow-x: hidden;
	width: 100%;
	color: #231F20;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*.font1 { font-family: 'Open Sans', sans-serif; }*/
.font1 {
	font-family: 'Helvetica Neue', Helvetica, Arial, "PingFang HK", "PingFang TC", "Heiti TC","Microsoft JhengHei", sans-serif;
}

.font2 {
	font-family: 'Montserrat', "PingFang HK", "PingFang TC","Heiti TC","Microsoft JhengHei", sans-serif;
}

.font3 {
	font-family: 'Abril Fatface', cursive, "PingFang HK", "PingFang TC","Heiti TC","Microsoft JhengHei";
}

.color1 {
	color: #841F27;
}

.color2 {
	color: #231F20;
}

img {
	border: 0;
	vertical-align: middle;
}

img.fullwidth_img {
	width: 100%;
}

img.vmiddle {
	vertical-align: middle
}

.clear {
	clear: both;
}

.text-left {
	text-align: left;
}

.spacer {
	clear: both;
	width: 100%;
	height: 0;
}

.ch_func_mobile_link {
	font-size: 0.8em;
}

.ch_size {
	float: left;
	width: 30px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	color: #898989;
	font-weight: bold;
}

.ch_size a {
	text-decoration: none;
	color: #898989;
}

.ch_size_1 {
	font-size: 14px;
	border-right: 1px solid #898989;
}

.ch_size_2 {
	font-size: 17px;
	border-right: 1px solid #898989;
}

.ch_size_3 {
	font-size: 21px;
}

#ch_wrapper {
	position: relative;
	clear: both;
}

#cf_wrapper {
	position: relative;
	clear: both;
	background-color: #DFE4E8;
	text-align: center;
}

#common_footer_wrapper {
	clear: both;
	padding: 50px 30px 30px 30px;
	text-align: center;
	overflow: hidden;
}

.static-page-banner {
	position: relative;
}
.static-page-banner .banner_item {
	background: no-repeat center;
	background-size: cover;
}
.static-page-banner .banner_item img {
	width: 100%;
	display: block;
}
.static-page-banner h1 {
	font-size: 1em;
	/*margin: 0;*/
	padding: 0;
}
.static-page-banner #banner_text_wrapper {
	position: absolute;
	bottom: 10%;
	left: 10%;
	z-index: 10;
	color: #FFF;
	color:black;
	font-family: "PistilliRoman", Times, serif;
	font-size: 4em;
}

/* Red Button */
a.btn-red, button.btn-red {
	background: #831F27;
	padding: 18px 25px;
	border: none;
	color: #ffffff;
	font-size: 0.8em;
	text-decoration: none;
	display: inline-block;
}
a.btn-red:hover, button.btn-red:hover {
	background: #9c242d;
}

.page-wrap {
	padding: 5% 10%;
}

/* Contact */
.contact-map-container iframe {
	width: 100%;
	height: 500px !important;
}

/* Top Donors Box */
.page-top-donors .box {
	background: #f2f2f2;
	padding: 5%;
}
.page-top-donors .box h2 {
	color: #841F27;
}
.page-top-donors .box:nth-child(even) {
	background: #f7f8f9;
}

/* Header Social Icon */
.header-social-icon, .social-link {
	display: inline-block;
	width: 26px;
	height: 26px;
	background: no-repeat center;
	text-indent: -9999px;
}
.header-social-icon.social-youtube, .social-link.social-youtube {
	background-image: url('../images/icon_youtube.png');
}
.header-social-icon.social-fb, .social-link.social-fb {
	background-image: url('../images/icon_facebook.png');
}
.header-social-icon.social-ig, .social-link.social-ig {
	background-image: url('../images/icon_instagram.png');
}

/* Back to top button */
#back-top-btn {
	position: fixed;
	bottom: 50px;
	right: 30px;
	background: url('../images/back_top.png') no-repeat center #841F27;
	width: 50px;
	height: 50px;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
	text-indent: -9999px;
	opacity: 0;
}
#back-top-btn.show {
	opacity: 1;
}
#back-top-btn:hover {
	background-color: #a5363c;
}

#preview-tag {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 1000;
	padding: 30px 15px 30px 15px;
	background: #841F27;
	color: #ffffff;
}

.responsive-iframe {
	max-width: 100%;
}


/*mobile version*/
@media screen and (max-width: 767px) {
	.editor img {
		max-width: 100%;
		height: auto !important;
	}
	#ch_logo {
		position: relative;
		float: left;
		padding: 8px 0 8px 10px;
	}
	#ch_logo img {
		//width: 150px;
	}

	/* Hide Desktop Menu & Functional Links */
	#ch_func_web {
		display: none;
	}

	/* Mobile Menu */
	#ch_func_mobile {
		float: right;
		vertical-align: top;
		padding: 8px 10px 8px 0;
	}
	#ch_func_mobile img {
		width: 35px;
	}

	#ch_func_mobile_popup .primary-menu {
		margin-bottom: 5px;
	}
	#ch_func_mobile_popup {
		position: absolute;
		width: 100%;
		top: 100%;
		left: 0;
		z-index: 1000;
		border: solid #841F27;
		border-width: 5px 0;
		background-color: #FFFFFF;
		overflow: hidden;
		display: none;
	}

	#ch_func_mobile_item_wrapper a {
		color: #000000;
		text-decoration: none;
	}
	#ch_func_mobile_item_wrapper .item a {
		padding: 5px 20px;
		font-size: 1em;
		display: block;
	}
	#ch_func_mobile_item_wrapper .item.active > span a {
		color: #FFFFFF;
		background-color: #841F27;
	}

	/* Menu Sub-items */
	#ch_func_mobile_popup .primary-menu .item > ul {
		display: none;
		margin: 0;
		padding: 0;
		font-size: 0.8em;
		border-bottom: 1px solid #841F27;
	}
	#ch_func_mobile_item_wrapper .primary-menu .item.active ul {
		display: block;
	}
	#ch_func_mobile_popup .primary-menu .item > ul > li > ul {
		list-style-type: none;
		padding-left: 0;
	}
	#ch_func_mobile_popup .primary-menu .item > ul > li > ul a {
		padding-left: 50px;
	}
	#ch_func_mobile_item_wrapper .item ul a {
		padding-left: 30px;
	}

	/* Secondary Menu */
	#ch_func_mobile_popup .secondary-menu {
		margin: 0;
		padding: 5px 0 0 0;
		border-top: 1px solid #841F27;
	}
	#ch_func_mobile_popup .secondary-menu li {
		list-style-type: none;
	}
	#ch_func_mobile_popup .secondary-menu li a {
		padding: 5px 20px;
		display: block;
	}
	#ch_func_mobile_popup .secondary-menu li.lang-social a {
		padding: 5px 10px;
		display: inline-block;
		line-height: 26px;
	}

	/* Footer */
	#common_footer_menu {
		display: none;
	}

	#common_footer_link {
		display: none;
	}

	#common_footer_copyright {
		display: inline-block;
		font-size: 0.8em;
		line-height: 1.4em;
	}
	#common_footer_wrapper {
		padding: 15px 50px 15px 10px;
		text-align: left;
	}

	.show-desktop {
		display: none;
	}

    /* Page Banner */
	.static-page-banner .banner_item {
		//min-height: 300px;
	}
	.static-page-banner #banner_text_wrapper {
		font-size: 2em;
	}

    /* Contact Page */
	.page-contact {
		padding: 5% 0;
	}
	.contact-map-container iframe {
		height: 250px !important;
	}

	.page-wrap {
		padding: 5% 5%;
	}

	/* Back to top button */
	#back-top-btn {
		width: 40px;
		height: 40px;
		right: 0;
		bottom: 0;
	}

    /* Responsive table for custom page */
	.custom-page .editor table {
		width: 100% !important;
	}
}

/*web version*/
@media screen and (min-width: 768px) {
	#ch_logo {
		position: absolute;
		top: 20px;
		top: 0;
		left: 20px;
		z-index: 1;
	}

	#ch_logo img {
		//width: 220px;
	}

	#ch_func_web {
		padding: 10px 10px 10px 240px;
		font-size: 0.9em;
		z-index: 0;
	}

	#ch_func_web_buttons {
		float: right;
	}

	#ch_func_web_buttons > div {
		float: left;
	}

	#ch_func_web_buttons_donate {
		font-size: 0.9em;
		font-weight: bold;
		text-align: center;
		color: #FFFFFF;
	}
	#ch_func_web_buttons_donate a {
		text-decoration: none;
		color: #FFFFFF;
		background-color: #841F27;
		padding: 3px 7px;
		display: block;
	}
	#ch_func_web_buttons_donate a:hover {
		background-color: #a3303c;
	}

	#ch_func_web_buttons_search {
		border: 1px solid #898989;
		margin-left: 2px;
		position: relative;
	}

	#ch_func_web_buttons_search label {
		display: none;
	}

	#ch_func_web_buttons_search input {
		width: 135px;
		height: 24px;
		font-size: 1em;
		padding: 0 5px;
		margin-right: 24px;
		border: none;
		outline: none;
	}

	#ch_func_web_buttons_search button {
		width: 35px;
		background: url('../images/search.png') no-repeat center #898989;
		border: none;
		text-indent: -9999px;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
	}

	#ch_func_web_buttons_lang {
		font-size: 0.7em;
		line-height: 26px;
		font-weight: bold;
		color: #000000;
	}

	#ch_func_web_buttons_lang > a {
		color: #000000;
		text-decoration: none;
	}

	#ch_func_web_menu {
		float: right;
		padding-top: 10px;
		text-transform: uppercase;
	}

	#ch_func_web_menu .item {
		position: relative;
		float: left;
		padding: 10px 10px;
		font-size: 1.1875em;
	}
	#ch_func_web_menu .item:last-child {
		padding-right: 0;
	}

	#ch_func_web_menu .item .menu-parent {
		color: #000000;
	}

	#ch_func_web_menu .item .menu-parent {
		color: #000000;
		text-decoration: none;
	}
	#ch_func_web_menu .item .menu-parent:hover {
		color: #444444;
	}

	#ch_func_web_menu .item:hover ul, #ch_func_web_menu .item > a.menu-parent:focus + ul {
		display: block;
	}

	#ch_func_web_menu > .item > ul {
		position: absolute;
		top: 100%;
		left: 0;
		padding: 5px;
		z-index: 1010;
		display: none;
		background-color: #FFFFFF;
		border-top: 3px solid #841F27;
		border-bottom: 3px solid #841F27;
	}

	#ch_func_web_menu ul li {
		text-align: left;
		font-size: 0.9375em;
		white-space: nowrap;
		cursor: pointer;
		color: #000000;
		text-decoration: none;
		text-transform: none;
	}
	#ch_func_web_menu ul ul {
		padding-left: 0;
	}
	#ch_func_web_menu ul a {
		display: block;
	}
	#ch_func_web_menu ul ul li a {
		padding-left: 25px;
	}

	#ch_func_web_menu ul li a {
		color: #000000;
		padding: 5px;
		text-decoration: none;
		display: block;
	}

	#ch_func_web_menu ul li:hover a:hover {
		color: #FFFFFF;
		background-color: #841F27;
		text-decoration: none;
	}

	#ch_func_mobile {
		display: none;
	}

	#ch_func_mobile_popup_wrapper {
		display: none;
	}

	#common_footer a {
		color: #000000;
		text-decoration: none;
	}
	#common_footer a:hover {
		color: #444444;
	}

	#common_footer_menu {
		display: inline-block;
		padding: 20px;
		overflow: hidden;
	}

	#common_footer_menu .item {
		float: left;
		padding: 10px;
		text-align: left;
	}

	#common_footer_menu .item .menu-parent {
		text-align: left;
		font-size: 0.875em;
		line-height: 200%;
		font-weight: bold;
		color: #231F20;
		text-transform: uppercase;
	}

	#common_footer_menu .item ul {
		margin: 0;
		padding: 0;
	}
	#common_footer_menu .item ul li {
		text-align: left;
		line-height: 160%;
		color: #231F20;
		list-style-type: none;
	}
	#common_footer_menu .item > ul > li {
		font-size: 0.75em;
	}
	#common_footer_menu .item > ul > li > ul > li {
		list-style-type: disc;
	}
	#common_footer_menu .item > ul > li > ul {
		margin-left: 1.5em;
	}

	#common_footer_link {
		float: left;
	}

	#common_footer_link > div {
		float: left;
		padding: 0px 10px;
		font-size: 0.875em;
		line-height: 100%;
		font-weight: bold;
	}

	#common_footer_copyright {
		float: right;
		font-size: 0.7em;
	}

	.hide-desktop {
		display: none;
	}

	#common_header {
		position: fixed;
		z-index: 10;
		width: 100%;
		background-color: #fff;
		top: 0;
	}

	#common_content {
		position: relative;
		z-index: 9;
	}

	#space_header {
		height: 102px;
	}

	/* A shorter header when scrolling down */
	#common_header, #ch_logo {
		-webkit-transition: top 0.3s;
		-moz-transition: top 0.3s;
		-ms-transition: top 0.3s;
		-o-transition: top 0.3s;
		transition: top 0.3s;
	}
    .slim_header #common_header {
	    top: -40px;
    }
    .slim_header #ch_logo {
	    top: 45px;
    }

	.editor img {
		max-width: 100%;
		height: auto !important;
	}
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
	#ch_logo img {
		//width: 170px;
	}
	#ch_func_web_menu .item {
		padding: 7px 7px;
		font-size: 1em;
	}
	#ch_func_web_menu .item:last-child {
		padding-right: 0;
	}
}

#ch_func_web_menu ul {
	margin-top: 0;
}

#ch_func_web_menu ul li {
	list-style-type: none;
}

.font-middle {
	font-size: 18px;
}

.font-large {
	font-size: 20px;
}

.lang-zh_hk #common_footer_menu .item ul li {
	font-size: 0.85em;
}
.lang-zh_hk #common_footer_menu .item .menu-parent {
	font-size: 0.95em;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.header-social-icon.social-youtube, .social-link.social-youtube {
		background-image: url('../images/icon_youtube@2x.png');
		background-size: 26px 26px;
	}
	.header-social-icon.social-fb, .social-link.social-fb {
		background-image: url('../images/icon_facebook@2x.png');
		background-size: 26px 26px;
	}
	.header-social-icon.social-ig, .social-link.social-ig {
		background-image: url('../images/icon_instagram@2x.png');
		background-size: 26px 26px;
	}
}