* { margin: 0; padding: 0; outline: 0; }

body {
	background: #e0e0e0 url(../img/bg.gif);
	font: 70%/1.5em Tahoma, Verdana, arial, sans-serif;
	color: #666666;
	text-align: center;
	margin: 15px 0;
}


#slider {
   position:relative;
   display:block;
   float:right;
   width:529px;
   height:240px;
   margin:20px 0;
   -webkit-box-shadow: #111 0px 0px 5px;
   -moz-box-shadow: #111 0px 0px 5px;
   box-shadow: #111 0 0 5px;
   behavior: url(/assets/css/PIE.php);
}
#slide2,#slide3,#slide4,#slide5,#slide6 {
    display:none;
}


#pagewrap {
	margin: 0 auto;
}
#wrap {
	position: relative;
	width: 820px;
	background: #CCC url(../img/content.jpg) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}
#top-bg {
	position: absolute;
	width: 820px;
	height: 19px;
	background: #CCC url(../img/top-bg.jpg) repeat-y center top;
	top: 0; left: 0;
	z-index: 2;
}
#content-wrap {
	position: relative;
	clear: both;
	float: left;
	width: 790px;
	padding: 0;
	padding-bottom:40px;
   background: #E8E8E8;
	border-top: 5px solid #FFF;
	border-bottom: 2px solid #D0D0D0;
	margin-left: 15px;
	display: inline;
}
#header {
	width: 820px;
	position: relative;
	height: 85px;
	background: #CCC url(../img/header-bg.jpg) repeat-y center top;
	padding: 0;
	color: #FFF;
	margin:0 auto;
}
#header h1 a {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bold 36px 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -1px;
	color: #787676;
	text-transform: none;
	text-decoration: none;

	/* change the values of top and left to adjust the position of the logo*/
	top: 25px; left: 30px;
}
#header h1 span {
	color: #9A9696;
}
#header h2 {
	position: absolute;
	margin: 0; padding: 0;
	font: normal 12px 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #838181;

	/* change the values of top and left to adjust the position of the slogan*/
	top: 67px; left: 55px;
}

#header #header-links {
	position: absolute;
	top: 20px; right: 20px;
	color: #838181;
	font-size: 10px;
}
#header #header-links a {
	color: #838181;
	text-decoration: none;
}
#header #header-links a:hover {
	color: #444;
}

#header-photo {
	clear: both;
	height: 200px;
	width: 790px;
	margin: 0 auto;
	background: #FFF url(../img/header-photo.jpg) no-repeat center center;
}

#header-photo h2 {
	position: absolute;
	top: 260px; right: 20px;
	color: white;
	font-size: 10px;
	padding:0;
	margin:0;
}

#main {
	float: left;
	width: 539px;
	padding: 20px 0 0 0;
	margin: 0 0 0 10px;
	display: inline;
}
#main h2 {
	font: normal 1.9em 'Trebuchet MS', Tahoma, Sans-serif;
	color: #85970C;
	text-transform: none;
	padding: 10px 0 10px 10px;
}
#main h2 a {
	color: #85970C;
	text-decoration: none;
}
#main ul li {
	list-style-image: url(../img/bullet.gif);
}
	
/*-------------------- links --------------------*/

a, a:visited {
	color: #5A93C9;
	background: inherit;
	text-decoration: none;
}
a:hover {
	color: #88ac0b;
	background: inherit;
	text-decoration: underline;
}

/*------------------ headers --------------------*/

h1, h2, h3 {
	clear:both;
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	font-weight: Bold;
	margin: 0;
}
h1 {
	font-size: 190%;
	font-weight: normal;
	color: #555;
}
h2 {
	font-size: 130%;
	text-transform: uppercase;
	color: #88ac0b;
}
h3 {
	font-size: 130%;
   padding:10px;
}
p {
  padding: 5px 10px;
}
ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
}
ul {
	list-style: none;
}
hr {
   clear:both;
   height: 3px;
   margin: 30px 0 10px 0;
	background: url(../img/nav.jpg) repeat-x;
   border: 0
}
p.testimonial {
	font-style: italic;	
}

/*------------------- images --------------------*/


img {
	padding: 5px;
}
img.nopadding {
	padding:0px;
}
img.float-right {
		margin: 5px 0px 10px 10px;
}
img.float-left {
		margin: 5px 10px 10px 0px;
}

/*----------------  form elements ----------------*/

form {
	padding: 10px 15px;
	border: 1px solid #88ac0b;
	border-left: 12px solid #88ac0b;
	margin:10px;
	background-color:#DFDFDF;
}
label {
	display:block;
	font-weight:bold;
	margin-bottom: 5px;
}
input:focus, textarea:focus, select:focus {
	background-color:#ffc;
}

input, select {
	padding:2px 10px 2px 10px;
   margin-left:15px;
	border:1px solid #D5D5D5;
	border-left: 9px solid #D5D5D5;
	font: normal 1em Verdana, sans-serif;
	color:#777;
	background:#fff;
}
input[type="radio"], input[type="checkbox"] {
	display:inline;
   margin-right:10px;
	font-weight:normal;
	background:none;
	padding:0;
	border:none;
}

img.captcha {
   padding:0;
   margin-left:25px;
	border:1px solid #D5D5D5;
	border-left: 9px solid #D5D5D5;
}
select {
	padding-right:1px;
}

