/* I Do, I Do Stylesheet */
/* Global Styles */

*{ 
margin:0; /*removes margin and padding from all elements, very important when working with lists since different browsers use different defaults*/ 
padding:0; /* note this removes margin and padding from body too */
} 

/* --------------------------------- General Display --------------------------------*/

body{
	background:#171717 url(../images/background.gif); /* background gradient with colour for below image set darkest gradient*/
	font-family:"Trebuchet MS", Helvetica, Arial, sans-serif; /* default font family to be inherited for all text including alt tags */
	font-size:11px; /* default font size for all text */
}

h1{
	color: #7D0119;
}

h2{
	font-size: 22px;
}
h3{
	font-family:"Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size:16px;
}

h4, h5 {
	margin: 0px 0px 10px 0px;
	color: #7D0119;
}

h4 {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	font-weight: normal;
}

h5 {
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 13px;
	letter-spacing: -.05em;
	line-height: 1.5em;
} 

p{
	font-family:Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin-bottom: 10px;
	line-height: 16px;
}

a {
	color: #7D0119;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #7D0119;
	cursor: pointer;
}

a:hover {
	color: #333333;
	border-bottom-color: #333333;
}

#bottom_menu a {
	border-bottom-style: none;
}

.grey a{
	color:#666666;
	}

ol {
	padding-left: 15px;
	list-style-position: outside;
}


/* -------------------------------- General Structure -------------------------------*/

#container {
	position:absolute;
	width: 801px; /* width of page content image */
	margin-left:-400px; left:50%; /* centres */
	background:#E6DEC6 url(../images/page_background.gif) repeat-y; /* main page content with edge effect, colour set to use if images off */
}

/* ----------------------------- Banner: Logo and Seal -----------------------------*/

#banner{
	width:801px;
	height:159px;
	background:right url(../images/seal.gif) no-repeat; /* logo in content, seal image in top right */
	text-align:left; /* for the logo and alt text */
	line-height:159px; /* vertical centring of alt text when images are turned off */
}

/* ------------------------------------- Menu -------------------------------------*/

#menupadleft{
	background-image:url(../images/menu_left.gif);
	float:left;
	width:40px;
	height:34px;
}

#menubar{
	float:left;
	width:728px; /*width is necessary for the float*/ 
	height:34px;
	overflow: hidden;
	position:relative;
/*	background-color: #000; /* menu background colour if images are turned off */
	z-index:3; /* firefox needs this to position menu bar over the top of later content allowing links to work*/
}

#menubar ul{ 
	list-style-type:none; /*removes bullets from the list*/ 
	text-align:center; /*aligns the text to what should end up as the center of each graphical button*/
} 
#menubar ul li{ 
	display:inline; /*extra step to get IE to display link list horizontally*/ 

} 
#menubar ul li a{
	display:block; /*makes the anchor fill the list item so clicking any part of the graphical button will work, also allows the anchor to take a width*/
	float:left; /*the key to making the list horizontal*/
	line-height:34px; /*set equal to the height of the navbar image. Using line-height, rather than height, will get the text aligned to the vertical centre of the button*/
	font-size:120%;
	font-weight:bold;
	color:#7D0119;	/* colour for link text if images are turned off */
	text-decoration:underline; /* stop text link underlining if images are turned off */
	border-bottom-style: none; /* tidy up later */
} 
#menubar ul li a span {
	position:relative;
	left:0px;
	top:-34px;
	display:block;
	height:34px;
	background-repeat: no-repeat;
	background-position:0 0;
	overflow:hidden;
}

/* Set width and image on each span (if all equal set individual width on anchor instead.
Make sure the combined width doesn't exceed the total width of the menu bar */

#menubar ul li a span#menu_home{
	background-image:url(../images/menu_home.gif);
	width:81px;
}
#menubar ul li a span#menu_about{
	width:115px;
	background-image:url(../images/menu_aboutus.gif);
}
#menubar ul li a span#menu_services{
	width:144px;
	background-image:url(../images/menu_services.gif);
}
#menubar ul li a span#menu_case{
	width:149px;
	background-image:url(../images/menu_case_studies.gif);
}
#menubar ul li a span#menu_articles{
	width:113px;
	background-image:url(../images/menu_articles.gif);
}
#menubar ul li a span#menu_contact{
	width:126px;
	background-image:url(../images/menu_contact.gif);
}

#menubar ul li a:link span, #navbar ul li a:visited span{ background-position: 0 0;} /* image in base position */
#menubar ul li a:hover span, #navbar ul li a:focus span, #navbar ul li a:active span { background-position: 0 -34px;} /* shift image up to selected position */
#menubar ul li a:hover, #navbar ul li a:focus, #navbar ul li a:active {color: #FFF;} /* selected text colour*/

#menupadright{
	background-image:url(../images/menu_right.gif);
	float:left;
	width:33px;
	height:34px;
}

/* --------------------------------- Line divider ---------------------------------*/

.line{
	background-image: url(../images/line.gif);
	background-repeat: no-repeat;
	height: 7px; width: 456px;	
}

hr {display:none;} /* Only display the horizontal rules if CSS is turned off */

/* --------------------------------- Main Content ---------------------------------*/

#content{
	position:relative;
	width:801px;
	z-index:2; /* positions content over the top of the scroll image from the footer */
}

/* ------------------------------------ Footer ------------------------------------*/

#footer{
	position:absolute;
	clear: both;
	z-index:1;
	top:93%; /* position the footer so that the scroll image is moved up behind the content */
/*	Note: bottom:-60px; does not work in Opera. Opera does not seem to include footer in calculation of container height */
	background:#E6DEC6 url(../images/page_background.gif) repeat-y; /* main page content with edge effect, colour set to use if images off */
}

#footerscroll{
	z-index:1; /* position the scroll image behind the content */
	width:255px; height:55px; 
	background-image:url(../images/scroll_bottom.gif);
}

#phone{
	line-height:60px; /* put text alternative in the centre of the space*/
}

#phoneimage{
	display:block; /* define the space for the phone number image */
	width:801px;
	height:60px;
}

#bottom_menu {
	position: absolute;
	top: 85px;
	right: 70px;
	width: 400px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: right;	
}

.grey {
	color: #666666;
	font-size: 11px;
}


