/** 
 * 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:Helvetica,Arial, sans-serif;
}

html {
	background: #fff;
}

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

.clear{
	clear:both;
}

.typography .disclaimer {
	margin-left: 20px;
	font-size: 11px;
	color: #333;
}
	.typography .disclaimer a {
		color: #46A;
	}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 950px;  
	margin: 0 auto; 
}
#Container { 
	width: 950px;
	background: #fff;
	position: relative;
}
#Layout {
	width: 950px;
	clear: both;
	overflow: hidden;
	margin: 0 auto;
}
#Content {
	width: 745px;
	float: right; 	
	margin: 0;
	text-align: left;
}
/* FINALSAY
----------------------------------------- */
#FinalSay {
	width: 476px;
	height: 68px;
	position: absolute;
	right: 0;
	bottom: -81px;
	padding: 0 5px 0 20px;
	border-left: 2px solid #666;
}
	#FinalSay h1 {
		display: inline;
		color: #777;
		font-size: 13px;
		font-weight: normal;
	}
	#FinalSay p {
		display: inline;
		color: #999;
		font-size: 11px;
	}
	#FinalSay a {
		color: #777;
		text-decoration: none;
	}
		#FinalSay a:hover {
			text-decoration: underline;
		}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 950px; 
 	height: 214px;
 	margin: 0 auto;
	overflow: hidden;
	background: #FFF;
	position: relative;
	border-bottom: 1px solid #000;
}
 	#Header p { 
	  	color: #777; 
		font-size: 36px;
		font-family: Tahoma, Verdana, sans-serif;
		position: absolute;
		top:10px;
		left:0;
		font-weight: bold;
	}
	#Header p span {
		color: #46a;
	}
	/*
	#Header p {
		font-size: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}*/
	#Header h1,
	#Header h2 {
		color: black;
		font-family: "Josefin Sans","Helvetica Neue";
		font-weight: lighter;
		font-weight: 100;
		position: absolute;
		bottom: 10px;
		left:-4px;
		font-size: 120px;
		text-transform: lowercase;
	}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 300px;
	margin: 0;
	padding-top: 10px;
	overflow: hidden;
	background: 0;
	right:0;
	bottom:0;
	position: absolute;
	text-transform: lowercase;
	font-family: "Helvetica Neue";
}
	#Navigation ul { 
 		/*float: right; */
	}
		#Navigation ul li { 
	 		list-style: none;  
			/*float: left;*/
			line-height: 1.9em;
			display: block;
			text-align: right;
		}
  			#Navigation ul li a { 
				/*float: left;*/
				text-decoration: none;
				display: block; 
				height: 1.9em; 
				font-size: 1.7em; 
				color: #000;
			}
				#Navigation ul li a span {
					text-align: center;
	        		float: right;
					height: 1.9em;
				}
					#Navigation ul li a:hover { 
						color: #46a;
						cursor: pointer;
					}
					#Navigation ul li a:hover span {
						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: #46a;
					}
				#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: #46a;
				}
    
/* 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: right;  
	margin: 10px 0 0 0;
	padding: 0;
	text-align: left;
}
#Sidebar a {
	color: #888;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: lighter;
	font-weight: 100;
	padding: 2px 0px 1px 4px;
	margin: 2px;
}
#Sidebar a:hover {
	color: #46a;
	background: #eef;
	color: #46a;
}
#Sidebar a.very-popular, #Sidebar a.ultra-popular {
	color: #666;
	font-weight: bold;
	font-size: 16px;
	display:block;
	float: right;
	background: #f8f8ff;
	border-radius: 4px;
}
#Sidebar a.popular, #Sidebar a.somewhat-popular {
	color: #666;
	font-weight: normal;
	font-weight: 400;
	font-size: 13px;
	display:block;
	float: right;
	background: #f8f8ff;
	border-radius: 4px;
}
#Sidebar a.popular:hover, #Sidebar a.somewhat-popular:hover,
#Sidebar a.very-popular:hover, #Sidebar a.ultra-popular:hover {
	background: #eef;
	color: #46a;
	border-radius: 4px;
}
	#Sidebar .sidebarBox {
		margin: 0 20px 0 0;
		padding-bottom: 20px;
		border-bottom: 1px solid #000;
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			font-size: 20px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		text-decoration: underline;
		color: #000; 
		font-size: 18px; 
		margin: 0 0 0 0;
		line-height: 1.8;
		padding: 1px 0 0 0;
		font-family: Verdana, sans-serif;
		font-weight: normal;
	}
	
	#Sidebar .sidebarBottom {
		height: 15px;
		display: block;
		width: 200px;
		margin: -5px 0 0 0;
	}
	#Sidebar a em {
		font-style: normal;
	}
	#Sidebar 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;
    }
    	ul#Menu2 li a {
            display: block;
            width: 196px;
            font-size: 1.2em;
            height: 1.8em;
            line-height: 1.8em;
            color: #898989;
      	}
			ul#Menu2 li em {
				padding-left: 8px;
				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;
        	color: #666;
			cursor: pointer;
            text-decoration: none;
      	}
	  	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 {
            		padding: 0;
            		font-size: 0.8em;
            		margin: 2px 0 0 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: #555;
            			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: #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 #ddd;
		}
			.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;
	margin: 8px 0;
}
	#PageComments p.info {
		color: #999;
		margin: 0px;
		padding: 0;
		line-height: 1em;
		font-size: 0.9em;
	}


#PageCommentInterface_Form_PostCommentForm_action_postcomment {
	margin-bottom: 20px;
}

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

/* SEARCH FORM 
-----------------------------------------------*/
#SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 5px;
}
	#SearchForm_SearchForm .middleColumn {
		float: left;
		width: 164px;
		margin: 0 5px 0 0;
		padding: 2px;
		background-color: #51a9df;
	}
	
		#SearchForm_SearchForm .middleColumn input.text {
			width: 160px;
			border: none;
			color: #666;
		}
		
	#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
