/* GENERAL STYLES */
/* GENERAL STYLES */
@charset "utf-8";
/* CSS Document */

/* ---------------------BASE STYLES--------------------- */

body {
	height: 100%;
	text-align: center;
	margin: 0;
	color: #fff;
	font-size: 82%;
	line-height: 1.4em;
	font-weight: normal;
	text-decoration: none;
	font-family: Georgia, "Times New Roman", Times, serif;
	}

.bgImg {
	background: #161616 url(../images/structural/bg.gif);
}

html {
	height: 100%;
	font-size: 100%; /* IE hack */ 
	}		

.clear {
	clear: both;
	}

.hidden {
	display: none;
	}
	
hr { 
	width: 100%;
	height: 1px;
	color: #5d5d5d;
	background-color: #5d5d5d;
	border: 0px solid #5d5d5d;
	margin: 0 0 20px 0;
	} 
	
input,
select {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 0.9em;
	color: #595959;
	}
	
p,
ul,
label,
.instructions {
        color: #ffffff;
	}

	
table  {
	border-spacing: 1px;
	border-width: 1px;
	font-size: 100%; /* IE hack */
	}

/* ---------------------LAYOUT--------------------- */
	
#container {
	text-align: left;
	margin: 0 auto;
	width: 971px;
	border: 0;
	padding: 20px 0;
	position: relative;
    	height: auto;
   	voice-family: "\"}\"";
   	voice-family: inherit;
	}

html>body #container {
	height: auto;
	}
	
#frameT {
	width: 971px;
	height: 22px;
	background: url(../images/structural/frame-t.gif) bottom no-repeat;
	}
	
#frameM {
	width: 959px !important;
 	width /**/: 971px;	
	padding: 0 6px;
	background: url(../images/structural/frame-m.gif) repeat-y;
	}
	
#frameB {
	width: 971px;
	height: 22px;
	background: url(../images/structural/frame-b.gif) top no-repeat;
	}
	
#mainHome {
	width: 959px;
	height: 739px;
	background: url(../images/structural/bg-home.jpg) no-repeat;
	}
	
#contentHome {
	width: 859px !important;
 	width /**/: 959px;	
	padding: 281px 50px 0 50px;
	}
	
#imgsHome {
	float: left;
	width: 444px;
        height: 358px;
	}
	
#txtHome {
	float: left;
	width: 365px !important;
 	width /**/: 415px;
	padding: 200px 0 0 50px;
	}
	
#main {
	width: 859px !important;
 	width /**/: 959px;
	height: 639px !important;
 	height /**/: 739px;
	padding: 50px;
	background: url(../images/structural/bg-content.jpg) top no-repeat;
	}
	
#sidebarBg {
	width: 161px;
	height: 639px;
	z-index: 2;
	left: 56px;
	top: 98px;
	position: absolute;
	background: #000;
  	opacity: 0.5;
	}

#sidebarBg { filter /**/: alpha(opacity=50); /* Because filter is an IE-only property and is invalid */ }
	
#sidebar {
	width: 161px;
	z-index: 3;
	left: 56px;
	top: 98px;
	float: left;
	position: absolute;
	}

#logo {
	padding: 30px;
	position: relative;
	}

#nav {
	z-index: 4;
	left: 0;
	top: 163px;
	position: absolute;
	width: 162px;
	height: 474px;
	}
	
#contentBg {
	height: 639px;
	z-index: 2;
	left: 217px;
	top: 98px;
	position: absolute;
	width: 697px;
	height: 639px;
  	background: #000;
  	opacity: 0.85;
	border-left: 1px solid #5D554D;
	}
	
#contentBg { filter /**/: alpha(opacity=85); /* Because filter is an IE-only property and is invalid */ }

#content {
	left: 217px;
	top: 98px;
	z-index: 3;
	position: absolute;
	width: 597px !important;
 	width /**/: 697px;
	height: 539px !important;
 	height /**/: 639px;
	padding: 50px;
	}
	
#left {
	float: left;
	width: 269px !important;
 	width /**/: 299px;
	padding: 0 30px 0 0;
	}
	
#right {
	float: left;
	width: 298px;
	}
	
#footer {
	padding: 30px 0 0 50px;
	color: #a1a1a1;
	font-size: 0.8em;
	}

#footer p {
	color: #a1a1a1;
	}

/* ---------------------LINKS--------------------- */

a {
	color: #fff;
	text-decoration: underline;
	}
	
a:hover {
	color: #fff;
	}
	
