/** 
 * 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:#1d1a1b;
  text-decoration:none;
}

html {
	background: #5a5859 url(../images/bg.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;}

a{
outline:none;
}


#preload{display:none;}

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



#middle{ background:url(../images/contentslice.jpg) top center repeat-y; width: 100%; padding: 0px; margin:0 auto;  }

#contenttop{ background:url(../images/contentbg.jpg) top center no-repeat; width:100%; padding: 0px; margin:0px; }
#contentslice{background:url(../images/contentslice.jpg) top center repeat-y; width:952px; padding: 0px; margin:0px auto;}

#content{ position:relative; width: 880px; padding: 20px 0px 20px 0px; min-height: 300px; margin:0 auto; }
    #wrapper{ position: relative; width:851px; margin:0 auto; padding: 10px; text-align:left;  }

#fadeshow1{float:right; background: #fff;}    



/* HEADER
----------------------------------------- */
#header{ width:100%; height:156px; padding:0px; margin:0 auto; background: url(../images/header.jpg) top center no-repeat; }
    #headerwrapper{position: relative; width:952px; margin:0 auto; padding: 0px; text-align:left; }
    #logo{ width:300px; height:120px; margin: 30px 0px 0px 30px; float: left;}
	#logo #anchor { position:absolute; top:15px; width:300px; height:120px; display:block; text-indent:-10000px; }
    #header #menu { width: 580px; height: 40px; margin:50px 0px 0px 0px; float:right;  } 

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


/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 560px;
	  height: 40px; margin:62px 0px 0px 0px; float:right; color: #fff; 
}
	
		#Navigation ul li { 
	 		list-style: none; 
			margin: 0 2px; 
			float: left;
			display: block;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				font-size: 12px; 
				font-weight: bold;
				padding: 0 0 0 5px;
				color: #fff;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					padding-right: 10px;
				}
					#Navigation ul li a:hover { 

						color: #000;
						cursor: pointer;
						font-weight: bold;
					}
					#Navigation ul li a:hover span {
color: #000;
						cursor: pointer;
					}
					
    			#Navigation ul li a.current,
	    		#Navigation ul li a.section,
	    		#Navigation ul li a.section:hover,
	    		#Navigation ul li a.current:hover { 
				 	
				 	color: #000;
					}
				#Navigation ul li a.current span,
				#Navigation ul li a.section span,
	    		#Navigation ul li a.section:hover span,
				#Navigation ul li a.current:hover span {
					
					color: #000;
				}



	

/* 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{ position: relative; width:100%; height:165px; background: url(../images/footer.jpg) top center no-repeat; margin:0 auto; padding: 0px; text-align:left;}

#footer{ margin:0 auto; width: 940px; padding: 20px 10px; text-align:center; line-height: 16px; color: #8f8d8e;}
   

#footer p { padding: 8px; color: #8f8d8e; font-size:12px; }

#footer td{color: #8f8d8e; font-size:12px;}

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

#footer h1{font-size: 16px; font-weight:normal; padding-left: 10px;}



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

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

* html .fix { height:1%; }