/* Global Styles 
------------------------ */
* { margin:0; padding:0; }
ul { list-style:none; }
body { background:url(../images/body_bg.gif) repeat-x; background-color:inherit; color:#3d3d3d; font:0.8em Verdana, Geneva, sans-serif; }
body.home { background:url(../images/body_bg-home.gif) repeat-x; background-color:inherit; color:#3d3d3d; font:0.8em Verdana, Geneva, sans-serif; }
img { border:0; }
a { background-color:inherit; color:#3062c4; }
a:hover { background-color:inherit; color:#6092f4; }

/* Main Div Centers 
------------------------ */
#header, #headerhome, #nav, #content, #footer { margin:0 auto; width:849px; }

/* Header
------------------------ */
#header { height:298px; position:relative; margin:0 auto 25px; }
#headerhome { height:383px; position:relative; margin:0 auto 25px; }
#logo { margin:0 0 20px; }
#header p, #headerhome p { background-color:inherit; bottom:182px; color:#013893; display:block; font:bold italic 1.65em "Times New Roman", Times, serif; position:absolute; right:0; text-align:right; }
#headerhome p { background-color:inherit; bottom:267px; color:#013893; display:block; font:bold italic 1.65em "Times New Roman", Times, serif; position:absolute; right:0; text-align:right; }

#flashcontent { height: 250px; margin-top:-3px; }
#noflashpic { height: 175px; margin-top:-3px; }


/* Nav
------------------------ */
#nav { background:#f0f0f0 url(../images/navbg.gif) 0 0 repeat-x; color:inherit; margin:0 auto 28px; text-align:center; }
#nav b { display:block; font-size:1px; }
#navtop { background:url(../images/navtop.gif) 0 0 no-repeat; height:5px; }
#navbot { background:url(../images/navbot.gif) 0 0 no-repeat; height:3px; }
#nav ul { background:url(../images/nav-sides.gif) 0 0 repeat-y; padding:3px 0 5px; }
#nav li { background-color:inherit; color:#afafaf; display:inline; }
#nav .notlink { font-size:1.1em; font-weight:bold; padding:0 25px; text-decoration:none; }
#nav li a { font-size:1.1em; font-weight:bold; padding:0 25px; text-decoration:none; }


/* Nav Active States
------------------------ */
.home .home,
.about .about,
.services .services,
.careers .careers,
.gallery .gallery,
.contact .contact { background-color:inherit; color:#333; }

/* Main Content
------------------------ */
#content { padding:0 0 15px; }
#content h1  { font-size:1.3em; margin:0 0 14px; }
#content h1 b { background-color:inherit; color:#666; font-weight:normal; font-size:0.7em; }
#content h2  { font-size:1.2em; margin:40px 0 14px; }
#content h3  { font-size:1.2em; margin:0 0 14px; }
#content h4 { font-size:1em; margin:0 0 5px; }
#content ul { list-style:disc; margin:0 0 0 15px; }
#content li { margin:10px 0; }
#content #imgnav li { font-size:1.1em; font-style:italic; }
#content p { line-height:1.3em; margin:0 0 14px; width:460px; }
#content #imgnav p { width:auto; }
#content #imgnav { float:right; width:330px; }
#content #imgnav a { display:block; float:left; font-weight:bold; padding:0 0 15px 9px; text-align:center; width:154px; }
#content #imgnav a img { border:1px solid #d59800; height:120px; padding:1px; width:150px; }
#content .aboutpic { float:left; margin:0 15px 0 0; border:1px solid #555; padding:2px; }
#content .rimg { border:1px solid #d59800; padding:2px; }

/* gallery
------------------------*/
.photogallery { text-align:left; padding-left: 50px; }
.portthumb li { display:inline; margin: 5px 0; }
.photogallery a img {margin:0 10px 20px 10px; border:1px solid #d59800; padding:2px; width:150px; height:150px; }
.photogallery a:hover img {margin:0 10px 20px 10px; border:1px solid #204384; padding:2px; width:150px; height:150px; }

#imgnav a { text-decoration: none; }

/* Footer
------------------------ */
#footertop { background:url(../images/footertop.gif) 0 0 repeat-x; clear:both; height:13px; margin:10px 0 18px; }
#footer { background-color:inherit; color:#8e8e8e; font-size:0.88em; margin:0 auto 20px; text-align:center; }
#footer p a { background-color:inherit; color:#8e8e8e; }
#footer p a:hover { background-color:inherit; color:#5e5e5e; }
#footer ul { margin:0 0 20px; }
#footer li { background-color:inherit; color:#afafaf; display:inline; position:relative; }
#footer li a { text-decoration:none; padding:0 25px; }
#footer .notlink { text-decoration:none; padding:0 25px; }
#ncbe { left:-65px; position:absolute; top:-5px; }
#csi { left:8px; position:absolute; top:-5px; }

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

/* Self Clearing Floats
----------------------------------------- */
#content:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

* html #content { height: 1%; }
*:first-child+html #content { min-height: 1px; }
