/* Generic CSS*/
@import url('https://fonts.googleapis.com/earlyaccess/notosanstc.css');
html,body{
	margin:0;padding:0;
	font-family:'Noto Sans TC', "Microsoft JhengHei","Arial",Helvetica,sans-serif;
}

.row{
	margin:0px;
}
.flex-col{
	flex-direction: column;
}
.fullwidth{
	width: 100%;
}
.fullheigth{
	height: 100%;
}
.dnone{
	display:none;
}
.mt-10{
	margin-top: 10px;
}
.mb-10{
	margin-bottom: 10px;
}
.mtb-10{
	margin-top: 10px;
	margin-bottom: 10px;
}
.mt-30{
	margin-top: 30px;
}
.mb-30{
	margin-bottom: 30px;
}
.mtb-30{
	margin-top: 30px;
	margin-bottom: 30px;
}
.mt-50{
	margin-top: 50px;
}
.mb-50{
	margin-bottom: 50px;
}
.mtb-50{
	margin-top: 50px;
	margin-bottom: 50px;
}

.pt-10{
	padding-top: 10px;
}
.pb-10{
	padding-bottom: 10px;
}
.ptb-10{
	padding-top: 10px;
	padding-bottom: 10px;
}
.pt-30{
	padding-top: 30px;
}
.pb-30{
	padding-bottom: 30px;
}
.pb-30{
	padding-top: 30px;
	padding-bottom: 30px;
}
.pt-50{
	padding-top: 50px;
}
.pb-50{
	padding-bottom: 50px;
}
.ptb-50{
	padding-top: 50px;
	padding-bottom: 50px;
}

.btn_container{
	margin-top: 15px;
	margin-bottom: 15px;
}

.btn{
	min-width:150px;
	min-height:30px;
	border-radius: 20px;
}
.navbar-toggler:not(:disabled):not(.disabled){
	outline:none;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #ced4da;
    outline: 0;
    box-shadow: 0 0 0 0 rgb(0 0 0 / 0%); 
}
@media (max-width: 992px){
	.nav-item{
		display: flex;
		justify-content: center;
	}
}
/* Form */
.error_msg {
    opacity: 0;
    font-size: 12px;
}
.error_on {
    color: red;
}
input{
	min-height:50px;
	margin-bottom:10px;
	border-radius: 10px;
	padding: 4px 10px;
}
input[type='text']{
outline:none;
padding:4px 10px;
}

/* Fancybox */
.fancybox-slide--html .fancybox-close-small{
	top:-45px;
}
.fancybox-content{
	overflow:visible;
}
.fancybox-slide--html .fancybox-close-small{
	transform:scale(1.5);
}
.content_popup{
	background-color:#FFF;
	padding:20px 20px;
}
@media(min-width:768px){
	.content_popup{
		padding:20px 50px;
	}
}
@media(min-width:768px){
	.content_popup{
		min-width:360px;
		height:240px
	}
}
@media(max-width:767px){
	.content_popup{
		max-width:100%;
		margin:0px 10px;
	}
}
.content_popup>div{display:table;height:100%;width:100%}
.content_popup>div>div{display:table-cell;vertical-align:middle}
.content_popup .title{font-size:20px;line-height:30px;letter-spacing:1px;text-align:center;margin-bottom:10px;font-weight:700;position: relative;}
.content_popup .caption{text-align:center;margin-bottom:20px;letter-spacing:1px}

.content_popup.leftalign .title,
.content_popup.leftalign .caption{
	text-align:left;
}
.content_popup.autoHeight{
	height:auto;
}

.button{

	letter-spacing: .5px;

	color:#f30c42;
	border:1px solid #f30c42;
	padding: 7.5px 10px;
	width:240px;
	max-width:100%;
	display: inline-block;
	text-align:center;
	cursor:pointer;
	margin-left:auto;
	margin-right:auto;
	max-width:100%;
	
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
      -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */

	
}
.button:hover{
	background-color:#f30c42;
	color:#FFF;
}
/* Home */
input{
	border-color: #CCCCCC;
	border-style: solid;
}
.title{
	justify-content: center;
}
.title_deco{
	position: absolute;
	height: 100%;
}

