/*
 *  Document   : main.css
 *  Author     : Jim
 *  Description: The main stylesheet of the template
 *
 *  Structure (with shortcodes):
 *      (#m01mls) MAIN LAYOUT
 *      (#m02-1hds) HEADER
 *		(#m02-2fts) FOOTER
 *      (#m03mcs) MAIN CONTENT
 *      (#m04bos) BOOTSTRAP OVERWRITE/EXTEND STYLES
 *      (#m05ths) THEME
 *      (#m06hes) HELPERS
 *      (#m07res) RESPONSIVE
 *      (#m08rts) RETINA
 *      (#m09rprl) PRELOAD
 */

/*
=================================================================
(#m01mls) MAIN
=================================================================
*/
html { width: 100%; height: 100%; }
body {
	width: 100%;
	height: 100%;
	font-family: 微軟正黑體;
	font-size: 16px;
	background: #573F2F;
}

a { text-decoration: none; color: #3e3e3e; }
a:hover,a:focus,a:visited { text-decoration: none; color: #3e3e3e; }

span.alert-text { color: #A64B4B; }


.ff {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1; 
}


div#bgWrap {
	position: fixed;
    width: 100%;
    height: 100%;
    background:  url(../img/texture.png) repeat;
}

/*
=================================================================
(#m02-1hds) HEADER
=================================================================
*/


/* Main Menu */
div.sticky-wrapper { height: 63px; }
div.sticky-wrapper.index { height: 133px; }
#sidebar,#sidebar-alt { background-color: #323232; width: 0;position: absolute; overflow: hidden;
}


div#mb-sidebar { display: none; position: fixed; width: 100%; top: 63px; z-index: 20; left: 100%;
	background: #666360; }

div#mb-sidebar div.sidebar-scroll { padding-bottom: 80px; }

div#mb-sidebar.hidden-sidebar {
	left: 100%; 
	-webkit-animation-name: hiddensidebar; 
    -webkit-animation-timing-function: ease;
    -webkit-animation-duration: 0.4s; 
    animation-name: hiddensidebar;
    animation-timing-function: ease;
    animation-duration: 0.4s;
}

div#mb-sidebar.show-sidebar {
    display: block;
	left: 0px;
	-webkit-animation-name: showsidebar; 
    -webkit-animation-timing-function: ease;
    -webkit-animation-duration: 0.4s; 
    animation-name: showsidebar;
    animation-timing-function: ease;
    animation-duration: 0.4s;
}

@media screen and (min-width: 992px) {
    div#mb-sidebar.show-sidebar {
        display: none;
    }
}

/* Chrome, Safari, Opera */
@-webkit-keyframes hiddensidebar {
    0% { left:0px; }
    100% { left:100%; }
}

/* Standard syntax */
@keyframes hiddensidebar {
    0% { left:0px; }
    100% { left:100%; }
}

/* Chrome, Safari, Opera */
@-webkit-keyframes showsidebar {
    0% { left:100%; }
    100% { left:0px; }
}

/* Standard syntax */
@keyframes showsidebar {
    0% { left:100%; }
    100% { left:0px; }
}


