/* ----------------------------------------------------------------  */
/*                           Main                                    */
/* ----------------------------------------------------------------  */
body {
	font-family: "trebuchet MS";
	background: #000;
	color: #ddd;
	opacity: 0;
}
body > * {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#222), to(#777));
}
h1, h2 {
	font: 30px "trebuchet MS";
	font-weight: bold;
	text-shadow: rgba(255,255,255,.2) 0 1px 1px;
	color: #131313;
	margin: 10px 20px 7px;
}
#manifestloader {
	background: #fff;
	font-size: 10px;
	color: #000;
	display: none;
	height: auto;
	width: auto;
	left: 4px;
	min-height: 0 !important;
	position: absolute;
	top: 75px;
	z-index: 999;
	-webkit-box-shadow: #888 0px 0px 3px;
	-moz-box-shadow: #888 0px 0px 3px;
	opacity: 0.7;
	padding: 2px 4px;
	-webkit-border-radius: 4px;
}
/* ----------------------------------------------------------------  */
/*                      TOOLBAR & BUTTONS                            */
/* ----------------------------------------------------------------  */
/* @group Toolbar */
.toolbar {
	-webkit-box-sizing: border-box;
	-webkit-box-shadow: #000 -3px 2px 3px;
	border-bottom: 1px solid #333;
	padding: 10px;
	height: 45px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#333), to(#222));
	position: relative;
}
.toolbar-main {
	-webkit-box-sizing: border-box;
	position: relative;
}
.button, .back, .cancel, .add {
	position: absolute;
	overflow: hidden;
	top: 8px;
	right: 10px;
	margin: 0;
	border-width: 0 5px;
	padding: 0 3px;
	width: auto;
	height: 30px;
	line-height: 30px;
	font-family: inherit;
	font-size: 12px;
	font-weight: bold;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
	background: none;
	-webkit-border-image: url(../core-img/button.png) 0 5 0 5;
}
.back {
	left: 6px;
	right: auto;
	padding: 0;
	max-width: 55px;
	border-width: 0 8px 0 14px;
	-webkit-border-image: url(../core-img/back_button.png) 0 8 0 14;
}
.back.active {
	-webkit-border-image: url(../core-img/back_button_clicked.png) 0 8 0 14;
	color: #aaa;
}
.leftButton, .cancel {
	left: 6px;
	right: auto;
}
.add {
	font-size: 24px;
	line-height: 24px;
	font-weight: bold;
}
/* HEADER  */
#headerbar {
	background: #000 url(../core-img/head-fade-bk.png) repeat-x 0 0;
}
#headerbar .disabled {
	display: none;
}
#headerbar-menu {
	height: 45px;
	width: 100%;
	background: url(../core-img/iphone-logo.png) no-repeat 2px 10px;
}
#headerbar-menu a {
	height: 45px;
	display: block;
	float: right;
	background: url(../core-img/iphone-icons.png) no-repeat  -57px -228px;
	width: 30px;
	margin: 0;
	padding: 0;
}
#main .status, #drop-fade {
	background: #333;
}
/* DROP FADE  */
#main .status, #drop-fade {
	width: 100%;
	display: block;
	position: relative;
	-webkit-box-shadow: #000 -3px 2px 3px;
	text-align: right;
	margin: 0;
	border-top: 1px solid #3e3e3e;
	overflow: hidden;
	height: 23px;
}
#main .status {
	display: none;
	font-size: 13px;
	position: absolute;
	z-index: 99999;
	height: 23px;
	width: 100%;
}
#main .status span {
	position: relative;
	top: 4px;
	right: 5px;
}
#drop-fade a {
	font-family: Arial;
	font-size: 11px;
	position: relative;
	bottom: 3px;
	color: #fff;
	padding: 10px 15px 3px 16px;
	margin-left: -1px;
	display: block;
	float: right;
	padding-left: 15px;
	text-decoration: none;
}
#drop-fade a.disabled {
	display: none;
}
#drop-fade #tagsopen {
	background: url(../core-img/menu-sprite.png) no-repeat 0 9px;
}
#drop-fade #allopen {
	background: url(../core-img/menu-sprite.png) no-repeat 0 -54px;
}
#drop-fade #staropen {
	background: url(../core-img/menu-sprite.png) no-repeat 0 -75px;
}
#drop-fade #a-zopen {
	background: url(../core-img/menu-sprite.png) no-repeat 0 -54px;
}
#drop-fade #loginopen {
	background: url(../core-img/menu-sprite.png) no-repeat 0 -34px;
}
/* ----------------------------------------------------------------  */
/*                              FOMRS & LOGIN                        */
/* ----------------------------------------------------------------  */
ul.form li {
	padding: 7px 10px;
}
ul.form li.error {
	border: 2px solid red;
}
ul.form li.error + li.error {
	border-top: 0;
}
ul li input[type="text"], ul li input[type="password"], ul li textarea {
	color: #999;
	background: transparent; /* url(../.png);*/
	border: 0;
	font: normal 17px "trebuchet MS";
	padding: 0;
	display: inline-block;
	margin-left: 0px;
	width: 100%;
	-webkit-appearance: textarea;
}
#email-form .status, #select-menu .status, #add-ideas .status, #login .status {
	font-size: 14px;
	min-height: 1.3em;
	margin: -5px 50px 0;
	text-align: center;
	text-shadow: rgba(0,0,0,.4) 0 1px 1px;
}
#login-form {
	margin-top: 60px;
}
.login-ok {
	color: #80b74f;
}
.login-err {
	color: #ff5666;
}
/* ----------------------------------------------------------------  */
/*                              MENU ACTION                          */
/* ----------------------------------------------------------------  */
#select-menu h2 {
	margin-top: 0;
}
#select-menu .status {
	margin: 20px auto 0;
	width: 80%;
	line-height: 1.3em;
	height: 50px;
	vertical-align: middle;
}
#select-menu.offline .status {
	margin: 40px auto 0;
	height: 70px;
}
#select-menu .toolbar.offline {
	border-right: 2px solid #80b74f;
}
#select-menu .status span {
	width: 100%;
	text-align: center;
	vertical-align: middle;
}
#search {
	margin-top: 0;
}
a#addthoughtlink, a#listthoughtlink, a#logoutlink, a#synclink {
	background-image: url(../core-img/iphone-icons.png);
	background-repeat: no-repeat;
}
a#languagelink {
	background-image: url(../core-img/flags-iphone.png);
	background-repeat: no-repeat;
}
a#addthoughtlink {
	background-position: -10px -328px;
}
a#listthoughtlink {
	background-position: -10px -386px;
}
a#logoutlink {
	background-position: -10px -437px;
}
a#synclink {
	background-position: -10px -278px;
}
a#logoutlink.active {
	background-color: #ff5666;
}
/* ----------------------------------------------------------------  */
/*                           THOUGHTS PAGES                          */
/* ----------------------------------------------------------------  */
#add-ideas .status {
	height: 2em;
}
#add-ideas, #list-ideas {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#222222), to(#444444), color-stop(.7,#333333))
}
#list-ideas ul li {
	font-size: 14px;
	color: #f2f2f2;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
