/* Page structure
------------------------------- */

body {
  background:#D7DBC4;
  margin:0;
  padding:40px 0 14px;
  font:x-small Verdana,Sans-serif;
  text-align:center;
  color:#333;
  font-size/* */:/**/small;
  font-size: /**/small;
  }


#wrap {
  position:relative;
  top:4px;
  left:4px;
  background:#97A480;
  width:806px;
  margin:0 auto;
  text-align:left;
  }
#wrap2 {
  position:relative;
  top:-4px;
  left:-4px;
  background:#fff;
  padding:3px;
  }
#content {
  background:url(/images/bayco-body-background.gif) repeat-y left top;
  width:100%;
  font-size:85%;
  }
#main {
  background: #EDEBD7 no-repeat right top;
  width:593px;
  float:right;
  color:#333;
  border-top: 1px dashed #000;
  }
  
#main2 {
  margin:0;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 5px;
  }
  
#sidebar {
  background:#B7BF96;
  width:195px;
  float:left;
  /*padding:0;*/
  color:#cdb;
  }
#sidebar2 {
  margin:0;
  padding:2px 20px 10px;
  padding-top: 5px ! important
  }


/* Links
----------------------------------------------- */
#main2 a:link {
  color:#000;
  font-weight: bold;
  text-decoration:none;
  border-bottom: 1px dotted #233;
  /*background: url(/images/link_underline.gif) bottom left repeat-x;*/
  }
#main2 a:visited {
  /*color:#B8860B;*/
  color:#000;
  font-weight:normal;
  text-decoration:none;
  border-bottom: 1px dotted #233;
  /*background: url(/images/link_underline.gif) bottom left repeat-x;*/
  }
#main2 a:hover {
  color:#8B0000;
  text-decoration:underline;
  background: none;
  border-bottom: none;
  }
#main2 a img {
  border-width:0;
  }
  
  /* Images
-----------------------------------------------*/
img {
	border:10px #fff solid;
	float: right;
}

#sidebar2 img {
	border: none;
	/*float: left;*/
	/*position:relative;
	left:0px;*/
	clear:both;
	/*text-align:bottom;*/
}

#validation img {
	/*float: left;*/
	/*clear: both;*/
	border: none;
	/*vertical-align: middle;*/
}

.noBorder {
	float: none;
	border: none;	
}


/* Typography
----------------------------------------------- */
#main2 h1 {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	/*font-size: 24px;*/
	font-weight: bold;
  	color:#000;
  	
  	font-size: 220%;
}

#main2 h2 {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	/*font-size: 20px;*/
	font-weight: bold;
  	color:#000;
  	
  	font-size: 170%;

}

#main2 h3 {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	/*font-size: 16px;*/
	font-weight: bold;
  	color:#000;
  	
  	font-size:150%;
}

#main2 h4 {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	/*font-size: 14px;*/
	font-weight: bold;
  	color:#000;
  	
  	font-size:125%;
}


#main2 p {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	font-weight: normal;
	color: #000;
	font-size: 13px;
	line-height: 17px;
}

#main2 ul {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	font-weight: normal;
	color: #000;
	font-size: 13px;
	line-height: 14px;
}

#main2 li {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	font-weight: normal;
	color: #000;
	font-size: 13px;
	line-height: 18px;
}

/* Netscape 4 safe font sizes */
body, div, p, th, td, li, dd {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

h2 {
  font-size: 110%;
  font-weight: bold;
}

/* Definition Lists
----------------------------------------------- */
#main2 dl {
	margin: 0; padding: 0; padding-bottom: 5px;
}
	
#main2 dt {
		margin: 0; margin-right: 6px; margin-bottom: 6px; 
		padding: 0; padding-left: 17px; padding-right: 11px;
		
		font-family: "Helvetica", "Arial", Sans-Serif;
		font-size: 13px;
		font-weight: bold;
		
		line-height: 125%;
		
		border-bottom: 1px dotted #000;
	  
		color: #000;	
	}
	#main2 dd {
		margin: 0; 
		padding: 0; padding-left: 35px; padding-right: 17px; padding-bottom: 4px;
		
		font-family: "Helvetica", "Arial", Sans-Serif;
		font-size: 13px;
		font-weight: normal;
		
		line-height: 100%;
	  
		color: #000;
	}
	
