/*Common CSS attributed for all areas of Project 52*/

/*Body layout and colours*/

body {
	background-color: #fff;
	color: #000;
	margin: 15px;
}

body, p, ol, ul, td {
  font: 1em / 1 garamond, georgia, serif;
}

a {
	font-weight: bold;
	text-decoration: none;
	color: #333;
}

a:hover {
	color: #888;
	text-decoration: underline;
}

a img {
	border: none;
}

.imagesubmit {
	background: none;
	border: none;
}

/*ActiveRecord notice and errors*/

#errorExplanation {
	width: 100%;
	border: double #587a20;
	padding: 0.5em;
}

.flash {
	color: #587a20;
}

/*Fundamental Page Layout Stuff*/
#header {
	height: 105px;
	float: left;
	width: 100%;
}

#pagecontainer {
	position: relative;
	width: 100%;
	float: right;
	background: url(../images/dots.gif) top left repeat-x;
}

#maincontent {
	margin: -1em 0 0 220px;
	padding: 10px 20px 10px 0;
	line-height: 1.1;
}

#sidebar {
	position: relative;
	float: left;
	width: 200px;
	margin-top: 1px;
}

#links {
	margin: 0;
	list-style: none;
	padding: 0px 0 5px 0;
	min-height: 130px;
}

#footer {
	width: 100%;
	clear: both;
	padding: 5px 0 0 0;
	background: url(../images/dots.gif) 0 5px repeat-x;
}

/*Formatting for the header*/
#header img {
	float: left;
}

#loginstatus {
	float: right;
	margin-top: -1em;
	padding: 0.25em;
}

#loginstatus h1 {
	margin-bottom: 0.25em;
}

/*Formatting for the links on the left*/
#links li {
	margin: 0.5em 0 0 0;
}

#links {
	color: #ccc;
	font-weight: bold;
}

#footerlink {
	font-size: 0.7em;
	background: url(../images/dots.gif) top left repeat-x;
	padding-top: 1px;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
}

#footerlink a {
	color: #587a20;
}

#footerlink div {
	width: 100%;
	height: 66px;
	background: url(/images/feet.gif) top right no-repeat;
	font-size: 1.4em;
	padding: 1px;
	margin-bottom: 1em;
}

#footerlink a.left {
	width: 60px;
	float: left;
	text-align: left;
	display: block;
	clear: left;
}

#footerlink a.right {
	float: left;
	text-align: left;
	display: block;

}

#footerlink h1 {
	margin: 0.5em 0;
}

#footerlink h1 a {
	color: #333;
}

#sidebar small {

}

/*Formatting for the default main content
#defaultmaincontent img {
	margin: 0 auto;
}*/

#defaultmaincontent {
	height: 300px;
	background: url(/images/overlay.png) top left no-repeat;
}

/* formatting for the subcontent*/
#subcontent {
	position: relative;
	line-height: 0.9;
}

#subcontent h2 {
	margin-bottom: 0.75em;
}


.flickr_badge_image {
	padding: 10px;
	float: left;
}

.flickr_badge_image img {
	border: none;
}

/*table and form bits*/

input, textarea, select {
	font: 1em garamond, georgia, serif;
	background: transparent;
	border: 1px solid #ccc;
	padding: 0.25em;

}

table, tr, td {
border: 1px solid #999;
border-collapse: collapse;
}

td {
padding: 0.5em;
}

table form {
	display: inline;
}

/*Form bits*/
form {
	margin: 0;
	padding: 0;
}

.formrow {
	padding: 1em;
	width: 100%;
}

.formrow label {
	float: left;
	text-align: right;
	width: 37%;
	font-weight: bold;
	margin-right: 0.5em;
}

.formrow input, .formrow textarea, .formrow select {
	float: right;
	width: 58%;
}

.formrow div.fieldWithErrors input, .formrow div.fieldWithErrors textarea, .formrow div.fieldWithErrors select {
	float: right;
	width: 58%;
	background: #587a20;
	color: #fff;
}

.formrow textarea {
	height: 6em;
}

.formrow div.fieldWithErrors textarea {
	height: 6em;
	background: #587a20;
	color: #fff;
}

.forminfo {	
	display: block;
	font-weight: bold;
	font-size: 0.9em;
	margin-top: 0.5em;
}

.clearing {
	clear: both;
}

input.narrow, .formrow select {
	width: auto;
	float: left;
	margin-left: 0.5em;
	clear: right;
}

/*Form divs with a class 'form' all contain forms*/

.form {
	width: 65%;
}

/* FAQ Section formatting */
#faqs {
	margin: 0 auto;
	list-style: none;
	width: 70%;
}

#faqs li {
	margin: 1em 0 2em 0;
}

#faqs h3 {
	margin-bottom: 0;
	font-style: italic;
	font-weight: normal;
}

#faqs p {
	margin-top: 0.5em;
}

/*formatting for login form*/
#loginform {
	width: 65%;
}

/*formatting for shane's signature*/
#signature {
	float: right;
	/*margin-top: -57px;*/
}

/*Formatting for pagination divs (which always float right)*/
.pagination {
	float: right;
	font-weight: bold;
}

#player {
	float: right;
	margin: 35px 100px 0 0;
}