#title_deco1{right: 25%;top: -5%;}
#title_deco2{right: 5%;top: 33%; height: 70%;}
#title_deco3{left: 10%;top: -19%;height: 20%;}
.aboutus_container>div{
	text-align: center;
	justify-content: center;
}
.aboutus_title_img{
	max-width:100%;
}
.aboutus_images>img{
	width:18%;
}
.resources_grid{
	min-height: 400px;
}
.resources_row:nth-child(odd)>.resources_grid:nth-child(odd){
	float:left;
	justify-content: flex-end;
}
.resources_row:nth-child(odd)>.resources_grid:nth-child(even){
	float:right;
	justify-content: flex-start;
}
.resources_row:nth-child(even)>.resources_grid:nth-child(odd){
	float:right;
	justify-content: flex-start;
}
.resources_row:nth-child(even)>.resources_grid:nth-child(even){
	float:left;
	justify-content: flex-end;
}
.resources_row:nth-child(1)>.resources_desc{
	background-color: #96d0e6;
}
.resources_row:nth-child(2)>.resources_desc{
	background-color: #ffcd5a;
}
.resources_row:nth-child(3)>.resources_desc{
	background-color: #efb9c7;
}
.resources_desc{
	position: relative;
    z-index: 1;
    padding: 50px;
    background-color: black;
	min-height: 400px;
	display:flex;
	flex-direction: row;
    justify-content: center;
}
.resources_desc>div{
	width: 100%;
	max-width: 500px;
	display:flex;
	flex-direction: column;
    justify-content: center;
}
.resources_desc>p{
	font-weight: 500;
}
.resources_img{
	width: 100%;
    height: auto;
	background-image: url(/images/aboutus_1.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#resources_img1{
	background-image: url(/images/aboutus_1.jpg);
}
#resources_img2{
	background-image: url(/images/aboutus_2.jpg);
}
#resources_img3{
	background-image: url(/images/aboutus_3.jpg);
}


.article_container>div{
	text-align: center;
	justify-content: center;
}
.article_box_container{
    justify-content: space-between !important;
}
.article_box{
	width: 32%;
	border: 1px solid #e5e5e5;
}
.article_desc{
	padding:20px;
	text-align: left;
}
.article_desc>p{
	margin-bottom:0;
	color: #999999;
}
.article_detail{
	text-align: left;
    padding: 10px 20px;
    border-top: 1px solid #e5e5e5;
	color: #999999;
}
.article_detail>i{
	position:relative;
	top:1.5px;
}
.article_detail>i:nth-child(2){
	margin-left: 10px;
}

