* {padding: 0; margin: 0;}
img, fieldset {border: none;}
ul {list-style: none;}
body {
	font-size: 57%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	line-height: 187%;
	background: #555;
	color: #999;
}
/*end reset*/

/*text and defaults*/
p {
	margin-bottom: 1.4em;
	font-size: 1.2em;
}

br {
	margin-bottom: 1.4em;
}

p br, li br {
	margin-bottom: 0;
}

table {
	font-size: 1.2em;
}

dl {
	margin-bottom: 1.4em;
}

li {
	font-size: 1.2em;
}

ul.bullets {/*bulleted lists must have a class on them*/
	list-style: disc;
	margin: 0 0 1.4em 14px;
}

ul.bullets li {
	font-size: 1.2em;
}

ol {
	margin: 0 0 1.4em 14px;
}

table {
	
}

input, textarea, option {
	padding: 2px;border:1px solid #444;width:350px;
}
input.submit{
	width:auto;
}
a {
	text-decoration: none;
	color: #143D8D;
}

a:visited {
	color: #143D8D;
}

a:hover {
	text-decoration: underline;
}

a:active {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
	font-size: 1.2em;
	font-weight: bold;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
}

.enabled .inviz, .preload {/*hide content while preloading it*/
	position: absolute !important;
	top: -9999px !important;
	left: -9999px !important;
	height: 0px !important;
	width: 0px !important;
	overflow: hidden !important;
}

.inner { /*a common inner wrapper element, seperates contents from edge*/
	/*position: relative; ---brett took out for ie7 fix...*/
	zoom: 1;
}

.center {
	text-align: center;
}

img.centered {
	display: block;
	margin: 0 auto;
}

.rounded {
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.auto {
	overflow: auto !important;
}

.faux {
	overflow: hidden;
}

/*end text and defaults*/

/*main layout*/

#wrapper {
	width: 960px;
	margin: 0 auto;
}

#header {
	height: 100px;
	padding-top: 1px;
	position: relative;
	z-index: 100;
}

	a#logo {
		position: absolute;
		left: 20px;
		bottom: 0;
		line-height: 0;
	}
	
	p#teamwork {
		font-size: 1.4em;
		font-style: italic;
		position: absolute;
		bottom: 35px;
		right: 0;
		width: 500px;/*stupid hack for IE7*/
		text-align: right;/*stupid hack for IE7*/
	}
	
	ul#nav {
		background: #333;
		height: 23px;
		line-height: 23px;
		margin-top: 55px;
		margin-right: -2px;
		padding-left: 2px;
		zoom: 1;
		width: 100%;
		text-align: right;
	}
	
	ul#nav li {
		display: inline-block;
		*display: inline;
		padding: 0 17px;
		*padding: 5px 22px 5px 23px;
		font-size: 13px;
		border-left: 2px solid #555;
		height: 23px;
		position: relative;
		text-transform: uppercase;
	}
	
	ul#nav a, ul#nav a:visited {
		color: #999;
	}
	
	ul#nav a:hover, ul#nav a.active {
		color: #fff;
		text-decoration: none;
	}
	
	ul#nav ul {
		display: none;
		position: absolute;
		left: -2px;
		_left: 0;
		width: 100%;
                *width: 95.5%;
		_width: 120px;/*IE6 has big issues with 100%*/
		padding: 0 4px;
		_padding: 0;
		top: 23px;
		background: #494949;
		text-align: center;
		z-index: 1000;
		zoom: 1;
	}
	
	ul#nav li:hover ul, ul#nav li.active ul {
		display: block;
	}

        ul#nav li li a {
            /**border-top: 1px solid #494949;
            *border-bottom: 1px solid #494949;*/
        }

        ul#nav li li li a {
            *border: none;
        }
	
	ul#nav ul ul {
		width: 130px;
		right: 100%;
		left: -99em;
		top: 0;
		margin-right: 4px;
		_margin-right: 0;
		background: #222222;
		border-left: none;
	}
	
	ul#nav li:hover ul ul, ul#nav li.active ul ul {
		display: none;
                left: auto;
		*display: block;
		*visibility: hidden;
	}
	
	ul#nav li ul li:hover ul, ul#nav li ul li.active ul {
		display: block;
		*visibility: visible;
	}
	
	ul#nav ul li {
		padding: 0;
		font-weight: bold;
		font-size: 10px;
		display: block;
		height: auto;
		border: none;
		zoom: 1;
	}

        ul#nav ul, ul#nav ul * {
            zoom: 1;
        }
	
	ul#nav ul a {
		display: block;
		color: #fff !important;
		width: 100%;
		padding: 4px 5px;
		margin-left: -6px;
		line-height: 16px;
		zoom: 1;
	}
	
	ul#nav ul a:hover {
		background: #000000;
                /**border: none;*/
	}




