/* Margin resets for block-level elements */

html {
	background: #FFF;
	color: #000;
	margin: 1em;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6, p, pre, blockquote, cite, label, dl, ul, ol, fieldset, address {
	clear: both;
	margin: 1em 0;
	padding: 0;
	text-indent: 0;
}

p {
	clear: inherit;
}

table {
	border-collapse: collapse;
	border-spacing: .3em;
	clear: both;
}

caption, th {
	text-align: left;
}

table, td {
	font-size: inherit;
}

ul, ol, li, dd, blockquote {
	margin-left: 1em;
}

/* Typography resets for normal text, semantic text, and headings */

body {
	font-size: 76%;
	font-style: normal;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin: .5em 0 .3em 0;
}

h1 { font-size: 2.0em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1.0em; }

address, abbr, acronym {
	font-style: normal;
}

acronym, abbr {
	border-bottom: 1px dotted #333;
	cursor: help;
}

acronym {
	text-transform: uppercase;
}

pre, kbd, code, samp, tt, var {
	font-family: monospace;
}

pre {
	white-space: pre-wrap;       /* css-3 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

del {
	text-decoration: line-through;
}

/* get forms to show up correctly */

form {
	margin: 1em 0;
	padding: 0;
}

form label {
	cursor: pointer;
	margin: 0;
	padding: .3em;
}

fieldset {
	border: none;
}

select, textarea {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	display: block;
	font-size: 100%;
}

/* list element margins and default styles */

ul { list-style-type: disc; }
ul ul { list-style-type: circle; }
ul ul ul { list-style-type: square; }
ul ul ul ul { list-style-type: disc; }

ol { list-style-type: decimal; }
ol ol { list-style-type: upper-alpha; }
ol ol ol { list-style-type: lower-roman; }
ol ol ol ol { list-style-type: decimal; }

/* Miscellaneous oddities and fixes */

a img {
	border: none;
}

hr {
	background-color: #666;
	border-width: 0;
	height: 1px;
	text-align: left;
	width: 95%;
}

iframe {
	border-width: 0;
}

:focus {
	outline: 0;
}

/* Common classes */

.hidden {
	display: none;
	visibility: hidden;
}

.visible {
	display: block;
	visibility: visible;
}

.invisible {
	visibility: hidden;
}

.cleanup {
	clear: both;
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0;
}

/* main css starts */
html {
	background: #cdc1b1 url(../images/n01-1.jpg) repeat;
	color: #666;
}

body {
  font-family: "Lucida Grande", Verdana, Arial, sans-serif;
  color: #666;
  text-align: center;
  font-size: 1em;
  min-width: 600px;
}
#wrapper {
	margin: 0 auto;
	width:886px;
	width:877px;
	text-align: left;
	border: 0 dashed #ff3022;
}

#monkeytop{
	width: 152px;
	width: 100%;
	height: 83px;
	background: url(/images/nav-monkey/monkey_top.gif) no-repeat 0 0;
	color: #787878;
	text-align: right;
}
#monkeytop h1{
	font: bold 2em Georgia, "Times New Roman", Times, serif;
	z-index: 3;
	display: block;
	position: absolute;
	float: right;
	width:870px;
	padding-top: 15px;
}
#monkeytop h2{
	z-index: 3;
	display: block;
	float: left;
	width:870px;
	font: .5em "Lucida Grande", Lucida, Verdana, sans-serif;
	text-align: left;
	margin-left: 150px;
	padding-top: 65px;
	padding-bottom: 0;
	position: absolute;
}
#monkeytop h2 a{
	color: maroon;
	text-decoration: none;
	font-style: italic;
}
#monkeyleft{
	width: 79px;
	height: 53px;
	background: url(/images/nav-monkey/monkey_left.gif) no-repeat;
	float: left;
	top: 83px;
	position: relative;
}
#monkeywrapper {
	/*width:807px;*/
	width:798px;
	left: 90px;
	border: 0 dashed #ff3022;
	float: right;
}


.floatright {
	float: right;
}

/* kwicks - the fancy but painful nav */
.kwicks {
	list-style: none;
	position: relative;
	margin: 0;
	padding: 0;
}
.kwicks li{
	display: block;
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	float: left;
	width: 198px;
	height: 158px;
	margin-right: 5px;
}

.kwicks li a{
	display: block;
	height: 100%;
	width: 100%;
	z-index: 3;
	position: absolute;
}

#kwick1 { 
	background-color: #D19781;
	background-image: url('/images/nav-monkey/aboutme.jpg');
}
	#kwick1.active { 
		background-image: url('/images/nav-monkey/aboutme_on.jpg');
	}
#kwick2 {
	background-color: #BAA797;
	background-image: url('/images/nav-monkey/ot.jpg');
}
	#kwick2.active {
		background-image: url('/images/nav-monkey/ot_on.jpg');
	}
#kwick3 {
	background-color: #A4BC72;
	background-image: url('/images/nav-monkey/photography.jpg');
}
	#kwick3.active {
		background-image: url('/images/nav-monkey/photography_on.jpg');
	}
