body {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
	margin: 0;
	padding: 0;
	background: #000 url('../images/body-bkg.png') top repeat-x;
}

a {
	color: #4B658A;
	text-decoration: none;
	outline: none;
}

a img { border: none; }

a:hover {
	color: #00521A;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 5px 0;
	padding: 0;
	font-weight: normal;
	color: #00521C;
}

h2 { font-size: 20px; }
h3 { font-size: 16px; }

p {
	padding: 0 0 15px 0;
	margin: 0;
}

ul {
	margin: 0;
	padding: 0 0 0 30px;
}

ul.nav {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.nav li {
	float: left;
	margin: 0;
	padding: 0;
}

.break { clear: both; }

/* Layout */
#wrapper {
	width: 4000px;
	height: 640px;
}

/* Panels */
.panel {
	position: absolute;
	
}

.panelBackground, .panelForeground  {
	position: absolute;
	top: 0;
	left: 0;
}

#firstPanel {
	top: 15px;
	left: 250px;
}


#firstPanel .panelForeground {
	top: 14px;
	left: 14px;
}

#secondPanel {
	top: 50px;
	left: 1000px;
}

#secondPanel .panelForeground, #thirdPanel .panelForeground {
	top: 20px;
	left: 20px;
}

#thirdPanelContent {
	top: 125px;
	left: 115px;
	width: 760px;
	height: 310px;
	position:absolute;
}

#secondPanel p, #secondPanel h1 { display: none; }

#secondPanel .panelForeground#secondPanelContent {
	top: 99px;
	left: 101px;
}

#secondPanel .panelForeground#secondWinemakerLogo {
	top: -30px;
	left: -35px;
}

#thirdPanel .panelForeground#thirdWinemakerLogo {
	top: -30px;
	left: -35px;
}

#thirdPanel {
	top: 50px;
	left: 2100px;
}

/* Navbar */
.nav, .companyLogos {
	position: absolute;
}

.nav ul li, .nav ul, .companyLogos ul li, .companyLogos ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav ul li a, .companyLogos ul li a {
	text-indent: -9999px;
	background-position: top right;
	background-repeat: no-repeat;
	width: 216px;
	height: 30px;
	display: block;
}

.nav.horizontal {
	width: 800px;
}

.companyLogos.horizontal {
	width: 330px;
	padding-left: 570px;
}

.nav.horizontal ul li, .companyLogos.horizontal ul li { float: left; float: left; }

.companyLogos.horizontal ul li {
	margin-right: 20px;
}

.companyLogos.horizontal ul li.companyOverplay { margin-top: 5px; }
.companyLogos.horizontal ul li.companyUclick { margin-top: 3px; }

.navAbout a { background-image: url('../images/nav-about.png'); }
.nav.horizontal ul li.navAbout a { 
	width: 80px;
}

.nav ul li.navScreenshots a { background-image: url('../images/nav-screenshots.png'); }

.nav ul li.navTrailer a {  background-image: url('../images/nav-trailer.png'); }

.nav.horizontal ul li.navTrailer a {  
	background-position: -55px -1px;
	width: 120px;
}
.nav.horizontal ul li.navScreenshots a {
	width: 170px;
}

.nav ul li.navDownload a { background-image: url('../images/nav-download.png'); }

#firstNav {
	top: 230px;
	left: 35px;
}

#secondNav {
	top: 35px;
	left: 1420px;
}

#thirdNav {
	top: 35px;
	left: 2600px;
}

#thirdPanelContent a, #screenshotsSpacer {
	width: 100px;
	height: 75px;
	display: block;
	float: left;
	margin: 0 25px 20px 0;
} 


/* Company logos */
.companyLogos ul li { margin-bottom: 10px; }
.companyLogos.horizontal ul li { margin-bottom: 0px; }

.companyLogos ul li a {

}

.companyMerscom { 
	background-image: url('../images/logo-merscom.png');
	height: 32px;
	width: 77px;
}

.companyUclick {
	background-image: url('../images/logo-uclick.png');
	height: 28px;
	width: 64px;
}

.companyOverplay { 
	background-image: url('../images/logo-overplay.png');
	height: 25px;
	width: 82px;
}

#firstCompanyLogos {
	top: 240px;
	left:770px;
}

#secondCompanyLogos {
	top: 570px;
	left: 1080px;
}

#thirdCompanyLogos {
	top: 570px;
	left: 2185px;
}















#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/lightbox/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
