/*
	store all page related styles. used on both frontend & backend
*/
/* ----- general ----- */
img{
	max-width:100%;
}
p {
	line-height:1.7;
}
.clickable{
	cursor:pointer;
}
/* ----- element related ----- */
.cms-element-bg{
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;
}
.cms-element-bg.repeat-bg{
	background-size:100%;
	background-position:center top;
	background-repeat:repeat-y;
}
/* ----- container related ----- */
.cms-container{
	
}
.cms-container>.cms-container-inside{
	display:flex;
	flex-wrap: nowrap;
	max-width:1170px;
	margin:0 auto;
	padding-top:50px;
	padding-bottom:50px;
	width:100%;
}
.cms-container-item{
	width:100%;
}
/* ----- block related ----- */
.cms-block{
	max-width:1100px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:30px;
}
.cms-block .cms-block-inside{
	margin:0 10px;
}
.cms-block .block-title{
	/* font-size: 1.2em; */
	font-size: 42px;
	font-weight:bold;
}
.cms-image{
	text-align:center;
}
.cms-image img{
	max-width:100%;
}
/* ----- block 3 related ----- */
.cms-block[data-block-type="3"] .text-item{
	padding-right:15px;
}
.cms-block[data-block-type="3"] .image-item{
	float:right;
}
/* ----- block 4 related ----- */
.cms-block[data-block-type="4"] .text-item{
	padding-left:15px;
}
/* ----- block 5 related ----- */
.cms-block[data-block-type="5"] .text-item{
	margin-top: 15px;
}
/* .cms-block[data-block-type="6"] .swiper-wrapper{
	align-items: center;
} */
/* ----- form related ----- */
.cms-form{
	padding:20px 0;
}
.cms-form-item{
	padding:20px;
}
.cms-form-item .item-title{
	float:left;
	width:30%;
}
.cms-form-item .item-title .require-mark{
	margin-left: 5px;
	color: red;
}
.cms-form-item .item-input{
	float:right;
	width:70%;
}
.cms-form-item .item-input .form-control{
	border-radius:0;
}
.cms-form-item .item-input textarea{
	height:100px;
	min-height:40px;
	resize:vertical;
}
.cms-form-item .item-input .input-options{
	margin-bottom:10px;
}
.cms-form-item .item-input .input-options input[type="radio"]{
	vertical-align: middle;
	margin: 0;
}
.cms-form-item .item-input .input-options .option-text{
	display: inline-block;
	margin-left: 5px;
}
.cms-form-submit{
	display: block;
	margin: 20px auto 0 auto;
	padding: 10px 40px;
	border: 1px solid #AAA;
	background: none;
}
/* ----- custom style ----- */
.cms-container.full-width .cms-container-inside{
	width:100%;
	max-width:none;
}
.cms-block{
	max-width:1170px;
}
.less-padding > .cms-container-inside{
	padding-top:0;
}
.no-padding > .cms-container-inside{
	padding-top:0;
	padding-bottom:0;
}
.radius-img img{
	border-radius:30px;
}
.cms-block .block-title, .cms-block .block-title h2, .cms-block .block-title h1{
	color:#2ab0ba;
	font-size: 36px;
	padding:10px 0;
	font-weight:bold;
}
.block-title p{
	line-height:1;
}
.cms-block .block-content{
	color:#333333;
	font-size: 1.14em;
}
.cms-block .block-content:lang(tc){
	text-align:justify;
}
.color-border-shadow .cms-image{
	position:relative;
}
.color-border-shadow .cms-image:after{
	position: absolute;
    content: '';
    width: calc(100% + 15px);
    height: calc(100% + 15px);
    top: -5px;
    left: -5px;
    box-shadow: 0 0 35px 50px #e4fdf1 inset;
    display: block;
}
/* media block fading border */
.cms-block[data-block-type="5"].teacher-item .svg-wrapper{
	max-width:100%;
	margin:0 auto;
}
.cms-block[data-block-type="5"].teacher-item .svg-padding-layer{
	position:relative;
	height:0;
}
.cms-block[data-block-type="5"].teacher-item .svg-wrapper svg{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border-radius:20px;
}
.cms-block[data-block-type="5"].fading-border .svg-wrapper{
	max-width:100%;
	margin:0 auto;
}
.cms-block[data-block-type="5"].fading-border .svg-padding-layer{
	position:relative;
	height:0;
}
.cms-block[data-block-type="5"].fading-border .svg-wrapper svg{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border-radius:20px;
}
/* container - full width */
.cms-container.align-center>.cms-container-inside{
	align-items:center;
	margin:0 auto;
}
.cms-container.align-center .cms-block{
	margin-bottom:0;
}
/* slider related ? */
.cms-block[data-block-type="7"] .cms-block-inside{
	max-width:700px;
	margin: 0 auto;
}
/* home service item */
.cms-block.home-service-item{
	max-width:530px !important;
}
.cms-block.home-service-item .cms-block-inside{
	height: 0;
	padding-top: 81.5%;
	position: relative;
	overflow: hidden;
	border-radius: 30px;
}
.cms-block.home-service-item .cms-block-inside .image-item{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: auto;
	z-index: 1;
}
.cms-block.home-service-item .cms-block-inside .image-item img{
	width:100%;
}
.cms-block.home-service-item .cms-block-inside .text-item{
	position: absolute;
	top: 85%;
	left: 0;
	right: 0;
	bottom: auto;
	z-index: 1;
	height: 100%;
	margin-top: 0;
	transition: background-color 0.2s;
}
.cms-block.home-service-item .cms-block-inside .text-item img{
	width:45px;
}
.cms-block.home-service-item .cms-block-inside svg{
	position: absolute;
	bottom: 15%;
	left: 0;
	right: 0;
	top: auto;
	z-index: 1;
	width: 100%;
	height:32%;
	fill: currentColor;
	transition: color 0.2s;
	pointer-events: none;
}
.cms-block.home-service-item .cms-block-inside .block-content{
	font-size: 16px;
    color: #fff;
}
.home-service-item p{
	margin:0 15px;
	display: flex;
    justify-content: space-between;
    align-items: center;
	text-align: right;
}
.home-service .cms-container>.cms-container-inside{
	justify-content:center;
}
.home-service-item-container{
	width:25% !important;
}

