/*
Theme Name: Starkers HTML5
Theme URI: http://nathanstaines.com
Description: Simple Theme
Version: 3.0
Author: Nathan Staines
Author URI: http://nathanstaines.com
Tags: starkers, html5, naked, clean, basic
*/

@import "css/reset.css";
@import "css/layout.css";

::-moz-selection {
	color: #000;
	color: rgba(0,0,0,.85);
	background: #ffff00;
}

::selection {
	color: #000;
	color: rgba(0,0,0,.85);
	background: #ffff00;
}

body {
	font: 16px "adelle-1","adelle-2",serif;
	line-height: 24px;
	background: #fff;
	color: #444;
	text-shadow: 0px 0px 0px #777; 
	text-shadow: 0px 0px 1px #ddd;
//	background: #fff url('/grid.png');
}

a {
	color: #444;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}

.heading {
	font: 26px "proxima-nova-1","proxima-nova-2",sans-serif;
	text-transform: uppercase;
}

section#top {
	width: 100%;	
	overflow: hidden;
	padding: 0 0 0px 0;
}

header {
	width: 960px;
	margin: 20px auto 40px auto;
	overflow: hidden;
}

header hgroup {
	width: 480px;
	float: left;
	margin: 50px 0 0 0;
}

header hgroup h1 {
	font: 1200px "chunk-1","chunk-2",serif;
	position: fixed;
	color: #f4f4f4;
	text-shadow: 1px 1px 2px #bbb, -1px -1px 2px #ddd;
	z-index: -1;
	-webkit-transform: rotate(5deg);
}

header #navigation {
	width: 480px;
	float: left;
	z-index: 9999;
	//position: relative;
}

header nav {
	background: rgba(255,255,255,0.8);
	position: fixed;
	padding: 10px;
	overflow: hidden;
}

header nav dl {
	width: 120px;
	float: left;
}

header nav dl dt {
	text-transform: uppercase;
	margin: 0 0 10px 0;
	font: 13px "proxima-nova-1","proxima-nova-2",sans-serif;
}

header nav dl dd {
	font-style: italic;
	font-size: 13px;
	margin: 0 0 4px 0;
}

header nav dl dd a:hover {
	color: #000;
}

/* CONTENT */

section#content {
	width: 100%;
	//background: rgba(255,255,255,0.3);
	margin: 80px 0 40px 0;
	overflow: hidden;
}

article {
	width: 960px;
	margin: 0px auto;
}

aside {
	float: left;
}

aside p {
	margin: 0 0 20px 0;
}

aside#welcome {
	width: 600px;
	margin: 0 40px 0 0;
}

aside#welcome #quote, h2 {
	font: 64px "chunk-1","chunk-2",serif;
	color: #555;
	text-shadow: 2px 2px 4px #000, 1px 1px 4px #000, -1px -1px -4px #000,;
	margin: 5px 0 20px 0;
}

/* ABOUT ME */

aside#about {
	width: 320px;
}

aside#about #photo img {
	width: 280px;
	margin: 10px;
	padding: 9px;
	border: 1px solid #eee;
	-webkit-transform: rotate(2deg);
	border-radius: 3px;
	-webkit-box-shadow: 2px 2px 4px #bbb;
	background: #fff;
	z-index: -1;
	position: relative;
}

aside#about #photo img:hover {
	-webkit-transform: rotate(3deg);
}

aside#about .bio {
	padding: 10px;
	font-style: italic;
	font-size: 12px;
	line-height: 16px;
}

aside#about button {
	float: right;
}

/* PORTFOLIO */

section#work {
	width: 960px;
	margin: 0px auto;
}

section#work aside#portfolio {
	width: 600px;
	float: left;
}

section#work aside#portfolio h2 {
	text-align: left;
}

section#work aside#portfolio dl {
	width: 600px;
	overflow: hidden;
	margin: 0 0 20px 0;
}

section#work aside#portfolio dl dt {
	width: 140px;
	float: left;
}

section#work aside#portfolio dl dd {
	width: 460px;
	float: left;
}

section#work aside#portfolio dl dd button {
	float: right;
}

section#work #clients {
	width: 300px;
	float: left;
	margin: 0 0 0 60px;
}

section#work #clients h2 {
	text-align: right;
}

section#work #clients ul {
	margin: 0 0 0 100px;
}

section#work #clients ul li {
	list-style: none;
	margin: 0 0 3px 0;
}

/* PROCESS */

section#process {
	width: 960px;
	margin: 0px auto;
	overflow: hidden;
}

section#process article {
	width: 760px;	
	margin: 0 200px 0 0;
}

section#process ol li {
	width: 740px;
	float: left;
	margin: 0 0 40px 20px;
}

/* CONTACT */

section#contact {
	width: 100%;
	overflow: hidden;
	margin: 0px 0 0 0;
}

section#contact article {
	width: 960px;
	overflow: hidden;
	margin: 40px auto 80px auto;
}

