/* Stylesheet for tim.darkshines.co.uk
 *
 * Copyright Tim Williams 2007
 *
 * Date commenced: 23/02/2007
 * Revision: 1.0
 * Author: Tim Williams
 *
 */

body {
	background: url("../img/background.gif") #ffffff repeat-x;
	background-attachment: fixed;
	background-position: bottom left;
	color: #555;
	font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma, Helvetica, Verdana, sans-serif; 
	line-height:1.5; 
	font-size:x-small; 
	voice-family: "\"}\""; 
	voice-family:inherit; 
	font-size:small;
	margin: 0;
	padding: 0;
}

h2 { 
	font-family: "Lucida Sans Unicode", "Lucida Grande", "Trebuchet MS", sans-serif;
	letter-spacing: -0.05em; 
	font-weight:normal;  
	font-size:150%; 
	clear: both;
	color: #666;
	border-bottom: 1px dashed #999;
}

#container {
	position: relative;
	width: 800px;
	margin: 0 auto;
}

#header {
	background: #fff;
	margin: 0px 50px;
	padding: 20px;
	padding-bottom: 40px;
	position: relative;
}

#header img { float: left; }

#header h1 {
	color: #fff;
	font-size: 1px;
	position: absolute;
	top: 0px;
	left: 0px;
}

#content { 
	background: #fff;
	margin: 0px 50px;
	padding: 20px;
}

#content p { 
	clear: both; 
	text-align: justify;
}

#content dl {
	display: block;
	width: 110px;
	padding-left: 10px;
	float: right;
	font-size: 10px;
	margin: 0 10px 0 0;
}

#content dl dd {
	margin-left: 0;
}

#content dl dt {
	font-weight: bold;
}

#content .preview {
	float: left;
	width: 500px;
	padding: 0;
	margin: 0;
}

#previewwrap {
	background: url('../img/diag.gif');
	padding: 10px;
}
	

/* IE won't see this next rule */
html > body #container #bottom {
	background: url("../img/bottom.png") top left no-repeat;
	height: 225px;
}
/* only IE can see this next rule */
* html #container #bottom {
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.tim.darkshines.co.uk/portfolio/img/bottom.png');
	height: 225px;
}

#footer { 
	clear: both;
	background: #fff;
	margin: 0px 50px;
	padding: 20px;
}

.clearfix { clear: both; font-size: 1px; }

#footer p { float: left; }

#footer br { clear: both; display: none; }

p { margin-bottom: 0;}

ul.nav {
	float: right;
	margin-left: 0;
	padding-left: 0;
	white-space: nowrap;
}

#thumbs { float: none; display: block; width: 660px; }

#header ul.nav {
	margin-top: 35px;
}

.nav li {
	display: inline;
	list-style-type: none;
}

#thumbs li { 
	float: left;
}

.nav a { margin: 0px 5px; }

a, a:visited, .fakelink { 
	color: #ff0066;
	text-decoration: none;
	border-bottom: 1px dotted #ff0066;
}

.fakelink, #close-button {
	cursor: pointer;
	cursor: hand;
}

a:hover, a:active {
	color: #ff0066;
	text-decoration: none; 
	border-bottom: 1px solid #ff0066;
}

a img { border: none }

#thumbs a img, #thumbs a:visited img { border: 3px solid #ccc; }

#thumbs a:hover img, #thumbs a:active img { border: 3px solid #ff0066; }

#thumbs a, #thumbs a:hover, #thumbs a:visited, #thumbs a:active { border: none; }

#content a.preview, #content a.preview:hover, #content a.preview:visited, #content a.preview:active { border: none; }

/*************************
 * Contact Form Stylings
 *************************/

form {  
  margin: 0 auto;
  padding: 0;
  padding-bottom: 20px;
  width: 560px; 
  position: relative;
}

#close-button {
	position: absolute;
	top: 10px;
	right: 0;
}


form fieldset {
  border-color: #999;
  border-width: 1px;
  border-style: solid;
  padding: 10px;
  margin: 0;
}

form fieldset legend { font-size:1.1em; }

form label { 
	display: block;  
	float: left; 
	width: 150px; 
	padding: 0; 
	margin: 5px 0 0; 
	text-align: right; 
}

form input, form textarea {
	width:auto;  
	margin:5px 0 0 10px; 
}

form input#reset { margin-left: 0px; }

textarea { overflow: auto; }

form .required { font-weight:bold; }

form br { clear: left; }

/**********************************
 * Overlay styling
 * ********************************/

#overlay {
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	position: absolute;
	top: 0;
	left: 0;
	z-index:100;
	width: 100%;
	height: 100%;
	display:none;
}

.window {
	background-color: #fff;
	border: #ccc 4px solid;
	position: absolute;
	top: 0px;
	z-index: 104;
	width:780px;
	text-align:left;
	margin: 20px;
	padding:15px;
	display: none;
}



