@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900|Josefin+Sans:300,400,600,700);

/*--- resets ----*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
strong {
	font-weight: 700;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*--------------------------------------------------------------*/

html {
	height: 100%;
	overflow-y: scroll;
}
body {
	font: 16px 'Lato', sans-serif;
	overflow: hidden;
}

a, visited {
	color: #42B6A7;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

h1 {
	color: #53988D;
	text-transform: uppercase;
	font: 400 36px 'Josefin Sans', sans-serif;
	margin-bottom: 20px;
	border-bottom: 1px solid #53988D;
}
h2 {
	font: 300 26px 'Lato', sans-serif;
	margin-bottom: 20px;
}

.clearFloat {
	clear: both;
	line-height: 1;
}
.container {
	width: 1000px;
	margin: 0 auto;
	display: block;
}
header {
	display: block;
	padding: 10px 5%;
	background: #313131;
	box-sizing: border-box;
}
nav {
	display: flex;
	position: relative;
	z-index: 3;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
    transition: all 300ms ease-in-out;
}
.home nav {
	border-bottom: 1px solid rgba(255,255,255,0.5);
}
nav.fixed {
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	width: 100%;
	padding: 15px 25px;
	background: #313131;
	border-bottom: 0;
}
#logo {
	color: #fff;
	text-align: left;
	margin: 20px 0;
	text-shadow: 0 0 5px #000;
	font: 400 37px 'Lato', sans-serif;
	line-height: 30px;
	text-decoration: none;
	display: block;
	width: 17%;
	transition: all 300ms ease-in-out;
}
	#logo .bamboo {
		width: 100px;
		float: left;
		margin: 8px 5px 0 0;
		transition: all 300ms ease-in-out;
		border-radius: 5px;
	}
	#logo strong {
		font: 700 42px 'Josefin Sans', sans-serif;
	}
	#logo .logo {
		width: 100%;
	}
.right {
	width: 65%;
}
.right .call {
	text-align: right;
	color: #fff;
    font: 400 24px 'Lato', sans-serif;
    padding: 0 7% 25px 0;
}
	.right .call strong {
		color: #5CB9AC;
	}
.mobile_menu {
	display: none;
}
nav ul.menu {
	display: flex;
	width: auto;
	padding: 0 1%;
	flex-direction: row;
	justify-content: space-around;
}
	nav li {
		overflow: hidden;
		position: relative;
	}
	nav li a {
		color: #fff;
		font: 600 17px 'Josefin Sans', sans-serif;
		text-transform: uppercase;
		text-shadow: 0 0 5px rgba(0,0,0,0.8	);
		padding: 0 10px;
		text-decoration: none;
	}
	nav li a:before {
		content: "[";
		position: absolute;
		left: -8px;
		font-size: 18px;
		transition: all 0.25s;
	}
	nav li a:after {
		content: "]";
		position: absolute;
		right: -8px;
		font-size: 18px;
		transition: all 0.25s;
	}
	nav li a:hover:before {
		left: 2px;
	}
	nav li a:hover:after {
		right: 2px;
	}

/* Home Page */
.home header {
	height: 700px;
	background: none;
}
.home h2 {
	text-align: center;
}
#slideshow {
	display: block;
	overflow: hidden;
	width: 100%;
	height: 700px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
	#slideshow .overlay {
		position: absolute;
		z-index: 2;
		background: rgba(0,0,0,0.5);
		width: 100%;
		height: 100%;
	}
	#slideshow > .slide {
		width: 2000px;
		position: absolute;
		top: 0;
		left: 50%;
		margin-left: -1000px;
		z-index: 1;
	}
