/*
Theme Name: Innovation Farm Theme
Description: The default theme developed for the Innovation Farm website
Author: Stuart Green
*/

html, body {
	height: 100%;
}

body {
	background-color: #d4dce5;
	font-family:  Helvetica, Arial, sans-serif;
	text-align: center; /* Needed so IE 6 will centre the div */
	font-size: 80%; /* http://www.alistapart.com/articles/howtosizetextincss/ */
	color: #424242;
}

img.alignright {
	float: right;
	margin-bottom: 11px;
	margin-left: 11px;
}

span.wpcf7-not-valid-tip-no-ajax {
	color: red;
}

div.wpcf7-validation-errors {
	color: red;
	padding: 10px;
	border: 1px solid red;
	background-color: #ffd4d4;
}

div.wpcf7-mail-sent-ok {
	padding: 10px;
	background-color: #d4f1d4;
	color: #256824;
	border: 1px solid #256824;
}

img.alignleft {
	float: left;
	margin-bottom: 11px;
	margin-right: 11px;
}

div#page-container {
	min-height: 100%;
	text-align: left; /* Cancel the hackish text align */
	margin: 0px auto;
	width: 875px;
	background-image: url('images/bg.png');
	background-repeat: repeat-y;
	padding-left: 25px;
	padding-right: 25px;
	display: inline-block; /* Ensures the div contains all content in Chrome/Firefox */
}

/* 
Target IE 6 which doesn't support min-height
http://www.dave-woods.co.uk/index.php/100-height-layout-using-css/ 
*/
* html div#page-container {
	height: 100%;
}

h1#header-image {
	text-indent: -10000px; /* We want text for SEO, but don't wish to see it */
	width: 875px;
	height: 139px;
	background-image: url('images/header.jpg');
	background-repeat: no-repeat;
	float: left;
}

div#link-bar {
	background-image: url('images/bar.png');
	background-repeat: repeat-y;
	display: inline-block;
	width: 100%;
	margin-top: -1px;
}

div#content {
	padding-top:22px;
	padding-bottom: 22px;
	padding-left: 48px;
	padding-right: 48px;
}

div#content-left {
	float: left;
	width: 564px;
}

div#content-right {
	float: right;
	width: 189px;
}

div#main {
	border: 1px solid #b9c5d5;
	padding: 22px;
}

div.facilities, div.challenges {
	border-bottom: 0px !important;
}

div#challenges-img {
	width: 564px;
	height: 236px;
	background-image: url('images/facilities.jpg');
	background-repeat: no-repeat;
	float: left;
}

div#facilities-img {
	width: 564px;
	height: 142px;
	background-image: url('images/facilities2.jpg');
	background-repeat: no-repeat;
	float: left;
}

p#copyright {
	font-size: 0.7em;
	margin-top: 1em;
	color: #a3a7ad;
	padding-bottom: 22px;
	float: left;
}

div.right-box {
	border: 1px solid #b9c5d5;
	padding: 18px;
	margin-bottom: 18px;
}

div.right-box h2 {
	color: #004990;
	font-weight: bold;
	font-size: 1.3em;
	padding-top: 18px;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

div.right-box h3 {
	color: #004990;
	font-weight: bold;
	font-size: 1.2em;
	padding-bottom: 18px;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

div.right-box p {
	padding-top: 18px;
	padding-bottom: 18px;
	border-bottom: 1px dotted #424242;
	line-height: 1.6em;
}

div.right-box p#last {
	padding-bottom: 0px; 
	border-bottom: 0px;
}

div.right-box a, div#main a {
	text-decoration: none;
	color: #2f73b8;
}

div.right-box a:hover, div#main a:hover {
	text-decoration: underline;
}

div#main p {
	line-height: 1.6em;
	margin-bottom: 1.6em;
}

legend {
	display: none;
}

div#main h1, div#main h2, div#main h3 {
	color: #004990;
	font-weight: bold;
	margin-bottom: 1.6em;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

div#main h1 {
	font-size: 1.4em;
}

div#main h2 {
	font-size: 1.2em;
}

div#main h3 {
	font-size: 1.1em;
}

div#main ul {
	margin-left: 25px;
	margin-bottom: 1.6em;
}

div#main ul ul {
	margin-bottom: 0px;
}

div#main li {
	line-height: 1.6em;
	list-style-type: disc;
}

div#main li li {
	margin-left: 15px;
}


div#main strong {
	font-weight: bold;
}

div#search-form {
	width: 151px;
	height: 22px;
	background-image: url('images/search.png');
	background-repeat: no-repeat;
	padding-bottom: 18px;
	border-bottom: 1px dotted #424242;
}

	input#search {
		float: left;
		border: 0px;
		width: 103px;
		height: 18px;
		margin-top: 1px;
		margin-left: 10px;
		background-color: transparent;
		/* 
		IE won't let you click the box using background: transparent, so use this as well
		http://stackoverflow.com/questions/2098714/input-boxes-with-transparent-background-are-not-clickable-in-ie8
		*/
		background-image: url('images/transparent.gif'); 
		background-repeat: repeat;
	}

table.wp-table-reloaded td, table.wp-table-reloaded th {
	padding: 5px;
	border: 1px solid #cedbe4;
	line-height: 1.6em;
	font-size: 0.9em;
	vertical-align: middle;
}
table.wp-table-reloaded tr.odd td {
	background-color: #e9eff4
}
table.wp-table-reloaded th {
	background-color: #cedbe4;
	font-weight: bold;
	text-align: center;
}

table.wp-table-reloaded {
	margin-bottom: 1em;
}

/* Specific for exhibits table */
table.wp-table-reloaded-id-5 th.column-2 {
	width: 105px;
}

table.wp-table-reloaded-id-5 td.column-1 {
	font-weight: bold;
}
table.wp-table-reloaded-id-5 td.column-2 {
	text-align: center;
}

span.wpcf7-list-item {
	display:block;
	margin-bottom: 5px;
}