/* @group reset */
* {
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
	border: 0;
	outline: none;
	font-size: 1em;
}

/* @end */

body {
	background: #e0e0e0 url(../i/bg-tile.png);
	color: #333;
	font: 12px/20px Helvetica, Arial, sans-serif;
	text-align: center;
}

p {
	margin-bottom: 20px;
}

/* @group Headings */

h1 {
}

h2 {
	border: 1px solid #000;
	border-width: 1px 0;
	margin-bottom: 20px;
	padding: 10px 0;
}

h2 span {
	display: block;
	height: 26px;
	text-indent: -9999px;
}

h3 {
	font-size: 14px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

h4 {
	font-size: 12px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

/* @end Headings */

/* @group Links */

a {
	font-weight: bold;
}

a:link {
	color: #cb0103;
}
a:visited {
	color: #cb0103;
}
a:hover{
	text-decoration: underline;
}
a:active, a:focus {
	position: relative;
	top: 1px;
}

/* @end Links */

/* @group Helper Styles */

.offleft {
	position: absolute;
	top: 0;
	left: -9999px;
}

.align-left {
	float: left;
	margin: 0 20px 15px 0;
}

.img-border {
	background: #fff;
	border: 1px solid #000;
	padding: 1px;
}

.inline li {
	display: inline;
}

#back-to-top {
	height: 30px;
	width: 30px;
	position: fixed;
	right: 7px;
	bottom: 6px;
	margin-bottom: 0;
}

#back-to-top a {
	background: url(../i/top.png) no-repeat;
	display: block;
	height: 30px;
	text-indent: -9999px;
}

#back-to-top a:hover {
	background-position: 0 -30px;
}

/* @end Helper Styles */


/* @group Layout */
#wrap {
	background-image: url(../i/wrap-bg.png);
	background-repeat: no-repeat;
	background-position: 900px 0;
}

#main {
	margin: 0 auto;
	width: 920px;
	position: relative;
}

.section {
	clear: both;
	text-align: left;
	width: 920px;
	padding-bottom: 60px;
	position: relative;
	overflow: hidden;
}

.grid-2x2 {
	overflow: hidden;
	width: 920px;
}

.grid-2x2 .col1 {
	float: left;
	width: 450px;
}

.grid-2x2 .col2 {
	float: right;
	width: 450px;
}

/* @end Layout */

/* @group Masthead */

#masthead {
	background: url(../i/pattern.png) no-repeat 0 40px;
	height: 280px;
	position: relative;
}

#masthead h1 {
	background: url(../i/markwallis.png) no-repeat;
	height: 102px;
	width: 310px;
	position: absolute;
	top: 136px;
	left: 0;
	text-indent: -9999px;
}

#masthead h2 {
	background: url(../i/webdesigner.png) no-repeat;
	border: none;
	height: 50px;
	width: 569px;
	position: absolute;
	top: 241px;
	left: 0;
	text-indent: -9999px;
}

#masthead p {
	/* background: url(../i/ibuild.png) no-repeat; */
	height: 98px;
	width: 98px;
	position: absolute;
	top: 80px;
	left: 308px;
}

#masthead p a {
	background: url(../i/ibuild.png) no-repeat;
	display: block;
	height: 98px;
	width: 98px;
	text-indent: -9999px;
}

#masthead p a:hover {
	background-position: 0 -98px;
}


/* @end Masthead */

/* @group Nav */

#nav {
	background: url(../i/nav-bg.png) no-repeat;
	height: 70px;
	width: 524px;
	position: absolute;
	top: 9px;
	left: 399px;
}

#nav ul {
	background: url(../i/nav.png) no-repeat 0 0;
	height: 40px;
	width: 352px;
	position: absolute;
	top: 0;
	left: 160px;
}

#nav ul li {
	display: inline;
}

#nav a {
	display: block;
	height: 40px;
	position: absolute;
	top: 0;
	text-indent: -9999px;
}

.work-item {
	width: 92px;
	left: 0;
}
a.work-item:hover {
	background: url(../i/nav.png) no-repeat 0 -40px;
}

.about-item {
	width: 112px;
	left: 92px;
}
a.about-item:hover {
	background: url(../i/nav.png) no-repeat -92px -40px;
}

.contact-item {
	width: 148px;
	left: 204px;
}
a.contact-item:hover {
	background: url(../i/nav.png) no-repeat -204px -40px;
}

/* @end Nav */


/* @group Social */

#social {
	background: #000;
	padding: 10px;
	width: 323px;
	position: absolute;
	top: 79px;
	left: 600px;
}

#social div {
	background: #292929;
	border: 1px solid #333;
	width: 218px;
	overflow: hidden;
	padding: 0 3px;
}

#social p {
	color: #f2f2f2;
	float: left;
	margin-bottom: 0;
}

#social ul {
	float: right;
}

#social li {
	display: inline;
}

#social img {
	float: left;
	padding-top: 2px;
	margin-left: 5px;
}

/* @end Social */

/* @group Work */

.work-hd {
	background: url(../i/work.png) no-repeat;
	width: 106px;
}

#work li {
	background-color: #000;
	width: 920px;
	overflow: hidden;
	margin-bottom: 20px;
}

.work-img {
	background-color: #fff;
	border: 1px solid #000;
	display: block;
	height: 346px;
	float: left;
	padding: 1px;
}

.work-details {
	float: left;
	width: 266px;
	margin-left: 20px;
	padding-top: 20px;
}

.work-details p, .work-details a {
	color: #fff;
}

.view {
	background: url(../i/view.png) no-repeat;
	display: block;
	height: 32px;
	width: 95px;
	text-indent: -9999px;
}

a.view:hover {
	background-position: 0 -32px;
}

/* @end Work */


/* @group About */

