/* GLOBAL **************************************/
BODY {
	background: #1b2524 url(../images/en/corebg.jpg) top center no-repeat;
	color: #002325;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
}
BODY, DIV, P {
	line-height: 1.3em;
}

A { color: #006365; text-decoration: none; }
A:hover { color: #91FEFF; }
A IMG { border: 0; }

#wrapper {
	position: relative;
	margin: 0 auto 0 auto;
}

#wrapper, #header, #nav, #controls, #contentwrapper, #content, #footer {
	width: 881px;
}

/* removes the text labels so the images are only viewable *
 !!! remove the comment around the code below once images are placed !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

A span, H1 span, H2 span, H3 span, H4 span, H5 span, H6 span, H7 span {
	display: none;
}

.none { display: none; }

/* HEADER **************************************/
#header {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

#header #controls {
	position: relative;
}

#header #logo H1 {
	margin: 0;
	padding: 0;
	display: block;
	margin: 0 auto 0 auto;
	height: 120px;
	width: 262px;
	background: transparent url(../images/en/logo.png) no-repeat center center;
}

#header #controls #logo A {
	display: block;
	margin: 0 auto 0 auto;
	height: 120px;
	width: 262px;
}

#header #options {
	float: right;
	margin: -24px 0 0 0; /* shift the options out of the way, makes the main logo meet the nav */
}

#header #options A {
	display: block;
	float: left;
	height: 20px;
	margin: 0 0 0 9px;
}

/*#header #options #language {*/
#header #options .language {
	height: 20px;
	width: 44px;
	background: transparent url(../images/en/espaniol.png) no-repeat top right;
	display: block;
	margin-left: 12px;
}

/*#header #homelink {*/
#header .homelink {
	height: 20px;
	width: 32px;
	background: transparent url(../images/en/home.png) no-repeat top right;
}

/*#header #registernow {*/
#header .registernow {
	height: 20px;
	width: 50px;
	background: transparent url(../images/en/register.png) no-repeat top right;
}

/* MENU GENERAL **************************************/
#header UL {
	position: relative;
	margin: 0 auto 0 auto;
	padding: 0;
	z-index: 190;
}

#header UL, #header LI {
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
	height: 28px;
}
#header UL LI DIV {
	position: relative;
	margin: 0;
}
#header LI {
	height: 28px;
	background: transparent url(../images/en/mainNav_bg.png);
	margin: 0 1px 0 0;
}
#header LI A {
	position: absolute;
	display: block;
	height: 28px;
	z-index: 200;
}
#header LI UL LI {
	height: 20px;
	background: transparent url(../images/en/sub_navbg.png);
	margin: 0;
}

#header UL LI UL {
	display: none;
	position: absolute;
	top: 29px;
	height: 30px;
	overflow: hidden;
}
#header UL LI UL LI {
	padding: 0;
	margin: 0 0 10px 0;
}
#header UL LI UL LI A {
	margin: 0 2px 0 0;
	z-index: 100;
	display: block;
	height: 20px;
}

/* last menu nav link has no right margin */
#header LI.lastlink {
	padding: 0;
	margin: 0 0 10px 0;
}

/* MENU SPECIFICS **************************************/
/* The Varieties: and Sub Menu */
#navVarieties DIV, #navVarieties A { width: 110px; }
#navVarieties DIV A { background: transparent url(../images/en/varieties.png) no-repeat center top; }
#navVarietiesSub { width: 400px; }
#navVarietiesBlanco, #navVarietiesBlanco A { width: 65px; }
#navVarietiesBlanco A { background: transparent url(../images/en/sub_blanco.png) no-repeat center top; }
#navVarietiesReposado, #navVarietiesReposado A { width: 80px; }
#navVarietiesReposado A { background: transparent url(../images/en/sub_Reposado.png) no-repeat center top; }
#navVarietiesAnejo, #navVarietiesAnejo A { width: 51px; }
#navVarietiesAnejo A { background: transparent url(../images/en/sub_anejo.png) no-repeat center top; }
#navVarieties1942, #navVarieties1942 A { width: 52px; }
#navVarieties1942 A { background: transparent url(../images/en/sub1942.png) no-repeat center top; }
#navVarietiesReal, #navVarietiesReal A { width: 50px; }
#navVarietiesReal A { background: transparent url(../images/en/subreal.png) no-repeat center top; }
#header LI UL LI#navVarietiesReal { background: transparent url(../images/en/real_bg.png) no-repeat top left;  width: 147px;  }

/* Recipe: and Sub Menu */
#navRecipes DIV, #navRecipes A { width: 119px; }
#navRecipes DIV A { background: transparent url(../images/en/drinkrecipes.png) no-repeat center top; }

#navCraft DIV, #navCraft A { width: 173px; }
#navCraft DIV A { background: transparent url(../images/en/craft.png) no-repeat center top; }

#navTheman DIV, #navTheman A { width: 163px; }
#navTheman DIV A { background: transparent url(../images/en/theman.png) no-repeat center top; }

#navCulture DIV, #navCulture A { width: 172px; }
#navCulture DIV A { background: transparent url(../images/en/tequilaNow.png) no-repeat center top; }

/* Cuisine: and Sub Menu */
#navCuisine DIV, #navCuisine A { width: 138px; }
#navCuisine DIV A { background: transparent url(../images/en/cuisine.png) no-repeat center top; }

#nav A.navcurrent, #nav A.navhover { background-position: center -28px; } 
#navVarietiesSub A.navcurrent, #navVarietiesSub A.navhover  { background-position: center -20px; }

/* FOOTER **************************************/
#footer {
	background: #080e0e none;
	text-align: center;
	font-size: 0.8em;
	padding: 3px 0;
	color: white;
	background: transparent url(../images/en/footer_bg.png) repeat-x;
}
#footer A {
	color: #ddd;
	text-decoration: none;
	padding: 0 10px 0 0;
	margin: 0 4px 0 0;
	background: transparent url(../images/en/footer_nav_separator.gif) no-repeat right top;
}

#footer #copyright {
	clear: both;
	text-align: center;
	margin: 4px 0 0 0;
}

/* last menu nav link has no right margin */
#footer A.lastlink {
	margin: 0;
	padding: 0;
	background: transparent none;
}

/* CONTENT **************************************/
#contentwrapper {
	margin: 0 auto 0 auto; /* dependent on the height of the header/controls */
	padding: 166px 0 0 0;
	width: 881px;
}
#content {
	margin: 0 auto 0 auto;
	width: 845px;
	padding: 18px 18px 0 18px;
	font-size: 0.9em;
}

H1, H2, H3, H4, H5, H6, H7 {
	padding: 0;
	margin: 0;
}

H2, H3, H4 {
	text-transform: uppercase;
	font-weight: normal;
}

H2 {
	color: #41F6FF;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 3em;
	padding-top: 4px;
}

H3 {
	padding-top: 8px;
}

H3, H4 {
	font-family: "Arial Narrow", "Helvetica Narrow", Arial, Helvetica, Verdana, sans-serif;
}
H4 { font-weight: bold; }
H5 { font-weight: normal; }

.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

.left { float: left; }
.right { float: right; }

.uppercase { text-transform: uppercase; }

/* For IE PNG ***********************************/
.png A {
	position: relative;
	z-index: 1;
}

/* DBG|ERR ***********************************/
.log-altcolor { background: #ddd; }