/*
	store all page related styles. used on both frontend & backend
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300&family=Ubuntu:wght@300&display=swap');
/* ----- general ----- */

img {
    max-width: 100%;
}

p {
    line-height: 1.5;
}

.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: 1210px;*/
    margin: 0 auto;
    padding-top: 0px;
    /*padding-bottom: 50px;*/
    width: 100%;
}

.cms-container-item {
    width: 100%;
}


/* ----- block related ----- */

.cms-block {
    max-width: 100%;
    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%; */
}

.banner-text-block{
	left: 57%;
    top: 35%;
    width: 31%;
    /*height: max-content;*/
    z-index: 2;
    position: ABSOLUTE;
    background-color: rgba(255,255,255,.9);
	max-height: 400px;
	overflow-y: auto;
}
@media screen and (max-width:992px){
	.banner-text-block {
		/*left: 10%;
		padding: 80px 50px;
		width: 80%;
		height: 500px;*/
	}
}
@media screen and (max-width: 991px){ 
    .cms-container.btn-container .cms-container-inside{
        display:flex;
    }
}
.banner-text-block .block-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
	font-size: 2vw;
}

.green-btn {
    width: 45%;
    min-height: 40px;
	height: 100%;
    background: linear-gradient(to right, #47ff9d, #087d41);
    color: #FFF;
    border-radius: 5%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.green-btn p {
    margin: 0;
}
.orange-btn {
    width: 40%;
    min-height: 40px;
	height: 100%;
    background: linear-gradient(to right, #ff8432, #ffc242);
    color: #FFF;
    text-align: center;
    border-radius: 5%;
    margin-left: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.orange-btn p{
    margin: 0;
}

/* ----- 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: 100%;
}

.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:not(.inside-page-table) .block-title h2,
.cms-block .block-title h1 {
    font-size: 1.8vw;
    padding: 10px 0;
}*/

.cms-block h1 {
    color: #6f3b9d;
    font-size: 62px;
}

.block-title p {
    line-height: 1;
}

.cms-block .block-content {
    color: #555555;
    /* 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 */

.home-service-block .cms-container:not(:first-child)>.cms-container-inside {
    justify-content: center;

}

.home-service-block section .cms-container-item {
    max-width: 264px;
}


/* .cms-block.home-service-item{
	max-width:530px !important;
} */

.cms-block.home-service-item .cms-block-inside {
    height: 0;
    padding-top: 147.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: 65%;
    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: 35%;
    left: 0;
    right: 0;
    top: auto;
    z-index: 1;
    width: 100%;
    height: 20%;
    fill: currentColor;
    transition: color 0.2s;
    pointer-events: none;
}

.cms-block.home-service-item .cms-block-inside .block-content {
    font-size: 20px;
    color: #fff;
    margin-top: 10%;
}

.home-service-item p {
    margin: 0 15px;
    /* display: flex;
	justify-content: space-between;
	align-items: center; */
    text-align: center;
}

.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%;
	}
}*/





.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: 62px;
    color: #6f3b9d;
}


/* ===== 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{
	width: auto!important;
} */

.text-box-slider .swiper-slide .image-item {
    width: 100%;
    height: 0;
    padding-top: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.text-box-slider .swiper-slide .crl {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.text-box-slider .slide-img img {
    width: 100%;
}

.text-box-slider .block-title {
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    font-weight: 100;
}

.text-box-slider .block-title p {
    margin: 0;
}

.text-box-slider .block-content {
    font-size: 22px;
}

.text-box-slider .boxtext {
    background-color: #f59036;
    height: 277px;
    width: 276px;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 200px;
    opacity: .8;
}

.text-box-slider .swiper-slide:nth-child(even) .boxtext {
    background-color: #9f7cbe;
    opacity: .8;
}

.text-box-slider .swiper-button-next {
    background-image: url("/file/ZGNKVP/right_courseArrow.png") !important;
    right: -5%;
}

.text-box-slider .swiper-button-prev {
    background-image: url("/file/L902xP/left_courseArrow.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: 21px;
    height: 32px;
    margin-top: -22px;
    outline: none;
    border: 0;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 2;
}

.gallery-item .swiper-button-next {
    background-image: url("/file/X8EZ19/right_arrow.png");
    right: -2%;
}

.gallery-item .swiper-button-prev {
    background-image: url("/file/Z9mea9/left_arrow.png");
    left: -2%;
}

.gallery-item3 .swiper-button-next {
    background-image: url("/file/X8EZ19/right_arrow.png");
    right: -2%;
}

.gallery-item3 .swiper-button-prev {
    background-image: url("/file/Z9mea9/left_arrow.png");
    left: -2%;
}

.swiper-button-next {
    background-image: url("/file/X8EZ19/right_arrow.png");
    right: 2%;
}

.swiper-button-prev {
    background-image: url("/file/Z9mea9/left_arrow.png");
    left: 2%;
}

.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 .swiper-wrapper {
    align-items: center;
}

.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("/file/Z9mea9/left_arrow.png") !important;
    background-repeat: no-repeat;
    left: -1%;
}

.item-slider .swiper-button-next {
    background-image: url("/file/X8EZ19/right_arrow.png") !important;
    background-repeat: no-repeat;
    right: -1%;
}


/* history slider */

.cms-block.history-slider {
    max-width: 1600px;
    ;
}

.history-slider .cms-block-inside {
    position: relative;
}

.history-slider .swiper-slide {
    padding: 10px;
    background-color: #fee3d0;
    border-radius: 25px;
}

.history-slider .swiper-slide:nth-child(odd) {
    background-color: #e9dbfc;
}

.history-slider img {
    width: 100%;
    border-radius: 25px;
    border-bottom-left-radius: 0px;
}

.history-slider .swiper-button-prev {
    background-image: url(/file/Z9mea9/left_arrow.png) !important;
    background-repeat: no-repeat;
    left: -5%;
}

.history-slider .swiper-button-next {
    background-image: url(/file/X8EZ19/right_arrow.png) !important;
    background-repeat: no-repeat;
    right: -5% !important;
}

.history-slider .swiper-button-prev:after,
.history-slider .swiper-button-next:after {
    content: '';
}

.history-slider .cms-image {
    position: relative;
}

.history-slider .block-title {
    text-align: center;
    position: absolute;
    bottom: 0;
    padding: 0;
    padding: 10px 20px;
    background-color: #ff633a;
    font-size: 20px !important;
    color: #ffffff;
}

.history-slider .block-title p {
    margin: 0;
}


/* .history-slider .block-title p{
	display:inline-block;
	padding:10px 20px;
	background-color:#ff633a;
	font-size:20px;
	color:#ffffff;
	font-family:NotoSansMonoCJKtc-Regular_1;
	font-weight:lighter;
	margin:0;
} */

.history-slider .boxtext {
    padding: 10px;
}

.history-slider .block-content p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 0;
}

.full-width .swiper-button-prev:after,
.full-width .swiper-button-next:after {
    content: '';
}

.full-width .swiper-button-next {
    background-image: url("/file/m9bQz8/right_bannerArrow.png") !important;
    background-repeat: no-repeat;
    /* right:0 !important; */
    background-size: 100%;
}

.full-width .swiper-button-prev {
    background-image: url("/file/d9Q559/left_bannerArrow.png") !important;
    background-repeat: no-repeat;
    background-size: 100%;
    /* left:0 !important; */
}


/* art slider */

.art-slider .swiper-button-prev:after,
.history-slider .swiper-button-next:after {
    content: '';
}

.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: #f26522;
    width: 80%;
}

.download-btn.orange-btn a strong {
    width: 25%;
    background-color: #f26522;
}

.download-btn.orange-btn a:after {
    background-color: rgb(198, 61, 6);
}

.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 {
    cursor: pointer;
}

.gallery-item a img {
    padding-top: 28px;
    display: block;
}

.gallery-item .cms-image {
    max-width: 100%;
    max-height: 100%;
    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;
}

.cms-block.gallery-item2 {
    margin-top: 5%;
    margin-bottom: 30%;
    width: 75%;
}

@media screen and (max-width:1680px){
	 .cms-block.gallery-item2 img{
		max-width:95%;
	} 
}

/* .gallery-item .swiper-slide{
	min-height: 250px;
	padding-top:10%;
} */

.gallery-item2 .cms-block-inside {
    position: relative;
}

.gallery-item2 a img {
    /*padding-top: 28px;
    display: none;*/
}

.gallery-item2 .block-title p{
    font-size: 16px;
    color: #006666;
}

.gallery-item2 .cms-image {
    /*max-width: 420px;*/
    /*margin: auto auto auto auto;*/
}

.gallery-item2 .swiper-slide .cms-block-item .image-item {
    width: 400px;
}

.gallery-item2 .cms-block-inside>img.background {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    pointer-events: none;
    transform: translate(-50%, -50%)
}

.gallery-item2 .a-background {
    width: 197px;
    height: 210px;
    margin-left: 10%
}

.cms-block.gallery-item3 {
    margin-bottom: 0;
}


/* .gallery-item .swiper-slide{
	min-height: 250px;
	padding-top:10%;
} */

.gallery-item3 .cms-block-inside {
    position: relative;
}

.gallery-item3 a img {
    padding-top: 28px;
    display: block;
}

.gallery-item3 a {
    cursor: pointer;
}


.gallery-item3 .cms-image {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.gallery-item3 .cms-block-inside>img.background {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    pointer-events: none;
    transform: translate(-50%, -50%)
}

.gallery-item3 .a-background {
    width: 180px;
    height: 180px;
}

.cms-block.gallery-item4 {
    margin-bottom: 0;
}


/* .gallery-item .swiper-slide{
	min-height: 250px;
	padding-top:10%;
} */

/* .gallery-item .swiper-slide {
    width: auto;
} */

.gallery-item4 .cms-block-inside {
    position: relative;
}

.gallery-item4 a img {
    padding-top: 28px;
    display: none;
}

.gallery-item4 .cms-image {
    max-width: 260px;
    max-height: 220px;
    margin: auto auto auto auto;
}

.gallery-item4 .cms-block-inside>img.background {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    pointer-events: none;
    transform: translate(-50%, -50%)
}

.gallery-item4 .a-background {
    width: 197px;
    height: 210px;
    margin-left: 10%;
}

.gallery4-container-left {
    left: 20%;
}

.gallery4-container-right {
    right: 20%
}

.gallery-item4-text-left {
    left: 20%;
}

.gallery-item4-text-right {
    right: 20%;
}


/*@media screen and (min-width: 450px){
	.cms-block.gallery-item2{
	margin-bottom:80px;
	}
	.cms-block.gallery-item4{
	margin-bottom:80px;
	}
	.gallery-item2 .a-background{
	width:245px;
	height:255px;
	margin: auto auto 20px 230px;
	}
	.gallery-item4 .a-background{
	width:245px;
	height:255px;
	margin: auto auto 20px 230px;
	}
	.gallery-item4 .a-background, .album .a-background{
		width:255px;
		height:265px;
	}
	.gallery-item4 .a-background, .album .a-background{
		width:255px;
		height:265px;
	}

}*/

.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;
}

.home-text {
    width: 100%;
}

.btn-up-text{
	font-size: 20px;
	height: auto;
	font-family: 'Roboto Slab', serif;
	color: #006666;
	position: absolute;
	left: 25%;
	top: 87%;
}

/*
	.gallery-frame .cms-image{
		border: 45px solid transparent;
		border-image: url("http://ftylns.infinmedia.com/file/09LenG/frame_orange.png") 50 50;

	}

	.gallery-frame2 .cms-image{
		border: 45px solid transparent;
		border-image: url("http://ftylns.infinmedia.com/file/V8RLLG/frame_purple.png") 50 50;

	}
	*/

.cms-block .feature-img-top {
    margin-bottom: 0;
}


/*feature*/
.coursefbox .block-content p{
    text-align: center;
}


/* ===== responsive =============================================================================================== */
@media screen and (max-width: 1400px) {
	/* .text-box-slider .boxtext {
    background-color: #f59036;
    height: 277px;
    width: 300px;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 200px;
    opacity: .8;
	}
	.text-box-slider .swiper-slide:nth-child(even) .boxtext {
    background-color: #9f7cbe;
    opacity: .8;
	}
    .text-box-slider {
        padding: 0 5%;
    }
    .gallery-frame .cms-image {
        width: 100%;
    }
    .gallery-frame2 .cms-image {
        width: 100%;
    } */
    .banner-text-block .block-content {
        /*width: 60%;*/
    }
}


@media screen and (min-width: 991px) {


    .home-text {
        width: 60%;
    }
    .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) {
	.text-box-slider .swiper-slide:nth-child(even) .boxtext {
    background-color: #9f7cbe;
    opacity: .8;
	}
	.text-box-slider .boxtext {
    background-color: #f59036;
    height: 277px;
    width: 350px;
    position: absolute;
    z-index: 2;
    left: 0px;
    top: 250px;
    opacity: .8;
	}
    .gallery-frame .cms-image {
        width: 60%;
    }
    .gallery-frame2 .cms-image {
        width: 60%;
    }
    .home-text {
        width: 60%;
    }
    .gallery-item .cms-image {
        max-width: 100%;
        max-height: 100%;
    }
    .gallery-item .a-background {
        width: 210px;
        height: 240px;
    }
    .gallery-item2 .a-background {
        width: 200px;
        height: 200px;
    }
    .gallery-item3 .cms-image {
        max-width: 100%;
        max-height: 100%;
    }
    .gallery-item3 .a-background {
        width: 200px;
        height: 200px;
    }
    .gallery-item4 .cms-image {
        max-width: 200px;
        max-height: 200px;
    }
    .gallery-item4 .a-background {
        width: 200px;
        height: 200px;
    }
    .album .a-background {
        width: 200px;
        height: 200px;
    }
    .teaching-border .text-item .block-content a {
        font-size: 24px;
    }
}

@media screen and (max-width: 1024px) {
	.text-box-slider .swiper-slide:nth-child(even) .boxtext {
    background-color: #9f7cbe;
    opacity: .8;
	}
	.text-box-slider .boxtext {
    background-color: #f59036;
    height: 277px;
    width: 400px;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 300px;
    opacity: .8;
	}
    .big-title .block-title h1 {
        font-size: 50px;
    }
    /* .text-box-slider .swiper-slide .image-item{
	width:280px;
	height:280px;
	} */
	

}
	
@media screen and (max-width: 991px) {
	
    .home-text {
        width: 60%;
    }
    .gallery-item2 {
        width: 270px;
    }
    .gallery-item4 {
        width: 270px;
    }
    .gallery-item2 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%;
    }
    .gallery2-container {
        margin-bottom: 100px;
    }
    .gallery-item4 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%;
    }
    .gallery4-container {
        margin-bottom: 100px;
    }
    .cms-container>.cms-container-inside {
        display: block;
    }
    .cms-container-item {
    }
    .cms-container-item .cms-container-item {
    }
    /* ----- 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: 252px;
        height: 255px;
    }
/*    .cms-block .block-title {
        font-size: 48px;
    }
    .cms-block.text-box-slider .block-title {
        font-size: 18px;
    }*/
    .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;
    }
    .gallery-item2 .cms-image {
        /*max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;*/
    }
    .gallery-item2 .a-background,
    .album .a-background {
        max-width: 255px;
        max-height: 245px;
    }
    /* .gallery-item3 .cms-image {
        max-width: 275px;
        max-height: 275px;
    } */
    .gallery-item3 .a-background,
    .album .a-background {
        width: 275px;
        height: 275px;
    }
    .gallery-item4 .cms-image {
        max-width: 245px;
        max-height: 255px;
    }
    .gallery-item4 .a-background,
    .album .a-background {
        max-width: 255px;
        max-height: 265px;
    }
    .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: 768px) {
	/*.banner-text-block {
        height: 51%;
    }
    .btn-container {
		top: 48%;
		width: 63%;
		left: 12%;
	}*/
} 

