h4, h5, h6,
h1, h2, h3 {margin-top: 0;}
ul, ol {margin: 0;}
p {margin: 0;}
html, body{
    font-family: 'Source Sans Pro', sans-serif, 'Microsoft JhengHei', 'Microsoft YaHei', 'LiHei Pro Medium', 'Heiti TC', 'Heiti SC';
    font-size: 100%;
    background-color: #FFF;
}
body a{
	transition:0.5s all;
	-webkit-transition:0.5s all;
	-moz-transition:0.5s all;
	-o-transition:0.5s all;
	-ms-transition:0.5s all;
}

#myCarousel {
	text-align:center;
	overflow: hidden;
	height:440px;
	vertical-align:middle;
	margin: auto;
}

.btn-slim {
	padding: 3px;
}

/* front page slider*/
.carousel-inner > .item > img, .carousel-inner > .item > a > img {
	display: block;
	height: auto;
	min-width: 100%;
	width: 100%;
	max-width: 100%;
	line-height: 1;
	margin: 0 auto;
}

.carousel-inner > .item > img, .carousel-inner > .item > .carousel-caption {
    top: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
	width: auto;
    height: auto;
}

.bigcaption {
	text-align:center;
	font-weight:bold;
	font-size:2.5em;
}

/* centered columns styles */
.row-centered {
    text-align:center;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.subheadding {
	margin:30px;
	text-align:center;
	font-weight:bold;
	font-family: 'Roboto';
	text-transform: uppercase;
}

.font-bold {
	font-weight:bold;
}

.shopping-cart {
	 float:right;
}

.pull-right {
	 float:right;
}

.container-inner {
	padding-top: 1em;
}

/*----shopping items----*/

.card-block {
	padding:0.8em;
}

.card-header {
	padding:0.8em;
}

.price {
	float: right;
	color:#000044;
	font-weight:bold;
}

.products .card-block {
	padding: 0.5em;
	height:160px;
	margin-bottom:20px;
}

.products .card-title {
	font-weight: bold;
	font-size: 80%;
	color: #333333;
}

.products .card-text {
	font-size: 70%;
	color: #666666;
}

.alignBottom {
  position:absolute;
  bottom: 5px;
  width: 90%;
}

.autocrop {
	max-height: 190px;
	overflow:hidden;
	position: relative;
}

.autocrop2 {
	max-height: 250px;
	overflow:hidden;
	position: relative;
}

/*---- hr style----*/
hr.style1{
	border-top: 1px solid #8c8b8b;
}


hr.style2 {
	border-top: 3px double #8c8b8b;
}

hr.style3 {
	border-top: 1px dashed #8c8b8b;
}

hr.style4 {
	border-top: 1px dotted #8c8b8b;
}

hr.style5 {
	background-color: #fff;
	border-top: 2px dashed #8c8b8b;
}


hr.style6 {
	background-color: #fff;
	border-top: 2px dotted #8c8b8b;
}

hr.style7 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}


hr.style8 {
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}
hr.style8:after {
	content: '';
	display: block;
	margin-top: 2px;
	border-top: 1px solid #8c8b8b;
	border-bottom: 1px solid #fff;
}

hr.style9 {
	border-top: 1px dashed #8c8b8b;
	border-bottom: 1px dashed #fff;
}

hr.style10 {
	border-top: 1px dotted #8c8b8b;
	border-bottom: 1px dotted #fff;
}
/*----start-header----*/
.header{
	background:#fff;
	padding: 1.5em 0 0 0;
}
.logo{
	float:left;
	margin-top: 0px;
}
.menu{
	float:right;
	background: #bae3f8;
}
.menu li{
	display:inline-block;
	background: #bae3f8;
	margin:0px;
}
.menu li a{
  	display: block;
	font-size:1em;
	color: #000000;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-weight: bold;
}
#nav .current a {
   color:#fff;
   background:#0c64af;
   -webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.menu li a:hover ,.menu li.active a{
	color:#fff;
	background:#0c64af !important;
} 
.toggleMenu {
	display:  none;
   	padding:4px 5px 0px 5px;
    border-radius:2em; 
    -webkit-border-radius:2em;
    -moz-border-radius:2em;
    -o-border-radius:2em; 
}

