/* RESETS */
* {
	margin: 0;
	padding: 0;
}

a img {
	border: none;
}

body {
	text-align: center; /* centers everything in IE6 and older browsers */	
	font-family: "Trebuchet MS", Tahoma, Geneva, Helvetica, Verdana, sans-serif;
	line-height: 1.2em;
	color: #093d4d;
}

@font-face {
	font-family: Futura;
	src: url(images/Futura.eot); /* EOT file for IE */
}
@font-face {
	font-family:Futura;
	src: url(images/Futura.ttf); /* TTF file for CSS3 browsers */
}

/* POSITIONING STYLES */
#wrapper {
	width: 1080px;
	margin: 0 auto; /* centers the wrapper in standards compliant browsers */
	text-align: left; /* resets IE center hack */
}

#header {
	height: 116px;
	background-color: #093d4d;
	color: #fff;
	background-image: url(images/header.jpg);
	background-repeat: no-repeat;
	border-bottom: 1px solid #fff;
}
	h1 {
		line-height: 116px;
		font-weight: normal;
		font-size: 40px;
		margin-left: -2px;
	}
		h1 a {
			padding: 34px;
			color: #fff;
			text-decoration: none;
		}

#nav {
	height: 36px;
	background-color: #97b9b5;
	background-image: url('images/bg_nav.jpg');
	padding-top: 1px;
}
	
	/* NAV STYLES */
	#nav ul {
		display: inline-block;
		margin-left: 36px;
	}
		#nav li {
			display: inline-block;
			list-style-type: none;
		}
			#nav a {
				font-family: Futura, "MS Sans Serif", Geneva, sans-serif;
				line-height: 36px;
				font-size: 16px;
				font-variant: small-caps;
				color: #093d4d;
				text-decoration: none;
				padding-top: 8px;
				padding-right: 20px;
				padding-bottom: 7px;
				padding-left: 20px;
				letter-spacing: 1px;
				border-right: 1px solid #FFF;
				margin-left: -4px;
			}
				#nav a.first {
					border-left: 1px solid #FFF;
				}
			#nav a:hover, #nav a:focus {
				color: #fff;
				background-image: url('images/bg_navfocus.jpg');
			}
			
			#home a#home_link, 
			#about a#about_link,
			#treatments a#treatments_link,
			#billing a#billing_link,
			#scheduling a#scheduling_link,
			#resources a#resources_link,
			#contact a#contact_link {
				color: #fff;
				background-image: url('images/bg_navfocus.jpg');
			}

#sidebar {
	width: 248px;
	padding-top: 115px;
	padding-bottom: 100px;
	background-color: #fff;	
	float: left;
}
	#sidenav {
		width: 201px;
		float: right;
		border-right: 2px solid #093d4d;
		padding-right: 27px;
		text-align: right;
	}	
		#sidenav div.slideshow { /* repositioning to deal with jquery cycle relative postioning */
			left: 18px; /* sidenav div is 201px wide and slideshow imgs are 183px wide so need to adjust 18px */
			margin-bottom: 120px; /* topmargin of 20 + 100px vertical gap between slideshow div and locaiton div */
		}
		#sidenav div.slideshow img {
			width: 183px;
			height: 183px;
		}
		#housepic {
			width: 183px;
		}
		/* remove after adding small map div to resources and contact pages */
		#sidenav img {
			margin-top: 20px;
			margin-bottom: 100px;
		}
		#sidenav ul {
			display: inline-block;
		}
		
			/* identifies sidenav ul as the first element in the sidenav */
			#sidenav ul.first { 
				margin-top: 20px;
			}
			#sidenav li {
				list-style-type: none;
			}	
		#sidenav div.location {
			background-image: url('images/sm_hibiscus.gif');
			background-repeat: no-repeat;
			background-position: top right;
			margin-bottom: 20px;
			}
			#sidenav div ul {
				margin-top: 91px;
				color: #012a34;
				font-size: 13px;
			}
				#sidenav div ul li.last {
					padding-top: 15px;
				}
				
		/* SIDENAV STYLES */
		#sidenav ul a {
			font-family: Futura, "MS Sans Serif";
			color: #417481;
			font-size: 16px;
			display: block;
			margin-bottom: 18px;
			text-decoration: none;
		}
			#sidenav ul #email_link a {
				font-size: 13px;
				margin-bottom: 0;
			}
			#sidenav a.last {
				padding-bottom: 0;
				margin-bottom: 91px;
			}
			#sidenav a:visited {
				color: #417481;
				text-decoration: none;
			}
			
			#sidenav a:hover {
				color: #9c2727;
				text-decoration: none;
			}
		
				/* SIDENAV SUBPAGE-ID STYLES */
				#about_page a#about_page_link,
				#training a#training_link,
				#massage_therapy a#massage-therapy_link,
				#visceral_manipulation a#visceral-manipulation_link,
				#injury_evaluation a#injury-evaluation_link,
				#medical_massage a#medical-massage_link,
				#craniosacral a#craniosacral_link,
				#testimonials a#testimonials_link,
				#billing_page a#billing_page_link,
				#forms a#forms_link {
					color: #9c2727;
				}
	
