body  {
	background: #c0c0c0;
	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: #262626;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 90%;
}

#container {
	width: 799px;
	background: #d9d9d9;
	margin: 0 auto;
	padding: 0 0 23px 0;
	text-align: left; /* this overrides the text-align: center on the body element. */
	border: 1px solid #393939;
}
#container #footer {
	font-size: 79%; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	color: #666666;
	height: 29px;
	width: 767px;
	padding: 0;
	margin-left: 17px;
	margin-top: 0px;
	
	
} 
#container #footer #company {
	margin-left: 29px;
	padding-top: 24px;
	margin-top: 0;
	margin-bottom: 0;
	float: left;
	width: 200px;
	position: absolute; 
}
#container #footer #michael {
	margin-left: 584px;
	padding-top: 24px;
	margin-top: 0;
	margin-bottom: 0;
	position: absolute;
}
#container #footer #michael a {
	color: #666666;
	text-decoration: none;
}
#container #footer #michael a:hover {
	color: #eab72d;
}
#inner_container {
	background: url(../images/background_top_left.png) top left no-repeat #fff;
	margin-top: 20px;
	margin-left: 17px;
	width: 767px;
	padding: 0;
	margin-bottom: 0;
	position: relative;
} 
#header #header_logo {
	position: relative;
	width: 585px;
	margin: 0;
	padding-top: 1px;
	padding-left: 1px;
	float: left;	
}
#header #header_drill {
	position: relative;
	width: 178px;
	background: url(../images/background_top_right.gif) top right no-repeat;
	margin: 0 0 0 589px;
	padding-top: 1px;
}
#header #header_logo #main_nav {
	padding: 0;
	margin: 0 auto;
	height: 24px;
	position: relative;
}
#header #header_logo #main_nav li, #header #header_logo #main_nav a {
	height: 24px;
	display: block;
}
#header #header_logo #main_nav li#home_item {
	left: 0;
	width: 59px;
}
#header #header_logo #main_nav li#drills_item {
	left: 60px;
	width: 65px;
}
#header #header_logo #main_nav li#drilling_equipment_item {
	left: 126px;
	wdith: 147px;
}
#header #header_logo #main_nav li#custom_fab_item {
	left: 274px;
	width: 153px;
}
#header #header_logo #main_nav li#history_item {
	left: 428px; 
	width: 76px;
}
#header #header_logo #main_nav li#contact_item {
	left: 505px;
	width: 80px;
}

#header #header_logo #main_nav li {
	display: inline;
	list-style-type: none;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	
}
#header #header_logo #main_nav ul {
	margin: 0 auto;
	padding: 0;
	height: 24px;
}
#header {
	margin: 0px;
	padding: 0px;
}

/* Tips for sidebar1:
1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly.
2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".thrColHybHdr #sidebar1 p" rule.
*/
#sidebar1 {
	float: left; 
	width: 101px; /* since this element is floated, a width must be given */
	padding: 35px 33px 0px 30px; 
	margin: 0;
	position: relative;
	background:url(../images/background_right_y.gif) top left repeat-y #fff;

}
#sidebar1 a img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#sidebar2 {
	float: right;
	width: 153px; /* since this element is floated, a width must be given */
	padding: 35px 14px 0px 11px; 
	margin: 0;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: #fee7b5;
	background: url(../images/background_right_y.gif) top right repeat-y #fdf7ec;
	position: relative;
}

h1 {
	color: #005cab;
	font-weight: bold;
	font-size: 100%;
	margin: 0;
	padding-top: 0;
	padding-bottom: 1em;
}
h2 {
	color: #005cab;
	font-size: 75%;
	font-weight: bold;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0px;
}
h3 {
	color: #005cab;
	font-size: 74%;
	font-weight: bold;
	margin: 0;
	paddint-top: 0;
	padding-top: 5px;
	padding-bottom: 3px;
}
h1 a, h2 a, h3 a {
	color: #005cab;
	text-decoration: none;
}
p a {
	color: #262626;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;	
}

/* Tips for mainContent:
1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs.
2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div.  No matter how much 
 the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing.
4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur.
*/
#mainContent {
	margin-right: 177px;
	margin-left: 164px;
	padding: 35px 36px 0px 0px; /* padding bottom was 33px */
}
#mainContent p, #content p {
	color: #262626;
	padding-bottom: 1em;
	
}
#content {
	float: left; 
	width: 520px; /* since this element is floated, a width must be given */
	padding: 35px 36px 0px 30px; 
	margin: 0;
	position: relative;
	background:url(../images/background_right_y.gif) top left repeat-y #fff;
}

#foo {
	background:url(../images/background_bottom_left_long.png) bottom left no-repeat;
	float: left;
	width: 767px;
	margin-left: 17px;
	margin-top: 0;
	margin-right: 0;
	padding: 0;
	margin-bottom: 0;
}

#foo2 {
	background:url(../images/background_bottom_right.png) bottom right no-repeat;
	margin-right: 0;
}

#sidebar1 p {
	color: #262626;
	font-size: 74%;
	padding-top: 0px;
	margin-top: 0px;
	padding-bottom: 1em;
}

#sidebar2 p {
	color: #262626;
	font-size: 85%;
	margin-top: 0px;
	padding-bottom: 1em;
}


/* Miscellaneous classes for reuse */
.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 conta
iner that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
/* place css fixes for all versions of IE in this conditional comment */
.thrColHybHdr #mainContent { zoom: 1;  }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
