/* Main layout and header */

 * {
margin:0;
padding:0;
	}

html, body {
height:100%;
	}

body {
text-align: center;
color:#283A50; 
font:75% Arial,sans-serif; 
background-color:#bac1c9;; 
}

#distance { 
		    width:100px;
		    height:50%;
		    background-color:#bac1c9;
		    margin-bottom:-350px; /* half of content's height */
		    float:left;
		}

#wrap {
margin:0 auto; 
position: relative;
clear: left; 
width:800px;
height: auto;
background:#fff; 
color: #283A50; 
}

#header {
background:url(images/header.jpg) no-repeat bottom left #fff; 
color:#283A50; 
width: 800px;
height:180px; 
margin:0; 
padding:0;}

#header h1 {
font-size:2.5em; 
font-weight:400; 
letter-spacing:-2px; 
margin:0 0 15px 15px; 
padding:20px 0 0;}

#header h1 a,#header h1 a:hover {
font-weight:400; 
padding:0;
color:#bac1c9;}

#header p {
font-size:1.1em; 
letter-spacing:-1px; 
margin:0 0 20px 15px; 
padding:0 0 0 3px;
color:#283A50;}

/* Left sidebar and menu */
#leftside {
clear:left; 
float:left; 
margin:15px 0 10px; 
padding: 0 0 0 5px; 
width:150px;}

#leftside ul.menu {
list-style:none; 
margin:0 0 18px; 
padding:0; 
width:150px;
height:380px;}

#leftside ul.menu li {
display:inline; 
padding:0; 
width:150px;}

#leftside ul.menu li a {
background:url(images/menu01.gif) repeat-x bottom left #f4f4f4; 
border-bottom:1px solid #d8d8d8; 
border-left:4px solid #ccc; 
border-right:1px solid #d8d8d8; 
border-top:1px solid #d8d8d8; 
color:#fffbf0; 
float:left; 
font-size:1em; 
font-weight:400; 
margin-bottom:5px; 
padding:5px 1px 5px 5px; 
text-decoration:none; 
width:138px;}

#leftside ul.menu li a:hover,#leftside ul.menu li a.current {
background:url(images/menu02.gif) repeat-x bottom left #eaeaea; 
border-bottom:1px solid #b0b0b0; 
border-left:4px solid #e1a200; 
border-right:1px solid #b0b0b0; 
border-top:1px solid #b0b0b0; 
color:#283A50;
font-weight: 600;}

#leftside ul.menu ul {
font-size:0.9em; 
margin:0 0 0 15px; 
padding:0 0 5px 0; 
width:133px;}

#leftside ul.menu ul a {
padding:3px 1px 3px 5px; 
width:123px;}

#leftside ul.menu ul ul {
font-size:1em; 
width:120px;}

#leftside ul.menu ul ul a {
width:108px;}

#leftside h2 {
font-size:1.5em; 
font-weight:400;}

#leftside .announce {
background:url(images/menu01.gif) repeat-x bottom left #f4f4f4; 
border-bottom:1px solid #d8d8d8; 
border-left:4px solid #ccc; 
border-right:1px solid #d8d8d8; 
border-top:1px solid #d8d8d8; 
clear:left; 
color:#fff; 
line-height:1.3em; 
margin:10px 0; 
padding:5px 5px 5px; 
width:134px;}

#leftside p,.announce p {
font-size:0.9em;}

/* Right sidebar */
#extras {
float:right; 
margin:15px 0 10px; 
padding:0; 
overflow: hidden;
width:160px;
font-size: 90%;
font-family: "helvetica neue", sans-serif;
text-align: left;
letter-spacing: 1px;
color: #283A50;}

#extras p,#extras ul {
font-size:0.9em; 
line-height:1.3em; 
margin:0 0 1.5em; 
padding:0;}

#extras li {
list-style:none; 
margin:0 0 6px; 
padding:0;}

#extras h2 {
font-size:1.0em; 
font-weight:bold; 
letter-spacing: 1.5px; 
margin:0 0 6px;
padding: 0 0 0 10px;
line-height: 26px;
background: #e1a200;
color: #fff;}

#extras h3 {
font-size:1.4em; 
font-weight:bold; 
letter-spacing: -0.5px; 
margin:0 0 6px;
padding: 20px 0 0 5px;
line-height: 12px;
color: #283A50;}

