@charset "utf-8";

/* --------------------------------------------
Filename: kbengineering.css
Title: Primary CSS file for kb-engineering.com
Author: Michael Reiner
License: Copyright 2008, K&B Engineering, All Rights Reserved
Feel free to read and learn from this, but please don't steal it.

Description: This style sheet provides basic styling for XHTML
elements for the web site for K&B Engineering.

Credits: Many of the techniques used in this style sheet can be
learned by reading: Pro CSS Techniques; Croft, Lloyd, Rubin and
Stylin' with CSS, A Designer's Guide; Wilke-Smith.
----------------------------------------------- */

* {
	margin:0;
	padding:0;
}
fieldset,img {
	border:0;
}
ol,ul {
	list-style:none;
}
html {
	font-size:125%;
}
body {
	font-size:50%;
	font-family:Geneva, Arial, Helvetica, sans-serif;
	text-align: center;
	background-color: #FFFFFF;
	background-repeat: repeat-x;
	background-position: left top;
}

#mainwrap {
	font-size: 1.2em;
	width:955px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
	background-repeat: repeat-y;
	background-position: left top;
	background-image: url(images/bgimages/fauxleft.gif);
	padding-top: 5px;
}

/* Header - Banner Styling */
#header {
	height: 110px;
	position: relative;
	background-color: #FFF39D;
	background-image: url(images/bgimages/HeaderBG.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	margin-bottom: 2px;
}
#header h1,
#header h2 {
	position:absolute;
	padding:0;
	margin:0;
}
#header h1 {
	top:17px;
	left:175px;
	background-image: url(images/bgimages/KBWebLogoReflect.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	height: 85px;
}
#header h2 {
	top:73px;
	left:492px;
}

/* Top Horizontal Link Bar */

#horizlinkstop {
	background-image: url(images/bgimages/HorizLinksBG.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
#horizlinks {
	height:3em;
	padding-top: 0.8em;
	padding-left: 175px;
	font-size: 1.2em;
	padding-bottom: 0.5em;
	background-position: left bottom;
	background-repeat: no-repeat;
	background-image: url(images/bgimages/HorizLinksBotBG.jpg);
	margin-bottom: 2px;
	font-weight: bold;
}
#horizlinks ul,
#horizlinks li {
	margin:0;
	padding:0;
	list-style-type: none;
}
#horizlinks li {
	float:left;
	list-style-image: none;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #FFFFFF;
}
#horizlinks li:first-child {
	border-left:1px solid #FFFFFF;
}
#horizlinks a {
	display:block;
	padding-right: 1em;
	padding-left: 1em;
	padding-top: 0px;
	padding-bottom: 3px;
}
#horizlinks a:link,
#horizlinks a:visited {
	color:#FFF39D;
	text-decoration:none;
}
#horizlinks a:hover {
	color: #D2611C;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: D2611C;
}
#horizlinks a:active {
	color:#D2611C;
	text-decoration:none;
}
/* hack for IE Win only \*/
* html #horizlinks ul {
	border-left:1px solid #FFFFFF;
}	
/* end of hack */

/* Breadcrumb Bar */

#breadcrumbtop {
	background-image: url(images/bgimages/HorizLinksBG.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}
#breadcrumb {
	padding-top:.7em;
	padding-bottom:.7em;
	background-position: left bottom;
	padding-left: 10px;
	color: #000000;
	font-size: 1.1em;
	background-image: url(images/bgimages/HorizLinksBotBG.jpg);
	background-repeat: no-repeat;
}
#breadcrumb p {
	color: #FFFFFF;
	display: inline;
}
#breadcrumb ul,
#breadcrumb li {
	display:inline;
	padding:0;
	margin:0;
}
#breadcrumb li {
	padding-left:.5em;
	color: #FFFFFF;
}
#breadcrumb a:link {
	color: #FFF39D;
	text-decoration: none;
}
#breadcrumb a:visited {
	color: #FFF39D;
	text-decoration: none;
}
#breadcrumb a:hover {
	color:#D2611C;
	text-decoration: none;
}
#breadcrumb a:active {
	color:#D2611C;
	text-decoration: none;
}

/* Column One - Left Navigation Styling */
#column1 {
	float:left;
	width:175px;
	margin-left:-755px;
	padding-top: 30px;
}
#column1ultop {
	background-image: url(images/bgimages/VertLinkBG.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	padding-top: .7em;
}
#column1 ul {
	font-size:1.2em;
	list-style-type:none;
	width: 175px;
	background-image: url(images/bgimages/VertLinkBotBG.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	text-decoration: none;
	padding-bottom: .7em;
}
#column1 li {
	text-align: right;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #FFFFFF;
}
#column1 li:first-child {
	border-top-color: #FFFFFF;
	border-top-width: 1px;
	background-repeat: no-repeat;
	background-position: left top;
	border-top-style: dashed;
}
#column1 ul a {
	text-decoration: none;
	padding-top: .5em;
	padding-right: 12px;
	display: block;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	font-weight: bold;
	padding-bottom: .5em;
}
#column1 ul a:link,
#column1 ul a:visited {
	color: #FFF39D;
}
#column1 ul a:hover,
#column1 ul a:active {
	color:#D2611C;
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #D2611C;
}
#column1 img {
	padding-left: 17px;
	margin-top: 25px;
	float: left;
	clear: both;
}

