/** 

 * SilverStripe Black Candy Theme

 * http://www.silverstripe.com

 *

 * Main Layout File

 */

 

/* Misc Styles and defaults 

-------------------------------------------- */

  

* {

	margin: 0;

	padding: 0;

}



body {

	
	color: #7d6c64;

 	font-size: 62.5%; 

 	margin-bottom: 40px;

	font-family: Verdana, Lucida, sans-serif; 
	
	
}



html {

	/*background: #6C5D56 url(../images/bg.jpg) repeat-x; old grey background 
	*/
background: url(../images/cloth_bg.gif) repeat;
}




table {

	
	/*border-collapse: collapse; removed because of IE7*/

	border-spacing: 0;
	

}

caption, th, td {

	text-align: left;

	font-weight: normal;

}



.clear{

	clear:both;

}



/* CONTAINER

----------------------------------------- */

#BgContainer {

	width: 800px;  

	margin: 0 auto; 

}

#Container { 

	width: 800px;

	padding-bottom: 0;

	background: #fffdd6;

/*url(../images/containerbg.gif) repeat-y*/

}

#Layout {

	background: #fffdd6 url(../images/faux.jpg) repeat-y;
	
	width: 800px;

	clear: both;

	overflow: hidden;

	margin: 0px 0 4px 0;

}

#Content {

	background: #fffdd6;

	width: 620px;

	float: right; 	
	
	margin: 0 0 0 0;
	
	text-align: left;

	display: block;

}

#Content p {
	
	margin-right: 5px;

	text-align: justify;
}
/* HEADER

----------------------------------------- */
/* old green: cef076 */
#Header { 

 	width: 800px; 

	height: 34px;

 	margin: 0 auto;

	overflow: hidden;

	background: #fffdd6 url(../images/header1.gif) repeat-x left center;

	display: block;

}

 	#Header h1 { 

	  	color: #7d6c64;

		font-size: 3.2em; 

		font-family: Tahoma, Verdana, sans-serif;

		font-weight: 300;

		padding: 0 0 0 30px;

		display:none;

	}

	#Header p {

		font-size: 1.4em;

		color: #7d6c64;

		clear: left;

		margin: 0 0 0 100px;

		display:none;

	}

	

/* SUBHEADER

----------------------------------------- */

	

#Header2 {

	width: 800px;

	

 	margin: 0 auto;

	overflow: hidden;

	background: transparent;

	display: block;

}

	#Logobox {

		float:left;

		width: 175px;

		height: 108px; 

		margin: 0 auto;

		overflow: hidden;

		background: #FFFDD6;

		display: block;

	}

			

	#DescBoxTop {

		float:right;

		width: 621px; 

		height: 52px;

		margin: 0 auto 0 4px;

		overflow: hidden;

		background: #7D6C64;

		display: block;

	}

			

	#DescBoxBottom {

		

		float: left;

		width: 621px;

		height: 52px;

		margin: 3px 0 5px 4px;

		overflow: hidden;

		background: #7D6C64;

		display: block;

	}

	

/* SIDEBAR NAVIGATION - added by Frank

-------------------------------------- */

#Layout #SidebarLeft {

	
	float: left;

	width: 175px;

	/*height: 450px;*/

	min-height: 480px;

	margin: 0;

	padding: 0;

	/*overflow: hidden;*/

/*	background: #F7B884; commentented out for Faux Columns at #Layout */

	display: block;

	/*z-index: 5;*/

	}

	#Layout #SidebarLeft #NavigationMain {

	font-size: 1.4em;

		color: #7d6c64;

		clear: left;

		margin: 0 0 0 100px;

		display:none;

	}

	

/* MAIN NAVIGATION - TABS

----------------------------------------- */

#Navigation {

