html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
 
/* Begin design */ 
 
body {
	background:url(img/body-color.jpg) repeat;
	font-family:Arial, 'Lucida Grande', sans-serif;
	font-size:62.5%;
	min-width:950px;
}

#whole {
	background:url(img/body-back.jpg) repeat-x top left;
	background-attachment:fixed;
	width:100%;
	font-size:1.4em;
}

#container {
	width:950px;
	
}

#sidebar {
	position:fixed;
	top:40px;
	left:40px;
	width:420px;
}

#content {
	margin-left:500px;
	padding-top:40px;
	z-index:200;
}

#main {
	background-color:#fff;
	padding:25px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#sidebar h1 a {
	display:block;
	width:411px;
	height:113px;
	background:url(img/logo.png) no-repeat top center;
}

#nav {
	margin-top:20px;
	display:block;
	height:14px;
}

#nav li {
	float:left;
	background:url(img/nav-sep.png) center right no-repeat;
	padding-right:17px;
	margin-left:7px;
}

#nav-portfolio a {
	background:url(img/nav-portfolio.png) no-repeat top left;
	display:block;
	width:113px;
	height:14px;
}
#nav-about a {
	background:url(img/nav-about.png) no-repeat top left;
	display:block;
	width:69px;
	height:14px;
}
#nav-blog a {
	background:url(img/nav-blog.png) no-repeat top left;
	display:block;
	width:52px;
	height:14px;
}
#nav-contact a {
	background:url(img/nav-contact.png) no-repeat top left;
	display:block;
	width:95px;
	height:14px;
}

#nav-portfolio a:hover, #nav-about a:hover, #nav-blog a:hover, #nav-contact a:hover {
	background-position:0 -15px;
}

#nav li#nav-portfolio {
	margin-left:0;
}

#nav li#nav-contact {
	background:none;
	padding-right:0;
}

#about {
	text-align:justify;
	margin-top:20px;
	padding:20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	background:url(img/about-back.png) repeat;
	color:#fff;
	line-height:1.4em;
	letter-spacing:1px;
	text-shadow:#000 1px 1px 2px;
}

#services {
	float:right;
	margin-top:20px;
	color:#fff;
	margin-right:25px;
}

#services li {
	list-style:circle;
	margin-left:2em;
	line-height:1.5em;
	font-size:1.2em;
		text-shadow:#000 1px 1px 2px;
}

#services li a {
	color:#fff;
	text-decoration:none;
	margin-bottom:1px;

}

#services li a:hover {
	color:#0099cc;
	border-bottom:1px dotted #fff;
	margin-bottom:0;
	text-shadow:#000 1px 1px 5px;
}

#social {
	margin-top:25px;
	width:210px;
}

#twitter-follow a {
	margin-left:40px;
	display:block;
	width:160px;
	height:51px;
	background:url(img/twitter.png) no-repeat 0 0;
}

#twitter-follow a:hover {
	background-position:0 -51px;
}

#footer {
	margin-top:10px;
	padding-bottom:40px;
}

#credits {
	float:right;
	margin-right:20px;
}

#credits a {
	display:block;
	width:111px;
	height:17px;
	background:url(img/afeintdesign.png) no-repeat left top;
}

#credits a:hover {
	background-position:0 -17px;
}

#copyright {
	font-size:.8em;
	margin-left:20px;
	opacity:.5;
	width:50%;
}

/* content section */

#content {
	line-height:1.4em;
}

#content p {
	margin-bottom:1em;
}

#main a {
	color:#0099cc;
	border-bottom:1px dotted #e2e2e2;
	text-decoration:none;
}

#main strong, #main b {
	font-weight:bold;
}

#main a:hover {
	color:#111;
	border-bottom:1px dotted #333;
	text-shadow:#ccc 1px 1px 1px;
}

#main hr {
	border:none;
	border-top:1px solid #ccc;
	height:0;
	margin-bottom:20px;
}

#main h3 {
	font-size:1.2em;
	font-weight:bold;
	margin-bottom:.5em;
}

#main p.testimonial {
	background-color:#e2e2e2;
	color:#222;
	text-shadow:#fff -1px -1px 1px;
	padding:20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	font-size:1.1em;
	letter-spacing:2px;
	margin-bottom:2em;
}

#main p.testimonial span {
	float:right;
	margin-right:20px;
	font-size:.9em;
	line-height:1em;
	margin-top:5px;
}

.clear {
	clear:both;
}

.hero {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding-top:180px;
	color:#fff;
	margin-bottom:20px;
}

.hero p {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin-bottom:0;
	background:url(img/about-back.png) repeat;
	padding:10px;
	text-shadow:#000 1px 1px 3px;
	font-weight:bold;
}

#hero-welcome {
	background:url(img/hero-welcome.jpg) no-repeat top center;
}

#hero-about {
	background:url(img/hero-about.jpg) no-repeat top center;
}

#hero-contact {
	background:url(img/hero-contact.jpg) no-repeat top center;
}

#hero-contact-thanks {
	background:url(img/hero-contact.jpg) no-repeat top center;
}

/* contact */

#main label {
	margin-right:5%;
}

#main fieldset {
	margin-bottom:.7em;
}

#main fieldset:hover {
background-color:#ccc;
	-moz-border-radius-topleft: 6px;   
    -moz-border-radius-bottomleft: 6px;
    -moz-border-radius-topright: 5px;   
    -moz-border-radius-bottomright: 5px;
    -webkit-border-top-left-radius: 6px;   
    -webkit-border-bottom-left-radius: 6px;
    -webkit-border-top-right-radius: 5px;   
    -webkit-border-bottom-right-radius: 5px;
    border-top-left-radius: 6px;  
    border-bottom-left-radius: 6px;
    border-top-left-radius: 5px;  
    border-bottom-left-radius: 5px;
    color:#fff;
}

#main label {
	display:block;
	width:30%;
	float:left;
     -moz-border-radius-topleft: 5px;   
     -moz-border-radius-bottomleft: 5px;   
     -webkit-border-top-left-radius: 5px;   
     -webkit-border-bottom-left-radius: 5px;   
     border-top-left-radius: 5px;  
     border-bottom-left-radius: 5px;
     background-color:#e2e2e2;
     padding-left:15px;
     height:40px;
     line-height:40px;
     color:#222;
}

fieldset#message label {
	background-color:transparent;
	color:#000;
	width:100%;
	padding:0;
	font-weight:bold;
}

fieldset#message:hover {
	background-color:#fff;
}

fieldset#message textarea {
	height:150px;
	width:300px;
}

#main input[type="text"], #main select {
	height:15px;
	line-height:11px;
	padding:2px;
	margin-top:8px;
}

input[type="submit"] {
margin-left:35%;
}

/* portfolio */

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

.portfolio-item h3 {
	font-size:1.3em;
}

.portfolio-pic {
	border:1px solid #222;
	margin-bottom:20px;
}

.portfolio-meta {
	font-size:.8em;
	color:#555;
}

.portfolio-tags {
	font-size:.8em;
	color:#999;
}

/* blog */

#main div.post h2 {
		margin-bottom:.5em;
}

#main div.post h2 a {
	font-size:1.3em;
	color:#000;
	letter-spacing:1px;
	text-decoration:none;
}

div.meta {
	font-size:.8em;
}
div.post {
	padding-bottom:1.5em;
	border-bottom:1px solid #e2e2e2;
	margin-bottom:1.5em;
}
#sidebar h1 a span, #nav li a span, #credits a span, #twitter-follow a span {
	position:absolute;
	left:-5000px;
}