#add-ideas ul {
	margin: 15px 10px 15px 10px;
}
#list-ideas ul, #add-ideas-results ul {
	margin: 15px 10px 50px 10px;
}
ul li.error {
	border: 2px solid #ff5666;
}
/* ----------------------------------------------------------------  */
/*                           RECIPE BLOCK                            */
/* ----------------------------------------------------------------  */
div#layout {
	margin-top: 10px;
}
.img-button img {
	border: 1px solid #ddd;
	border-color: #aaa #fff #fff #aaa;
}
div#recipe-images {
	text-align: center;
	width: 320px;
	line-height: 460px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#000), to(#222), color-stop(0.7, rgba(0,0,0,0)) );
}
body.landscape div#recipe-images {
	width: 480px;
}
div#recipe-images #img-container img {
	margin-bottom: 60px;
	vertical-align: middle;
	border: 2px solid #fff;
}
div#img-control {
	position: absolute;
	width: 100%;
	height: 60px;
	line-height: 40px;
	bottom: 0;
	text-align: center;
	overflow: hidden;
}
#email-submit, #img-next, #img-close {
	padding: 9px 10px;
	height: 30px;
	line-height: 30px;
	margin: 0 10px;
	max-width: 100px;
	border-width: 0 5px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	text-shadow: rgba(0, 0, 0, 0.8) 0px -1px 0;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
	background: none;
	-webkit-border-image: url(../core-img/button.png) 0 5 0 5;
}
#email-submit {
	text-align: center;
	line-height: normal;
	height: auto;
}
/* ----------------------------------------------------------------  */
/*                           EMAIL FORM                              */
/* ----------------------------------------------------------------  */
#email-box p {
	text-align: center;
	margin-bottom: 10px;
}
#email-box ul {
	margin-bottom: 5px;
}
#email-form .status {
	margin-top: 10px;
}
div#email-clone {
	display: none;
}
a#abook {
	-webkit-border-top-left-radius: 0;
	background: #4c6f2d url(../core-img/iphone-icons.png) no-repeat scroll -26px 4px;
	height: 44px;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 40px;
}
li.relative {
	position: relative;
}
.email {
	position: absolute;
	right: 0px;
	bottom: 0px;
	z-index: 999;
}
.email a {
	background: url(../core-img/iphone-icons.png) no-repeat bottom right;
	width: 91px;
	height: 91px;
	display: block;
}
a#email-close {
	background: #fefefe url(../../img/button-grad.jpg) repeat-x scroll 0 -62px;
	padding: 4px 10px 4px;
}
.clear {
	clear: both;
}
/* ----------------------------------------------------------------  */
/*                           CUSTOM LISTS                            */
/* ----------------------------------------------------------------  */
#select-lang ul li a, #select-lang li.img a + a {
	background-image: url(../core-img/flags-iphone.png);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	padding-left: 60px;
}
#select-lang ul li.cacheUpdate {
	color:#80b74f;
}
#list-ideas-results ul li {
	background-image: url(../core-img/iphone-icons.png);
	background-repeat: no-repeat;
	background-position: -13px -480px;
	padding-left: 35px;
}
#add-ideas-results ul li a, #add-ideas-results li.img a + a {
	background-image: url(../core-img/iphone-icons.png);
	background-repeat: no-repeat;
	background-position: -15px -519px;
}
#select-emails-result ul li a, #select-emails-result li.img a + a {
	background-image: url(../core-img/iphone-icons.png);
	background-repeat: no-repeat;
	background-position: -18px -116px;
	padding-left: 44px;
}
#select-tags ul li a, #select-tags li.img a + a {
	background-image: url(../core-img/iphone-icons.png);
	background-repeat: no-repeat;
	background-position: -23px -179px;
}
#select-a-z ul li a, #select-a-z li.img a + a, #select-all ul li a, #select-all li.img a + a {
	background-image: url(../core-img/iphone-icons.png);
	background-repeat: no-repeat;
	background-position: -23px -55px;
}
#menu ul li a, #menu li.img a + a {
	padding: 12px 10px 12px 55px;
}
/* ----------------------------------------------------------------  */
/*                              LISTS                                */
/* ----------------------------------------------------------------  */
/* @group Lists */
h1 + ul, h2 + ul, h3 + ul, h4 + ul, h5 + ul, h6 + ul {
	margin-top: 0;
}
ul {
	color: #aaa;
	border: 1px solid #333333;
	font: bold 18px "trebuchet MS";
	padding: 0;
	margin: 15px 10px 17px 10px;
}
ul.rounded {
	-webkit-border-radius: 8px;
	-webkit-box-shadow: rgba(0,0,0,.3) 1px 1px 3px;
}
ul.rounded li:first-child, ul.rounded li:first-child a {
	border-top: 0;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}
