/** Resets **/
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,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-weight:inherit;font-style:inherit;
	font-size:100%;font-family:inherit;vertical-align:baseline;
}
:focus{outline:0;}body{line-height:1;color:black;background:white;}
ol,ul{list-style:none;}table{border-collapse:separate;border-spacing:0;}
caption,th,td{text-align:left;font-weight:normal;}
blockquote:before,blockquote:after,q:before,q:after{content:"";}
blockquote,q{quotes:"" "";}
strong{font-weight:bold;}
em{font-style: oblique;}


/** Structure **/
body{
	font: 10px arial, sans-serif;
	background: #416374;
}
#page{
	width: 979px;
	margin: 0 auto;
	background: transparent url(img/background-page.png) repeat-y;
	color: #484848;
}
#wrapper{
	background: transparent url(img/background-header.jpg) 15px 0 no-repeat;
	min-height: 274px;
	height: auto !important;
	height: 274px;	
}
#wrapper:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#content{
	width: 940px;
	margin: 0 auto;
}
#content:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#main{
	width: 711px;
	float: left;
	padding: 90px 0 0;
	margin: 0 0 0 211px;
	display: inline; /* fuck IE */	
}
#sidebar{
	float: left;
	width: 209px;
	margin: 2px 20px 0 -920px;
	display: inline; /* fuck IE */
}


/** Layout **/
.default,
.col2,
.col3{
	width: 100%;	
	margin: 10px 0;
}
.default:after,
.col2:after,
.col3:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.default{
	background: transparent url(img/px-aaaaaa.gif) 478px 0 repeat-y;
}
.default .primary{
	float: left;
	width: 468px;
	display: inline; /* fuck IE */	
}
.default .secondary{
	float: left;
	width: 222px;
	padding: 0 0 0 21px;
	display: inline; /* fuck IE */	
}

.default.right{
	background: transparent url(img/px-aaaaaa.gif) 232px 0 repeat-y;
}
.default.right .primary{
	margin-left: 243px;
}
.default.right .secondary{
	padding: 0 21px 0 0;
	margin-left: -711px;
}

.col3{
	background: transparent url(img/px-aaaaaa-237.gif) 226px 0 repeat-y;
}
.col3 .c{
	float: left;
	width: 216px;
	padding-right: 21px;
}
.col2{
	background: transparent url(img/px-aaaaaa.gif) 355px 0 repeat-y;
}

.col2 .c{
	float: left;
	width: 345px;
	padding: 0 21px 20px 0;
	
}
.col2 .c0{
	clear: left;
}
.col2 .c1{
	padding-right: 0;
}

#sidebar .content{
	margin-right: 15px;
}


/** Header/Footer **/
#header{
	position: relative;
	height: 180px;	
}
#logo{
	position: absolute;
	left: 29px;
	top: 24px;
	z-index: 2;		
}
#logo img{
	display: block;
}
#cart-link{
	font-size: 14px;
	font-weight: bold;
	position: absolute;
	right: 184px;
	top: 120px;
}
ul#site-tools{
	position: absolute;
	right: 50px;
	top: 60px;
	width: 420px;
	height: 60px;
	padding: 5px 0 0;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}
