/* 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%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* MASTER STYLES
=========================*/
html {
	height: 100%;		/* For the sticky footer */
}
body {
	background: #333 url(/images/background.png) repeat-x 0 -85px;
	font-family: Helvetica, Arial, sans-serif;
	height: 100%;		/* For the sticky footer */
}
#wrapper {
	width: 800px;
	margin: 0 auto;
	height: auto;		/* For the sticky footer */
	min-height: 100%;	/* For the sticky footer */
}
a {
	color: #c6ced2;
	-webkit-transition: color .25s linear;
}
a:hover {
	color: #fff;
}
a:active {
	text-shadow: none;
}

/* HEADER
=========================*/
#header {
	height: 125px;
}
#header-logo {
	width: 250px;
	height: 87px;
	margin-right: 25px;
	float: left;
}
#header-logo img {
	display: block;
	width: 207px;
	height: 65px;
	margin: 10px 19px 12px 24px;
}
#header-info {
	margin-left: 275px;
	height: 50px;
	font-size: 17px;
	line-height: 25px;
	padding: 19px 0 18px;
	font-weight: normal;
	color: #333;
}
#header-contact {
	font-weight: bold;
}
#header-contact a {
	color: #333;
}
#header-nav {
	height: 38px;
	width: 365px;
	margin: 0 auto;
}
#header-nav li {
	width: 100px;
	text-align: center;
	line-height: 38px;
}
#header-nav li.portfolio {
	float: left;
}
#header-nav li.about {
	float: right;
}
#header-nav li a {
	display: block;
	font-size: 21px;
	text-shadow: 1px 1px 3px #333;
	text-decoration: none;
}

/* CONTENT
=========================*/
#content {
	padding-bottom: 125px;	/* For the sticky footer */
}
h3 {
	height: 75px;
	font-weight: normal;
	font-size: 30px;
	line-height: 75px;
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 3px #000;
}

/* FOOTER
=========================*/
#footer {
	height: 75px;
	padding: 25px 0 5px;
	background: url(/images/background.png) repeat-x 0 20px;
	margin-top: -125px;	/* For the sticky footer */
	clear: both;		/* For the sticky footer */
}
#footer p {
	font-size: 21px;
	line-height: 75px;
	color: #333;
	text-align: center;
	text-shadow: 1px 1px #777;
}

/* PORTFOLIO
=========================*/
#portfolio-nav {
	height: 325px;
	padding: 25px 0;
	margin-right: -25px;
}
#portfolio-nav li {
	display: block;
	float: left;
	width: 250px;
	height: 150px;
	margin: 0 25px 25px 0 ;
}
#portfolio-nav a {
	display: block;
	width: 226px;
	height: 126px;
	padding: 8px;
	border: 4px solid #656768;
	-webkit-transition: border-color .25s linear;
}
#portfolio-nav a:hover {
	border-color: #70858f;
}
#portfolio-nav img {
	display: block;
	width: 226px;
	height: 126px;
}
#portfolio-contact {
	font-size: 21px;
	line-height: 25px;
	text-align: center;
	color: #fff;
	text-shadow: 1px 1px 3px #222;
	margin-bottom: 25px;
}
#portfolio-articles .article {
	width: 610px;
	margin: 25px auto;
}
#portfolio-articles .article .header {
	height: 50px;
	padding: 5px 5px 0;
	background: url(/images/modal-background.png) no-repeat 0 0;
}
#portfolio-articles .article .footer {
	height: 50px;
	padding: 0 5px 5px;
	background: url(/images/modal-background.png) no-repeat 0 -55px;
}
.back-to-top {
	float: right;
	display: block;
	width: 30px;
	height: 15px;
	overflow: hidden;
	text-indent: 45px;
	padding: 5px 5px 0 0;
	margin: -5px -5px 0 0;
	background: url(/images/modal-background.png) no-repeat -455px -110px;
}
.back-to-top:hover {
	background-position: -495px -110px;
}
h4 {
	height: 49px;
	line-height: 49px;
	border-bottom: 1px solid #c6ced2;
	margin: 0 25px;
	text-align: center;
}
#portfolio-articles .article .body {
	background: url(/images/modal-background.png) repeat-y -610px 0;
	padding: 0 5px;
}
#portfolio-articles .article .section {
	padding: 25px;
}
#portfolio-articles .article .section-image {
	display: block;
	width: 225px;
	height: 225px;
	margin-right: 25px;
	float: left;
}
#portfolio-articles .article .section-image img {
	display: block;
	width: 225px;
	height: 225px;
}
#portfolio-articles .article .section-content {
	margin-left: 250px;
	height: 225px;
}
#portfolio-articles .article .body p {
	font-size: 12px;
	line-height: 15px;
	padding-bottom: 15px;
}
#portfolio-articles .article .body  h5 {
	font-size: 12px;
	line-height: 15px;
	font-weight: bold;
}
#portfolio-articles .article a {
	font-weight: bold;
	color: #446372;
	text-decoration: underline;
	-webkit-transition: color .25s linear;
}
#portfolio-articles .article a:hover {
	color: #70858f;
}

