/* Color Guide
Color Name 1 - Hex Code
Color Name 2 - Hex Code
----------------------------------------- */
/* Global Styles
----------------------------------------- */
* { margin: 0; padding: 0; }
html { height: 100%; margin-bottom: 1px; }
body { background: #b0b579 url(../images/body_bg.jpg) 0 0 repeat-x; font-family: Verdana, Geneva, sans-serif; font-size: 0.8em; color: #333; }
ul, li { list-style: none; }
p { margin-bottom: 10px; line-height: 1.4em; }
h1 { font-size: 2.3em; font-weight: bold; padding: 5px 0; }
h2 { font-size: 120%; font-weight: bold; padding: 5px 0; }
h3 { background-color: inherit; color: #9ca164; font-size: 1.8em; font-weight: 100; padding: 5px 0; }
h4 { font-size: 100%; font-weight: bold; padding: 5px 0; }
h5 { font-size: 100%; font-weight: 200; padding: 5px 0; }

a { background-color: inherit; color: #5392cd; text-decoration: underline; }
a:hover { background-color: inherit; color: #006699; text-decoration: none; }

/* Divs
----------------------------------------- */
#wrapper { background: transparent; color: #000; margin: 0 auto; text-align: left; width: 808px; }

#header { background: #f2efc6 url(../images/header_bg.gif) 430px 22px no-repeat; color: #000; height: 127px; width: 808px; position:relative;  }
#header ul { position:absolute; right:0; top:86px; }
#header li { float:left; margin: 0; }
#header li a { display:block; background-repeat:no-repeat; text-indent:-9999em; height:41px; overflow:hidden; }

.home a { background: url(../images/nav/home.jpg); width:72px; vertical-align: middle; }
.about a { background: url(../images/nav/about.jpg); width:71px; }
.gallery a { background: url(../images/nav/gallery.jpg); width:71px; }
.products a { background: url(../images/nav/products.jpg); width:71px; }
.clients a { background: url(../images/nav/clients.jpg); width:71px; }
.press a { background: url(../images/nav/press.jpg); width:71px; }
.contact a { background: url(../images/nav/contact.jpg); width:72px; }

.bhome #header .home a,
.babout #header .about a,
.bgallery #header .gallery a,
.bproducts #header .products a,
.bclients #header .clients a,
.bpress #header .press a,
.bcontact #header .contact a,
#header li a:hover { background-position:0 -41px; }

#topround { background: transparent url(../images/top_round.gif) 0 0 no-repeat; color: #000; height: 17px; margin-top: 40px; width: 808px; }
#maincontent { background-color: #f2efc6; color: #000; width: 808px; }
#icontent { background-color: #f2efc6; color: #000; padding: 10px; width: 788px; }
p.hometext { margin: 0 50px 1em; }

#botround { background: transparent url(../images/bot_round.gif) 0 0 no-repeat; color: #000; height: 17px; margin-bottom: 10px; width: 808px; }

#sidebar { float: left; padding: 1.5em 20px; text-align: center; width: 270px; }
#content { float: left; width: 470px; padding-top:1em; }

#content ul { margin: 1em 1.75em 1em 1em; }
#content li { background: url(../images/bullet_purple.gif) 0 5px no-repeat; padding:0 20px 15px 15px; }

#slideshow { margin: 20px auto; width: 520px; }

.dc { float: right; padding: 10px 20px; width: 150px; }

/* Press */
#press { width: 470px; margin:1.5em 0 3em; }
#press td { text-align:center; padding-bottom: 1em; }
#press img { border: 1px solid #898c63; height:177px; margin-bottom:5px; padding: 2px; width:140px; }
#press img.none { display:none; }

/* Footer 
------------------------ */
#footer { background: #a3a1cc url(../images/footer_bg.jpg) 0 0 repeat-x; color:#fff; height: 100px; padding: 10px 0; text-align:center; }
#footer p { font-size:.8em; margin-top: 20px; }
#footer ul { margin: 7px 0; }
#footer li { background: url(../images/seperator.gif) left center no-repeat; display:inline; padding:0 20px; }
#footer a { background-color:inherit; color:#fff; text-decoration: none; }
#footer li.first { background: none; }
#footer a:hover, .bhome #footer a.fhome, .babout #footer a.fabout, .bgallery #footer a.fgallery, .bproducts #footer a.fproducts, .bclients #footer a.fclients, .bpress #footer a.fpress, .bcontact #footer a.fcontact { background-color:inherit; color:#bebebe; text-decoration:none; }

/* Contact Form
----------------------------------------- */
form { margin: 0; padding: 0; font-size: 0.9em; }
fieldset { padding: 0 0 10px 10px; margin: 0; border: 1px solid #898c63; }
legend { font-weight: bold; font-size: 1em; padding: 0 4px 8px 4px; color: #898c63; background-color: #fff; }
dt { float: left; width: 30%; text-align: right; padding: 5px 10px 0 0; }
label.last { font-weight: bold; text-align: left; padding-left: 10px; }
input, textarea, select { margin: 5px 0; border: 1px solid #a7a7a7; font-family: inherit; font-size: 1em; padding: 1px 3px; }
input.submit { margin-top: 1em; padding: 3px; color: inherit; background-color: #b0b579; }
.errorMessage { color: red; background-color: inherit; font-weight: bold; font-size: 1.1em; }

/* Images
----------------------------------------- */
img { border: none; }
img.cadslogo { width: 219px; height: 94px; margin: 17px 0 0 40px; }
img.phone { width: 203px; height: 143px; margin: 7px 0 25px 0; }

/* Self Cleared Float
----------------------------------------- */
#topnav:after,
#header:after,
#maincontent:after,
#content_left:after,
#content:after,
#content_right:after,
.threeup:after,
#copyright:after,
#footer:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/* sIFR
----------------------------------------- */
.sIFR-flash {visibility: visible !important; margin: 0;}
.sIFR-replaced { visibility: visible !important;}
span.sIFR-alternate { position: absolute; left: 0; top: 0; 	width: 0; height: 0; display: block; overflow: hidden;}
.sIFR-flash + div[adblocktab=true] { display: none !important;}