#page {
	overflow: hidden;
	background: url(/images/logotype.png) top left no-repeat #333;
	zoom: 1;
	color: #fff;
	height: 500px;
	position: relative;
}
	#standard-background {
		height: 440px;
		padding: 40px 0 20px 0;
		overflow: hidden;
		background: url(/images/standard-stripe.gif) top right repeat-y;
	}
		#standard-scroll {
			height: 440px;
			overflow: auto;
		}
		#top {
			position: absolute;
			width: 440px;
			height: 2px;
			background: #404040;
			left: 20px;
			top: 40px;
			z-index: 100;
		}
	#main {
		height: 500px;
		float: right;
		width: 480px;
	}
	#standard #main {
		height: auto;
	}
	#standard #main {
		width: 460px;
		float: left;
	}
		#main .inner {
			padding: 40px 20px 20px 20px;
		}
		
		#standard #main .inner {
			padding: 0 0 0 20px;
			/*width: 460px;*/
			color: #000;
		}
		
		#homepage #main .inner {
			padding: 0 0 0 0;
		}
		#portfolio .inner {
			position:relative;
		}

		#portfolio #main 
		{
			position: relative;
		}
		
		#portfolio #main .inner {
			height: 350px;
			_height: 340px;
			overflow: auto;
			position: relative;
			z-index: 1;
			padding-top: 0;
			margin-top: 40px;
		}
		
		#subnav {
			height: 100px;
			position: absolute;
			width: 100%;
			left: 0;
			bottom: 0;
			text-align: center;
			overflow: hidden;
			_bottom: 10px;
		}
		
			#subnav .innerwrap {
				position: relative;
				height: 100px;
			}
		
			a#nav-left, a#nav-right {
				display: block;
				height: 26px;
				width: 17px;
				position: absolute;
				top: 30px;
				text-indent: -9999px;
				z-index: 10;
			}
			
			a#nav-left {
				left: 20px;
				background: url(/images/nav-left.png) top left no-repeat;
			}
			
			a#nav-right {
				right: 20px;
				background: url(/images/nav-right.png) top left no-repeat;
			}
			
			a#nav-left:hover, a#nav-right:hover {
				background-position: bottom left;
			}
	
	#portfolio #main {
		height: 400px;
		padding-bottom: 100px;
	}
	
	#homepage #main {
		background: #000;
		overflow: hidden;
	}
	
		#homepage #panel .inner {
			overflow: hidden;
			height: 438px;
		}
		#homepage #panel ul {
			list-style: none;
		}
		#homepage.enabled #panel ul {
			
		}
		#homepage #panel a, #homepage #panel a img {
			display: block;
			height: 144px;
			width: 144px;
		}
		#homepage #panel a {
			float: left;
			border: 1px solid #404040;
			line-height: 0;
		}
		#homepage.enabled #panel a img {/*only hide these if JS enabled*/
			visibility: hidden;
		}
		
		#homepage #main a {
			/*position: absolute;
			left: 0;
			top: 50%;
			margin-top: -105px;*/
		}
		
		#homepage #main a img {
			
		}
	
	#panel {
		height: 440px;
		float: left;
		width: 440px;
		padding: 40px 20px 20px 20px;
		zoom: 1;
	}
	
	#standard #panel {
		height: auto;
		padding: 0 20px;
	}
	
	#standard.enabled #panel {
		margin-top: 2px;
	}
	
	#portfolio #panel {
		width: 472px;
		height: 480px;
		padding: 20px 0 0 8px;
                *padding-top: 40px;
	}
		#panel .inner, #standard #panel .img-wrap img {
			border: 1px solid #404040;
			overflow: hidden;
		}
		
		#standard.enabled #panel .inner, #standard.enabled #panel .first img {
			border-top: none;
		}
		
		.img-wrap {
			line-height: 0;
		}
		
		.img-wrap img {
			*vertical-align: middle;
		}
	
#footer {
	clear: both;
	text-align: center;
	padding-top: 10px;
	line-height:2.5em;
}


#footer a {
	color: #fff !important;
}

/*end main layout*/

/*extra stuff*/
#full-image {
	height: 356px;
	overflow: hidden;
	background-repeat: no-repeat;
	line-height: 0;
	margin: 20px 0 8px 0;
	zoom: 1;
	_padding-top: 21px;/*don't ask*/
	_position: relative;
}
#full-image img {
	_position: absolute;
	_left: 0;
	_top: 21px;
}
ul#thumbnails {
	padding: 0;
	margin: 0 0 0 -8px;
	height: 88px;
}
ul#thumbnails li {
	list-style: none;
	float: left;
	background: #000;
	line-height: 0;
	border-left: 8px solid #333;
}
ul#thumbnails a:hover img, ul#thumbnails a.active img {
	opacity: .7;
	filter: alpha(opacity=70);
}
ul#thumbnails img {
	height: 88px;
	width: 88px;
}
/*end extra stuff*/