/*width: 768px;*/

	width: 169px;

	/*margin: 15px auto 0 auto;*/

	padding: 5px 0 0 0;

	overflow: hidden;

	background: transparent;

	display: block;

}

	#Navigation ul { 

 		/*float: right; */

		

		margin: 10% auto 0 10%;

	}

		#Navigation ul li { 

	 		list-style: none; 

			margin: 0 2px; 

			/*float: left;*/

			line-height: 2.2em;

			display: block;

		}

  			#Navigation ul li a { 

				float: left;

				text-decoration: none;

				display: block; 

				width: 100%;

				height: 100%; 

				font-size: 1.2em; 

				padding: 0 0 0 10px;

				background: url(../images/nav/button_link2.gif) no-repeat left top;

				color: #7d6c64;

				font-weight: bold;

			}

				#Navigation ul li a span {

					text-align: center;

	        		float: left;

					padding-right: 10px;

					/*height: 100%;*/

				}

					#Navigation ul li a:hover { 

			 			

						background: url(../images/nav/button_hover2.gif) no-repeat left top;

						/*url(../images/hoverTabLeft.gif) no-repeat left top; */

						margin: 0;

						/*padding: 0;*/

						color: #7d6c64;

						cursor: pointer;

						text-decoration: underline;

					}

					#Navigation ul li a:hover span {

					

						/*background: url(../images/nav/button_link.gif) no-repeat left top;*/

/*						url(../images/hoverTabRight.gif) no-repeat right top;*/

						cursor: pointer;

						text-decoration: underline;

					}

					

    			#Navigation ul li a.current,

	    		#Navigation ul li a.section,

	    		#Navigation ul li a.section:hover,

	    		#Navigation ul li a.current:hover { 

				

				 	background: url(../images/nav/button_hover2.gif) no-repeat left top;

					/*url(../images/activeTabLeft.png) no-repeat left top; */

				 	color: #7d6c64;

					}

				#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 {

			

					/*background: url(../images/nav/button_link.gif) no-repeat left top;*/

					/*url(../images/activeTabRight.png) no-repeat right top;*/

					color: #7d6c64;

				}

    

/* BREADCRUMBS

-------------------------------------------- */

#Breadcrumbs { 

 	/*color: #B7C0C5;*/

	float: right;

	color: #CCFF00;

	text-align: left;

	font-size: 0.9em; 

	margin: 0px 5px 10px 0;

}

	#Breadcrumbs p {

		margin: 0;

	}

	

	#Breadcrumbs a {

		color: #e9795f;

	}




/* LinkBox HTMLWidget
 <div id="LinkBox">
			  $SideBar
			  </div> in page.ss

-------------------------------------- */

#Content #LinkBox {

width: 30%;
display: none;
background: #D9D98C;
float: right;
margin: 0 0 15px 10px;
border-left: #FFFFFF 3px dotted;
/*border-top: #FFFFFF 2px dashed;*/
border-bottom: #FFFFFF 3px dotted;
padding: 5px;
}

#Content #HtmlContentWidget ul {
margin: 0 0 0 20%;
}

#Content #HtmlContentWidget li {
text-align: justify;
list-style-type: disc; 
margin: 0.8em 0.3em 0.8em 0.3em;
}

#Content .HtmlContentWidget a:link {
color: #FFFFFF;
font-size: 12px;
font-weight: normal;
text-decoration: none;
}
#Content .HtmlContentWidget a:hover {
text-decoration: underline;
}

#Content .HtmlContentWidget hr {
border: 0;
height: 2px;
background: #FFFFFF;
color: #FFFFFF;
width: 100%;
}

#Linkbox .sidebarbox h3 {
/*text-align: left; */
}

/*#Linkbox hr {
color: #FFFFFF;
margin: 3px 0;
}*/
			 



/* SIDEBAR

-------------------------------------- */



#Sidebar { 

 	width: 621px;

	float: right;  

	margin: 0;

	padding: 0;

}

	#Sidebar .sidebarBox {

		margin: 0 0 0 0;

		padding-bottom: 2px;

		background: #e9795f;
		
		
		
	}
	
	#Sidebar ul {

		margin: 2px 0 1px 3px;

	}

		#Sidebar li {

			margin: 2px 0 2px 10px;

			list-style: none;

		}
	

	#Sidebar h3 { 

		/*clear: both; */

		text-transform: capitalize;

		color: #fffdd6;

		font-weight: 700; 

		font-size: 1.1em; 

		margin: 0 0 0 10px;

		line-height: 2;

		padding: 1px 0 0 0;

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

	}



