/* Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}


/* Text */
body{font:13px/1.5 'Helvetica Neue',Arial,'Liberation Sans',FreeSans,sans-serif}
a:focus{outline:0px;}
a{color:#805a36;text-decoration:underline;}
a:hover{text-decoration:none;}
hr{border:0 #ccc solid;border-top-width:1px;clear:both;height:0}
h1{font-size:18px;}
h2{font-size:19px;}
h3{font-size:19px;}
h4{font-size:17px;}
h5{font-size:15px;}
h6{font-size:14px;}
ol{list-style:decimal;}
ul{list-style:disc;}
li{margin-left:30px;}
p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset{margin-bottom:10px}
h1, h2, h3, h4 , h5 {
	margin:10px 0px 0px 0px;
}

h1 {
	margin:10px 0px 10px 0px;
	text-transform:uppercase;
	letter-spacing:3px;
}


/* Text Color */
h1 {color:#c89103;font-weight:normal;}
h2, h3, h4 {color:#805a36;}
h6 {color:#8f887b;}

/* Constants */
.left {float:left;}
.right {float:right;}
.clear {clear:both;}
.middle {padding:0px 40px 0px 60px;}
.csc-textpic-caption {font-size:10px;}
blockquote {font-size:15px;font-family:serif;}

hr {clear:both;border-top:none;border-bottom:2px dotted #cabba8;}

#rightrail {
	color:#8a8683;
	font-size:11px;
}

#rightrail h2, #rightrail h3, #rightrail h4 {
	line-height:22px;
	padding:10px 20px 0px 20px;
}

#rightrail p {
	padding:10px 20px 0px 20px;
}

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

/* Drop Down */
#nav, #nav ul { /* all lists */
	list-style:none;
	line-height:1;
	padding:0px;
	margin:0px 0px 0px 0px;
}

#nav a {
	display: block;
	color:#868080;
	text-decoration:none;
	text-transform:uppercase;
	font-size:11px;
	letter-spacing:1px;
}

#nav li { /* all list items */
	float:left;
	padding:0px;
	margin:0px 5px 0px 5px;
}

#nav li a {
	padding:5px 10px 5px 10px;
}

#nav li a:hover {
	color:#FFFFFF;
}

#nav li ul {
	width:140px;
	clear:both;
	background:url('../images/css/ul-bg.png') repeat;
}

#nav li:hover, #nav li.sfhover, #nav li.current {
	background:url('../images/css/ul-bg.png') repeat;
}

#nav li:hover ul li, #nav li.sfhover ul li {
	background:none;
}

#nav li:hover a, #nav li.sfhover a, #nav li.current a {
	color:#FFFFFF;
}

#nav li:hover ul li a, #nav li.sfhover ul li a {
	color:#c0bcbd;
}

#nav li:hover ul li, #nav li.sfhover ul li {
	border-top:none;
}

#nav li ul li {
	clear:both;
	padding:10px 0px 10px 0px;
	margin:0px;
	font-size:12px;
}

#nav li ul li.first {
	padding:10px 0px 0px 0px;
}

#nav li ul li a {	
	color:#c0bcbd;
	background:none;
	height:auto;
	padding:0px 12px 0px 12px;
}

#nav li ul li a:hover {
	color:#FFFFFF;
	text-decoration:underline;
}

#nav li ul { /* second-level lists */
	position:absolute;
/*	border-bottom: 1px solid #ccc;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;*/
	padding:5px 0px 5px 0px;
	height: auto;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

/* Structure */
body {
	height:100%;
	background:#FFFFFF;
}

#page {
	width:941px;
	margin:20px auto;
	padding:4px;
	border:1px solid #f3edd3;
}

#header {
	width:941px;
	height:89px;
	padding:35px 0px 0px 0px;
	margin:0px auto;
	border-bottom:1px solid #FFFFFF;
	background:url('../images/css/header-bg.gif') no-repeat;
}

