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

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

html {
	background: #e2e2e2;
}

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

.clear{
	clear:both;
}
a img {
	border:0;
}

.floatRight {
	float:right;
}

.floatLeft {
	float:left;
}
/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 874px;  
	margin: 0 auto; 
	background:#fff;
}
#Container { 
	padding-bottom: 15px;
	background: #fff;
}
#Layout {
	width: 780px;
	clear: both;
	overflow: hidden;
	margin: 15px auto;
}
#Content {
	width: 538px;
	float: right; 	
	margin: 0;
	text-align: left;
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 874px; 
 	margin: 0 auto;
	overflow: hidden;
	background: #7bddfd url(../images/blueHeader.jpg) no-repeat left bottom;
}
 	#Header h1 { 
	  	color: #fff; 
		font-size: 3.2em; 
		font-family: Tahoma, Verdana, sans-serif;
		font-weight: 300;
		padding: 20px 0 0 30px;
	}
	#Header p {
		font-size: 3.3em;
		color: #fff;
		clear: left;
		padding:20px 50px;
		font-weight:bold;
	}
	#Header p a { 
	 	text-decoration: underline; 
		color: #fff;
	}	
		#Header p a:visited {
			color:#efefef;
		}
		#Header p a:hover { 
	 		text-decoration: none;
		}

#YellowHeader { 
 	width: 874px; 
	height:157px;
 	margin: 0 auto;
	overflow: hidden;
	background: transparent url(../images/yellowHeader.png) no-repeat;
}
	#YellowHeader .logo {
		padding:0px 20px;
	}
/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 778px;
	margin:24px auto 0;
	padding-top: 5px;
	overflow: hidden;
	#margin-top:27px;
}
	#Navigation ul { 
 		float: right; 
		margin-right: 60px;
		_margin-right:30px;
	}
		#Navigation ul li { 
	 		list-style: none; 
			margin: 0 10px; 
			float: left;
			line-height: 53px;
			display: block;
			background: url(../images/TabLeft.png) no-repeat left top; 
			_padding-right:-11px;
		}
  			#Navigation ul li a { 
				float: left;
				text-decoration: none;
				display: block; 
				height: 63px; 
				font-size: 2.4em; 
				font-weight:bold;
				margin: 0 0 0 12px;
				color: #f9aa00;
				background: url(../images/TabRight.png) no-repeat right top;
				_margin-left:5px;
				cursor:pointer;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: left;
					margin-right: 12px;
					height: 63px;
				}
				
				
				#Navigation ul li.current,
	    		#Navigation ul li.section,
	    		#Navigation ul li.section,
	    		#Navigation ul li.current { 
				 	background: url(../images/activeTabLeft.png) no-repeat left top; 
				 	color: #f9aa00;
					}
					
    			#Navigation ul li.current a,
	    		#Navigation ul li.section a { 
				 	background: url(../images/activeTabRight.png) no-repeat right top;
				 	color: #f9aa00;
					cursor:pointer;
					}
				#Navigation ul li.current a span,
				#Navigation ul li.section a span {
					background: url(../images/activeTabBg.png) no-repeat bottom center;
					color: #f9aa00;
				}
				
				
				#Navigation ul li a:hover,
	    		#Navigation ul li a:hover { 
				 	/*background: url(../images/activeTabRight.png) no-repeat right top;*/
				 	color: #fff;
					}
					
						#Navigation ul li a:hover span,
				#Navigation ul li a:hover span {
					/*background: url(../images/activeTabBg.png) no-repeat bottom center;*/
					color: #f98d00;
					}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 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;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #51a9df;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 160px;
		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: 5px 0 0 50px;
	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; 
	background: transparent url(../images/yellowFooter.png) no-repeat top left; 
	text-align: center; 
	margin-bottom:-42px;
}
	#Footer .footerTop {
		width: 100%;
		clear:both;
		background: url(../images/blueFooter.png) no-repeat top left;
	}
  	#Footer p { 
		color: #fff;
		font-size: 1.2em;
		text-align: center;
		padding:10px 100px;
		clear:both;
	}
		#Footer p.menu { 
		color: #fff;
		font-size: 1.8em;
		font-weight:bold;
	}
		#Footer p.menu a {
			padding:0px 10px;
		}
			#Footer p.menu a.current, #Footer p.menu a.section {
				text-decoration:none;
			}
  		#Footer a { 
	   		color: #fff; 
	   		text-decoration: underline;
		}
			#Footer a:hover {
				color: #fff;
				text-decoration: underline;
			}
	
	#Footer ul {
		padding:10px;
	}		
	#Footer ul li {
		list-style-type:none;
		float:left;
	}
	
