/* @override 
	http://createnewhabits.com/stylesheets/screen.css
	http://templates/createnewhabits/stylesheets/screen.css
*/
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 {
	background: transparent;
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body,
textarea {
	color: black;
	font-family: "Lucida Sans Unicode", Lucida, Verdana, sans-serif;
	font-size: 62.5%;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,  q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a {
	outline: none;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
hr {
	display: none;
}

/* STICKY FOOTER */
html, body, body > .wrap {
	height: 100%;
}
body > .wrap {
	height: auto;
	min-height: 100%;
}
#main {  /* must be same height as the footer */
	padding-bottom: 70px;
}
#footer {
	clear:both;
	height: 70px;
	margin: -70px auto 0; /* negative value of footer height */
	position: relative;
	text-align: center;
	width: 900px;
} 

/* CLEAR FIX*/
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* Hides from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
/* End hide from IE-mac */

/* FORMS */
form .field {
	background: #FFF url(images/fieldbg.gif) repeat-x top;
	border: 1px solid #C3C3C3;
	border-top-color: #7C7C7C;
	border-bottom-color: #DDD;
	padding: 3px 0;
	font-size: 1em;
	margin-bottom: 8px;
}
form li label {
	display: block;
	margin-bottom: 5px;
	padding-top: 3px;
}
label.required span {
	padding-right: 12px;
	background: url(images/required.png) no-repeat right center;
}
form .buttons {
	margin-top: 1em;
	padding-top: 1em;
}
.buttons a {
	text-decoration: none;
}
.buttons a:hover {
	color: #000;
}
.field:focus {
	background: #FFC;
}
form fieldset {
	background: #D9D9D9;
	border: 1px solid #BFBFBF;
	padding: 8px 14px 0;
	margin: 7px 0 13px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	position: relative;
}
form fieldset legend {
	color: #999;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	padding: 0 4px 1px;
}
form ul, form ol {
	margin-bottom: 1.5em;
	padding: 0;
	width: 100%;
}
form fieldset ol,
form fieldset ul {
	margin: 0 8px;
}
form li {
	clear: both;
	display: block;
	padding: 4px 0 2px;
}
form li span {
	float: left;
	margin-right: 4px;
	padding-bottom: 13px;
}
form li span label,
form li div label {
	display: block;
	font-size: 0.9em;
	padding: 0.3em 0 0.5em;
	margin-left: 0.3em;
}
form li .column {
	padding: 1px 0 0;
}
form span.symbol {
	font-size:115%;
	line-height:130%;
}
.full {
	width: 100%;
}
.large {
	width: 80%;
}
.medium {
	width: 50%;
}
.small {
	width: 25%;
}
label.title {
	font-weight: bold;
}
label.desc {
}
li label.title {
	display: block;
	padding-bottom: 1px;
}
label.title.small,
label.title.medium,
label.title.large,
label.title.small,full {
	text-align: right;
	display: block;
	float: left;
	padding: 0.4em 0.5em 0;
}
label.title.required:after, label.required:after {
	content: ' *';
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #F00
}
label.title.inline {
	float: left;
	text-align: right;
	width: 50%;
	margin-right: 7px
}
label.title small {
	font-weight: normal
}
label.desc {
	padding-bottom: 5px
}
label.choice {
	margin: -1.55em 14px 0 23px;
	padding: 5px 0 5px
}
.field.text {
	background: #FFF url(images/fieldbg.gif) repeat-x scroll top;
	border: 1px solid #C3C3C3;
	border-top-color: #7C7C7C;
	border-bottom-color: #DDD;
	padding: 2px 0;
}
.field.select {
	background: #FFF url(images/fieldbg.gif) repeat-x scroll top;
	border: 1px inset #F0F0F0;
	padding: 1px 0
}
.field.check {
	margin-bottom: 0;
	vertical-align: middle;
	margin-bottom: 2px;
}
.field.file {
	background: #FFF url(images/fieldbg.gif) repeat-x scroll top;
	border: 1px solid #C3C3C3;
	border-top-color: #7C7C7C;
	border-bottom-color: #DDD;
	padding: 2px 0;
}
input.checkbox, input.radio {
	display:block;
	height:13px;
	line-height:1.4em;
	margin:6px 0pt 0pt 3px;
	width:13px
}
.field:disabled {
	background: #CCC;
}
form span .field {
	margin-bottom: 0;
}
form li.leftHalf, form li.rightHalf {
	width:46% !important;
}
form li.leftHalf {
	clear:left;
	float:left;
}
form li.rightHalf {
	clear:none;
	float:right;
}
input.button,
button {
	background: #555;
	color: #FFF;
	font-weight: bold;
	font-size: 0.8em;
	padding: 3px 11px 4px;
	border: 0px solid #555;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	cursor: pointer;
	vertical-align: top;
}
input.button:hover,
button:hover {
	background: #333;
}

/* DESIGN */
body {
	background: #393 url(images/backyard.png) no-repeat top center;	
}
body > .wrap {
	background: #FFF;
	margin: 0 auto;
	position: relative;
	width: 900px;
}
#header {
	background: url(images/backyard.png) no-repeat top center;
	height: 157px;
	position: relative;
}
#header h1 a {
	background: url(images/createnewhabits.png) no-repeat 0 0;
	display: block;
	height: 108px;
	left: 35px;
	position: absolute;
	top: 36px;
	width: 293px;
	z-index: 2;
}
#header h1 a span,
#header h2 {
	display: none;
}
#nav {
	position:absolute;
	right:15px;
	top:109px;
	z-index: 1;
}
#nav > ul {
	height:48px;
	list-style-type:none;
	margin:0;
	padding:0;
	width:477px;
}
#nav li {
	display:inline;
	float:left;
}
#nav li a {
	display:block;
	height:48px;
	overflow:hidden;
	text-indent:-9999px;
}
#nav li.home a {
	background:transparent url(images/menu.jpg) no-repeat scroll 0 -48px;
	width: 112px;
}
#nav li.reminders a {
	background:transparent url(images/menu.jpg) no-repeat scroll -112px -48px;
	width: 129px;
}
#nav li.account a {
	background:transparent url(images/menu.jpg) no-repeat scroll -241px -48px;
	width: 138px;
}
#nav li.logout a {
	background:transparent url(images/menu.jpg) no-repeat scroll -379px -48px;
	width: 98px;
}
#nav li.home a:hover,
#home #nav li.home a {
	background-position: 0 0;
}
#nav li.reminders a:hover,
#reminders #nav li.reminders a {
	background-position: -112px 0;
}
#nav li.account a:hover,
#account #nav li.account a {
	background-position: -241px 0;
}
#nav li.logout a:hover,
#logout #nav li.logout a {
	background-position: -379px 0;
}
#home #nav li.home a,
#reminders #nav li.reminders a,
#account #nav li.account a,
#logout #nav li.logout a {
	cursor: default;
}
#content {
	padding: 45px 15px;
	position: relative;
}
#content p {
	font-size: 1.4em;
	color: #333;
}
#content a {
	color: #06C;
}
#content a:hover {
	color: #000;
}
p#loggedin {
	position: absolute;
	top: 18px;
	right: 16px;
	line-height: 1.2em;
}

