/* -------------------------------------------------------------- 
  
  RESET
   
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }



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

   TYPOGRAPHY
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html {font-size:100.01%;}
body { 
  font-size: 75%;
  color: #222; 
  background: #fff;
  font-family: Verdana, "Verdana Ref", sans-serif;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { 
	font-size:18px;
	margin-bottom:7px;
	text-transform:uppercase;
}

h3 { 
	font-size: 13px; 
	text-transform:uppercase;
	line-height: 1; 
	margin-bottom: 1em; 
}
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

p           { margin: 0 0 1.5em; }
p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }

a:focus, 
a:hover     { color: #000; text-decoration: underline; }
a           { color: #000; text-decoration: none; outline: 0; }


h2 a {
	color: #000 !important;
}

blockquote  { margin: 1.5em; color: #666; font-style: italic; }
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr, 
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         {color:#666;}

pre 				{ margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

li ul, 
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  {background:#ff0;}
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }


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

   GRID
   
-------------------------------------------------------------- */

/* A container should group all your columns. */
.container {
  width: 990px;
  margin: 0 auto;
  z-index: 1;
}

/* Use this class on any div.span / container to see the grid. */
.showgrid { 
  background: url(images/grid.png); 
}


/* Columns
-------------------------------------------------------------- */

/* Sets up basic grid floating and margin. */
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24, div.span-25 {
  float: left;
  margin-right: 10px;
}

/* The last column in a row needs this class. */
.last, div.last { margin-right: 0; }

/* Use these classes to set the width of a column. */
.span-1  { width: 30px; }
.span-2  { width: 70px; }
.span-3  { width: 110px; }
.span-4  { width: 150px; }
.span-5  { width: 190px; }
.span-6  { width: 230px; }
.span-7  { width: 270px; }
.span-8  { width: 310px; }
.span-9  { width: 350px; }
.span-10  { width: 390px; }
.span-11  { width: 430px; }
.span-12  { width: 470px; }
.span-13  { width: 510px; }
.span-14  { width: 550px; }
.span-15  { width: 590px; }
.span-16  { width: 630px; }
.span-17  { width: 670px; }
.span-18  { width: 710px; }
.span-19  { width: 750px; }
.span-20  { width: 790px; }
.span-21  { width: 830px; }
.span-22  { width: 870px; }
.span-23  { width: 910px; }
.span-24  { width: 950px; }
.span-25  { width: 990px; margin-right: 0; }



/* Add these to a column to append empty cols. */

.append-1  { padding-right: 40px; } 
.append-2  { padding-right: 80px; } 
.append-3  { padding-right: 120px; } 
.append-4  { padding-right: 160px; } 
.append-5  { padding-right: 200px; } 
.append-6  { padding-right: 240px; } 
.append-7  { padding-right: 280px; } 
.append-8  { padding-right: 320px; } 
.append-9  { padding-right: 360px; } 
.append-10  { padding-right: 400px; } 
.append-11  { padding-right: 440px; } 
.append-12  { padding-right: 480px; } 
.append-13  { padding-right: 520px; } 
.append-14  { padding-right: 560px; } 
.append-15  { padding-right: 600px; } 
.append-16  { padding-right: 640px; } 
.append-17  { padding-right: 680px; } 
.append-18  { padding-right: 720px; } 
.append-19  { padding-right: 760px; } 
.append-20  { padding-right: 800px; } 
.append-21  { padding-right: 840px; } 
.append-22  { padding-right: 880px; } 
.append-23  { padding-right: 920px; } 
.append-24  { padding-right: 960px; } 

/* Add these to a column to prepend empty cols. */

.prepend-1  { padding-left: 40px; } 
.prepend-2  { padding-left: 80px; } 
.prepend-3  { padding-left: 120px; } 
.prepend-4  { padding-left: 160px; } 
.prepend-5  { padding-left: 200px; } 
.prepend-6  { padding-left: 240px; } 
.prepend-7  { padding-left: 280px; } 
.prepend-8  { padding-left: 320px; } 
.prepend-9  { padding-left: 360px; } 
.prepend-10  { padding-left: 400px; } 
.prepend-11  { padding-left: 440px; } 
.prepend-12  { padding-left: 480px; } 
.prepend-13  { padding-left: 520px; } 
.prepend-14  { padding-left: 560px; } 
.prepend-15  { padding-left: 600px; } 
.prepend-16  { padding-left: 640px; } 
.prepend-17  { padding-left: 680px; } 
.prepend-18  { padding-left: 720px; } 
.prepend-19  { padding-left: 760px; } 
.prepend-20  { padding-left: 800px; } 
.prepend-21  { padding-left: 840px; } 
.prepend-22  { padding-left: 880px; } 
.prepend-23  { padding-left: 920px; } 
.prepend-24  { padding-left: 960px; } 


/* Border on right hand side of a column. */
div.border {
  padding-right: 4px;
  margin-right: 5px;
  border-right: 1px solid #eee;
}