form#NoteForm_NoteForm {
	margin:20px 50px;
	float: right;
	width:250px;
}

/* Login
-------------------------------------- */
#Login { 
 	width: 500px; 
	float: right;  
	margin: 0 0 0 0;
	padding: 0;
	text-align:right;
}
	
#Login p {
	 	margin: 0;
		font-size: 1.5em;
	}
	
	
	#Login p a, #Login p a:visited {
		font-size: 1em;
	 	color: #fff;
	}
	
.ads {
	float:right;
	margin: 0px 0px 0px 30px;
	padding-top: 20px;
	width:268px;
	height:90px;
	overflow:hidden;
	/*clear: both;*/
}
.ads-wide {
	margin: 0px 0px 0px 30px;
	padding-top: 20px;
	width:728px;
	clear: both;
}
	
.yellowform {
	float:right;
	margin-left:30px;
	width:268px;
}
	.yellowForm {
		background:url(../images/formBg-bottom.jpg) no-repeat bottom left;
	}
	.yellowFormBox {
		background: url(../images/formBg-top.jpg) no-repeat top left;
		display:block;
		height: 380px;
		padding: 10px;
	}
	.yellowform form {
		margin:0!important;
		
	}
		.yellowform form fieldset {
			
		}
		.yellowform form input.text, .yellowform form .textarea {
			width: 230px!important;
			font-size:1.2em!important;
		}
			.yellowform form .textarea label {
				font-size:1.1em!important;width: 130px !important;
			}
		.yellowform form label {
			font-size:1.2em!important;
			width:80px;
		}
		.yellowform form select {
			width:auto!important;
			float:right!important;
			font-size:1em!important;
		}
	.yellowform h3 {
		text-align:center;
		color:#13a7de!important;
	}
	
	
	.topnotes {
	width: 50%;
	float: left;
	}
	
	
	.Actions {
text-align: left;
}

.maincolumn {
width: 60%;
float: left;
_width:55%;
}

.NoteHit {
background: #F7F7F7;
padding: 10px;
font-size: 1.3em;
margin-bottom: 10px;
}

.MyNoteDetail p.mynoteTopline {
	margin-bottom:0;
}
.MyNoteDetail p.block {
	margin:0;
}
.MyNoteDetail p.bottomblock {
	margin-bottom:20px;
}
	.MyNoteDetail span.NoteHitDetails {
		background: #F7F7F7;
		display:block;
		padding:5px;
		font-size:80%;
	}
	
#TopNav .TopLinkActive a {
	background:url(../images/bluebutton.jpg) no-repeat;
	width:167px;
	height:30px;
	display:block;
	float:left;
	margin:10px;
	text-align:center;
	line-height:30px;
	color:#fff;
	font-size:1.5em;
	font-weight:bold;
	text-decoration:none;
}
#TopNav .TopLinkInActive a {
	background:url(../images/greybutton.jpg) no-repeat;
	width:167px;
	height:30px;
	display:block;
	float:left;
	margin:10px;
	text-align:center;
	line-height:30px;
	color:#15a6dc;
	font-size:1.5em;
	font-weight:bold;
	text-decoration:none;
}