/* HABITLOG */
#habitlog .utility {
	position: relative;
	padding: 18px 7px 15px;
	border-top: 1px solid #EEE;
}
a.createnewhabit {
	font-size: 2em;
	letter-spacing: -1px;
}
#content p.navweek {
	bottom: 15px;
	color: #CCC;
	position: absolute;
	right: 7px;
}
#content p.navweek span {
	color: #999;
}
#habitlog .creator {
	position: relative;
	margin: 0 14px 14px;
	background: #FF7;
	-webkit-border-radius: 12px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius: 0 12px 12px 12px;
	display:none;
}
#habitlog .creator form {
	/* background: rgba(255,255,255,0.3); */
	padding: 14px 18px 7px;
	font-size: 1.4em;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

#habitlog .creator form label.title {
	color: #000;
}
#habitlog .creator form li.buttons {
	border-top: 1px solid #A4BF0D;
}
#habitlog .creator form button {
	font-size: 1.42em;
	letter-spacing: -1px;
	padding: 7px 14px 9px;
	background: #3C0;
	color: #FFF;
	-webkit-border-radius: 19px;
	-moz-border-radius: 20px;
}
#habitlog table {
	width: 100%;
}
#habitlog table td,
#habitlog table th {
	padding: 7px;
	border: 1px dotted #CCC;
}
#habitlog th {
	background: #F0F0F0;
	vertical-align: bottom;
}
#habitlog th h3 {
	font-size: 1.7em;
	font-weight: bold;
	color: #999;
	letter-spacing: -1px;
}
#habitlog th strong {
	color: #555;
	display: block;
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;	
	font-size: 36px;
	height: 55px;
	left: -90px;
	line-height: 32px;
	padding: 2px 5px 7px;
	text-align: center;
	width: 50px;
}
#habitlog th strong em {
	background-color: #555;
	color: #EEE;
	display: block;
	font-size: 10px;
	font-style: normal;
	line-height: 21px;
	margin-top: 5px;
	text-transform: uppercase;
}
#habitlog table td {
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding: 0 7px;	
	position: relative;
	vertical-align: top;
}
#habitlog td h4 {
	width: 20em;
	font-size: 1.6em;
	white-space: nowrap;
	overflow: hidden;
	padding: 20px 0 7px;
}
#content #habitlog td p {
	font-size: 1.1em;
	color: #CCC;
}
#habitlog td p span {
	padding: 0 2px;
	color: #333;
}
div.button {
	background: url(images/actions.png) no-repeat 0 0;
	width: 48px;
	height: 48px;
	margin: 14px auto;
}
div.button.done {
	cursor: pointer;
}
div.button.notdone {
	background-position: 0 -144px;
	cursor: pointer;
}
div.button.pending {
	background-position: 0 -48px;
	cursor: pointer;
}
div.button.pending:hover {
	background-position: 0 0;
}
div.button.inactive {
	background-position: 0 -96px;
}
div.button.null {
	background: none;
}
#habitlog table th.today {
	background: #5AC0FF;
	border: 3px solid #3875D7;
}
#habitlog table th.today strong {
	color: #003;
}
#habitlog table th.today strong em {
	background: #3875D7;
	color: #FFF;
}
#habitlog table  td.today {
	border-style: solid;
	border-color: #5AC0FF;
}
#habitlog table td.today .notdone {
	background-position: 0 -48px;
}