/* ABOUT
=========================*/
#about h3 {
	margin-bottom: 25px;
}
#about p {
	color: white;
	font-size: 18px;
	line-height: 25px;
	margin: 0 auto 25px;
	text-shadow: #222 1px 1px 3px;
	width: 540px;
}

/*==================================================
---------------- SCRIPTED STYLES -------------------
==================================================*/
body.scripted #header-nav {
	padding-bottom: 18px;
	margin-bottom: -18px;
	background: url(/images/indicator.png) no-repeat 25px 36px;
}
body.scripted #about {
	display: none;
}
body.scripted #portfolio-articles .article {
	position: fixed;
	top: 0%;
	left: 50%;
	margin: -385px 0 0 -305px;
	z-index: 2;
}
body.scripted #backdrop {
	background: black;
	z-index: 1;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
}
body.scripted #modal {
	background: transparent;
	opacity: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
}
body.scripted #modal-backdrop {
	background: black;
	width: 100%;
	height: 100%;
}
body.scripted #modal-window {
	background: white;
	position: fixed;
	z-index: 3;
	top: 50%;
	left: 50%;
	margin: -161px 0 0 -266px;
	width: 480px;
	height: 270px;
	padding: 25px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
body.scripted #modal-content {
	opacity: 0;
}
body.scripted #modal-content img {
	display: block;
}
body.scripted #modal-content pre {
	width: 480px;
	height: 270px;
	overflow: scroll;
}
body.scripted #modal-loading {
	width: 480px;
	height: 270px;
	background: url(/images/loading.gif) no-repeat 50% 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -135px 0 0 -240px;
}
body.scripted #modal-close {
	display: block;
	width: 30px;
	height: 15px;
	overflow: hidden;
	text-indent: 45px;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
	background: black url(/images/modal-background.png) no-repeat -535px -115px;
}
body.scripted #modal-close:hover {
	background: black url(/images/modal-background.png) no-repeat -575px -115px;
}
body.scripted #portfolio-articles .article .section-wrap-outer {
	overflow: hidden;
}
body.scripted #portfolio-articles .article .section-wrap-inner {
	height: 275px;
	width: 550px;
}
body.scripted #portfolio-articles .article .section {
	width: 550px;
	float: left;
}
body.scripted #portfolio-articles .article .pagination {
	height: 15px;
	padding: 17px 0;
	line-height: 15px;
	border-top: 1px solid #c6ced2;
	margin: 0 25px;
	font-size: 12px;
}
body.scripted #portfolio-articles .article .pagination-prev {
	float: left;
	cursor: pointer;
}
body.scripted #portfolio-articles .article .pagination-next {
	float: right;
	cursor: pointer;
}
body.scripted #portfolio-articles .article .pagination-indicator {
	display: block;
	text-align: center;
	width: 200px;
	margin: 0 auto;
}
body.scripted #portfolio-articles .article .header {
	background-position: 0 0;
}
body.scripted #portfolio-articles .article .header.hover {
	background-position: 0 -55px;
}
body.scripted #portfolio-articles .article .back-to-top {
	background-position: -535px -110px;
}
body.scripted #portfolio-articles .article .back-to-top:hover {
	background-position: -575px -110px;
}