/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

td,body{
  font: normal 12px arial, tahoma;
  color:#646262;
  text-decoration:none;
}

html {
	background: #fff url(../images/mainbgslice.jpg) top center repeat-x; 
}

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

.clear{
	clear:both;
}

a img {border:0;}

/* CONTAINER
----------------------------------------- */

#wrapper{ position: relative; width:958px; margin:0 auto; padding: 0px; text-align:left;  }
#middle{ background:url(../images/contentslice.jpg) top center repeat-y; padding: 0px; margin:0px; }
#contenttop{ background:url(../images/contenttop.jpg) top center no-repeat; padding: 0px; margin:0px; }

#content{ position:relative; width: 900px; padding: 20px 30px 20px 30px; margin:0px;}
#contenthome{ position:relative; float:left; width: 700px; padding: 20px 10px 20px 30px; margin:0px;}
#right p{ padding: 10px;}
#right{ background: #dde1e0; float:left; position:relative; left: 26px; width:209px;  padding: 5px; margin:10px 0px 5px 5px; color: #000000;}


#contentbot{ background:url(../images/contentbottom.jpg) top center no-repeat; height: 21px; width: 958px; padding: 0px; margin:0px; }

/* three panel styles*/


#left{ float:left; position:relative; left: 0px; width:220px;  padding: 5px; color: #000000;}
#leftpanel{ background: #dde1e0; position:relative; left: 0px; width:209px;  padding: 5px; margin:10px 0px 5px 0px; color: #000000;}

#leftpanel p{ padding: 10px;}



.panelheader{ width: 190px; height: 15px; font-size: 13px; background:#000; color: #fff; font-weight: bold;}



/* HEADER
----------------------------------------- */
#header{ width:958px; height:133px; background: url(../images/top.jpg) no-repeat; padding:0px; margin:0px; }

#logo{ width:450px; height:100px; margin-top: 30px; float: left;}
	
#header #logo a { position:absolute; top:35px; left:37px; width:350px; height:90px; display:block; text-indent:-10000px; }
#header #nav { float: right; width: 470px; padding:5px; margin-right:10px;} 

#image{ width:958px; height:186px; background: url(../images/mainimage.jpg) no-repeat; padding:0px; margin:0px; } 


/* MAIN NAVIGATION - TABS
----------------------------------------- 

	#menu ul { 
 		float: left; 
		margin-right: 10px;
		height: 29px;
	}
		#menu ul li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			line-height: 29px;
			display: block;
		}
  			#menu ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 29px; 
				font-size: 1.2em; 
				padding: 0 0 0 10px;
				color: #fff;
			}
				#menu ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
					height: 29px;
				}
					#menu ul li a:hover { 
			 			background: #0d765e; 
						color: #43aa93;
						cursor: pointer;
					}
					#menu ul li a:hover span {
						background: #0d765e;
						cursor: pointer;
					}
					
    			#menu ul li a.current,
	    		#menu ul li a.section,
	    		#menu ul li a.section:hover,
	    		#menu ul li a.current:hover { 
				 	background: #fff; 
				 	color: #444;
					}
				#menu ul li a.current span,
				#menu ul li a.section span,
	    		#menu ul li a.section:hover span,
				#menu ul li a.current:hover span {
					background: #fff;
					color: #444;
				}*/
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 200px; 
	float: left;  
	margin: 10px 0 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sidebarHeader.gif) no-repeat left top; 
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		color: #fff;
		font-weight: 700; 
		font-size: 1.4em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		background: transparent url(../images/sidebarHeaderSub.gif) repeat-x center left;
	}
	
	#Sidebar .sidebarBottom {
		height: 15px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
		background: #EFEFEF url(../images/sidebarBottomBg.gif) no-repeat center bottom;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar p {
		font-size: 11px;
	 	clear: both;
	 	margin: 10px 10px 0 10px;
	}
	
	

/* 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;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 180px;
	margin: 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 114px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #51a9df;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 110px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {
	float: left;
	margin-top: 2px;
}

/* MESSAGEBOXS
--------------------------------------------- */
.message {
	margin: 15px;
	padding: 5px;
	width: 92%;
	color: #979908;
	border: 4px solid #F7F8B4;
	background: #FFFFEA;
}
span.middleColumn .message {
	margin: 4px 0 0 3px;
}
.required {
	margin: 4px 0 0 3px;
	padding: 5px;
	width: 92%;
	color: #DC1313;
	border: 4px solid #FF7373;
	background: #FED0D0;
}



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
----------------------------------------------- */

#footerwrapper{background: #2a2b2d; position: relative; width:100%; height: 154px; margin:0 auto; padding: 0px; text-align:left;}

#footer{background: #2a2b2d; position: relative; width:958px; height: 154px; margin:0 auto; padding: 0px; text-align:left;}

#footer p { padding: 8px; color: #fff;  }

#footer a{ color: white; font-size: 12px; text-decoration: none;
}
#footer a:hover{ color: #ccc; font-size: 12px;  text-decoration: underline;
}



/* --------- Clearfloat --------- */

.fix:after { clear:both; content:"."; display:block; height:0pt; visibility:hidden; }

* html .fix { height:1%; }