/* Border with more whitespace, spans one column. */
div.colborder {
  padding-right: 24px;
  margin-right: 25px;
  border-right: 1px solid #eee;
}



/* Misc classes and elements
-------------------------------------------------------------- */

/* In case you need to add a gutter above/below an element */
.prepend-top { 
  margin-top:1.5em; 
}
.append-bottom { 
  margin-bottom:1.5em; 
}

/* Use a .box to create a padded box inside a column.  */ 
.box { 
  padding: 1.5em; 
  margin-bottom: 1.5em; 
  background: #E5ECF9; 
}

/* Use this to create a horizontal ruler across a column. */
hr {
  background: #ddd; 
  color: #ddd;
  clear: both; 
  float: none; 
  width: 100%; 
  height: .1em;
  margin: 0 0 1.45em;
  border: none; 
}
hr.space {
  background: #fff;
  color: #fff;
}


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
  content: "\0020"; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
  overflow:hidden; 
}
.clearfix, .container {display: block;}

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear {clear:both;}



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

   GLOBAL
   
-------------------------------------------------------------- */

#content {
	margin-top: 83px;
	
}

#sidebar {
	position: fixed;
	top: 80px;
}

#main {
	float: right;
}

/* Logo
-------------------------------------------------------------- */

h1 a {
	display: block;
	width: 230px;
	height: 152px;
	text-indent: -9999em;
	background-repeat: no-repeat;
	
}


/* Section colours
-------------------------------------------------------------- */

.peach,
body#about a 	{	color: #ffa583;	} /* about */

.blue,
body#links a	{	color: #3800ae;	} /* links */

.aqua,
body#portfolio a,
body#portfolio span.new	{	color: #00abd1;	} /* portfolio */

.purple,
body#selected a,
body#selected span.new	{	color: #9b00bc;	} /* selected projects */

.yellow,
body#blog a	{	color: #f3bd00;	} /* blog */


#navigation ul li.about a:hover,
body#about #navigation ul li.about > a {	border-color: #ffa583;	}

#navigation ul li.selected a:hover,
body#selected #navigation ul li.selected > a {	border-color: #9b00bc;	}

#navigation ul li.portfolio a:hover,
body#portfolio #navigation ul li.portfolio > a {	border-color: #00abd1;	}

#navigation ul li.blog a:hover,
body#blog #navigation ul li.blog > a {	border-color: #f3bd00;	}

#navigation ul li.links a:hover,
body#links #navigation ul li.links > a {	border-color: #3800ae;	}


/* Contact details
-------------------------------------------------------------- */

.phone, .email, .address {
	text-transform: uppercase;
	font-size: 13px;
}
.email a {
	color: #000 !important;
}



/* Navigation
-------------------------------------------------------------- */

#navigation {
	margin-bottom:4px;
}

#navigation ul.top
{	margin:0;
padding:0;
position:fixed;
top:36px;
z-index:1000;
	}
	
	#navigation ul li
	{	
		float: left;
		list-style: none;
		
	}

	#navigation ul li a
	{	
		border-bottom:1px solid black;
		color:#818285;
		display:block;
		font-size:14px;
		margin-right:10px;
		padding:3px 4px 4px;
		text-decoration:none;
		text-transform:uppercase;
		white-space:nowrap;
		width:142px;
		color: #818285;
	}
	body#selected #navigation ul li.selected > a,
	body#about #navigation ul li.about > a,
	body#portfolio #navigation ul li.portfolio > a,
	body#blog #navigation ul li.blog > a,
	#navigation ul li a:hover,
	#navigation ul li a.selected {
		color: #000;
	}
	
	#navigation ul li.last a {
		margin-right: 0px;
	}

	#navigation ul li a:hover
	{	
	
	}
		
		#navigation ul li ul
		{	margin: 0;
			padding: 0;
			display: none;
			width:140px;
		}
		
		#navigation ul li ul li ul {
			display: none;
		}
		
		
		#navigation ul li ul li
		{	float: none;
			display: inline;
		}
		
		#navigation ul li ul li ul {
			display: none;
			width:300px;
		}
		
		#navigation ul li ul li a
		{	
			-moz-opacity:.93; 
			filter:alpha(opacity=93); 
			background-color:#FFFFFF;
			border-top:0 none;
			opacity:0.93;
			padding:5px;
			width:300px;
		}
		
		#navigation ul li ul li a:hover
		{	
		
		}
		
/* Blog
-------------------------------------------------------------- */

#blog .post {
	border-bottom:1px solid #000000;
	margin-bottom:26px;
	padding-bottom:3px;
}

#blog .categories {
	margin-top: 40px;
}

#blog .categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#blog .post span.date {
	color: #818285;
}

		
/* Portfolio
-------------------------------------------------------------- */

#portfolio .project,
#selected .project {
	border-bottom:1px solid #000000;
	margin-bottom:26px;
	padding-bottom:3px;
}

