@import url(http://yui.yahooapis.com/3.0.0/build/cssreset/reset-min.css);

/*
	CSS by Chris Pacheco: http://www.chrispacheco.com
	Social Media Icons by Rogie King:  http://www.komodomedia.com
	Responsive Web Design: http://www.alistapart.com/articles/responsive-web-design/
*/

html {
	font: 13px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #ebe8e1;
	text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7);
	background: #12191f url(/img/backgrounds/body-navy.jpg) fixed;
}

a, textarea, .text-input {
	color: #c3b08f;
	color: rgba(195, 176, 143, 0.7);
	text-decoration: none;
	outline: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
	a:hover {
		color: #eee;
		color: rgba(195, 176, 143, 1);
		text-decoration: none;
		text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7), 0 0 20px rgba(195, 176, 143, 0.7);
	}

::-moz-selection {
		color: #ebe8e1;
		color: rgba(235, 232, 225, 0.8);
		background: rgba(195, 176, 143, 0.5);
}

::selection {
		color: #ebe8e1;
		color: rgba(235, 232, 225, 0.8);
		background: rgba(195, 176, 143, 0.5);
}

header, footer, nav {
	display: block;
}

/* Page Structure
------------------------------------------------------------------------------- */

body {
	width: 800px;
	margin: 0 auto; 
	padding: 40px 20px;
	color: rgba(235, 232, 225, 0.8);
	overflow-y: scroll;
}

header {
	position: fixed;
	width: 222px;
	text-align: center;
}

	nav ul {
		margin-top: 5px;
		margin-bottom: 20px;
	}

	nav li {
		display: inline;
		font-size: 16px;
	}

	nav p {
		font-size: 14px;
		font-family: Georgia, serif;
		font-style: italic;
	}

#portfolio nav a.work-highlight, #blog nav a.blog-highlight,#about nav a.about-highlight, #contact nav a.contact-highlight {
	color: #c3b08f;
	color: rgba(195, 176, 143, 1);
	text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7), 0 0 20px rgba(195, 176, 143, 0.7);
}

#main {
	width: 500px;
	margin-left: 258px;
}


/* Applies large transparent border */
#main li img, #main li object, blockquote.quote, .border-sm {
	display: block;
	max-width: 100%;
	margin-bottom: 20px;
	padding: 10px;
	border: 1px solid #393d40;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: url(/img/backgrounds/transparency-white.png);
	background: rgba(255, 255, 255, 0.07) none;
	-webkit-box-shadow: rgba(0,0,0,0.9) 0 0 10px, 0 0 4px rgba(0,0,0,0.9) inset;
	-moz-box-shadow: rgba(0,0,0,0.9) 0 0 10px, 0 0 4px rgba(0,0,0,0.9) inset;
	-o-box-shadow: rgba(0,0,0,0.9) 0 0 10px, 0 0 4px rgba(0,0,0,0.9) inset;
	box-shadow: rgba(0,0,0,0.9) 0 0 10px, 0 0 4px rgba(0,0,0,0.9) inset;
	overflow: hidden; 
}
	
/* Applies small transparent border */
.border-sm {
	padding: 3px;
}	

.slideshow {
	display: block;
	margin-bottom: 40px;
}
		
#main li {
	margin-bottom: 50px;
	border-bottom: 1px solid #393d40;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer {
	text-align: right;
	clear:  both;
}

	footer p {
		font-size: 12px;
	}


/* Typography / Links
------------------------------------------------------------------------------- */

p {
	margin: 20px 0;
}

em {
	font-family: Georgia, serif;
	font-style: italic;
}

.prev-next a, a strong {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

.prev-next {
	border-bottom: 0 !important;
}

blockquote.quote p:before { 
	content: "\201c"; 
	float: left;
	margin: 9px 0 0 -22px;
	font-size: 40px;
}

blockquote.quote p:after { 
	content: "\201d"; 
}

blockquote p {
	border-left: 1px solid #494e52;
	border-left: 2px solid rgba(255, 255, 255, 0.1);
	margin-left: 20px;
	padding-left: 20px;
	font-family: Georgia, serif;
	line-height: 20px;
	font-style: italic;
}

blockquote.quote p {
	margin: 0;
	padding: 20px 20px 15px 40px;
	font-family: Georgia, serif;
	color: #222;
	text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.7);
	border: 0;
	background-color: #CECFC6;
	-webkit-box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
	-moz-box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
	-o-box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
	box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
}

abbr {
	cursor: help;
}

#main span.date a {
	color: #eee;
	text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7);
}

	#main span.date a:hover {
		text-decoration: underline;
	}

ul.links {
	padding-top: 20px;
	border-top: 1px solid #494e52;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.links li  {
	text-align: center;
	display: inline;
	margin: 0 20px 20px 0;
}

.links a {
	opacity: 0.7;
}

.links li a:hover { 
	opacity: .99;
}

ul.links a img {
	-webkit-box-shadow: rgba(0,0,0,0.9) 0 0 10px;
}


/* Headings
------------------------------------------------------------------------------- */

h1 {
	width: 179px;
	height: 34px;
	margin: 0 auto;
	background: url(/img/type/chris-pacheco-white.png) no-repeat;
	text-shadow: rgba(34, 34, 34, 0.7) 1px 2px 1px;
	text-indent: -9999px;
}

#main h2 {
	margin-bottom: 20px;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	color: #eee;
	text-decoration: none;
	text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7);
}
	
		#main a:hover h2 {
			text-decoration: underline;
		}


/* Form
------------------------------------------------------------------------------- */
.input {
	margin: 10px 0 20px 0;
}

.text-input {
	width: 485px;
	margin: 0;
	padding: 3px;	
	border: 0;
	color: #222;
	background-color: #CECFC6;
	-webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.9) inset;
	-moz-box-shadow: 0 2px 10px rgba(0,0,0,0.9) inset;
	-o-box-shadow: 0 2px 10px rgba(0,0,0,0.9) inset;
	box-shadow: 0 2px 10px rgba(0,0,0,0.9) inset;
}

	.text-input:focus {
		background-color: #eee;
		-webkit-box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
		-moz-box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
		-o-box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
		box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
	}

textarea {
	display: block;
	width: 485px;
	margin: 0;
	padding: 3px;
	border: 0;
	color: #222;
	background-color: #CECFC6;
	-webkit-box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
	-moz-box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
	-o-box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
	box-shadow: 0 2px 20px rgba(0,0,0,0.9) inset;
}

	textarea:focus {
		background-color: #eee;
		-webkit-box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
		-moz-box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
		-o-box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
		box-shadow: 0 2px 40px rgba(0,0,0,0.9) inset;
	}

.error, .success {
	float: right;
	margin: 0;
	font-style: italic;
}

.warning {
	float: right;
	font-style: italic;
}

.submit {
	margin-bottom: 20px;
}


/* Responsive
------------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
	body {
		width: 480px;
	}
	
	nav {
		position: static;
		width: 500px;
	}
	
	#main { 
		margin: 0;
	}
}