textarea {
	width:350px;
	padding:2px 10px;
   margin-left:15px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #D5D5D5;
	border-left: 9px solid #D5D5D5;
	height:100px;
	display:block;
	color:#777;
}
textarea.small {
	height:50px;
}
input.button {
	font: bold 12px Arial, Sans-serif;
	height: 24px;
	margin-top: 20px;
	padding: 2px 13px;
	color: #FFF;
	background: #8EB50C url(../img/nav.jpg) repeat-x 0 0;
	border: none;
}

/*-------- WDNZDooForm styling ------------------*/

form.WDNZDooForm div.field_wrap {
	margin: 25px;
	padding:0;
}
/* comment out 'form.WDNZDooForm div.label_error' or 'form.WDNZDooForm div.field_error' depending on error display type required */
form.WDNZDooForm div.field_error {
	border:1px dashed #ccc;
	background-color:#fcc;
	margin: 20px 0;
	padding:10px;
}
/*
form.WDNZDooForm label.label_error {
	background-color:#999;
	padding:3px;
}
*/

/*-------------------- sidebar ------------------*/

#sidebar {
	float: right;
	width: 27.5%;
	padding: 0 10px 20px 0;
	margin: 0;
	border-left:1px dashed gray;
	border-bottom:1px dashed gray;
	background: #ffffcc;
}
#sidebar h3 {
	padding: 25px 5px 5px 10px;
	font: bold 1.4em 'Trebuchet MS', Tahoma, Sans-serif;
	color: #8C9F0D;
}

/*---------------- footer -----------------------*/

#footer-wrap {
	clear: both;
	width: 820px;
	font-size: 90%;
	text-align: center;
	padding: 15px 0 25px 0;
	background: url(../img/footer-bottom.jpg) no-repeat center bottom;
}
#footer-wrap p {
	padding:10px 0;
}
#footer-wrap a {
	text-decoration: none;
	color: #666666;
	font-weight: bold;
}
#footer-wrap a:hover {
	color: #000;
}

/*-----------------------------------------------*/

.post-footer {
	background: url(../img/post.jpg);
	padding: 5px; margin: 5px 10px 10px 10px;
	font-size: 95%;
	color: #AEA471;
	border: 1px solid #E0DBC9;
}
.quote {
	padding-left:20px;
}

.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

.clear { clear: both; }


.indented {
  padding-left: 40px;
}

/*-----------------------------------------------*/

.boxlink, .boxlinkover {
  cursor:pointer;
	display:block;
  background: url(../img/post.jpg);
  margin:10px;
  margin-bottom:20px;
  padding: 1px;
  padding-bottom:10px;
  border: 1px solid #e8e8e8;
}
.boxlinkover {
  cursor: pointer;
  background: #ffc;
  border:1px dashed gray;
}

img.icon {
	border:none;
	padding:0;
	margin:5px;
}

.subnav {
	background: url(../img/nav.jpg) repeat-x;
  border: 0
}
p.caption {
  margin:0 5px 0 5px;
  padding: 0;
	text-align:center;
	font-size: 85%;
}
img.centered, img.portfolio-centered{
	display:block;
	border:1px solid gray;
  background: white;
	margin:20px auto 20px auto;
}
img.portfolio, img.portfolio-centered {
  margin-top:30px;
	padding:2px;
	border:1px solid gray;
}
img.portfolio-centered {
	margin-bottom:0;
	clear:both
}
p.centered{
	text-align:center;
}

.highlighted {
	background-color: #ff3;
}

/*-------- WDNZDooFlashMessenger styling--------*/

div.WDNZDooFlashMessenger  {
	border:1px dashed #999;
	margin: 10px 0 50px 0;
}
div.WDNZDooFlashMessenger p {
	padding:20px 10px 20px 70px;
	background-repeat: no-repeat;
	background-position: 10px center;
}
div.WDNZDooFlashMessenger .error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('../img/cross.png');
}
div.WDNZDooFlashMessenger .info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('../img/info.png');
}
div.WDNZDooFlashMessenger .tick {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image: url('../img/tick.png');
}
div.WDNZDooFlashMessenger .cross {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('../img/cross.png');
}

/*------------- Tipsy jQuery tooltips -----------*/
.tipsy { margin:0 10px;padding: 8px; background-repeat: no-repeat; background-image: url(../img/tipsy2.gif); }
  .tipsy-inner { padding: 0; border:2px solid #C0C09F; background-color: #fff; color: #333; max-width: 300px; text-align: left; }
  .tipsy-north { background-position: top center; }
  .tipsy-south { background-position: bottom center; }
  .tipsy-east { background-position: right center; }
  .tipsy-west { background-position: left center; }
.tipsy span {display:block;padding:2px 10px;background-color:#ffc; border-bottom:2px solid #C0C09F;color:#592C16; font-size:1.1em; font-weight:bold;}
.tipsy p.link {display:block;padding:4px 10px;color:#3B6BEF; text-decoration:underline}
/*-----------------------------------------------*/

div.shadow {
 float:left;
 background: url(../img/dropshadow.gif) no-repeat bottom right;
 margin: 30px;
}
div.shadow div.container {
	border:1px solid #000;
	background-color:#fff;
   position: relative;
   display: block;
   padding:10px;
   margin: -3px 6px 6px -3px;
}
div.shadow p {
}