@media screen and (max-width: 1450px) and (min-width: 991px){
	.cms-block.home-service-item .cms-block-inside .text-item img{
		max-width:50%;
		width:15%;
	}
}
@media screen and (max-width: 991px) {
	.cms-block.home-service-item .cms-block-inside .text-item{
		top:85%;
	}
	.cms-block.home-service-item .cms-block-inside svg{
		bottom:15%;
	}
}
@media screen and (max-width: 550px) {
	.cms-block.home-service-item .cms-block-inside .text-item{
		top:80%;
	}
	.cms-block.home-service-item .cms-block-inside svg{
		bottom:20%;
	}
}
/* ===== homepage full width slider ===== */
.cms-container.full-width.full-width-slider .cms-container-inside{
	padding:0;
}
.cms-container.full-width .cms-container-inside .cms-block{
	max-width:none;
	margin-bottom:0;
}
.full-width-slider img{
	max-height:763px;
}
/* ===== padding between menu and big title ====================================================================== */
.big-title {
    padding-top: 20%;
	padding-bottom: 4%;
}
.big-title .block-title h1{
	font-size:60px;
	color:#7a2a0e;
}
/* ===== Table ====== */

.common-table table {
	border-collapse: separate;
    border-spacing: 20px 25px;
}
.common-table table td{
	vertical-align:top;
}
/* ===== normal text-box ===== */
.text-box > .cms-block-inside{
	padding:0 20px;
}
.text-box img{
	border-radius: 25px 25px 0 0;
	width:100%;
}
.text-box .cms-block-item.text-item{
	margin-top:0;
}
.text-box .block-content{
	background: #fffcd6;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding:5px 37px 20px 37px;
}
.text-box p{
	padding-top:10px;
	padding-bottom:5px;
	margin:0;
	line-height:1.4;
}
/* ===== homepage text-box-slider ===== */
.cms-block.text-box-slider .cms-block-inside{
	position:relative;
}
.text-box-slider .swiper-slide{
	padding:0px 20px;
}
.text-box-slider .slide-img img{
	border-radius: 25px 25px 0 0;
	width:100%;
}
.text-box-slider .block-title{
	text-align:center;
	font-size:20px;
	color:#93310f;
	font-weight:bold;
}
.text-box-slider .block-content{
	font-size:22px;
}
.text-box-slider .boxtext {
    background: #fffbd2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding:18px 37px 10px 37px;
}
.text-box-slider .swiper-button-next{
	background-image:url("../images/common/courseArrow_next.png") !important;
	right:-5%;
}
.text-box-slider .swiper-button-prev {
	background-image:url("../images/common/courseArrow_back.png") !important;
	left:-5%;
}
@media screen and (max-width: 1450px){
	.text-box-slider .swiper-slide{
		padding:50px;
	}
}
.swiper-button-next, .swiper-button-prev{
	display:inline-block;
	width:25px;
	height:45px;
	margin-top:-22px;
	outline:none;
	border:0;
	background-repeat:no-repeat;
	background-size:100%;
	z-index:2;
}
.swiper-button-next{
	background-image:url("../images/common/courseArrow_next.png");
	right:5%;
}
.swiper-button-prev{
	background-image:url("../images/common/courseArrow_back.png");
	left:5%;
}
.text-box-slider .swiper-button-prev:after, .text-box-slider .swiper-button-next:after,
.item-slider .swiper-button-prev:after, .item-slider .swiper-button-next:after,
.swiper-button-next:after, .swiper-button-prev:after{
	content:'';
}
/* item slider */
.cms-block.item-slider{
	max-width:1600px;;
}
.item-slider .cms-block-inside{
	position:relative;
}
.item-slider .swiper-slide{
	padding:30px;
}
.item-slider img{
	border-radius: 25px;
	width:100%;
}
.item-slider .swiper-button-prev{
	background-image: url(../images/common/courseArrow_back.png) !important;
    background-repeat: no-repeat;
    left: -5%;
}
.item-slider .swiper-button-next{
	background-image: url(../images/common/courseArrow_next.png) !important;
    background-repeat: no-repeat;
    right: -5%;
}
/* history slider */
.cms-block.history-slider{
	max-width:1600px;;
}
.history-slider .cms-block-inside{
	position:relative;
}
.history-slider .swiper-slide{
	padding:30px;
}
.history-slider img{
	border-radius: 25px;
	width:100%;
}
.history-slider .swiper-button-prev{
	background-image: url(../images/common/courseArrow_back.png) !important;
    background-repeat: no-repeat;
    left: -5%;
}
.history-slider .swiper-button-next{
	background-image: url(../images/common/courseArrow_next.png) !important;
    background-repeat: no-repeat;
    right: -5%;
}
.history-slider .swiper-button-prev:after, .history-slider .swiper-button-next:after{
		content:'';
}
.history-slider .boxtext{
	margin-top:-14%;
}
.history-slider .block-title{
	text-align:center;
}
.history-slider .block-title p{
	display:inline-block;
	padding:10px 20px;
	background-color:#fffcd6;
	font-size:20px;
	color:#93310f;
	font-family:NotoSansMonoCJKtc-Regular_1;
	font-weight:lighter;
	border-radius:15px;
}
.history-slider .block-content p{
	font-size:16px;
	line-height:1.4;
}
.full-width .swiper-button-prev:after, .full-width .swiper-button-next:after {
	content:'';
}
.full-width .swiper-button-next{
	background-image:url("../images/common/bannerArrow_next.png") !important;
	background-repeat:no-repeat;
	right:0 !important;
	background-size:100%;
}
.full-width .swiper-button-prev {
	background-image:url("../images/common/bannerArrow_previous.png") !important;
	background-repeat:no-repeat;
	background-size:100%;
	left:0 !important;
}
.download-btn a, .read-more p{
	position: relative;
    width: auto;
    top: 0;
	-webkit-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    transition: all 600ms ease;
}
.download-btn a:after, .read-more p:after{
	position: absolute;
    content: "";
    left: 0;
    top: 0px;
    height: 50px;
    width: 100%;
    border-style: solid;
    border-width: 0 0 0px;
    border-color: rgb(0, 0, 0);
    border-radius: 0px 0px 15px 15px;
    background-color: #177f82;
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
    opacity: 1;
}
.read-more p:after{
	left:50%;
	transform:translateX(-50%);
	top:35%;
	width:80%;
}
.download-btn a:hover, .read-more p:hover{
	top:5px;
}
.download-btn a:hover:after , .read-more p:hover:after{
    opacity: 0;
}
.download-btn a strong, .read-more p strong{
	border-radius: 15px;
    color: #fff;
    font-size: 20px;
    padding: 15px 30px;
    position: relative;
    z-index: 1;
    display: inline-block;
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
    text-decoration: none;
	background-color:#42bdc1;
	width:80%;
}
.download-btn.brown-btn a strong{
	background-color:#af5e43;
}
.download-btn.brown-btn a:after{
	background-color:#763a26;
}
.album-block .cms-container-inside{
	display:flex;
	justify-content:center;
}
.cms-block.gallery-item{
	margin-bottom:0;
}
/* .gallery-item .swiper-slide{
	min-height: 250px;
	padding-top:10%;
} */
img.mfp-img{
	max-height:90vh;
}
.gallery-item .cms-block-inside{
	position:relative;
}
.gallery-item a img{
	padding-top:28px;
	display:none;
}
.gallery-item .cms-image{
	max-width:180px;
	max-height:180px;
	margin:0 auto;
}
.gallery-item .cms-block-inside > img.background{
    position: absolute;
    top: 50%;
	left: 50%;
    z-index: 2;
    pointer-events: none;
	transform: translate(-50%, -50%)
}
.gallery-item .a-background{
	width:180px;
	height:180px;
}
.album .a-background{
	width:272px;
	height:272px;
	margin:0 auto;
}
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}
.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}
/*=13/5/2020=*/
.nav>li>a{
	display:inline-block;
}
/* teacher img*/
.teacher-item .cms-image, .teaching-border .cms-image{
	position:relative;
}
.teacher-item .cms-image > img, .teaching-border .cms-image > img.teaching-frame{
	position:absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.teaching-border .cms-image > img.teaching-frame{
	pointer-events: none;
}
.cms-block[data-block-type="5"].teacher-item .text-item{
	margin-top:0;
}
.cms-block[data-block-type="5"].teaching-border .text-item{
	margin-top:30px;
}
.teaching-border .text-item .block-content p{
	line-height: 1.3;
}
.teaching-border .text-item .block-content a{
	color: #2ab0ba;
    font-size: 20px;
    font-weight: bold;
	text-decoration: none;
}
/* TABLE */
table.blue-table{
	border:#2ab0ba;
}
table.red-table{
	border:#823922;
}
table.blue-table th span, table.red-table th span{
	font-size:20px;
}
table.blue-table td, table.blue-table th, table.red-table td, table.red-table th{
	padding:2%;
}
/* TAB */
.tab-nav2{
	display:flex;
	justify-content:space-between;
	padding:0;
}
.tab-nav2 li{
	list-style:none;
}
.tab-nav2 li .block-title{
	color:#fff;
	font-size:20px;
	padding:20px 25px;
	border-radius: 5px;
	position:relative;
}
.tab-nav2 li:not(:last-child) .block-title{
	margin-right:15px;
}
.tab-nav2 li .block-title p{
	margin:0;
}
.tab-nav2 li .block-title.green_bg{
	background-color:#42bdc1;
}
.tab-nav2 li .block-title.brown_bg{
	background-color:#b99173;
}
.tab-nav2 li .block-title.purple_bg{
	background-color:#a995b5;
}
.tab-nav2 li.active .block-title:after{
	content:'';
	border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    bottom: -12px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: auto;
    width: 10px;
}
.tab-nav2 li.active .block-title.green_bg:after{border-top: 12px solid #42bdc1;}
.tab-nav2 li.active .block-title.brown_bg:after{border-top: 12px solid #b99173;}
.tab-nav2 li.active .block-title.purple_bg:after{border-top: 12px solid #a995b5;}
.tab-nav2 li a:hover{text-decoration: none;}

.tab-content{
	margin-top:5%;
}
.tab-content .tab-pane{
	padding:5%;
}
.tab-content .tab-pane.green_bg{
	background-color:#a9e6e7;
}
.tab-content .tab-pane.brown_bg{
	background-color:#ebcfba;
}
.tab-content .tab-pane.purple_bg{
	background-color:#e5dfe9;
}
.padding-table td{
	padding:2% 0;
}

.song .block-content{
	text-align:center;
}
/* ===== responsive =============================================================================================== */
@media screen and (max-width: 1780px){
	.swiper-button-prev{
		left:-1% !important;
	}
	.swiper-button-next{
		right:-1% !important;
	}
}
@media screen and (max-width: 1440px) and (min-width: 998px){
	.history-slider .boxtext{
		margin-top:-8%;
	}
}
@media screen and (min-width: 991px){
	.teaching-border .cms-image > a > img.lazy{
		width:85%;
	}
	.margin-right{
		margin-right:5%;
	}
	.margin-left{
		margin-left:5%;
	}
}
@media screen and (max-width: 1280px) and (min-width: 991px){
	.gallery-item .cms-image{
		max-width:160px;
		max-height:160px;
	}
	.gallery-item .a-background{
		width:160px;
		height:160px;
	}
	.album .a-background{
		width:240px;
		height:240px;
	}
	.teaching-border .text-item .block-content a{
		font-size: 24px;
	}
}
@media screen and (max-width: 1024px) {
	.big-title .block-title h1{
		font-size:50px;
	}
}
@media screen and (max-width: 991px) {
	.cms-container>.cms-container-inside{
		display:block;
	}
	.cms-container-item{
		width:100% !important;
	}
	.cms-container-item .cms-container-item{
		width:80% !important;
		margin:0 auto;
	}
	/* ----- block 3 related ----- */
	.cms-block[data-block-type="3"] .text-item{
		padding-right:0;
		margin-top: 15px;
	}
	/* ----- block 4 related ----- */
	.cms-block[data-block-type="4"] .text-item{
		padding-left:0;
		margin-top: 15px;
	}
	/* ----- form related ----- */
	.cms-form-item .item-title,
	.cms-form-item .item-input{
		float:none;
		width:100%;
	}
	img.background, .three-block img.background{
		width:unset;
		height:unset;
	}
	.cms-block .block-title{
		font-size:48px;
	}
	.cms-block.text-box-slider .block-title{
		font-size:26px;
	}
	.full-width .swiper-button-prev, .full-width .swiper-button-next{
		width:20px;
		height:45px;
	}
	.cms-container.full-width .cms-container-inside .cms-block.teaching-border{
		margin-bottom:10%;
	}
	.album-block .cms-container-item:nth-child(n+2){
		margin-top:15%;
	}
	.gallery-item .cms-image{
		max-width:275px;
		max-height:275px;
	}
	.gallery-item .a-background, .album .a-background{
		width:275px;
		height:275px;
	}
	.tab-nav2{
		justify-content:center;
	}
	.flex-order > .cms-container-inside{
		display: flex;
		flex-wrap: wrap;
	}
	.flex-order > .cms-container-inside > .cms-container-item:first-child{
		order:2;
	}
	.flex-order > .cms-container-inside > .cms-container-item:last-child{
		order:1;
	}
}
@media screen and (max-width: 800px) and (min-width: 768px){
	.history-slider .boxtext{
		margin-top:-18%;
	}
}
@media screen and (max-width: 768px) {
	.cms-container-item .cms-container-item{
		width:95% !important;
	}
	.cms-container:not(:first-child) > .cms-container-inside{
		padding-top:25px;
		padding-bottom:25px;
	}
	.full-width-slider .swiper-button-prev, .full-width-slider .swiper-button-next{
		display:none;
	}
	.history-slider .boxtext{
		margin-top: -10%;
	}
	.cms-block.teaching-border {
		margin-bottom: 60px;
	}
	.teaching-border .text-item .block-content a{
		font-size: 24px;
	}
}
@media screen and (max-width: 550px){
	.tab-nav2 {
		display:block;
	}
	.tab-nav2 li{
		width:100%;
	}
	.tab-nav2 li:not(:last-child) .block-title{
		margin-right:20px;
	}
	.tab-nav2 li .block-title{
		margin:20px;
	}
	.history-slider .boxtext{
		margin-top: -15%;
	}
}
@media screen and (max-width: 480px) {
	.text-box-slider .block-title{
		font-size:30px;
	}
	.text-box-slider .block-content{
		font-size:14px;
	}
	.teaching-border .cms-image > a > img.lazy{
		width:85%;
	}
}
@media screen and (max-width: 450px) {
	.gallery-item .cms-image{
		max-width:60vw;
		max-height:60vw;
	}
	.gallery-item .a-background, .album .a-background{
		width:60vw;
		height:60vw;
	}
}
.teacher-item .svg-padding-layer image{
	width:90%;
}
.cms-block[data-block-type="5"].teacher-item .svg-wrapper svg{
	position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 100%;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}
@media screen and (max-width: 991px){
	.teacher-item .svg-padding-layer image{
	width:100%;
}
.cms-block[data-block-type="5"].teacher-item .svg-wrapper svg{
    width: 100%;
}
}

.swiper-wrapper.disabled {
    transform: translate3d(0px, 0, 0) !important;
}
.swiper-pagination.disabled {
    display: none;
}