/** 
 * SilverStripe IML Theme
 * http://www..itsmylife.co.nz
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {
	color: #fff;
 	font-size: 62.5%; 
 	margin-bottom: 40px;
	font-family: Tahoma, Verdana, Lucida, sans-serif; 
}

html {
	background: #fff;
}

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

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 1024px;  
	margin: 0 auto; 
	
}
#Container { 
	width: 1000px;
	padding-bottom: 0px;
	background: #fff;
	
}
#Layout {
	width: 960px;
	float: left; 
	overflow: hidden;
	margin: 15px auto 0px auto;
	
	
}
#Content {
	width: 538px;
	float: left; 	
	margin: 0;
	text-align: left;
 	margin-bottom: 0px;
	
}
#WideContent {
	width: 740px;
	margin-left: 200px;
	text-align: left;
	
	
}

/* HEADER
----------------------------------------- */
#Header { 
 	width: 1000px; 
	height: 207px;
 	margin: 0 auto;
	overflow: hidden;
	background: url(../images/background/header.png);
	z-index: 0;
}
 	


/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBARS
-------------------------------------- */
#Sidebar { 
 	width: 200px; 
	float: left;  
	margin: 10px 0 0 0;
	padding: 0;
}
#RightSidebar	{
	float: right;
	width: 160px;
	top: 0;
	margin: 10px 0 0 0;
	
}

/* COMMENTS
---------------------------------------- */
#CommentHolder ul {
	list-style: none;
	margin: 20px 0;
}
#PageComments li {
	margin: 5px 0;
	padding: 1px;
	width: 88%;
}
	#PageComments li.odd {
		background: #E8F6FF url(../images/commentBg.png) no-repeat 1% 10%;
		padding-left: 40px;
		padding-right: 10px;
		border-bottom: 2px solid #BCE4FE;
	}
	#PageComments li.even {
		background: #fff url(../images/commentBgAlt.png) no-repeat 99% 10%;
		padding-right: 40px;
		padding-left: 10px;
	}

		#PageComments li.odd p.info {
			color: #3AA0C3;
		}

		.actionLinks li {
		   display: inline;
		   border-right: 1px solid;
		}
			.actionLinks li a {
				padding-right: 3px;
				font-size: 10px;
			}
   			.actionLinks li.last {
      			border-right: none;
   			}

.commentrss {
	background: transparent url(../images/feed-icon-14x14.png) no-repeat;
	padding-left: 20px;
	font-size: 1.1em;
	line-height: 1.6em;
}
#PageCommentsPagination p {
	text-align: center;
	font-size: 1.2em;
}
#PageComments p {
	font-size: 1em;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}

/* SEARCH RESULTS STYLES
------------------------------------------------ */
ul#SearchResults {
	margin: 10px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}


/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 25px;
	padding: 0px 5px;
	width: 92%;
	color: #DC1313;
	font-size: 10px;
}



p#Remember label {
	margin: -24px 0 0 20px;
	text-align: left;
}
.entry {
	border-bottom: 1px solid #eee;
}

.typography #Content p.authorDate {
	color: #444;
	margin-top: -15px;
	}
/* UNSUBSCRIBE NEWSLETTER
------------------------------------------------ */
#Unsubscribe_MailingListForm_MailingListForm{
	min-height:100px;
}

	#Unsubscribe_MailingListForm_MailingListForm p{
		margin:0 !important;
		padding:10px;
	}
		#Unsubscribe_MailingListForm_MailingListForm p label{
			display: inline;
		}
	#Unsubscribe_MailingListForm_MailingListForm label{
		margin:0;
	}


/* FOOTER
----------------------------------------------- */

#Footer { 
 	clear: both;  
	width: 1000px; 
	height: 134px; 
	background: transparent url(../images/background/footer.jpg); 
	text-align: right; 
	
}
	
  	#Footer p { 
		color: #F08022;
		font-size: 1.1em;
		margin: 0 20px 0 0;
		padding-top: 100px;
		font-weight: 600;
	}
  		
			/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Sidebar  {
z-index:1000;
font-size:120%;
margin:25px 0 50px 15px; /* this page only */
font-weight:700;
}

/* remove all the bullets, borders and padding from the default list styling */
#Sidebar ul {
padding:0;
margin:0;
list-style-type:none;
width:140px;
font-size:120%;
}
/* hack for IE5.5 */
* html #Sidebar ul {margin-left:-16px; ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
#Sidebar li {
position:relative;
background:#fff;
height:26px;
}

/* get rid of the table */
#Sidebar table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em;}

/* style the links */
#Sidebar a, #Sidebar a:visited {
display:block; 
text-decoration:none;
height:25px;
line-height:25px;
width:120px;
color:#919397;
text-align: right;
}
#Sidebar a:active
{
  outline: none;
}
#Sidebar a.current
{
  color:#F08022; 
}

/* hack for IE5.5 */
* html #Sidebar a, * html #Sidebar a:visited {width:150px; w\idth:149px;}
/* style the link hover */
* html #Sidebar a:hover {color:#F08022; background:#fff;}

#Sidebar :hover > a {
color:#F08022; 


}

/* hide the sub levels and give them a positon absolute so that they take up no room */
#Sidebar ul ul {
visibility:hidden;
position:absolute;
top:-5px;
left:140px; 
z-index:1100;
font-size:120%;
/*background: #FFDFC7;*/
/*filter: alpha(opacity=95); -moz-opacity: .95;*/
}
#Sidebar ul ul#corporate {
width: 230px;

}
#Sidebar ul ul#corporate  ul {
left:230px;

}
#Sidebar ul li:hover ul#corporate a,
#Sidebar ul a:hover ul#corporate a{
text-align: left;
width: 210px;

}

/* make the second level visible when hover on first level list OR link */
#Sidebar ul li:hover ul,
#Sidebar ul a:hover ul {
visibility:visible;
background: #fff;

}
#Sidebar ul li:hover ul a,
#Sidebar ul a:hover ul a{
text-align: left;
width: 120px;
background: #fff;
}

/* keep the third level hidden when you hover on first level list OR link */
#Sidebar ul :hover ul ul{
visibility:hidden;
font-size: 16px;

}
/* keep the fourth level hidden when you hover on second level list OR link */
#Sidebar ul :hover ul :hover ul ul{
visibility:hidden;

}
/* make the third level visible when you hover over second level list OR link */
#Sidebar ul :hover ul :hover ul{ 
visibility:visible;


}
/* make the fourth level visible when you hover over third level list OR link */
#Sidebar ul :hover ul :hover ul :hover ul { 
visibility:visible;
}
</style>
<!--[if IE 7]>
<style type="text/css">
.menu li {float:left;}
</style>
<![endif]-->
