/* Coded by Paul Hart for Neurocore 2010 */

/* Colors
	Green #364f26
	Dark Green #304522 or #364f26
	Bright Green #afe740
*/


/** HTML 5 */
article, aside, footer, header, nav, section {
	display: block;
	text-align: left;
}
* {
   padding: 0;
   margin: 0;
}

/* Styles */

a {
	color: #304522;
	text-decoration: underline;
}
	a:hover {
		text-decoration: none;
	}
h2, h3, h4, h5, h6, dt {
	margin: 1px 0 8px 0;
	color: #364f26;
}
h1 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
}
	#primarycontent h1 {
		border-bottom: 1px solid #ccc;
		overflow: hidden;
		padding-bottom: 5px;
	}
h2 {
	font-size: 16px;
	font-weight: normal;
}
h3, dt {
	font-size: 15px;
	font-weight: bold;
}
p, dd.readmore, dl#news dd.date, dd.directions {
	margin-bottom: 15px;
}
img.right,
img.left {
	border: 1px solid #666;
}
	img.right,
	img.right-clean {
		margin: 2px 0 5px 15px;
		float: right;
		clear: left;
	}
	img.left,
	img.left-clean {
		margin: 2px 15px 5px 0;
		float: left;
	}
	img.left-clean,
	img.right-clean {
		border: none;
	}

/* General */

body {
	position: relative;
	font: .85em/1.5em Verdana, 'Lucida Grande', 'Lucida Sans Unicode', HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: #515151;
	text-align: center;
	background: #364f26 url(/images/bg-body.jpg) no-repeat center 0;
}

/* Layout */
header {
	display: block;
	position: relative;
	overflow: hidden;
	height: 125px;
	width: 850px;
	margin: 0 auto;
}
	h1#logo {
		display: block;
		position: relative;
		width: 345px;
		height: 93px;
		background: url(/images/logo-neurocore.png) 0 0;
		text-indent: -1000em;
		top: 17px;
		overflow: hidden;
	}
	h1#logo a {
		display: block;
		text-decoration: none;
		position: absolute;
		top: 0;
		left: 0;
		width: 345px;
		height: 93px;
	}
article {
	display: block;
	margin-bottom: 15px;
	padding-bottom: 15px;
}
#container {
	width: 820px;
	padding: 15px 15px 0 15px;
	margin: 0 auto;
	background: #fff;
}
#primarycontent {
	display: block;
	padding: 0 15px 25px;
	min-height: 240px;
	overflow: hidden;
}
	.intro {
		background: #efefef;
		margin: -15px -15px 18px -15px;
		padding: 20px 30px 17px 30px;
		text-align: left;
	}
#sidebar {
	display: block;
	float: right;
	margin: 0;
	padding: 0 15px 15px;
	width: 350px;
}
#secondarycontent {
	clear: both;
	display: block;
	padding: 20px 0 60px 0;
	margin-left: -15px;
	margin-right: -15px;
	background: #f3f3f3 url(/images/bg-secondarycontent.gif) no-repeat 0 bottom;
	overflow: hidden;
}
#secondarycontent dl {
	float: left;
	margin-left: 20px;
	padding-left: 55px;	
	font-size: .9em;
}
	#secondarycontent dt {
		margin-top: 15px;
	}
	#secondarycontent dt a {
		text-decoration: none;
	}
	#secondarycontent dt a:hover {
		text-decoration: underline;
	}
	#secondarycontent dl a {
		font-weight: bold;
	}
	#secondarycontent dd.date {
		font-size: .9em;
	}
	dl#news {
		width: 345px;
		background: url(/images/icon-news.gif) no-repeat 0 2px;
	}
	dl#news dd img {
		float: left;
		clear: right;
		margin: 25px 10px 5px 0;
	}
	dl#events {
		width: 250px;
		margin-left: 70px;
		background: url(/images/icon-calendar.gif) no-repeat 0 2px;
	}
	dd.titlebar {
		font-weight: bold;
		font-size: 1.1em;
		background: none;
	}
	dd.directions a {
		font-weight: normal;
	}
.video {
	float: right;
	margin-left: 10px;
}
	#player {
		display: block;
		width: 360px;
		margin-bottom: 25px;
	}
footer {
	color: #afe740;
	font-size: .9em;
	width: 850px;
	margin: 0 auto;
	text-align: right;
	padding: 20px 0;
}
	footer a {
		color: #afe740;
	}
	footer span {
		color: #fff;
	}

/* Internal */

.column {
	width: 380px;
	margin-right: 15px;
	float: left;
}

#contact h3 {
	margin: 0;
}
.tel, .email {
	display: block;
}
.adr, .tel, .email {
	margin-bottom: 12px;
}

/* Nav */

#mainnav {
	float: right;
}
	#mainnav ul {
		position: absolute;
		top: 40px;
		right: 0;
		list-style-type: none;
		color: #fff;
		height: 40px;
	}
	#mainnav li {
		display: inline;
	}
	#mainnav li a {
		display: inline-block;
		padding: 12px 20px;
		color: #fff;
		text-decoration: none;
		margin-right: 3px;
		font-size: 18px;
	}
		#mainnav li a:hover,
		#mainnav li a.active {
			background: transparent url(/images/bg-nav.png) repeat 0 0;
		}

#secondarynav {
	position: relative;
	display: block;
	width: 100%;
	height: 42px;
	background: #304522 url(/images/bg-secondarynav.gif) repeat-x 0 0;
}
	#secondarynav ul {
		position: relative;
		top: 12px;
		right: 0;
		list-style-type: none;
		width: 850px;
		margin: 0 auto;
		color: #afe740;
		height: 20px;
		overflow: visible;
	}
	#secondarynav li {
		display: inline;
	}
	#secondarynav li a {
		text-decoration: none;
		color: #afe740;
		padding-right: 7px;
		border-right: 1px solid #afe740;
		margin-right: 7px;
		font-size: .85em;
		line-height: 1.1em;
		float: right;
	}
	#secondarynav li a:hover {
		text-decoration: underline;
	}
	#secondarynav li a.active {
		font-weight: bold;
		color: #fff;
	}
	#secondarynav li.last a {
		border: none;
	}
	#secondarynav li.icon a,
	#events .icon a {
		display: block;
		border: none;
		text-indent: -1000em;
		width: 28px;
		height: 28px;
		margin-top: -5px;
		margin-right: 0;
		text-decoration: none;
		overflow: hidden;
	}
	#secondarynav li.facebook a { background: url(/images/icon-facebook.png) no-repeat 0 0;}
	#secondarynav li.twitter a { background: url(/images/icon-twitter.gif) no-repeat 0 0; }
	#secondarynav li.youtube a { background: url(/images/icon-youtube.gif) no-repeat 0 0; }
	#events .facebook a {float: left; margin: 0 5px 5px 0; background: url(/images/icon-facebook.png) no-repeat 0 0;}
