/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
body {
	background: #F7F7F7 url(../images/bgd-body.png) repeat-x left top;
	font: 0.75em/1.125em Verdana, Geneva, sans-serif;
}

p {
	margin: 0px 0px 14px;
	padding: 0px;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

.clear{
	clear:both;
}

a {
	color: #0354a1;
}
a:hover {
	color: #1C91FB;
}

/* CONTAINER
----------------------------------------- */
#container {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
}
#top {
	height: 95px;
	width: 900px;
}
#top #logo {
	height: 66px;
	width: 393px;
	margin-top: 18px;
	float: left;
}
#top #toptabs {
	height: 30px;
	width: 250px;
	float: right;
	margin-top: 65px;
}
#top #toptabs ul {
	float: right;
	display: block;
	height: 30px;
}

#top #toptabs ul li{
	float: left;
	list-style: none;
	display: block;
	height: 30px;
	background: url(../images/tab-left.png) no-repeat left top;
	padding-left: 8px;
	white-space: nowrap;
}


#top #toptabs ul li span {
	background: url(../images/tab-right.png) no-repeat right top;
	display: block;
	height: 30px;
	padding-right: 8px;
}
#top #toptabs ul li.last span {
	background: url(../images/tab-right-last.png) no-repeat right top;
}

#top #toptabs ul li span a {
	line-height: 30px;
	background: url(../images/tab-bgd.png) repeat-x left top;
	display: block;
	height: 30px;
	color: #000;
	text-decoration: none;
	font-size: 11px;
	white-space: nowrap;
}
#top #toptabs ul li span a:hover {
	color: #47AD19;
}
#top #toptabs ul li span a img {
	vertical-align: middle;
	margin-right: 5px;
}
/* HEADER
----------------------------------------- */
#header {
	background: url(../images/header-bgd.png) no-repeat left top;
	height: 196px;
	width: 900px;
}
#header_imgs {
	height: 158px;
	width: 899px;
	padding-left: 1px;
}

#header_imgs .img {
	width: 298px;
	float:left;
	margin-top: 2px;
	margin-left: 1px;
	overflow:hidden;
}


#menu {
	clear: both;
	height: 38px;
	width: 900px;
}
#menu ul li {
	display: block;
	float: left;
	height: 38px;
	line-height: 38px;
	background: url(../images/menu-sep.png) no-repeat left top;
	margin: 0px;
	padding: 0px 18px;
	list-style: url(none) none;
}
#menu ul li:first-child {
	background: url(none);
}
#menu ul li a:link , a:visited{
	color: #f7f7f7;
	text-decoration: none;
}
#menu ul li a:hover , a:active{
	color: #6FC628;
}
#contentarea {
	padding-top: 20px;
	padding-bottom: 20px;
	overflow: auto;
	width: 900px;
}
#contents {
	float: left;
	width: 528px;
	padding-right: 20px;
	padding-top: 7px;
}
#contents td {
	padding-top: 5px;
	padding-bottom: 5px;
}

#rightcolumn {
	width: 352px;
	float: right;
}
#rightcolumn h4 {
	font: normal 1.16em Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	color: #6a6a6a;
	padding-bottom: 10px;
	background-image: url(../images/bgd-h4.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
#rightcolumn p {
	margin-bottom: 8px;
}

#rightcolumn a {
	color: #0354a1;
}
#rightcolumn a:hover {
	color: #1C91FB;
}

#news {
	background: #FFF;
	width: 320px;
	border: 1px solid #e6e6e6;
	padding: 10px 15px;
	float: right;
	color: #434343;
	overflow: hidden;
}
#news h5 {
	font: normal 1em Verdana, Geneva, sans-serif;
	margin-bottom: 8px;
	color: #2b9001;
	margin-top: 18px;
}
#news h5 a {
	color: #2b9001;
}
#articles {
	background: #FCFCFC;
	width: 320px;
	padding: 10px 15px;
	float: right;
	color: #434343;
	overflow: hidden;
	border: 1px solid #e6e6e6;
}
#articles h5 {
	font: bold normal 1em Verdana, Geneva, sans-serif;
	margin-bottom: 8px;
	color: #3b7cb7;
	margin-top: 18px;
}
#articles h5 a {
	color: #3b7cb7;
	text-decoration: none;
}

    
/* 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: left;  
	margin: 10px 0 0 0;
	padding: 0;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
		background: #EFEFEF url(../images/sidebarHeader.gif) no-repeat left top; 
	}
	#Sidebar ul {
		margin: 2px 0 5px 3px;
	}
		#Sidebar li {
			margin: 8px 2px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both; 
		text-transform: lowercase;
		color: #fff;
		font-weight: 700; 
		font-size: 1.4em; 
		margin: 0 0 10px 0;
		line-height: 1.8;
		padding: 1px 0 0 10px;
		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;
	}
	
	/* 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_wrapper {
	background: url(../images/bgd-footer.png) repeat-x left top;
	height: 112px;
	clear: both;
}
#footer {
	height: 85px;
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	padding-top: 27px;
	color: #4A739B;
}
#footer p.links a{
	color: #f7f7f7;
	text-decoration: none;
	padding-right: 5px;
	padding-left: 5px;
}
#footer p.links a:hover {
	color: #6FC628;
}
#footer p.copyright {
	color: #c9c9c9;
}
#footer p.copyright a {
	color: #c9c9c9;
	text-decoration: none;
}
#footer p.copyright a:hover {
	color: #6FC628;
}
/*
Extra ----------------------------------*/
.error{
	font: italic 11px Verdana, Arial, Helvetica, sans-serif;
	color: #FF0000;
}
.message_div {
	background: #D9E7CD;
	padding: 5px;
	border: 1px solid #C4E0A3;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	margin: 15px auto;
	clear: both;
	width: 400px;
	color: #80B63D;
}
.error_div {
	color: #EC0000;
	background: #FFD9D9;
	padding: 5px;
	width: 450px;
	border: 1px solid #FFA8A8;
	margin: 15px auto;
}
.dotted_step   {
	margin: 10px 0px;
	padding: 0px;
	border-top: 1px dashed #D6D6D6;
}
