/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*	Re Add some base styles	*/
strong {
	font-weight: bold;
}
em {
	font-style: italic;
}
h1 { font-size: 1.8em;margin: 0 0 1% 0; }
h2 { font-size: 1.6em;margin:1% 0; }
h3 { font-size: 1.4em;margin:.8% 0; }
h4 { font-size: 1.2em;margin:.3% 0; }
h5 { font-size: 1.1em;margin: 1% 0 .2% 0; }
h6 { font-size: 1.0em;margin:.2% 0; }

html
{
	overflow-y: scroll;
}

html
{
	font: 16px 'Habibi', serif;
}
p
{
	margin: 1em 0;
}
.right { float:right; }
.left { float:left; }
.initial { font-size:initial; }
.hidden { display:none; }
a { color: #a90329; }
.center { text-align:center; }
/* Site Header */
header {
	border-bottom: 1px solid #444;
	z-index: 1;
}
header ul.main-menu li {
	font-size: 1.5em;
	display: inline-block;
	width: 30%;
	margin: 1% 1% 0;
}
header ul.main-menu li a {
	display: block;
	text-align: center;
	padding: 5px 1%;
	border: 1px solid #444;
	border-radius: 10px 10px 0 0;
	z-index: 2;
	text-decoration:none;
	color: #444;
	border-bottom-color: transparent;
}
header ul.main-menu li a.active {
	color: #a90329;
	border-bottom-color: #fff;
	background-color: #fff;
}
header ul.main-menu li.inactive a {
	color: #aaa;
	border-color: #aaa;
	border-bottom-color: transparent;
}
header ul.main-menu li.inactive {
}
header .top-bar
{
	background-color: #ddd;
	padding: .5em;
	text-align:right;
	box-shadow: 0px 0px 1px #000, 0px 1px 5px #ccc;
}
header .top-bar.dropdown ul
{
	text-align:left;
}
header .top-bar.dropdown li
{
	display:block;
	margin: 0em 0 1em 0;
}
header .top-bar.dropdown.hide ul
{
	display:none;
	margin:.1em;
}
header .top-bar.dropdown ul
{
	display:block;
	clear:left;
	padding-top:1em;
	padding-left:1em;
}
header .top-bar.open li
{
	margin: 0 .5em;
	display:inline-block;
}
/*header .top-bar li
{
	margin: 0 .5em;
	display:inline-block;
}*/
.site-content {
	padding: 2%;
}
.error
{
	color: #f00;
}
.context
{
	font-size:.8em;
	color: #888;
	font-style: italic;
}
table.input
{
	margin:2%;
}
table.input td
{
	padding: 1%;
	vertical-align:top;
}
table.input td.td100
{
	width: 7em;
	font-weight:bold;
}

input[type='text'], input[type='password'], input[type='email'], select, textarea
{
	font: 1em 'Habibi', serif;
}
input[type='text'], input[type='email'], input[type='password']
{
	width: 16em;
}
textarea
{
	width: 24em;
	height: 6em;
}
input[type='button'], input[type='submit'] , a.button
{
	font-family: 'Habibi', serif;
	color: rgb(255, 239, 189);
	border: 1px solid transparent;
	border-radius: 5px;
	padding: .5em 2em;
	cursor:pointer;
	text-decoration:none;
	
	background: #a90329; /* Old browsers */
	background: -moz-linear-gradient(top,  #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
	display:inline-block;
}

input[type='button']:hover, input[type='submit']:hover , a.button:hover
{
	background: #a90329; /* Old browsers */
	background: -moz-linear-gradient(top, #a90329 0%, #8f0222 78%, #6d0019 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(78%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 78%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #a90329 0%,#8f0222 78%,#6d0019 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #a90329 0%,#8f0222 78%,#6d0019 100%); /* IE10+ */
	background: linear-gradient(to bottom, #a90329 0%,#8f0222 78%,#6d0019 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
a.edit
{
	font-size:initial;
}
.buttoncontainer
{
	border: 1px solid #444;
	box-shadow: 2px 2px 2px #ccc;
	border-radius: .25em;
	padding: 0;
	display: inline-block;
}
.buttoncontainer a.button
{
	padding: .5em 1em .5em 1.5em;
	margin:-1px;
	border-radius: .25em 0 0 .25em;
}
.buttoncontainer select
{
	margin: 0 1em;
}

.recipes
{
    min-height: 400px;
}
.loading
{
    background: transparent none no-repeat center center;
}
.loading.flipped
{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
.newdate
{
	min-height: 30px;
	display:none;
}
input.big
{
	display: block;
	margin: 2% auto;
	width: 80%;
	font-size: 1.5em;
}

.recipes .recipe, ul.friends li
{
	margin:1% 2%;
	border: 1px dotted #666;
	border-width: 1px 0 0;
	padding: 1% 2%;
}
.recipes .recipe:last-child, ul.friends li:last-child
{
	border-width: 1px 0;
}
.recipes .recipe .tags
{
	margin: 1% 0;
}
a.tag
{
	padding: .2em .6em;
	background-color: #eff;
	border: 1px solid #cff;
	font-size: .8em;
	color: #444;
	margin: .25em;
}

.site-content ul
{
	padding-left: 2%;
}
.site-content li
{
	margin: .2em;
}

.editable
{
	border: 2px solid transparent;
	display: block;
}
.editable.editing
{
	border-color: #ccc;
	background-color: #eff;
}

ul.ingredients li, ul.checked li
{
	margin: 1em 1em 1em 3em;
	text-indent: -3em;
}
ul.checked li
{
	color: #888;
	text-decoration: line-through;
}
input.block, textarea.block
{
	width:70%;
}
ul li.date
{
	padding-left: .75em;
	margin: .4em;
	color: #717171;
}

.nicebox
{
	border: 1px solid #444;
	box-shadow: 2px 2px 2px #ccc;
	border-radius: .25em;
	padding: 0;
	display: inline-block;
}
.nicebox li a.active
{
	color: #000;
}
.nicebox h4
{
	margin: 0 0;
	color: #fff;
	padding: .5em 2em;

	background: #a90329; /* Old browsers */
	background: -moz-linear-gradient(top,  #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
.nicebox ul
{
	padding: .5em;
}

.footer
{
	margin-top:1em;
	padding-top:1em;
	border-top: 1px solid #bbb;
}

/*
	/cook
*/
ul#nav li
{
	display:inline-block;
	width:45%;
	margin-bottom:0;
}
ul#nav li a
{
	border:1px solid #444;
	border-radius: .5em .5em 0 0;
	border-bottom-width:0;
	display:block;
	text-align:center;
	padding:1em 0;
	color:#444;
	text-decoration:none;
}
ul#nav li a.active
{
	color: #a90329;
	background-color:#ffc;
}
.half
{
	width:50%;
}
.half .content
{
	border-top:5px solid #ffc;
	padding-top: 5px;
}

ul.recipe
{
	margin: 1em;
}
ul.recipe li.step
{
	cursor:pointer;
	height: 2em;
	overflow-y: hidden;
	position:relative;
	margin: 1em;
}
.fadeout
{
	background: transparent url('/media/images/bottom-fade.png') repeat-x 0 -80px;
	bottom:0;
	width:100%;
	height:100%;
	z-index:99;
	position:absolute;
}
ul.recipe li.step:hover .fadeout
{
	background-position: 0 -20px;
}
ul.recipe li.active
{
}
ul.recipe li.step-details
{
	cursor: initial;
	height: initial;
	padding:20px;border:1px solid #ccc;border-width:1px 0;margin:10px;background-color:#ffc;
}
audio
{
	display:none;
}
.timer
{
	font-size:40px;
	width:6em;
	height:6em;
	display:inline-block;
	text-align:center;
	position:relative;
	z-index:10;
}
.timer .watch
{
	position:absolute;
	top:0;
	width:100%;
	height:100%;
	line-height:6em;
}
.timer .dropdown
{
	position: absolute;
	top: 25%;
	left: 0;
	z-index: 99;
	width: 100%;
	background-color: #fff;
	box-shadow: 2px 2px 2px #ccc;
	display:none;
}
.timer .dropdown input
{
	color: #000;
	width: 100%;
	position: relative;
}
div.content > div h4
{
	margin: .4em;
}
.right.toggle
{
	position:relative;
}
a.friend-button
{
	border: 1px solid transparent;
	border-radius: 4px;
	padding: .5em;
	text-decoration:none;
	color: rgb(255, 239, 189);
	display:inline-block;
	font-size: .9em;
	margin: .1em;
	text-align:center;
}
a.friend-button.RequestFriend, 
a.friend-button.RequestCloseFriend,
a.friend-button.AcceptCloseFriendRequest,
a.friend-button.AcceptFriendRequest
{
	color: rgb(255, 249, 229);
	background: #78ec78; /* Old browsers */
	background: -moz-linear-gradient(top, #78ec78 0%, #007c00 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#78ec78), color-stop(100%,#007c00)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #78ec78 0%,#007c00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #78ec78 0%,#007c00 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #78ec78 0%,#007c00 100%); /* IE10+ */
	background: linear-gradient(to bottom, #78ec78 0%,#007c00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#78ec78', endColorstr='#007c00',GradientType=0 ); /* IE6-9 */
}
a.friend-button.DeCloseFriend,
a.friend-button.DeFriend,
a.friend-button.CancelCloseFriendRequest,
a.friend-button.DeclineCloseFriendRequest,
a.friend-button.CancelFriendRequest,
a.friend-button.DeclineFriendRequest
{
	background: #a90329; /* Old browsers */
	background: -moz-linear-gradient(top,  #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
.button-wrapper
{
	width: 12em;
}
.button-wrapper a.friend-button
{
	width:100%;
	display:block;
}

ul.subnav
{/*
	display:block;
	position:absolute;
	bottom:0;
	right:0;*/
}
ul.subnav li
{
	display:inline-block;
	margin: .2em .2em 0 .2em;
}
ul.subnav li a	
{
	border:1px solid #444;
	border-radius: .5em .5em 0 0;
	border-bottom-width:0;
	display:block;
	text-align:center;
	padding:.5em 1em;
	color:#444;
	text-decoration:none;
}
ul.subnav li a.active
{
	color: #a90329;
	background-color:#ffc;
}
.yellowbottom
{
	border-bottom: 4px solid #ffc;
	position: relative;
	margin-bottom:1em;
}
.showhide
{
	display:none;
}

header a.home
{
	display:block;
	float:left;
	line-height:24px;
	text-decoration:none;
	font: 1.5em 'Marck Script', cursive;
}
header a.home img
{
	width:24px;
	height:24px;
	margin: 0 .6em 0 0;
	vertical-align:top;
}

img.shadow
{
	box-shadow: 2px 2px 3px 1px #cccccc;
}

.login-banner
{
	padding: 10px;
	margin: 0 0 10px;
	background-color: #ffc;
	box-shadow: 0 2px 10px 1px #eee;
}


/* history */
table.calendar td
{
	height: 120px;
	position:relative;
	vertical-align:top;
	border: 1px solid #ccc;
}
table.calendar td.blank
{
	border-width:0;
}
table.calendar td.active
{
	background-color: #ffc;
}
table.calendar td.today
{
	background-color: #ffc;
	font-weight: bold;
}
table.calendar td span.number
{
	position:relative;
	top:0;
	left: 0; 
	padding: 3px;
	width: 20px;
	text-align:center;
	display:block;
	color: #999;
}
table.calendar td.active span.number, table.calendar td.today span.number
{
	color: #000;
}
table.calendar .recipe
{
	padding:7px;
}
.recipe-line
{
	display:none;
}
table.recipe-line-item td.n
{
	width: 40px;
}
table.recipe-line-item td
{
	padding: 10px;
	vertical-align: middle;
}
.recipe-line-item
{
	padding: 10px;
	margin: 10px;
}
.recipe-line .recipe
{
	margin: 10px;
}
.recipe-line-item {
color: #888;
}
.recipe-line-item.blank {
display:none;
}
.recipe-line-item.active, .recipe-line-item.today {
color: #000;
background-color: #ffc;	
}
.recipe-line-item.today {
font-weight: bold;
}

.datelist, .datelist ul{
	text-align:right;
	float:right;
	width: 100%;
}
.datelist ul li {
	display:inline-block;
	margin: 0 8px;
}
.datelist ul li a.active {
	color: #000;
}


.recipe-image {
	width: 366px;
	display:block;
	margin: 10px 0;
	padding: 2px;
	/*
	-webkit-box-shadow: inset 0px 0px 5px 1px rgba(40, 40, 40, 0.75);
	-moz-box-shadow:    inset 0px 0px 5px 1px rgba(40, 40, 40, 0.75);
	box-shadow:         inset 0px 0px 5px 1px rgba(40, 40, 40, 0.75);
	*/
	box-shadow: 1px 1px 5px #aaa;
}
.recipe-image img {
	width: 362px;
	margin: 0;
	max-width: 100%;
}

a.inspire {
	width: 22%;
	margin: 10px;
	display:inline-block;
	vertical-align:top;
	text-align:center;
	text-decoration: none;
	border-width: 0;
}
a.inspire img {
	max-width: 100%;
	box-shadow: 1px 1px 5px #aaa;
	margin: 5px auto;
}
a.inspire .title {
}
a.inspire .owner {
	font-style:italic;
	color: #777;
	text-decoration: none;
	border-width: 0;
}

.normal {
	font-size: initial;
	
}