#extras h4 {
font-size:0.9em; 
font-weight:normal; 
letter-spacing: 0px; 
margin:0 0 6px;
padding: 0 0 0 5px;
line-height: 12px;
color: #283A50;}

#extras h5 {
font-size:0.9em; 
font-weight:normal; 
font-style: italic;
letter-spacing: 0px; 
margin:0 0 6px;
padding: 10px 0 0 5px;
line-height: 12px;
color: #283A50;}

#extras h6 {
font-size:0.9em; 
font-weight:normal; 
letter-spacing: 0px; 
margin:0 0 6px;
padding: 20px 0 0 5px;
line-height: 12px;
color: #283A50;}

#extras a {
color:#283A50; 
text-decoration:underline; 
font-weight:normal;}

#extras a:hover {
color:#557baa; 
text-decoration:underline;}


/* Main content */
#content {
line-height:1.5em; 
margin:15px 170px 10px 160px; 
padding:0; 
text-align:left;}

#contentwide {
line-height:1.5em; 
margin:10px 0 10px 160px; 
padding:0; 
text-align:left;}

#content p {
margin:0 15px 16px 20px;}

#content h2,#contentwide h2 {
font-size:1.4em; 
font-weight:600; 
letter-spacing: -0.5px;
margin:6px 0; 
padding:10px 0 5px 15px;}

#content h3,#contentwide h3 {
font-size:1.0em; 
font-weight:bold; 
letter-spacing: 1.5px; 
margin:10px 0 5px 0; 
padding:0 15px 0 20px;}

#content h4,#contentwide h4 {
font-size:0.9em; 
font-weight:normal; 
font-style: italic;
letter-spacing: 0px; 
line-height:14px;
margin: 0; 
padding:0 15px 0 20px;}

#content h5,#contentwide h5 {
font-size:1.0em; 
font-weight:bold; 
color: #fff;
background: #e1a200;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
letter-spacing: 1.5px; 
margin: 0; 
padding:0 15px 0 20px;}

#content h6,#contentwide h6 {
font-size:1.4em; 
font-weight:600; 
letter-spacing: -0.5px;
margin:6px 0; 
padding: 60px 0 5px 15px;}

#content img,#contentwide img {
background:#ccc; 
border:0px solid #f0f0f0; 
color:#303030; 
display:inline; 
padding:0; 
margin:0;}

#content ul,#content ol,#contentwide ul,#contentwide ol {
list-style: square;	
margin:0 0 16px 25px; 
padding:0;}

#content ul ul,#content ol ol,#contentwide ul ul,#contentwide ol ol {
margin:2px 0 2px 15px;}

#content li,#contentwide li {
margin:0 0 2px 5px; 
padding:2px 10px 2px 5px;}

#content a,#contentwide a {
color:#283A50; 
text-decoration:underline; 
font-weight:normal;}

#content a:hover,#contentwide a:hover {
color:#557baa; 
text-decoration:underline;}

#navlist ul {font-size: 100%; color: #999; list-style:none; margin:0; padding:10px 5px 0 0; color: #bdad9d;}
#navlist li {display: inline; list-style:none; text-transform: none; font-size: 90%; font-weight: bold; margin:0; padding:0 10px 0 0; color: #bdad9d;}
#navlist li a {padding:0 5px 0 0; color: #e1a200; font-weight: bold;}
#navlist li a:hover {list-style:none; margin:0; padding:0 5px 0 0; color: #bac1c9;}
#navlist ul ul {line-height:1.2em; margin:20px 0 3px 15px; padding:0 5px 0 0; font-weight: bold; color: #bac1c9;}
#navlist ul ul li a {margin:10px 0 3px 15px; padding:0 5px 0 0; font-weight: bold; color: #e1a200; text-transform: lowercase;}
#navlist #current {text-decoration: underline; font-weight: bold; color: #283A50;}



/* Footer */
#footer {
width:800px;
height: 20px;
clear:both; 
margin:0 auto; 
padding: 2px 0; 
background:#283A50; 
border-top: 0px solid #283A50; 
color: #bac1c9; 
font-size:0.6em; 
font-style: italic;
text-align: center;
line-height: 20px;
letter-spacing: 1.5px;}

#footer p {
margin:0; 
padding:0;}

#footer a, a:visited {
background:inherit; 
color:#bac1c9; 
font-weight:400; 
text-decoration:underline;}

