/*-----------------------------------------------------------------------------
markjohnwallis v2.0 Style Sheet

version:   1.0
author:    mark wallis
email:     info@markjohnwallis.com
website:   http://www.markjohnwallis.com/
-----------------------------------------------------------------------------*/

/* =General
-----------------------------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

/* Class for clearing floats */
.clear {
	clear:both;
}

/* Class used for not displaying element */
.display-none {
	display:none;
}

/* Class used for adding icon to external link elements */
a.external {
	background: url(i/external-link.gif) no-repeat right top;
	padding-right: 10px;
}

a.external:hover {
	background: url(i/external-link-hover.gif) no-repeat right top;
}


/* Remove border around linked images */
img {
	border: 0;
}


body {
	background-color: #fff;
	color: #333;
	text-align: center;
	background: #000 url(i/bg-tile-002.gif) top left repeat;
}

h2 {
	margin: 0.75em 0 0 20px;
	color: #564f46;
	letter-spacing: -1px;
	clear: both;
}

h3 {
	margin: 0 20px;
}

p {
	margin: 0 20px 0.5em 20px;
	
}

a {
	color: #7f8160;
	text-decoration: none;
	border-bottom: 1px dotted #7f8160;
}

a:hover {
	background: #e5e6df;
	color: #4a4d3c;
	border-bottom: 1px solid #4a4d3c;
}

h2 a {
	color: #564f46;
	background: #fff;
	border: none;
}

h2 a:hover {
	color: #564f46;
	background: #fff;
	border: none;
}

.fl-left {
	float: left;
}

.outline {
	display: block;
	background: #fff;
	margin: 0 1em 10px 0;
	padding: 5px;
	border: 1px dotted #ccc;
}

.block {
	margin: 0.5em 20px 0 20px;
	
}

.block p {
	margin: 0 0 0.5em 140px;
}

/* =Typography
-----------------------------------------------------------------------------*/
body {
	font: small/1.5 Verdana, sans-serif;
}

h1 {
	font-size: 200%;
}

h2 {
	font-size: 200%;
	font-weight: normal;
	/*font-family: Georgia, serif;*/
	letter-spacing: -1px;
}

h3 {
	font-size: 112%;
}

p, ul, ol, dl {
	font-size: 112%;
}

/* =wrap
-----------------------------------------------------------------------------*/
#wrap {
	background: #fff url(i/wrap-bg-tile-002.gif) top left repeat-y;
	width: 600px;
	height: auto;
	margin: 0 auto;
	text-align: left;
	border: 10px solid #aaac80;
	border-width: 0 10px 10px 10px;
}

/* =masthead
-----------------------------------------------------------------------------*/
#masthead {
	position: relative;
	width: 600px;
	height: 160px;
	background: #2a312d url(i/masthead-bg.gif) top left no-repeat;
}

/* =logo
-----------------------------------------------------------------------------*/
h1#logo {
	position: absolute;
	width: 282px;
	height: 52px;
	background: url(i/logo.gif) top left no-repeat;
	top: 88px;
	left: 20px;
}

h1#logo a {
	display: block;
	width: 282px;
	height: 52px;
	text-indent: -9999px;
	border: none;
}

h1#logo a:hover {
	background: transparent;
	border: none;
}

/*
 * :NOTE: - non semantic span - neccessary for image replacement 
 * Glider/Levin method - allows text to show with images turned off & 
 * nice to screenreaders.
 *-------------------------------------------------------------------------*/ 
/*#masthead span {
	background: transparent url(i/masthead-003.gif) top left no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
}*/

/* =nav
-----------------------------------------------------------------------------*/
ul#nav	{
	font-size: 118%;
	height: 2.5em;
	margin: 0;
	position: relative;
	background: #151917;
}

ul#nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	background: url(i/nav-div.gif) no-repeat bottom right;
}
	
ul#nav a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 0 12px;
	letter-spacing: 1px;
	line-height: 2.5em;
	border: none;
}

ul#nav a:hover {
	background: #2a312d url(i/nav-hover-tile.gif) repeat-x bottom left;
}

ul#nav a.active {
	background: #2a312d url(i/nav-hover-tile.gif) repeat-x bottom left;
}
	

/* =Main Content
-----------------------------------------------------------------------------*/

#content {
	/*background: transparent url(i/content-bg.gif) top left no-repeat;*/
	width: 600px;
	height: auto;
	margin: 0;
	padding: 0;
	/*padding-top: 20px;*/
	/*padding-top: 155px;*/
}



/* =Web Portfolio
-----------------------------------------------------------------------------*/
#web-portfolio {
	margin-left: 20px;
	width: 560px;
	height: auto;
	margin-bottom: 3em;
}

#web-portfolio dt {
	font-weight: bold;
	/*letter-spacing: -1px;*/
	padding: 0.25em 0;
}

#web-portfolio dd {
}

#web-portfolio dd a {
	display: block;
	/*padding: 3px;*/
	background: #fff;
	border: 5px double #D5D5D5;
	/*border: 1px solid #d5d5d5;*/
}

#web-portfolio dd a:hover {
	background: #efefef;
}

dd.portfolio-info {
	font-size: 90%;
	margin-top: 0.25em;
	margin-bottom: 1.5em;
}

dd.portfolio-info span {
	font-weight: bold;
}

#web-portfolio dd.portfolio-info a {
	display: inline;
	border: none;
	border-bottom: 1px dotted #7f8160;
}