#call_slogan {
	display: none;
	position: absolute;
	z-index: 2;
	top: 300px;
	left: 0;
	right: 0;
	color: #fff;
	font: 300 28px 'Lato', sans-serif;
	width: 420px;
	margin: 0 auto;
	text-align: center;
	padding: 15px 0;
	background: rgba(0,0,0,0.5);
}
	#call_slogan .phone {
		display: block;
		font: 700 40px 'Lato', sans-serif;
		text-shadow: 0 0 6px #000;
	}
	#call_slogan:before {
		content: "";
		width: 2px;
		background: #fff;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		-webkit-animation: downUp 2s; 
		-moz-animation: downUp 2s; 
		-ms-animation: downUp 2s;
		-o-animation: downUp 2s; 
		animation: downUp 2s;
	}
	#call_slogan:after {
		content: "";
		width: 2px;
		background: #fff;
		height: 100%;
		position: absolute;
		right: 0;
		bottom: 0;
		-webkit-animation: downUp 2s; 
		-moz-animation: downUp 2s; 
		-ms-animation: downUp 2s;
		-o-animation: downUp 2s; 
		animation: downUp 2s;
	}
	@keyframes downUp {
	    from { height: 0; }
	    to   { height: 100%; }
	}
	@-moz-keyframes downUp {
	    from { height: 0; }
	    to   { height: 100%; }
	}
	@-webkit-keyframes downUp {
	    from { height: 0; }
	    to   { height: 100%; }
	}
	@-ms-keyframes downUp {
	    from { height: 0; }
	    to   { height: 100%; }
	}
	@-o-keyframes downUp {
	    from { height: 0; }
	    to   { height: 100%; }
	}
	#call_slogan span:before {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		display: block;
		width: 100%;
		height: 2px;
		background: #fff;
		-webkit-animation: leftRight 2s; 
		-moz-animation: leftRight 2s; 
		-ms-animation: leftRight 2s;
		-o-animation: leftRight 2s; 
		animation: leftRight 2s;
	}
	#call_slogan span:after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		height: 2px;
		background: #fff;
		-webkit-animation: leftRight 2s; 
		-moz-animation: leftRight 2s; 
		-ms-animation: leftRight 2s;
		-o-animation: leftRight 2s; 
		animation: leftRight 2s;
	}
	@keyframes leftRight {
	    from { width: 0; }
	    to   { width: 100%; }
	}
	@-moz-keyframes leftRight {
	    from { width: 0; }
	    to   { width: 100%; }
	}
	@-webkit-keyframes leftRight {
	    from { width: 0; }
	    to   { width: 100%; }
	}
	@-ms-keyframes leftRight {
	    from { width: 0; }
	    to   { width: 100%; }
	}
	@-o-keyframes leftRight {
	    from { width: 0; }
	    to   { width: 100%; }
	}
#services {
	display: block;
	margin: 25px auto;
	text-align: center;
}
#services .service {
	display: inline-block;
	vertical-align: top;
	color: #2E9C8E;
	width: 30%;
	text-align: center;
	padding: 1%;
	box-sizing: border-box;
	margin: 5px 0;
	border: 1px solid #fff;
	transition: all .25s;
	text-decoration: none;
}
	#services .service:hover {
		border-radius: 5px;
		background: #f1f1f1;
		box-sizing: border-box;
	}
	#services .icon {
		display: block;
		width: 50px;
		height: auto;
		margin: 10px auto;
		transition: all 0.2s;
	}
	#services .type {
		display: block;
	}
	#services .service:hover .icon {
		width: 60px;
		margin: 5px auto;
	}
#intro {
	display: block;
	padding: 20px 0;
	text-align: justify;
	color: #53988D;
	background: #f1f1f1;
}
	#intro p:first-letter {
		font-weight: 800;
		color: #53988D;
	}
	#intro h1 {
		text-align: center;
		font: 300 26px 'Lato', sans-serif;
		margin-bottom: 20px;
		text-transform: none;
		border-bottom: 0;
	}
	#intro .clinic_front {
		width: 40%;
		float: left;
		margin-right: 15px;
	}
	#intro .certs {
		display: block;
		text-align: center;
		margin: 15px auto;
	}
	#intro .certs img {
		margin: 0 2%;
	}
	#intro li {
		list-style: square;
		margin-left: 20px;
		margin-bottom: 7px;
	}
#clinic_info {
	display: block;
	margin: 35px auto;
	text-align: center;
}
	#clinic_info .info {
		display: inline-block;
		vertical-align: top;
		width: 40%;
		font-size: 18px;
		text-align: left;
		padding-left: 5%;
		border-right: 1px solid #999999;
		box-sizing: border-box;
	}
	#clinic_info .info:last-child {
		border-right: 0;
	}
	#clinic_info .info strong {
		font-weight: 700;
	}

/* Internal Pages */
main {
	display: block;
	width: 1000px;
	margin: 25px auto;
	min-height: 600px;
}
.treatments .sectional {
	float: left;
	width: 50%;
	padding: 0 1%;
	box-sizing: border-box;
}
.treatments h2 .title {
	font: 700 24px 'Josefin Sans', sans-serif;
    color: #53988D;
}
.treatments p {
	display: block;
	margin-bottom: 20px;
}
#treatment_list {
	display: block;
	margin: 20px auto;
}
#treatment_list .etabs {
	margin: 0; 
	padding: 0;
}
#treatment_list .tab {
	display: inline-block; 
	zoom:1; 
	*display:inline; 
	background: #53988D; 
	-moz-border-radius: 4px 4px 0 0; 
	-webkit-border-radius: 4px 4px 0 0;
}
#treatment_list .tab a {
	font-size: 16px; 
	line-height: 2em; 
	display: block; 
	color: #fff;
	padding: 0 10px; 
	outline: none;
	text-decoration: none;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