.about-hd {
	background: url(../i/about.png) no-repeat;
	width: 133px;
}
		
.downloads a {
	display: block;
	float: left;
	height: 32px;
	margin-right: 20px;
	text-indent: -9999px;
}

#resume {
	background: url(../i/resume.png) no-repeat;
	width: 137px;
}

a#resume:hover {
	background-position: 0 -32px;
}

#vcard {
	background: url(../i/vcard.png) no-repeat;
	width: 111px;
}

a#vcard:hover {
	background-position: 0 -32px;
}

.inspired {
	width: 100%;
	overflow: hidden;
	margin-bottom: 20px;
}

.inspired li a {
	display: block;
	float: left;
	margin-right: 20px;
	text-indent: -9999px;
}

#myfonts {
	background: url(../i/myfonts-logo.png) no-repeat;
	height: 35px;
	width: 68px;
}

a#myfonts:hover {
	background-position: 0 -35px;
}

#mwm {
	background: url(../i/mwm-logo.png) no-repeat;
	height: 29px;
	width: 29px;
}

a#mwm:hover {
	background-position: 0 -29px;
}

#jsm {
	background: url(../i/jsm-logo.png) no-repeat;
	height: 30px;
	width: 159px;
}

a#jsm:hover {
	background-position: 0 -30px;
}

#slanted {
	background: url(../i/slanted-logo.png) no-repeat;
	height: 29px;
	width: 97px;
}

a#slanted:hover {
	background-position: 0 -29px;
}

.versions li {
	float: left;
	width: 136px;
	margin-right: 20px;
}

.versions span {
	color: #666;
}

.versions a span {
	color: #000;
	display: block;
	font-weight: bold;
}

.versions a span.thumb {
	height: 91px;
	overflow: hidden;
	width: 136px;
	margin-bottom: 4px;
}

.versions a:hover span {
	color: #CB0103;
}

.versions span.v1 {
	background: url(../i/v1-thumb.png) no-repeat 0 -91px;
}

.versions span.v2 {
	background: url(../i/v2-thumb.png) no-repeat 0 -91px;
}

.versions span.v3 {
	background: url(../i/v3-thumb.png) no-repeat 0 -91px;
}

.versions a:hover span.thumb img {
	display: none;
}



/* @end About */

/* @group Work */

/* @end Work */

/* @group Contact Form */

#contact {
	background: rgba(0,0,0,.05);
	border: 1px solid #c3c3c3;
	padding: 20px;
}

.contact-hd {
	background: url(../i/contact.png) no-repeat;
	width: 186px;
}

#contact label {
	display: block;
	margin-bottom: 10px;
	overflow: hidden;
}

#contact label span {
	float: left;
	width: 25%;
	margin-right: 20px;
}

#contact label input, #contact textarea {
	border: 2px solid #c3c3c3;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	width: 65%;
	padding: 5px;
}

#contact label input:hover, textarea:hover {
	border-color: #959595;
}

#contact div {
	padding: 0 0 10px 124px;
}

#contact label span.explain {
	color: #666;
	display: block;
	font-style: italic;
	padding-left: 124px;
	width: 100%;
}

a.fn {
	color: #000;
}

.error-msg {
	background: #e60001 url(../i/alert.png) no-repeat 5px 50%;
	border: 1px solid #ce0001;
	font: 12px/2em Georgia, serif;
	font-style: italic;
	color: #fff;
	line-height: 2em;
	padding-left: 25px;
	margin-bottom: 10px;
}

.success-msg {
	background: #8ec409 url(../i/success.gif) no-repeat 5px 50%;
	border: 1px solid #5da002;
	font: 12px/2em Georgia, serif;
	font-style: italic;
	color: #fff;
	line-height: 2em;
	padding-left: 18px;
	margin-bottom: 10px;
}

.error span {
	color: #CB0103;
}

#contact label.error input {
	background-color: #fcc;
	border-color: #CB0103;
}

#download-worksheet {
	background:rgba(0, 0, 0, 0.05);
	border:1px solid #C3C3C3;
	padding:10px;
	margin-bottom: 20px;
}

#download-worksheet img {
	float: left;
}

#download-worksheet p {
	margin-left: 45px;
	margin-bottom: 0;
}

/* @end Contact Form */

/* @group Copyright */
#copyright {
	border: 1px solid #000;
	border-width: 1px 0;
	text-align: center;
	line-height: 3.5em;
	margin-bottom: 0;
}

#copyright a {
	color: #000;
}
/* @end Copyright */

/* @group Intro */

#intro {
	background: rgba(0,0,0,.05);
	border: 1px solid #c3c3c3;
	padding: 20px;
	margin-bottom: 20px;
	width: 880px;
}

#intro h1 {
	font-size: 24px;
	margin-bottom: 6px;
}

#intro h1 a {
	color: #000;
}

#intro p {
	font-family: Georgia, serif;
	font-style: italic;
	margin-bottom: 0;
}

/* @end Intro */

/* @group HW Item */

.hw-item {
	margin-bottom: 20px;
}

.hw-item-thumb {
	background: url(../i/gradient.png) no-repeat 0 100%;
	padding-bottom: 10px;
	position: relative;
}

.hw-item-thumb a {
	background-color: #d8d8d8;
	border: 1px solid #9b9b9b;
	display: block;
	height: 241px;
	padding: 4px;
}

.hw-item-thumb a:hover {
	background-color: #ccc;
	border-color: #666;
}

.hw-item-thumb span {
	background: url(../i/hw-view.png) no-repeat;
	display: block;
	width: 446px;
	height: 247px;
	position: absolute;
	top: 2px;
	left: 2px;
	z-index: 1;
}

.hw-item-thumb img {
	border: 1px solid #fff;
}

/* @end HW Item */