ul#site-tools li{
	display: inline;
	padding: 0 10px;
}
ul#site-tools a,
#cart-link{
	color: #fafafa;
	text-decoration: none;
}
#search{
	position: absolute;
	top: 90px;
	right: 76px;
}
#search #q{
	font-size: 14px;
	font-weight: bold;
	border: 1px solid #484848;
	width: 360px;
	background: transparent url(img/semi-blue.png);
	color: #fff;
}
#navigation{
	position: absolute;
	width: 700px;
	height: 68px;
	left: 242px;
	top: 154px;
	background: transparent url(img/trans.gif);
	z-index: 150;
}
#navigation li{
	top: 0;
	position: absolute;
}
#navigation li.i1{left: 118px;}
#navigation li.i2{left: 237px;}
#navigation li.i3{left: 357px;}
#navigation li.i4{left: 476px;}
#navigation li.i5{left: 597px;}
#navigation a{
	display: block;
	width: 97px;
	height: 69px;
	text-decoration: none;
}
#navigation span{
	visibility: hidden;
	
}
#crumbs{
	position: absolute;
	left: 232px;
	top: 260px;
	font-weight: bold;
}
#crumbs li{
	float: left;
	padding-right: 5px;
}
#crumbs li a{
	padding-right: 5px;
	font-weight: normal;
	text-decoration: none;
}
#crumbs li a:hover{
	text-decoration: underline;
}
#footer{
	clear: both;
	width: 951px;
	margin: 0 auto;
	padding: 25px 14px 20px;
	background: transparent url(img/background-footer.png) no-repeat;
	color: #eee;
	font-size: 1.1em;
}
#footer:after{
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#footer a{
	color: #eee;
}
#footer .valid{
	float: left;
	font-weight: bold;
}
#footer .valid a{
	font-weight: normal;
}
#footer .copyright{
	float: right;
}
#footer .bm{
	clear: both;
	display: none;
}


/** Typography **/
h1{
	font: 30px impact,arial;
	text-transform: uppercase;
	border-bottom: 3px solid #484848;
	padding-top: 5px;
}
h2{
	font-size: 18px;
	font-weight: bold;
}
h3{
	font-size: 16px;
	margin-bottom: 4px;
	font-weight: bold;
}
h4{
	font-size: 14px;
	font-weight: bold;
}
h5{
	font-weight: bold;
}
p,blockquote,pre,abbr,acronym,
address,dl,ol,ul,label, table, cite, .msg, .error{
	clear: both;
	font-size: 12px;
	line-height: 1.5em;
	margin-bottom: 1em;
	font-style: normal;
}
a{
	color: #244758;
}
a:hover{
	text-decoration: none;
}

table{
	width: 100%;
	margin-bottom: 5px;
}
td, th{
	padding: 2px 1em 2px 0;
	border-bottom: 1px solid #484848;
}
table .last td,
table .last th{
	border: 0;
}
table .header th{
	font-weight: bold;
}
table .number{
	text-align: right;
	padding-right: 0;
	padding-left: 1em;
	white-space: nowrap;
}
table .shrink{
	padding-left: 0;
	padding-right: 4px;
	width: 1em;
}
table .small{
	width: 1em;
}
table .price{
	font-weight: bold;
}
table .center{
	text-align: center;
}
table label{
	display: inline;
}
table.products tr.hover td,
table.products tr.hover th{
	background: #f5f5f5;
	cursor: pointer;
}


img.icon{
	display: inline;
	vertical-align: middle;
	width: 16px;
	height: 16px;
	border: 1px solid #b6bdbf;
	background-color: #e5ecee;
}
img.swatch{
	width: 16px;
	height: 16px;
	vertical-align: middle;
	border: 1px solid transparent;
}

#stats img.icon.ui-icon-minus,
#stats img.icon.ui-icon-plus,
img.icon.ui-icon-alert{
	background-color: #fff8f8;
	border-color: #D47F89;
	background-image: url(bmw/images/ui-icons_370000_256x240.png);
}


ul.bullets{
	margin-left: 14px;
	list-style: disc;
}
ul.bullets li{
	padding-bottom: 5px;
}
.col3 h2{
	font-size: 14px;
	font-weight: bold;
}

#sidebar h3{
	font-size: 14px;
}
#sidebar h4{
	font-size: 12px;
}
#sidebar p{
	font-size: 11px;
	line-height: 14px;
	margin-bottom: 10px;
}
#store-navigation{
	list-style: disc;
	margin-left: 2.5em;
	padding-right: 15px;
	font-size: 1.2em;
	line-height: 1.5em;
}
#store-navigation ul{
	list-style: square;
	margin-left: 1.5em;
}
#store-navigation a{
	text-decoration: none;
}
#store-navigation a:hover{
	text-decoration: underline;
}
#store-navigation li.open,
#store-navigation span{
	font-weight: bold;
}
#store-navigation li.open ul{
	font-weight: normal;
}

