/* $Id: layout.css, v1.3 2009-05-22 16:35 JJS $ */

/**
 * This layout method works reasonably well, but it can break. 
 * For example, if an over-large image (one that is wider than 20% 
 * of the viewport) is in a sidebar, the entire #main content can
 * shift completely below the sidebar. 
 */

html {
	overflow-y: scroll;
}

body {
	margin: 10px;
	margin-bottom: 15px;
	padding: 0px;
}

body.one-sidebar #main {
	width: 80%;
}

body.two-sidebars #main {
	width: 60%;
}

#page {
	width: 100%;
	max-width: 1020px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #dedede;
	background: #111111;
}

#header {
	height: 70px;
	width: 100%;
	max-width: 1024px;
	background-color: #111111;
	background-image: url('sheep-spacing.gif');
	background-repeat: no-repeat;
	background-position: right;
}

#logo-title {
	float: left;
	position: relative;
	top: 10px;
	left: 10px;
}

#search-box {
	float: right;
	position: relative;
	top: 20px;
	right: 70px;
}

#container {
	padding: 0px 10px 10px 10px;
}

#navigation {
	background: #ffa32c;
}

#sidebar-left,
#main,
#sidebar-right {
	margin-top: 10px;
	position: relative;
	float: left;
	display: inline;
}

#sidebar-left,
#sidebar-right {
	width: 20%;
}

.block {
	border-bottom: solid 10px #111111;
}

#main-squeeze {
	margin: 0 0 0 5px;
}

#content {
	background: #ffffff;
}

#footer {
	position: relative;
	width: 420px;
	margin: 0 auto;
	height: 30px;
}

#footer-text {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 460px;
	text-align: center;
}

#footer-logo {
	position: absolute;
	right: 0px;
	top: -1px;
	width: 64px;
	text-align: right;
}
