/*
 * HTML5 ✰ Boilerplate
 * Detailed information about this CSS: h5bp.com/css
 *
 */

/* ==|== normalize.css ========================================================== */

header { display: block; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 1em; line-height: 1.4; }
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:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
strong { font-weight: bold; }
ul, ol { margin-left: 0; padding: 0 0 0 40px; }
form { margin: 0; }
label { cursor: pointer; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
input[type="checkbox"] { box-sizing: border-box; padding: 0; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }


/* ==|== primary styles =====================================================
   Author: Me!!!
   ========================================================================== */


@font-face {
	font-family: 'NexaBold';
	src: url('nexa_bold-webfont.eot');
	src: url('nexa_bold-webfont.eot?') format('embedded-opentype'),
		url('nexa_bold-webfont.woff') format('woff'),
		url('nexa_bold-webfont.ttf') format('truetype'),
		url('nexa_bold-webfont.svg#nexa_boldregular') format('svg');
	font-weight: normal;font-style: normal;
}
@font-face {
	font-family: 'NexaLight';
	src: url('nexa_light-webfont.eot');
	src: url('nexa_light-webfont.eot?') format('embedded-opentype'),
		url('nexa_light-webfont.woff') format('woff'),
		url('nexa_light-webfont.ttf') format('truetype'),
		url('nexa_light-webfont.svg#nexa_lightregular') format('svg');
	font-weight: normal;font-style: normal;
}

body, button, input, select, textarea { font-family: NexaLight, sans-serif; font-weight:normal; }
em, h1, h2 { font-family: NexaBold, sans-serif; font-weight: normal; font-style: normal; }

body { background: #A7A599; color: #eee; }
#wrapper { width: 100%; min-width: 250px; padding: 5px 0; color: #333; 
	background: #eee; background-color: rgba(255,255,255,.85); 
}
.inner { margin: 0 5px; }

a { color: #570; }
a:visited { color: #450; }
h1, h2 {
	font-size: 48px;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, .8), 2px 2px #AB9;
    font-weight: normal;
    font-style: normal;
	position: relative;
}
h2 { font-size: 36px; }
h1 strong, h2 strong { color:#ab9;font-weight:normal; font-size: 1.1667em; 
	text-shadow: -1px -1px 0px rgba(255, 255, 255, .5), 1px 1px #333, 2px 2px #783, 3px 3px #333,2px 2px 10px #AAA;
}
em { font-size:1.2em; }

#intro { text-align: center; }
#intro p { margin:0 0 0 30%; }

#social { list-style: none; margin: 0 10px; padding: 0; }
#social a { display: block; text-decoration: none; padding: 15px 5px 7px 50px; text-shadow: 1px 1px #fff; min-height: 32px; 
	background: url('/assets/images/social.png') no-repeat 10px 10px; 
}
	#social li.design a { background-position: 10px 12px; }
	#social li.flickr a { background-position: 10px -70px; }
	#social li.twitter a { background-position: 10px -235px; }
	#social li.instagram a { background-position: 10px -152px; }
	#social li.px500 a { background-position: 10px -398px; }
	#social li.stackexchange a { background-position: 10px -316px; }
	#social li a:hover, #social li a:focus { 
		color: #333; background-color: #ccc; background-color: rgba(0,0,0,.2); 
		text-shadow: 1px 1px #CCC, 2px 2px 2px #777;
		-webkit-box-shadow: 1px 1px 0 0 rgba(0, 20, 0, .4) inset, 2px 2px 3px -1px rgba(0, 10, 0, .5) inset;
		-moz-box-shadow: 1px 1px 0 0 rgba(0, 20, 0, .4) inset, 2px 2px 3px -1px rgba(0, 10, 0, .5) inset;
		box-shadow: 1px 1px 0 0 rgba(0, 20, 0, .4) inset, 2px 2px 3px -1px rgba(0, 10, 0, .5) inset;
	}