.sharing_desc{
	position: relative;
    z-index: 1;
    padding: 50px;
    background-color: black;
	min-height: 400px;
	float:left;
	background-color: #96d0e6;
	display: flex;
    flex-direction: row;
	justify-content: flex-end;
	
}
.sharing_desc>div{
	width: 100%;
	max-width: 500px;
	display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.sharing_img{
	width: 100%;
	min-height: 400px;
    height: auto;
	background-image: url(/images/sharing_img.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
	float:right;
}
.activities_container{
	background-color: #f4efd9;
	position:relative;
}
.activities_container>div{
	text-align: center;
	justify-content: center;
}
.activities_box_container{
    justify-content: space-between !important;
}
.activities_box{
	width: 32%;
}
.activities_desc{
	padding:10px 0px;
	text-align: left;
}
.activities_desc>h5{
	margin-bottom:0;
}
.activities_detail{
	text-align: left;
    padding: 10px 0px;
    border-top: 1px solid #e5e5e5;
}
.activities_detail>div{
	display:block !important;
}
.activities_detail>div>i{
	position:relative;
	top:1.5px;
}
.subscription_container{
	position: relative;
    z-index: 2;
}
.subscription_img{
	width: 100%;
	min-height: 400px;
    height: auto;
	background-image: url(/images/subscription_img.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
	float:right;
}
.subscription_form{
	position: relative;
    z-index: 1;
    padding: 50px;
    background-color: black;
	min-height: 400px;
	float:left;
	background-color: #ffcd5a;
	text-align:left;
	display: flex;
    flex-direction: column;
    justify-content: space-around;

}

.subscription_form>div {
    width: 100%;
    max-width: 500px;
}
.btn-submit {
    color: #ffffff;
    background-color: #29ABE2;
	float: right;
}

.footer_deco{
	position: relative;
    width: 100%;
    margin-top: -24%;
    z-index: 1;
    background: transparent;
}
.img_title2{
	max-height: 40px;
	margin-bottom: 2rem;
}
@media (max-width: 992px){
	.aboutus_images>img {
		width: 25%;
	}
}
@media (max-width:767px){
	.aboutus_images>img {
		width: 30%;
	}
	.article_box, .activities_box{
		width: 90%;
		margin-left:auto;
		margin-right:auto;
		margin-bottom:10px;
	}
	.sharing_img, .subscription_img, .resources_img{
		min-height: 250px; 
	}
	.img_title{
		max-height: 70px;
		max-width: 100%;
	}
	.img_title2{
		max-height: 30px;
	}
	.btn-submit{
		width:100%;
	}
}
/* Article */
.news_image, .event_image{
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-bottom: calc(100% * 3 / 4);
	display:block;
}
.article_desc h5{
	
	display: -webkit-box;
	line-height: 25px;
	height:50px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	color:#000;
}

.news_desc{
	
	display: -webkit-box;
	line-height: 20px;
	height:100px;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	color:#000;
}

.btn-gotoPage,.btn-purchase,.btn-pay {
	color: #ffffff;
	background-color: #29ABE2;
	margin: auto;
}

#purchase_form{
	margin: auto;
	box-shadow: 0 2px 28px 0 rgb(0 0 0 / 6%);
	padding: 5%;
	width: 80%;
	max-width: 800px;
	display: none;
}

#thankyou_popup{
	margin: auto;
	box-shadow: 0 2px 28px 0 rgb(0 0 0 / 6%);
	padding: 5%;
	width: 80%;
	max-width: 800px;
	text-align: center;
	display: none;
}
/*Paging*/
.paging_container {
	text-align: center;
}
.paging_item.current {
    color: #FFF;
    background-color: #0066b1;
}
.paging_item {
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
    background-color: #DDD;
    text-align: center;
    color: #333;
    display: inline-block;
}
/* Header*/
nav{
	background-color: #f30c42;
}
.nav-link{
	color: #FFF !important;
}
.media-icon{
	width: 30px;
    height: 30px;
    border: 1px solid white;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    line-height: 30px;
    position: relative;
    top: 6px;
    padding: 0px !important;
}
/*
@media (min-width: 992px){
	.media-icon{
		margin-top: 0px;
		margin-left: 10px;
	}
}*/
.navbar-light .navbar-toggler {
    color: rgba(255,255,255,.5);
    border-color: rgba(255,255,255,.5);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Footer */
.footer_container{
	background-color: #ffffff08;
}
.footer_tag_container{
	justify-content: center;
}
.footer_tag{
	display: inline-block;
	margin: 0px 5px;
	font-size: 16px;
}

.footer_tag > a {
    color: #000000;
}
.footer_logo_area{
	justify-content: center;
    flex-direction: column;
    align-items: center;
}
.footer_logo_area > i{
	position: relative;
    top: 1px;
}

.copyright{
	font-size: 12px;
}

@media (max-width:767px){
	.footer_tag_container{
		flex-direction: column;
		align-items: center;
	}
}