/** Forms **/
input.text,
input.password,
textarea{
	font: 12px arial, sans-serif;
	padding: 3px 3px;
	border: 1px solid #aaa;
}
input.qty{
	width: 2.5em;
}
input.button,
a.button{
	font: 12px verdana;
	margin-right: .5em;	
	padding: 4px 10px;
	text-decoration: none;
	cursor: pointer;
	color: #305566;
	font-weight: bold;
	border: 1px solid #b0b2b4;
	background: #e0e6e8 url(bmw/images/ui-bg_glass_80_e0e6e8_1x400.png) repeat-x 50% 50%;
}
a.button{
	padding: 6px 12px 6px;
}
input.button:hover,
a.button:hover{
	background: #C0CCD1 url(bmw/images/ui-bg_glass_80_c0ccd1_1x400.png) repeat-x 50% 50%;
	color: #002C3B;
	border-color: #9c9ea0;
	cursor: pointer;
}
label{
	display: block;
	font-weight: bold;
	margin: 0;
}
.fields{
	margin-bottom: 0;
}
.fields li{
	padding-bottom: 5px;
}
.fields li.last{
	padding-bottom: 0;
}
.fields li.checkbox{
	padding-left: 20px;
	position: relative;
}
.fields li.checkbox input{
	position: absolute;
	left: 0;
	top: 4px;
	margin: 0;
}

/** Store **/
span.stars{
	float: left;
	margin: 0 5px 0 0;
	padding: 0;
	width: 90px;
	height: 19px;
	background: transparent url(img/sprite-stars.png);
}
span.stars img{
	display: block;
	float: right;
	background: transparent url(img/sprite-stars.png) 100% 100%;
	height: 19px;
	width: 100%;
	vertical-align: bottom;
}
body.product p.rating{
	display: block;
	margin: 3px 0 0;
}
body.product h2{
	margin-bottom: 10px;
}
body.product h3.price{
	margin-bottom: 10px;
}
body.product form#add{
	display: block;
	margin: 0 0 10px;
	white-space: nowrap;
}
body.product form#add label{
	display: inline;
}
body.product #product-photo,
body.product .no-image{
	max-width: 222px;
	border: 1px solid #aaa;
	margin-bottom: 5px;
	font-size: 14px;
	color: #aaa;
	line-height: 150px;	
	font-weight: bold;
	text-align: center;
}
body.product .meta strong{
	padding-right: .25em;
}

body.product h3.back{
	font-size: 14px;
	margin-bottom: 10px;
}
body.product.write-review form{
	margin-bottom: 15px;
}
body.product .comments{
	clear: both;
	font-size: 12px;
	line-height: 1.5em;
	border-bottom: 1px solid #aaa;
	padding-bottom: 1em;
	margin-bottom: 1em;
}
body.product cite{
	font-weight: bold;
}


body.store .c ul{
	margin-bottom: 25px;
}
body.store .c li.last{
	font-weight: bold;
	font-style: oblique;
}

/** Account **/
body.account .col3 p{
	margin-top: 5px;
	height: 60px;
}
body.brew-builder.save-recipe #recipe_name,
body.account .primary input.text,
body.contact .primary input.text{
	width: 300px;
}
body.product.write-review textarea,
body.brew-builder.buy-recipe textarea,
body.brew-builder.save-recipe textarea,
body.account .primary textarea,
body.contact .primary textarea{
	width: 420px;
}
body.account .secondary .button{
	margin: 0 0 5px;
	display: block;
	text-align: center;
}
#frm-account_recipe{
	display: block;
	margin-top: 10px;
}
/** Cart **/
body.cart textarea{
	width: 330px;
	height: 130px;
	margin-bottom: 5px;
}
body.cart .c{
	padding-bottom: 0;
}
body.cart #btn-checkout{
	margin: 50px 0 0;
	font-size: 18px;
}


