/* Commented Backslash Hack
   hides rule from IE5-Mac \*/

/* End IE5-Mac hack */

body {
  margin: 0;
  background-color: #CDC2B4;
  background-image: url("img/background_tile.gif"); 
  background-repeat: repeat-x repeat-y;
  font-family: verdana, helvetica, arial, sans-serif;   
  line-height: 1.4em;  
  color: #4D4D4D;  
}
body * {
	margin: 0;
	padding: 0;
}
body, table, td, p, h1, h2, h3 {
  font-size: 10px;  
  line-height: 1.4em;   
}

p, h1, h2, h3 {
  margin: 2px;
  padding: 0;
}

.clear {
  clear:both;
}

div#wrap {
  background-image: url("img/background_gradient.jpg"); 
  background-repeat: repeat-x;
  padding: 0;
  padding-top: 10px;
  margin: 0;
  text-align: center;
}

div#container {
	width: 540px;
	margin: 0px auto;
	text-align: left;
	background: white;
	padding: 7px;
	border: 1px solid #999999;
}

div#header {
  margin: 0;
  padding: 0; /*1px; */
  width: 100%;
  height: 50px;  
  border: 0;
  border-bottom: 1px solid #999999;
  background-color: #ffffff;
  vertical-align: center;
  display: table;
}

div#header ul#nav { 
  float: right;
  margin: -25px 0px 0px 0; 
  padding: 1; 
  width: 300px;
}
html>body div#header ul#nav { 
  margin: -25px -2px 0px 0; 
}

div#header ul#nav li { 
  display: inline; 
  float: right; 
  height: 28px; 
  text-indent: -9999em;
}
div#header ul#nav a { overflow: hidden; }
div#header ul#nav .active a,
div#header ul#nav a:hover {
	background-position: bottom !important;
}

div#header ul#nav .index a   { background: url("img/nav_home.jpg")   no-repeat; height: 28px; width:  73px; display: block; }
div#header ul#nav .about a   { background: url("img/nav_about.jpg")   no-repeat; height: 28px; width:  73px; display: block; }
div#header ul#nav .portfolio a   { background: url("img/nav_portfolio.jpg")   no-repeat; height: 28px; width: 73px; display: block; }
div#header ul#nav .contact a { background: url("img/nav_contact.jpg") no-repeat; height: 28px; width: 73px; display: block; }

div#main {
  margin-top: 10px;  
}

td.darkPanel,
h1.darkPanel,
div.darkPanel {
  margin: 0;
  padding: 0;  
  border-top: 1px solid #515151;
  border-left: 1px solid #515151;
  border-right: 1px solid #292929;
  border-bottom: 1px solid #292929;
  background-color: #333333; 
  color: white;
  text-align: center;
  vertical-align: center;
}

div.darkPanel {
  display: table;
  width: 100%;  
}

td.titleBar {
  margin: 0;
  padding: 0;  
  background: url("img/title_bar.gif") center left no-repeat;   
  text-align: center;
  width: 539px;
  height: 27px;
}

table#contentBox td.mediumPanel,
table#contentBox h2.mediumPanel {
  margin: 0;
  padding: 0;  
  padding-top: 2px; 
  padding-bottom: 2px; 
  border-top: 1px solid #bbbbbb;
  border-left: 1px solid #bbbbbb;
  border-right: 1px solid #777777;
  border-bottom: 1px solid #777777;
  background-color: #999999; 
  color: #4D4D4D;
  font-weight: bold;
}

table#contentBox td.navigationPanel {
  margin: 0;
  padding: 0;  
  background: url("img/subtitle_bar.gif") center left no-repeat;   
  border: none;
  color: white;
  text-align: center;
  font-weight: bold;
  line-height: 1.7em !important;  
  height: 1.7em; 
}

table#contentBox td.navigationPanel table {
  width: 100%;  
}

table#contentBox td.navigationPanel table a {
  color: #ffffff; /*color: #4B86B1;*/
  font-weight: bold;
  text-decoration: none;
  margin: 0;  
  border: 0; 
}

table#contentBox td.navigationPanel table a img {
  margin: 0;  
  border: 0; 
  vertical-align:bottom;
}

table#contentBox td.navigationPanel table a:hover {
  text-decoration: underline;
}

table#contentBox td.navigationPanel table td.navLeft {
  text-align: left;
  width: 150px;
}

table#contentBox td.navigationPanel table td.navLeft a {
  margin: 0;  
  border: 0; 
  padding: 3px 0 3px 18px;  
  background: url("img/nav_left_arrow.gif") center left no-repeat;    
}

table#contentBox td.navigationPanel table td.navAllProjects {
  text-align: center;
}