@media screen and (max-width: 550px) {

	.course-container >.cms-container-inside {
    display: flex;
    flex-wrap: wrap;
    max-width: 1210px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
	}
}
@media screen and (max-width:1200px) {
	.green-btn, .orange-btn{
		width: 41%;
	}
	
	.banner-text-block .block-title{
		font-size: 1.5em;
	}
	
	#header-navbar-collapse{
		margin-right: 10%;
	}
	
    .banner-text-block {
		max-height: 250px;
	}

}
@media screen and (max-width:992px) {
    .green-btn, .orange-btn {
        font-size: 2.5em;
		min-height: 30px;
		height: 100%;
    }
	
	.green-btn{
		width: 50%;
	}
	
	.orange-btn{
		margin-left: 13px;
	}
	
	.banner-text-block .btn-panel{
		margin: 5%;
	}
	
    .banner-text-block {
		width: 70%;
		background-color: rgba(255,255,255,.8);
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		max-height: 300px;
	}
	.banner-text-block .block-title {
		font-size: 15px;
		padding-bottom: 0;
	}
	.banner-text-block .block-content {
		font-size: 10px;
	}
}
@media screen and (max-width: 375px){
    .btn-container {
        top: 46%;
        width: 65%;
        left: 11%;
    }
    .cms-block.newsbox {
        /*max-width: unset;
        width: 314px;
        left: 6%;
        top: 14%;*/
    }   
    /*.cms-block.home-title {
        left: 46%;
    }*/
    /*.cms-block.home-title .block-title {
		font-size: 25px;
        width: 200px;
	}*/
    .cms-block.home-title2 .block-title {
		font-size: 25px;
	}
    .cms-block.newsbox .block-content  {
		font-size: 2rem;
	}
    .cms-block.newsbox .cms-block-item  {
		font-size: 2rem;
	}
    .cms-block.newsbox .block-content table  {
		width: 300px!important;
	}
    
}

