@font-face {
    font-family: 'PetitaMedium';
    src: url('petita/petitamedium-webfont.eot');
    src: url('petita/petitamedium-webfont.eot?#iefix') format('embedded-opentype'),
         url('petita/petitamedium-webfont.woff') format('woff'),
         url('petita/petitamedium-webfont.ttf') format('truetype'),
         url('petita/petitamedium-webfont.svg#PetitaMediumRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	margin: 0;
	font-family: 'PetitaMedium', Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #404040;
	line-height: 145%;
	background-image: url('images/bg.png');
	background-position: top center;
	text-align: left;
	}
img {
	border: 0;
	}
em {
	font-family: 'Gill Sans', Helvetica, Arial, sans-serif;
	}
#page {
	margin: 0 auto;
	width: 980px;
	background: rgba(255, 255, 255, 0.5);
	}
#header {
	height: 120px;
	}
	
#header h1 {
	margin: 0;
	}
#header #logo {
	width: 470px;
	height: 100px;
	float: left;
	background: url('/images/logo.png') no-repeat 0 18px;
	text-indent: -9999px;
}
#header a {
	color: #bfbfbf;
	}
#header a:hover, #header a.active {
	color: #808080;
	text-decoration: none;
	}
#nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	}
#nav li {
	float: left;
	margin-left: 40px;
	}
#nav li a {
	width: 130px;
	height: 80px;
	line-height: 88px;
	background: #dfdfdf;
	background: -webkit-linear-gradient(#f2f2f2, #ccc);
	background: -moz-linear-gradient(#f2f2f2, #ccc);
	background: -ms-linear-gradient(#f2f2f2, #ccc);
	background: linear-gradient(#f2f2f2, #ccc);
	display: block;
	text-align: center;
	text-transform: uppercase;
	color: #595959;
	font-size: 18px;
	opacity: .65;
	-webkit-transition: 0.25s all;
	-moz-transition: 0.25s all;
	-ms-transition: 0.25s all;
	transition: 0.25s all;
}
#nav li a:hover {
	opacity: 1;
}
	
h1 {
	font-size: 32px;
	font-weight: normal;
	color: #404040;
	margin: 4px 0;
	line-height: 32px;
	}
	
h2 {
	font-size: 18px;
	font-weight: normal;
	color: #808080;
	margin: 0 0 1.5em 0;
	line-height: 24px;
	}	
	
h2 + p {
	margin-top: 0;
	}
	
.resume h2 {
	font-size: 24px;
	font-weight: normal;
	color: #804040;
	margin: 1.75em 0 .5em;
	line-height: 30px;
	}
	
h3 {
	font-size: 18px;
	font-weight: normal;
	color: #404040;
	margin: 0 0 .1em 0;
	}
	
.resume h3 {
	margin: 0 0 .2em 0;
	}
	
h4 {
	font-size: 14px;
	font-weight: normal;
	color: #808080;
	margin: 0 0 1.25em 0;
	}

.resume h4 {
	margin: 0 0 .5em 0;
	line-height: 20px;
	}
	
h4 a, h4 a:hover {
	color: #808080;
	}
a {
	color: #3083bf;
	text-decoration: none;
	}
a:hover {
	color: #3d7399;
	text-decoration: underline;
	}
p {
	margin: 0 0 1.5em 0;
	}
p.front {
	margin: -.25em 0 0 0;
	
	}
	
ul {
	padding-left: 30px;
	margin: .75em 0 1.75em;
	}
.left {float: left;}
.right {float: right;}
.clear {clear: both;}

.half {width: 470px;}

.projects {
	width: 980px;
	margin: 0;
}

.projects .project {
	width: 300px;
	line-height: 18px;
	font-size: 14px;
	float: left;
	margin: 10px 0 20px;
}

.projects .project.center {
	margin: 10px 40px 20px;
}

.projects .project a {
	color: #999;
	-webkit-transition: .5s all;
	-webkit-transform: translateZ(0);
	
	-moz-transition: .5s all;
	-moz-transform: translateZ(0);
	
	-ms-transition: .5s all;
	-ms-transform: translateZ(0);
	
	transition: .5s all;
	transform: translateZ(0);
}

.projects .project a:hover {
	color: #808080;
	text-decoration: none;
}

.projects .project img {
	width: 300px;
	height: 220px;
	display: block;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	
	-webkit-transition: .5s all;
	-webkit-transform: scale(1);
	
	-moz-transition: .5s all;
	-moz-transform: scale(1);
	
	-ms-transition: .5s all;
	-ms-transform: scale(1);
	
	transition: .5s all;
	transform: scale(1);
}

.projects .project a:hover img {
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
	-webkit-transform: scale(1.03);
	-moz-transform: scale(1.03);
	-ms-transform: scale(1.03);
	transform: scale(1.03);
}


.projects .project h3 {
	margin: 0;
	font-size: 16px;
	line-height: 20px;
	color: #4c4c4c;
padding-top: 8px;
}

.projects .project a:hover h3 {
	color: #333;
	text-decoration: none;
}

.projects {
	width: 980px;
	margin: 0;
}

#home_info {
	padding: 20px 0;
}

#home_info h2 {
	color: #800000;
	margin: 0;
}