section#contact form input, textarea {
	font: 16px "adelle-1","adelle-2",serif;
	padding: 6px 10px;
	border: 1px solid #bbb;
}

section#contact .contact {
	width: 345px;
	float: left;
}

section#contact .details {
	width: 615px;
	float: left;
}

section#contact .details textarea {
	width: 575px;
	height: 300px;
	margin: 2px 0 0 0;
}

section#contact .contact .box {
	width: 345px;
	margin: 0 0 10px 0;
}

section#contact .contact .box input {
	width: 250px;
	margin: 0 10px 0 0;
}

section#contact .contact .box input:hover {
	border: 1px solid #eee;
}

.thanks {
	margin: 0 0 10px 0;
}
/* FOOTER */

section#footer {
	background: rgba(40,40,40, 0.2);
	width: 100%;
	overflow: hidden;
	margin: 0px 0 0px 0;
	position: fixed;
	bottom: 0;
}

footer {
	width: 100%;
}

footer p {
	padding: 20px;
}

footer a {
	border: 0;
}

/* FORM */

button, input#submit {
	margin: 0px 0px 10px 0;
	padding: 5px 9px;
	float: left;
	border: 1px solid #bbb; 
	width: 100px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font: 14px "adelle-1","adelle-2",serif;
	text-shadow: 1px 1px 1px #bbb, -1px -1px -1px #bbb, 1px 1px 1px #fff, 1px 1px 1px #eee;
	color: #000;
	cursor: pointer;
	background-color: #bbb;
	background-image: -moz-linear-gradient(#d4d4d7,#c3c3c6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%,color-stop(0, #d4d4d7),color-stop(1, #c3c3c6));
	background-image: linear-gradient(linear, #d4d4d7, #c3c3c6);
}

button:hover, input#submit:hover {
	background-color: #bbb;
	background-image: -moz-linear-gradient(#c3c3c6,#d4d4d7);
	background-image: -webkit-gradient(linear, 0 0, 0 100%,color-stop(0, #c3c3c6),color-stop(1, #d4d4d7));
	background-image: linear-gradient(linear, #c3c3c6, #d4d4d7);
}

/**
 * Grid
 */
#grid{

    /* Dimensions - same width as your grid with gutters */
    width: 980px;

    /* Grid (left-aligned)
    position: absolute;
    top: 0;
    left: 0;
    */

    /* Grid (centered) */
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -490px;

}

/**
 * Vertical grid lines
 *
 * Set the column width taking the borders into consideration,
 * and use margins to set column gutters.
 */
#grid div.vert{

    width: 139px;
    border: solid darkturquoise;
    border-width: 0 1px;
    margin-right: 19px;

}

#grid div.vert.first-line{

    margin-left: 19px;

}


/**
 * Horizontal grid lines, defined by your base line height
 *
 * Remember, the CSS properties that define the box model:
 * visible height = height + borders + margins + padding
 */
#grid div.horiz{

    /* 20px line height */
    height: 19px;
    border-bottom: 1px dotted darkgray;
    margin: 0;
    padding: 0;

}

/**
* Classes for multiple grids
*
* When using more than one grid, remember to set the numberOfGrids 
* option in the hashgrid.js file.
*/
#grid.grid-1 div.vert{

    /* Vertical grid line colour for grid 1 */
    border-color: darkturquoise;

}
#grid.grid-2{

    /* Adjustments */
    padding: 0 160px;
    width: 660px;

}
#grid.grid-2 div.vert{

    /* Vertical grid line colour for grid 2 */
    border-color: crimson;

}

#page {
	width: 600px;
	margin: 40px 0 0 0;
}

#page h1 {
	font-size: 36px;
}

#page ol {
	margin: 20px 0 20px 40px;
}

#page p {
	margin: 0 0 20px 0;
}

#page img {
	margin: 10px 20px 10px 0;
	padding: 9px;
	border: 1px solid #eee;
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	border-radius: 3px;
	-webkit-box-shadow: 2px 2px 4px #bbb;
	background: #fff;
	z-index: -1;
	float: left;
}

#page img:hover {
	-webkit-transform: rotate(4deg);
	-moz-transform: rotate(4deg);
}

/* NOTES */

#notes {
	width: 960px;
	margin: 80px auto 0 auto;
}

#notes article {
	width: 600px;
	float: left;
}

#notes aside {
	width: 300px;
	float: left;
	margin: 0 0 0 60px;
}

#notes h2 {
	font-family: inherit;
	font-size: 18px;
}

#notes ol {
	margin: 20px 0 20px 40px;
}

#notes p {
	margin: 0 0 20px 0;
}

#notes img {
	margin: 10px 20px 10px 0;
	padding: 9px;
	border: 1px solid #eee;
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	border-radius: 3px;
	-webkit-box-shadow: 2px 2px 4px #bbb;
	background: #fff;
	z-index: -1;
	float: left;
}

#notes img:hover {
	-webkit-transform: rotate(4deg);
	-moz-transform: rotate(4deg);
}