@media screen and (max-width: 768px) and (min-width: 560px){
    
	.course-container >.cms-container-inside {
		display: flex;
		flex-wrap: wrap;
		max-width: 1210px;
		margin: 0 auto;
		padding-top: 50px;
		padding-bottom: 50px;
		width: 100%;
	}
	.text-box-slider .boxtext {
		background-color: #f59036;
		height: 277px;
		width: 300px;
		position: absolute;
		z-index: 2;
		left: 0;
		top: 200px;
		opacity: .8;
	}
	.text-box-slider .swiper-slide:nth-child(even) .boxtext {
		background-color: #9f7cbe;
		opacity: .8;
	}
}
@media screen and (max-width: 768px) {

	/*home page */
    .home-service-block .cms-container:not(:first-child)> div.cms-container-inside {
        display:flex;
        flex-wrap:wrap;
    }

    .home-service-block .cms-container:not(:first-child)> div.cms-container-inside .cms-container-item{
        width: 100%;
    }

    .draw3{
        z-index: 999;
        transform: translate(0, 450%);
        width: 50%;
        margin-left: 0%
    }

    .coursefeature{
        margin: -312px 0 0 0;
    }

    .draw4{
        z-index: 999;
        float: right;
        width: 40%;
    }

    .home-info.cms-container>.cms-container-inside{
        flex-wrap: wrap;
    }
    .home-service-block .draw1{
        width: 50%;
        float: left;
    }

    .home-service-block .draw2{
        width: 50%;
        float: right;
    }

    .schoolfeature .cms-container>.cms-container-inside{
        flex-wrap: wrap;
    }

    .home-text {
        width: auto;
    }

    /* contact-us */

    .contactus.cms-container>.cms-container-inside {
        flex-wrap: wrap;
    }

    .transport.cms-container>.cms-container-inside {
        flex-wrap: wrap;
    }

    .servicetime .cms-container>.cms-container-inside{
        flex-wrap: wrap;
    }

    .draw6{
        margin-left: -100px;
    }

    .servicetime-inner .cms-container-inside .cms-container-item{
        text-align: center;
    }

    /*album*/
    .schoolalbum .cms-container-inside{
        flex-wrap: wrap;
    }
    .schoolalbum3 .cms-container-inside{
        flex-wrap: wrap;
    }

    /*school news*/
    .draw9{
        transform: translateY(30%);
    }
    
    .draw7 .cms-image {
        transform: translateY(40%);
    }

    /*.draw8 .cms-image {
        transform: translateX(10%);
    }*/
    
    .draw9 .cms-image {
        transform: translateX(0%);
    }
    
    .draw-container .cms-container-inside{
        flex-wrap: wrap;
    }

    .draw-container .cms-container-item .news-details{
        margin: -320px 0 250px 0;
    }

    .learnbtn .download-btn.orange-btn a strong {
        width:auto;
    }

    .draw-container .download-btn.orange-btn a strong {
        width: auto;
    }

    .draw-container .download-btn.orange-btn{
        transform: translate(0, -393%);
    }

    /*application*/

    .fee .block-content{
        margin: 0 0px 0 0px;
    }

    .draw11{
        margin-top: -50px;
        margin-left: 20%;
    }

    .cms-container.applyrule>.cms-container-inside {
        flex-wrap:wrap-reverse;
    }

    .draw-container h2{
        text-align: center;
    }

    .applyrule h2{
        text-align: center;
    }

    .applyrule .block-content{
        margin: 0 0px 0 40px;
    }

    .applymethod h2{
        text-align: center;
    }

    .cms-container.applymethod.cms-container-inside {
        flex-wrap:wrap;
    }

    .applymethod .draw-container .cms-image{
        margin: 400px 0 250px 0;
    }

    .draw12{
        transform: translate(20%,-300%)
    }

    .applyform .download-btn.orange-btn a strong {
        width:auto;
    }

    .applyform {
        margin: -100% 0 0 0;
    }


    /*feature*/
    .coursebbox .block-content{
        text-align: center;
        margin: 0 40px;
    }

    .draw10{
        transform: translateX(15%);
        width:60%;
    }

    .coursefbox .block-content{
        margin: 0 40px;
    }

    .coursefbox .block-content p{
        text-align: left;
    }

    .cms-container.coorplan .cms-container-inside {
        flex-wrap:wrap-reverse;
    }

    .coorplan .block-content{
        margin-bottom: 40px;
    }

    .coorplan .block-content p{
        text-align: center;
        margin: 0 40px;
        font-size: 18px;
    }

    /*school information*/
    .history-slider .swiper-button-prev {
        left: -2%;
    }

    .cms-container.twghsum .cms-container-inside {
        flex-wrap: wrap-reverse;
    }


    .cms-container.schoolmo .cms-container-inside {
        flex-wrap: wrap-reverse;
      
    }

    .cms-container.song .cms-container-inside {
        flex-wrap: wrap;
    }

    .cms-container.briefdetail .cms-container-inside {
        flex-wrap: wrap;
    }

    .schoolfeature h2{
        text-align: center;
    }

    .schoolfeature .block-content p{
        text-align: center;
        margin: 0 40px;
    }

    .cms-container.facility .cms-container-inside {
        flex-wrap: wrap;
    }

    .cms-container.facility .cms-container-inside .cms-container-item{
        margin: 0 auto;
    }

    .teacherphoto .cms-container-inside{
        flex-wrap: wrap;
    }

    .cms-container.teacherphoto .cms-container-inside .cms-container-item{
        margin: 0 auto;
    }

    .cms-container.teacherdev .cms-container-inside .cms-container-item{
        flex-wrap: wrap;
        margin: 0 auto;
    }


    .draw5{
        transform: translateY(-380%);
    }

    .parsons{
        margin: -150% 0 0 0;
    }

    .teacherdevphoto{
        margin: 400px 0 250px 0;
    }

    .cms-container.teacherdevphoto .cms-container-inside{
        flex-wrap: wrap;
    }

    .twghsum .twghlogo{
        margin: 0 auto;
    }

    .twghsum .block-content{
        margin: 40px 40px 40px 40px;
    }

    .schoolmo h2{
        text-align: center;
    }

    .schoolmo .block-content {
        margin: 0 40px;
        transform: translateY(80%);
    }

    .mophoto {
        transform: translateY(-150%);
    }

    .song h2{
        text-align: center;
    }

    .song .block-content {
        margin: 0 40px;
    }

    /*uncategorized item*/
    .gallery-item2 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery2-container {
        margin-bottom: 80px;
    }
    .gallery-item2 .cms-image {
       /* max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;*/
    }
    .gallery-item4 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery4-container {
        margin-bottom: 80px;
    }
    .gallery-item4 .cms-image {
        max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;
    }
    .gallery-item2 .a-background,
    .album .a-background {
        max-width: 255px;
        max-height: 265px;
    }
    .cms-container-item .cms-container-item {
        /* width: 95% !important;
        margin: 0 auto; */
    }
    .cms-container:not(:first-child)>.cms-container-inside {
        padding-top: 25px;
        padding-bottom: 25px;
		background-color: rgb(245, 245, 245);
    }
	
	.banner2-con.cms-container:not(:first-child)>.cms-container-inside{
		background-color: unset;
	}
	
    .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;
    }
	.banner-text-block{
		max-height: 200px;
	}
}