/* contact form */
form div { margin-bottom: 1em; }
label { display: block; }
textarea { height:150px; line-height:1.2; }
textarea, input.text { padding: 2px 6px; background: #ccc; background: rgba(200,200,200,.5); border: 1px solid #999; width: 95%; }
input, textarea, label {
	-webkit-transition: background .2s ease-in-out, -webkit-box-shadow .2s ease-in-out, box-shadow .2s ease-in-out, text-shadow .2s ease-in-out;
	-moz-transition: background .2s ease-in-out, -moz-box-shadow .2s ease-in-out, box-shadow .2s ease-in-out, text-shadow .2s ease-in-out;
	-o-transition: background .2s ease-in-out, box-shadow .2s ease-in-out, text-shadow .2s ease-in-out;
	-ms-transition: background .2s ease-in-out, box-shadow .2s ease-in-out, text-shadow .2s ease-in-out;
	transition: background .2s ease-in-out, box-shadow .2s ease-in-out, text-shadow .2s ease-in-out;
}
input::-webkit-input-placeholder,input:-moz-placeholder,
textarea::-webkit-input-placeholder,textarea:-moz-placeholder {
	color: #777;
}
.text:hover, textarea:hover { background: #ddd; background: rgba(255,255,255,.5); outline: 0; }
.text:focus, textarea:focus {
	background: #fff; border-color: #777; outline: 0;
	-webkit-box-shadow:0 0 8px rgba(85, 119, 0, 0.6);
	-moz-box-shadow:0 0 8px rgba(85, 119, 0, 0.6);
	box-shadow:0 0 8px rgba(85, 119, 0, 0.6);
}
.action label:hover { background: #ab9; }
.checkbox:focus { outline: 2px solid #570; }
#send { margin-top: 9px; cursor: pointer; text-align: center; text-decoration: none; padding: 9px 18px; border: 1px solid #895; 
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.1);
	color: #fff;
	background-color: #895;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear, left top, left bottom, from(rgba(255,255,255,.2)), to(rgba(255,255,255,0)));
	background-image: -moz-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: -ms-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255,255,255,.1)), color-stop(100%, rgba(255,255,255,0)));
	background-image: -webkit-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: -o-linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	background-image: linear-gradient(top, rgba(255,255,255,.2), rgba(255,255,255,0));
	border-color: #895 #895 #000;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.3);
}
#send:hover, #send:focus { background-position: 0 -15px; }
#send.disabled { cursor: default; background-image: none;
	-khtml-opacity: 0.65; -moz-opacity: 0.65; opacity: 0.65;
}
#send:disabled { cursor: default; background-image: none;
	-khtml-opacity: 0.65; -moz-opacity: 0.65; opacity: 0.65;
}
#send:active {
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.message {
	padding: 0 10px;
	font-size: .875em;
	margin: 0 5px 20px 0;
}
#success {
	border: 1px solid #AB9;
	-webkit-box-box-shadow: 0 0 0 1px #fff, 1px 1px 0 3px #ab9, 1px 2px 0 2px #ab9, 2px 3px 0 2px #ab9, 2px 4px 0 2px #ab9, 3px 5px 0 2px #ab9;
	-moz-box-shadow: 0 0 0 1px #fff, 1px 1px 0 3px #ab9, 1px 2px 0 2px #ab9, 2px 3px 0 2px #ab9, 2px 4px 0 2px #ab9, 3px 5px 0 2px #ab9;
	box-shadow: 0 0 0 1px #fff, 1px 1px 0 3px #ab9, 1px 2px 0 2px #ab9, 2px 3px 0 2px #ab9, 2px 4px 0 2px #ab9, 3px 5px 0 2px #ab9;
}
#error{
	border: 1px solid #b55;
	-webkit-box-box-shadow: 0 0 0 1px #fff, 1px 1px 0 3px #b55, 1px 2px 0 2px #b55, 2px 3px 0 2px #b55, 2px 4px 0 2px #b55, 3px 5px 0 2px #b55;
	-moz-box-shadow: 0 0 0 1px #fff, 1px 1px 0 3px #b55, 1px 2px 0 2px #b55, 2px 3px 0 2px #b55, 2px 4px 0 2px #b55, 3px 5px 0 2px #b55;
	box-shadow: 0 0 0 1px #fff, 1px 1px 0 3px #b55, 1px 2px 0 2px #b55, 2px 3px 0 2px #b55, 2px 4px 0 2px #b55, 3px 5px 0 2px #b55;
}



/* all border-radius defs */
.message, #social a, textarea, .text , .action label, #send {
	-webkit-border-radius: 4px; 
	-moz-border-radius: 4px; 
	border-radius: 4px; 
}




/* ==|== media queries ====================================================== */

