html {
border: 0;
margin: 0;
padding: 0 0 0 2%;
background: #e0e1dc url(img/bodyback.gif) no-repeat;
}
body {
border: 0;
margin: 0;
padding: 10px 10px 10px 0;
font-size: 0.9em; 
font-family: "Bookman Old Style", "Times New Roman", Times, Helvetica, Arial, sans-serif;
}
form, fieldset { border: 0; margin: 0; padding: 0; }
a { text-decoration: none; margin: 0; padding: 0; outline: none; }
a:link, a:visited { color: #30f; }
a:hover, a:active { color: #f00; text-decoration: none; }
a img { border: 0; margin: 0; }

/* ---- Typography ------ */
.bold, .company, span.price { font-weight: bold; }

kbd { font-weight: bold; }

h1, h2, h3, h4, h5, h6 {
font-family: "Gill Sans MT", Helvetica, Arial, sans-serif;
font-weight: normal;
margin-top: 3px;
margin-bottom: 3px;
}
h1 {
color: #ef746c;
border-bottom: 2px dotted #6085cb;
padding-top: 40px;
}
h2, h3 {
padding-top: 10px;
font-size: 1.4em;
color: #006;
border-bottom: 1px dotted #6085cb;
}
h4 {
padding-top: 10px;
font-size: 1.2em;
color: #006;
}
input, textarea, em { font-family: helvetica, arial, san-serif; }
ol, ul, pre, blockquote {
margin-top: 5px;
margin-bottom: 5px;
}
blockquote { font: 1.1em helvetica, arial, san-serif; }

/* standard helper classes */

.hide { display: none; margin: 0; height: 0; width: 0; overflow: hidden; position: absolute;  /* for the benefit of IE5 Mac */ }
.alt { display: none; }

.clearing { clear: both; }
.float-left { position: relative; float: left; }
.float-right { position: relative; float: right; }

.clearfix:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


/*  ----- Main layout sections ----- */

#wraphome {
border: 0;
margin: 0;
padding: 0;
width: 780px;
}
#header {
border: 0;
margin: 0;
padding: 0;
height: 95px;
background: url(img/pagebodyback.gif) 0 20px no-repeat;
float: left;
left: -14px;
position: relative;
width: 780px;
}
#pagebody {
margin: 0;
border: 0;
padding: 0;
background: #fff;
float: left;
position: relative;
width: 752px;
}
#sidebar {
float: left;
position: relative;
height: 100%;
width: 160px;
border: 0;
top: -50px;
z-index: 2;
}
#maincontent {
float: left;
position: relative;
top: -50px;
width: 580px;
border: 0;
} 
#maincontent p {
padding: 0;
color: #000;
}
#maincontent ul, ol {
border: 0;
margin: 0 0 0 10px;
padding: 2px 0px 10px 10px;
}
#maincontent li {
margin: 0;
padding: 2px 3px 2px 5px;
}

#footer {
border: 0;
padding: 30px 20px 20px 35px;
left: -14px;
position: relative;
background: url(img/footer.gif) 0 -7px no-repeat;
clear: both;
clear: both;
text-align: center;
font-family: helvetica, arial, san-serif;
}
#footer a {
color: #000;
}
#footer ul {
margin: 0 auto;
padding: 0 0 15px 0;
list-style: none;
font-size: 0.75em;
}
#footer ul li {
margin: 0;
padding: 5px 0 5px 30px;
position: relative;
float: left;
}

/* ------ page specific stuff ------ */

#home, #about, #contact, #sitemap, #events, #clients, #publications, #randd, #learning {
padding: 0 15px 20px 15px;
}

/* ---- Home page ----- */
#home, #sitemap, #events, #clients, #publications, #randd, #learning {
border: 0;
padding: 10px 10px 10px 30px;
}
div#homepage {
margin-top: 20px;
width: 520px;
height: 460px;
background: url(img/homeback.gif) 20px 0 no-repeat;
}

#home h2 {
font-size: 1.2em;
border: 1px solid #ef746c;
padding: 10px;
}

#breadcrumb {
color: #000;
padding: 2px 10px 3px 10px;
margin: 0 3px;
font-size: 0.7em;
display: none; margin: 0; height: 0; width: 0; overflow: hidden; position: absolute;
}
.link-box a, .link-box2 a {
float: left;
width: 250px;
height: 185px;
display: block;
}
.link-box2 a {
width: 500px;
height: 100px;
}
.link-box a span, .link-box2 a span {
display: none; margin: 0; height: 0; width: 0; overflow: hidden; position: absolute;
}

/* --- Comments ---- */