/* BLOG */

	#SidebarBlog .sidebarBox {

		margin: 0 0 0 0;

		padding-bottom: 2px;

		background: #cccc66;

	}
	
	#SidebarBlog ul {

		margin: 2px 0 1px 3px;

	}

		#SidebarBlog li {

			margin: 2px 0 2px 10px;

			list-style: none;

		}
	
	#SidebarBlog ul a {

			font-size: 11px;
	}

	#SidebarBlog h3 { 

		/*clear: both; */

		text-transform: lowercase;

		color: #7d6c64;

		font-weight: 700; 

		font-size: 1.1em; 

		margin: 0 0 0 10px;

		line-height: 2;

		padding: 1px 0 0 0;

		/*background: transparent url(../images/sidebarHeaderSub.gif) repeat-x center left;*/

	}

	

/*	#SidebarBlog .sidebarBottom {

		height: 15px;

		display: block;

		width: 200px;

		margin: -5px 0 0 0;

		background: #EFEFEF url(../images/sidebarBottomBg.gif) no-repeat center bottom;

	} */

	#SidebarBlog a em {

		font-style: normal;

	}

	#SidebarBlog p {

		font-size: 11px;

	 	/*clear: both;*/

	 	margin: 10px 10px 0 10px;

	}



	/* MENU2 */

    ul#Menu2 li { 

    	font-size: 0.9em; 

    	margin: 1px 0 5px 4px;

        list-style: none;

		display: inline;

    }

    	ul#Menu2 li a {

            /*display: inline;*/

            width: 196px;

            font-size: 1.2em;

            height: 1.8em;

            line-height: 1.8em;

            color: #fffdd6;

      	}

			ul#Menu2 li em {

				padding: 6px 0px;
				
				margin-left: 6px;
				
				margin-right: 6px;

				/*display: block;*/

			}

				ul#Menu2 li li em {

					padding-left: 0;

				}

      	/* Level 1 

      	- We use 3 elements for the nav to get 3 background images applied.

            * span - topleft rounded corner

            * em - bottomleft rounded corner

            * a - arrow on the right

            <a><span><em></em></span></a>

      	*/

      	ul#Menu2 li a:hover,

      	ul#Menu2 li a.current,

      	ul#Menu2 li a.current:hover {

        	/*background: #DCDCDC url(../images/sidebarSideArrow.gif) no-repeat right center;*/

        	/*background: #f7b884;*/

			color: #ffffff;

			cursor: pointer;

            text-decoration: underline;
			
			/*font-weight: bold;*/
			
			/*border-bottom: solid 1px #FFFFFF;*/

      	}

	  	ul#Menu2 li a.current {

	  		font-weight: 700;

	  	}

      	ul#Menu2 li a.section,

      	ul#Menu2 li a.section:hover {

            background: #DCDCDC;

            font-weight: 700;

            width: 193px; 

      	}

      	ul#Menu2 li a.levela:hover span,

      	ul#Menu2 li a.current span,

      	ul#Menu2 li a.section span,

      	ul#Menu2 li a.section:hover span,

      	ul#Menu2 li a.current:hover span {

			/*background: transparent url(../images/sidebarTopLeftHover.gif) no-repeat left top;*/

			/*display: block;*/

			width: 100%;

			height: 100%;

		} 

		ul#Menu2 li a.levela:hover em,

		ul#Menu2 li a.current em,

		ul#Menu2 li a.section em,

		ul#Menu2 li a.section:hover em,

		ul#Menu2 li a.current:hover em {

        	/*background: transparent url(../images/sidebarBottomLeftHover.gif) no-repeat left bottom;*/

			/*display: block;*/

			width: 100%;

            height: 100%;

      	}

      		ul#Menu2 li ul {

            	height: 100%;

            	position: relative;

            	margin: -4px 0 0 0;

            	width: 193px;

            	padding: 4px 0 10px 0;

            	background: #DCDCDC url(../images/sidebarSectionBottom.png) no-repeat bottom left;

      		}

      			ul#Menu2 li ul li {

            		width: 160px;

            		background: #DCDCDC;

            		padding: 0;

            		font-size: 0.8em;

            		display: inline;

            		margin: 0;

      			}

      				ul#Menu2 li ul li ul {

            			background: #DCDCDC;

            			margin-left: 0;

      				}	

      

					ul#Menu2 li li a.current,

      				ul#Menu2 li li a.section,

      				ul#Menu2 li li a.section:hover,

      				ul#Menu2 li li a.current:hover {

            			color: #fffdd6;

            			font-weight: 700;

            			background: #DCDCDC;

      				}

      					ul#Menu2 li li ul {

            				margin: 0 0 0 10px;

            				padding: 0;

            				width: 175px;

      					}

      					ul#Menu2 li li ul .roundWhite {

            				margin-bottom: -10px;

      					}

      			

			/* Sub Menu */

      		ul#Menu2 li a.levelb {

            	font-size: 1.7em;

            	text-indent: 8px;

            	width: 188px;

				background: transparent;

            	margin-left: 10px;

      		}

	  		ul#Menu2 li a.levelb:hover,

      		ul#Menu2 li li a.current,

      		ul#Menu2 li li a.current:hover,

      		ul#Menu2 li li a.section,

      		ul#Menu2 li li a.section:hover {

            	background: #BCBCBC url(../images/sidebarSideArrow2.gif) no-repeat right center;

            	text-decoration: none;

            	display: block;

            	color: #fff;

      		}

      		ul#Menu2 li a.levelb:hover span,

      		ul#Menu2 li li a.current span,

      		ul#Menu2 li li a.current:hover span,

      		ul#Menu2 li li a.section span,

      		ul#Menu2 li li a.section:hover span {

            	background: transparent url(../images/sidebarTopLeftHover2.gif) no-repeat left top;

            	display: block;

            	width: 100%;

            	height: 100%;

      		} 	

      		ul#Menu2 li a.levelb:hover em,

      		ul#Menu2 li li a.current em,

      		ul#Menu2 li li a.current:hover em,

      		ul#Menu2 li li a.section em,

      		ul#Menu2 li li a.section:hover em {

            	background: transparent url(../images/sidebarBottomLeftHover2.gif) no-repeat left bottom;

            	display: block;

            	width: 100%;

            	height: 100%;

      		}