/** BB **/
body.brew-builder #content{
	padding-bottom: 10px;
}
body .ui-dialog{
	width: 100%;
	margin-bottom: 10px;
}
body .ui-dialog .ui-dialog-titlebar{
	font-size: 14px;
	padding: 5px 10px;
}
body .ui-dialog .ui-dialog-content{
	padding: 5px 10px;
}
body .ui-tabs .ui-tabs-panel{
	padding: 5px 3px;
}
body .ui-dialog .ui-dialog-content table{
	margin-bottom: 0;
	line-height: 24px;
}
body.brew-builder #stats,
body.brew-builder #recipe{
	float: left;
	width: 390px;
	margin: 8px 0 0 0;
}
body.brew-builder #params,
body.brew-builder #ingredients{
	float: right;
	width: 300px;
	margin: 8px 0 0;	
}
body.brew-builder #btns input.button{
	width: 139px;
	padding-right: 0;
	padding-left: 0;
	float: left;
	margin: 8px 3px 0 0;
	font-size: 12px;
}
body.brew-builder #btns #btn-inst{
	margin-right: 0;
	width: 143px;
}
div.i,div.v{
	white-space: nowrap;
}
div.i{
	display: none;
}
div.v span{
	color: #244758;
	text-decoration: underline;
	cursor: pointer;
}
#stats td{
	white-space: nowrap;
}
#stats th{
	text-transform: uppercase;
	font-weight: bold;
}
#params th{
	font-weight: bold;
	width: 1em;
}
#params select{
	width: 165px;
}
#params .icon:hover,
#recipe .icon:hover,
#ingredients img.icon:hover{
	background-color: #d2d8db;
	cursor: pointer;
}
#recipe a{
	white-space: nowrap;
}
#recipe .ui-icon-trash{
	visibility: hidden;
	cursor: pointer;
}
#ingredients .igroup{
	height: 350px;
}
#ingredients .igroup .icat{
	padding: 5px 8px 5px 0;
}
#ingredients .ui-accordion-header a,
#ingredients h4{
	font-size: 12px;
	padding: 3px 0 3px 24px;
}
#ingredients h4{
	position: relative;
}
#ingredients h4 .ui-icon {
	left: 0.5em;
	margin-top: -8px;
	position: absolute;
	top: 50%;
}
#ingredients h4 span.t{
	cursor: pointer;
}
#ingredients label{
	display: inline;
}
#ingredients .icat div{
	display: none;
	width: 235px;
	clear: both;
	margin: 0 0 15px 24px;
	border-bottom: 1px solid #484848;
}
#ingredients .icat div.i{
	display: block;
	margin: 5px 0;
	border: 0;
}
#ingredients .icat div.i select{
	width: 70px;
}
body.brew-builder .ui-effects-transfer{
	background: #e0e6e8 url(bmw/images/ui-bg_glass_80_e0e6e8_1x400.png) repeat-x 50% 50%;
}

/** Home **/
body.home #content .left{
	float: left;
	width: 340px;
}
body.home #content .right{
	float: right;
	width: 340px;
}
#map-detail h3{
	font-size: 13px;
}
#map-detail address{
	font-size: 11px;
}

body.directions #map{
	float: left;
	width: 430px;
	height: 600px;
	
}

body.directions #directions{
	float: right;
	width: 250px;
}
	span#sg-abv{
		display: none;
	}
	div#sg-abv{
		float: left;
		clear: both;
		padding: 20px;
		margin: 20px 0;
		border: 1px solid #ccc;
	
	}
	#sg-abv table{
		float: left;
		width: auto;
		margin-top: 10px;
	}
	#sg-abv th, 
	#sg-abv td{
		font-weight: bold;
		font-size: 11px;
		border-color: #ccc;
		padding: 2px 15px 2px 0;
	}
	#sg-abv input{
		font-size: 11px;
		width: 5em;
	}