a.linkHome {
	font-weight: bold;
	text-decoration: none;
	}
	
a.linkHome:hover {
	text-decoration: underline;
	}

#content a:hover {
	background: #fff;
	color: #000;
	text-decoration: none;
	}
	
#footer a {
	color: #a1a1a1;
	text-decoration: none;
	}
	
#footer a:hover {
	text-decoration: underline;
	}
	
/* ---------------------IMAGES--------------------- */

img {
	border: none;
	margin: 0;
	padding: 0;
	}
	
img.right {
	border: 0;
	float: right;
	margin: 0 0 15px 20px;
	padding: 0;
	}

img.left {
	float: left;
	margin: 0 20px 15px 0;	
	padding: 0;
	}
	
/* ---------------------TEXT--------------------- */

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

h1 {
	position: absolute;
	font-size: 0;
	left: -1000px;
   }
   
h2 {
	font-size: 1.9em;
	margin: 0;
	padding: 0 0 25px 0;
color: #fff;
	}
	
h3 {
	font-size: 1.4em;
	margin: 0;
	padding: 0 0 10px 0;
	font-weight: lighter;
color: #fff;
	}
	
/* ---------------------NAV--------------------- */	

#nav {
	border-top: 1px solid #5D554D;
	}

#nav ul {
    list-style-type: none;
    margin: 0;
	padding: 0; 
	}
	
#nav li {
	width: 132px !important;
 	width /**/: 162px;
	display: block; 
	float: left;
	padding: 5px 10px 5px 20px;
    margin: 0;
	border-bottom: 1px solid #5D554D; 
	}

#nav a {
    display: block;
	font-weight: normal;
	text-decoration: none;
    }

#nav a:hover {
	text-decoration: underline;
	}
	
#nav .selected {
	font-weight: bold;
	background: #161616;
	}
	
#nav li.subNavLevel2 {
	width: 117px !important;
 	width /**/: 162px;
	font-weight: bold;
	padding: 3px 15px 3px 30px;
	font-size: 0.85em;
	}
	
#nav .subNavLevel2selected {
	width: 117px !important;
 	width /**/: 162px;
	font-weight: bold;
	background: #161616;
	padding: 3px 15px 3px 30px;
	font-size: 0.85em;
	}

/************************** FORM STYLES ************************************/

fieldset.InputForm {
	border: 0;
	margin: 0;
}

fieldset.InputForm legend {
	display: none;
}
fieldset.InputForm div.Spacer {
	margin-top: 10px;
}
fieldset.InputForm div.FormFieldLabel {
	width: 150px;
	float: left;
margin-top: 10px;
}

fieldset.InputForm span.Required {
	color: #AA0000;
	font-size: 1.4em;
}

fieldset.InputForm div.FormFieldInput {
	width: 400px;
	float: left;
margin-top: 10px;
}

fieldset.InputForm div.FormFieldInput span.ValidationError {

}

fieldset.InputForm div.FormFieldInput input,
fieldset.InputForm div.FormFieldInput textarea {
	width: 250px;
}

fieldset.InputForm input.SubmitButton {
	margin-left: 150px;
	margin-top: 10px; 
	float: left;
}

fieldset.InputForm div.Instructions {
	float: left;	
	margin-top: 12px; 
	margin-left: 20px; 
	color: #ffffff;
}

/* ---------------------MAP--------------------- */

#mapCanvas {
	float: none; display: block; width: 600px; height: 430px; border: 0;
	}

.MapOverlay {
	color: #000;
	margin: 10px 10px 0 10px;
	width: 250px;
	}

.MapOverlay p {
	color: #000;
	padding: 0 0 10px 0 !important;
	}

.NameLink a {
	color: #000;
	font-size: 1.6em;
	padding: 0;
	text-decoration: none;
	}

.NameLink a:hover {
	color: #fff !important;
	background: #000 !important;
	}

.StockLevel {
	color: #000;
	padding: 0;
	}

.ViewWinesLink a {
	color: #000;
	text-decoration: none;	
	}

.ViewWinesLink a:hover {
	color: #fff !important;
	background: #000 !important;
	}

/* ---------------------LISTS--------------------- */

#listFilters {
	padding: 0 0 25px 0;	
	color: #fff;
	}

#listItem {
	}

#listPaging {
	clear: both;
	width: 540px;
	padding: 10px 0 0 0;
	}

