/* @group Reset */

body, ul, p, h1, h2, h3,form, input, button, fieldset {
	padding: 0;
	margin: 0;
}

html {
	//font-size: 62.5%;
	font-size: 70%;
 	color: #333;
 	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

p {
	line-height: 16px;
}

.clr {
	clear: both;
}

#header {
	background: url(../images/kwiqi-logo-black-110.png) no-repeat 160px 3px;
	background-color: #363636;
}

.header-wrap {
	margin: 0 auto;
	width: 740px;
}

#container {
	height: auto;
	min-height: 100%;
	position: relative;
	voice-family: inherit;
	width: 740px;
	margin: 0 auto;
}

html > body #container {
	height: auto;
}


/* @end */

h1, h2, h3, h4 {
	/* color: #28423b; /* dark green text */	
	/* font-family: "Marker Felt", Impact, Chalkboard, "Arial Narrow"; */	
	letter-spacing: -1px;
	margin: 10px 0px;
}

a {
	color: #1d5a26;
}

a:hover {
	color: #469c62;
}

a:visited {
	color: #4a78bf;
}

/* @group html-common */
code, pre {
	font-size: 16px;
}

input {
	padding: 2px 3px;
}

input[type=hidden] {  
	display: none;
}

fieldset {
	padding: 0 16px 24px;
	border: 1px solid #ccc;
	margin-bottom: 30px;
}

fieldset legend {
	padding: 0 10px;
	font-size: 23px;
	font-weight: bold;
}

fieldset ol, fieldset p {
	padding: 0 16px;
}

fieldset label {
  display: inline-block;
  font-weight: bold;
  line-height: 18px;
  vertical-align: top;
}

fieldset li {
  list-style: none;
  padding: 5px 0;
  margin: 0;
}

fieldset input {
	display: block;
	border: 1px solid #333;
	line-height: 25px;
}
/* @end html-common */

/* @group layout-common */

a.button, button {
	display: block;
	padding: 8px;
	text-align: center;
	vertical-align: middle;
	font-weight: bold;
	font-size: 12px;
	background-color: #393939;
	color: #fff;
	border: 1px solid #ccc;
}

a.button:active, button:active {
	border: 1px solid #000;
}

div#logo {
	float: left;
	padding-top: 30px;
	width: 170px;
}

div#logo h1 {
	margin-left: -9999px;
	padding: 10px;
}

p#forgot-password {
	float: right;
	margin-right: 30px;
}

div#authentication {
	float: right;
}

p#forgot-password-form input#email {
	width: 180px;
}

div#authentication a {
	color: #7c9c38;
}

div#authentication.logged-in {
	padding-top: 75px;
	height: 25px; /* TODO: baseline with div#logo bg */
	/* to line up with 'total summaries' */
	text-align: right;
	padding-right: 30px;	
	color: #a3a195;
}

div#authentication form {
	padding-top: 50px;
	height: 30px;
}

div#authentication form input {
	background-color: #222;
	color:#A5A497;
	padding: 5px;
	width: 100px;
	margin-left: 5px;
	border: none;
}

input#remember_me {
	width: 20px !important;
}

div#remember-me-container {
	margin: 5px 0;
	color: #A5A497;
}

div#authentication form input.submit {
	padding: 3px;	/* text is 16, so 19 total like the login, and password */
	background-color: #aacc45;
	color: #342313;
	margin-right: 30px;
}

div#navigation {
	height: 50px;
	padding: 0 30px;
	background-color: #e2e0d3;
	position: relative;
}

div#navigation ul {
	list-style: none;
}

div#navigation ul li {
	float: left;
	padding-top: 10px;
}

div#navigation ul li a {
	display: block;
	line-height: 40px;
	padding: 0 20px 0 35px;
	margin-right: 14px;
	background-color: #fff;
	color: #6b6b6b;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 1px;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-top-left-radius: 8px;

}

div#navigation ul li a:hover {
	text-decoration: underline;
}

div#navigation ul li a.active {
	color: #217029;
	font-weight: bold;
}

/* @group navigation link icons */

div#navigation ul li a#home-link.active, div#navigation ul li a#home-link:hover {
	background: #fff url(../images/house.png) no-repeat 13px center;
}

div#navigation ul li a#home-link {
	background: #fff url(../images/house_inactive.png) no-repeat 13px center;
}

div#navigation ul li a#spending-link.active, div#navigation ul li a#spending-link:hover {
	background: #fff url(../images/chart_bar.png) no-repeat 13px center;
}