#habitlog table td.today .notdone:hover {
	background-position: 0 0;
}
#habitlog table td div.modify {
	font-size: 13px;
	position: relative;
	display: none;
}
#habitlog table td div.modify > span {
	background: #FF0;
	display: block;
	left: -53px;
	padding: 6px 6px 8px 7px;
	position: absolute;
	top: 14px;
	-webkit-border-top-left-radius: 9px;
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius: 9px 0 0 9px;
}
div.modify a.trash {
	display: inline-block;
	background: url(images/trash.gif) no-repeat;
	width: 10px;
	height: 10px;
	margin-right: 5px;
}
div.modify a.trash span {
	display: none;
}
div.modify a.edit {
	color: #C00 !important;
}
form.inline-edit {
	font-size: 1.4em;
	padding: 0.5em 0 0;
	margin: 0;
}
.inline-edit textarea.field {
	width: 320px;
	line-height: 1.2em;
}
.inline-edit li,
.inline-edit .buttons {
	margin: 0;
	padding: 0;
}
.inline-edit .buttons {
	font-size: 1.2em;
}
.inline-edit .buttons  button {
	background: #090;
	letter-spacing: -1px;
	padding: 3px 10px 5px;
	margin-right: 2px;
}
.inline-edit .buttons small {
	padding-top: 5px;
}
.inline-edit .buttons small,
.inline-edit .buttons small a {
	font-family: Arial, Helvetica, Geneva, sans-serif;
	font-size: 13px;
	vertical-align: text-bottom;
}
.inline-edit .buttons small a {
	font-weight: normal;
	padding: 0;
	margin: 0;
	color: #F00 !important;
	border-bottom: 1px solid #F00;
}
form.page {
	font: 0.9em "Lucida Sans Unicode",Lucida,Verdana,sans-serif;
	background: #FFC;
	padding: 2em 2em 1em;
}
form.page h2 {
	font-size: 2.6em;
	color: #48A02C;
	font-weight: bold;
	letter-spacing: -1px;
}
form.page label.title,
form.page .field {
	font-size: 1.6em;
	letter-spacing: -1px;
	color: #333;
}
form.page label.title {
	margin-bottom: 0;
}
form.page li {
	padding: 0.2em 1.5em 0.3em;
}
form.page li.section {
	border-top: 2px dashed #CC6;
	margin-top: 2em;
	padding-top: 2em;sa
}
form.page li.buttons {
	padding: 1em 0 1em;
	font-size: 1.7em;
}
form.page li.buttons small {
	display: inline-block;
	vertical-align: top;
	padding-top: 0.6em;
}
form.page li.buttons small a {
	color: #C00 !important;
	text-decoration: underline;
}
form.page li.buttons button {
	background: #090;
	font-size: 1.3em;
	letter-spacing: -1px;
	padding: 7px 16px 8px;
	-webkit-border-radius: 0.9em;
	-moz-border-radius: 0.9em;
	margin-right: 0.3em;
}
/* FOOTER */
#footer {
	background: #393;
	color: #FFF;
	font-size: 1.4em;
}
#footer p {
	padding-top: 10px;
}
#footer a {
	color: #FFC;
}