#footer a:hover {
text-decoration:underline;
color: #f3f4f5;}

#footer span {
font-size:1.2em;}

/* Typography and paragraphs */
a img {border:0;}

p {margin:0 0 16px;}

blockquote {
background:url(images/menubg.gif) 
repeat-x bottom left #f4f4f4; 
border-bottom:1px solid #d8d8d8; 
border-left:4px solid #ccc; 
border-right:1px solid #d8d8d8; 
border-top:1px solid #d8d8d8; 
color:#505050; 
margin:16px; padding:7px 7px 7px 11px;}

blockquote p {
font-size:1.1em; 
line-height:1.3em; 
margin:0;}

/* Gallery */
#gallery {   
   height : auto;
   margin : 15px 0 20px 0;   
   padding: 0;
   border: 0px solid #000;
}

#gallery ul {
    list-style: none;	
	}

#gallery li {
    list-style: none;
	float: left;
}

#gallery li a {
	display: block;
	width: 180px;
	height: 82px;
	margin: 0 0 5px 0;
	padding: 5px;
	border: 1px solid #ccc;
	background-color: #bac1c9;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}

#gallery li a:hover {
    color: #eaeff4;
	text-decoration: none;}

#gallery li a img {
	margin: 0px;
	padding: 0px;
	border: 0px solid #ccc;
	text-decoration: none;
}

  a.linkopacity img {
filter:alpha(opacity=100); 
-moz-opacity: 1.0; 
opacity: 1.0;}

a.linkopacity:hover img {
filter:alpha(opacity=50);   
-moz-opacity: 0.5;   
opacity: 0.5;
}


/* Portfolio */
#portfolio {   
   height : auto;
   margin : 15px 0 20px 0;   
   padding: 0;
   border: 0px solid #000;
}

#portfolio ul {
    list-style: none;	
	}

#portfolio li {
    list-style: none;
	float: left;
}

#portfolio li a {
	display: block;
	width: 360px;
	height: 164px;
	margin: 0 0 5px 40px;
	padding: 5px;
	border: 1px solid #ccc;
	background-color: #bac1c9;
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}

#portfolio li a:hover {
    color: #eaeff4;
	text-decoration: none;}

#portfolio li a img {
	margin: 0px;
	padding: 0px;
	border: 0px solid #ccc;
	text-decoration: none;
}


/* Contactform */
table {
border:1px solid #ccc; 
border-collapse:collapse; 
line-height:1.3em; 
width:80%; 
margin: 5px 0 15px 20px; 
padding: 5px 0 0 0;}

td {
background: #e7ebed; 
color: #283A50; 
font-size: 0.9em; 
padding: 2px 2px 2px 10px; 
text-align:left;}

input,textarea {
border: 1px solid #ccc; 
font-family: Arial,sans-serif; 
font-size: 1em; 
margin: 0; 
color: #283A50; 
padding: 4px;}

input {width:150px;}
textarea {width:250px;}

button {
background:url(images/menu01.gif) repeat-x bottom left #bac1c9; 
border-bottom:1px solid #ccc; 
border-left:4px solid #ccc; 
border-right:1px solid #ccc; 
border-top:1px solid #ccc; 
color: #283A50; 
font-weight: bold; 
font-size:1.0em; 
margin:0 0 15px; 
padding: 2px 5px 2px 9px; 
width:100px;
height: 26px;}

/* Search box */
#searchbox label,.hide {display:none;}
#searchbox {margin:6px 0 16px; padding:0;}
#searchform {background:#fff; border:1px solid #ccc; color:#505050; font-size:0.9em; padding:4px; width:116px;}

/* Additional classes */
.announce h2 {margin:0 0 10px; padding:0;}
.textright {margin:-10px 0 4px; text-align:right;}
.center {text-align:center;}
.small {font-size:0.8em;}
.large {font-size:1.3em;}
.red {color:red;}
.green {color:green;}
.blue {color:blue;}
.highlighted {background:#f0f0f0; border:1px solid #b0b0b0; color:#303030; padding:3px;}
.left {float:left; margin:10px 10px 5px 0;}
.right {float:right; margin:10px 0 5px 10px;}

/* Lightbox */
#lightbox {position:absolute; left: 0; width: 1270px; height: auto;  z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(webdesign/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(webdesign/images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; color: #000; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; background-color: #d8dadf; }
