/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}
body, td, th, table, p, div {
	font-family: Verdana, Arial, Lucida, sans-serif;
	font-size: 11px;
}
body {
	color: #000; 
 	margin-bottom: 40px;
	/* background: #FFF; */
	background: url(../images/bg.gif) center top repeat-y #CBCBCB; 
} 
ul,ol {
    margin-left:1.5em;
    padding:0;
}
a, a:link, a:active, a:visited {
	color: #c03038;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

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

.clear{
	clear:both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {
	width: 930px;  
	margin: 0 auto; 
}
#Container { 
	width: 930px;
	padding-bottom: 15px;
	background: #fff;
}
#Layout {
	width: 930px;
	clear: both;
	overflow: hidden;
	margin: 0px;
	background: #fff;
}
#Content {
	width: 715px;
	float: right; 	
	margin: 0;
	padding: 0px;
	text-align: left;
}
#Content1col {
	width: 900px;
	float:left;
	margin:0;
	padding: 20px;
	text-align:left;
}
.hpanim {
	display:block;
	width: 930px;
	height: 213px;
	background: #000;
	overflow: hidden;
}
.hpanimtitle {
	display: block;
	width: 220px;
	font-family: "Times New Roman", Times, serif;
	color: #FFF;
	font-size:24px;
	padding-top: 10px;
	padding-bottom: 5px;
	line-height: 1em;
}
.hpanimtext {
	float:right; 
	width:205px;
	padding:10px 40px 10px 40px; 
	color: #ffffff;
	line-height: 1.5em;
	display:inline; 
	height: 193px; 
	background:#cdb133;
}
.hpanimtext a, .hpanimtext a:link, .hpanimtext a:active, .hpanimtext a:visited {
	color: #FFF;
}
.hpanimimg {
	float:left; 
	display:inline;
}
.hpanim2 {
	display:block;
	width: 715px;
	height: 186px;
	overflow:hidden;
	background: #000;
}
.hpanim2text {
	float:right; 
	width:508px;
	height: 166px;
	overflow: hidden;
	padding:10px; 
	color: #FFF;
	display:inline; 
	background:#97badb;
}
.Health {
	background:#97badb;
}
.Agriculture {
	background: #669933;
}
.Marine {
	background: #003366;
}
.hpanim2text, .hpanim2text p {
	color: #fff;
	line-height: 1.2em;
}
.hpanim2text a, .hpanimtext a:link, .hpanimtext a:active, .hpanimtext a:visited {
	color: #FFF;
}
.hpanim2img {
	float:left; 
	display:inline;
}
#hpSpotlight {
	width: 264px;
	margin: 15px 45px 15px 0px;
	float:left;
	display:inline;
	text-align:left;
}
#hpEvents {
	width: 245px;
	margin: 15px 45px 15px 0px;
	float:left;
	display:inline;
}
#hpNews {
	width: 325px;
	margin: 15px 0px 15px 0px;
	float:left;
	display:inline;
}
#hpRight {
	width: 400px;
	float:right;
	display: inline;
	margin: 15px 0px 15px 0px;
}
.listitem {
	clear:left;
	float: left;
	display: block;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #CCCCCC;
	line-height: 1.1em;
}
.listitem div {
	display:inline;
}
.listitem img {
	float:left;
	background: #000;
	display: inline;
	padding: 0px;
	width: 75px;
	margin: 0px 15px 30px 0px;
}
.graybox {
	padding: 10px 7px 15px 7px;
	line-height: 1.5em;
	background-color: #f5fbc8;
}
/* HEADER
----------------------------------------- */
#Header { 
 	width: 930px; 
	height: 83px;
	padding: 35px 0 35px 0;
 	margin: 0 auto;
	overflow: hidden;
	position:relative;
}
 	#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: 1.4em;
		color: #fff;
		clear: left;
		margin: 0 0 0 100px;
	}

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


/* SIDEBAR
-------------------------------------- */
#Sidebar { 
 	width: 150px; 
	float: left;  
	margin: 0 0 0 0;
	padding: 0px 60px 20px 0;
	background: #FFF;
}
	#Sidebar .sidebarBox {
		margin: 0 0 5px 0;
		padding-bottom: 2px;
	}
	#Sidebar ul {
		margin: 2px 0 5px 0px;
	}
		#Sidebar li {
			margin: 0px;
			list-style: none;
		}
	#Sidebar h3 { 
		clear: both;
		color: #53745e;
		margin: 0 0 0 0;
		padding: 0px;
		border-bottom: 1px solid #999999;
	}
	
	/* #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: 11px; 
    	margin: 0px;
        list-style: none;
		padding: 6px 0px 6px 0px;
		border-bottom: 1px solid #d3d3d3;
		width: 150px;
    }
    	ul#Menu2 li a {
            display: block;
			line-height: normal;
            color: #3f3f3f;
      	}
			ul#Menu2 li em {
				padding-left: 0px;
				display: block;
			}
				ul#Menu2 li li em {
					padding-left: 0;
				}
				ul#Menu2 li li {
					border-bottom: none;
					padding: 3px 0px 3px 10px;
				}
		ul#Menu2 li a.current {
			color: #c03038;
		}


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

/* 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: 930px;
	color: #8b8b8b; 
	text-align: right; 
	padding-top: 15px;
	letter-spacing: .05em;
	font-size: 9px;
}
	#Footer .footerTop {
		width: 100%;
		padding-bottom:5px;
		border-bottom: 1px solid #aeaeae;
		margin-bottom: 4px;
		display: block;
	}
  	#Footer p { 
		color: #fff;
		font-size: 10px;
		text-align: center;
		padding-bottom: 10px;
	}
  		#Footer a { 
	   		color: #8b8b8b; 
	   		text-decoration: none;
			font-size: 10px;
		}
			#Footer a:hover {
				color: #8b8b8b;
				text-decoration: underline;
			}
			
#Navigation form {
	float:right;
	/* margin:25px 25px 0px 25px;  */
}
	#Navigation form * {
		display:inline !important;
	}
	#Navigation form div {
		display:inline !important;
	}
	#Navigation form input.text {
		width:110px;
		color:#000;
		font-size: 11px;
		/*background:#f0f0f0;
		border: 1px solid #aaa;*/
		padding:2px;
		font-weight: normal;
	}
	#Navigation form input.action {
		font-weight: normal;
		display:inline !important;
		font-size: 11px;
	}
/*
.searchResults h2 {
	font-size:2.2em;
	font-weight:normal;
	color:#0083C8;
	margin-bottom:15px;
}
*/
.searchResults p.searchQuery {

}

.searchResults ul#SearchResults li {
	margin-bottom:30px;
	width: 700px;
}
	ul#SearchResults p {
		font-weight:normal;
		padding-bottom: 0px;
		margin-bottom: 5px;
	}
	ul#SearchResults a.searchResultHeader {
		font-size:1.3em;
		font-weight:bold;
		text-decoration:none;
		margin:0px 0 10px 0;
		padding-left:20px;
		background:url(../images/treeicons/search-file.gif) no-repeat left center;
	}
		ul#SearchResults a {
			text-decoration:none;
		}
		ul#SearchResults a:hover {
		border-bottom:1px dotted #EFEFEF;
		}