div#navigation ul li a#spending-link {
	background: #fff url(../images/chart_bar_inactive.png) no-repeat 13px center;
}

div#navigation ul li a#locations-link.active, div#navigation ul li a#locations-link:hover {
	background: #fff url(../images/map.png) no-repeat 13px center;
}

div#navigation ul li a#locations-link {
	background: #fff url(../images/map_inactive.png) no-repeat 13px center;
}

div#navigation ul li a#search-link.active, div#navigation ul li a#search-link:hover {
	background: #fff url(../images/find.png) no-repeat 13px center;
}

div#navigation ul li a#search-link {
	background: #fff url(../images/find_inactive.png) no-repeat 13px center;
}

div#navigation ul li a#preferences-link.active, div#navigation ul li a#preferences-link:hover {
	background: #fff url(../images/user_edit.png) no-repeat 13px center;
}

div#navigation ul li a#preferences-link {
	background: #fff url(../images/user_edit_inactive.png) no-repeat 13px center;
}

div#navigation ul li a#help-link.active, div#navigation ul li a#help-link:hover {
	background: #fff url(../images/help.png) no-repeat 13px center;
}

div#navigation ul li a#help-link {
	background: #fff url(../images/help_inactive.png) no-repeat 13px center;
}

/* @end */

div#content {
	padding: 20px 30px;
	max-width: 800px;
	min-width: 400px;
	height: 80%;
}

div#flash_messages {
	position: relative;
	text-align: center;
	padding: 16px;
	margin-bottom: 10px;
	background-color: #f9ffa9;
	border: 1px solid #fdb9aa;
	font-size: 13px;
}

a#flash-messages-close {
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 10px 0 23px;
	line-height: 30px;
	background: url(../images/cross.png) no-repeat 5px center;
	color: #4b70b4;

}

div.pagination {
	width: 100%;
	height: 35px;
}

div.pagination a, div.pagination span, span.pagination, a.pagination {
	display: block;
	float: left;
	font-size: 10px;
	font-weight: bold;
	padding: 10px 15px;	
	margin-right: 5px;
	border: 1px solid #ccc;
	text-decoration: none;
}

div.pagination a:hover, a.pagination:hover {
	text-decoration: underline;
	background-color: #d7e3f7;
}

span.current, a.current {
	background-color: #f9ffa9;
}

div#site-info {
	padding: 20px 30px;
	height: 60px;
	margin-top: 40px;
	clear: both;
}

div#site-info * {
	color: #343434;
}

p#whatcodecraves-home {
	float:right;
}

p#whatcodecraves-home a {
	color: #771321;
	font-weight: bold;
}

div.item-edit-hover-help {
    position: absolute;
    top: 0;
    right: 100%;
    width: 100px;
    text-align: right;
    font-size: 10px;
}

/* @end */

/* @group sessions/new */

div#app-tour {
	margin-bottom: 30px;
}

div#app-tour ul li {
	/* the li's have overflow: hidden set by javascript */
	border: 1px solid #ccc;
	height: 300px;
	width: 680px;
}

div#app-tour ul li * {
	margin: 16px;
}

a.next-feature, a.prev-feature {
	margin: 16px 0 16px 16px !important;
	float: left !important;
	width: 120px;
}

div#app-tour div.description {
	width: 320px;
	float: left;
	margin: 30px;
}

span.item-example {
	margin: 0 !important;
	color: #2fa04a;
	font: bold 13px "Courier New", Courier, mono;
}

div#app-tour img {
	float: right;
	margin: 30px 16px 16px 0 !important;
}

div#app-details {
	width: 320px;
	margin-left: 16px;

}

div#app-details h1 {
	margin-bottom: 10px;
}

ul#features-list {
	margin-top: 10px;
	list-style: none;
}

ul#features-list li {
	margin: 20px 0;
	padding-left: 24px; /* for bg images */
}

ul#features-list li em {
	font-weight: bold;
	font-style: normal;
	display: block;
	margin-bottom: 3px;
}

	/* @group tour-images */
	
	ul#features-list li#tweet-like {
		background: url(../images/add.png) no-repeat 0 center;
	}
	
	ul#features-list li#in-place-editing {
		background: url(../images/pencil_go.png) no-repeat 0 center;
	}
	
	ul#features-list li#sms-input {
		background: url(../images/phone_sound.png) no-repeat 0 center;
	}
	
	ul#features-list li#quick-totals {
		background: url(../images/date.png) no-repeat 0 center;
	}
	
	ul#features-list li#spending-charts {
		background: url(../images/chart_bar.png) no-repeat 0 center;
	}
	/* @end tour-images */
