
/*// North East Scotland LBAP
// site wide navigation file
// /css/nesbiodiversity.css
// Andrew Thorburn January 2009*/

/* CSS Document */
@charset "utf-8";
body  {
	font: 100% Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
.twoColFixLtHdr #container { 
	width: 730px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 0px solid #FFFFFF;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
.twoColFixLtHdr #header { 
/*	background: #DDDDDD; */
	padding: 0px 0px 0px 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
} 
.twoColFixLtHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 0px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.twoColFixLtHdr #nav_bar {
	float: left; /* since this element is floated, a width must be given */
	width: 150px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	/*background: #EBEBEB;*/ /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 5px 0px 5px 0px;
}
.twoColFixLtHdr #mainContent { 
	margin: 0 0 0 150px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 0 10px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
.twoColFixLtHdr #footer {
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	/*	background:#336633;*/
	color: #000000;
	border-top: solid #336633 2px;
} 
.twoColFixLtHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

/* Start of Left Hand Navigation styles*/
#nav_bar {
	width: 140;
	padding-left:5px;
	padding-right:5px;}
	
#nav_bar ul {
	margin: 0;
	padding: 0px;
	list-style: none;}

#nav_bar ul li {
	margin: 0;
	font-size: 0.9em;
	position: relative;
	list-style: none;
	border: 1px solid #ffffff;
	padding: 5px 5px 5px 5px;
	text-decoration: none;
	background-color: #336633;
	color: #ffffff;
}
#nav_bar ul li a:link, #nav_bar ul li a:visited {
	text-decoration: none;
	color: #ffffff;
}
#nav_bar ul li a:hover {
	text-decoration: none;
	color:#000000;
}
/* End of Left Hand Navigation styles*/
/* Start of hyperlink Formatting */
/* from http://www.kryogenix.org/days/2002/08/30/external */
a[href^="http:"] {
        background: url(/images/external_link.png) right center no-repeat;
        padding-right: 15px;}

/*div.information a[href^="mailto:"] {
        background: url(/images/email_envelope.gif) right center no-repeat;
        padding-right: 15px;} */	

a[href$=".pdf"] {		
        background: url(/images/pdf.gif) right center no-repeat;
        padding-right: 15px;}

a[href$=".doc"] {		
        background: url(/images/hyperlink_word.gif) right center no-repeat;
        padding-right: 15px;}

a[href$=".dot"] {		
        background: url(/images/hyperlink_word.gif) right center no-repeat;
        padding-right: 15px;}

a[href$=".xls"] {
        background: url(/images/hyperlink_excel.gif) right center no-repeat;
        padding-right: 15px;}

a[href$=".xlt"] {
        background: url(/images/hyperlink_excel.gif) right center no-repeat;
        padding-right: 15px;}

a[href$=".ppt"] {
        background: url(/images/hyperlink_powerpoint.gif) right center no-repeat;
        padding-right: 15px;}
/* End of hyperlink Formatting */

/* Formatting of the 2nd level heading for each page */
.pagetitle {
	/*color: #669966;*/
	color: #336633;
}