#treatment_list .tab a:hover {
	background: #8FCCC2;
}
#treatment_list .ui-tabs-active {
	background: #313131; 
	position: relative; 
	top: 0; 
}
#treatment_list .tab a.active {
	font-weight: bold;
}
#treatment_list .tab-content {
	padding: 10px 15px; 
	background: #f1f1f1;]
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.about .bio {
	display: block;
	margin: 25px auto;
}
.bioImg {
	width: 90%;
	margin: 0 auto;
	display: block;
}
.hexa, .hexa div {
  margin: 0 auto;
  transform-origin: 50% 50%;
  overflow: hidden;
  width: 300px;
  height: 300px;
}
.hexa {
	width: 275px;
	height: 180px;
	float: left;
	margin: 10px 0;
}
	.bio.kimi .hexa {
		float: right;
	}
.hexa div {
	width: 100%;
	height: 100%;
}
.hexa {
  transform: rotate(120deg);
}
.hex1 {
  transform: rotate(-60deg);
}
.hex2 {
  transform: rotate(-60deg);
}
.bio .name {
	display: block;
	font: 700 22px 'Josefin Sans', sans-serif;
	color: #53988D;
}
.bio .chinese {
	display: block;
	font-size: 24px;
	margin: 5px 0;
}
.divider {
	background: -webkit-radial-gradient(#C2C2C2 10%, transparent 80%);
	background: -moz-radial-gradient(rgba(194,194,194,0.5) 0%, transparent 80%);
	background: -ms-radial-gradient(#C2C2C2 10%, transparent 80%);
	display: block;
	width: 80%;
	height: 2px;
	margin: 20px auto;
}
.about .title {
	display: block;
	font-size: 18px;
}
.about .title:first-letter {
	font-weight: 700;
	color: #53988D;
}
.about main ul {
	margin: 15px 0;
}
.about ul.certification li {
	list-style: square;
	margin-left: 25px;
	margin-bottom: 10px;
}
.about ul.masters {
	display: block;
	margin: 25px 0;
}
.about ul.masters li {
	display: inline-block;
	vertical-align: top;
	width: 27%;
	margin: 5px 2%;
	position: relative;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
	.about ul.masters li a {
		display: block;
		padding: 5px 0;
	}
.about .img_hover {
	width: 150px;
	height: 0;
	position: absolute;
	left: 5%;
	padding: 0;
	bottom: 45px;
	background: #C5C5C5;
	box-sizing: border-box;
	border-radius: 8px;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
	.about .toolImg {
		width: 100%;
		display: none;
		-webkit-transition: all 0.2s;
		transition: all 0.2s;
	}
	.about .img_hover:after {
		content: "";
		display: none;
		position: absolute;
		bottom: -10px;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 0; 
		height: 0; 
		border-left: 10px solid transparent;
		border-right: 10px solid transparent;
		border-top: 10px solid #C5C5C5;
	}
	.about ul.masters li:hover .img_hover {
		height: auto;
		padding: 10px;
	}
	.about ul.masters li:hover .toolImg {
		display: block;
	}
	.about ul.masters li:hover .img_hover:after {
		display: block;
	}
.faq p:first-letter {
	font-weight: 700;
	color: #53988D;
}
.faq .answer ul li {
	list-style: square;
	margin-left: 25px;
	margin-bottom: 5px;
}
.faq .answer ol li {
	list-style: decimal;
	margin: 0 0 5px 25px;
}
.question {
	display: block;
	font: 600 22px 'Josefin Sans', sans-serif;
	color: #C12D2D;
}
.answer {
	display: block;
	margin-bottom: 20px;
	padding: 10px;
}
.contact main {
	min-height: 400px;
}
.contact .clinic_front {
	width: 50%;
	float: right;
	border-radius: 7px;
}


footer {
	display: block;
	margin-top: 20px;
	padding: 30px 0;
	font-size: 14px;
	text-align: center;
	position: relative;
}
	footer:before {
		content: "";
		background: -webkit-radial-gradient(#C2C2C2 10%, transparent 80%);
		background: -moz-radial-gradient(rgba(194,194,194,0.5) 0%, transparent 80%);
		background: -ms-radial-gradient(#C2C2C2 10%, transparent 80%);
		display: block;
		width: 80%;
		height: 3px;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		margin: 0 auto;
	}
	footer ul.menu {
		margin-bottom: 25px;
	}
	footer ul.menu li {
		display: inline;
		margin: 0 1%;
	}
	footer ul.menu li a {
		text-decoration: none;
		font-size: 16px;
		padding: 5px 10px;
		display: inline-block;
		transition: all 0.3s;
	}
	footer ul.menu li a:hover {
		background: #42b6a7;
		color: #fff;
		border-radius: 5px;
	}
	footer .social_media {
		display: block;
		margin: 20px auto;
	}
	footer .social_media span.title {
		display: block;
		margin-bottom: 5px;
	}
	footer .social_media img {
		width: 35px;
		height: auto;
		border-radius: 5px;
	}
	footer span.copyright {
		display: block;
		font-size: 14px;
	}

