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

html {
	background: #fff;
}

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

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 962px;  
	margin: 0 auto; 
}

#Container { 
	width: 865px;
	padding-bottom: 0;
	background: #fff;
	position:relative;
}

#blue_content, #green_content, #purple_content, #grey_content, #turq_content, #orange_content, #brown_content, #yellow_content {
	width:865px;
	height:auto;
	position:relative;
}

#blue_content img, #turq_content img, #brown_content img, #green_content img, #purple_content img, #grey_content img, #orange_content img, #yellow_content img, object {
	float:right;
	margin-left:20px;
	margin-bottom:20px;
}

#blue_content {background: #fff url(../images/container_blue.gif) repeat-y;}
#green_content {background: #fff url(../images/container_green.gif) repeat-y;}
#green_content h2, #green_content h2 a {color:#a4d32f;}
#purple_content {background: #fff url(../images/container_purple.gif) repeat-y;}
#purple_content h2 {color:#c50189;}
#grey_content {background: #fff url(../images/container_grey.gif) repeat-y;}
#grey_content h2 {color:#626367;}
#turq_content {background: #fff url(../images/container_turq.gif) repeat-y;}
#turq_content h2 {color:#008896;}
#orange_content {background: #fff url(../images/container_orange.gif) repeat-y;}
#orange_content h2 {color:#e87a09;}
#brown_content {background: #fff url(../images/container_brown.gif) repeat-y;}
#brown_content h2 {color:#643722;}
#yellow_content {background: #fff url(../images/container_yellow.gif) repeat-y;}
#yellow_content h2 {color:#f1b530;}

#blue_top, #green_top, #purple_top, #grey_top, #turq_top, #orange_top, #brown_top, #yellow_top {
	width:865px;
	height:29px;
	float:left;
}

#blue_top { background:url(../images/blue_top.gif) no-repeat;}
#green_top { background:url(../images/green_top.gif) no-repeat;}
#purple_top { background:url(../images/purple_top.gif) no-repeat;}
#grey_top { background:url(../images/grey_top.gif) no-repeat;}
#turq_top { background:url(../images/turq_top.gif) no-repeat;}
#orange_top { background:url(../images/orange_top.gif) no-repeat;}
#brown_top { background:url(../images/brown_top.gif) no-repeat;}
#yellow_top { background:url(../images/yellow_top.gif) no-repeat;}

#blue_bottom, #green_bottom, #purple_bottom, #grey_bottom, #turq_bottom, #orange_bottom, #brown_bottom, #yellow_bottom {
	width:865px;
	height:29px;
	float:left;
}

#blue_bottom {background:url(../images/blue_bottom.gif) no-repeat;}
#green_bottom {background:url(../images/green_bottom.gif) no-repeat;}
#purple_bottom {background:url(../images/purple_bottom.gif) no-repeat;}
#grey_bottom {background:url(../images/grey_bottom.gif) no-repeat;}
#turq_bottom {background:url(../images/turq_bottom.gif) no-repeat;}
#orange_bottom {background:url(../images/orange_bottom.gif) no-repeat;}
#brown_bottom {background:url(../images/brown_bottom.gif) no-repeat;}
#yellow_bottom {background:url(../images/yellow_bottom.gif) no-repeat;}


#home_image {
	width: 447px;
	height: 370px;
	padding:0 10px;
	float: left;
}

#Layout {
	width: 810px;
	clear: both;
	overflow: hidden;
	float: left;
	padding:0 12px 0 24px;
}

#GreenLayout {
	width: 800px;
	clear: both;
	overflow: hidden;
	float: left;
	padding:0 12px 0 24px;
}

#Content {
	width: 800px;
	float: left; 	
	margin: 0;
	text-align: left;
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 962px;
	height: 120px; 
 	margin: 0 auto;
	overflow: hidden;
	background: #fff url(../images/header.gif) repeat-x left center;
}
 	#Header h1 { 
	  	color: #000; 
		font-size: 3.2em; 
		font-family: Tahoma, Verdana, sans-serif;
		font-weight: 300;
		padding: 20px 0 0 30px;
	}
	
	#Header h1 span {
		display:none;
	}
	
	#Header p {
		font-size: 1.4em;
		color: #000;
		clear: left;
		margin: 0 0 0 100px;
	}
	
/* -------------------- NEW NAVIGATION --------------------- */

