/*
RESET STYLES
*/

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;
}

/* 
REPORT STYLES 
*/

body { 
	font-family: Helvetica, 'Helvetica Neue', Arial, Verdana, sans-serif; 
	padding-bottom: 6em;
}
form { 
	width: 100%; 
}
textarea { 
	-webkit-appearance: none;
	width: 90%; 
	padding: .25em 1.5%; 
	margin-left: 1%;
	margin-bottom: .7em;
	height: 2.5em; 
	font-size: 1.25em; 
	font-family: inherit;
	border: 1px solid #fff; 
	border-bottom: 1px solid #ddd;
	color: #575757; 
}
input[type="text"],
input[type="password"],
input[type="search"],
input[type="datetime-local"] {
	-webkit-appearance: none;
	width: 96%; 
	padding: .25em 2%; 
	font-size: 1.25em; 
	border: 1px solid #fff; 
	color: #575757; 
}
#show-password {
	margin: 1em 0;
}
[role="navigation"] {
	clear: both;
	display: block;
}
[role="navigation"] li,
.last-entry {
	display: block;
	color: #575757;
	padding: 1em 1%;
}
.last-entry {
	margin-top: 1em;
	line-height: 1.5em;
}

[role="navigation"] li {
	float: right;
	margin: 0 .5em;
}

[role="navigation"] a {
	text-decoration: none;
	color: #575757;

}
[role="navigation"] p {
	margin: .6em .5em;
	padding-right: .5em;
	color: #575757;

}
ol { 
	list-style-type: none; 
	padding: 0; 
	margin: 0;
}
strong {
	font-weight: bold;
}
h1 {
	font-size: 1.4em; 
	padding: .5em;
}
h1 { 
	text-align: center; 
	text-transform: uppercase; 
	display: block; 
	background-color: #4F8CCF;
	position: relative;
	border-bottom: 4px solid #D71093;
}
h1 a {
	text-decoration: none; 
	color: #fff; 
}
h2 {
	text-align: center;
	position: relative;
	background-color: #333;
	color: #fff;
}
form ol li {
	position: relative;
}
.clear-button {
    position:absolute;
    right: 0.625em; 
    bottom: 2.5em; 
    font-size: .8125em;  
    /*display:none;*/
	cursor:pointer;
    color:#fff;
    background-color: #dedede;
    text-decoration: none;
    padding: .4em .6em;
    -webkit-border-radius: 5em;
    border-radius: 5em;
 }
 #search-list .clear-button {
 	bottom: 1.15em;
 }
.clear-button:hover{
        color:#f52;
}

dl {
	margin-bottom: 1em;
	padding-bottom: 1em;
	
}

label,
dt { 
	font-weight: bold;
	padding: .5em 1% .2em; 
	display: block;
}
dt {
	color: #000;
	background-color: #44A0BC;
	margin: .5em 0;
	border-bottom: 4px solid #CC8B23;
}
input[type="submit"] { 
	-webkit-appearance: none;
	font-size: 1.2em; 
	display: block; 
	width: 49%; 
	margin: .3em 0; 
	padding: 1em 0; 
	border: none; 
	color: #fff;
	border-radius: 0; 
}
form.report input[type="submit"] {  
	background-color: #44A0BC; 
	float: left;  
}
form.sleep input[type="submit"]{ 
	background-color: #575757;
	float: right; 
}
form.delete input[type="submit"] {
	background-color: #D71093;
	float: right;
}

.message,
h2 {
	padding: 1em 2%;
}

.success {
	background-color: green;
	color: #fff;
}
.error {
	background-color: red;
	color: #fff;
}
.autocomplete {
	position: absolute;
	z-index: 100;
	width: 100%;
}
.autocomplete div {
	width: 100%;
	font-size: 1.1em;
	background-color: #eee;
	padding: .8em 5%;
	color: #575757;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}
#search {
	border-bottom: 1px solid #bbb;
}
dd {
	color: #000;
	background-color: #dedede;
	font-size: 1.25em;
	padding: .1em 1.5%;
	margin: .25em .5% 0;
	line-height: 150%;
	display: inline-block;
	border-radius: .2em;
}
dd:hover,
dd:focus {
	background-color: #bbb;
}
#prev-date,
#next-date {
	position: absolute;
	bottom: .4em;
}
#prev-date {
	left: 0;
}
#next-date {
	right: 0;
}

#merge-button {
	background-color: #575757;
}

#more-toggle {
	color: #44A0BC;
	margin: .8em 0;
	cursor: pointer;
	padding-left: 1%;
	font-size: 1.2em;
}

ul.items {
	list-style: none;
}
ul.items a {
	text-decoration: none;
}
.item-category {
	display: inline-block;
	color: #fff;
	padding: .25em .5em;
	font-size: .8125em;
	background-color: #44A0BC;
	margin: 0 .25em;
}

.item-name {
	color: #575757;
	display: block;
	font-size: 1.2em;
	padding: 0 .25em;
	margin: .8125em 0 0 0;
	line-height: 1.5em;
}
.frequency {
	display:inline-block;
	color:#888;
	font-size: .725em;
}

.edit-link {
	display:inline-block;
	float:right;
	margin-right:.5em;
	color: #888;
	font-size: .725em;
	text-decoration: none;
	font-weight: normal;
}

.month-chart li {
  width: 6%; 
  margin: 0 1%;
}

.day-chart li {
	width: 2%;
	margin: 0 .5%;
}
 
.timeline { 
  font-size: .8125em; 
  height: 6em;
  margin: 0 auto;
  width: 23.07692307692308em;
  margin-top: 1em;
}
.timeline li { 
  height: 4em;
  position: relative;
  float: left;
}
.timeline li a { 
   display: block;
   height: 100%;  
   text-decoration: none;
}
.timeline li .label { 
  display: block; 
  position: absolute; 
  bottom: -2em; 
  line-height: 2em;
  left: 0;
  width: 100%;
  text-align: center;
  color: #575757 !important;
}
.timeline li.year .label {
  -ms-transform: rotate(-90deg); /* IE 9 */
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  bottom: -3em;
}
.timeline li a .count { 
  display: block; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  text-indent: -9999px; 
  overflow: hidden;
  width: 100%; 
  height: 0;
  background: #AAA; 
}
.timeline li:hover {
	background: #efefef;
}
.timeline li a:hover .count {
	background: #44A0BC;
}
.day-chart li .label {
	text-indent: -9999px;

}
.day-chart li:nth-of-type(5n+0) .label {
	text-indent: 0px;
}
.totals {
	text-transform: uppercase;
	font-size: 1.8em;
	color: #44A0BC;
	text-align: center;
	margin: .5em 0;
}
