@import url(http://fonts.googleapis.com/css?family=Montserrat|Permanent+Marker);

html {
	min-height: 100%;
	position: relative;
}

body {
	font-family: 'Montserrat', "Microsoft JhengHei", "\5FAE\8F6F\6B63\9ED1\4F53", sans-serif;
	color: #7E8186;
	background-color: #eaecd7;
	min-height: 100%;
	padding-bottom: 140px;
}

a {
	color: #1B6B5F;
	-webkit-transition: all 0.3s ease 0s;
	   -moz-transition: all 0.3s ease 0s;
	    -ms-transition: all 0.3s ease 0s;
	     -o-transition: all 0.3s ease 0s;
	        transition: all 0.3s ease 0s;
}

a:hover,
a:active,
a:focus {
	color: #FFA408;
	text-decoration: none;
	outline: 0;
}

table .img-responsive {
	width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	color: #525354;
}

h1 {
	font-family: 'Permanent Marker', cursive;
}

p {
	margin: 0 0 20px;
}

hr {
	border-top: 1px solid #DCDFBE;
	margin-bottom: 30px;
    margin-top: 30px;
}


.navbar {
	border: none;
	border-radius: 0;
	margin-bottom: 0;
	z-index: 99;
}

.navbar-inverse {
	background-color: #1b6b5f;
}

.navbar-brand {
    padding: 10px 15px;
}

.navbar .navbar-header {
	z-index: 999;
	position: relative;
}

.navbar .navbar-collapse {
	z-index: 99;
	position: relative;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
	color: #fff;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
	background-color: rgba(0,0,0,.15);
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
	background-color: rgba(0,0,0,.15);
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
	background-color: rgba(0,0,0,.15);
}

.navbar-toggle {
	background-color: rgba(0,0,0,.15);
	border: none;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
	background-color: rgba(0,0,0,.55);
}

.navbar .navbar-collapse {
	border-top: 1px solid rgba(0,0,0,.15);
}

@media (min-width:991px) {
	.navbar {
		border: none;
		border-radius: 0;
		margin-bottom: 0;
		min-height: 130px;
		z-index: 99;
	}
	.navbar-header {
		min-height: 110px;
	}
	.navbar-inverse {
		background-color: transparent;
	}
	.navbar .skewBG {
		top: 0;
		left: 0;
		width: 100%;
		overflow: hidden;
		position: absolute;
		transform: skewY(-2deg);
		transform-origin: 0 100%;
		z-index: 0;
	}
	.navbar .skewBG .background {
		background-image: url(../img/navbar.jpg);
		background-position: center top;
		background-repeat: no-repeat;
		background-size: cover;
		height: 130px;
		transform: skewY(2deg);
		transform-origin: inherit;
	}
	.navbar-brand {
		padding: 15px;
	}
	.navbar .navbar-nav {
		margin-top: 20px;
	}
	.navbar .navbar-nav > li > a {
		font-family: 'Permanent Marker', cursive;
		font-size: 16px;
	}
	.navbar-inverse .navbar-nav > li > a:hover {
		border-radius: 2px;
	}
	.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
		color: #fff;
	}
	.navbar-inverse .navbar-nav > .active > a,
	.navbar-inverse .navbar-nav > .active > a:hover,
	.navbar-inverse .navbar-nav > .active > a:focus {
		border-radius: 2px;
	}
	.navbar-inverse .navbar-nav > .open > a,
	.navbar-inverse .navbar-nav > .open > a:hover,
	.navbar-inverse .navbar-nav > .open > a:focus {
		border-radius: 2px;
	}
	.navbar-inverse .dropdown-menu {
		background-color: #0f5c51;
	}
	.navbar-inverse .dropdown-menu > li > a:hover,
	.navbar-inverse .dropdown-menu > li > a:focus {
		background-color: #1b6b5f;
	}
	section:last-of-type {
		padding-bottom: 180px !important;
	}
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu > .dropdown-menu {
	top: 5px;
	left: auto;
	right: -100%;
	margin-left: -1px;
	-webkit-border-top-left-radius: 0;
	    -moz-border-radius-topleft: 0;
	        border-top-left-radius: 0;
}

.dropdown-submenu:hover > .dropdown-menu{
	display: block;
}

.dropdown-submenu:hover > a {
	background-color: #1b6b5f;
}

@media (max-width:797px) {
	.dropdown-submenu > .dropdown-menu > li > a {
		padding-left: 50px !important;
	}
}

.sidenav {	
    margin-right: 25px;
    padding-bottom: 15px;
    padding-right: 25px;
    margin-top: 80px;
    width: 22.86%;
}

.sidenav h1 {
    font-size: 24px;
	color: #DCDFBE;
	text-align: right;
}

.sidenav .nav > li > a {
    padding: 3px 0;
    text-align: right;
}

.sidenav .nav > li > a:hover, .sidenav .nav > li > a:focus {
    background-color: rgba(0, 0, 0, 0);
	color: #FFA408;
}

.sidenav .nav > li .fa {
    color: #DCDFBE;
    padding-left: 10px;
}

.sidenav .nav > li:hover .fa,
.sidenav .nav > li:focus .fa {
    color: #FFA408;
}

.sidenav .nav > li.active a,
.sidenav .nav > li.active .fa {
    color: #FFA408;
}

.sidenav .nav .child {
	margin-right: 5px;
    padding-right: 20px;
}

.sidenav .nav > li.child:before {
    border-top: 1px dashed #DCDFBE;
    content: "";
    display: block;
    right: 5px;
    margin-top: -1px;
    position: absolute;
    top: 14px;
    width: 8px;
}
.sidenav .nav > li.child:after {
    border-right: 1px dashed #DCDFBE;
    bottom: 0;
    content: "";
    display: inline-block;
    right: 0;
    position: absolute;
    top: 0;
    width: 0;
}

#slide {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: auto;
}

