/*
Theme Name: CACHE
Theme URI: http://www.charlottehomeschool.com
Description: A theme for the CACHE website
Author: Caleb Woods
Author URI: http://www.charlottehomeschool.com
*/

html, body {
	font-family: Arial, Helvetica;
	background-color: #252524; 
}

h1, h2, h3, h4, h5, h6 { display: block; line-height: 1.4em; color: #333; }

h1 { font-size: 2.1em; }

h2 { font-size: 1.7em; }

p { line-height: 1.4em; font-size: 14.4px; margin-bottom: 10px; }

ul, ol { line-height: 1.4em; font-size: 14.4px; margin-bottom: 10px; }
	#main ul, #main ol { margin-left: 40px; }
	.none li { list-style: none; }

a { color: #0a61ab; }

#header-bg {
	background: #cc0000;
	background: -moz-linear-gradient(center top , #660011, #ee0000 1%, #cc0000);
	background: -webkit-gradient(linear, center top, center bottom, from(#660011), color-stop( 0.01, #ee0000), to(#cc0000));
	border-bottom: 1px solid #880000;
	overflow: hidden;
}
#header {
	width: 940px;
	margin: 0 auto;
}
	#logo { float: left; width: 80px; padding-top: 5px; }
	#header h1 {
		font-family: Tahoma, sans-serif, Helvetica;
		color: #fff;
		text-shadow: 0 1px 2px #880000;
		font-size: 3.1em;
		line-height: 1.4em;
		float: left;
	}
	#header a { text-decoration: none; }

/* Main Navigation */
#top ul {
	float: right;
	margin: 0 auto;
}

#top li, #top li a { float: left; }

#top li { position: relative; list-style: none; }

#top li a {
	color: #fff; 
	padding: 15px 20px; 
	text-decoration: none; 
	font-weight: bold;
	margin: 15px 0;
}

#top li a:hover, #top li a.selected, #top li a:active { background: #990000; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }

	ul.sub-menu { display: none; }

/*-------Content----------*/
#content{ background: #ececec; }
#page { 
	width: 900px;
	min-height: 400px;
	margin: 0 auto;
	overflow: hidden;
	padding: 20px; 
	background: #fff;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	-moz-box-shadow: 0 1px 5px #bbb;
	-webkit-box-shadow: 0 1px 5px #bbb;
}
	#main {
		float: left;
		width: 600px;
		margin-right: 10px;
	}
	#error-page { min-height: 400px; display: block; }
	#featured { 
		display: block;
		border-bottom: 2px solid #ececec;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	
		#main section hgroup.section-header { color: #777; text-shadow: 0 1px 1px #aaa; }
		#main section hgroup.section-header a { text-decoration: none; color: #777; }
		#main section hgroup.page-header h1 { 
			color: #777;
			text-shadow: 0 1px 1px #aaa;
			border-bottom: 2px solid #ececec;
			display: block;
			margin-bottom: 20px;
			clear: both;
		}
			#main section article { padding: 10px; }
			#main section article hgroup {
				border-bottom: 1px dashed #ddd;
				display: block;
				margin-bottom: 20px;
			}
				#main section article hgroup a { color: #333; text-decoration: none; }
				#main section article hgroup a:hover { text-decoration: underline; }
				#main section article hgroup p { color: #777; }
			#post-nav{
				line-height: 1.5em;
				
			}
/*-------Sidebar----------*/
	aside {
		float: right;
		width: 268px;
		margin-left: 10px;
	}
		aside article {
			margin-bottom: 20px;
			border: 1px solid #ccc;
			-moz-box-shadow: 0 0 3px #ccc;
			-webkit-box-shadow: 0 0 3px #ccc;
		}
			aside article hgroup {
				display: block;
				background-color: #ececec;
				padding: 5px;
			}
			aside article h3 {
				line-height: 1.7em;
			}
			aside article div {
				padding: 10px 10px 0 10px;
			}
			aside article ul { list-style: disc; padding-left: 20px; }
/*-------Forms----------*/
	.css-form { padding: 20px 0; display: block; width: 419px; }
		.css-form label {
			width: 100px;
			float: left;
			text-align: right;
			padding: 3px 5px 0 0;
			font-weight: bold;
		}
		.css-form input[type=text] { width: 200px; }
		.css-form textarea { width: 300px; }
		.css-form input[type=submit] { float: right; }
		
	label { display: block; }
		label.error {
			color: #cc0000;
			font-weight: normal;
			margin: 0 0 5px 110px;
			text-align: left;
			width: 300px;
			}
	input {
		border: 2px solid #ccc;
		color: #333;
		padding: 3px 5px;
	}
		input.error, textarea.error { border: 2px solid #cc0000; }
		input[type=text] {
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			border-radius: 3px;
		}
	textarea {
		font-family: Arial, Helvetica;
		font-size: 0.9em;
		line-height: 1.4em;
		border: 2px solid #ccc;
		color: #333;
		padding: 3px 5px;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}
	
/*-------Buttons----------*/
	.button {
		background: #cc0000;
		background: -moz-linear-gradient(center top , #ee0000, #cc0000);
		background: -webkit-gradient(linear, center top, center bottom, from(#ee0000), to(#cc0000));
		border: 1px solid #990000;
		color: #fff;
		font-weight: bold;
		font-size: 0.9em;
		text-decoration: none;
		padding: 7px 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}
	.button.big {
		padding: 10px;
	}
	.button:hover {
		background: #bb0011;
	}
		#registration { width: 210px; margin: 20px auto 10px auto; display: block; text-align: center; }
/*-------Footer----------*/
footer { 
	clear: both;
	background-color: #252524;
	border-top: 2px solid #222;
	color: white;
	margin: 0 auto;
}
	footer > div { 
		width: 920px;
		margin: 0 auto;
		padding: 20px 0;
		color: #777;
	}
	footer p {
		font-size: 11px;
	}
	footer #footer li {
		font-size: 11px;
		list-style: none;
		float: left;
		display: block;
	}
		footer li a {
			display: block;
			float: left;
			padding: 0 5px;
			color: #777;
		}
		footer li a:hover { color: #efefef; }
	#copyright { float: right; text-align: right; padding: 0;}
/*-------Common Classes----------*/
.left {	float: left; }
.right { float: right; }