*
{
	padding: 0;
	margin: 0;
}

body
{
	font-family: Veranda, Helvetica, Arial;
	background: #202328 url( "images/background.jpg" ) top center repeat;
}

p {
	margin-bottom: 10px;
	font-size: 140%;
}

ul {list-style: square;margin-left: 35px;margin-top: 10px;}
li { margin-bottom: 0px; }

h1, h2, h3, h4, 5
{
	margin-top: -5px;

	color: #424242;
	font-family: 'Open Sans', sans-serif;
	font-weight: 600;
}
h3 { margin-bottom: 6px; }
h4 { margin-top: 6px; margin-bottom: -8px; margin-right: 6px; border-bottom: 0px; }
h5 { float: right; font-size: 125%; text-transform: uppercase; }

input, textarea
{
	padding: 5px;	
	margin: 3px;

	-moz-box-shadow: 0 5px 5px #CDCDCD;
	-webkit-box-shadow: 0 5px 5px #CDCDCD;
	box-shadow: 0 5px 5px #CDCDCD;
	
	border: 1px solid #efefef;
	
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top,  #efefef 0%, #d6d6d6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#d6d6d6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* IE10+ */
	background: linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#d6d6d6',GradientType=0 ); /* IE6-9 */
}

#wrapper
{
	margin: 0 auto;
	margin-top: 25px;
	width: 970px;
}

#header
{
	width: 970px;
	height: 115px;

	background: #3D455A; /*url('images/header_bottom_highlight.png') repeat-x bottom left*/
	padding-bottom: 6px;
	border-bottom: 1px solid #1a1f2b;
}

#header img
{
	border: none;
}

#logo
{
	padding-top: 10px;
	padding-left: 10px;
}

#nav
{
	width: 970px;
	height: 32px;

	background: #292e3d url('images/nav_button.png') repeat-x left top;
}

#nav .active
{
	background: #292e3d url('images/nav_button.png') repeat-x left bottom;
}

#nav ul
{
	margin: 0px;
}

#nav ul li a
{
	padding-top: 6px;
	width: 115px;
	height: 24px;
	display: inline-block;

	color: #FFFFFF;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	text-shadow: 1px 2px 0px #2e0a0a;
	
	vertical-align: top;
}

#nav ul li a:hover
{
	background: #292e3d url('images/nav_button.png') repeat-x left bottom;
}

#gallery
{
	margin-top: 25px;
	padding-top: 2px;

	width: 970px;
	height: 322px;

	color: #f2f2f2;

	text-align: center;

	background: #202328 url('images/gallery_bg.png') no-repeat left top;
}

#galleryContainer
{
	width: 970px;
	height: 320px;

	overflow-y: auto;
	overflow-x: hidden;
}

#gallery #galleryContainer .slide
{
	position: relative;
	width: 970px;
	height: 320px;
}

#gallery #galleryContainer .slideInfo
{
	position: absolute;
	display: none;
	padding: 5px;
	margin-top: 290px;

	width: 970px;
	height: 20px;
	
	font-size: 120%;

	background: rgba(32,35,40,0.65);	
}

#galleryControlLeft, #galleryControlRight
{
	position: absolute;
	display: none;

	/* SUPER IMPORTANT POSITION FIX */
	margin-top: -340px;
	margin-left: -485px;

	width: 80px;
	height: 60px;

	cursor: pointer;

	background: #202328;
	opacity: .5;
}

#galleryControlRight
{
	/* SUPER IMPORTANT POSITION FIX */
	margin-left: 410px;
}

#galleryControlLeft:hover, #galleryControlRight:hover
{
	opacity: 1;
}

#content
{
	margin-top: 25px;
	min-height: 630px;
}

#aside
{
	margin-top: 25px;
	
	min-height: 450px;
	height: auto !important;
	height: 450px;

	width: 320px;
	float: right;
}

#rightfollow
{
	color: #000;
	background: #DFDFDF;

	height: 80px;
	width: 320px;
}

#rightprojects
{
	margin-top: 25px;
	color: #000;
	background: #DFDFDF;

	min-height: 470px;
	height: auto !important;
	height: 470px;

	width: 320px;
}

#nav ul, #rightprojects ul, #rightfollow ul
{
	display: inline;
}