#branding {
	float:left;
	margin:0px 0px 0px 60px;
	width:280px;
}

#branding a {
	text-indent:-100000px;
	display:block;
	width:280px;
	height:54px;
	background:url('../images/css/santa-barbara-wine-co-logo.gif') no-repeat;
}

#mainnav {
	float:right;
	padding:15px 170px 0px 0px;
}

#content {
	min-height:485px;
	background:url('../images/css/content-bg.gif') bottom repeat-x;
}

#content.inside {
	padding:0px 0px 30px 0px;
}

.inside #maincon {
	width:670px;
	padding:0px 20px 0px 20px;
}

#maincon {
	width:710px;
	border-right:1px solid #FFFFFF;
}

#mainconleft {
	width:325px;
}

#mainconright {
	width:345px;
	padding:0px 20px 0px 20px;
}

#winetitle, #winedesc {
	clear:both;
	border-bottom:2px dotted #cabba8;
}

#winetitle {
	color:#8f887b;
	font-weight:bold;
}

#winedesc {
	padding:15px 0px 5px 0px;
	color:#505050;
	font-size:12px;
}

#wineprice {
	padding:10px 0px 0px 0px;
	color:#505050;
	font-weight:bold;
}

#rightrail {
	width:230px;
	min-height:485px;
}

#footer {
	clear:both;
	width:881px;
	height:50px;
	border-top:1px solid #FFFFFF;
	background:url('../images/css/footer-bg.gif') no-repeat;
	margin:0px auto;
	padding:35px 20px 0px 40px;
	font-size:11px;
	text-transform:uppercase;
}

#footernav {
	float:right;
	padding:1px 0px 0px 0px;
}

#footernav a {
	color:#8c8789;
	text-decoration:none;
	font-size:9px;
	margin:0px 0px 0px 15px;
}

#footernav a:hover {
	text-decoration:underline;
}

#fblink {
	text-indent:-100000px;
	width:16px;
	height:13px;
	display:block;
	background:url('../images/css/fb-b.gif') no-repeat center;
	float:right;
}

/* Weather */
div.forecast-title, div.forecast-condition, div.forecast-temperatur {
	float:left;
}

div.forecast-title {
	color:#ca9a0a;
	font-weight:bold;
	margin-right:20px;
}

div.forecast-condition, div.forecast-temperatur {
	color:#602626;
}

div.forecast-temperatur {
	margin-left:5px;
}

