#header{
	margin-bottom: 1em;
}

#header table td{
	padding: 0;
	margin: 0;
}

#header table{
	width: 100%;
}

#header table{
	padding: 0;
}

#logo img{
	display: block;
	margin: 0;
}

td#logocell{
	width: 300px;
}

#banner{
	height: 65px;
	text-align: right;
}

#search{
	margin-top: 0.4em;
}


#since1995{
	color: #0f5033;
	font-size: 1.75em;
	font-weight: bold;
	font-style: italic;
	float: left;
}

#search{
	float: right;
}


/*--- Nav General ---*/
#nav{
	padding: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-weight: bold;
}

#nav #mainNav{
	width: 36em;
	clear: both;
	margin-left: auto;
	margin-right: auto;
}

#nav #subNav{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: #d3fdad;
	font-size: 0.8em;
}
/*--- Begin: Enclose the floating nav divs ---*/
#nav div:after{
   content: "."; 
   display: block; 
   height: 0; 
   clear: both; 
   visibility: hidden;
}
#nav div {display: inline-table;}
/* Hides from IE-mac \*/
* html #nav div {height: 1%;}
#nav div {display: block;}
/* End hide from IE-mac */
/*--- End: Enclose the floating nav divs ---*/


/*--- Begin: Tab Generation ---*/

#nav #mainNav ul{
	/* needed for ie, opera, firefox*/
	margin: 0 0 0 0;
	/* needed for firefox */
	padding: 0 0 0 0;
	list-style-type: none;
	float: left;
}
#nav #subNav ul{
	/* needed for ie, opera, firefox*/
	margin: 0 0 0 0;
	/* needed for firefox */
	padding: 0 0 0 0;
	list-style-type: none;
	float: left;
	text-align: center;
}
#nav #mainNav li{
	float: left;
	background-color: #0f5033;
	margin-left: 1px;
	margin-right: 1px;
}
#nav #mainNav li a,
#nav #mainNav li span{
	display: block;
	float: left;
	background-color: #0f5033;
}
#nav #subNav li{
	float: left;
	background-color: #d3fdad;
	background-repeat: repeat;
}
#nav #subNav ul a{
	padding-left: 1.5em;
	padding-right: 1.5em;
	display: block;
	float: left;
}
#nav #subNav ul{
	display: none;
}
/* controls right side tab graphics */
body.home #nav li#homeButton,
body.tcm #nav li#tcmButton,
body.news #nav li#newsButton,
body.casestudy #nav li#casestudyButton,
body.faq #nav li#faqButton,
body.about #nav li#aboutButton
{
	cursor: default;
}
/* controls left side tab graphics */
body.home #nav li#homeButton a,
body.tcm #nav li#tcmButton a,
body.news #nav li#newsButton a,
body.casestudy #nav li#casestudyButton a,
body.faq #nav li#faqButton a,
body.about #nav li#aboutButton a{
	cursor: default;
	background-color: #d3fdad;
	font-weight: bold;
   color: #0f5033;
	
}
/* controls which subTab strip to display */
body.tcm #nav ul#subTcm,
body.news #nav ul#subNews,
body.casestudy #nav ul#subCasestudy,
body.about #nav ul#subAbout
{
	display: block;
	width: 100%;
}
/* controls style of subTab item when at that page */
body#acupuncture #nav li#acupunctureButton *,
body#herb #nav li#herbButton *,
body#taichi #nav li#taichiButton *,
body#qigong #nav li#qigongButton *,
body#otherservices #nav li#otherservicesButton *,
body#testimony #nav li#testimonyButton *,
body#events #nav li#eventsButton *,
body#lectures #nav li#lecturesButton *,
body#cases #nav li#casesButton *,
body#tcmarchive #nav li#tcmarchiveButton *,
body#casestudy #nav li#casestudyButton *,
body#caiping #nav li#caipingButton *,
body#map #nav li#mapButton *,
body#hours #nav li#hoursButton *
{
	cursor: default;
	color: #003B80;
}
/* style nav buttons */
#nav a:link,
#nav a:visited,
#nav span{
	/* makes the link clickable area large */
	padding-left: 1em;
	padding-right: 1em;
	line-height: 1.75em;
	cursor: pointer;
}

#nav a{
	text-decoration: none;
}

#mainNav a:link{
	color: White;
}

#mainNav a:visited{
	color: White;
}

#mainNav a:hover{
	color: White;
	text-decoration: underline;
}

#mainNav a:active{
	color: White;
}

#subNav a:link{
	color: #0f5033;
}

#subNav a:visited{
	color: #0f5033;
}

#subNav a:hover{
	color: #B22222;
	text-decoration: underline;
}

#subNav a:active{
	color: #0f5033;
}

/*--- End: Tab Generation ---*/