/* Tables
----------------------------------------------- */
table {
	width: 95%;
	
	border: 0; border-collapse: collapse;
	margin: 0; padding: 0;
	
	text-align: left;
	
	margin-top: 10px;
	margin-left: 17px;
	margin-right: 17px;
	margin-bottom: 10px;
	}
	
	table th {
		font-family: "Helvetica", "Arial", Sans-Serif;
		font-size: 13px;
		font-weight: bold;
		
		color: #000;
	
		line-height: 125%;
		vertical-align: top;
		
		margin: 1px;
		padding: 3px;
		border: 1px solid #927857;
		border-collapse: collapse;
		background: #BDB76B;
		}
	
	/*table tr td { width: 70%; }
	table tr td+td { width: 30%; background: #f0f0f0; }*/
	
	table td {
		font-family: "Helvetica", "Arial", Sans-Serif;
		font-size: 13px;
		font-weight: normal;
		
		color: #000;
	
		line-height: 125%;
		
		vertical-align: top;
		
		margin: 1px;
		padding: 4px;
		border: 1px solid #927857;
		/*border-bottom: 1px solid #927857;
		border-left: 1px solid #eee;
		border-right: 1px solid #eee;*/
		background: #D7DBC4;
		}


/* Sidebar
----------------------------------------------- */
.sidebar-title {
  /*margin:1em 0 .25em;*/
  font: 150%/1.4em Helvetica, Arial, Verdana, Sans-serif;
  color:#000;
  /*text-transform:lowercase;*/
  }
  
#sidebar h1 {
	font: 150% Helvetica, Arial, Verdana, Sans-serif;
	font-weight: bold;
  	color:#000;
}

#sidebar h2 {
	font: 150% Helvetica, Arial, Verdana, Sans-serif;
	font-weight: bold;
  	color:#000;
}

#sidebar ul {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	font-weight: normal;
	color: #000;
	font-size: 13px;
	line-height: 14px;
}

#sidebar li {
	font-family: Helvetica, Arial, Verdana, Sans-serif;
	font-weight: normal;
	color: #000;
	font-size: 13px;
	line-height: 18px;
} 
  
#sidebar p {
	margin:0em 0em .75em;
 	line-height:1.4em;
 	color: #000;
  
  	font-family: "Helvetica", "Arial", Sans-Serif;
  	font-size: 13px;
  	font-weight: normal;
  }
  
/* Sidebar stuff stolen from Collylogic.com
-------------------------------------------*/

/*
#sidebar ul {list-style-type:none;margin:2px 2px 0px 2px;padding:3px;border:1px solid #EDEAEB;background-color:#FFF;color:#666}

#sidebar li a:link {
color:#666;
line-height:150%;
text-decoration:none;
display:block;
width:239px;
background:url(http://www.collylogic.com/images/ticks_grey.gif);
}

#sidebar li a:active {
color:#666;
line-height:150%;
text-decoration:none;
display:block;
width:239px;
background:url(http://www.collylogic.com/images/ticks_grey.gif);
}

#sidebar li a:hover {
color:#990000;
line-height:150%;
text-decoration:none;
display:block;
width:239px;
background:url(http://www.collylogic.com/images/ticks_grey.gif);
background-position: 0 -20px;text-decoration:none;
}

#sidebar li a:visited {
text-decoration:none;
line-height:150%;
display:block;
width:239px;
background:url(http://www.collylogic.com/images/ticks_grey.gif);
background-position: 0 -40px;
}
*/

/*
Sidebar Links ------------------- */
#sidebar a:link {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

#sidebar a:visited {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

#sidebar a:hover {
	color: #8B0000;
	text-decoration: underline;
	font-weight: bold;
}


  
/* Header
-----------------------------------------------*/
#header {
	/*background: #E9EDD6;*/
	font-size: 24px;
	clear: both;
	height: 133px;
}

.invisible {
	display: none;
}