/* default styles for extension "tx_cssstyledcontent" */
/* Captions */
	DIV.csc-textpic-caption-c .csc-textpic-caption { text-align: center; }
	DIV.csc-textpic-caption-r .csc-textpic-caption { text-align: right; }
	DIV.csc-textpic-caption-l .csc-textpic-caption { text-align: left; }

	/* Needed for noRows setting */
	DIV.csc-textpic DIV.csc-textpic-imagecolumn { float: left; display: inline; }

	/* Border just around the image */
	DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image IMG {
		border:1px solid #000;
		padding: 0px 0px;
	}

	DIV.csc-textpic-imagewrap { padding: 0; }

	DIV.csc-textpic IMG { border: none; }
	
	/* DIV: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap DIV.csc-textpic-image { float: left; }

	/* UL: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap UL { list-style: none; margin: 0; padding: 0; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap UL LI { float: left; margin: 0; padding: 0; }

	/* DL: This will place the images side by side */
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image { float: left; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DT { float: none; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD { float: none; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap DL.csc-textpic-image DD IMG { border: none; } /* FE-Editing Icons */
	DL.csc-textpic-image { margin: 0; }
	DL.csc-textpic-image DT { margin: 0; display: inline; }
	DL.csc-textpic-image DD { margin: 0; }

	/* Clearer */
	DIV.csc-textpic-clear { clear: both; }

	/* Margins around images: */

	/* Pictures on left, add margin on right */
	DIV.csc-textpic-left DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-right: 10px;
	}

	/* Pictures on right, add margin on left */
	DIV.csc-textpic-right DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap .csc-textpic-image,
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-left: 10px;
	}

	/* Pictures centered, add margin on left */
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin-left: 10px;
	}
	
	.iconboximg .csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image {
		display: inline; /* IE fix for double-margin bug */
		margin: 0px;
	}
	
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image .csc-textpic-caption { margin: 0; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image IMG { margin: 0; }

	/* Space below each image (also in-between rows) */
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 5px; }
	DIV.csc-textpic-equalheight DIV.csc-textpic-imagerow { margin-bottom: 5px; display: block; }
	DIV.csc-textpic DIV.csc-textpic-imagerow { clear: both; }

	/* No margins around the whole image-block */
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-firstcol { margin-left: 0px !important; }
	DIV.csc-textpic DIV.csc-textpic-imagewrap .csc-textpic-lastcol { margin-right: 0px !important; }

	/* Add margin from image-block to text (in case of "Text w/ images") */
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap,
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap {
		margin-right: 10px !important;
	}
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap,
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap {
		margin-left: 10px !important;
	}

	/* Positioning of images: */

	/* Above */
	DIV.csc-textpic-above DIV.csc-textpic-text { clear: both; }

	/* Center (above or below) */
	DIV.csc-textpic-center { text-align: center; /* IE-hack */ }
	/*DIV.csc-textpic-center DIV.csc-textpic-imagewrap { margin: 0 auto; }*/
	DIV.csc-textpic-center DIV.csc-textpic-imagewrap .csc-textpic-image { text-align: left; /* Remove IE-hack */ }
	DIV.csc-textpic-center DIV.csc-textpic-text { text-align: left; /* Remove IE-hack */ }

	/* Right (above or below) */
	DIV.csc-textpic-right DIV.csc-textpic-imagewrap { float: right; }
	DIV.csc-textpic-right DIV.csc-textpic-text { clear: right; }

	/* Left (above or below) */
	DIV.csc-textpic-left DIV.csc-textpic-imagewrap { float: left; }
	DIV.csc-textpic-left DIV.csc-textpic-text { clear: left; }

	/* Left (in text) */
	DIV.csc-textpic-intext-left DIV.csc-textpic-imagewrap { float: left; }

	/* Right (in text) */
	DIV.csc-textpic-intext-right DIV.csc-textpic-imagewrap { float: right; }

	/* Right (in text, no wrap around) */
	DIV.csc-textpic-intext-right-nowrap DIV.csc-textpic-imagewrap { float: right; clear: both; }
	/* Hide from IE5-mac. Only IE-win sees this. \*/
	* html DIV.csc-textpic-intext-right-nowrap .csc-textpic-text { height: 1%; }
	/* End hide from IE5/mac */

	/* Left (in text, no wrap around) */
	DIV.csc-textpic-intext-left-nowrap DIV.csc-textpic-imagewrap { float: left; clear: both; }
	/* Hide from IE5-mac. Only IE-win sees this. \*/
	* html DIV.csc-textpic-intext-left-nowrap .csc-textpic-text { height: 1%; }
	/* End hide from IE5/mac */
	DIV.csc-textpic DIV.csc-textpic-imagerow-last { margin-bottom: 0; }

	/* jqModal base Styling courtesy of;
		Brice Burgess <bhb@iceburg.net> */

	/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
		the Window's z-index value will be set to 3000 by default (via jqModal.js). */
		
	#newsform {
		width:769px;
		height:117px;
		margin:220px auto;
	}

	.jqmWindow {
	    display: none;
		position:fixed;
		top:0;
		left:0;
	    z-index:10000;
		width:100%;
		height:100%;
		background:#7f7f7f url('../images/css/wine-bg-grey.jpg') center top no-repeat;
	}

	.jqmOverlay { background:#000000;}

	.csc-textpic-border .csc-textpic-imagewrap {
		border:1px solid #7b5530;
	}
