﻿/*

EricOuyang.Com CSS

Hey--- I'm glad you wanted to check out the CSS behind EricOuyang.Com. Feel free to explore the code. Any questions/comments/improvements just contact me!

*/
/* CSS Reset http://meyerweb.com/eric/tools/css/reset/ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
/* End of CSS Reset */
/* General */
body {
	color: #000000;
	font-size: 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
}
a {
	color: #000000;
	text-decoration: none;
}
.imglink {
	border: none;
}
div {
	display: block;
}

h3 {
	font-size: 16px;

}
/* Layout */
#header ul {
	height: 20px;
	margin-top: 50px;
	list-style: none;
	width: 380px;
	float: left;
	margin-left: 160px;
}
#header ul li {
	float: left;
	margin-left: 30px;
}
#header ul li a {
	text-decoration: none;
	color: #000000;
	font-size: 16px;
}
#header ul li a:hover {
	text-decoration: underline;
}
#header h1 {
	background: url(images/logo.png) no-repeat 0 20px;
	height: 85px;
	width: 400px;
	float: left;
}
#header h1 a {
	display: block;
	height: 85px;
	text-indent: -9999em;
	width: 400px;
}
#outer-wrapper {
	background: url(images/boats.jpg) no-repeat;
}
#header {
	height: 100px;
	width: 960px;
	margin: 0 auto;
}
#intro-pic {
	height: 280px;
	width: 960px;
	margin: 10px auto;
	overflow: hidden;
	position: relative;
}
#work {
	position: relative;
	height: 600px;
}
#elsewhere {
	height: 250px;
	padding-top: 15px;
	float: left;
}
#content {
	min-height: 600px;
}
#inside {
	width: 960px;
	height: 880px;
	margin: 20px auto;
}
#footer {
	width: 700px;
	height: 40px;
	margin: 0 auto;
}
#about{
	width: 600px;
	float: left;
}

#sidebar {
	width: 340px;
	margin-left:20px;
	float: left;
}

#contactform {
	width: 940px;
	margin: 10px 0;
}

/*Other Styling*/

.flickr_badge_image {
	height: 75px;
	width: 75px;
	float: left;
	margin: 15px;
}
.boxgrid {
	width: 300px;
	height: 250px;
	background: #161613;
	border: solid 2px #8399AF;
	overflow: hidden;
	position: absolute;
}

#position1 {
	left: 10px;
	top: 50px;
}

#position2 {
	left: 330px;
	top: 50px;
}

#position3 {
	left: 650px;
	top: 50px;
}

#position4 {
	left: 10px;
	top: 320px;
}

#position5 {
	left: 330px;
	top: 320px;
	background:#EEEEEE;
	opacity: .6; /* For IE 5-7 */;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60); /* For IE 8 */;
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";

}

#position6 {
	left: 650px;
	top: 320px;
}
.boxgrid img {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
}
.boxcaption {
	float: left;
	position: absolute;
	background: #000;
	width: 100%;
	padding: 10px;
}
#intro-caption {
	height: 50px;
	top: 220px;
	left: 0px;
	opacity: 0; /* For IE 5-7 */;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); /* For IE 8 */;
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
.captionfull .boxcaption {
	top: 250px;
	left: 0;
	height: 80px;
	width: 280px;
	opacity: .8; /* For IE 5-7 */;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); /* For IE 8 */;
	-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
.boxcaption h3, .boxcaption p {
	margin-bottom: 10px;
	color: #fff;
}

.portfolio {
	float: left;
	margin-left: 40px;
	margin-right: 60px;
}
.portfolio h3 {
	margin-bottom: 10px;
}
#work h2 {
	background: url(images/work.png) no-repeat;
	height: 40px;
	margin-bottom: 12px;
}
#elsewhere h2 {
	background: url(images/where-else-am-i.png) no-repeat;
	height: 40px;
	margin-bottom: 12px;
}

#elsewhere a {
	height: 64px;
	float: left;
	width: 450px;
	position:relative;
	font-size: 18px;
	color: #000;
	text-indent: 100px;
	
}

#fb {
	background: url('images/facebook.png') no-repeat;

}

#flickr {
	background: url('images/flickr.png') no-repeat;

}

#twitter {
	background: url('images/twitter.png') no-repeat;

}

#youtube {
	background: url('images/youtube.png') no-repeat;

}

#google {
	background: url('images/google.png') no-repeat;

}

#linkedin {
	background: url('images/linkedin.png') no-repeat;
}

#footer p{
	float: left;
	margin-right: 20px;
}

#about p {
	line-height:normal;
	margin-left: 10px;
}

#about h2{
	font-size: 16px;
	margin-left:10px;
}

#greeting {
	height: 100px;
	width: 700px;
	margin: 10px auto;
	background: url(images/greeting.png) no-repeat;	
}

#about a {
	text-decoration: underline;
}

#sidebar ul li {
	margin-top:8px;
	margin-bottom: 8px; 
	margin-left: 25px;
}