@charset "ISO-8859-1";
/* CSS Document */

body { 
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	background: url('http://media.danielcrisp.com/images/common/effect.gif') top repeat #171717;
	color: #FFF;
	text-align: center;
}

form, fieldset { border: none; margin: 0; padding: 0; }
img { border: none; display: block; }
a { outline: none; color: #ffe400; text-decoration: none; }
a:hover, a:active, a:focus { background-color: #ffe400; color: #000; }
	
h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, "Times New Roman", Times, serif;	
}

p { margin: 0.6em 0; }
code { font-size: 1.2em; background-color: #333; padding: 4px; }
	hr {
		height: 1px;
		color: #666;
		background-color: #666;
		border: none;
		border-top: 1px solid #666;
		overflow: hidden;
		clear: both;
	}

#wrapper {
	width: 810px;
	padding: 0 20px 0 20px;
	margin: 0 auto;
	text-align: left;
	background: url('http://media.danielcrisp.com/images/common/body-bg.jpg') top repeat-x #171717;
	/*background-color: #1c1c1c;
	border-bottom: 1px solid #1c1c1c;*/
	position: relative;
}

#header { height: 100px; }

#contact { 
	font-size: 0.7em;
	background-color:#000;
	padding: 6px 10px;
	height: 150px;
	width: 790px;
	position: absolute;
	top: -170px;
}
#contact .sending, #contact .sent { display: none; text-align: center; padding: 30px; }
#contact .close-link { float: right; font-size: 0.9em; width: 50px; text-align: right; } 
#contact form { clear: both; margin-top: 10px; }
#contact p { display: inline; }

#hire-me {
	position: absolute;
	top: -15px;
	width: 105px;
	height: 105px;
}
#hire-me a {
	display: block;
	width: 105px;
	height: 105px;
	background: url('http://media.danielcrisp.com/images/common/hire-me.png') no-repeat top;
	text-indent: -999em;
}
#hire-me a:hover {
	background-position: bottom;
}

#hire-me img { display: block; }

#logo {
	float: right;
	width: 220px;
	position: relative;
	line-height: 1.8em;
}

#logo p {
	display: block;
	position: absolute;
	top: 0px;
	margin: 0;
	padding: 0;
}
#logo p a, #logo p strong {
	display: block;
	background-color: #000;
	padding: 15px 5px;
	width: 210px;
	text-align: center;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size: 24pt;
	color: #fff;
	font-weight: normal;
	letter-spacing: -1px;
	text-decoration:none;
}
#logo p a:hover, #logo p a:active, #logo p a:focus {
	background-color: #ffe400;
	color: #000;
}
#logo p a:hover .colour, #logo p a:active .colour, #logo p a:focus .colour {
	color: #333;	
}
#logo h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	position: absolute;
	top: 55px;
	font-weight: normal;
	width: 220px;
	text-align: center;
}

.colour { color: #ffe400; }

#content {
	font-size: 0.7em;	
	line-height: 1.8em;
}
h2 {
	font-size: 4.2em;
	font-weight: normal;
	margin-top: 0;
}
h2 a, h2 span {
	padding-left: 23px;
	color: #fff;
	background: url('http://media.danielcrisp.com/images/common/arrow.png') no-repeat 5px 0.4em;
}
h2 a:hover, h2 a:active, h2 a:focus {
	background-color: #ffe400;	
	color: #000;
	background-position: 5px -80px;
}
#projects h2 {
	font-size: 2.2em;
}
.project { 
	margin: 10px 0 20px 0; 
	padding: 10px;
	background: url('http://media.danielcrisp.com/images/common/freelance.gif') top right no-repeat;
}
.project.wsd { background-image: url('http://media.danielcrisp.com/images/common/webscript.gif'); }
.project.personal { background-image: url('http://media.danielcrisp.com/images/common/personal.gif'); }

.project .details, .box {
	background-color: #212121;
	padding: 10px;
	border-bottom: 1px dotted #666;
	position: relative;
}
.box { margin-top: 15px; }
.box h2 {
	margin-top: 10px;	
}
.project .details .screenshot {
	width: 552px;
	height: 247px;
	float: left;
}
.project .details .thumbnail { display: none; }
.project .details .info {
	float: right;
	width: 200px;
}
.project .details .info ul.disciplines {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 0.9em;
}
.project .details .info ul.disciplines li {
	list-style: none;
	display: block;
	padding: 0px 3px 0px 15px;
	background: url('http://media.danielcrisp.com/images/common/bullet.gif') no-repeat 5px 0.6em;
	text-transform: uppercase;
}
.project .details .info ul.disciplines li a {
	color: #FFF;	
}
.project .details .info ul.disciplines li a:hover, .project .details .info ul.disciplines li a:focus, .project .details .info ul.disciplines li a:active {
	color: #FFF;
	background: none;
}
.project .visit {
	position: absolute;
	bottom: 10px;
	right: 10px;
}
.project .visit a {
	width: 198px;
	padding: 5px;
	display: block;
	text-align: center;
	background-color: #000;
	color: #fff;
}