#listPaging a.pagingItem {
	float: left;
	display: block;
	border: 1px solid #5d5d5d;
	padding: 3px;
	margin: 0 5px 0 0;
	text-decoration: none;
	}

#listPaging a.pagingItemSelected {
	float: left;
	display: block;
	border: 1px solid #5d5d5d;
	padding: 3px;
	color: #000;
	background: #fff;
	font-weight: bold;
	margin: 0 5px 0 0;
	text-decoration: none;
	}

/* ---------------------WINE LIBRARY GRID--------------------- */

#wineLibraryGrid {
	}

.wineLibraryGridRow {
float: none;
clear: both;
}

.wineLibraryGridItem {
	float: left;
	width: 150px !important;
 	width /**/: 195px;
	padding: 0 45px 40px 0;
	height: 170px;
	}
	
.wineLibraryGridItem a {
	text-decoration: none;	
	}

.wineLibraryGridItem a.VineyardThumb:hover {
background-color: #000 !important;
}

/* ---------------------VINYARD DETAILS--------------------- */

#vinyardPopupWrapper {
	text-align: left;
	padding: 50px;
	}

#vinyardPopupWrapper p {
	color: #000;
	}

#vinyardPopupWrapper h2 {
	color: #000;
	}

#vinyardPopupWrapper h3 {
	color: #000;
	}

#vinyardPopupR img {
	padding: 0 0 10px 0;
	}

#vinyardPopupL {
	float: left;
	width: 503px !important;
 	width /**/: 528px;
	padding: 0 25px 0 0;
	}

#vinyardPopupR {
	float: left;
	width: 269px;
	}

/* ---------------------CELLAR DETAILS--------------------- */

#cellarLinkWrapper {
	padding: 25px 15px 15px 15px;
	border: 1px solid #5D554D;
	background: url(/images/structural/bg.gif) top repeat-x;
	}

#cellarPopupWrapper {
	text-align: left;
	padding-left: 50px;
	padding-top: 1px;

	}
	
#cellarPopupWrapper img.logo{
	float: right;
	margin-left: 25px;
	margin-bottom: 0px;
	position: static;
}

#cellarPopupWrapper p, th, td, h1, div {
	color: #000;
	}

#cellarPopupWrapper h2 {
	color: #000;
	}

#cellarPopupWrapper h3 {
	color: #000;
	}

#cellarPopupR img {
	padding: 0 0 10px 0;
	}

#cellarPopupL {
	float: left;
	width: 328px !important;
 	width /**/: 358px;
	padding: 0 30px 0 0;
	}

#cellarPopupR {
	float: left;
	width: 269px;
	}

#cellarPopupWrapper {
padding: 30px;
	}

#cellarPopupWrapper table {
	padding-top: 0px;
	margin-top: 25px;
	margin-bottom: 25px;	
	clear: both;
	font-size: 0.70em;
	border-color: #000;
	width: 800px;
}

#cellarPopupWrapper a {
	text-decoration: underline;
	color: #c50000;
}

#cellarPopupWrapper a:hover {
	text-decoration: none;
background: #c50000;
color: #fff;
}

#cellarPopupWrapper table th {
	vertical-align: bottom;
	padding: 3px;
	background: #dadada;
line-height: 1.1em;
}

#cellarPopupWrapper table td {
	padding: 3px;
	background: #ebebeb;
}

#cellarPopupWrapper table td.decimal {
	text-align: right;	
}

#cellarPopupWrapper table tr.totalsRow {
	font-weight: bold;
background: #ebebeb;
}

div.LogInError {
	clear: both; 
	padding-top: 15px; 
	color: red; 
	display: block;
}

img.logo {
	position: absolute;
	left: 698px;
	padding: 0;
	margin: 0;
}
/* EDITOR PROPERTIES */

@media print
{
	.dataTable tr, .dataTable tr td 
	{
		page-break-inside: avoid;
	}
}


/* IMAGE GALLERY */

#galleryDropdown {
	float: right;
	margin-bottom: 20px;
	}
	
#galleryIntro {
	width: 350px;
color: #fff;
	}
	
#galleryGrid {
	margin: 20px 0 0 0;
	}
	
.galleryGridItem {
	float: left;
	padding: 0 8px 8px 0;
	width: 143px !important;
 	width /**/: 152px;
	height: 94px !important;
 	height /**/: 103px;
	}
	
.galleryGridItem {
	float: left;
	margin: 0 0 9px 0;
	width: 143px;
	height: 94px !important;
 	height /**/: 103px;
	}


/* EDITOR PROPERTIES */

