/**********************************************************************************************

  CSS on Sails Framework
  Title: RJ Metrics
  Author: XHTMLized (http://www.xhtmlized.com/)
  Date: April 2010

***********************************************************************************************

	1. BASE
		1.1 Reset
		1.2 Accessibility Navigation & Hide
		1.3 Clearfix
		1.4 Default Styles

	2. COMMON
		2.1 Container
		2.2 Header
		2.3 Navigation
		2.4 Content
		2.5 Promo
		2.6 Footer
      
	3. VARIOUS

***********************************************************************************************/


/* 1. BASE
-----------------------------------------------------------------------------------------------
===============================================================================================*/


/* 1.1 Reset
-----------------------------------------------------------------------------------------------*/

html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, samp, small, 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; font-size: 100%; vertical-align: baseline; background: transparent; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
a, ins, del { text-decoration: none; }
/* table { border-collapse: collapse; border-spacing: 0; } */
th, td { vertical-align: top; }
th { text-align: left; }

/* 1.2 Accessibility Navigation & Hide
-----------------------------------------------------------------------------------------------*/

#accessibility-nav, .hide { position: absolute; top: -999em; left: -999em; height: 1px; width: 1px; }


/* 1.3 Clearfix
-----------------------------------------------------------------------------------------------*/

.clearfix:after,
#header:after,
#content .promo_top:after,
#calc .inner .select .group:after,
#content:after,
#content .promo_small:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }


/* 1.4 Default Styles
-----------------------------------------------------------------------------------------------*/