/* @end sessions-new */

div#register-user {
	width: 260px;
	float: right;
	margin: 0 16px 0 50px;	
}

div#user-new-errors {
	margin: 8px 16px 0px;
}

button#signup {
	width: 100%;
}


/* @group items/index */

div.big-input {
	height: 45px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
}

div.big-input input.text-input {
	float: left;
	width: 550px;
	border: none;
	height: 25px;
	font-size: 18px;
	padding: 10px 0 7px 5px;
}

input.default-text {
	color: #ccc;	
}

button.text-input-submit {
	float: right;
	width: 100px;
	height: 45px;
	border: none;
	border-left: none;
	background-repeat: no-repeat;
	background-position: 16px center;
}

button#item-search-input {
	background-image: url(../images/zoom.png);
	background-position: 10px center;
}

button#item-submit-input {
	background-image: url(../images/add.png);
}

div h3 {
	font-size: 16px;
	line-height: 40px;	
	background-color: rgba(226,255,221,0.8);
	margin-bottom: 10px;
}

div#items-list {
	width: 500px;
	margin-right: 30px;
}

div#items-list h3 {
	padding-left: 16px;
	letter-spacing: 1px;
	margin-top: 0;
}

#items-list ul.items-weekly li.items-daily {
	list-style: none;
	margin-bottom: 20px;
	padding-bottom: 8px;
	border: 1px solid #ccc;
}

li.items-daily span.total {
  	color: #aaa;
}

#items-list p.item {
	padding-left: 16px;
	line-height: 24px;
	font-size: 13px;
}

div.in-place-editor-container {
	padding: 16px;
	background-color: #f8feca;	
}

div.in-place-editor-container form {
	padding: 8px 0;
}

div.in-place-editor-container form input {
	width: 460px;
	border: 1px solid #ccc;
	line-height: 18px;
}

div.in-place-editor-buttons-container {	
	display: inline;
}

div.in-place-editor-buttons-container button {
	display: inline;
	margin-right: 8px;
	width: 70px;
	font-size: 10px;
	font-weight: normal;
}


p.item .formatted-time {
  	color: #aaa;
 	font-size: 10px;
}

a.more-less {
	display: block;
	margin: 8px 0px -8px 0;
	padding: 6px 0;
	text-align: center;
	height: 18px;
	background-color: #eee;
}

#totals {
	float: right;
	width: 150px;
}

#totals h3 {
	margin-top: 0;
}

div.total-summary {
	margin-bottom: 20px;
	border: 1px solid #ccc;
	text-align: center;
}

div.total-summary * {
	
}

div.total-summary h3 {

}

div.total-summary p {
	font-size: 14px;
	margin-bottom: 16px;
}



/* @end */


/* @group spending/summary */

p#no-items {
	line-height: 200px;
	text-align: center;
	font-size: 20px;
    border: 1px solid #ccc;
}

#items-date-picker {
	margin-bottom: 60px;
}

div#spending_chart {
	margin-left: -25px;
	margin-bottom: 20px;
}

div#calendar-navigation {
	width: 505px; /* extra 5 to be safe */
	height: 50px;
	text-align: center;
    margin-top: 16px;
}

div#calendar-navigation a {
	width: 131px;
}

div#calendar-navigation a#next-month {
	/* remove right margin to make it fit over the left col */
	margin-right: 0;
}

input#query {
    width: 100px;
    margin-bottom: 8px;
}

/* @end */

/* @group locations/index */

div#explanation {
	padding: 8px;
	border: 1px solid #ccc;
	background-color: #f9ffa9;
	margin: 8px 0;
}

#my-locations ul {
	list-style: none;
}

#my-locations ul li a {
	display: block;
	line-height: 26px;
	padding: 0 8px;
}

#my-locations ul li.even {
	background-color: #c0f1fe;
}

#my-locations ul li.odd {
	background-color: #f2fee1;
}

/* @end */


/* @group users/edit */

select#user_preference_carrier, select#user_preference_time_zone {
	display: block;
	width: 220px;
}

fieldset.preferences ol {
	float: left;
}

fieldset p.explanation {
	float: left;
	width: 300px;
	padding: 21px; /* 16 + 5 */
}

button#save-preferences {
	width: 130px;
}

/* @end */

/* @group help */
.help-section {
	margin-bottom: 30px;
}

.help-section p {
	width: 350px;
}
/* @end */