.header .mobi-toggler {
	float: right;
	color: #D8D8D8;
	border: 1px solid #D8D8D8;
	border-radius: 100% !important;
	width: 32px;
	height: 32px;
	display: none;
	margin: 25px 0 0 30px;
	position: relative;
	background: #fff url(../images/toggler.png) no-repeat 6px 8px;
  }
  .header .mobi-toggler i {
	display: none;
  }
  .header .mobi-toggler:hover {
	background: #e34f00 url(../images/toggler.png) no-repeat 6px -28px;
	border-color: #e34f00;
	color: #fff;
  }
  

.nav:before,
.nav:after {
    content: ""; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
}

.text-centered {
    text-align: center;
}

.footer{
	width:100%;
	display:table;
	height:150px;
	background-color: #bae3f8;
	padding:0;
	padding-top: 15px;
	color: #666666;
    position: absolute;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto; 
    width: 100%;
}

/* shopping done use */

.course_result_hover {
	background-color: #e1edf9;
	width: 100%;
	height: 200px;
	margin-top: 20px;
	margin-bottom: 10px;
	padding:15px;
	position: relative;
	overflow: hidden;
}

.product_result_nohover {
	background-color: #c2dcdb;
	width: 100%;
	height: 150px;
	margin-top: 20px;
	margin-bottom: 10px;
	padding:15px;
	position: relative;
	overflow: hidden;
}

.course-image {
	float: left;
	min-width:170px;
	max-width:170px;
	min-height:170px;
	max-height:170px;
	overflow: hidden;
	position: relative;
	margin-right: 20px;
}

.course-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}

.course-image img.portrait {
  width: 100%;
  height: auto;
}

.product-image {
	float: left;
	min-width:170px;
	max-width:170px;
	min-height:170px;
	max-height:170px;
	overflow: hidden;
	position: relative;
	margin-right: 20px;
}

.product-image img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}

.product-image img.portrait {
  width: 100%;
  height: auto;
}

.course_title {
	border-radius: 0px 15px 15px 0px;
	color: #176bb1;
	height: auto;
	padding-left: 15px;
	padding-top: 7px;
	padding-bottom: 7px;
	margin-top:10px;
	font-weight:bold;
	font-size: 260%;
}

.course_title a{
	color: #176bb1;
}

.course_area {
	font-weight: bold;
	color: #eb5312;
	font-size: 300%;
}

.course_dates {
	color: #176bb1;
	font-size: 220%;
}

.courses_list{
	background-color: #e1edf9;
	width:100%;
	display:block;
	height: auto;
	padding:0;
}

.product_list{
	background-color: #deefe9;
	width:100%;
	display:block;
	height: auto;
	padding:0;
}

.coupon_list{
	background-color: #fff0d9;
	width:100%;
	display:block;
	height: auto;
	padding:0;
}

.total_price_list{
	background-color: #ffffff;
	width:100%;
	display:block;
	height: auto;
	padding:0;
}