.oldie #wrapper { width: 480px; margin: 20px auto 20px; border: 1px solid #a7a599; }
.oldie body { background: #999 url('/assets/images/photos/dino_1024.jpg') no-repeat center top fixed; }

@media only screen and (max-width: 479px) {
	body { background: #A7A599 url('/assets/images/photos/dino_640.jpg') no-repeat left top fixed; }
}

@media only screen and (min-width: 410px) {
	#wrapper { padding: 40px 0; }
	.inner { margin: 0 20px; }
	#social { margin: 0; }
	#social li { width: 50%; display: inline-block; vertical-align:top; }
	.checkbox { width: 18px; }
	.action label { width: 192px; }
	.action label span { width: 170px; }
	.action input, .action label, .action label span, .checkbox {
		display: inline-block; vertical-align: middle;
	}
	#send { margin-left: 10px; }
}

@media only screen and (min-width: 480px) {
	body { background: #A7A599 url('/assets/images/photos/dino_1024.jpg') no-repeat left top fixed; }
	#wrapper { width: 480px; margin: 20px auto 20px; border: 1px solid #a7a599; border-radius: 4px;
		-webkit-box-shadow: 4px 3px 4px rgba(0, 50, 0, 0.2) inset, 5px 7px 7px rgba(0, 50, 0, .2) inset, 0 0 0 1px rgba(255, 255, 255, .7), 1px 1px 0 1px rgba(0, 0, 0, .8), 1px 2px 0 1px rgba(0, 0, 0, .8), 2px 3px 0 1px rgba(0, 0, 0, .8), 2px 4px 0 1px rgba(0, 0, 0, .8), 3px 5px 0 1px rgba(0, 0, 0, .8), 3px 6px 0 1px rgba(0, 0, 0, .8), 4px 7px 0 1px rgba(0, 0, 0, .8), 4px 8px 0 1px rgba(0, 0, 0, .8), 5px 9px 0 1px rgba(0, 0, 0, .8), 5px 9px 12px rgba(0, 0, 0, 1);
		-moz-box-shadow: 4px 3px 4px rgba(0, 50, 0, 0.2) inset, 5px 7px 7px rgba(0, 50, 0, .2) inset, 0 0 0 1px rgba(255, 255, 255, .7), 1px 1px 0 1px rgba(0, 0, 0, .8), 1px 2px 0 1px rgba(0, 0, 0, .8), 2px 3px 0 1px rgba(0, 0, 0, .8), 2px 4px 0 1px rgba(0, 0, 0, .8), 3px 5px 0 1px rgba(0, 0, 0, .8), 3px 6px 0 1px rgba(0, 0, 0, .8), 4px 7px 0 1px rgba(0, 0, 0, .8), 4px 8px 0 1px rgba(0, 0, 0, .8), 5px 9px 0 1px rgba(0, 0, 0, .8), 5px 9px 12px rgba(0, 0, 0, 1);
		box-shadow: 4px 3px 4px rgba(0, 50, 0, 0.2) inset, 5px 7px 7px rgba(0, 50, 0, .2) inset, 0 0 0 1px rgba(255, 255, 255, .7), 1px 1px 0 1px rgba(0, 0, 0, .8), 1px 2px 0 1px rgba(0, 0, 0, .8), 2px 3px 0 1px rgba(0, 0, 0, .8), 2px 4px 0 1px rgba(0, 0, 0, .8), 3px 5px 0 1px rgba(0, 0, 0, .8), 3px 6px 0 1px rgba(0, 0, 0, .8), 4px 7px 0 1px rgba(0, 0, 0, .8), 4px 8px 0 1px rgba(0, 0, 0, .8), 5px 9px 0 1px rgba(0, 0, 0, .8), 5px 9px 12px rgba(0, 0, 0, 1);
	}
}

@media only screen and (min-width: 800px) {
	body { background: #A7A599 url('/assets/images/photos/dino_1024.jpg') no-repeat center top fixed; }
	#wrapper { width: 600px; margin: 40px auto 20px; padding: 40px 0; }
	.inner { margin: 0 40px; }
	#social { width: 480px; margin: 0 auto; }
	.action { width: 510px; }
	#send { margin-left: 10px; float: right; }
	h1:after, h1:before, h2:after, h2:before { content: ""; height: 1px; position: absolute; top: 50%; width: 50px; }
	h1:after, h2:after { right: 0;
		background-image: -webkit-gradient(linear, left top, right top, from(#333), to( rgba(51,51,51,0) ));
		background-image: -webkit-linear-gradient(left, #333, rgba(51,51,51,0));
		background-image: -moz-linear-gradient(left, #333, rgba(51,51,51,0));
		background-image: -ms-linear-gradient(left, #333, rgba(51,51,51,0));
		background-image: -o-linear-gradient(left, #333, rgba(51,51,51,0));
		background-image: linear-gradient(left, #333, rgba(51,51,51,0));
	}

	h1:before, h2:before { left: 0;
		background-image: -webkit-gradient(linear, right top, left top, from(#333), to( rgba(51,51,51,0) ));
		background-image: -webkit-linear-gradient(right, #333,  rgba(51,51,51,0) );
		background-image: -moz-linear-gradient(right, #333, rgba(51,51,51,0));
		background-image: -ms-linear-gradient(right, #333, rgba(51,51,51,0));
		background-image: -o-linear-gradient(right, #333, rgba(51,51,51,0));
		background-image: linear-gradient(right, #333,  rgba(51,51,51,0));
	}
}

@media only screen and (min-width: 1024px) {
	body { background: #A7A599 url('/assets/images/photos/dino_2048.jpg') no-repeat left top fixed; }
	#wrapper { width: 820px; }
	#main { width: 400px; float: left; }
	#contact { width: 300px; float: right; margin-left: 0; }
	.action { width: auto; }
	.action label { display: block; float: none; width: 300px; }
	.action label span { width: 275px; }
	#send { float: none; margin-left: 0; }
	#social { width: 400px; }
	#main p:first-child { margin-top: 8px; }
	h2 { margin-top: 0; }
	h1:after, h1:before { width: 154px; }
	h2:after, h2:before { background-image: none; }
}

@media only screen and (min-width: 2000px) {
	body { background: #A7A599 url('/assets/images/photos/dino_3072.jpg') no-repeat center top fixed; }
}



/* ==|== non-semantic helper classes ======================================== */

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



/* ==|== print styles ======================================================= */

@media print {
  * { background: transparent !important; color: black !important; -webkit-box-shadow:none !important; -moz-box-shadow:none !important; box-shadow:none !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 */
  @page { margin: 0.5cm; }
  p, h2 { orphans: 3; widows: 3; }
  h2 { page-break-after: avoid; }
  #contact {display:none;}
}