/* Sidebar Navigation */
.sidebar-nav { list-style: none; margin: 0; padding: 0px 0 0;}
.sidebar-nav .sidebar-header:first-child { margin-top: 0;}
.sidebar-nav .sidebar-ul-split {padding:9px 10px; color:#262626; background:#323232; position: relative; }
.sidebar-nav .sidebar-ul-split:after {  position: absolute;  content: " ";  width: 0;  height: 0;  border: solid transparent;     right: 12px;    bottom: -12px;}
.sidebar-nav .sidebar-ul-split:after {  border-width: 6px;  border-top-color: #ff7878; }

.sidebar-nav select {margin: 10px 10px; padding: 5px 3px; background: #C40010; color: #262626; border: none; border-radius: 5px; }
.sidebar-nav select:focus {
	outline:none;
}
.sidebar-nav li.nav-title { background: #323232; border-bottom:1px solid #595959;}
.sidebar-nav li.nav-title a { color: #fff; display: inline-block; font-size: 17px; text-align: center; padding:0px; border-bottom: none; }



.sidebar-nav a {display: block;    color: #fff;    padding: 14px 25px;    min-height: 35px;    line-height: 35px; border-bottom:1px solid #888684;    text-decoration: none; }
.sidebar-nav a:hover,.sidebar-nav a.open,.sidebar-nav li.active > a {color: #fff; font-size: 16px; text-decoration: none; }
.sidebar-nav a.active {padding-left: 5px;    border-left: 5px solid #1bbae1; background: rgba(0, 0, 0, 0.3);}
.sidebar-nav a > .sidebar-nav-icon { -webkit-transform: rotate(90deg);    transform: rotate(90deg); }
.sidebar-nav a > .sidebar-nav-indicator { float: right;    line-height: inherit;    margin-left: 0px;    -webkit-transition: all 0.15s ease-out;    transition: all 0.15s ease-out;}
.sidebar-nav a > .sidebar-nav-icon,.sidebar-nav a > .sidebar-nav-indicator {    display: inline-block;    opacity: 0.5;    filter: alpha(opacity=50);    width: 18px;    font-size: 1em;    text-align: center;}
.sidebar-nav a:hover,.sidebar-nav a:hover > .sidebar-nav-icon,.sidebar-nav a:hover > .sidebar-nav-indicator,.sidebar-nav a.active,.sidebar-nav a.active > .sidebar-nav-icon,.sidebar-nav a.active > .sidebar-nav-indicator,.sidebar-nav a.open,
.sidebar-nav a.open > .sidebar-nav-icon,.sidebar-nav a.open > .sidebar-nav-indicator,.sidebar-nav li.active > a,.sidebar-nav li.active > a > .sidebar-nav-icon,.sidebar-nav li.active > a > .sidebar-nav-indicator { opacity: 1; filter: alpha(opacity=100);}
.sidebar-nav a.active > .sidebar-nav-indicator,.sidebar-nav a.open > .sidebar-nav-indicator,.sidebar-nav li.active > a > .sidebar-nav-indicator {    -webkit-transform: rotate(360deg);    transform: rotate(360deg);}
.sidebar-nav ul { list-style: none;padding: 0;margin: 0;display: none;  background: #524F4D;}
.sidebar-nav li.active > ul {    display: block;}
.sidebar-nav ul a {margin: 0; font-size: 16px; padding-left: 25px; min-height: 32px; line-height: 32px; border-bottom:1px solid #DAD0AFs;}
.sidebar-nav ul a.active,.sidebar-nav ul a.active:hover {border-left: 5px solid #1bbae1;    padding-left: 10px;}
.sidebar-nav ul a i { margin-right: 10px; }
.sidebar-nav ul ul { background: rgba(0, 0, 0, 0.3);}
.sidebar-nav ul ul a {padding-left: 25px; border-bottom:1px solid #A51717;}
.sidebar-nav ul ul a.active,.sidebar-nav ul ul a.active:hover {padding-left: 20px;}
#sidebar,#sidebar-alt,#main-container,.header-fixed-top header{-webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out;}

/* sticky */
.is-sticky #a-cart-sticky-header {
    left: 0;
    margin-left: 0;
    opacity: 1;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    display: block;
    /* transition: all 0.1s ease-in 0s; */
}


/*
=================================================================
(#m02-2fts) FOOTER
=================================================================
*/

div.mb-foot { padding: 16px 0px; background: #573F2F; }
div.mb-foot span { color: #fff; }

/*
=================================================================
(#m03mcs) MAIN CONTENT
=================================================================
*/
div#page-container { height: 100%; }
div#main-container { width: 100%; height: 100%; }

.container.right-area { padding-left: 0px; padding-right: 0px; }

div.left-part { position: absolute;  height: 100%; width: 187px; } 
div.right-part { position: relative; height: 100%; } 
div.right-content { background: #A99B90; width: 100%; height: 100%; max-height: 100%; overflow-x: hidden; overflow-y: hidden; padding: 0px 15px; }
div.right-content.index { background: #563F2E; padding: 0px 15px; background-image: url(../img/texture.png); }
div.left-menu { width: 186px; float: right; padding-top: 75px; }
div.left-menu img { display: block; margin-bottom: 10px; }
div.left-menu>ul { list-style: none; padding-left: 0px; margin-top: 45px;  }
div.left-menu>ul li+li { margin-top: 2px; }
div.left-menu>ul>li.selected { list-style: url(../img/triangle2.png);  }
div.left-menu>ul a { color: #fff; font-size: 16px; line-height: 34px; }
div.left-menu>ul a:hover { color: #E6C948; }
div.left-menu>ul>li.selected a { color: #E6C948; }

div.left-menu>ul>li.social-area { margin-top: 60px; border-top: 1px solid #FFFFFF; padding-top: 12px; display: inline-block; }
div.left-menu>ul>li.social-area>a { display: inline-block; margin-right: 5px; }

div.left-menu ul.nav2 { list-style: none; padding-left: 14px; }
div.left-menu ul.nav2 li a:hover,div.left-menu ul.nav2 li.selected a { color: #EBD6A6; text-decoration: underline; }

div.xs-menu { background: rgba(0,0,0,0.9); position: relative; height: 63px; }
div.xs-menu.menu-open { background: #080605; }

div.xs-menu a.xs-logo img { margin-left: 25px; margin-top: 15px; width: 107px; height: 38px; }

div.xs-menu a.xs-member { float: right; display: inline-block; width: 69px; height: 63px; /*background: #35312E;*/ }
div.xs-menu a.xs-member .member-login-status {
    margin: 16px auto;
    width: 30px;
    height: 30px;
    position: relative;
}
div.xs-menu a.xs-member .member-login-status.login { background: url(../img/login-before.png) no-repeat; background-size: 30px;}
div.xs-menu a.xs-member .member-login-status.login-finish { background: url(../img/login-after.png) no-repeat; background-size: 30px;}

div.xs-menu a.xs-menu { float: right; display: inline-block; width: 69px; height: 63px; /*background: #252525;*/ }

div.xs-menu a.xs-menu .icon-wrapper {
    margin: 21px auto;
    width: 30px;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 400ms ease-in-out;
    transition: 400ms ease-in-out;
    cursor: pointer;
}

div.xs-menu a.xs-menu .icon-wrapper span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 400ms ease-in-out;
    transition: 400ms ease-in-out;
}

div.xs-menu a.xs-menu.active .icon-wrapper span:nth-child(1) {
    top: 10px;
    width: 0%;
    left: 50%;
}
div.xs-menu a.xs-menu.active .icon-wrapper span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

div.xs-menu a.xs-menu.active .icon-wrapper span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
div.xs-menu a.xs-menu.active .icon-wrapper span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

div.xs-menu a.xs-menu .icon-wrapper span:nth-child(1) { top: 0px; }
div.xs-menu a.xs-menu .icon-wrapper span:nth-child(2) { top: 10px; }
div.xs-menu a.xs-menu .icon-wrapper span:nth-child(3) { top: 10px; }
div.xs-menu a.xs-menu .icon-wrapper span:nth-child(4) { top: 20px; }


div.main-content { padding-bottom: 40px; }
h1.title { color: #573F2F; font-size: 28px; font-weight: bold; margin: 20px 0px;  }
div.article-area { color: #6B5749; font-size: 15px; padding-bottom: 40px;}
div.article-area img { max-width: 100%; height: auto; }

div.article-area.map img.map { cursor: pointer; }
div.article-area.map img.map.map-hidden { display: none; }
div.article-area.map div.map-spec { color: #675346; font-size: 16px; font-weight: bold; margin-top: 10px; }

.page-back { font-size: 14px; color: #573F2F; line-height: 20px; }
.page-back img { width: 26px; height: 20px; vertical-align: top; }
.page-back.course { display: inline-block; margin-top: 15px; }

div.article-area.news { padding-bottom: 0px; }

div.article-date-area .news-date { float: right; font-size: 14px; font-weight: bold; color: #505050; font-family: arial,微軟正黑體; }

div.article-area.course { min-height: 21px; padding-bottom: 0px; }


/* calendar */
div.calendar { width: 100%; border: 1px solid #fff; margin-bottom: 20px; padding-bottom: 20px; opacity: 1; position: relative;}
div.calendar-month { text-align: center; margin: 20px 0px; }
div.calendar-month img { max-width: 80%;  }

div.calendar>div { text-align: center; }
div.calendar>div.calendar-date:after,div.calendar>div.calendar-title:after { content: ''; display: block; clear: both; }

div.calendar div.calendar-num-box { float: left; width: 14.2%; text-align: center; position: relative; padding-bottom: 15px; padding-top: 5px; }
div.calendar div.calendar-num-box.class { cursor: pointer; }
div.calendar i { display: inline-block; font-size: 20px; color: #fff;  margin: 0px; }
div.calendar i.today { background: #fff; color: #666360; border-radius: 3px; }

div.calendar div.select_dot { position: absolute; bottom: 6px; left: 50%; margin-left: -3px; width: 6px; height: 6px; background: url(../img/index/circle.svg); background-size: 6px 6px; }

div.calendar div.calendar-num-box.class.condition i.selected { color: #F7D94C; }
div.calendar div.calendar-num-box.class.condition div.select_dot { background: url(../img/index/circle2.svg); background-size: 6px 6px; }

div.calendar div.calendar-num-box.class div.triangle { position: absolute; bottom: -15px; left: 50%; margin-left: -13px; width: 26px; height: 15px; background: url(../img/index/triangle.png); }

div.calendar-button { position: absolute; background: #aaa; width: 21px; height: 12px; left: 50%; margin-left: -11px; cursor: pointer; z-index: 20; }
div.calendar-button.pre { top: -20px; background: url(../img/index/arrow_up.png); }
div.calendar-button.next { bottom: -20px; background: url(../img/index/arrow_down.png); }

div.class-des { position: relative; background: #A09186; margin-top: 15px; padding: 30px 20px; }

div.class-des div.close-des { position: absolute; right: 5px; top: 5px; width: 20px; height: 20px; cursor: pointer; background: url(../img/index/close_button.png); }
div.class-des div.class-des-box { padding-left: 0px; min-height: 120px;
	position: relative; color: #604A3A; font-size: 15px; text-align: left; }
	div.class-des div.class-des-box.margin-top { margin-top: 10px; padding-top: 16px; border-top: 1px dashed #573F2F; }
div.class-des div.class-des-box img { display: none; position: absolute; left: 10px; width: 120px; height: 120px; }
div.class-des div.class-des-box h2 { color: #604A3A; font-size: 18px; margin: 0px; font-weight: bold; margin-bottom: 15px; }

div.class-des div.class-des-box div.class-des-content { padding-right: 0px; position: relative; min-height: 87px; }

div.class-des div.class-des-box div.class-sign { position: relative; text-align: center; margin-top: 10px; }
div.class-des div.class-des-box a.sign-up { display: inline-block; margin-top: 5px; background: #604A3A; color: #fff; padding: 5px 8px; width: 100%; }


/* class-choice */

div.class-choice { position: absolute; top: 50%; margin-top: -60px; right: -80px; }
div.class-choice ul { list-style: url(../img/index/circle.svg); padding-left: 15px; width: 120px; }
div.class-choice ul li { color: #fff; font-size: 14px; cursor: pointer; }
div.class-choice ul li.selected { list-style: url(../img/index/circle2.svg); }
div.class-choice ul li+li { margin-top: 20px; }


div.class-choice-mb { background: rgba(86, 63, 46,0.9); height: 80px; position: relative; }
div.class-choice-mb p { margin: 0px; line-height: 30px; color: #fff; }
div.class-choice-mb p span { line-height: 30px; margin-left: 10px; }
div.class-choice-mb span { color: #fff; cursor: pointer; line-height: 40px;}
div.class-choice-mb span i.dot { width: 8px ; height: 8px; border-radius: 8px; background: #fff; display: inline-block; margin-right: 5px; margin-bottom: 3px;  }
div.class-choice-mb span.selected i.dot { background: #EDD251; }
div#class-choice-mb-owl { padding: 0px 30px; }
div#class-choice-mb-owl div.owl-controls div.owl-nav>div {
    position: absolute;
    top: 50%;
    margin: 0px !important;
    margin-top: -22px !important;
    width: 20px;
    height: 39px;
    padding: 0px;
    border-radius: 0px !important;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}
div#class-choice-mb-owl div.owl-prev { left: 10px; }
div#class-choice-mb-owl div.owl-next { right: 10px; }


/* class sign */
div.ori-form div.row { margin-bottom: 10px; }

div.ori-form div.form-group.no-margin { margin-bottom: 0px; }
div.ori-form div.row>div { margin-bottom: 10px; }
div.ori-form div.form-group>div { margin-bottom: 10px; }

div.ori-form span.class-title { color: #563F2E; font-size: 18px; font-weight: bold; }
div.ori-form span.class-type { color: #563F2E; }
div.ori-form span.class-price { color: #A04040; }

label.form-title { padding-left: 15px; border-left: 3px solid #856650; margin-bottom: 0px; }
label.form-title.margin-top { margin-top: 20px; }
label.form-title .list-type { display: inline-block; }
label.form-title .list-type img { width: 34px; height: 16px; }

div.form-option-des { padding-right: 40px; position: relative; }
div.form-option-des div.date-text { position: absolute; right: 15px; top: 6px; }

img.vcode { height: 34px; margin-right: 10px; }
div#refresh_img { display: inline-block; margin-top: 4px; cursor: pointer; }
div#refresh_img i { color: #5E4633; }

div.line { border-top: 1px solid #967F6E; margin: 15px 0px; }


a.submit-button { display: inline-block; background: #88674F; width: 100%; padding: 5px 0px; color: #C6B9AF; text-align: center;  margin-top: 10px; border: 1px solid #C6B9AF; }
button.submit-button { display: inline-block; background: #88674F; width: 100%; padding: 5px 0px; color: #C6B9AF; text-align: center;  margin-top: 10px; border: 1px solid #C6B9AF; }


/* class list */ 
a.class-list { position: relative; border: 1px solid #E1D4CC; background: #D2C9C2; padding: 15px 15px 15px 15px; position: relative; display: block; }
a.class-list.news { padding: 40px 15px 15px 15px; }
a.class-list+a.class-list { margin-top: 35px; }

a.class-list img { max-width: 100%; }

a.class-list div.class-list-content { padding-left: 0px; position: relative; min-height: 120px; height: 70px; overflow: hidden; }
a.class-list div.class-list-content img.class-photo { position: absolute; left: 0px; width: 120px; height: 120px; border: 3px solid #FFFFFF; }
a.class-list div.class-list-content h3 { font-size: 17px; color: #64442C; max-height: 38px; line-height: 19px; overflow: hidden; margin-top: 0px; margin-bottom: 5px; }
a.class-list div.class-list-des { color: #95755D;     margin-top: 12px;}

a.class-list div.list-date { font-size: 14px; font-weight: bold; color: #505050; font-family: arial; margin-bottom: 12px; }

a.class-list div.class-list-content img.text-hidden { position: absolute; right: 0px; bottom: 0px; }
a.class-list .list-type { position: absolute; top: 10px; left: 18px; }
a.class-list img.news-tag-right { width: 34px; height: 16px; }
a.class-list img.news-tag-left { width: 34px; height: 16px; }

a.class-list img.more { position: absolute; bottom: -1px; right: -1px; width: 56px; height: 28px; }
/* history record */
div.record-list { border: 1px solid #E1D4CC; background: #D2C9C2; padding: 8px 15px 8px 15px; position: relative; }
div.record-list+div.record-list { margin-top: 35px; }
div.record-list div.row { padding: 5px 0px; }
div.record-list div.row+div.row { border-top: 1px solid #E7DCD4;  }
div.record-list label.title { margin-bottom: 0px; color: #95755D; }
div.record-list span { color: #95755D; }
div.record-list span.num { color: #64442C; }
div.record-list span.class-name { color: #932525; }

/* login */
div.login-area { padding:none; padding-top: 20px; border: none;  }


/*
=================================================================
(#m04bos) BOOTSTRAP OVERWRITE/EXTEND STYLES
=================================================================
*/
input[type=radio] {
    background-color: #C6B9AF;
}


.form-control {
    background: #C6B9AF;
    border: 1px solid #927A69;
}

.modal-content {
    background: #C6B9AF;
}
.modal-header {
    border-bottom: 1px solid #927A69;
}
.modal-footer {
    border-top: 1px solid #927A69;
}

.control-label {
    color: #604A3A;
}
/*
=================================================================
(#m05ths) THEME
=================================================================
*/


/*
=================================================================
(#m06hes) HELPERS
=================================================================
*/


 div.right-content div.slimScrollBar { background:none !important; }


/*
=================================================================
(#m07res) RESPONSIVE
=================================================================
*/




@media screen and (max-width: 550px) {
	
}

@media screen and (max-width: 450px) {
	
}

@media screen and (min-width: 380px) {
	
}

@media screen and (min-width: 500px) {
	div.calendar i { font-size: 26px; }
	div.calendar i div.select_dot { bottom: 10px; }
	div.class-des div.class-des-box div.class-des-content { padding-right: 90px; }
	div.class-des div.class-des-box div.class-sign { position: absolute; right: 5px; bottom: 0px; text-align: center; }
	div.class-des div.class-des-box a.sign-up { width: auto; }
	div.class-choice-mb ul li+li { margin-left: 30px; }
}


@media screen and (min-width: 768px) {
	.container {
	    width: 100%;
	}
	div.calendar i { font-size: 28px; }
	
	div.class-choice-mb ul li { font-size: 16px; }

	h1.title { font-size: 36px; }

	div.class-des { padding: 30px 20px; }
	div.class-des div.class-des-box { padding-left: 160px; }
	div.class-des div.class-des-box img { display: block; }
	
	div.ori-form div.form-group.no-margin { margin-bottom: 15px; }
	div.ori-form div.row>div { margin-bottom: 0px; }
	div.ori-form div.form-group>div { margin-bottom: 0px; }
	
	a.class-list div.class-list-content { padding-left: 140px; }
	a.class-list div.class-list-content h3 { max-height: 38px; overflow: hidden; line-height: 19px; }
    
	div.login-area { padding: 40px 15px 40px 15px; border: 1px solid #927A69; }
}

@media screen and (min-width: 992px) {
	.container {
	    width: 869px;
	}
	.container.right-area { padding-left: 15px; padding-right: 15px; height: 100%; }

	div.md-area { height: 100%; background: #573F2F; }
	
	div.right-part { margin-left: 237px;  }
	div.right-content { padding: 0px; }
	div.right-content.index { width: 547px; padding: 0px; }
	div.right-content::-webkit-scrollbar { 
	    display: none; 
	}
	
	div.main-content { margin-top: 112px; margin-bottom: 100px; padding: 0px 40px; }
	h1.title { margin: 0px; margin-bottom: 30px; }

	div.calendar { margin: 50px 0px; opacity: 0.5; }
	div.calendar i { font-size: 26px; }
}

@media screen and (min-width: 1200px) {	

}

@media screen and (min-width: 1300px) {

}


@media screen and (min-width: 1500px) {
}

/*
=================================================================
(#m08rts) RETINA
=================================================================
*/

/*
=================================================================
(#m09rprl) PRELOAD
=================================================================
*/