#main {
	width: 773px;
	padding-top: 97px;
	background-color: #fff;
	float: right;
}
	
	#content_header {
		width: 745px;
		height: 69px;
		float: left;
	}
		h2 {
			font-family: Futura, "MS Sans Serif", Geneva, sans-serif;
			text-align: right;
			color: #9c2727;
			font-weight: normal;
			font-size: 24px;
			margin-top: 35px;
			letter-spacing: 2px;
		}
	
	#content {
		width: 710px;
		float: left;
		background-image: url(images/tborder.gif);
		background-repeat: no-repeat;
		padding: 40px 18px;
		color: #012a34;
		font-family: Tahoma, Geneva, Helvetica, sans-serif;
		font-size: 14px;
	}
		#content span.bold {
			font-weight: bold;
		}
		#content p {
			padding-bottom: 40px;
			line-height: 1.5em;
		}
		#top_link {
			display: block;
			clear: both;
			padding-top: 40px;
		}
		
		/* CONTENT POSITIONING */
		h3 {
			font-weight: normal;
			font-size: 16px;
			color: #9c2727;
			padding-bottom: 12px;
		}
			
			h3.testimony {
				width: 200px;
			}
			div.testimony {
				width: 460px;
				float: left;
			}
			#home p.testimony span {
				display: block;
				text-align: right;
			}
				span.name {
					padding-top: 10px;
					color: #417481;
				}
				span.more {
					font-size: 12px;
				}
			#home p.testimony {
				width: 200px;
				font-style: italic;
			}
				#home div.testimony p.last {
					float: right;
					margin-left: 10px; /* adjusts to set 30px margin between left p */
				}
			#home #content img {
				display: block;
				width: 200px;
				float: right;
			}
			#content h2.map {
				text-align: left;
				margin-top: 40px;
				margin-bottom: 10px;
				margin-left: 180px;
			}
			#content div.map {
				margin-left: 13em;
			}
			.map iframe {
				width: 300px; 
				height: 250px;
			}
			.map span {
				font-size: small;
				display: block;
			}
			/* TREATMENT POSITIONING */
			#content.vm p {
				padding-bottom: 40px;
			}
			#treatments p.testimony {
				width: 400px;
				font-style: italic;
				background-image: url('images/beg-quote.gif');
				background-repeat: no-repeat;
				padding-top: 10px;
				padding-left: 60px;
			}	
			#treatments p.testimony a {
				cursor: pointer;
				font-size: 12px;
			}
				#treatments p.testimony a.name {
					font-size: 14px;
				}
			#treatments span {
				display: inline;
			}
			#treatments span.hidden {
				display: none;
			}	
			#treatments span.name {
				display: block;
				background-image: url('images/end-quote.gif');
				background-repeat: no-repeat;
				background-position: right bottom;
				margin-right: -50px;
				margin-top: -21px;
				padding-left: 20px;
				padding-top: 31px;
				padding-bottom: 10px;
				color: #417481;
			}
			/* CLIENT FORMS POSITIONING */
			#content p.clientforms {
				padding: 0; /* resets #content p style */
			}
			/* SCHEDULING AND CONTACT POSITIONING */
			table {
				width: 490px;
			}
			td {
				height: 20px;
			}
			td.ralign {
				text-align: right;
				width: 250px;
			}
			td.tvalign {
				vertical-align: top;
			}
			td.bvalign {
				vertical-align: text-bottom;
			}
			#scheduling p.first {
				padding-bottom: 2em;
			}
			#scheduling #content dd {
				padding-bottom: 1em;
			}
				#scheduling #content dd.last {
					padding-bottom: 4em;
				}
			textarea {
				font-family: Tahoma, sans-serif;
				font-size: 12px;
			}
		
		/* CONTENT IMG STYLES */
		#site_map #content #sitemap_image {
			width: 710px;
			float: none;
		}
		#content img {
			display: block;
		}
		.float_left {
			float: left;
			margin-right: 20px;
		}
		.float_right {
			float: right;
			margin-left: 20px;
		}
		.clear {
			clear: both;
		}
			/* ABOUT IMG STYLES */
			#about img.first {
				width: 216px;
			}
			#about img.second {
				width: 300px;
			}
			/* TREATMENT IMG STYLES */
			#treatments img.first {
				width: 120px;
			}
			#treatments img.second {
				width: 200px;
			}
			
			#content.vm img {
				width: 162px;
				margin-bottom: 35px;
			}
			#content #eval_images {
				text-align: center;
			}
			#content #eval_images img {
				width: 150px;
				display: inline;
				margin: 0 20px;
			}
				#bannerimg {
					width: 200px;
				}
			#content p.client_forms img {
				width: 100px;
				border: 2px solid #093d4d;
				padding: 4px;
			}
			
			
		
		/* CONTENT LIST STYLES */
		#content p.list_heading,
		#content.vm p.list_heading {
			font-weight: bold;
			letter-spacing: 1px;
			margin-left: 6em;
			padding-bottom: 10px;
		}
		
		#content ul {
			line-height: 1.7em;
			margin-left: 7em;
			padding-bottom: 40px;
		}
		
		#content li {
			padding-left: 1em;
		}
		#content li .bold {
			font-weight: bold;
			letter-spacing: 1px;
		}
		#resources #content dl {
			margin-bottom: 40px;
			line-height: 1.5em;
		}
		#billing #content dl {
			margin-bottom: 100px;
			line-height: 1.5em;
		}
			/* TREATMENT LIST STYLES */
			#treatments #content li {
				padding-bottom: 20px;
			}
					#treatments #injurylist li {
						padding-bottom: 10px;
					}

			
	/* CONTENT LINK STYLES */
	#top_link {
		font-size: 11px;
		color: #9c2727;
	}
	#top_link a,
	#resources #content a,
	#billing #content a,
	#treatments #content a,
	#home #content a,
	#contact #content a {
		color: #9c2727;
		text-decoration: none;
	}
	#top_link a:link,
	#resources #content a:link,
	#billing #content a:link,
	#treatments #content a:link,
	#home #content a:link
	#contact #content a:link {
		color: #9c2727;
		text-decoration: none;
	}
	#top_link a:visited,
	#resources #content a:visited,
	#billing #content a:visited,
	#treatments #content a:visited,
	#home #content a:visited,
	#contact #content a:visited {
		color: #9c2727;
		text-decoration: none;
	}
	#top_link a:hover, 
	#top_link a:focus,
	#resources #content a:hover,
	#resources #content a:focus,
	#billing #content a:hover,
	#billing #content a:focus,
	#treatments #content a:hover,
	#treatments #content a:focus,
	#home #content a:hover,
	#home #content a:focus,
	#contact #content a:hover,
	#contact #content a:focus {
		text-decoration: underline;
	}
	

