body {
	font-family: sans-serif;
	padding: 0; margin: 0;
	text-align: center;
	height: 100%;
}
html { height: 100%; }
p, h1 {
	margin-top: 0; 
}
#topimage h1 {
	color: white;
	text-shadow: black 0.1em 0.1em 0.2em;
	text-align: right;
	line-height: 150%;
	margin-right: 20px;
}
#topimage h2 {
	color: white;
	text-shadow: black 0.1em 0.1em 0.2em;
	text-align: right;
	line-height: 150%;
	margin-right: 20px;
	font-weight: bold;
	font-style: italic;
	position: absolute;
	bottom: 0;
	right: 0;
}
#contacts {
	font-size: 70%;
	text-align: right;
	color: white;
	text-shadow: black 0.2em 0.2em 0.4em;
	position: absolute;
	bottom: 0;
	right: 0;
	padding-right: 20px;
}
td {
	padding-right: 8px;
	font-size: 80%;
}
p.address { text-align: center; }
div#topimage {
	position: relative;
	height: 200px;
	background-image: url("header_images/tractor.jpg");
}
div#topimage.straw { background-image: url("header_images/straw.jpg"); }
div#topimage.lime { background-image: url("header_images/lime&fert.jpg"); }
div#topimage.bio_solids { background-image: url("header_images/bio_solids.jpg"); }
div#topimage.logistics { background-image: url("header_images/logistics.jpg"); }
div#topimage.green_waste { background-image: url("header_images/green.jpg"); }
div#topimage.civil_engineering { background-image: url("header_images/civil.jpg"); }

div#container {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 800px;
	min-height: 100%;
	background-image: url("images/gradient.png");
	background-repeat: repeat-y;
}
ul#menu {
	font-family: sans-serif;
	font-size: 80%;
	padding-left: 0;
	float: left;
	margin-top: 0; 
	padding-top: 20px;
}
ul#menu li {
	display: block;
	width: 150px;
	text-align: right;
	position: relative;
}
ul#menu li:hover {
	background-color: #9ecdca;
}
ul#menu li.selected {
	color: black;
	text-shadow: black 0.1em 0.1em 0.2em white;
	font-weight: bold;
	background-image: url("images/gradient2.png");
	background-repeat: repeat-y;
}
ul#menu li a, ul#menu li span {
	display: block;
	height: 2.5em;
	padding: 4px;
	padding-top: 1em;
}
div#content {
	text-align: justify;
	line-height: 150%;
	margin-left: 170px;
	margin-right: 0px;
	padding-top: 20px;
	padding-bottom: 60px;
}
div#footer {
	position: absolute;
	bottom: 0;
	font-size: 60%;
	width: 100%;
	text-align: center;
	background-color: #9ecdca;
	padding: 1em 0 1em 0;
 
}
a {
	color: red;
	text-decoration: none;
}
#content a:hover {
	text-shadow: 0.1em 0.1em 0.2em black;
	text-decoration: underline;
}
ul.gallery {
    position: relative;
    padding-left: 0; 
    display: block; 
    width: 100%;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}
ul.gallery li {
    list-style-type: none;
    display: inline;
    margin-left: 0;
}
h3 {
    text-align: center;
    font-size: 100%;
}
hr {
    width: 60%;
    color: red;
}