/* COMMENTS

---------------------------------------- */

#CommentHolder ul {

	list-style: none;

	margin: 20px 0;

}

#PageComments li {

	margin: 5px 0;

	padding: 1px;

	width: 88%;

}

	#PageComments li.odd {

		background: transparent url(../images/commentBg.png) no-repeat 1% 10%;

		padding-left: 40px;

		padding-right: 10px;

		border-bottom: 2px solid #7d6c64;

	}

	#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: #7d6c64;
		}



		.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: 0.9em;

	line-height: 1.3em;

}

#PageCommentsPagination p {

	text-align: center;

	font-size: 1.1em;

}

#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: -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 modified

----------------------------------------------- */



#Footer { 

 	clear: both;  

	width: 800px;

	height: 40px; 

	background: #fffdd6; 

/*	url(../images/footerBottom.gif) no-repeat bottom left */

	text-align: center; 

}

#SpacerTopRight p {
	display: block;
	margin: 2px 0 0 0;
	padding-top: 1px;
	
}
#SpacerTopRight p a {
	color: #fffdd6;
	font-size: 11px;
	text-decoration: none;
}
#SpacerTopRight p a:hover {
	color: #fffdd6;
	text-decoration: underline;
}
#SpacerTopRight p.typography {
	color: #fffdd6;
	font-size: 11px;
}




	#SpacerTopLeft {

		float:left;

			width: 175px;

			height: 30px; 

			margin: 0 auto 4px auto;

			overflow: hidden;

			background: #cccc66;;

			display: block;

	}

			

	#SpacerTopRight {

		float:left;

		width: 621px;

		height: 30px; 

		margin: 0 auto 0 4px;

		overflow: hidden;

		background: #E9795F;

		display: block;

	}
		

	#SpacerBottomLeft {

		float:left;

		width: 175px;

		height: 6px; 

		margin: 0 auto;

		overflow: hidden;

		background: #F7B884;

		display: block;

	}	

	#SpacerBottomRight {

		float:left;

		width: 621px;

		height: 6px; 

		margin: 0 auto 0 4px;

		overflow: hidden;

		background: #9E918B;

		display: block;

	}

	
	#Footer .footerTop {

		width: 100%;

		background: #fffdd6;

/*  url(../images/footerTop.gif) no-repeat top left*/

		display: block;

		height: 2em;

	}

  	#Footer p { 

		color: #7d6c64;

		font-size: 1.1em;

		text-align: center;

		margin-top: 0;

	}

  		#Footer a { 

	   		color: #7d6c64;

	   		text-decoration: none;

		}

			#Footer a:hover {

				color: #7d6c64;

				text-decoration: underline;

			}