----------------------------------------------- */

#Footer { 
 	clear: both;  
	width: 950px;  
	background: #FFF; 
	text-align: left;
	border-top: 1px solid #000; 
	padding-top: 12px;
	font-size: 15px;
	position: relative;
}
  	#Footer p { 
		color: #000;
		font-size: 15px;
	}
  		#Footer a { 
	   		color: #000; 
	   		text-decoration: none;
		}
			#Footer a:hover {
				color: #46a;
				text-decoration: underline;
			}
#Social {
	float: left;
	padding-right: 10px;
}
	#Social #Copyright {
		color: #777;
	}
	#Social ul.socialLinks li {
		display: block;
		list-style: none;
		float: left;
		margin: 18px 20px 0 0;
		width: 26px;
		height: 26px;
	}
		ul.socialLinks a {
			display: block;
			width: 0;
			height: 26px;
			overflow: hidden;
			padding-left: 26px;
		}
		ul.socialLinks a.twitterLink {background: url(../images/footer-icons/twitter.png) bottom;}
		ul.socialLinks a.twitterLink:hover,
		ul.socialLinks a.twitterLink:focus {background: url(../images/footer-icons/twitter.png) top;}
		ul.socialLinks a.facebookLink {background: url(../images/footer-icons/facebook.png) bottom;}
		ul.socialLinks a.facebookLink:hover,
		ul.socialLinks a.facebookLink:focus {background: url(../images/footer-icons/facebook.png) top;}
		ul.socialLinks a.rssLink {background: url(../images/footer-icons/rss.png) bottom;}
		ul.socialLinks a.rssLink:hover,
		ul.socialLinks a.rssLink:focus {background: url(../images/footer-icons/rss.png) top;}
	
#Address {
	border-left: 2px solid #4667a9;
	float: left;
	width: 300px;
	padding-left: 10px;
	color: #777;
}

/*  AboutPage
---------------------------------------------*/
#AboutPageContent {
	width: 908px;
	/*height: 330px;*/
	padding: 20px;
	background: #9ab url(../images/about-page-background.jpg) repeat-y;
	border-right: 1px solid black;
	border-left: 1px solid black;
	position: relative;
}
	#AboutPageContent p {
		width: 530px;
		font-size: 16px;
		color: #444;
	}
	#AboutPageContent h1,
	#AboutPageContent h2,
	#AboutPageContent h3,
	#AboutPageContent h4 {
		color: #444;
	}

#AboutImage {
	position: absolute;
	bottom: 0;
	right: 0;
}

/*  Contact Form
---------------------------------*/
#Form_Form_action_Contact {
	width: 314px;
	margin-bottom: 20px;
	font-size: 17px;
	color: #333;
	background-color: #fafafa;
	border-top: 3px solid #46a;
	border-left: 3px solid #46a;
	border-right: 3px solid #359;
	border-bottom: 3px solid #248;
}
	#Form_Form_action_Contact:active {
		background-color: #dadada;
		border-top: 3px solid #248;
		border-left: 3px solid #248;
	}
	
/*  The Useful Links slides
---------------------------------*/
#Slides {
	position: relative;
}
	#Slides .pagination {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		width: 950px;
	}
		.pagination li {
			float: left;
			list-style: none;
		}
			.pagination .current a {
				color: #444;
			}
.slides_container {
	width:950px;
	height:250px;
	position: relative;
	top: 50px;
	margin-bottom: 50px;
}
	.slides_container div {
		width:790px;
		height:250px;
		padding-left: 160px;
		display:block;
		position: relative;
	}
		.slides_container div img {
			position: absolute;
			top: 0;
			left: 0;
		}
p.copyrightDisclaimer {
	font-size: 10px;
	margin-bottom: 10px;
}
	p.copyrightDisclaimer span {
		font-weight: bold;
	}