#web-portfolio dd.portfolio-info a:hover {
	background: transparent;
	border-bottom: 1px solid #4a4d3c;
}

/* =Design
-----------------------------------------------------------------------------*/
#design {
	/*float: left;*/
	margin: 0.5em 0 0 20px;
	list-style: none;
}

#design li {
	float: left;
}

#design li a {
	display: block;
	/*width: 70px;
	height: 70px;*/
	padding: 3px;
	border: 1px solid #dedede;
	margin: 0 10px 10px 0;
	
	/*background: #7f8160;
	margin: 0 10px 10px 0;
	border: none;*/
}

#design li a:hover {
	/*background: #aaac80;
	border: none;*/
	background: #efefef;
}

#design li a img {
}

/* =Css-Design
-----------------------------------------------------------------------------*/
#css-design {
	margin: 0.5em 20px 20px 20px;
}

#css-design dd {
	padding-bottom: 10px;
}

/*#css-design dt a {
	font-weight: bold;
	color: #c00;
	border: none;
	background: none;
}

#css-design dt a:hover {
	color: #f00;
}*/


/* =Skills
-----------------------------------------------------------------------------*/
#skills {
	margin: 0.5em 20px 1em 22px;
	
}

#skills dt {
	font-weight: bold;
	color: #333;
}

#skills dd {
	padding-bottom: 10px;
}

/* =About Me
-----------------------------------------------------------------------------*/
/*#about-me {
	margin: 0.5em 0 0 20px;
	position: relative;
}

#about-me img {
	float: left;
	border: 5px solid #ccc;
	margin-top: 5px;
	margin-right: 0.5em;

}*/

/* =Enjoying
-----------------------------------------------------------------------------*/
#enjoying {
	/*width: 560px;*/
	margin: 0.5em 20px 1.5em 20px;
	/*float: left;*/
	
}

#enjoying dt {
	padding: 0;
	margin: 0;
	width: 420px;
	font-weight: bold;
	color: #333;
	float: right;
}

#enjoying dd {
	margin: 0 0 0 140px;
}

#enjoying dd.img {
	float: left;
	margin: 5px 0 0 0;
	padding: 0;
}

#enjoying dd.img a {
	display: block;
	margin: 0;
	padding: 3px;
	background: #fff;
	border: 1px solid #dedede;
}

#enjoying dd.img a:hover {
	background: #efefef;
}

/* =Bookshelf
-----------------------------------------------------------------------------*/
#bookshelf {
	margin: 0.5em 0 20px 20px;
	list-style: none;
    /*float: left;*/
	position: relative;
	
}

#bookshelf li {
	float: left;
}

#bookshelf li a {
	display: block;
	/*width: 70px;
	height: 76px;*/
	background: #fff;
	margin: 0 10px 30px 0;
	padding: 3px;
	border: 1px solid #dedede;
}

#bookshelf li a:hover {
	background: #efefef;
}

#bookshelf li a img {
}

/* =Contact Form
-----------------------------------------------------------------------------*/
h3.contact {
	font-weight: normal;
	color: #666;
	border-bottom: 2px solid #ccc;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
}

#contact-form {
	margin: 1em 20px 1em 20px;
}

#contact-form dt {
	font-size: 90%;
	font-weight: bold;
	color: #666;
}

#contact-form dd {
	margin-bottom: 0.5em;
}

#contact-form em {
	color: #c00;
}

#contact-form p {
	margin-left: 0;
}

#contact-form #realname, #contact-form #email, #contact-form #url {
	width: 250px;
	padding: 2px;
	/*font-size: 100%;*/
	color: #333;
}

#contact-form textarea {
	width: 400px;
	height: 180px;
	padding: 2px;
	font-family: inherit;
	font-size: 93%;
	color: #333;
}

.note {
	color: #666;
	font-style: italic;
	font-size: 115%;
	margin: 0.5em 0;
}

.alert {
	color: #333;
	padding-left: 25px;
	padding-top: 2px;
	padding-bottom: 2px;
	background: url(i/alert.gif) 0 50% no-repeat;
}

/* :Note: using a class here so we can dynamically toggle between .display-none & .form-error */
.form-error {
	padding: 0.5em 0.25em;
	background-color: #fcc;
	border: 2px solid #900;
	border-width: 2px 0;
	color: #900;
	font-size: 110%;
}

.form-error .alert {
	color: #600;
}

/* =Thanks
-----------------------------------------------------------------------------*/
#thanks {
	padding: 1em 0.5em;
	margin: 0.5em 20px 4em 20px;
	background: #fdfee5;
	border: 2px solid #cccc99;
	border-width: 2px 0;
	color: #999966;
	/*font-size: 115%;*/
}

#thanks .check {
	padding: 2px 2px 2px 32px;
	background: transparent url(i/check.gif) no-repeat 2px 50%;
}


/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	background: #fff;
	border: 3px double #aaac80;
	width: 560px;
	height: auto;
	margin: 0 auto 20px auto;
	clear: both;
}

#footer p {
	color: #333;
	text-align: center;
	font-size: 112%;
	line-height: 2.5em;
	margin: 0;
}

/*#footer a {
	color: #333;
	border-bottom: 1px dotted #333;
}

#footer a:hover {
	color: #000;
	border-bottom: 1px solid #333;
	background: #fff;
}*/


