﻿/*

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 {
	background: #020012;
	color: #fff;
	font-size: 12px;
	font-family: 'Open Sans', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
a {
	color: #fff;
	text-decoration: none;
}
.imglink {
	border: none;
}
div {
	display: block;
}

h3 {
	font-size: 16px;
}
h2 {
	margin-bottom: 18px;
}
/* Layout */
nav {
	height: 20px;
	margin-top: 40px;
	list-style: none;
	width: 420px;
	float: left;
	margin-left: 120px;
}
nav a {
	text-decoration: none;
	color: #fff;
	font-size: 18px;
	margin-left: 30px;
	float: left;

}
nav a:hover {
	text-decoration: underline;
}
header h1 {
	background: url(images/logo.png) no-repeat;
	height: 90px;
	width: 400px;
	float: left;
}
header h1 a {
	display: block;
	height: 90px;
	text-indent: -9999em;
	width: 400px;
}
#wrapper {
	margin: 0 auto;
	width: 960px;
}
header {
	float: left;
	width: 100%;
	padding-top: 16px;
}
#intro-pic {
	float: left;
	height: 280px;
	margin: 15px auto;
	overflow: hidden;
	position: relative;
}
#work {
	position: relative;
	height: 600px;
}
#elsewhere {
	height: 250px;
	padding-top: 15px;
	float: left;
}
#content {
	min-height: 600px;
	float: left;
}
#content .inside {
	height: 860px;
	margin: 12px auto;
}
#footer {
	float: left;
	padding-top: 10px;
}
#footer .inside {
	width: 750px;
	height: 40px;
	margin: 0 auto;

}
#about{
	width: 600px;
	float: left;
}

#sidebar {
	width: 320px;
	margin-left: 40px;
	float: left;
	font-size: 14px;
	line-height: 20px;

}

#contactform {
	width: 930px;
	margin: 60px 0;
}

#below-header {
	float: left;
}
#message {
	width: 100%;
	color: #fff;
	font-weight: 600;
	background: #1D629F;
	float: right;
	text-align:center;
	font-size: 14px;
	padding: 8px 0;
	border-left: 1px #fff solid;
	border-right: 1px #fff solid;
}

#message a {
	text-decoration: underline;
}

/*Other Styling*/

.flickr_badge_image {
	height: 75px;
	width: 75px;
	float: left;
	margin: 15px;
}
.boxgrid {
	width: 300px;
	height: 250px;
	background: #161613;
	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;
}

#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 {
	line-height: 18px;
	margin-bottom: 10px;
	color: #fff;
}

.boxcaption p {
	font-size: 13px;
}
.portfolio {
	float: left;
	margin-left: 40px;
	margin-right: 60px;
}
.portfolio h3 {
	margin-bottom: 10px;
}
#work h2, #elsewhere h2 {
	font-size: 26px;
	height: 40px;
	margin-bottom: 12px;
	margin-left: 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 {
	font-size: 14px;
	line-height: 20px;
	margin-left: 10px;
	margin-bottom: 18px;
}

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

#greeting {
	font-size: 24px;
	line-height: 32px;
	padding: 20px 0 8px 10px;	
}


#about a {
	text-decoration: underline;
}

#about ul {
	margin-left: 50px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 20px;
}
#sidebar ul li {
	margin-top:8px;
	margin-left: 25px;
}
#email {
	direction: rtl;
	unicode-bidi: bidi-override;
}

.none {
	display:none;
}