/* @media screen and (max-width: 550px) {
    .gallery-frame .cms-image {
        width: 60%;
    }
    .gallery-frame2 .cms-image {
        width: 60%;
    }
    .home-text {
        width: 50%;
    }
    .gallery-item2 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery-item4 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .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) {
    .gallery-frame .cms-image {
        width: 60%;
    }
    .gallery-frame2 .cms-image {
        width: 60%;
    }
    .home-text {
        width: 50%;
    }
    .gallery-item2 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery-item2 .cms-image {
        max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;
    }
    .gallery-item2 .a-background,
    .album .a-background {
        max-width: 255px;
        max-height: 265px;
    }
    .gallery-item4 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery-item4 .cms-image {
        max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;
    }
    .gallery-item4 .a-background,
    .album .a-background {
        max-width: 255px;
        max-height: 265px;
    }
    .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) {
    .home-text {
        width: 50%;
    }
    .gallery-item2 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery-item4 .a-background {
        width: 197px;
        height: 210px;
        margin-left: 10%
    }
    .gallery-item .cms-image {
        max-width: 60vw;
        max-height: 60vw;
    }
    .gallery-item .a-background,
    .album .a-background {
        width: 60vw;
        height: 60vw;
    }
    .gallery-item2 .cms-image {
        max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;
    }
    .gallery-item2 .a-background,
    .album .a-background {
        max-width: 265px;
        max-height: 255px;
    }
    .gallery-item3 .cms-image {
        max-width: 60vw;
        max-height: 60vw;
    }
    .gallery-item3 .a-background,
    .album .a-background {
        width: 60vw;
        height: 60vw;
    }
    .gallery-item4 .cms-image {
        max-width: 245px;
        max-height: 255px;
        margin-left: 0%;
        margin-bottom: 0%;
    }
    .gallery-item4 .a-background,
    .album .a-background {
        max-width: 265px;
        max-height: 255px;
    }
} */

