/*

	********************
	**   LAYOUT.CSS   **
	********************

Author: mohawktopus!
Client: Calvary Christian School
Date: February 2009

Code is poetry, (5)
and CSS is haiku. (7)
Please don't steal either. (5)

*/

html, body {
	margin: 0;
	background: #798483 url(../img/tiling/content.bg.jpg);
}

body {
	margin: 0;
	font-size: 62.5%;
	font-family: "gill sans";
}

/* Divs */

#headerwrapper {
	width: 100%;
	background: #2F221A url(../img/tiling/header.bg.jpg) center top repeat-x;
	overflow: none;
}
#navwrapper {
	width: 100%;
	background: #CCCCCC url(../img/tiling/navbar.bg.jpg) repeat-x;
	overflow: none;
}


#header {
	background-position: left bottom;
	background-repeat: no-repeat;
	background-image: url(../img/top.squiggle.gif);
	width: 780px;
	margin: 0 auto;
}

#navbar {
	width: 780px;
	height: 64px;
	margin: 0 auto;
}
ul#nav {
	list-style: none;
	float: right;
	padding: 0px;
	height: 64px;
	margin: 0 0 0 270px;
}
ul#nav li {
	border-right-color: #fff;
	border-right-style: dotted;
	border-right-width: 1px;
	padding-right: 1em;
	margin-left: 0;
	margin-bottom: 2.1em;
	margin-right: 1em;
	margin-top: 1.8em;
	float: left;
}
ul#nav li a {
	display: block;
	background-position: 0px center;
	background-repeat: no-repeat;
	font-size: 1.8em;
}


#wrapper {
	overflow: auto;
	margin-top: 150px;
	width: 780px;
	margin: 0 auto;
}
#content {
	width: 510px;
	float: right;
}
#content p {
}

#sidebar {
	width: 270px;
	float: left;
	background: url(../img/bottom.squiggle.gif) no-repeat center top;
	padding-top: 100px;
}
#footer {
	width: 780px;
	margin: 60px  auto 0;
	clear: both;
}
#footer p {
	padding-left: 20px;
	padding-bottom: 10px;
	padding-right: 20px;
	padding-top: 10px;
	float: right;
	background: #1c242f url(../img/tiling/footer.bg.jpg);
	font-size: 1.1em;
	color: #dcedff;
	width: 490px;
	text-align: right;
	line-height: 1.5em;
	position: relative;
	right: -10px;
	margin: 0px;
}
#footer p a {
	color: #FFFFFF;
}
ul#nav li a:hover {
	background-repeat: repeat-x;
	background-position: center top;
	background-image: url(../img/nav/ccs.hover.gif);
}
#footer img {
	margin-top: 7px;
	float: left;
}