/* BEGIN max width 1024px */
@media (max-width: 1024px) {
	.header .mobi-toggler {
		display: block;
	}
	.header .header-navigation {
		float: none !important;		
		display: none;
		clear: both;
		background: #bae3f8;
		padding: 0 20px;
		margin: 0 -20px 25px;
		font-size: 16px;
	}
	.header .header-navigation li {
		float: none;
		padding: 0;
		clear: both;
	}
	.header .header-navigation li > a,
	.header .dropdown.open .dropdown-toggle,
	.header .header-navigation li.open > a {
		border-bottom: 1px solid #efefef !important;
		padding: 8px 10px 9px;
		margin: 0 -10px;
		position: relative;
		color: #666 !important;
		background: none !important;
	}
	.ecommerce .header .header-navigation li > a,
	.ecommerce .header .dropdown.open .dropdown-toggle,
	.ecommerce .header .header-navigation li.open > a {
		padding: 12px 10px 9px;
	}
	.header .header-navigation li > a:hover,
	.header .header-navigation li.active > a,
	.header .header-navigation li.open > a:hover {
		border-bottom: 1px solid #efefef !important;
		background: none !important;
		color: #dd4632 !important;
		text-decoration: none;
	}

	.header-navigation > ul > li.dropdown:hover > a:after {
	    border: none;
	}

	.header-navigation > ul > li > a > i.fa-angle-down {
		display: block;
		float: right;
		margin: 3px 0 0;
	}

	/* dropdown menu */
	.header-navigation .dropdown-menu,
	.header-navigation > ul > li > .dropdown-menu {
		position: static;
		width: 100%;
		margin: 0;
		border: none;
		box-shadow: none;
		background: none;		
		margin-top: 0;
		border-top: none;
		z-index: 22;
	}
	.header-navigation .dropdown-menu li {
		border: none !important;
		margin-left: 20px;
	}
	.header-navigation .dropdown-menu li > a {
		padding: 10px 10px 9px;
		z-index: 999;
		position: relative;
	}
	.header-navigation .dropdown-menu li > a > i {
		display: none;
	}

	.header-navigation .dropdown-menu .dropdown-menu {
		display: block;
	}
	.header-navigation .header-navigation-content {
		border: none;
	}
	.dropdown-megamenu .header-navigation-content {
		padding: 5px 0 0;
		margin-left: -20px;
	}
	.dropdown-megamenu .header-navigation-content .row {
		margin: 0;
	}
	.dropdown-megamenu .header-navigation-content .header-navigation-col {
		padding: 0;
		float: none;
		width: 100%;
	}
	.dropdown-megamenu .header-navigation-content h4 {
		font-size: 13px;
		padding: 10px 10px 9px;
		margin: 0 -10px 0 10px;
	}
	.header-navigation .dropdown-megamenu .header-navigation-content li > a {
		padding: 10px 10px 9px;
	}

	.header-navigation-content-ext {
		background: none;
	}
	.header-navigation-description {
		height: auto !important;
		background: none;
		box-shadow: none;
		padding: 0;
		margin: 0 10px;
	}
	.header-navigation-content-ext .col-md-6,
	.header-navigation-content-ext .col-md-3 {
		float: none;
		width: 100%;
	}
	.dropdown-megamenu .header-navigation-content-ext .col-md-3 h4 {
		border-bottom: 1px solid #EFEFEF;
	}
	.header-navigation .dropdown-menu .header-navigation-content-ext li > a {
		display: block;
	}
	.header-navigation-content-ext .col-md-3, .header-navigation-content-ext .col-md-6 {
		padding: 0;
	}
	.header-navigation-content-ext .col-md-6 {
		margin-left: 10px;
	}
	.header-navigation-content-ext .col-md-6 h4 {
		margin-left: 0;
		padding-left: 0;
	}

	.header .nav-brands {
		margin: 15px 10px;
		padding: 0;
		width: 100%;
		background: #fff;
	}
	.header .nav-brands ul {
		border: 1px solid #F0F0F0;
		padding: 10px;
	}
	.header .nav-brands li {
		max-width: 50%;
		display: inline-block;
		border: none;
		margin-left: 0
	}
	.header .nav-brands li a,
	.header .nav-brands li a:hover {
		border: none !important;
		margin: 0 !important;
	}

	.nav-catalogue .dropdown-menu > li {
		margin-left: 0;
	}
	.nav-catalogue .header-navigation-content {
		padding: 20px 0 0;
	}
	.nav-catalogue .product-item {
		margin-bottom: 20px;
	}

	.header-navigation li.menu-search,
	.ecommerce .header-navigation li.menu-search {
		top: 0;
		padding: 20px 0 10px;
		position: relative;
	}
	.header-navigation li.menu-search span.sep {
		display: none;
	}
	.header-navigation .search-box {
		position: relative;
		right: auto;
		left: 0;
	}
	.header-navigation .search-box:after {
		right: auto;
		left: 0;
	}

	.top-cart-block {
		margin-top: 3px;
	}

	.page-header-fixed .header-navigation {
		height: 300px;
		overflow: auto;
	}
}
/* END max width 1024px */


/*
@media screen and (max-width:800px) {
	.menu {
		margin:10px 0;
	}
    .active {
        display: block;
    }
    .menu li a{
    	text-align:left;
    	border-radius:0;
    	-webkit-border-radius:0;
    	-moz-border-radius:0;
    	-o-border-radius:0;
    }
    .nav {
	     list-style: none;
	     *zoom: 1;
	     width:95%;
		 position: absolute;
		 right:10px;
		 background:#051619;
		 top:86px;
		 z-index: 9999;
		 border:1px solid #0c64af;
    }
   .menu li a span.messages{
    	text-align:center;
    	top:15px;
    }
    .nav li ul{
    	width:100%;   	
    }
    .menu ul{
    	margin:0;
    }
    .nav > li.hover > ul {
        width:100%;
    }
    .nav > li {
        float: none;
        display:block;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }
    .nav li a{
    	border-top:1px solid #0c64af;
    	background:#fff;
    }
     .nav li:first-child a{
     	border-top:none;
     }
 }

*/