#who-i-am, #what-i-do {
	width: 390px;
	margin-right: 40px;
	float: left;
}

#contact-me {
	width: 120px;
	float: left;
}

#contact-me ul {
	margin: 0;
	list-style: none;
	padding: 0;
	background: url('/images/home_contact.png') no-repeat;
}

#contact-me ul li {
	font-size: 18px;
	line-height: 33px;
}

#contact-me ul li a {
	padding-left: 27px;
	display: block;
	color: #404040;
}

a.cta {
	font-size: 125%;
}
	
.port-box {
	width: 300px;
	font-size: 18px;
	padding: 40px 0 0 40px;
	float: left;
}

.port-box.clear {
	padding: 40px 0 0 0;
}

.port-box a {
	display: block;
	text-decoration: none;
	color: #404040;
	}
	
.port-box a:hover {
	color: #000;
	}
	
.port-box a span {
	display: block;
	text-decoration: none;
	color: #808080;
	}
	
.port-box a:hover span {
	color: #404040;
	}

.port-box img {
	width: 300px;
	height: 225px;
	margin-bottom: 10px;
	}
	
.port-box span {
	font-size: 14px;
	}
	

.port {
	margin-bottom: 75px;
	}
	
#other-proj h2 {
	margin-bottom: .5em;
	}
	
.other-proj-box {
	width: 130px;
	font-size: 14px;
	position: relative;
	padding: 0 40px 0 0;
}

.other-proj-box a {
	display: block;
	text-decoration: none;
	color: #a6a6a6;
	}
	
.other-proj-box a:hover {
	color: #808080;
	}

.other-proj-box img {
	width: 130px;
	height: 98px;
	}
	
.other-proj-box img.overlay {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	}
	
.links {
	width: 300px;
	float: right;
	margin-top: 30px;
	}
	
.links a {
	color: #555;
	display: block;
	font-size: 20px;
	line-height: 32px;
	padding: 0 0 0 40px;
	margin: .5em 0;
	}
	
.links a:hover {
	color: #000;
	text-decoration: none;
	}
	
.links a.pdf {
	background: url(images/pdf.png) no-repeat;
	}

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

.error {
	color: maroon;
	}

input.error {
	border: 1px solid #bf0000;
	}
	
.star {
	color: #bf0000;
}

#slider {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	overflow: hidden;
}

#slider .images img {
	width: 470px;
	display: none;
}

#slider .images img:first-child {
	display: block;
}

#slider .controls {
	height: 50px;
	background: url(/images/sliderbg.png);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	opacity: .75;
}
	
#slider .controls .prev {
	display: box;
	width: 40px;
	height: 50px;
	float: left;
	background: url('images/sliderleft.png') center center no-repeat;
}

#slider .controls .prev:hover {
	background-image: url('images/sliderlefton.png');
}

#slider .controls .next {
	display: box;
	width: 40px;
	height: 50px;
	float: left;
	background: url('images/sliderright.png') center center no-repeat;
}

#slider .controls .next:hover {
	background-image: url('images/sliderrighton.png');
}

#slider .controls .nav {
	display: box;
	width: 390px;
	height: 50px;
	float: left;
	text-align: center;
}

#slider .controls .nav a {
	background: #808080;
	display: inline-block;
	color: #808080;
	text-decoration: none;
	margin: 20px 10px;
	width: 10px;
	height: 10px;
	overflow: hidden;
	border-radius: 4px;
}

#slider .controls .nav a.activeSlide {
	background: #fff;
	color: #fff;
}

#slider a:focus { outline: none; }
	
#footer {
color: #bfbfbf;
clear: both;
margin: 0;
padding: 60px 0 20px 0;
}
#footer span {
border-top: 1px solid #e5e5e5;
padding: 20px 20px 20px 0;

}
#footer a {
color: #a6a6a6;
margin: 10px;
}
#footer a:first-child {
margin-left: 50px;
}
#footer a:hover {
color: #999;
}

.cf:before,
.cf:after {
    content:"";
    display:table;
}

.cf:after {
    clear:both;
}