#footer {
	height: 88px;
	background-color: #fff;
	clear: both;
	background-image: url(images/bborder.gif);
	background-repeat: no-repeat;
	background-position: top center;
	text-align: center;
	color: #012a34;
	font-size: 12px;
	margin-left: 27px;
	margin-right: 27px;
}
	#footer ul {
		font-size: 14px;
	}
	#footer ul.first {
		padding-top: 15px;
	}
	#footer ul.last {
		margin-bottom: 18px;
	}
		#footer li {
			display: inline-block;
			list-style-type: none;
		}
		
		/* FOOTER LINK STYLES */
		#footer a:link {
			color: #012a34;
			text-decoration: none;
		}
		#footer a:visited {
			color: #417481;
			text-decoration: none;
		}
		#footer a:hover, #footer a:focus {
			text-decoration: underline;
		}
	#footer p.last {
		margin-bottom: 10px;
	}
		
/* SITEMAP STYLES */	
#sitemap {
	width: 48px;
	float: right;
	margin-top: 15px;
	margin-left: -44px;
	color: #9c2727;
}
	/* SITEMAP LINK STYLES */
	#sitemap a {
		color: #9c2727;
		text-decoration: none;
	}
	#sitemap a:link {
		color: #9c2727;
		text-decoration: none;
	}
	#sitemap a:visited {
		color: #9c2727;
	} 
	#sitemap a:hover, 
	#sitemap a:focus {
		text-decoration: underline;
	}