/****************************************
	General Styles
*****************************************/

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	background: #1b1b1b url('images/background.png') repeat-x top left;
	font-family: "myriad pro", segoe, "segoe ui", verdana, arial;
	font-size: 12px;
}

/* ie web-safe colors problem */
* html body { background-color: #141414; }

a {
	color: #009cd1;
	text-decoration: none;
	word-wrap: break-word;
}

a:hover {
	text-decoration: none;
	border-bottom: 1px solid #009cd1;
}

/****************************************
	Layout and Header
*****************************************/

#main {
	width: 90%;
	min-width: 800px;
	max-width: 1100px;
	
	/* set max/min width in ie - see http://www.svendtofte.com/code/max_width_in_ie/ */
	//width: expression( document.body.clientWidth > (1100/0.8) ? "1100px": (document.body.clientWidth < (800/0.8) ? "800px": "80%") );
	
	min-height: 100%;
	margin: 0 auto;
	position: relative;
}

/* hack for ie min-height */
* html #main { height: 100%; }

#header {
	height: 100px;
	margin: 0;
	/*text-indent: -10000px;*/
	overflow: hidden;
}

#header #logo {
	display:block;
	float: left;
	width: 348px;
	height: 55px;
	text-indent: -10000px;
	background: url('images/logo.png') no-repeat top left;
	margin: 0;
	padding: 0;
	text-decoration:none;
	border-width: 0;
}

#header #logo:hover { border-width: 0; text-decoration: none; }

#header ul {
	margin: -2px 0 0 0;
	padding: 0;
	float: right;
}

/* holly hack - see http://www.positioniseverything.net/explorer/escape-floats.html */
* html #header ul {height: 1%;}

#header ul:after, #main:after, #content:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#header ul li {
	float: left;
	margin: 0;
	padding: 0;
	list-style: none;
	text-indent: -10000px;
}

#header ul li a {
	display: block;
	padding: 0 1px 0 1px;
	margin: 0;
	height: 84px;
	width: 100px;

	text-indent: -10000px;
	text-decoration: none;	
}

#header ul li a:hover {
	text-decoration: none;
	border: none;
}

#pagelink-home {		background: url('images/pagelinks.png') no-repeat 0 0;	}
#pagelink-projects {	background: url('images/pagelinks.png') no-repeat 0 -84px;	}
#pagelink-photos {		background: url('images/pagelinks.png') no-repeat 0 -168px;	}
#pagelink-about {		background: url('images/pagelinks.png') no-repeat 0 -252px;	}

#pagelink-home:hover, #body-home #pagelink-home {
	background: url('images/pagelinks.png') no-repeat 0 -336px;	}
	
#pagelink-projects:hover, #body-projects #pagelink-projects {
	background: url('images/pagelinks.png') no-repeat 0 -420px;	}
	
#pagelink-photos:hover, #body-photos #pagelink-photos {
	background: url('images/pagelinks.png') no-repeat 0 -504px;	}
	
#pagelink-about:hover, #body-about #pagelink-about {
	background: url('images/pagelinks.png') no-repeat 0 -588px;	}

#content {
	color: white;
}

#entries {
	width: 74%;
	float: left;
	margin: 0 0 50px 0;
}

#footer {
	font-size: 12px;
	color: #888;
	position: absolute;
	right: 0;
	bottom: 10px;
}

img {
	margin: 10px;
	border: 1px solid #3e4243;
	padding: 4px;
}
img.right {float: right}
img.left {float: left}

/*-------------------------------------------------------------------------------*/

#searchdiv {
	margin-bottom: 10px;
}

input, textarea {
	background: #000000;
	border: 2px solid #3e4243;
	color: #dddddd;
	font-family: "myriad pro", segoe, "segoe ui", verdana, arial;
	font-size: 13px;
}

.firstpost p.comments_link, .entrybody p.comments_link {
	margin:0;
}

.firstpost, .entry {
	background-color: #2E3233;
	border: 1px solid #3e4243;
	padding: 10px 15px 10px 10px;
	margin-bottom:15px;
	color: #aaaaaa;
	font-size: 14px;
	line-height: 18px;
	background: url('images/signature.png') no-repeat right bottom;
}

.entrytitle {
	margin: 5px 0 10px -2px;
	padding: 0;
	font-size: 18pt;
	font-weight: normal;
	font-family: "myriad pro", segoe, "segoe ui", verdana, arial;
}

.entrymeta {
	margin-bottom: 5px;
	color: white;
}

.arc {
	border: 1px solid #3e4243;
	background-color:#2E3233;
	padding:10px;
	color:#FFFFFF;
	margin-bottom:15px;
}

/* comments*/

/* Sidebar styling*/

#sidebar {
	float:right;
	margin: 0 0 50px 0;
	background-color: #2E3233;
	padding: 5px 0 5px 0;
	color:#dddddd;
	border: 1px solid #3e4243;
	width: 24%;
}

#search-text {
	border: 2px solid #3e4243;
	width: 55%;
	font-size: 13px;
	margin: 0 0 0 8px;
	padding: 2px;
	color: #dddddd;
	font-family: "myriad pro", segoe, "segoe ui", verdana, arial;
}

#search-submit {
	border: 2px solid #3e4243;
	text-transform: lowercase;
	font-size: 13px;
	font-family: "myriad pro", segoe, "segoe ui", verdana, arial;
}

#sidebar h2 {
	margin: 0 0 10px -2px;
	padding: 0;
	font-size: 14pt;
	font-weight: normal;
	font-family: "myriad pro", segoe, "segoe ui", verdana, arial;
}

#sidebar ul {
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 5px;
}

#sidebar ul li {
	margin: 0 3px 0 3px;
	padding: 0;
	background: none;
}

#sidebar ul li ul {
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 25px;
}

#sidebar ul li ul li {
	background: url('images/bullet.png') no-repeat 0 2px;
	padding: 0 0 0 18px;
	margin: 0 0 3px 0;
	font-size: 12px;
}