.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;
}


/* draw */

.draw {
    position: relative;
}

.draw-container {
    min-height: 380px;
}

.draw7 .cms-image {
	transform: translateY(40%);
}

/*.draw8 .cms-image {
	transform: translateX(30%);
}*/

/*.draw9 .cms-image {
	transform: translateX(-30%);
}*/

.draw10 .cms-image {
	width:60%
}

.draw11 .cms-image {
	width:60%
}

.draw12 .cms-image {
	width:60%
}


@media screen and (min-width: 991px) {
    .draw1 {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .draw2 {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .draw3 {
        position: absolute;
        left: 0;
        bottom: 0;
    }
    .draw4 {
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .draw5 {
        position: absolute;
        right: 0;
        bottom: 0;
    }
    .draw7 {
        position: absolute;
        right: 0;
        bottom: 0;
		transform: translate(-20%, 182%);
    }
    .draw8 {
        position: absolute;
        left: 0;
        bottom: 0;
		transform: translateX(30%);
    }
    .draw9 {
        position: absolute;
        right: 0;
        bottom: 0;
		transform: translateX(-20%);
    }
    .draw10 {
        position: absolute;
        left: 0;
        bottom: 0;
		transform: translateY(-10%);
    }
    .draw11 {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-20%);

    }
    .draw12 {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(35%, -20%);

    }
}

.draw6 .cms-image {
    margin-left: 180px;
    width: 60%;
}


/* accordion */

.accordion-container .line {
    border-bottom: 1px solid #b3b3b3;
    padding: 20px 0;
}

.accordion-container .block-title {
    font-size: 18px;
    color: #555555;
    padding: 0;
}

.accordion-container .block-title p {
    margin-bottom: 0;
}

.accordion-container .block-title strong {
    font-size: 26px;
    color: #6f3b9d;
}

.accordion-container .block-content {
    font-size: 18px;
}

.accordion-container .panel {
    display: none;
    padding-left: 35px;
    margin-bottom: 0;
    box-shadow: none;
    border: 0;
}

.accordion-container .desc-title {
    position: relative;
    padding-left: 35px;
}

.accordion-container .desc-title .plus {
    position: absolute;
    width: 25px;
    height: 25px;
    left: 0;
    top: 0;
}

.accordion-container .desc-title .plus:before,
.accordion-container .desc-title .plus:after {
    content: "";
    position: absolute;
    background: #6f3b9d;
}

.accordion-container .desc-title .plus:before {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 4px;
    transform: translateX(-50%);
}

.accordion-container .desc-title .plus:after {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 4px;
    transform: translateY(-50%);
}

.accordion-container .desc-title.rotate-180 .plus:before {
    width: 0px;
}


/* ========= contact-us-map ======== */

.contact-map-container {
    max-width: 100%;
}


/*.gallery-frame .cms-image{
		border: 45px solid transparent;
		border-image: url("http://ftylns.infinmedia.com/file/09LenG/frame_orange.png") 50 50;
	}

	.gallery-frame2 .cms-image{
		border: 45px solid transparent;
		border-image: url("http://ftylns.infinmedia.com/file/V8RLLG/frame_purple.png") 50 50;
	}*/


/* ========= feature slider ======== */

.lazy-load-owl-slider .lazy-owl-block,
#day-service-owl .day-service-owl-block,
.home-c1 .class-img {
    position: relative;
}

.lazy-load-owl-slider .lazy-owl-block::before,
#day-service-owl .day-service-owl-block::before,
.home-c1 .class-img::before {
    content: "";
    display: block;
    padding-top: 75%;
}

.lazy-load-owl-slider .lazy-owl-img,
#day-service-owl .day-service-img,
.home-c1 .class-img .home-c1-class-img {
    background-color: #eee;
    height: 100%;
    border: none;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.course-container .cms-block .cms-block-inside {
    margin: 0;
}

.course-container .cms-container-item {
    margin: 0 25px;
}

/*.course-container .cms-block .pd-20 {
    border-radius: 25px 25px 25px 25px;
}*/

.course-container .cms-container-item .pd-20 {
    min-height: 500px;
	border-radius: 0 0 25px 25px;
}

.course-container >.cms-container-inside {
    display: flex;
    width: 100%;
}

.feature-img-top .cms-image img {
    border-radius: 25px 25px 0 0;
	width: 100%;
}

.feature-img-top .cms-image{
	display: block;
    width: 100%;
}

/*Album*/

.orange-theme .gallery-item .swiper-slide .cms-image::before {
    content: ' ';
    width: 276px;
    height: 280px;
    position: absolute;
    background: url(/file/L90pM9/frame_orange_2.png) no-repeat;
    background-size: cover;
}

.purple-theme .swiper-slide a.cms-image::before {
    content: ' ';
    width: 276px;
    height: 280px;
    position: absolute;
    background: url(/file/kP1a6P/frame_purple_2.png) no-repeat;
    background-size: cover;
}

.orange-theme .cms-image ,
.purple-theme .cms-image  {
    height: 280px;
    display:flex;
    justify-content: center;
}

.orange-theme .cms-image img,
.purple-theme .cms-image  img {
    padding: 15px;
    width: 270px;
}

/*.purple-theme .cms-image {
    content: ' ';
    width: 276px;
    height: 280px;
    position: absolute;
    background: url(/file/kP1a6P/frame_purple_2.png) no-repeat;
    background-size: cover;
}*/


/* orange-block */
.orange-block .cms-image::before {
    content: ' ';
    width: 276px;
    height: 280px;
    position: absolute;
    background: url(/file/L90pM9/frame_orange_2.png) no-repeat;
    background-size: cover;
}

.orange-block .cms-image {
    padding: 14px;
    width: 270px;
    margin: auto;
    display: flex;
    height: 280px;
    justify-content: center;
    cursor: pointer;
}

.orange-block .cms-image img {
    margin: 3px;
    object-fit:cover;
}

.orange-block .block-content {
    text-align: center;
}


@media screen and (max-width: 1100px) {
    .schoolalbum .cms-container-inside {
        flex-wrap:wrap;
    }
    .schoolalbum .cms-container-inside .cms-container-item {
        margin: 0 100px;
    }
}

@media screen and (max-width: 780px) {
    .schoolalbum .cms-container-inside {
        flex-wrap:wrap;
    }
    .schoolalbum .cms-container-inside .cms-container-item {
        margin: 0 auto;
    }
}

/* purple-block */
.purple-block .cms-image::before {
    content: ' ';
    width: 276px;
    height: 280px;
    position: absolute;
    background: url(/file/kP1a6P/frame_purple_2.png) no-repeat;
    background-size: cover;
}

.purple-block .cms-image {
    padding: 12px;
    width: 270px;
    margin: auto;
    display: flex;
    height: 280px;
    cursor: pointer;
}

.purple-block .cms-image img {
    margin: 3px;
}

.purple-block .block-content {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .schoolalbum2 .cms-container-inside {
        flex-wrap:wrap;
    }
    .schoolalbum2 .cms-container-inside .cms-container-item {
        margin: 0 auto;
    }
}



/* ----- utility css related ----- */

.pd-20 {
    padding: 20px;
}

.clear-bottom {
    margin-bottom: 0px;
}

.clear-margin {
    margin: 0;
}

@media print {
    .cms-container>.cms-container-inside{
        display: flex;
    }

    .inside-title .cms-block-inside h2{
        position: absolute;
        top: -70px;
        left: -182px;
    }
}