/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
  
* {
	margin: 0;
	padding: 0;
}

body {background:url(../images/calmaImages/CalmaBg.gif) repeat-x;
	color: #333;
 	font-size: 62.5%; 
	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;
}
a {outline:none;}

.clear{	clear:both;}
.hide{position:absolute;left:-9999px;}
.hideText{text-indent:-9999px;}
span.clear, p.clear {display:block;overflow:hidden;height:0;margin:0;padding:0;}
.alignTextRight{text-align:right;}
.alignTextCenter{text-align:center;}
/*.aligntextJustify{text-align:justify;}*/
.bold{font-weight:bold;}
.italic{font-style:italic;}
.underline{border-bottom:1px solid;}
.highlight{background:#A1CE26;color:#fff;/* To Specify */}
.noPadding{padding:0;}
.noMargin{margin:0;}
.noIndent{margin-left:0;padding-left:0;}
.noBullet{list-style:none;list-style-image:none;}
.noBorder{border-top:none;border-right:none;border-bottom:none;border-left:none;}
.separatorLine{line-height:1px;clear:both;display:block;border-top:1px solid #ededed;margin:5px 0;padding:5px 0;}
.sweeper{width:100%;clear:both;line-height:1%;margin:0;padding:0;}
.imgLeft{float:left; margin:0 10px 0;}
.imgRight{float:right; margin:0 0 0 10px;}
.floatLeft {float:left;}
.floatRight {float:right;}

/* CONTAINER
----------------------------------------- */
#Container {margin:0 auto;width:822px;position:relative; }
.typography {/*overflow:hidden;*/padding-bottom:20px;width:822px;}
#ContentMain {float:left; margin:50px 0 40px; width:500px;}


/* HEADER
----------------------------------------- */
#Header {}
 	#Header h1 {}
		#Header h1 a {position:absolute; z-index:10;left:-7px;background: url(../images/calmaImages/CalmaLogo.png) no-repeat; display:block; /*float:left;*/height:113px; text-indent:-9999px;width:188px;}
	#Header p {margin:0; padding:0;}
#imageBanner {clear:both; height:184px; width:822px; }
	#fade {height:184px;overflow:hidden;}
	
/* MAIN NAVIGATION - TABS
----------------------------------------- */
	 ul#Navigation {background:#005221; float:right;	}
		 ul#Navigation li {float:left;display:inline;	}
  			 ul#Navigation li a { background:#bfb7a0;color:#fffbf0; display:block;float:left;font-size:16px; height:66px;line-height:66px;padding:0 16px;text-decoration:none;}
				ul#Navigation li a span {		}
					ul#Navigation li a:hover { background:#898067; color:#fff;	cursor: pointer;	}
					ul#Navigation li a:hover span {		cursor: pointer;	}
					
    			ul#Navigation li a.current,
	    		ul#Navigation li a.section,
	    		ul#Navigation li a.section:hover,
	    		ul#Navigation li a.current:hover {background:#a39b84; color:#fff;	}
				ul#Navigation li a.current span,
				ul#Navigation li a.section span,
	    		ul#Navigation li a.section:hover span,
				ul#Navigation li a.current:hover span {			}
    
/* BREADCRUMBS
-------------------------------------------- */
#Breadcrumbs {position:relative; top:10px; width:500px; }


/* ContentSub
-------------------------------------- */
#ContentSub {float: right;width:261px;background:#f7f5ee url(../images/calmaImages/sidebarBgBottom.gif) no-repeat bottom left; position:relative; padding:0 0 40px; margin:50px 0 50px 0; }
#ContentSub	.sidebarTop {background:url(../images/calmaImages/sidebarBgTop.gif) no-repeat top left;  height:16px;margin:0; padding:20px 0 0 0; width:261px;}
	
	
/* MENU2 
---------------------------------------- */
#Nav2 {clear:both; height:62px;width:822px;}
ul#Menu2 { float:left;	}
		 ul#Menu2 li {float:left;display:inline;	}
  			 ul#Menu2 li a { color:#a39b84; display:block;float:left;font-size:15px; height:62px;line-height:66px;padding:0 16px;text-decoration:none;}
				ul#Menu2 li a span {		}
					ul#Menu2 li a:hover { background:#d7d0bf; color:#a39b84;	cursor: pointer;	}
					ul#Menu2 li a:hover span {		cursor: pointer;	}
					
    			ul#Menu2 li a.current,
	    		ul#Menu2 li a.section,
	    		ul#Menu2 li a.section:hover,
	    		ul#Menu2 li a.current:hover {background:#efeadd; color:#6e6e6e;	}
				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 {			}
  
  
/* MENU3 
---------------------------------------- */
ul#Menu3 { float:left;padding:0 0 20px; margin:0;	}
		 ul#Menu3 li {float:left;display:inline;padding:0; margin:0;	}
  			 ul#Menu3 li a { background:#EFEADD; border-bottom:solid 2px #fff; color:#333; display:block;font-size:15px; height:40px;line-height:45px;padding:0;text-decoration:none; text-align:center; width:261px;}
				ul#Menu3 li a span {		}
					ul#Menu3 li a:hover { background:#f4f1ea; color:#a39b84;	cursor: pointer;	}
					ul#Menu3 li a:hover span {		cursor: pointer;	}
					
    			ul#Menu3 li a.current,
	    		ul#Menu3 li a.section,
	    		ul#Menu3 li a.section:hover,
	    		ul#Menu3 li a.current:hover {background:#d7d0bf; color:#6e6e6e;	}
				ul#Menu3 li a.current span,
				ul#Menu3 li a.section span,
	    		ul#Menu3 li a.section:hover span,
				ul#Menu3 li a.current:hover span {}
    

/* 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: 52px 0;
}
	ul#SearchResults li {
		list-style: none;
		margin: 5px 0;
		font-size: 1em;
	}

/* SEARCH FORM 
-----------------------------------------------*/
html #SearchForm_SearchForm {position:absolute;right:0; top:326px;width: 262px;}
html #SearchForm_SearchForm .middleColumn {
	float: left;
	width: 197px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: #f6f4ec;
	
}
	html #SearchForm_SearchForm .middleColumn input.text {
		width: 193px;
		border: none;
		color: #666;
	}
html #SearchForm_SearchForm #SearchForm_SearchForm_action_results {background:#BFB7A0;color:#fff;
	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
----------------------------------------------- */
#byline {background:url(../images/calmaImages/Calma_Byline.gif) no-repeat;height:62px; bottom:-20px;text-indent:-9999px; position:relative; width:822px; }
	#home #byline {position:absolute; top:250px; }

#FooterContainer {clear:both; width:100%; background:#f8f5ed; overflow:hidden;}
#Footer {width:822px;margin:0 auto; padding:30px 0 20px;}
  	#Footer p { color:#b9b9b9; font-size:10px;	}
		#Footer p a { color:#b9b9b9; font-size:10px;	}
  		#Footer a { text-decoration: none;	color:#b9b9b9; font-size:12px; letter-spacing:.04em; }
			#Footer a:hover {text-decoration: underline;}
	#Footer ul { clear:both; width:390px; height:40px;margin:40px auto 0;}
		#Footer ul li { float:left; display:inline;}
			#Footer ul li a {display:block;border-right:solid 1px #b9b9b9; padding: 0 8px; }
				#Footer ul li.contact-us a {border-right:none; }
				