/* hack for IE Win only \*/

* html #column1 ul {
	border-top:1px solid #FFFFFF;
}	
/* end of hack */

/* Column Two - Content Styling */

#column2 {
	float:left;
	width:580px;
	margin-left:175px;
	padding-bottom: 1em;
	display: inline;
	padding-top: 20px;
}
#column2 h1 {
	color: #575F6D;
	font-size: 1.6em;
	font-weight: bold;
	margin-bottom: 1em;
	padding-left: 10px;
	padding-right: 15px;
}
#column2 h2 {
	color: #111111;
	font-size: 1.4em;
	font-weight: bold;
	margin-top: 27px;
	background-color: #EBEBEB;
	padding-left: 15px;
	padding-right: 15px;
	margin-right: 10px;
	margin-left: 10px;
}
#column2 h3 {
	font-size: 1.2em;
	font-weight: normal;
	padding-right: 10px;
	padding-left: 15px;
	margin-top: 10px;
}
#column2 p {
	font-size: 1.2em;
	margin-top: .75em;
	padding-right: 15px;
	padding-left: 15px;
	line-height: 125%;
}
#column2 p img {
	float: left;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	clear: none;
	padding-right: 7px;
	margin-top: 5px;
	vertical-align: top;
}
#column2 ul {
	font-size:1.2em;
	margin-top: 0.25em;
	margin-right: 2em;
	margin-bottom: 0.25em;
	margin-left: 40px;
}
#column2 a:link,
#column2 a:visited {
	color: #D2611C;
}
#column2 a:hover,
#column2 a:active {
	color: #3B435B;
}
#column2 table {
	width: 558px;
	margin: 10px;
	font-size: .95em;
}
#column2 td {
	text-align: left;
	padding: 2px;
	width: 186px;
}

/* Column Three - News Block Styling */

#column3 {
	float:left;
	padding-top: 30px;
	width: 200px;
}
#column3 h1 {
	text-align: left;
	font-size: 1.4em;
}
.newsblock {
	background-color: #FFF39D;
	margin-top: 15px;
	margin-bottom: 15px;
	background-image: url(images/bgimages/NewsBG.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	padding-bottom: .7em;
}
.newsblock h2 {
	font-size: 1.2em;
	text-align: left;
	color: #FFFFFF;
	padding-top: .3em;
	padding-bottom: 0.2em;
	padding-right: 7px;
	padding-left: 7px;
	font-weight: normal;
	background-image: url(images/bgimages/NewsHeadBG.jpg);
}
.newsblock p {
	color: #000000;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-right: 7px;
	padding-left: 7px;
}
.newsblock a:link,
.newsblock a:visited {
	color: #D2611C;
	font-weight: bold;
}
.newsblock a:hover,
.newsblock a:active {
	color: #3B435B;
}

/* Footer Styling */
#footer {
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #575F6D;
	padding-left: 175px;
	margin-bottom: 0.3em;
	padding-top: 1em;
}
#footer p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1em;
	color: #000000;
	margin-top: 1.5em;
	text-align: center;
	margin-right: 200px;
}

#footer ul {
	list-style-type: none;
	margin-top: 0.7em;
	margin-bottom: 0.7em;
	text-align: center;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	margin-right: 200px;
	font-size: .9em;
}
#footer li {
	list-style-type: none;
	display: inline;
}
#footer a {
	text-decoration:underline;
	padding-right: 4px;
	padding-left: 4px;
}
#footer a:link,
#footer a:visited {
	color:#3B435B;
}
#footer a:hover,
#footer a:active {
	color:#D2611C;
}

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

/* Form Styling */
form {
	margin-top: 2em;
	margin-right: 10px;
	margin-bottom: 2em;
	margin-left: 10px;
}
fieldset {
	background-color: #FFF39D;
	padding-right: 10px;
	padding-left: 10px;
}
legend {
	font-size: 1.4em;
	font-weight: bold;
	position: relative;
	color: #B32C16;
}
label {
	display: block;
	font-weight: bold;
	float: left;
	margin-right: 1em;
	clear: left;
	width: 9em;
	padding-right: 1em;
	text-align: right;
	line-height: 1.8em;
}
input {
	display: block;
	float: left;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
	width: 12em;
}
br {
	clear: both;
}
.submit {
	margin-left: 11em;
	margin-top: 1em;
}
