﻿/* 
Title:   Raymek Surveyors stylesheet for screen media
Author:  EJT Studios Ltd, www.ejtstudios.com
Updated: 02 July 2007
*/
body {
	margin: 0; 
	padding: 0;
	background-color: #f7ead9;
	font: 80% Verdana, "Lucida Grande", Verdana, sans-serif;
	line-height: 1.6em;
	color: #555;
	text-align: center;
	border-top: solid 7px #000;
}
.hide { 
	height: 0;
	width: 0;
	overflow: hidden;
	position: absolute;  /* for the benefit of IE5 Mac */
}
a:link, a:visited {
	color: #167cbd;
	text-decoration: none;
	padding-bottom: 1px;
	border-bottom: solid 1px #ccd;
}
a:hover {
	padding-bottom: 0;
	color: #0000a6;
	border-bottom-width: 2px;
}
.clearing { clear: both; }

/* Header
-------------------------------------- */
#header {
	background: #5f0e08 url(/images/headerbg.gif) top left repeat-x;
}
#headercontent {
	padding-top: 25px;
	margin: 0 auto;
	width: 730px;
	height: 89px;
	text-align: left;
}
#headercontent #logo, #headercontent #tel {
	margin: 0;
	display: block;
	padding: 0;
	border-style: none;
}
#headercontent #logo {
	float: left;
	width: 278px;
	height: 62px;
	background: url(/images/logo.gif) no-repeat;
}
#headercontent #tel {
	float: right;
	width: 157px;
	height: 24px;
	background: url(/images/tel.gif) no-repeat;
}
#headercontent img {
	display: block;
	width: 0;
	text-indent: -9999px;
}

/* Nav
-------------------------------------- */
#nav {
	padding: 0;
	margin: 0;
	background: #5f0e08 url(/images/navbg.gif) bottom left repeat-x;
}
#nav ul {
	width: 730px;
	height: 34px;
	padding: 0;
	margin: 0 auto;
	background: #921b16 url(/images/navoff.gif) repeat-x;
}
#nav li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	border-right: solid 1px #5f0e08;
}
#nav a {
	float: left;
	display: block;
	height: 34px;
	padding: 0 20px;
	margin: 0;
	border: none;
	text-decoration: none;
	font: 110% Arial, Hevletica, sans-serif;
	color: #fff;
	line-height: 34px;
}
#nav a:hover {
	background: #a94a46 url(/images/navhover.gif) repeat-x;
}
body#home #n-home a, body#home #n-home a:hover, 
body#aboutus #n-aboutus a, body#aboutus #n-aboutus a:hover, 
body#services #n-services a, body#services #n-services a:hover, 
body#contactus #n-contactus a, body#contactus #n-contactus a:hover {
	border-top: solid 1px #fff;
	height: 33px;
	background-image: none;
  background-color: #f9efe3;
  color: #5f0e08;
}

/* Main Body
-------------------------------------- */
#mainbody {
	background: #fff url(/images/main-bodybg.gif) top left repeat-x;
	padding: 0;
	margin: 0;
}
#mainbodycontent {
	margin: 0 auto;
	padding: 0 0 0 7px;
	width: 737px;
	text-align: left;
}

/* Content
-------------------------------------- */
#content {
	float: left;
	margin: 5px 0 0 0;
	padding: 0;
}
#content a {
	white-space: nowrap;
}
#content p {
	margin: 0 0 1.5em 0;
	padding: 0;
}
#content img {
	border: none;
	padding: 0;
	margin: 0;
}
#content h2 {
	margin: 30px 0 0.8em 0;
	padding: 0;
	font: normal 200% "Century Gothic","Trebuchet MS", sans-serif;
	letter-spacing: -0.04em;
	color: #5f0e08;
}

/* Sidebar
-------------------------------------- */
#sidebar {
	float: right;
	text-align: left;
	margin: 35px 0 0 0;
	padding: 0;
	font-size: 90%;
}
#sidebar a {
	white-space: nowrap;
}
#sidebar img {
	margin: 0;
	padding: 0;
}
#sidebar p {
	margin: 0 0 1.5em 0;
	padding: 0;
}
#sidebar h2 {
	font: normal 130% Verdana, "Lucida Grande", Verdana, sans-serif;
	margin: 25px 0 0.7em 0;
	padding: 0;
	color: #5f0e08;
}
#sidebar address {
	font-style: normal;
}

/* Forms
-------------------------------------- */
form {
	margin: 0;
	padding: 0;
}
form label {
	font-size: 90%;
}
form .text, form .textarea {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	padding: 2px;
	border: 1px solid #ccd;
	background-color: #eee;
	color: #444;
}
form .text {
	width: 250px;
}
form .textarea {
	width: 400px;
}
form .error {
	color: #e44;
	font-size: 90%;
	background: url(/images/stop16.gif) 0 1px no-repeat;
	padding: 2px 0 2px 17px;
}


/* Footer
-------------------------------------- */
#footer {
	clear: both;
	padding: 90px 0 0 0;
	margin: 0;
	background: #f7ead9 url(/images/footerbg.gif) top left repeat-x;
	height: 100%;
}
#footercontent {
	width: 730px;
	margin: 0 auto;
	padding: 0 0 20px;
	background-color: #f7ead9;
	color: #555;
	font-size: 85%;
	text-align: left;
}
#footercontent p {
	margin: 0;
	padding: 0;
}

/* Homepage
-------------------------------------- */
#home #content {
	width: 456px;
}

/* About Us
-------------------------------------- */
#aboutus #content {
	width: 346px;
}

/* Services
-------------------------------------- */
#services #content {
	width: 352px;
}

/* Contact Us
-------------------------------------- */
#contactus #sidebar {
	margin: 20px 7px 0 0;
	width: 200px;
}