html{}
html, #preloader{background-color: #f0f0f0;}
body{ letter-spacing: 2px;}

h1, h2, h3, .h1, .h2, .h3{margin-bottom: 1em !important;}

h1.underline, h2.underline, h3.underline{position: relative; padding-bottom: 1em !important; }
h1.underline:after, h2.underline:after, h3.underline:after{content: ""; min-width: 100px; max-width: 5em; height: 0.1em; border-radius: 0.2em; background-color: #80efbd; position: absolute; left:0; right:0; bottom:0; margin: auto}

a:focus, a:hover{color:#058486;}

.btn{border-width: 0}

.form-horizontal .control-label{text-align: left}
fieldset{margin-bottom: 2em;}
.form-control{height: 44px; padding: 10px 1em; font-size: 1rem; border-color:#ddd; -webkit-box-shadow:none; box-shadow: none;}
/*.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}*/
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control,
.form-control[disabled]:focus, .form-control[readonly]:focus, fieldset[disabled] .form-control:focus{ background-color: #f5f5f5; border-color: #f5f5f5;  -webkit-box-shadow:none; box-shadow: none;cursor: default;}
.hints { font-size: 0.9em; letter-spacing: 1px; color: #999;}

.form-control+.form-control-feedback{height: 44px; line-height: 44px; right:1em}

th{white-space: nowrap; font-weight: normal;}


#page-wrapper{background-color:#FFFFFF;}

#page-top{background-color:#1db7a8; color:#FFF; font-size: 14px; line-height: 1em; height: 50px;}
#page-top a:not(.btn){color:inherit;}

/*#page-top .btn .fa, #page-top .btn .fas, #page-top .btn .fab, #page-top .btn .far{ font-size:inherit;}*/
.top-hover, #page-top a:not(.btn):hover, #page-top a:not(.btn):focus, #page-top a:not(.btn):active, #page-top a:not(.btn):focus:active{color:#e8f941;}
#page-top-left{text-align: left;}
#page-top-right{text-align: right; display:flex; align-items: center; justify-content: flex-end;}

.social a{margin-right: 10px;}
.social .fa, .social .fas, .social .fab, .social .far{font-size: 32px; vertical-align: middle}

.lang-switchs-pc{padding-right: 0;}
.lang-switch{width: auto; height: 32px; position: relative; padding: 10px; border-radius: 0;}
.lang-switch.active{background-color:#FFFFFF;color:#1db7a8 !important}
.lang-switch:before{content: ""; display:block; position: absolute; width: 1px; height: 14px; background-color: #FFF; top:0; bottom:0; left:-6px; margin: auto}
.lang-switch:first-child:before{ display:none;}

.lang-switchs-mob .lang-switch{width: 32px;}
.lang-switchs-mob .lang-switch.active{color:#FFF;}
.lang-switchs-mob .lang-switch:before{background-color: #CCC;}

#page-header{background-color:#FFFFFF; color:#7b7b7b; font-weight: 700; font-size: 1em;  position: relative; z-index: 2;
	-webkit-box-shadow: 0px 20px 50px -10px rgba(0,0,0,0.25);
-moz-box-shadow: 0px 20px 50px -10px rgba(0,0,0,0.25);
box-shadow: 0px 20px 50px -10px rgba(0,0,0,0.25);
}

#page-header .row-flex{ align-items: center;}


.header-banner{ /*height: 140px;*/ padding: 20px 0; background-color: #FFFFFF; /*background-image: url(../img/headbanner02.jpg);*/ background-position: top center; background-size: cover;
	position: relative; /*z-index: 2;*/
	/*-webkit-box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.2);
-moz-box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.2);
box-shadow: 0px 0px 40px -10px rgba(0,0,0,0.2);*/
}
header.fixed .header-banner{height: 120px;  padding: 20px 0}
header.fixed .logo{height: 100%; width: auto; }

/*.header-banner:before{content: ""; display:block; position: absolute; top:0; right:0; bottom:0; left:0; z-index: 0; background-color: rgba(0,0,0,0.5)}*/

.header-banner h1, .header-banner h2, .header-banner h3, .header-banner h1 a:hover, .header-banner h2 a:hover, .header-banner h3 a:hover, .header-banner .title-color{color:#272933; fill: currentColor;}


.header-banner .logo{width: auto; flex-grow: 1;}
.header-banner .logo img, .header-banner h1 img{max-height: 100%; width: auto; margin-right: 0;}

.nav-wrapper{background-color: #ffffff; /*position: relative; z-index: 0;*/
/*-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.10);
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.10);
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.10);*/
}
#top-menu{ height: 60px;}
#top-menu .navbar>li{background-color: transparent; color:#555555; font-weight: normal}
.top-menu-hover, #top-menu .navbar>li:hover, #top-menu .navbar>li>.sub{background-color: #4cb2a8; color:#FFFFFF;}

#top-menu .navbar>li>.sub>li{background-color:#4cb2a8; color:#FFFFFF; text-align: center;}
.sub-menu-hover, #top-menu .navbar>li>.sub>li:hover{background-color:#058486; color:#FFFFFF}

#top-menu .navbar>li>.sub>li:first-child{
-webkit-box-shadow: inset 0px 8px 5px -5px rgba(0,0,0,0.2);
-moz-box-shadow: inset 0px 8px 5px -5px rgba(0,0,0,0.2);
box-shadow: inset 0px 8px 5px -5px rgba(0,0,0,0.2);
}

#top-menu .navbar>li>a{color:inherit; padding: 0 5px;}

/*#top-menu .navbar>li{border-bottom: 3px solid #f7727f}
#top-menu .navbar>li:nth-child(2){border-bottom: 3px solid #ff8b60}
#top-menu .navbar>li:nth-child(3){border-bottom: 3px solid #ffb900}
#top-menu .navbar>li:nth-child(4){border-bottom: 3px solid #99d468}
#top-menu .navbar>li:nth-child(5){border-bottom: 3px solid #47cec0}
#top-menu .navbar>li:nth-child(6){border-bottom: 3px solid #4ec2e7}
#top-menu .navbar>li:nth-child(7){border-bottom: 3px solid #9398ec}

#top-menu .navbar>li{background-color: #f7727f}
#top-menu .navbar>li:nth-child(2){background-color: #ff8b60}
#top-menu .navbar>li:nth-child(3){background-color: #ffb900}
#top-menu .navbar>li:nth-child(4){background-color: #99d468}
#top-menu .navbar>li:nth-child(5){background-color: #47cec0}
#top-menu .navbar>li:nth-child(6){background-color: #4ec2e7}
#top-menu .navbar>li:nth-child(7){background-color: #9398ec}*/

#top-menu .navbar>li>a.btn, #top-menu .lang-switchs-mob a.active{color:#FFF;}

#top-menu.open:before{ background-color: rgba(14, 19, 21, 0.8);}

.header-search-button{max-width: 64px;}
.header-search-button .show-searchbar{background:none; border: none; outline: none; width: 100%; height: 100%; font-size: 24px; font-weight: normal; display:block; text-align: center;}
.search-bar-wrapper{background-color: #d9fded; position: relative; z-index: 0; display:none;}
.search-bar-wrapper>.container{padding-top: 10px; padding-bottom: 10px;}

.showsub{
    height: 64px;
    width: 64px;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255,255,255,0.25);
    border: none;
    color:inherit;
    font-size: 24px;
}

#mobile-menu{top:78px; right:1%;}
#mobile-menu.open {top:10px; transition-delay: 0.5s; -webkit-transition-delay: 0.5s; -moz-transition-delay: 0.5s;}

header.fixed #mobile-menu, header.fixed #mobile-menu.open{top:10px; transition-delay: 0s; -webkit-transition-delay: 0s; -moz-transition-delay: 0s;}



#showcase{max-height:none; overflow: visible;}
.home-slider{margin: 0;}
/*.home-slider.owl-carousel .owl-stage-outer{overflow: visible;}*/
.home-slider.owl-carousel .owl-nav{max-width:none;}
.home-slider .owl-nav button.owl-next, .home-slider .owl-nav button.owl-prev{background-color:rgba(69, 212, 172, 0.7); }
.home-slider.owl-carousel button.owl-prev{left:32px;}
.home-slider.owl-carousel button.owl-next{right:32px;}
.home-slider:hover button.owl-next{right:64px;opacity: 1}
.home-slider:hover button.owl-prev{left:64px;opacity: 1}

.home-slider-item{width: 100%;}
.home-slider-item:before{padding-top: 0; display:none;}
.home-slider-item>img{position: relative; border-radius: 0;}

.slider-caption{position: absolute; bottom:0; left:10px; background-color: rgba(0,0,0,0.5); color:#fff;}

#showcase_inpage{height: 240px; background-image: url(../img/headbanner03.jpg); background-size: cover; }
#showcase_inpage h1, #showcase_inpage h1 a, #showcase_inpage h1 a:hover{color:#FFF; margin-bottom: 0 !important;}

.main-content{min-height:500px}

.main-content a:not(.btn){color:#0998c5;}
.main-content h1 a:not(.btn), .main-content h2 a:not(.btn), .main-content h3 a:not(.btn), .main-content h4 a:not(.btn), .main-content h5 a:not(.btn), .main-content h6 a:not(.btn){color:inherit !important}
.main-hover, .main-content a:not(.btn):hover{color:#00cce6;}

main.main-content>.container{padding: 30px;}
.main-content h1, .main-content h2, .main-content h3{text-align: left}
.main-content h1, .main-content h2, .main-content h3, .main-content h1 a:hover, .main-content h2 a:hover, .main-content h3 a:hover, .main-content .title-color, .main-content .title-color a, .main-content .title-color a:hover{color:#009688; background-color: transparent; padding:0; font-weight: 700; }
.main-content h4, .main-content h5, .main-content h6, .main-content h4 a:hover, .main-content h5 a:hover, .main-content h6 a:hover, .main-content .subtitle-color, .main-content .subtitle-color a, .main-content .subtitle-color a:hover{color:#1db6a7; background-color: transparent; padding:0; font-weight: 400; }

.main-content .main-color h1, .main-content .main-color h2, .main-content .main-color h3, .main-content .main-color h1 a, .main-content .main-color h2 a, .main-content .main-color h3 a, .main-content .main-color h1 a:hover, .main-content .main-color h2 a:hover, .main-content .main-color h3 a:hover{color:inherit; background-color: transparent !important;}

.column-row .container, .column-row .container-lg, .column-row .container-sm, .column-row .container-xs{padding-top: 80px; padding-bottom: 0;}

/*.column-row{padding-top: 60px;}
.column-row .container{padding-bottom: 0;}*/


.color-overlay:before{content: ""; position: absolute; top:0; right:0; bottom:0; left:0; z-index: 0; opacity: 0.35; }

.main-color, .main-color.color-overlay:before, .btn-primary{background-color:#1db6a7; color:#FFFFFF;}
.main-color h1, .main-color h2, .main-color h3, .main-color h4, .main-color h5, .main-color h6{ text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);}
.main-color-hover, .btn.main-color:hover, .btn.main-color:focus, a.main-color:hover, .main-color a:hover, .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:active:focus, .btn-primary:active:hover{background-color:#009688; color:#FFF;}

.sub-color1, .sub-color1.color-overlay:before, .btn-secondary{background-color:#ff9800;color:#FFF;}
.sub-color1-hover, .btn.sub-color1:hover, .btn.sub-color1:focus, a.sub-color1:hover, .sub-color1 a:hover, .btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:active:focus, .btn-secondary:active:hover{background-color:#FFC107; color:#FFF;}

.sub-color2, .sub-color2.color-overlay:before, .btn-default{background-color:#ffae00; color:#FFF}
.sub-color2-hover, .btn.sub-color2:hover, .btn.sub-color2:focus, a.sub-color2:hover, .sub-color2 a:hover, .btn-default:hover, .btn-default:active, .btn-default:focus, .btn-default:active:focus, .btn-default:active:hover{background-color:#CCC; color:#666;}

.dark-color, .dark-color.color-overlay:before{background-color:#000000; color:#FFF}
.light-color, .light-color.color-overlay:before{background-color:#FFFFFF; color:#333333}
.dark-color.color-overlay:before{opacity: 0.5}

.ul-color, .main-content ul>li:before{ color:inherit; background-color: currentColor;}
.ol-color, .main-content ol>li:before{ color: inherit; }

#page-footer{background-color: #009688; color:#FFFFFF; font-size: 14px; }
#page-footer h3, #page-footer h4, #page-footer h5, #page-footer h6, #page-footer .title-color{color:inherit;}
.footer-hover, #page-footer a:hover, #page-footer a:focus, #page-footer a:active, #page-footer a:focus:active{color:inherit}

.footertitle{color:#FFF; position: relative; padding-bottom: 20px; margin-bottom: 10px;}
.footertitle:after{content: ""; display:block; position:absolute; left:0; bottom:0; width: 50%; height: 3px; background-color: rgba(255,255,255,0.4);}
.footertext{margin-bottom: 1em; }

.menu-footermenu{list-style: none; padding-left: 0; margin-bottom: 2em;}
.menu-footermenu li{ }
.menu-footermenu li a{color:inherit; padding: 0.8em 0; display: block; /*border-bottom: 1px solid #5b5b60;*/ }
.menu-footermenu li a:hover, .menu-footermenu li a:focus{ color:#fff; }

.menu-footermenu ul{list-style: none; padding-left: 0;}
.menu-footermenu ul li{}
.menu-footermenu ul li>a{padding-left: 1em}


.side-bar{}
.side-bar a{ display:block; margin-bottom: 1em;}

ol.list-head-lg{}
ol.list-head-lg>li{padding-left: 50px; margin-bottom: 2em}
ol.list-head-lg>li:before{font-size: 24px; color:#1db6a7;}

.table-head{font-weight: bold; color:#444; background-color: #f5f5f5}


/*extra*/
.service-list-mini{ margin-left: 0; margin-right: 0; margin-bottom: -80px; z-index: 1;}
.service-list-mini .row-flex{margin-left: 0; margin-right: 0;}
.service-list-mini div[class*=col]{padding: 0;}
.service-list-mini .service-item{position: relative; max-width: 293px; margin: auto; margin-bottom: 0 !important;}
.service-list-mini .service-item .caption{position: absolute; bottom:0; left:0; right:0; color:#FFF !important; font-weight: 400 !important; font-size: 1.25em !important; padding: 24px 12px 12px !important; margin-bottom: 0; letter-spacing: 0.1em;
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); 
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); 
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); 
}
.service-list-mini .service-item .caption a, .service-list-mini .service-item .caption a:hover{color:inherit !important; font-weight: inherit !important;}

.couse-list-mini{ padding-top: 80px; padding-bottom: 120px;}
.couse-list-mini .scroll-item-list{margin-top: 40px;}
.couse-list-mini .scroll-item-list .owl-stage{padding: 10px;}
.couse-list-mini .couse-item{ padding: 2em; background: #ffffff; color: #7b7b7b; height: 100%; display:flex; flex-wrap: wrap; align-items: flex-start; border-radius: 4px; overflow: hidden;
-webkit-box-shadow: 0px 0px 15px -4px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 15px -4px rgba(0,0,0,0.75);
box-shadow: 0px 0px 15px -4px rgba(0,0,0,0.75);
	}
.couse-list-mini .couse-item>*{ flex-grow: 1;}
.couse-item .couse-cover{ display:block; margin: -2em -2em 1em; overflow: hidden;}
.couse-item:hover .couse-cover img{transform: scale(1.1);}
.couse-item .couse-title{ color:#058486 !important; font-weight: bold; text-shadow:none !important;}
.couse-item .couse-footer{align-self: flex-end; margin: 0 -1em -1em; padding: 0.5em; text-align: right; /*background-color: #25415a;*/}

.couse-list-mini .scroll-item-list{}
.couse-list-mini .scroll-item-list .owl-nav{top:10px; bottom:42px;}
.couse-list-mini .scroll-item-list .owl-nav button.owl-next, .couse-list-mini .owl-carousel .owl-nav button.owl-prev{width: 48px; font-size: 36px;}

.scroll-item-list .owl-stage{display:flex; flex-wrap: nowrap;}
.scroll-item-list button.owl-prev, .scroll-item-list:hover button.owl-prev{left:-48px; }
.scroll-item-list button.owl-next, .scroll-item-list:hover button.owl-next{right:-48px; }
.scroll-item-list button.owl-prev:hover, .scroll-item-list button.owl-next:hover{background-color: #009688}

.post-list-mini .list-item{ margin-bottom: 2em; display: flex; font-size: 0.9em; line-height: 1.2em}

.post-list-mini .post-cover{width: 96px; height: 96px; overflow: hidden; flex-shrink: 0; display:flex; align-items: center; justify-content: center; margin-right: 1em}
.post-list-mini .post-cover img{margin: auto; max-height: 100%;}
.post-list-mini .post-intro{ }
.post-list-mini .date{ opacity: 0.8;}
.post-list-mini .intro{text-align: justify;}
html[lang=en-GB] .post-list-mini .intro{ text-align: left;}
.post-list-mini .date+.intro{margin-top: 10px;}

/*.post-list-mini .intro{display:flex; flex-wrap: wrap; align-items: center; line-height: 1.5em; text-align: left; margin: 1em 0;}
.post-list-mini .intro>*{flex-grow: 0; width: 100%;}*/
.post-list-mini .block-btns{text-align: right}

.post-list{}
.post-list .list-item{ padding-top: 2.5em;padding-bottom: 2.5em;margin-bottom: 0;position: relative; display: flex; align-items: center;}
.post-list .post-cover{width: 200px; height: 200px; overflow: hidden; flex-shrink: 0; display:flex; align-items: center; justify-content: center; margin-right: 2em}
.post-list .post-cover img{margin: auto; max-height: 100%;}
.post-list .date{ opacity: 0.8;}
.post-list .date+.intro{margin-top: 10px;}


.popup-multi-gallery{display:flex; flex-wrap: wrap; align-items:flex-start; justify-content: flex-start;}
.popup-multi-gallery>*{flex:0 0 auto;}
.gallery, .gallery-mini{ margin-left: -1%; margin-right: -1%;}
.gallery-mini>*{padding: 5px; border: 1px #ddd solid; border-radius: 4px; text-align: center; margin: 0 1% 15px;}
.gallery-mini img+span{display:inline-block; margin-top: 5px;}
.gallery-col-2>*{width: 48%}
.gallery-col-3>*{width: 31.334%;}
.gallery-col-4>*{width: 23%;}
.gallery-col-5>*{width: 18%;}
.gallery-col-6>*{width: 14.667%;}

.home-slogan{ width: 90%; max-width: 800px; font-size: 20px; margin-left: auto; margin-right: auto; padding-right: 220px; position: relative; background: #f9f4eb; border-radius: 20px; }
.home-slogan img{margin-left: 2em; position: absolute; top:0; right:-50px }
.home-slogan>div{overflow: hidden; padding: 1em;}
.home-slogan .title{font-size: 1.5em !important; text-align: left !important; }
.home-slogan .text{font-size: 1.5em; line-height: 1.5em; font-style: italic; font-weight: 700; color: #2a373e;}
.home-slogan .quote{text-align: right;margin-top: 1em; font-style: italic; display: block; display:flex; justify-content: flex-end; align-items: center}
.home-slogan .quote:before{content: ""; width: 3em; height: 1px; background-color: currentColor; margin-right: 0.5em}

.home-left-broad{background-color:#fff; border-radius: 10px; padding: 2em; border: 20px #88b61f solid;}
table.events th,table.events td{vertical-align: middle !important}
td.event-day{width: 100px; text-align: center; vertical-align: top}
.event-day .date{padding: 8px; border-radius: 4px;}

input[type=checkbox]{width: 1px; height: 1px; border: none; background: none; outline: none; }
input[type=checkbox]:before{ display:block; width: 1.2em; height: 1.2em; line-height: 1.2em; position: absolute; left:-0.1em;top:-0.1em; border: 1px #CCC solid;background-color: #FFF; border-radius: 4px;z-index: 1; content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color:#fff;
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-moz-transition:0.5s all;
	-o-transition:0.5s all;
	-ms-transition:0.5s all;
}
.has-error input[type=checkbox]:before{ border-color:#a94442;}
input[type=checkbox]:checked:before{ background-color: #5cb85c; border-color: #5cb85c;}

.reg-form{max-width: 640px; margin: auto;}
.for-checkbox{margin-left: 1.5em;cursor: pointer;}
.for-checkbox+input{position: absolute; left:0; top:0; cursor: pointer;}

.login_form_container{max-width: 320px; margin: auto}

.list-group{}
.main-content .list-group>li{border-bottom: 1px #eee solid; padding: 1em; border-left: 10px #eee solid; margin-bottom: 5px;}
.main-content .list-group>li a{color:#777777}
.main-content .list-group>li.active{border-left-color:#009688; }
.main-content .list-group>li.active a{color:#009688}

figure{
    background-color: #FFF;
    padding: 1em;
    margin-bottom: 1.5rem;
    display: block;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.2);
}


.qna{ padding-left: 0; counter-reset: q-counter;} 
.main-content .qna>*{ margin-bottom: 2em;}
.main-content ol.qna>li:before{content: none;}
.qna .question{position: relative; display:flex; align-items: center; justify-content: flex-start;}
.qna .question:before{content: 'Q'counter(item-counter); display:block; width: 50px; height: 50px; margin-right: 10px; border-radius: 50%; background-color: #1db6a7; color:#FFF; text-align: center; line-height: 50px;}
.qna .answer{padding: 0 60px;}
.btn-round{border-radius: 50%; border: 2px #ccc solid;}
.qna .btn-round{width: 32px; height: 32px; padding: 3px; text-align: center; color:#ccc; cursor: pointer;}


.img-contain{display: flex; align-items: center; justify-content: center; width: 250px; height: 250px; overflow: hidden; margin: auto; position: relative; border: 5px #fff solid; border-radius: 50%;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.15);
}
.img-contain>img{ max-height: 100%; width: auto; position: relative; z-index: 1}
.img-contain>.photo-preload{position: absolute; top:0; right:0;bottom:0; left:0; background: rgba(255,255,255,0.7) url('loader.gif') no-repeat center; display:none; z-index: 2}
input[type=file]#photo{width: 256px; margin: auto;}

.inpage-side-img{width: 100%; height: 100%; background-color: #ccc; overflow: hidden; display:flex; align-items: center; justify-content: center;}
.inpage-side-img img{height:100%; max-width: none; margin: auto; }

.back-top{width: 64px; height: 64px; line-height: 64px; font-size: 32px; background-color: rgba(0,0,0,0.35); color:#FFF; padding-top: 0;}
.back-top:hover,.back-top:focus,.back-top:active{background-color:#4cb2a8; color:#FFF}


#preloader .chip {background-color: #80efbd !important;}

/**/
.model-custom{position: fixed; top:0; right:0; bottom:0; left:0; opacity: 1; z-index: -3; display: flex; align-items: center; justify-content: center;
	transition: z-index 0.5s step-end, opacity 0.5s linear;
	-webkit-transition: z-index 0.5s step-end, opacity 0.5s linear;
	-moz-transition: z-index 0.5s step-end, opacity 0.5s linear;
	-o-transition: z-index 0.5s step-end, opacity 0.5s linear;
	-ms-transition: z-index 0.5s step-end, opacity 0.5s linear;
}
.model-custom.m-on{z-index: 9999 !important; opacity: 1;
	transition: z-index 0.5s step-start, opacity 0.5s linear;
	-webkit-transition: z-index 0.5s step-start, opacity 0.5s linear;
	-moz-transition: z-index 0.5s step-start, opacity 0.5s linear;
	-o-transition: z-index 0.5s step-start, opacity 0.5s linear;
	-ms-transition: z-index 0.5s step-start, opacity 0.5s linear;
}
.model-custom.m-off{z-index: -9999 !important; opacity: 0;
	
}
.model-custom .pre-model{position: fixed; top:0; right:0; bottom:0; left:0; background: rgba(0,0,0,0.5); opacity: 0; z-index: -1;
	transition:0.5s opacity;
	-webkit-transition:0.5s opacity;
	-moz-transition:0.5s opacity;
	-o-transition:0.5s opacity;
	-ms-transition:0.5s opacity;
}
.model-custom.m-on .pre-model{z-index: 1;opacity:1;}
.model-custom .inbox{width: 100%; height: auto; position: relative; z-index: 2; overflow: hidden; background-color: #FFF; border-radius: 8px; max-width: 100%;
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.5);
}
.model-custom-header{padding: 10px 20px; font-size: 1.5em; color:#888;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
}
.model-custom .btn-close{width: 36px; height: 36px; font-size: 1.5em; line-height: 0; background: #FFF; position: absolute; right:10px; top:7px; color:#BBB; border: 2px #BBB solid; border-radius: 50%; cursor: pointer; display:flex; align-items: center; justify-content: center;
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-moz-transition:0.5s all;
	-o-transition:0.5s all;
	-ms-transition:0.5s all;
}

.model-custom .btn-close+.model-custom-header{padding-right: 40px;}

.model-custom .btn-close:hover{color:#666; border-color: #666;}
.model-custom-body{height:auto; /*max-height: 90%;*/ overflow-y: auto; padding: 20px;}


/**/
@media (max-width: 992px){
	#top-menu, #top-menu.fixed{top:80px;
		transition:0.5s top;
	-webkit-transition:0.5s top;
	-moz-transition:0.5s top;
	-o-transition:0.5s top;
	-ms-transition:0.5s top;
	}
	#top-menu{top:146px;}
	/*.open-search, #top-menu.open-search.fixed*/
	.header-search-button{display:none;}
		.search-bar-wrapper{position: fixed; top:80px;}
	#top-menu .navbar>li{background-color: #FFF !important;}
	#top-menu .navbar>li>.sub{overflow:visible !important;}
	.top-menu-hover, #top-menu .navbar>li:hover, #top-menu .navbar>li>.sub{color: inherit;}
	#top-menu .social{display:block; padding-top: 10px; padding-bottom: 10px;}
	
	.search-bar-wrapper{background-color: transparent;}
	#page-header {
    -webkit-box-shadow: 0px 10px 15px -50px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 10px 15px -5px rgba(0,0,0,0.15);
    box-shadow: 0px 10px 15px -5px rgba(0,0,0,0.15);
}
	
	#page-footer{padding-bottom: 80px;}
	.back-top{right:1%;}
}

@media (max-width: 768px){
	
	.form-horizontal .control-label{text-align: left}
	
	.couse-list-mini .couse-item{
    -webkit-box-shadow: 0px 0px 5px -2px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px -2px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px -2px rgba(0,0,0,0.5);
}
	
	.column-row .container, .column-row .container-lg, .column-row .container-sm, .column-row .container-xs{padding-top: 40px;}
	
	.home-slider .owl-nav button.owl-prev,.home-slider .owl-nav:hover button.owl-prev{ left: 0; opacity: 0.5; font-size: 16px;}
	.home-slider .owl-nav button.owl-next,.home-slider .owl-nav:hover button.owl-next{ right: 0; opacity: 0.5; font-size: 16px;}
	.couse-list-mini{padding-top: 80px;padding-bottom: 60px;}
	.post-list-mini .block-btns{text-align: center}
	
	.gallery-col-3>*, .gallery-col-4>*{width: 48%}
	.gallery-col-5>*, .gallery-col-6>*{width: 31.334%}
	
	#showcase_inpage{height: 80px;}
	
	.inpage-side-img{width: 100%; height: auto; background-color: #ccc; overflow: hidden}
	.inpage-side-img img{max-width: 100%; height:auto; transform: none; }
	
	ol.list-head-lg>li{padding-left: 36px;}
	ol.list-head-lg>li:before{font-size: 16px; line-height: 1.2em;}
	
	#page-footer{height: auto !important;}
}

@media (max-width: 736px){
	#page-header{height: auto !important; margin-bottom: 0;}
	#mobile-menu{top:10px !important;}
	.header-banner{height: auto !important;}
	.column-row .container{padding-top: 40px;}
	.home-slogan{width: 96%; padding-right: 140px; font-size: 1em !important;}
	.home-slogan img{max-width: 150px; top: auto; bottom: 50px; right: -10px;}
	
	.post-list-mini .post-cover{width: 100%; height: 250px; margin: 0 auto 1em;}
	.post-list-mini .list-item{flex-direction: column; justify-content: space-between; align-items: flex-start;}
	.post-list-mini .list-item>*:last-child{margin-bottom: 2rem;}
	iframe.gmap{max-width: 100%;}
	
}


@media (max-width: 568px){
.header-banner .logo, .header-banner.fixed .logo { height: 60px !important;}
	.scroll-item-list .owl-nav{display:none;}
}

@media (max-width: 425px){
	.header-banner{width: calc(100vw - 140px);padding: 10px !important;}
	.scroll-item-list button.owl-prev, .scroll-item-list:hover button.owl-prev{left: 0;}
	.scroll-item-list button.owl-next, .scroll-item-list:hover button.owl-next{right: 0;}
}

@media (max-width: 375px){
	
	.header-banner h1{font-size: 18px !important;}

	.home-slogan{padding-right: 1em; padding-bottom: 100px; }
	.home-slogan>*{width: 100%;}
	.home-slogan img{max-width: 150px; top: auto; bottom: -40px; right: 0; left:0; margin: auto;}
	
	.gallery-col-2>*, .gallery-col-3>*, .gallery-col-4>*{width: 98%}
	.gallery-col-5>*, .gallery-col-6>*{width: 48%}
	
	.service-list-mini .service-item .caption{font-size: 1em !important;}
	
}

/* Hack for Safari */
@media screen and (-webkit-min-device-pixel-ratio:0){
	.row:before, .row:after{display:none;}
}