#slide img {
	margin: 0 auto;
}

#slide .carousel-caption {
	left: 15%;
    padding-bottom: 20px;
    right: 15%;
	text-align: right;
	text-shadow: none;
	-webkit-transition: all 0.3s ease 0s;
	   -moz-transition: all 0.3s ease 0s;
	    -ms-transition: all 0.3s ease 0s;
	     -o-transition: all 0.3s ease 0s;
	        transition: all 0.3s ease 0s;
}

@media (max-width:797px) {	
	#slide .carousel-caption {
		left: 10%;
		padding-bottom: 10px;
		right: 10%;
	}
	#slide .skewBG2 .background {
		height: 170px !important;
	}
	section:last-of-type {
		padding-bottom: 100px !important;
	}

}

#slide .carousel-caption h3 {
	color: #fff;
}

#slide .skewBG2 {
	bottom: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	position: absolute;
	transform: skewY(-2deg);
	transform-origin: 100% 0;
	z-index: 1;
}
#slide .skewBG2 .background {
	background-color: rgba(242, 112, 51, 0.9);
	background-image: url(../img/bg_number.png);
	background-position: center center;
	background-repeat: no-repeat;
	height: 200px;
	transform: skewY(-2deg);
	transform-origin: inherit;
}

#slide .skewBG2 .overlap {
	bottom: -69px;
	position: absolute;
	background-color: #eaecd7;
	height: 70px;
	transform: skewY(4deg);
	transform-origin: inherit;
	width: 100%;
	z-index: 1;
}

@media (max-width:680px) {
	#slide {
		margin-top: 50px;
	}
	#slide .skewBG2 .overlap {
		position: relative !important;
	}
}

.header-background {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	min-height: 400px;
}

@media (max-width:797px) {
	.header-background {
		min-height: 200px;
	}
	.header-background .skewBG2 {
		bottom: -30px !important;
	}

}

.header-background .skewBG2 {
	bottom: 0px;
	left: 0;
	width: 100%;
	overflow: hidden;
	position: absolute;
	transform: skewY(-1deg);
	transform-origin: 100% 0;
	z-index: 0;
}

.header-background .skewBG2 .background {
	background-color: #eaecd7;
	height: 40px;
	transform: skewY(0deg);
	transform-origin: inherit;
}

.breadcrumb {
	background-color: transparent;
	position: relative;
	bottom: 0;
	z-index: 9;
}

section {
	overflow: hidden;
}