.project .visit a:hover, .project .visit a:active, .project .visit a:focus {
	background-color: #ffe400;
	color: #000;
}

/*********************************/
/*          FORM LAYOUT          */
/*********************************/

label { 
	display: block;
	float: left;
	width: 40%;
	clear: left;
	margin: 3px 0;
	font-style: italic;
}
label.right { float: right; clear: none; width: 60%; }

label strong {
	display: block;
	float: left;
	width: 70px;
	text-align: right;
	padding: 4px;
	font-weight: normal;
}
label input {
	width: 208px;	
}
label textarea {
	width: 366px;
	height: 70px;
}
label input, label textarea {
	background-color: #212121;
	border: 1px dotted #666;
	color: #fff;
	padding: 3px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}
label input:focus, label textarea:focus {
	background-color: #333;	
	border-color: #ffe400;
}
.submit { 
	text-align: right;
	padding-right: 20px;
	clear: both;
}
.submit input {
	border: 0px;
	background-color: #333;
	color: #FFF;
	display: block;
	width: 100px;
	text-align: center;
	padding: 4px;
	float: right;
	cursor: pointer;
	margin-right: 2px;
	font-size: 0.9em;
	font-weight: bold;
	
}
.mandatory { color: #F00; }

input.invalid, textarea.invalid, input:focus.invalid, textarea:focus.invalid { 
	border-color: #F00;
}
div.invalid {
	float: right;
	width: 16px;
	height: 16px;
	overflow: hidden;
	margin: 4px 0 0 4px;
	background: url('http://media.danielcrisp.com/images/invalid.gif') no-repeat #f00;
}
/*********************************/

#colorboxes { display: none; }

.clear { clear: both; }

#footer {
	font-size: 0.65em;
	text-align: left;
	color:#666;
	margin: 20px 0;
}
#footer a {
	color: #fff;	
}
#footer a:active, #footer a:hover, #footer a:focus {
	background-color: #ffe400;
	color: #000;
}
#footer hr { display: none; }
#footer .more-info {
	background-color: #000;
	padding: 5px 10px;
	background-color: #000;
	margin-bottom: 30px;
}
#footer .more-info .column {
	float: left;
	width: 255px;
}
#footer .copyright { padding-bottom: 20px; width: 50%; float:left; }
#footer .hosting { padding-bottom: 20px; width: 50%; float: left; text-align: right; }
#footer .hosting img { display: inline; }

#discipline {
	color: #333;
	font-size: 0.7em;
	width: 725px;
	background: url('http://media.danielcrisp.com/images/common/effect.gif') repeat #222;
	padding-bottom: 15px;
}
#discipline h2 { 
	background-color: #000;
	color: #fff;
	padding: 10px;
	margin-top: 0px;
	font-weight: normal;
	font-size: 2.2em;
}
#discipline h3 { 
	background-color: #000;
	color: #fff;
	padding: 10px;
	font-weight: normal;
}
#discipline #matches ul, #discipline #matches ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#discipline #matches ul li {
	width: 155px;
	display: inline; /* OVERRIDEN LATER */
	margin: 5px;
	background-color: #000;
	color: #FFF;
	cursor: pointer;
}
#discipline #matches ul li img { border: 10px solid #000; }
#discipline #matches ul li p { margin: 0 10px 10px 10px;  }
#discipline #matches ul li:hover {
	background-color: #ffe400;
	color: #000;
}
#disciplines { 
	font-size: 0.9em; 
}
#disciplines ul, #disciplines ul li, .box ul.inline, .box ul.inline li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: inline;
}

#disciplines ul li, .box ul.inline li a {	
	display: inline; /* OVERRIDEN LATER */
	margin: 3px;
	cursor: pointer;
	padding: 3px 10px 3px 15px;
	background: url('http://media.danielcrisp.com/images/common/bullet.gif') no-repeat 7px 0.6em #000;
	color: #FFF;
	text-transform: uppercase;
}
#disciplines ul li:hover, .box ul.inline li a:hover {
	background-color: #ffe400;	
	color: #000;
	background-position: 7px -87px;
}
#disciplines ul li:hover a { color: #000; }
#disciplines ul li a:hover { color: #000; }

/* GIVE OLD IE A HAND */
#discipline>#matches>ul>li {
	display: inline-block;
}
#disciplines>ul>li {	
	display: inline-block;
}

label.test { visibility: hidden; height: 0; overflow: hidden; }

.inset {
	float: right;
	width: 200px;
	padding: 5px;
	background-color: #333;
	font-size: 0.8em;
	margin: 0 0 10px 10px;
	color:#CCC;
	text-align: right;
	line-height: normal;
}

/*************************************/
/*          BLOG OVERRIDES           */
/*************************************/

#content.blog {
	font-size: 0.8em;
	margin-top: 20px;
}
#content.blog h2 {
	font-size: 3.6em;
}

#content.blog label { float: none; }