body {
	margin: 10px 0 0 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.4em;
	background: #666;
}
.hide{display:none;}
#wrap {
	width: 790px;
	margin: auto;
	background: #999;
}
.inner {
	padding: 0 30px;
}
#header {
	height: 190px;
	border-bottom: solid 5px #666;
	background: url(../images/ui/header-home.jpg);
}
#main {
	height: 600px;
	border-bottom: solid 5px #666;
	background: url(../images/ui/main-boxes.gif);
}
#footer {
	background: #666;
	border-top: solid 30px #999;
}
#main .inner {
	z-index: 1;
	position: relative;
}

/* hide ------------------------ */

#nav ul, .grid a strong {
	display: none;
}

/* general -------------------- */

.hidden {
	display: none;
}
.pad {
	padding: 25px;
}
.first {
	margin-top: 0;
}
.big2x1, .big4x4, #overlay {
	overflow: hidden;
}	
form {
	margin: 0;
}
img {
	display: block;
}
a.button, .grid a.button {
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	background-color: #666;
	width: auto;
	height: auto;
}
p {
	margin: 1.5em 0;
}

/* main grid ----------------- */

#main .inner {
	padding: 0;
}

ul.grid {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: 1;
	top: 5px;
	left: 0px;
}
.grid li {
	width: 190px;
	height: 190px;
	display: block;
	padding: 0;
	position: absolute;
}
.grid li span {
	padding: 25px;
	display: block;
}
.grid a {
	position: relative;
	color: #333;
	text-decoration: none;
	display: block;
	width: 190px;
	height: 190px;
}
.grid a img {
	display: block;
	border: none;
}
.grid a strong {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 190px;
	padding: 18px 0 18px 0;
	background: url(../images/ui/trans.png);
	text-align: center;
	text-transform: uppercase;
}
.box1, .box5, .box9 {
	left: 0;
}
.box2, .box6, .box10 {
	left: 200px;
}
.box3, .box7, .box11 {
	left: 400px;
}
.box4, .box8, .box12 {
	left: 600px;
}
.box5, .box6, .box7, .box8 {
	top: 200px;
}
.box9, .box10, .box11, .box12 {
	top: 400px;
}

/* bigger boxes */

li.big4x4 {
	width: 390px;
	height: 390px;
	background: url(../images/ui/big4x4.gif) #999;
	z-index: 2;
	display: block;
}
li.big4x4 span, li.big2x1 span {
	padding: 50px;
}
li.big4x4.img span, li.big2x1.img span {
	padding: 25px;
}
li.big2x1 {
	width: 390px;
	height: 190px;
	background: url(../images/ui/big2x1.gif) #999;
}
.grid span :first-child, .grid span .first {
	margin-top: 0;
}
.grid em {
	margin: 1em 0;
	font-style: normal;
	display: block;
}
.grid .heading {
	font-weight: bold;
	display: block;
	font-size: 1.4em;
}

/* Top Nav ------------------- */

#header .inner, #main .inner, #footer .inner {
	position: relative;
}
#nav {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	left: 440px;
	top: 130px;
	width: 325px;
	z-index: 9999;
}
#header .inner {
	height: 190px;
	z-index: 10;
}

#nav li {
	margin: 0 10px 0 0;
	padding: 0;
	display: block;
	float: left;
	}
#nav a {
	line-height: 25px;
	text-decoration: none;
	display: block;
	padding: 0 10px;
	color: #333;
	font-size: 12px;
	text-transform: uppercase;
}
#nav a:hover {
	background: #B2B2B2;
}
#nav li.drop {
	position: relative;
}
#nav ul {
	position: absolute;
	left: -81px;
	left: 0;
	top: 25px;
	z-index: 999;
	list-style: none;
	padding: 0;
	margin: 0;
	background: url(../images/ui/overlay.png);
	background: rgba(200,200,200,.9);
	width: 140px;
}
#nav ul a {
	width: 100%;
	padding: 0;
}
#nav ul a span {
	padding: 0 10px;
}
#nav ul li {
	float: none;
	margin: 0;
}
#nav li a.active, #nav li a.active:hover {
	background: url(../images/ui/overlay.png);
	background: rgba(200,200,200,.9);
}
#logo-link {
	display: block;
	width: 140px;
	height: 140px;
	position: absolute;
	top: 25px;
	left: 25px;
}

/* Footer ------------------- */

#footer {
	color: #333;
}
#footer a {
	color: #222;
	text-decoration: none;
}
.siteBy {
	position: absolute;
	right: 25px;
	top: 0px;
}
.copyWrite {
	position: absolute;
	top: 0px;
	left: 25px;
}
#footer .inner {
	padding: 30px 0;
}

/* Overlay ----------------- */

#overlay {
	width: 100%;
	height: 390px;
	display: block;
	background: url(../images/ui/overlay.png);
	background: rgba(200,200,200,.9);
	position: absolute;
	top: 5px;
	z-index: 100;
}
#overlay .pad {
	height: 340px;
	padding: 0;
	border: solid 25px #999;	
	position: relative;
}
#overlay .container {
	padding: 25px;
}
.container :first-child {
	margin-top: 0;
}
a#close {
	display: block;
	line-height: 25px;
	padding-left: 30px;
	background: url(../images/ui/close.png) no-repeat;
	color: #666;
	text-decoration: none;
	position: absolute;
	left: 25px;
	bottom: 25px;
}
img.loading {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -12px;
	margin-top: -12px;
}

/* Contact Form */

label {
	display: block;
	margin-bottom: 25px;
}
input {
	width: 315px;
	font-size: 12px;
	line-height: 1em;
	padding: 19px 0;
	margin: 0 0 25px 0;
	border: none;
	outline: none;
}
#email {
	position: absolute;
	right: 25px;
}
textarea {
	width: 100%;
	border: none;
	outline: none;
	padding: 10px 0 0 0;
	height: 130px;
}
#submit {
	width: 315px;
	line-height: 1em;
	display: block;
	background-color: #666;
	margin: 0 0 0 375px;
	padding: 16px 0;
	font-size: 18px;
	color: #fff;
}
input#name {
	background: url(../images/ui/form-name.gif) no-repeat #fff;
}
input#email {
	background: url(../images/ui/form-email.gif) no-repeat #fff;
}
textarea#message {
	background: url(../images/ui/form-msg.gif) no-repeat #fff;
}
input#name:focus, input#email:focus, textarea#message:focus {
	background: #fff;
}

/*Video page ----------------- */

	#video-wrap {
		padding: 25px;
	}
	object {
		margin-right: 25px;
		border: solid 5px #fff;
		display: block;
	}
	.video-info {
		position: absolute;
		width: 315px;
		height: 250px;
		right: 25px;
		background: #B2B2B2;
	}
	.video-info * {
		padding: 0 25px;
	}
	#FLVPlayer {
		visibility: visible;
		display: block;
		position: absolute;
		z-index: 999;
	}
	.video-info h2 span {
		display: block;
		font-weight:normal;
		padding: 0;
	}
	.video-info h2 {
		font-size: 1.4em;
		margin-top: 25px;
	}
	
	/* 2x1 box on homepage */
	.grid .big2x1 a{width:390px;height:190px;}
	.grid .big2x1 a strong{width:390px;}
	.grid li strong.desc small{display:block;text-transform:none;}