/**
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Main Layout File
 */

/* Misc Styles and defaults
-------------------------------------------- */

* {
	margin: 0;
	padding: 0;
}

body {
	color: black;
 	font-size: 14px;
 	margin-bottom: 40px;
	font-family: Arial, sans-serif;
	font-weight: regular;
	line-height: 17px;
	background: white url(../images/header-bg.png) repeat-x left top;
}

html {
}

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

.clear{
	clear: both;
}

/* CONTAINER
----------------------------------------- */
#BgContainer {

}
#Container {
	width: 960px;
	padding-bottom: 15px;
	background: white;
	margin: 0 auto;
	position: relative;
	background: white url(../images/header-bg.png) repeat-x left top;
}

.CornerShadow {
	width: 99px;
	height: 125px;
	position: absolute;
	top: 161px;
}

#LeftShadow {
	background: transparent url(../images/corner-shadow-left.jpg) no-repeat left top;
	left: -99px
}

#RightShadow {
	background: transparent url(../images/corner-shadow-right.jpg) no-repeat left top;
	right: -99px
}

#Layout {
	width: 960px;
	clear: both;
	overflow: hidden;
	margin: 0 0 15px;
}
#Content {
	width: 480px;
	float: left;
	margin: 15px 20px 0;
	text-align: left;
}
/* HEADER
----------------------------------------- */
#Header {
 	width: 960px;
 	height: 128px;
 	margin: 0 auto;
}

#Header img {
	border: medium none;
	margin: 0;
	padding: 36px 0 0 5px;
}

/* MAIN NAVIGATION - TABS
----------------------------------------- */
#Navigation {
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
	background: transparent url(../images/nav-bg.png) repeat-x top left;
}

	#Navigation ul {
	}

	#Navigation ul li {
 		list-style: none;
		float: left;
		height: 54px;
		display: block;
	}

	#Navigation ul li a {
		display: block;
		float: left;
		font-size: 14px;
		font-weight: bold;
		height: 54px;
		padding: 10px 11px 0;
		max-width: 120px;
		text-align: center;
		text-decoration: none;
		color: #FFF;
		text-transform: uppercase;
	}

	#Navigation ul li a:hover {
		background: url(../images/nav-bg-current.png) repeat-x left top;
		color: #fff;
		cursor: pointer;
	}

	#Navigation ul li a.current,
	#Navigation ul li a.section,
	#Navigation ul li a.section:hover,
	#Navigation ul li a.current:hover {
	 	background: #fff url(../images/nav-bg-current.png) repeat-x left top;
	 	color: #FFF;
	}

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

/* SECONDARY MENU
-------------------------------------------- */
#SecondaryMenu {
	float: left;
	width: 186px;
	background: transparent url(../images/side-menu-bg.png) repeat-y right top;
	padding-top: 8px;
}

#SecondaryMenuFade {
	clear: both;
	background: transparent url(../images/side-menu-bg-fade.png) no-repeat right top;
	height: 160px;
}

#SecondaryMenu ul {
	margin: 0;
}

#SecondaryMenu ul li {
	list-style: none;
	padding-left: 15px;
	margin: 0;
	padding: 6px 0 6px 15px;
	background: transparent url(../images/side-menu-divider.png) no-repeat right bottom;
}

#SecondaryMenu ul li a {
	color: #0D75BB;
	font-size: 13px;
	font-weight: normal;
	height: 28px;
	text-decoration: none;
}

#SecondaryMenu ul li a:hover, #SecondaryMenu ul li a.current {
	color: #559328;
	text-decoration: none;
}

/* RIGHT SIDEBAR
-------------------------------------------- */
#RightSidebar {
	width: 250px;
	float: left;
}

#SlideshowHolder {
	height: 275px;
}

#SlideshowHolder img {
	display: none;
}

#SlideshowHolder img.first {
	display: block;
}

#TestimonialHolder {
	width: 202px;
	padding: 0 27px;
}

#TestimonialTop {
	margin: 20px 0 0;
	height: 24px;
	color: black;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	background: transparent url(../images/testimonial-top.gif) no-repeat left top;
	padding-top: 15px;
}

#TestimonialMiddle {
	background: transparent url(../images/testimonial-middle.gif) repeat-y left top;
}

#TestimonialMiddle p {
	position: relative;
	text-align: center;
	color: black;
}

#TestimonialMiddle p.TestimonialText {
	font-style: italic;
	font-size: 13px;
	padding: 5px 20px 0;
}

img#LeftQuote {
	position: absolute;
	top: 5px;
	left: -6px;
}

img#RightQuote {
	position: absolute;
	bottom: 0;
	right: -6px;
}

#TestimonialMiddle p.TestimonialAuthor {
	font-size: 12px;
	padding: 0 20px;
}

#TestimonialMiddle a {
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	display: block;
}

#TestimonialMiddle a img {
	margin-left: 5px;
}

#TestimonialBottom {
	background: transparent url(../images/testimonial-bottom.gif) no-repeat left top;
	width: 202px;
	height: 45px;
	clear: both;
}
/* 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 {
  background: url("../images/footer-divider.png") no-repeat scroll center top transparent;
  clear: both;
  height: 60px;
  margin: 0 auto;
  text-align: left;
  width: 960px;
}
#Footer p {
	color: #0D75BB;
	font-size: 12px;
	font-weight: normal;
	text-align: left;
	padding: 10px 20px 0;
}

#Footer p#CopyRight {
	float: left;
}

#Footer p#Credit {
	float: right;
}

#Footer a {
	color: #0D75BB;
	text-decoration: underline;
}
#Footer a:hover {
	text-decoration: none;
}



.typography a.Anchor {
	text-decoration: none;
}