#rightfollow ul
{
	padding-left: 4px;
}

#nav ul li, #rightprojects ul li, #rightfollow ul li
{
	list-style: none;
	display: inline;
}

#rightprojects ul li
{
	margin-left: 10px;
	width: 300px;
	height: 100px;
}

#footer
{
	width: 970px;

	padding-bottom: 10px;
	margin-bottom: 25px;
	clear: both;
	color: #DFDFDF;
	font-family: 'Source Sans Pro', sans-serif;

	text-align: center;

	/*background: #292e3d; url('images/foot_seperator.png') no-repeat center top;*/
	background: none;
}

#footer a:link, #footer a:visited
{
	color: #FFF;
}

.entry
{
	margin-bottom: 30px;
	margin-top: 15px;

	padding: 16px;
	width: 935px;
	color: #17191d;
	
	font-family: 'Source Sans Pro', sans-serif;

	-moz-box-shadow: 0 5px 5px #17191d;
	-webkit-box-shadow: 0 5px 5px #17191d;
	box-shadow: 0 5px 5px #17191d;
	
	border: 1px solid #efefef;
	
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top,  #efefef 0%, #d6d6d6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#d6d6d6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* IE10+ */
	background: linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#d6d6d6',GradientType=0 ); /* IE6-9 */
}
.entry p { font-size: 90%; }
.entry ul { font-size: 90%; }
.entry h3 { font-size: 120%; }
/*.entry img { float: right; margin-left: 8px; }*/

.entry .footer
{
	margin-top: 4px;
	padding-top: 4px;
	text-align: right;

	width: 100%;
	font-size: 16px;
	font-family: 'Istok Web', sans-serif;
	
	border-top: 1px solid #414141;
	background-color: #383838;
}
.entry .entry .footer { background-color: #323232; }

.entry div, .entry br { display: inline-block; }
.entry a:link, a:visited { padding-left: 2px; padding-right: 2px; color: #430d0d; text-decoration: none; }
.entry a:hover { color: #efefef; background-color: #202328; }

.entry .entry
{
	padding: 5px;
	width: 925px;
	margin-top: 10px;
	margin-bottom: 0px;

	-moz-box-shadow: 0 0px 5px #CDCDCD;
	-webkit-box-shadow: 0 0px 5px #CDCDCD;
	box-shadow: 0 0px 5px #CDCDCD;
	
	border: 1px solid #efefef;
	
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top,  #efefef 0%, #d6d6d6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#d6d6d6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* IE10+ */
	background: linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#d6d6d6',GradientType=0 ); /* IE6-9 */
}

.entrysmall
{
	padding: 2px;
	width: 925px;
	margin-top: 4px;
	margin-bottom: 0px;

	font-size: 70%;

	-moz-box-shadow: 0 0px 5px #CDCDCD;
	-webkit-box-shadow: 0 0px 5px #CDCDCD;
	box-shadow: 0 0px 5px #CDCDCD;
	
	border: 1px solid #efefef;
	
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top,  #efefef 0%, #d6d6d6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#d6d6d6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* IE10+ */
	background: linear-gradient(top,  #efefef 0%,#d6d6d6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efefef', endColorstr='#d6d6d6',GradientType=0 ); /* IE6-9 */
}

.entry h2 { text-transform:uppercase; }
.entry .entry h2 { margin-bottom: -10px; }
.entry .title h2 { margin-bottom: 0px; }
.entry div { display: block; }

.body
{
	width: 925px;
}

.project
{
	display: inline-block;
	height: 146px;
	text-align: center;
}

.project a, .project a:link, .project a:visited
{
	padding: 0px;
}
.project a:hover
{
	padding: 0px;
}

.title a:link, a:visited { padding: 0px; color: #430d0d; text-decoration: none; }
.title a:hover { color: #000; }
.titlelink:hover
{
	-moz-box-shadow: 0 2px 5px #CDCDCD;
	-webkit-box-shadow: 0 2px 5px #CDCDCD;
	box-shadow: 0 2px 5px #CDCDCD;
}

#gallery a:link, #gallery a:visited { color: #b4bfd2; text-decoration: none; }
#gallery a:hover { color: #FFF; background-color: #FFF; }