#kwick4 { 
	background-color: #A2B7AC;
	background-image: url('/images/nav-monkey/webdev.jpg');
	margin-right: none;
}
	#kwick4.active {
		background-image: url('/images/nav-monkey/webdev_on.jpg');
	}
/* row colours */
#rows {
	width:100%;
	height: 318px;
	color: #444;	
	font: .75em "Lucida Grande", Lucida, Verdana, sans-serif;
}

	#rows a{
	color: #000;
	text-decoration: none;
	font-weight: bold;
	}
	#rows a.hover{
		color: #444;
	}
	
	#rows h2{
	font-size: 100%;
	display: inline-block;
	font-weight: normal;
	font-style: normal;
	}
	
	#rows p{
		padding-right: 10px;
		padding-left: 10px;
	}

/* indvidual row bits */
#rowTop{
	/*width:807px;*/
	width: 798px;
	height: 190px;
	overflow: visible;
	margin-bottom: 2px;
}
#rowBottom{
	/*width:807px;*/
	width: 798px;
	height: 104px;
	margin:0;
	overflow: visible;
}


/* the second nav down - links controlled by jflow */
/* scroller - the scroller for the main body content */
#links {
	background-color: #D2AD65;
	color: #464646;
	width:100%;
	height: 20px;
	font: 1em/1.5em "Lucida Grande", Verdana, Arial, sans-serif;
	margin-top: 2px;
	margin-bottom: 2px;
}

	#links span{
		margin-left: 2px;
		margin-right: 8px;
		cursor:pointer;
	}

	.jFlowControl {
		float: left;
	}
	.linkscontact{
		margin: 0px;
		height: 16px;
		float: right;
	}

	#jFlowSlide{
		border-style: none;
	}
	
	#links span.jFlowSelected, #links span.jFlowSelected.hover {
		color: #030201;
	}
	
	.jFlowPrev, .jFlowNext{
	cursor:pointer;
	}
	
/* the content rows - individ colors */
.content1{
	background-color: #D19781;
}
.content2{
	background-color: #BAA797;
}
		
.content3{
	background-color: #A4BC72;
}
.content4{
	background-color: #A2B7AC;
}

/* simpleModal - the contact form */
#contactForm, #basicModal, #confirmDialog {margin-left:8px;}
input.contactf {cursor:pointer; background:url(/images/contact/input.gif) repeat-x; border:3px double #999; border-top-color:#ccc; border-left-color:#ccc; color:#777; font-weight:bold; font-size:1.2em; margin-right:4px; width:160px;}
input.contactf:hover {color:#336699;}
#notice {position:relative; width:800px; margin:0 auto; font-weight:bold; font-size:.7em; color:#333; text-align:right; top:16px;}


/* friendfeed scroller */
#friendfeed{
	height: 80px;
	width: 100%;
	margin: 5px;
	overflow: auto;
}
.bottomtitle{
	margin-left: 5px;
	font-size: .9em;
	font-weight:bold; 
}

a.jScrollArrowUp {
	background: url(/images/scroll/basic_arrow_up.gif) no-repeat 0 0;
}
a.jScrollArrowUp:hover {
	background-position: 0 -15px;
}
a.jScrollArrowDown {
	background: url(/images/scroll/basic_arrow_down.gif) no-repeat 0 0;
}
a.jScrollArrowDown:hover {
	background-position: 0 -15px;
}
a.jScrollActiveArrowButton, a.jScrollActiveArrowButton:hover {
	background-position: 0 -30px;
}

/* making column css */
dl {
  clear:both;
  width:728px;
  height:8em;
  margin:2em auto;}
dt {
  margin-bottom:1em; 
  font-weight:bold;}
dd {
  width:33%; 
  float:left; 
  margin:0;}

ol.first {
  counter-reset:item 0;}
ol.second {
  counter-reset:item 5;}
ol.third {
  counter-reset:item 9;}

ol li {
  display: block;}
ol li:before {
  content: counter(item) ". "; 
  counter-increment: item 1;}

/* gallery */
.gallery ul {
  list-style: none;
	margin: 0px 0px 10px;
	text-align: center;
}
.gallery ul li {
  display: inline;
  padding-right: 2px;
}
#gallery-flickr {
	padding: 0;
	margin: 0;
}
/* END GALLERY ELEMENTS */
#tumblr {
	display: none;
}

/* modal */
#modalOverlay {
  background-color:#000;
  cursor:wait;
}

#modalContainer {
  height:500px;
  width:665px;
  left:50%;
  top:15%;
  margin-left:-300px; // half the width, to center
  background-color:#fff;
  border:3px solid #ccc;
}

#modalContainer a.modalCloseImg {
  background:url(/images/modal/x.png) no-repeat;
  width:25px;
  height:29px;
  display:inline;
  z-index:3200;
  position:absolute;
  top:-14px;
  right:-18px;
  cursor:pointer;
}