div.shadow {
margin: 20px 0;
background: #999;
width: 460px;
position: relative;
left: 20px;
}
div.comment {
background: #ff6;
padding: 0;
padding: 20px;

position: relative;
left: -3px;
top: -3px;
}
div.shadow div.comment p {
width: 420px;
margin-top: 0;
margin-bottom: 0;
}


/* ------  events ------- */

div#events div.event {
padding-bottom: 40px;
clear: both;
}

/* ------ Logo box ------- */

div#logo {
width: 160px;
text-align: center;
}


/* ------ Pic box ------- */

div.pic-box {
padding: 15px;
background: #fff;
}
div.pic-box p {
font-size: 0.75em;
text-align: center;
}

div.pic-box2 {
float: left;
position: relative;
padding: 0 15px 15px 0;
clear: both;
}


/* ------ cover box ------- */

.cover {
width: 270px;
float: left;
position: relative;
padding: 10px 0 25px 0;
}
.cover img {
}

div.cover a {
}


/* ------ Forms ------- */

form#OrderForm {
padding: 15px 0;
}

div.form-text, div.form-textbox, div.form-textarea, div.form-select, div.form-submit {
clear: both;
padding-bottom: 3px;
position: relative;
width: 100%;
float: left;
}

div.form-textbox label, div.form-textarea label, div.form-select label {
width: 150px;
float: left;
position: relative;
}

div.form-textbox input {
width: 280px;
float: left;
position: relative;
}
div.form-textarea textarea {
width: 280px;
float: left;
position: relative;
}
div.form-submit {
padding: 20px 0 0 0;
}
div.form-submit input {
background: #f30;
color: #fff;
}

span.required {
padding: 0 0 4px 24px;
background: url(img/required.gif) no-repeat;
}

/* ------ tabs ------- */


div#tabs {
width: 30px;
float: left;
position: relative;
margin-left: -5px;
padding-top: 100px;
z-index: 40;
display: none; margin: 0; height: 0; width: 0; overflow: hidden; position: absolute;
}
div#tabs span { display: none; margin: 0; height: 0; width: 0; overflow: hidden; position: absolute; }

.tab1 {
background: url(img/tab1.gif) no-repeat;
width: 30px;
height: 122px;
}
.tab2 {
background: url(img/tab_ov.gif) no-repeat;
width: 30px;
height: 122px;
}
.tab1 a, .tab2 a {
display: block;
text-decoration:none;
position:relative;
width: 30px;
height: 124px; 
}


/* ------ Nav ------ */
div#navbar {
padding: 0 0 0 10px;
font-size: 0.9em;
font-family: "Times New Roman", Times, Helvetica, Arial, sans-serif;
}
div#navbar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 150px; /* Width of Menu Items */
	border-bottom: 2px solid #fff;
	border-top: 1px solid #fff;
	}

div#navbar ul li {
	position: relative;
	}
	
div#navbar li ul {
	position: absolute;
	left: 149px; /* Set 1px less than menu width */
	top: 0;
	display: none;
	}

/* Styles for Menu Items */
div#navbar ul li a {
	display: block;
	text-decoration: none;
	color: #fff;
	background: #6085cb url(img/navback.gif) no-repeat; /* IE6 Bug */
	padding: 3px 5px 3px 15px;
	border: 1px solid #fff;
	border-right: 1px solid #000;
	border-left: 1px solid #fff;
	border-bottom: 0;
	}

/* Fix IE. Hide from IE Mac \*/
* html div#navbar ul li { float: left; height: 1%; }
* html div#navbar ul li a { height: 1%; }
/* End */

div#navbar ul li a:hover { color: #000; background: #6085cb url(img/navback.gif) 0 -42px no-repeat; } /* Hover Styles */
		
div#navbar li ul li a { padding: 3px 5px 3px 15px; } /* Sub Menu Styles */
		
div#navbar li:hover ul, div#navbar li.over ul { display: block; } /* The magic */

div#navbar ul li a.active {
background: #6085cb url(img/navback.gif) 0 -42px no-repeat;;
color: #000;
}
div#navbar ul li span {
font-weight: bold;
}

/* ----- Site Map 

kbd {
font: bold 100% Helvetica, Arial, sans-serif;
}

#sitemap ul {
padding: 2px 5px 4px 20px;
list-style: none;
margin-bottom: 0;
margin-top: 0;
}
#sitemap li {
padding: 3px 5px 5px 20px;
list-style: none;
font: 100% Helvetica, Arial, sans-serif;
background: url(img/sitemap1.gif) no-repeat;
}
#sitemap li ul li {
padding: 2px 5px 4px 20px;
list-style: none;
font: 100% Helvetica, Arial, sans-serif;
background: url(img/sitemap2.gif) no-repeat;
} ------- */