#navigation {
	width:750px;
	height:41px;
	float:left;
	margin-left:9px;
}

#navigation ul {
	list-style:none;
}

#navigation ul li {
	float:left;
}

#navigation li a {
	width:80px;
	height:41px;
	display: block;
	margin-left:11px;
}

#navigation li a.blue_nav {background:url(../images/nav/blue_nav.gif) left no-repeat; }
#navigation li a.green_nav {background:url(../images/nav/green_nav.gif) left no-repeat; }
#navigation li a.purple_nav { background:url(../images/nav/purple_nav.gif) left no-repeat; }
#navigation li a.grey_nav { background:url(../images/nav/grey_nav.gif) left no-repeat; }
#navigation li a.turq_nav {background:url(../images/nav/turq_nav.gif) left no-repeat; }
#navigation li a.orange_nav {background:url(../images/nav/orange_nav.gif) left no-repeat; }
#navigation li a.brown_nav {background:url(../images/nav/brown_nav.gif) left no-repeat; }
#navigation li a.yellow_nav {background:url(../images/nav/yellow_nav.gif) left no-repeat; }

#navigation li a.blue_nav_on, #navigation li a:hover.blue_nav {background:url(../images/nav/blue_nav.gif) right no-repeat; }
#navigation li a.green_nav_on, #navigation li a:hover.green_nav {background:url(../images/nav/green_nav.gif) right no-repeat; }
#navigation li a.purple_nav_on, #navigation li a:hover.purple_nav {background:url(../images/nav/purple_nav.gif) right no-repeat; }
#navigation li a.grey_nav_on, #navigation li a:hover.grey_nav {background:url(../images/nav/grey_nav.gif) right no-repeat; }
#navigation li a.turq_nav_on, #navigation li a:hover.turq_nav {background:url(../images/nav/turq_nav.gif) right no-repeat; }
#navigation li a.orange_nav_on, #navigation li a:hover.orange_nav {background:url(../images/nav/orange_nav.gif) right no-repeat; }
#navigation li a.brown_nav_on, #navigation li a:hover.brown_nav {background:url(../images/nav/brown_nav.gif) right no-repeat; }
#navigation li a.yellow_nav_on, #navigation li a:hover.yellow_nav {background:url(../images/nav/yellow_nav.gif) right no-repeat; }

#navigation li a span {
	display:none;
}

/* FLASH MAP
-------------------------------------------- */

#flash_map {
	width:260px;
	height:300px;
	position:absolute;
	top:30px;
	right:20px;
}


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


#green_content #Breadcrumbs a {
	color:#a4d32f;
}

/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 98px; 
	position:absolute;
	right:-98px;
	top:30px;
	margin: 10px 0 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding: 20px 0 2px;
		background: #EFEFEF;
		background: #a4d32f url(../images/sidebarTopBg.gif) no-repeat center top;
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}

	
	#Sidebar .sidebarBottom {
		height: 15px;
		display: block;
		width: 98px;
		margin: -5px 0 0 0;
		background: #fff 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;
	}
	
	/* MENU2 */
    ul#Menu2 li { 
    	font-size: 0.9em; 
    	margin: 1px 0 5px;
        list-style: none;
    }
    	ul#Menu2 li a {
            display: block;
            width: 88px;
            font-size: 1.1em;
            height: 1.8em;
            line-height: 1.8em;
            color: #fff;
      	}
			ul#Menu2 li em {
				padding-left: 0;
				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: #000;
			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 {
            		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: #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;
		}
			.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: 10px 0;
		font-size: 1em;
		padding-bottom:10px;
		border-bottom:1px solid #eaeaea;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {
	float: right;
	width: 240px;
	margin: 65px 90px 5px 5px;
}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 164px;
	margin: 4px 5px 0 0;
	padding: 1px;
	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
----------------------------------------------- */

#Footer {
	height:20px;
	width:450px;
	float:right;
	padding:15px 110px 0 0;
	position:relative;
}

#Footer p { 
	color:#999;
	font-size: 1.0em;
	text-align: right;
	margin-top: -0.6em;
}
	#Footer a { 
		color: #999; 
		text-decoration: none;
	}
		#Footer a:hover {
			color: #999;
			text-decoration: underline;
		}
		
/* INVESTOR 
----------------------------------------------- */

#investor {
	width:102px;
	height:68px;
	float:left;
	margin-top:10px;
}

#investor img {
	border:none;
}







