
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }

legend { border: 0; *margin-left: -7px; padding: 0; }

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

button, input { line-height: normal; *overflow: visible; }

table button, table input { *overflow: auto; }

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

textarea { overflow: auto; vertical-align: top; resize: vertical; }

input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

/* ==|== primary styles =====================================================
   Author: Sky Apperley
   ========================================================================== */

p {
	font-size:1.1em;
}
header {
	background: #EEE url(../img/concrete_wall.png) repeat;
	margin:0;
	border-top: 3px solid #999;
	color:#fff;
}
header h1 {
	font-family: 'Play', sans-serif;
	font-size:3em;
	margin:0;
	padding:20px 0px 10px 20px;
}
header p {
	font-family: 'Muli', sans-serif;
	padding-left:20px;
}
#header_bg {
	margin:0;
	height:130px;
	/*background: url(../img/carbon_fibre.png) no-repeat 0px 108px;*/
}
.techspacer {
	background: #EEE url(../img/carbon_fibre.png) repeat;
	height:20px;
	border-top: 2px solid #999;
	border-bottom: 2px solid #999;
	clear:both;
}
section h2 {
	font-family: 'Play', sans-serif;
	font-size:1.5em;
	color:#777;
}
section {
	margin:10px 0px 10px 20px;
}
.skills {
	font-family: 'Muli', sans-serif;
	font-size:1.1em;
	padding:0px 20px 15px 0px;
}
.dbug {
	width:55%;
	float:left;
}
.dbug div {
	z-index:1;
}
#screens {
	width:90%;
}
.dbug h2 {
	color:#FE57A1;
	font-size:1.5em;
}

.dbugtext {
	margin:20px 0px 0px 0px;
	padding:10px 0px 10px 0px;
	float:right;
	text-align:left;
	width:37%;
	background:transparent;
}
.dbugtext p {
	margin-top:30px;
}
.appbadge {
	width:144px;
	height:50px;
}
.pastwork {
	position:relative;
}
.pastwork ul {
	margin:0;
	padding:0;
	margin-bottom:20px;
}
.pastwork ul li {
	list-style-type:none;
	padding:7px 0px 7px 0px;
	font-size:1.1em;
}
.pastwork ul li a {
	font-family: 'Muli', sans-serif;
}
#tcad {
	width:159px;
	height:64px;
	position:absolute;
	bottom:0px;
	right:20px;
}
#contact {
	
	margin:0;
	-border-top: 3px solid #999;
	-color:#fff;
}
#formsection {
	margin:0;
	color:#fff;
}
.formspace {
	margin-left:10px;
	width:55%;
	float:left;
}
.twitterspace {
	position:relative;
	width:40%;
	float:right;
}
#twitterimg {
	position:absolute;
	top:20px;
	right:20px;
	width:160px;
}

#formsection p, #formsection h2 {
	margin:0;
	padding:20px 0px 0px 20px;
}
.formheader {
	color:#fff;
}
#name, #email, #message {
    width: 230px;
    background: #C0C0C0;
    padding: 6px;
    margin-bottom: 10px;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 1px solid #7A7A7A;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#message {
	width:400px;
}
input.submit {
    width: 100px;
    color: #000;
	background: #C0C0C0;
    text-transform: uppercase;
    text-shadow: #fff 1px 1px;
    border-top: 1px solid #fff;
	margin-bottom:20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.error {
	color:#601D16;
}
#name.redinput, #email.redinput, #message.redinput {
	background: #C04D5A;
	border-color:#6D2B33;
}
.formoutput p {
	color:#C04D5A;
	font-weight:bold;
}
.formoutput h2 {
	color:#FE57A1;
}

.skillhtml5 {
	background-color: #ff592c;
	color: #fff;
	border-radius: 5px;
	padding: 1px 4px;
}
.skilliphone {
	background-color: #717171;
	color: #fff;
	border-radius: 5px;
	padding: 1px 4px;
}
.skillandroid {
	background-color: #95b630;
	color: #fff;
	border-radius: 5px;
	padding: 1px 4px;
}
.skillblackberry {
	background-color: #000;
	color: #fff;
	border-radius: 5px;
	padding: 1px 4px;
}
@media screen and (max-width: 750px) {
	.dbug {
		width:300px;
		float:none;
	}
	.dbug div h2 {
		font-size:1.1em;
	}
	.dbug div p {
		font-size:0.8em;
	}
	.dbugtext {
		width:90%;
		float:none;
		padding-left:20px;
		margin-top:-10px;
	}
	#screens {
		width:100%;
		float:right;
		margin-top:-35px;
	}
	#name, #email, #message {
	    width: 230px;
	    background: #C0C0C0;
	    padding: 6px;
	    margin-bottom: 10px;
	    border-top: 1px solid #fff;
	    border-left: 0px;
	    border-right: 0px;
	    border-bottom: 0px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	.formspace {
		width:90%;
	}
	.twitterspace {
		width:200px;
		float:none;
		margin-left:50px;
		clear: both;
	}
	#twitterimg {
		position:relative;
		width:140px;
		margin:0px 0px 30px 0px;
	}
	#tcad {
		position:relative;
		margin:0px 0px 5px 20px;
	}
}

@media screen and (min-width: 950px) {
	.dbug {
		background-size:auto;
	}
	.dbugtext {
		width:40%;
		padding-right:20px;
	}
	#screens {
		width:auto;
	}
	.formspace {
		
	}
	#twitterimg {
		position:absolute;
		top:20px;
		right:20px;
		width:160px;
	}
	.twitterspace {
		float:right;
		position:relative;
	}
}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