/* Global Navigation
-----------------------------------------------*/
#globalNav {
	background: #B7BF96;
	text-align: right;
	/*text-transform: lowercase;*/
	letter-spacing: .02em;
	font: 13px  /*Verdana,*/ Helvetica, Arial, Sans-serif;
	clear: both;
	margin-top: 5px;
	padding-top: 5px;
	padding-right:5px;
	padding-bottom: 5px;
}

#globalNav a {
  	color:#000;
  	font-weight:bold;
  	text-decoration:none;
}
#globalNav a:hover {
  	color:#8B0000;
  	text-decoration:underline;
}

/* Breadcrumbs
----------------------------------------------- */
#breadcrumbs {
	background: #B7BF96;
	text-align: right;
	color: #E9EDD6;
	padding-bottom: 3px;
	font-size: 12px;
	/*border-bottom: 1px dashed #000;*/
	padding-right:5px;
}

#breadcrumbs a {
	color: #B8860B;
}

/* Last modified date
----------------------------------------------- */
#modified {
	float: right;
	color:#333;	
}
  
/* Footer
----------------------------------------------- */
#footer {
  clear:both;
  padding:5px 0 0;
  background: #B7BF96;
  text-align: right;
  margin-top: 5px;
  }
  
#footer p {
  margin:0;
  padding-right: 5px;
  padding-bottom: 8px;
  font-size: 10px;
  }


/* Forms
---------------------------------------------*/
label,input {
	display: block;
	width: 250px;
	float: left;
	margin-bottom: 10px;
}

#sidebar label, #sidebar input {
	width:auto;
	float:none;
	margin-bottom:auto;
	padding:0;
}

label {
	text-align: right;
	width: 75px;
	padding-right: 20px;
}

form br {
	clear: left;
}

#sidebar label, #sidebar input {
	width: 125px;
	float: none;
	margin-bottom: 0px;
}

#sidebar label {
	text-align: right;
}

#sidebar form br {
	clear: none;
}


/* Misc
----------------------------------------------- */
.clear {
  clear:both;
  display:block;
  height:1px;
  margin:0;
  padding:0;
  font-size:1px;
  line-height:1px;
  }
  
#main2 a em {
	/*text-decoration:underline;*/
	border-bottom: 2px solid #000;
	font-style:normal;
}

#sidebar2 a em {
	text-decoration:underline;
	font-style:normal;
}

#globalNav a em {
	text-decoration:underline;
	font-style:normal;
}
  
/************ Singleton classes *******************/

/* "Job" class
-------------------------- */
.job {
	margin-left: 25px;
	background: #FFECCB;
	padding-left: 25px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-top: 5px;
	border-top: 1px dashed #000;
	border-right: 1px dashed #000;
}

/* "Back to the Top"
------------------------------*/
.backTop {
	float:right;	
}

/* Box with image and text
-------------------------------*/
.imageText {
	float: right;
	border: 5px #D7DBC4 solid;
	width: 250px;
	background: #D7DBC4;
}

/* Optional right column with border and background
---------------------------------------------------------*/

.rightColumn {
	float: right;
	text-align: center;
	border: 1px solid #000;
	background: #d7dbc4;
	
	width: 192px;
	padding: 5px;
	margin: 5px;
}

.rightColumn img {
	border:solid 1px #000;
}

/*.shadow {
	top: 0px;
	left: 0px;
	float: left;
	margin: 0 auto;
	background: #888;
		width: 150px;

}

.drop {
	top:-4px;
	left:-4px;
	background: #ffffce;
	width: 150px;
	/*padding: 3px;
}*/

/* Error messages for formmail in /scripts
---------------------------------------------- */
.error {
  color: #c00000;
  padding:3px;
  border:2px solid red;
}

/* Photo Gallery class
---------------------------------------------- */
.photoGallery {
	width:auto;
}

.photoGallery img {
	margin:5px;
	float:none;
	border:solid 5px #fff;
}

.caption {
	background: #D7DBC4;
	/*width:510px;*/
	border:solid 1px #ccc;
	font-size:16px;
	margin-bottom:10px;
	
}

/*            ****** Case Solved Class ******            */
.caseClosed {
       background:red url(/assets/images/case-solved.png) no-repeat;
}
	
/* Discrete class
---------------------------------------------- */
.discrete {
	font-size:75%;
	color:#B7BF96;
}
