/*
	HTML5 Reset :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; }  



/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {font: 13px Helmet, Freesans, sans-serif;}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #333;}

a {color: #03f;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* My styles
-------------------------------------------------------------------------------*/

/* TODO: attach as a TTF file for downloads - read up on this */
BODY { font-family: 'Franklin Gothic Book', sans-serif, Verdana; }

HEADER { background: url(../images/grey-bars.png) top right no-repeat; margin-bottom: 8px; }
HEADER IMG.logo { padding-top: 20px; }

HEADER H1 { font-size: 150%; }
HEADER NAV { float: right; margin-top: 70px; }
HEADER NAV UL { list-style: square; margin-top: 8px; }
HEADER NAV UL LI { background-image: url(../images/navigation-buttons.png); display: block; width: 90px; float: left; list-style: square; margin-right: 10px; color: transparent; cursor: pointer; cursor: hand; height: 30px; }
HEADER NAV UL LI A:link, HEADER NAV UL LI A:hover, HEADER NAV UL LI A:visited  { display: block; width: 100%; color: transparent; font-size: 0; height: 30px; }
NAV LI.portfolio { background-position-x: -200px; }
NAV LI.profile { background-position-x: -100px; }
NAV LI.contact { background-position-x: -300px; }
NAV LI:hover { background-position-y: -30px; }

UL { list-style: disc; }
DIV.container_12 OL, DIV.container_12 UL
{
	margin-left: 16px;
}

ASIDE, ARTICLE { line-height: 1.3em; font-size: 115%; }
ARTICLE { clear: left; }
ARTICLE H1 { font-size: 150%; text-transform: uppercase; color: #7F7F7F; margin: 32px 0 12px 0; }
ARTICLE H2 { font-size: 150%; text-transform: uppercase; color: #7F7F7F; margin: 32px 0 12px 0; }
H1.first, H2.first { margin-top: 12px; }
ARTICLE H3 { font-size: 100%; margin: 8px 0; }
ARTICLE H4 { font-size: 100%; text-transform: uppercase; margin: 4px 0; }
ARTICLE P { margin: 1em 0; }
ARTICLE LI { margin: 4px 0 4px 8px; }
ARTICLE LI LI { margin: 2px 0; }

ASIDE { float: right; width: 200px; display: block; padding: 8px; border: 1px solid #CCC; margin: 8px 0 8px 8px; }

FOOTER { clear: both; margin-top: 8px; padding-top: 8px; text-align: center; font-size: 100%; }

TABLE
{
	width: 100%;
	border-collapse: collapse;
	margin-top: 1em;
}
	TABLE > CAPTION
	{
		text-align: left;
		font-weight: bold;
	}
	TABLE > TBODY > TR:nth-of-type(2n+1)
	{
		background-color: #e0e0e0;
	}
	TABLE > THEAD TH, TABLE > THEAD TD
	{
		text-align: left;
	}
	TABLE > TBODY > TR > TD
	{
		border: 1px solid #888;
	}
TABLE TD, TABLE TH
{
	padding: 2px;
}
/* HR using my grey bars */
HR { clear: both; height: 2px; border: none; background: url(../images/grey-bars.png) top center no-repeat; }

/* Portfolio styles */
.thumbnail
{
	height: 78px;
	background: #CCC;
	border: 1px solid #777;
	margin-top: 20px;
	background-image: url(../images/portfolio-sprites.png);
	background-position: 200px 100px; /* So we don't repeat images if I miss out some CSS */
}
.container_12 .grid_2.thumbnail
{
	width: 138px;
	cursor: pointer;
	cursor: hand; /* ie */
}
/* offset positions for the sprites making up the thumbnails */
.thumbnail.forms { background-position-y: 0; }
.thumbnail.tools { background-position-y: -100px; }
.thumbnail.controls { background-position-y: -200px; }
.thumbnail.dashboards { background-position-y: -300px; }
.thumbnail.design { background-position-y: -400px; }
.thumbnail.mobile { background-position-y: -500px; }
.thumb1 { background-position-x: 0; }
.thumb2 { background-position-x: -200px; }
.thumb3 { background-position-x: -400px; }
.thumb4 { background-position-x: -600px; }
.thumb5 { background-position-x: -800px; }
.thumb6 { background-position-x: -1000px; }
.thumb7 { background-position-x: -1200px; }
.thumb8 { background-position-x: -1400px; }
.thumb9 { background-position-x: -1600px; }
.thumb10 { background-position-x: -1800px; }
.thumb11 { background-position-x: -2000px; }
.thumb12 { background-position-x: -2200px; }
.thumb13 { background-position-x: -2400px; }
.thumb14 { background-position-x: -2600px; }
.thumb15 { background-position-x: -2800px; }
.warning
{
	width: 900px;
	margin: 0 auto;
	padding: 20px;
	clear: both;
	background-color: #FF8989;
	font-weight: bold;
}
.toolbox
{
	min-height: 20px;
	background-image: url(../images/toolbox-bg.png);
	border: 1px solid #BFBFBF;
	border-width: 1px 0;
	float: right;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 85%;
}
.toolbox .msg
{
	text-align: right; 
	padding-right: 10px;
}
.grid_4.toolbox
{
	width: 298px;
}
.thumbnail.disabled
{
	cursor: auto;
}
.thumbnail .overlay
{
	background-color: transparent;
	opacity: 0.4;
	width: 100%;
	height: 100%;
}
.thumbnail.disabled .overlay
{
	background-color: #000;
}
.portfoliodetail
{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}
.portfoliodetail .container
{
	width: 960px;
	margin: 20px auto;
	background-color: #FFF;
}
.portfoliodetail .innercontainer
{
	padding: 20px;
}
.portfoliodetail .close { float: right; font-size: 150%; margin: -16px -12px 0 0; color: red; font-weight: bold; cursor: pointer; cursor: hand; }
.portfoliodetail .title
{
	font-size: x-large;
	font-weight: bold;
}
.portfoliodetail .screen
{
	margin: 10px 0;
	text-align: center;
	max-width: 920px;
	amax-height: 400px;
	overflow: auto;
}
.portfoliodetail .description
{
	margin: 10px 0;
}
.portfoliodetail .description p
{
	margin: 10px 0;
}
.portfoliodetail .description ul
{
	list-style: disc;
	margin: 10px 0 10px 16px;
}
.portfoliodetail .copyright
{
	margin-top: 10px;
	color: #888;
	text-align: right;
}

/* Browser fixes */
.ie7 HEADER NAV { margin-top: -38px; }
.ie7 HEADER NAV UL LI, .ie7 HEADER NAV UL LI A:link, .ie7 HEADER NAV UL LI A:hover, .ie7 HEADER NAV UL LI A:visited,
.ie8 HEADER NAV UL LI, .ie8 HEADER NAV UL LI A:link, .ie8 HEADER NAV UL LI A:hover, .ie8 HEADER NAV UL LI A:visited { color: #FFF; }

/* Print styles!
-------------------------------------------------------------------------------*/
@media print {



}