.welcome {
	background-image: url(../img/wc_bird.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding: 40px 0;
	overflow: hidden;
}

@media (max-width:480px) {
	.welcome {
		background-position: left bottom;
		background-size: 80%;
		padding-bottom: 200px;
	}
}

@media (min-width: 481px) and (max-width:797px) {
	.welcome {
		background-position: left bottom;
		background-size: 50%;
		padding-bottom: 200px;
	}
}

.get_started {
	background-color: #5bab9f;
	background-image: url(../img/bg_blue.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	padding: 40px 0;
	overflow: hidden;
	position: relative;
}

.get_started h1 {
	margin-top: 40px;
	margin-bottom: 20px;
}

.get_started h1,
.get_started h4 {
	color: #00555f; 
}

.get_started h4 a,
.get_started h4 sa:active {
	color: #00555f;
}

.get_started .fa-circle {
	color: #00555f;
}

.get_started .skewBG2 {
	top: -72px;
	left: 0;
	width: 100%;
	overflow: hidden;
	position: absolute;
	transform: skewY(-3deg);
	transform-origin: 100% 0;
	z-index: 0;
}

.get_started p {
	color: #006671;
}

.get_started .skewBG2 .background {
	background-color: #eaecd7;
	height: 70px;
	transform: skewY(0deg);
	transform-origin: inherit;
}

.thumbnail {
    background-color: transparent;
    border: 0;
}

#news h1 {
    margin-bottom: 20px;
}

#news .thumbnail, #news .img-thumbnail {
    box-shadow: none;
}

#news .thumbnail {
	padding: 0px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border: 0;
	/border-bottom: 1px dotted #c5d3d2;
	border-radius: 0px;
}

#news .thumb {
	float: left;
	width: 25%;
	position: relative;
	min-height: 1px;
	padding-right: 15px;
}

#news .thumbnail a > img {
	display: block;
	height: auto;
	max-width: 100%;
}

#news .thumbnail .caption {
	color: #777;
    padding: 0px;
}

.breadcrumb {
    font-size: 12px;
	color: #9EA07A;
	background: #dcdfbe; /* Old browsers */
	background: -moz-linear-gradient(left,  #dcdfbe 0%, #eaecd7 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#1e5799), color-stop(100%,#7db9e8)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #1e5799 0%,#7db9e8 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #1e5799 0%,#7db9e8 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #1e5799 0%,#7db9e8 100%); /* IE10+ */
	background: linear-gradient(to right,  #dcdfbe 0%,#eaecd7 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 ); /* IE6-9 */

}

.breadcrumb > li + li:before {
    color: #eaecd7;
}

.breadcrumb > .active {
    color: #9EA07A;
}

.pagination .active {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #1B6B5F;
    border-color: #1B6B5F;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    color: #fff;
    cursor: default;
    float: left;
    font-size: 12px;
    padding: 5px 10px;
	font-weight: bold;
    text-decoration: none;
}

.bg_footer {
	background-image: url(../img/bg_footer.png);
	background-position: center bottom;
	background-repeat: no-repeat;
	width: 100%;
	height: 100px;
	position: absolute;
	top: -100px;
	z-index: 999;
}

select.dateofbirth {
	width: auto;
	display: inline-block;
}

footer {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
	color: #447d3c;
	background-color: #84c24a;
	padding: 20px 0 10px;
	position: absolute;
	bottom: 0;
	width: 100%;
}

footer .newsletter {
	width: 460px;
	border-radius: 4px;
	margin: 0 auto 10px;
	padding: 10px;
	background-color: rgba(0,0,0,.15);
}

footer label {
	color: #fff;
}


footer a {
	color: #447d3c;
}

.ft_banner {
	position: relative;
	margin-top: -150px;
	min-height: 200px;
	z-index: 999;
}

.ft_banner img {
	margin: 0 auto;
	text-align: center;
}


#top-link {
	display: none;
	position: fixed;
	right: 20px;
	background-color: #1B6B5F;
	font-size: 12px;
	color: #fff;
	line-height: 32px;
	text-align: center;
	height: 32px;
    width: 32px;
}

a:hover#top-link,
a:active#top-link,
a:focus#top-link {
	text-decoration: none;
	outline: 0;
}

.error-message {
    color: #dc3545;
}
