/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
html	{
	margin:0;
	padding:0;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:.75em;
	line-height:1.8em;
	color:#606965;
}

body {
	margin:0;
	padding:0;
	background:url(../images/BG.gif) #e6f3ef repeat-x;	
}

img	{
	border:none;
}

.clear	{
	height:0;
	width:0;
	clear:both;
}

/* CONTAINER
----------------------------------------- */
.wrapper	{
	position:relative; 
	padding:0;
	min-height:780px;
	width:1024px;
	margin:0 auto;
	background:url(../images/clear_copywriting_logo4.png) top left no-repeat;
}

.container {
	position:relative; 
	width:1024px;
	margin:0 auto;
}
	
.main	{
	width:1024px;
	overflow:hidden;
	padding:0;
	margin:0;
	background:url(../images/main_bg.png) top right no-repeat;
}
			
	.content {
		float:left;
		width:620px;
		padding-left:15px; 
		margin:25px 10px;
	}
		.content p	{
			padding-bottom:5px;
		}
/* HEADER
----------------------------------------- */
.header {
	position:relative; 
	height:252px;
	padding:0;
	margin:0;
}

	.nav	{
		position:absolute;
		top:0;
		right:90px;
		height:36px;
		width:585px;
	}
		.nav ul	{
			margin:0;
			padding:0;
		}
			.nav li	{
				display:inline;
				list-style:none;
			}
			.nav li a	{
				float:left;
				height:30px;
				width:111px;
				background:#75ad8c;
				font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
				font-weight:bold;
				font-size:1.25em;
				color:#fff;
				text-decoration:none;
				padding-top:6px;
				margin:0 0 0 6px;
				text-align:center;
			}
				.nav li a:hover	{
					background:#609b7e;
				}
				.nav li a.current	{
					background:#fff;
					color:#75ad8c;
				}
				
		.blog_btn	{
			position:absolute;
			bottom:-5px;
			right:150px;
		}
			.blog_btn a:hover img	{
				filter:alpha(opacity=80);-moz-opacity:.80;opacity:.80;
			}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs { 
 	color: #B7C0C5;
	text-align: left;
	font-size: 0.9em; 
	margin: 0px 5px 10px 0;
}
	#Breadcrumbs p {
		margin: 0;
	}


/* SIDEBAR
-------------------------------------- */
.sidebar	{
		float:left;
		width:280px;
		padding:0; 
		margin-top:15px;
		background:url(../images/sidebar_bg.png) top no-repeat;
		min-height:500px;
	}
		.news	{
			padding:17px 0 0 24px;
		}
			.news_item	{
				width:250px;
				font-size:.85em;
				line-height:1.6em;
				margin:0;
				padding-top:10px;
			}
			.news_item a	{
				color:#75a192;
			}
			.news_item p	{
				padding:0;
				margin:0;
				width:240px;
			}
			.news_item img	{
				padding-top:17px;
			}
      	/* 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 {
            		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: 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
----------------------------------------------- */

.footer {
	width:100%;
	height:205px;
	background:#fff;
	border-top:1px solid #ddd;
	padding:0;
	margin:0;
}
	.inside_footer	{
		width:1024px;
		height:180px;
		overflow:hidden;
		margin:0 auto;
		font-size:.85em;
		color:#999;
	}
		.footer a	{
			color:#739b8d;
			font-weight:normal;
		}
		.foot_links	{
			padding:15px 0 0 10px;
			float:left;
			color:#295b85;
		}
			.foot_links ul, .sitemap ul	{
				padding:0;
				margin:0 20px;
			}
			.foot_links li, .foot_links li a, .sitemap li, .sitemap li a	{
				line-height:1.8em;
				list-style:none;
				padding:0;
				margin:0;
				overflow:hidden;
			}
		.credits	{
			padding:10px 120px 0 0;
			float:right;
			width:400px;
			height:180px;
			color:#999;
			line-height:1.8em;
		}
			.credits strong	{
				color:#70998a;
			}
			.credits a	{
				text-decoration:underline;
			}
			
/* NEWS LIST
---------------------------------------- */
#NewsList	{
	padding:8px;
	border-bottom:1px solid #ddd;
}
	#NewsList li	{
		list-style:none;
	}
	
		.newsDateTitle	{
			font-size:.9em;
			font-weight:bold;
		}
		
			.newsDateTitle a	{
				font-size:1em;
				font-weight:normal;
			}
		
		.newsSummary	{
		}
