html {
width: 100%;
background: url(images/bg2_html.jpg) repeat-x top left;
}

body  {
	font: .9em Arial, Verdana, Helvetica, sans-serif;
	line-height: 1.4;
	background: none;
	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;
}

#mainContent h2{
font: 1em Arial, Verdana, Helvetica, sans-serif;
font-weight:bold;
margin:0 0 -10px 0;
padding:0;
line-height:1em;
color:#0033CC;
}

#wrapper { 
	width: 800px;  
	background: none;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: none;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
#header { 
	background: none; 
	padding: 0 10px 0 20px;  /* 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. */
	height:150px;
	margin:0 0 25px 0;
	padding:0;
	position:relative;
} 
#form {
	height:auto;
	margin:0;
	padding:0;
	text-align:center;
}

#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: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	position:absolute;
	top:37px;
	left: 20px;
	background: url(images/logo.png) no-repeat top left;
	width:320px;
	height:120px;
	text-indent:-10000px;
	overflow:hidden;
}

#header h1 a {
width: 320px;
height:120px;
padding:0;
margin:0;
}

#header ul{
position:absolute;
top:45px;
right: 50px;
padding:0;
margin:0;
list-style: none;
font: 1em Arial, Verdana, Helvetica, sans-serif;
}

h1.header_main {
	margin:0;
	padding:0;
	font: 1em Arial, Verdana, Helvetica, sans-serif;
	text-align:center;
	font-weight:bold;
}

#sidebar {
	float: right; /* since this element is floated, a width must be given */
	width: 100px; /* 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 */
	height:200px;
	background: none; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 25px 10px 15px 10px;
}

#sidebar ul {
padding: 0;
list-style-type: none;
height:100px;
width: 97px;
}

#sidebar li {
margin: 0 0 10px 0; 
width: 97px;
height: 35px;
}

#sidebar li a {
margin: 0;
padding: 0;
width: 97px;
height: 35px;
display: block;
text-indent:-10000px;
overflow:hidden;
}

#sidebar li.home_link a {
	background: url(images/hombut.gif) no-repeat left top ;
}

#sidebar li.product_link a {
	background: url(images/prodbut.gif) no-repeat left top;
}

#sidebar li.contact_link a {
	background: url(images/conbut.gif) no-repeat left top;
}

#sidebar li.email_link a {
	background: url(images/ebut.gif) no-repeat left top;
}

#sidebar li.companyinfo_link a {
	background: url(images/compinfobut.gif) no-repeat left top;
}


#mainContent { 
 	width: 650px;
	margin: 0 130px 0 0; /* the right margin on this div element creates the column down the right 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 0 0 20px ; /* remember that padding is the space inside the div box and margin is the space outside the div box */
} 
 
.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;
}

.clearRight {
clear:right;
height:0;
font-size: 1px;
line-height: 0px;
}

.clearLeft {
clear:left;
height:0;
font-size: 1px;
line-height: 0px;
}

ul#prod_serv_list {
width: 600px;
padding:0;
margin:-10px 0 10px 40px;
font-size: .8em;
}

ul.file_formats {
padding:0;
font-size: .9em;
list-style-type:none;
text-indent:20px;
}

img {
display:inline;
margin:0;
padding: 5px;
border: 1px solid;
}

div.image_row img {
margin: 0 0 0 20px;
border:none;
}

.right {
text-align:right;
}

.left {
text-align:left;
}

.center {
text-align:center;
}

#footer {
margin: 50px 0 0 0;
text-align:center;
padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:none; 
}

#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 */
}
