/* Bayside Engineering, Inc - http://www.baysideng.com */

* { margin: 0; padding: 0; }

body {
  background: #fff url(images/dicastripe.png) repeat;
  font: small arial, tahoma, verdana, sans-serif;
}

h1, h2, h3, h5, h6 { color: #01558f; text-align: left; letter-spacing: -1px; }
h4 { color: #cc6601; }
h1 { font-size: 200%; margin-bottom: 10px; }
h2 { font-size: 150%; margin-bottom: 5px; }
h3 { font-size: 130%; margin-bottom: 5px; }
h4 { font-size: 115%; }
h5 { font-size: 105%; margin-bottom: 5px; }
em { font-weight: normal; }
img { border: 0; }

.activemain { background-color: #cc9933; }
.activesub { background-color: #00736f; }
.clear { clear: both; }
#left-pane { float: left; width: 48%; text-align: left; }
#right-pane { float: right; width: 48%; text-align: left; }
.center { text-align: center; }
.right { text-align: right; padding-right: 20px }
.caption { text-align: center; }
.nodec { text-decoration: none; }
.em { font-style: italic; }
p.quote { padding: 10px 20px; }
.comment { padding-bottom: 15px; }
.error { color: #cc0000; font-weight: bold; }
a.urgent { color: #b30000; background-color: #FFFF00; }
.larger { font-size: 110%; }
p.caption { font-size: 90%; font-style: italic; font-weight: bold; }

.stretcher {
	background: none !important;
	background: #fff;
}
h4.stretchlink {
  text-decoration: none;
  border-bottom: 1px dotted #00736f;
  color: #00736f;
  margin: 10px 0;
}
h4.stretchlinkhover {
  text-decoration: none;
  border-bottom: 1px solid #00736f;
  cursor: pointer;
  color: #00736f;
  margin: 10px 0;
}
.jobdate { font-weight: bold; color: #cc9933; padding-bottom: 8px; }

table.board {
  border-top: 1px solid black;
  border-left: 1px solid black;
  margin-bottom: 10px;
  width: 90%;
}
table.board td, th {
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding: 3px 4px;
}
p { margin-bottom: 10px; }
ol { padding-left: 30px; }
ol li {
  padding: 4px 0;
}
div.centerimage {
  text-align: center;
  margin: 25px 0;
}
p.date {
  letter-spacing: -1px;
  font-weight: bold;
  font-size: 1.2em;
  font-style: italic;
}

.leftfloat {
  float: left;
  width: 60%;
  margin-bottom: 10px;
}
.leftfloat ul { margin-bottom: 7px; padding-left: 5px; }
.leftfloat li { list-style: none; }
.rightfloat {
  float: right;
  width: 33%;
}
.rightfloat ul { margin-bottom: 7px; padding-left: 5px; }
.rightfloat li { list-style: none; }


.news-item {
  border-bottom: 1px dotted #00736f;
  padding: 10px;
}
.news-item-date {
  font-size: 120%;
  font-weight: bold;
  display:inline;
  background: url(/home/images/underline.gif) repeat-x bottom left;
  color: #00736f;
  margin-left: 5px;
}
.news-item-content {
  padding-top: 10px;
}
div.new-employee { margin: 9px 0; width: 80%; }
div.new-employee img{
  float: left;
  padding: 0 5px 5px 0;
}

.credit {
  margin: 10px;
  font-size: 90%;
  font-style: italic;
}
.history {
  margin-bottom: 20px;
}
.history li {
  list-style: none;
  padding-left: 18px;
}

.linebreak { border-bottom: 3px solid #cc6601; margin-bottom: 15px; }

#wrapper {
  background-color: #fff;
  margin: 0 auto;
  width: 800px;
  position: relative;
}
#header { text-align: center; }
#banner { background-color: #00736e; }
#banner img { border: 0; }

#main-body {
  margin: 20px auto;
  padding: 0 20px;
}
#main-body a {
  color: #cc6601;
  background: url(/home/images/underline.gif) repeat-x bottom left;
  text-decoration: none;
}
#main-body a:hover {
  color: #fe8001;
  background: none;
  text-decoration: underline;
}
#sidebar { 
  float: left;
  width: 20%;
}
#sidebar ul {
  list-style: none;
  padding: 0 5px;
}
#sidebar ul li {
  padding: 0 0 5px 0;
  margin-bottom: 3px;
}
#content {
  float: left;
  width: 80%;
  text-align: justify;
  margin-bottom: 15px;
}
#content h2 { text-align: left; }

#mainbox {
  float: left;
}
#content-wide {
  width: 80%;
}
#content-wide h2 { text-align: left; }
#content-wide ul {
  list-style: none;
  padding: 10px 20px;
}
#content-wide ul li {
  padding: 0 0 5px 15px;
}
#content-full h2 { text-align: left; }
#content-full ul {
  list-style: none;
  padding: 10px 20px;
}
#content-full ul li {
  padding: 0 0 5px 15px;
  background: url(/home/images/arrow.gif) no-repeat 0 4px;
}
#news-table { width: 100%; }
#news-table td {
  padding: 10px 5px;
  border-bottom: 1px dotted #00736f;
  vertical-align: middle;
}
#careers-table { width: 100%; }
#careers-table th { text-decoration: underline; padding-bottom: 5px; }

/* Image Styles */
#imageblock {
  float: right;
  width: 35%;
}
#imageblock-low {
  float: right;
  padding-top: 80px;
  width: 35%;
}
#imageblock-lower {
  float: right;
  padding-top: 140px;
  width: 35%;
}

.main-img-top img { margin: 0 auto; }
.small-left-bot { float: left; padding-top: 10px; }
.small-right-bot { float: right; padding-top: 10px; }

.prefooter { clear: both; }
#footer {
  color: #fff;
  background-color: #cc6601;
  padding: 5px;
  font-size: 0.85em;
  border-bottom: 2px solid #653301;
  border-right: 2px solid #653301;
  text-align: center;
  clear: both;
}
#footer a { color: #fff; }
#footer a:hover { color: #e0e0e0; }

#contactform { margin-left: 20px; }
#contactform label {
  display: block;
  line-height: 1.8em;
  vertical-align: top;
  width: 20%;
}
#contactform li {
  list-style: none;
  padding: 5px;
  margin: 0;
}
#contactform input {
  width: 100%;
}
#contactform textarea {
  width: 100%;
  height: 100px;
}
#contactform input.thinner { width: 35%; }
/*
a[href $='.pdf'] { 
   padding-right: 18px;
   background: transparent url(/images/icon_pdf.gif) no-repeat center right;
}
/*
/* clearfix */
.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {display:inline-table;}
/* Hides from IE-Mac \*/
* html .clearfix {
  height:1%;
}
*+html .clearfix {
  height:1%;
}
.clearfix {
  display:block;
}
/* End hide from IE-Mac */