table#contentBox td.navigationPanel table td.navAllProjects a {
  margin: 0;  
  border: 0; 
  padding: 3px 0 3px 18px;  
  background: url("img/nav_top.gif") center left no-repeat;   
}


table#contentBox td.navigationPanel table td.navRight {
  text-align: right;
  width: 150px;
}

table#contentBox td.navigationPanel table td.navRight a {
  margin: 0;  
  border: 0;
  padding: 3px 20px 3px 0;   
  background: url("img/nav_right_arrow.gif") center right no-repeat;  
}

table#contentBox a {
  color: #88A428;
  text-decoration: none;  
}

table#contentBox a:hover {
  text-decoration: underline;  
}

table#contentBox a img {
  border: 0;
}

table#contentBox input,
table#contentBox select,
table#contentBox textarea {
  border-top: 1px solid #404040;
  border-left: 1px solid #404040;
  border-right: 1px solid #D4D0C8;
  border-bottom: 1px solid #D4D0C8;
}

table#contentBox input.error,
table#contentBox select.error,
table#contentBox textarea.error {
  border-top: 1px solid #7F0707;
  border-left: 1px solid #7F0707;
  border-right: 1px solid #B43D3D;
  border-bottom: 1px solid #B43D3D;
}

table#contentBox td.contentPanel {
  background-color: #E6F0F6;
  padding: 15px;
  vertical-align: top;
  
}

table#contentBox td.contentPanel h1 {
  color: #4B86B1;
  font-size: 1.2em; 
}

table#contentBox td.additionalPanel {
  background-color: white;
  padding-left: 10px;
}

table#contentBox td.additionalPanel h2,
table#contentBox td.additionalPanel p
{
  padding-left: 5px;
  padding-right: 5px;
}

table#contentBox td.additionalPanel ul {
  padding-left: 20px;
  padding-right: 5px;
}

span.copyright {
  font-size: 0.9em;
  text-align: center;
  display: block;
}

.contentPanel hr {
  margin: 0;
	margin-top: 10px;
	margin-bottom: 10px;
  color: #F9EEDB;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px dotted #888888; 
}

.contentPanel ul {
  list-style-type: none;  
  margin: 0;  
  border: 0;
  padding-left: 10px;
}

.contentPanel ul li {
  margin: 0;  
  border: 0;
  padding: 0px 0px 5px 15px;   
  background-image: url("img/bullet.gif");
  background-repeat: no-repeat;
}

.balloonstyle {
  position:absolute;
  top: -500px;
  left: 0;
  padding: 5px;
  visibility: hidden;
  border:1px solid black;
  font:normal 10px Verdana;
  line-height: 12px;
  z-index: 100;
  background-color: white;
  width: 200px;
  /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135,Strength=5);  
}

#arrowhead {
  z-index: 99;
  position:absolute;
  top: -500px;
  left: 0;
  visibility: hidden;
}

a.portfolioIcon img {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 1px;
  margin-bottom: 1px;
  border-top: none;
  border-left: none;
  border-right: 2px solid #777777;
  border-bottom: 2px solid #777777;
}

a.portfolioIcon:hover img {
  margin-top: 1px;
  margin-left: 1px;
  margin-right: 0px;
  margin-bottom: 0px;
  border-right: 2px solid #F9EEDB;
  border-bottom: 2px solid #F9EEDB;
}

div.offsetHover {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 2px;
  margin-bottom: 2px;
}

div.offsetHover:hover {
  margin-top: 2px;
  margin-left: 2px;
  margin-right: 0px;
  margin-bottom: 0px;
}

div.thinBorder { 
  border: 1px solid #333333; 
  margin: 0;
  padding: 0;
}

img.portfolioThumb {
 border: 1px solid #333333;
 width: 100px;
 height: 100px;
}

td.portfolio-section {
 font-weight: bold;
 font-size: 12px;
 padding-left: 6px;
 padding-top: 6px;  
}

.contentPanel td.messageStackError {
  margin: 0;  
  border: 0;
  padding: 0px 0px 5px 25px !important;   
  background-image: url("img/error_bullet.gif");
  background-repeat: no-repeat;
  color: #991E17;
}

.contentPanel span.formError {
  color: #991E17;
}

/* Buttons */
.sendButton
{
  display: block;
  background-image: url("img/sendButton.gif");
  background-color: transparent;
  background-repeat: no-repeat;
  height: 30px;
  margin: 5px auto;
  padding: 0px;
  line-height: 22px;
  border: 0 !important;
  width: 67px;
  cursor: pointer;
}
.sendButton:hover, .sendButton:active {
  background-position: 0 -30px;
}

span.nowrap {
  white-space: nowrap;
}

