/** 
 * Health Focus silverstripe theme
 * www.ninja.net.au
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}
a
{
  outline: none !important;
}

body {
	position:relative;
	color: #333;
 	font-size: 62.5%; 
 	margin-bottom: 40px;
	font-family: verdana,tahoma,helvetica,arial,sans-serif; 
	
	
}

html {
	font-size:16px;
	background: #405a67 url(../images/body_bg.jpg) repeat-x;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

#header {
	position:relative;
	height:140px;
	width:840px;
	margin: 0 auto;
}
#header h1 {
	position:absolute;
	width:840px;
	height:140px;
	display:block;
	background: transparent url(../images/header.gif) top center no-repeat;
}
#header h1 span{
	position:absolute;
	width:1px;
	left:-9999px;
	margin-left:-9999px;
}
#header p {
	text-indent:-9999px;
	top:140px;
	width:820px;
	margin:0 10px;
	height:500px;
	background:transparent url(../images/vfade.png) top left repeat-x;
}
#headerImages {
	position:relative;
	left:10px;
	width:820px;
	top:0;
}
#headerImages img {
	position:absolute;
	right:0;
}

#bar {
	width:840px;
	height:30px;
	margin:0 auto;
	position:relative;
	background:transparent url(../images/bar.jpg) 10px top no-repeat;
}

#wrap {
	position:relative;
	width:840px;
	margin:0 auto;
	
}

#wrap #opaque {
	position:absolute;
	top:0;
	left:0;
	bottom:0;
	width:100%;
	background: transparent url(../images/white_page.png) center top repeat-y;
	opacity:0.9;
}
#wrap #content {
	float:left;
	position:relative;
}

#layout {
	float:right;
	width:640px;
	margin-right:10px;
}

#nav {
	position:relative;
	float:left;
	margin-left:10px;
	padding-bottom:50px;
	/*
background: transparent url(../images/nav_bottom.jpg) left bottom repeat-x;
*/
}
#nav em {
	font-style:normal;
	text-decoration:none;
	text-transform:none;
}
#nav ul {
	float:left;
	width:180px;
	padding-top:5px;

background: #e2f1cf url() left top repeat-x;

}
#nav ul li {
	list-style-type:none;
	float:left;
	height:25px;
	width:180px;
	border-bottom:1px solid #f2f6ec;
}
#nav ul li a {
	line-height:25px;
	height:25px;
	text-indent:30px;
	display:block;
	font-weight:bold;
	font-size:105%;
	color:#405a67;
	text-decoration:none;
	
	overflow:hidden;
}
#nav ul li.section,
#nav ul li.current,
#nav ul li:hover {
	color:#5f6365;
	background-color:#ebf6dc;
	text-decoration:none;	
}
#nav ul ul {
	padding-top:0;
	background-position:left -20px;
	margin-top:-5px;
}
#nav ul ul li {
	width:175px;
	margin:0 0 0 5px;
	font-weight:normal;
	font-size:95%;
	background-position:left -20px;
}

#nav ul ul li.first {
	margin-top:5px;	
}

#nav ul ul ul {
left:175px;	
}

#cms {
	width:600px;
	margin:0 auto;
}



#SearchForm_SearchForm {
	position:absolute;
	right:0;
	top:0;
}

#SearchForm_SearchForm .middleColumn {
	float:right;
	width:auto;
	padding:0;
	margin:8px 10px;
	background:transparent;
}

#SearchForm_SearchForm_Search {
	border:none;
	padding:0;
	width:147px;
	margin-right:45px;
	background:transparent;
	color:#96a7b0;
}

#SearchForm_SearchForm_Search:focus {
	color:#eee;
}

#SearchForm_SearchForm_action_results {
  position:absolute;
  right:10px;
  width: 33px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent url(../images/searchbutton.gif) no-repeat center top;
  text-indent: -1000em;
  cursor: pointer; /* hand-shaped cursor */
}
#SearchForm_SearchForm_action_results:hover {
	background: transparent url(../images/searchbutton.gif) no-repeat center bottom;
}
#footer {
	position:relative;
	color:#405a67;
	width:840px;
	margin:0 auto;
}
#footertop {
	position:absolute;
	width:840px;
	left:1px;
	height:12px;
	background:transparent url(../images/footer.png) center top no-repeat;
}

#footnav {
	font-size:105%;
	text-align:right;
	float:right;
}

#footer p {
	color:#9ca8ae;
	margin:0 10px 0 0;
	width:auto;
	float:right;
	padding: 12px 10px;
	background:#c8ced2;	
}

#footer a {
	color:#738694;
	text-decoration:none;
}
#footer p:after {
	clear:both;	
}
#footer p span a {
	color:#364b55;
	border-bottom:1px solid transparent;
}

#footer a:hover {
	color:#364b55;
	text-decoration:none;
	border-bottom:1px dotted #364b55;
}
ul#Locations {
	float:left;
	width:100%;
}

ul#Locations, ul#Locations li {
	margin:0;
	padding:0 0 20px;
}
ul#Locations li {
	list-style-type:none;
	width:580px;
	float:left;
	padding:10px;
}
ul#Locations li.even {
	background-color:#EBF6DC;
}
ul#Locations li .Address {
	float:left;
	margin:15px 0 10px 200px;
}

ul#Locations li .Photo {
	position:absolute;
	width:150px;
	height:110px;
	padding:10px 0;
	margin:0;
}
ul#Locations li .Photo img {
	border:5px solid #fff;
}
ul#Locations li .Photo a:hover {
	border-bottom:none;
}
ul#Locations li .Photo a:hover img {
	border:5px solid #EBF6DC;
}

ul#Locations h4 {
	margin:0;
	padding-left:4px;
	width:100%;
}
#Breadcrumbs p {
	margin-bottom:13px;
}