body { background: black; color: white; font: 62.5%/1.3 Arial, "Helvetica", sans-serif; text-align: center; }
hr { display: none; }
strong { font-weight: bold; }
em { font-style: italic; }
del { text-decoration: line-through; }
/* th { font-weight: normal; } */
address, cite, dfn { font-style: normal; }
li { list-style: none; }
abbr, acronym { border-bottom: 1px dotted #999; cursor: help; }
input, textarea, select { font-family: Arial, Helvetica, sans-serif; }
a, a:visited { color: #00f; text-decoration: none; outline: none; }
a:hover, a:active { color: #f00; text-decoration: underline; outline: none; }
p { margin: 0 0 20px 0; color: #727272; font-size: 1.2em; }


/* 2. COMMON
-----------------------------------------------------------------------------------------------
===============================================================================================*/

img.image { margin: 0 0 20px 0; }
img.left { margin: 0 20px 20px 0; float: left; }
img.right { margin: 0 0 20px 20px; float: right; }


/* 2.1 Container
-----------------------------------------------------------------------------------------------*/

.container { width: 880px; padding: 0 40px; position: relative; margin: 0 auto; background-color: white; color: black; text-align: left; }


/* 2.2 Header
-----------------------------------------------------------------------------------------------*/

#header { padding-top: 28px; }
h1.logo { float: left; position: relative; }
h1.logo a, 
h1.logo a span { float: left; display: block; overflow: hidden; width: 253px; height: 245px; margin: 0; cursor: pointer; }
h1.logo a span { background: url(../images/logo.png) no-repeat; position: absolute; top: 0; left: 0; z-index: 10; }

h3.logo { float: left; position: relative; margin-left: 20px; }
h3.logo a, 
h3.logo a span { float: left; display: block; overflow: hidden; width: 121px; height: 130px; margin: 0; cursor: pointer; }
h3.logo a span { background: url(../images/logo_small.png) no-repeat; position: absolute; top: 0; left: 0; z-index: 10; }

#calc { float: right; width: 470px; height: 229px; background: url(../images/calc.png) 0 100% repeat-x; }
#calc h2 { height: 73px; font-size: 3.7em; font-weight: bold; position: relative; width: 373px; text-transform: lowercase; }
#calc h2 span.heart { display: block; position: absolute; right: 0; top: 3px; overflow: hidden; text-indent: -9999px; width: 75px; height: 63px; background: url(../images/heart.png) no-repeat; }
#calc h2 small { font-size: .3783em; text-transform: uppercase; display: block; }
#calc .inner { margin: 10px; padding: 10px; height: 116px; background-color: #d7d7d7; position: relative; }
#calc .inner .select { float: left; width: 314px; }
#calc .inner .select .group { background-color: #ee2e24; width: 304px; margin-bottom: 5px; }
#calc .inner .select .group label { width: 98px; height: 25px; padding: 3px 3px 0 0; text-align: right; color: white; font-size: 1.5em; font-weight: bold; text-transform: lowercase; display: block; float: left; margin-top: 0;}
#calc .inner .select .group select { float: right; width: 156px; }
#calc .inner .select p { width: 304px; color: black; font-size: 1.1em; line-height: 1.25; font-family: Verdana, sans-serif; margin: 0 0 7px; padding: 0; }
#calc .inner .select .grams { width: 112px; height: 36px; line-height: 34px; padding-left: 18px; font-size: 2em; font-weight: bold; font-family: Verdana, sans-serif; background: #1f1f1f url(../images/grams.png) no-repeat; color: white; position: absolute; bottom: 10px; left: 10px; }
#calc .inner .select .recipe_text { width: 174px; height: 27px; padding: 9px 10px 0 0; background: #1f1f1f url(../images/grams.png) 100% 0 no-repeat; font-family: Verdana, sans-serif; color: white; font-size: 1.1em; text-align: right; position: absolute; bottom: 10px; left: 140px; }
#calc .inner .recipe_image { float: right; width: 114px; height: 114px; padding: 1px; background-color: #ee2e24; color: white; text-align: center; overflow: hidden; }
#calc .inner .recipe_image img {width: 114px;}
#calc .inner .recipe_image .view_recipe { font-size: 1.5em; text-transform: lowercase; color: white; font-weight: bold; display: block; height: 24px; }
#calc .inner .recipe_image a:hover { text-decoration: none; color: #ffddcc; }


/* 2.3 Navigation
-----------------------------------------------------------------------------------------------*/

#navigation { height: 42px; line-height: 1; background: #1f1f1f url(../images/nav.png) repeat-x; color: white; width: 960px; margin: 0 auto; text-align: left; }
#navigation ul { font-size: 1.5em; padding-left: 18px; }
#navigation ul li { float: left; display: block; position: relative; }
#navigation ul li a { display: block; float: left; padding: 11px 25px 14px 15px; text-decoration: none; color: white;  font-weight: bold; }
#navigation ul li a:hover { color: #85d6ff; }
#navigation ul li.active a { color: #85d6ff; }
#navigation ul li.active li a { color: #fff; }

/* Dropdown */
#navigation li ul { position: absolute; left: -999em; z-index: 100; width: 250px; padding: 0 0 5px; border-top: solid 5px #000; background: transparent url(../images/dropdown.png) 0 100% no-repeat; font-size: .8em; }
#navigation li:hover ul,
#navigation li.sfHover ul { left: 0; top: 42px; }
#navigation li ul li { float: none; }
#navigation li ul li a { float: none; padding: 0 10px; height: 20px; line-height: 20px; background: #000 url(../images/dropdownitem.png) 0 -20px repeat-x; text-shadow: none; }
#navigation li ul li a:hover { background-color: #ee2e24; background-position: 0 0; color: #fff; }
/* Z-index fixing */
#navigation  {position:relative;z-index:2;}	
.container {z-index:1;}
	

/* 2.4 Content
-----------------------------------------------------------------------------------------------*/

#content { clear: both; padding-top: 15px; }

/* Recipe */

#content .recipe { padding: 0 20px; min-height: 315px; }
#content .recipe h2 { font-size: 3.2em; font-weight: bold; color: #000; border-bottom: solid 1px #aaa; text-align: right; margin-top: -50px; padding-left: 140px; text-transform: lowercase; }
#content .recipe h3 { clear: left; border-top: 20px solid #fff; font-weight: bold; color: #000; border-bottom: solid 1px #aaa; font-size: 2.4em; text-transform: lowercase; }
#content .recipe .right { float: right; border-left: solid 60px #fff; }
#content .recipe .right img { display: block; margin: 0; width: 390px;}
#content .recipe p, #content .recipe ul, #content .recipe dl, #content .recipe tr, #content .recipe h4 { font-family: Verdana; color: #000; }
#content .recipe p, #content .recipe tr, #content .recipe h4 { font-size: 1.2em; line-height: 18px; margin-top: 18px; }
#content .recipe p.top { font-size: 1.4em; line-height: 24px; margin-top: 14px; }
#content .recipe dl { font-size: 1.2em; }
#content .recipe dt, #content .recipe dd { float: left; margin-bottom: 3px; }
#content .recipe dt { clear: left; font-weight: bold; margin-right: 7px; }
#content .recipe ul { font-size: 1.2em; padding-left: 20px; padding-top: 5px; }
#content .recipe ul li { padding-left: 20px; margin-top: 3px; margin-bottom: 18px; background: url(../images/heart_list.png) 0 5px no-repeat; line-height:18px; font-size: 1em; }
#content .recipe ul li p, #content .recipe ul li tr, #content .recipe ul li ul {font-size: 1em;}

#content .recipe .search { background: #202020 url(../images/search_bg.png) no-repeat; color: #fff; padding-left: 64px; height: 70px; width: 326px; }
#content .recipe .search label { display: block; font-size: 1.5em; font-weight: bold; color: #fff; padding: 5px 0; margin-top: 0; }
#content .recipe .search .textbox { border: none; background-color: #fff; height: 22px; padding: 6px 10px 0; width: 200px; display: block; float: left; margin-right: 10px; }

/* 2.5 Promo
-----------------------------------------------------------------------------------------------*/

#content .promo_top { background: url(../images/promo.png) 0 0 no-repeat; }
#content .promo_top .promo { float: left; width: 278px; height: 248px; padding: 1px; margin: 0 20px 0 0; position: relative; }
#content .promo_top .promo_last { margin-right: 0; }
#content .promo_top .promo img { position: absolute; left: 1px; bottom: 1px; }
#content .promo_top .promo h2 { padding: 10px 14px 0; font-size: 1.3em; font-weight: bold; text-transform: uppercase; line-height: 1.2; }
#content .promo_top .promo h2 strong { font-size: 2.461538em; text-transform: lowercase; display: block; line-height: .7; margin-top: 7px; }
#content .promo_top .promo h2 span.love { display: inline-block; overflow: hidden; text-indent: -9999px; width: 13px; height: 14px; background: url(../images/heart-small.png) 50% 50% no-repeat; vertical-align: middle; margin-top: -2px; }
#content .promo_top .promo a.more { display: block; position: absolute; left: 0; top: 0; width: 278px; height: 248px; text-indent: -9999px; background: url(../images/more.png) no-repeat; }

#content .promo_bottom { padding-top: 20px;}
#content .promo_bottom .promo { background-color: #ccc; color: #333; font-size: 1.8em; font-weight: bold; text-align: center; line-height: 190px; }
#content .promo_bottom .promo,
#content .promo_bottom .promo span { width: 280px; height: 190px; display: block; float: left; margin-right: 20px; position: relative; overflow: hidden; }
#content .promo_bottom .promo span { float: none; position: absolute; left: 0; top: 0; background-repeat: none; cursor: pointer; z-index: 10; }
#content .promo_bottom #win_saucepan span { background-image: url(../images/promo1.jpg); }
#content .promo_bottom #win_recipe span { background-image: url(../images/promo1_narrow.jpg); }
#content .promo_bottom #sign_up span { background-image: url(../images/promo2_narrow.jpg); }
#content .promo_bottom #sign_up { float: right; margin-right: 0; }

#content .promo_small { background: url(../images/promo_small.png) 0 0 no-repeat; margin-left: -5px; border-top: solid 40px #fff; }
#content .promo_small .promo { float: left; width: 166px; height: 148px; padding: 1px; margin: 0 11px 0 0; position: relative; display: block; }
#content .promo_small .promo_last { margin-right: 0; }
#content .promo_small .promo img { position: absolute; left: 1px; top: 1px; }
#content .promo_small .promo h2 { padding: 5px 0px 0 5px; font-size: .8em; font-weight: bold; text-transform: uppercase; line-height: 1.2; }
#content .promo_small .promo h2 strong { font-size: 2.2857142857142857142857142857143em; text-transform: lowercase; display: block; line-height: 1; margin-top: 2px; }
#content .promo_small .promo h2 span.love { display: inline-block; overflow: hidden; text-indent: -9999px; width: 8px; height: 7px; background: url(../images/heart_tiny.png) 50% 50% no-repeat; vertical-align: middle; margin-top: -2px; }
#content .promo_small .promo a.more { display: block; position: absolute; right: 1px; bottom: 1px; width: 40px; height: 40px; text-indent: -9999px; background: url(../images/more_small.png) no-repeat; }
#content .promo_small .promo_alt { width: 165px; }
#content .promo_small .promo a.promo,
#content .promo_small .promo a.promo span { width: 166px; height: 148px; display: block; float: left; margin-right: 20px; position: relative; overflow: hidden; }
#content .promo_small .promo a.promo span { float: none; position: absolute; left: 0; top: 0; background-repeat: none; cursor: pointer; z-index: 10; }
#content .promo_small .promo #win_saucepan span { width: 165px; background-image: url(../images/promo_small1.jpg); }
#content .promo_small .promo #win_recipe span { width: 165px; background-image: url(../images/promo_small_recipe.jpg); }
#content .promo_small .promo #sign_up span { background-image: url(../images/promo_small2.jpg); }

/* 2.6 Footer
-----------------------------------------------------------------------------------------------*/

#footer { clear: both; padding: 20px 0 10px 0; font-size: 1.1em; background-color: #fff; color: #818181; text-align: right; font-family: Verdana, sans-serif; }
#footer p { font-size: 1em; margin: 0; }
#footer a { color: #818181; padding-left: 15px; background: url(../images/divider.png) 0 50% no-repeat; }


/* 3. VARIOUS
-----------------------------------------------------------------------------------------------
===============================================================================================*/

/* jqTransform */

.jqTransformSelectWrapper {	width: 45px; position:relative;	height: 24px;	background: url(../images/form/select_left.gif) no-repeat top left; float:right; margin: 2px 2px 0 0; }
.jqTransformSelectWrapper div span { font-size: 11px; font-family: Verdana, sans-serif; float: none;	position: absolute;	white-space: nowrap;	height: 24px;	line-height: 11px;	padding: 6px 0 0 8px;	overflow: hidden;	cursor:pointer; }
.jqTransformSelectWrapper a.jqTransformSelectOpen {	display: block;	position: absolute;	right: 0px;	width: 31px;	height: 24px;	background: url(../images/form/select_right.gif) no-repeat center center; }
.jqTransformSelectWrapper ul { position: absolute;	width: 43px;	top: 23px;	left: 0px;	list-style: none;	background-color: #FFF;	border: solid 2px #ee2e24; border-top: none; display: none;	margin: 0px;	padding: 0px;	height: 150px;	overflow: auto;	overflow-y: auto;	z-index:10; }
.jqTransformSelectWrapper ul a { display: block;	padding: 5px;	text-decoration: none; color:#333; background-color: #FFF;	font-size: 11px; font-family: Verdana, sans-serif; }
.jqTransformSelectWrapper ul a.selected {	background: #ccc;	color: #000; }
.jqTransformSelectWrapper ul a:hover, .jqTransformSelectWrapper ul a.selected:hover { background: #3582c4;	color: #fff; }
.jqTransformHidden { display: none; }

/* 4. EXTRAS
-----------------------------------------------------------------------------------------------
===============================================================================================*/

.strong {font-weight: bold;}
.acrobat {padding-left: 22px; background: url(/_common.images/acrobat.gif) no-repeat 0 -2px; padding-bottom: 5px;}
.graphical {display: block; text-indent: -999em; overflow: hidden;}
.floatStop {display: block; width: 100%; height: 1px; float: none; clear: both;}

/* Tables */

table.basicTable {background-color: #aaa;}
.basicTable td, .basicTable th {padding: 5px;}
.basicTable td {background-color: #fff;}
.basicTable th {background-color: #000; color: #fff;}

/* Healthy eating pages */

.healthyIndex {float: left; width: 280px;}
.healthyIndex a {display: block; width: 235px; padding-top: 320px; font-size: 1.2em; text-align: center; line-height: 18px; color: #000; text-decoration: none; font-family: Verdana;}
.healthyIndex.fh a {background: url(/low-fat/images/fh.jpg) no-repeat;}
.healthyIndex.ge a {background: url(/low-fat/images/ge.jpg) no-repeat; margin-left: 22px;}
.healthyIndex.pv a {background: url(/low-fat/images/pv.jpg) no-repeat; margin-left: 45px;}

/* Form */
form.leftBox {background: url(/_common.images/formLeftBoxBg.png) no-repeat; width: 310px; border: solid 1px #aaa; padding: 18px 20px;}
.formRow {display: block; clear: left; float: none;}
.leftBox .formRow {margin-bottom: 10px;}

input.txtReg, input.txtSml, textarea {font-family:Verdana; color: #333; padding: 3px; width: 300px;}
input.txtSml {width: 150px;}
textarea {font-size: 1.2em; height: 100px;}
input.radio {float: left; margin-top: 19px;}
input.verify {width: 140px; height: 23px; padding: 5px; font-size: 20px; letter-spacing: 0.75em;}
input.submit, input.next {width: 96px; height: 25px; background: url(/_common.images/submit.png) no-repeat; border: none; font-size: 0;line-height: 0;}
input.next {width: 72px; background: url(/_common.images/next.png) no-repeat;}
select {font-family:Verdana}

.leftBox label {float: none; display: block; margin-top: 0; margin-bottom: 3px; font-weight: bold;}
label {font-size: 1.2em; font-family:Verdana; float: left; margin-top: 18px;}
label.last {margin-bottom: 18px;}
form p {margin-bottom: 0; display: block; clear: left;}

#captcha {display: block; float: left; margin-right: 5px;}

#calc p.calcIntro {display: block; width: 470px; height: 53px; padding: 20px 0 0 0; overflow: hidden; margin: 0; text-align: center; color: #000; font-family: Verdana; font-size: 1.1em}