ul.rounded li:last-child, ul.rounded li:last-child a {
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
}
ul li {
	color: #666;
	border-top: 1px solid #333;
	border-bottom: #555858;
	list-style-type: none;
	padding: 10px 10px 10px 10px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142));
	overflow: hidden;
}
ul li.arrow {
	/*background-image: url(../core-img/chevron.png), -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4c4d4e), to(#404142));
*/
	background-position: right center;
	background-repeat: no-repeat;
}
/* ----------------------------------------------------------------  */
/*                     LINKS on LISTS                                */
/* ----------------------------------------------------------------  */
/* universal links on list */
ul li a, li.img a + a {
	color: #f2f2f2;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	padding: 10px 10px 10px 38px;
	margin: -10px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	text-shadow: rgba(0,0,0,.2) 0 1px 1px;
}
ul li a.active {
	background-color: #80b74f;
	color: #fff;
}
ul li a.active.loading {
}
ul li.arrow a.active {
	/*background-image: url(../core-img/chevron.png);
*/
	background-position: right center;
	background-repeat: no-repeat;
}
ul li.forward a.active {
	/*background-image: url(../core-img/chevron_circle.png);
*/
	background-position: right center;
	background-repeat: no-repeat;
}
ul li.img a + a {
	margin: -10px 10px -20px -5px;
	font-size: 17px;
	font-weight: bold;
}
ul li.img a + a + a {
	font-size: 14px;
	font-weight: normal;
	margin-left: -10px;
	margin-bottom: -10px;
	margin-top: 0;
}
ul li.img a + small + a {
	margin-left: -5px;
}
ul li.img a + small + a + a {
	margin-left: -10px;
	margin-top: -20px;
	margin-bottom: -10px;
	font-size: 14px;
	font-weight: normal;
}
ul li.img a + small + a + a + a {
	margin-left: 0px !important;
	margin-bottom: 0;
}
ul li a + a {
	color: #000;
	font: 14px "trebuchet MS";
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	margin: 0;
	padding: 0;
}
ul li a + a + a, ul li.img a + a + a + a, ul li.img a + small + a + a + a {
	color: #666;
	font: 13px "trebuchet MS";
	margin: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	padding: 0;
}
/* @group Mini Label */
ul li small {
	color: #64c114;
	font: 17px "trebuchet MS";
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	width: 23%;
	float: right;
	padding: 0;
}
ul li small.counter {
	font-size: 17px;
	line-height: 13px;
	font-weight: bold;
	background: rgba(0,0,0,.15);
	color: #fff;
	-webkit-border-radius: 11px;
	padding: 4px 10px 5px 10px;
	display: block;
	width: auto;
	margin-top: -22px;
	-webkit-box-shadow: rgba(255,255,255,.1) 0 1px 0;
}
/* ----------------------------------------------------------------  */
/*                         FULL PAGE LISTS                           */
/* ----------------------------------------------------------------  */
ul.edgetoedge {
	border-width: 1px 0;
	margin: 0;
	padding: 0;
}
ul.edgetoedge li {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1e1f21), to(#272729));
	border-bottom: 2px solid #000;
	border-top: 1px solid #333;
	font-size: 16px;
	margin-bottom: -1px;
}
ul.edgetoedge li.sep {
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,0,0)), to(rgba(0,0,0,.5)));
	border-bottom: 1px solid #111113;
	border-top: 1px solid #666;
	color: #3e9ac3;
	font-size: 16px;
	margin: 1px 0 0 0;
	padding: 2px 10px;
	text-shadow: #000 0 1px 0;
}
ul.edgetoedge li em {
	font-weight: normal;
	font-style: normal;
}


/**/
/* iPad fixes! */
/**/
@media only screen and (device-width: 768px) {

	div#recipe-images {
		width: 768px;
		line-height: 1004px;
	}
	body.landscape div#recipe-images {
		width: 1024px;
	}

}