@import url(http://yui.yahooapis.com/3.0.0/build/cssreset/reset-min.css);
@import url(http://fonts.googleapis.com/css?family=Tinos:400,400italic);

/*
	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/
*/




/* -----------------------------------
		General Styles
-------------------------------------- */
html {
	font: 16px/25px 'Tinos', "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;
}

body {
	padding: 40px 20px;
	color: rgba(255, 255, 255, 0.7);
	overflow-y: scroll;
	-webkit-text-size-adjust: none;
}

* html { position:absolute;} /* for .light */
.light {
	position: fixed;
	display: block;
	width: 900px;
	height: 400px;
	left: 50%;
	margin: -200px 0 0 -450px;
	margin-top: -40px;
	background: -webkit-gradient(radial, 490 -200, 450, 0 -1100, 0, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.5)), color-stop(.5,rgba(255, 255, 255, 0.5)));	
	-webkit-animation: light 2s ease-in;
	background: -moz-radial-gradient(50% -20% 0deg,ellipse cover, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 70%);
	z-index: -1;
}

	@-webkit-keyframes light {
		0% {
			opacity: 0;
		}
		
		100% {
			opacity: 1;
		}
	}

a, textarea, fieldset input[type="text"] {
	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(255, 255, 255, 0.7);
		background: rgba(195, 176, 143, 0.5);
}

::selection {
		color: #ebe8e1;
		color: rgba(255, 255, 255, 0.7);
		background: rgba(195, 176, 143, 0.5);
}

header, footer, nav {
	display: block;
}



/* -----------------------------------
		Header & Nav
-------------------------------------- */
header {
	text-align: center;
}

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

	#main nav li {
		display: inline;
		font-size: 20px;
		border-bottom: 0;
	}

	nav p {
		font-family: 'Tinos', "Times New Roman", Times, serif;
		font-style: italic;
		font-size: 17px;
		padding-bottom: 20px;
		border-bottom: 1px solid #494e52;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

#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);
}

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;
}



/* -----------------------------------
		Main
-------------------------------------- */
#main {
	width: 502px;	
	margin: 0 auto; 
}

/* 10px Border */
#main li img, #main li object, blockquote.quote, .border-sm {
	display: block;
	overflow: hidden; 
	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;
}
	
/* 3px 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
-------------------------------------- */
footer {
	text-align: right;
	clear:  both;
}

	footer p {
		font-size: 14px;
	}


/* -----------------------------------
		Text
-------------------------------------- */
p {
	margin: 20px 0;
}

em {
	font-family: 'Tinos', "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 15px;
}

.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: 8px 0 0 -25px;
	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: 'Tinos', "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 15px;
	line-height: 20px;
}

blockquote.quote p {
	margin: 0;
	padding: 20px 20px 15px 30px;
	font-family: 'Tinos', "Times New Roman", Times, serif;
	font-style: italic;
	font-size: 15px;
	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;
	}



/* -----------------------------------
		h1, h2, h3 etc...
-------------------------------------- */
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 {
	color: #c3b08f;
	color: rgba(195, 176, 143, 0.7);
	margin-bottom: 20px;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}


/* -----------------------------------
		Form
-------------------------------------- */
fieldset label {
	display: block;
	margin: 0 0 5px 0;
}

input[type="text"] {
	width: 485px;
	margin: 0;
	padding: 5px;	
	border: 0;
	color: #222 !important;
	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;
}

	fieldset input[type="text"]:hover, fieldset input[type="text"]: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: 5px;
	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:hover,	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, .warning {
	font-style: italic;
	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);
}

.warning {
	float: right;
	margin-top: -29px;
}

fieldset input[type="submit"] {
	margin-bottom: 20px;
}


/*-----------------------------------
		Resize Browser Settings
-------------------------------------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	html {
		
			-webkit-text-size-adjust: none;
		}
	
	body {
		
	}
	
	#main {
		width: auto;
	}
	
	#main li img, #main li object, blockquote.quote, .border-sm {
		max-width: 92%;
		height: auto;
	}
	
	textarea, input[type="text"] {
		width: 100%;
		height: auto;
	}
}
