@charset "UTF-8";
/* CSS Document */

body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	background: url(/sleeptrainer/images/starrynight-nofade.jpg) repeat;
}
p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #2A1B73;
	line-height: 20px;
}
h1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 18px;
	line-height: 50px;
	font-weight: bold;
	color: #7BBF40;
}
.subnav {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #7777B7;
}
h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #443581;
}

h2 a {
	font-size:14px;
}

ol {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #2A1B73;
	line-height: 20px;
}
ul {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #2A1B73;
	line-height: 20px;
}
.subnav a{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #7777B7;
	text-decoration: none;
}
.subnav a:hover {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #7777B7;
	text-decoration: underline;
}
.main-table {
}
a {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #3A2E86;
}
table {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: normal;
	color: #2a1b73;
}
.main-table table {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: normal;
	color: #4842A4;
}
.photopad {
	padding: 20px;
}

/* end original GNST CSS */

.failed {
	background-color:#FFF;
	padding:15px;
	border: dashed 1px #FF8B3E;
}

label {
	/*width: 125px;*/
	display:block;
	font-size: 12px;
	color: #2A1B73;
	line-height: 20px;
	float:left;
}

fieldset legend {
	font-weight:bold;
}

div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	line-height:140%;
	font-weight: bold;
	margin: 1em 0;
}

div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
#RawDataDumpDateStart_cal {
	width: 198px;
}
#RawDataDumpDateStart_cal, #RawDataDumpDateStart_cal div {
	clear:both;
	margin-bottom:0em;
	padding:0em;
	vertical-align:text-top;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #900;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
}

div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}

p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}

p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}

.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}

.success {
	background: green; 
	color: #fff;
}

#authMessage {
	background:url(../img/icons/warning_48.png) 5px center;
	color:#FF8B3E;
	background-repeat:no-repeat;
	background-color:#FFF;
	border: dashed 1px #FF8B3E;
	padding: 5px 10px 0px 60px;
	height:55px;
}

#flashMessage  {
	background:url(../img/icons/accepted_48.png) 5px center;
	background-repeat:no-repeat;
	background-color:#FFF;
	border: dashed 1px #FF8B3E;
	padding: 5px 10px 0px 60px;
	height:55px;
	vertical-align:middle;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

/* Debugging */
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}

pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}

div.cake-stack-trace {
	background: #fff;
	border: 4px dotted #ffcc00;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}

div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}

div.cake-stack-trace pre,div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}

div.cake-code-dump pre,div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}

div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}

div.code-coverage-results div.code-line {
	padding-left: 5px;
	display: block;
	margin-left: 10px;
}

div.code-coverage-results div.uncovered span.content {
	background: #ecc;
}

div.code-coverage-results div.covered span.content {
	background: #cec;
}

div.code-coverage-results div.ignored span.content {
	color: #aaa;
}

div.code-coverage-results span.line-num {
	color: #666;
	display: block;
	float: left;
	width: 20px;
	text-align: right;
	margin-right: 5px;
}

div.code-coverage-results span.line-num strong {
	color: #666;
}

div.code-coverage-results div.start {
	border: 1px solid #aaa;
	border-width: 1px 1px 0px 1px;
	margin-top: 30px;
	padding-top: 5px;
}

div.code-coverage-results div.end {
	border: 1px solid #aaa;
	border-width: 0px 1px 1px 1px;
	margin-bottom: 30px;
	padding-bottom: 5px;
}

div.code-coverage-results div.realstart {
	margin-top: 0px;
}

div.code-coverage-results p.note {
	color: #bbb;
	padding: 5px;
	margin: 5px 0 10px;
	font-size: 10px;
}

div.code-coverage-results span.result-bad {
	color: #a00;
}

div.code-coverage-results span.result-ok {
	color: #fa0;
}

div.code-coverage-results span.result-good {
	color: #0a0;
}	

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 80%;
}

fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}

fieldset legend {
	color: #7BBF40;
	font-size: 120%;
	font-weight: bold;
}

fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}

fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}

fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}

form div {
	clear: both;
	margin-bottom: 0em;
	padding: 0.5em;
	vertical-align: text-top;
}

form div.input {
	color: #444;
}

form div.required {
	color: #333;
	font-weight: bold;
}

form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 140px;
}

label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}

input,textarea {
	clear: both;
	font-size: 100%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif		;
	padding: 2px;
	width: 100%;
}

select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}

select[multiple=multiple] {
	width: 100%;
}

option {
	font-size: 120%;
	padding: 0 3px;
}

input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}

input[type=radio] {
	float: left;
	width: auto;
	margin: 0 3px 7px 0;
}

div.radio label {
	margin: 0 0 6px 20px;
}

input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* unitip css */

#unitip {
	position: absolute;
	z-index: 1000;
	top: -1000px;
	color: #fff;
	font: normal normal 1.1em/15px Verdana, Arial, Helvetica, sans-serif;
	display: none;
	font-size: 10px;
}

#unitippoint, #unitipmid, #unitipcap {
	position: relative;
	top: 0px; 
	left: 0px;
	width: 145px;
	display: block;
}

#unitippoint { 
	background: url(../img/TipPoint.png) no-repeat; 
	height: 19px; 
	overflow: hidden; 
}

#unitipmid { 
	background: url(../img/TipMid.png) repeat; 
	width: 115px;
	height: auto; 
	padding: 5px 15px;
}

#unitipcap { 
	background: url(../img/TipCap.png) no-repeat; 
	height: 7px; 
	overflow: hidden; 
}


/* Daily display view CSS */
.dv_base {
	float: left; height:20px;
	font-size:10px;
}

.dv_awake {
	background: url(../img/awake_repeat_bg.gif) repeat;
	height:57px; !important;
}

.dv_asleep {
	background: url(../img/asleep_repeat_bg.gif) repeat; 
	height:57px; !important;
}

.dv_cry {
	background: url(../img/cry_repeat_bg.gif) repeat; 
	height:57px; !important;
}

.dv_marker_up {
	border-left: solid 1px #FFD54C;
}

.dv_marker_down {
	border-left: solid 1px #7C68DF;
}

.dv_up {
	overflow:visible;
}

.dv_down {
	overflow:visible;
}

.dv_up span {
	position:relative;
	top:21px;
	left:-20px;
	background-color:#FFD54C; 
}

.dv_down span {
	position:relative;
	top:-16px;
	left:-20px;
	background-color:#7C68DF; 
	color:#FFF;
}

.up_down_color_line_base {
	font-family:Arial, Helvetica, sans-serif;
	height: 13px;
	margin: 0px 0px 0px -75px;
	font-size: 10px;
	font-weight:bold;
	padding:2px 0px 2px 10px;
}

.up_down_color_line_base span {
	padding:0;
	margin:0;
}

.woke_up {
	background-color:#FFD54C; 
}

.fell_asleep {
	margin-top:8px; 
	background-color:#7C68DF;
	color:#FFF;
}

.buffer {
	padding-left:50px;
	background-color:#0F0;
}

#key_container {
	float: right; padding:3px 10px 10px 10px; width: 150px; height:43px; border: solid 1px #7C68DF;
	font-size:10px;
	font-weight:bold;
}

#asleep_key {
	float:right;
	padding-top:8px;
	width: 70px; 
	height:22px; 
	background: url(../img/asleep_repeat_bg.gif) repeat;
	color:#FFF;
	text-align:center;
}

#woke_up_key {
	width: 70px;
	padding-top:8px;
	height:22px; 
	background: url(../img/awake_repeat_bg.gif) repeat;
	text-align:center;
}
.dv {
	float: left;
	width: 375px;
	text-align: center;
	margin: 27px 0px 0px 13px;
}

.dv p {
	font-size: 16px;
	line-height: 18px;
}
.clr {
	clear: both;
}
.dv_left {
	float: left;
	text-align: center;
	width: 175px;
	margin-top: 55px;
}
.dv_right {
	float: left;
	width: 140px;
	margin-top: 55px;
	text-align: right;
}
#dv_wrapper {
	background:url(../images/dv_background.jpg) 0px 63px no-repeat;
	height:800px;
	margin-top:-55px;
}
.dv_main_container {
	margin-left: 15px;
	margin-top: 14px;
}
.dv_tick_base {
}

#dv_buffer {
	height:0px;
}

#dv_buffer2 {
	height:50px;
}

#dv_duration_summary {
	width: 340px;
	margin-left: 183px;
	margin-top: 107px;
	font-size: smaller;
	font-weight: bold;
}

#dv_uptime{
	width: 103px;
	padding:0px 2px;
	float: left;
	text-align: center;
	margin-right: 7px;
}

#dv_crytime {
	width: 105px;
	padding:0px 2px;
	float: left;
	text-align: center;
	margin-right: 6px;
}

#dv_sleeptime {
	width: 104px;
	padding:0px 2px;
	float: left;
	text-align: center;
}

#infobox {
	width:700px;
	margin:0 auto;
	padding-top: 75px;
}

#infobox-top {
	background:url(../img/infobox-top.gif);
	height:10px;
}

#infobox-bottom {
	background:url(../img/infobox-bottom.gif);
	height:10px;
}

#infobox-content {
	padding: 5px 55px 25px;
	background:url(../img/infobox-repeat.gif);
}
/*  JS calendar styles */
input.calendar {
  width:250px;
}
button.calendar {
  background: url(calendar-icon.gif);
  border: 0;
  cursor: pointer;
  float: left;
  height: 20px;
  margin-right: 6px;
  width: 20px;
}
button.calendar:hover,
button.calendar.active {
  background-position: left bottom;
}

div.calendar {
	background: url(calendar.png);
	height: 195px;
	padding: 0 6px;
	text-align: center;
	width: 147px;
	float:left;
}	
	div.calendar * {
		margin: 0;
		padding: 0;
	}	
	div.calendar div {
		background: none !important;
		cursor: move;
		height: 185px;
		overflow: hidden;
		padding-top: 10px;
		position: relative;
		width: 147px;
	}	
	
	div.calendar caption {
		color: #333;
		font: normal 12px/16px Arial, Helvetica, sans-serif;
		padding-top: 6px;
		text-align: center;
		width: 100%;
	}
	div.calendar caption a {
		cursor: pointer;
		display: block;
		height: 12px;
		overflow: hidden;
		position: absolute;
		text-indent: -100px;
		top: 17px;
		width: 11px;
	}
	div.calendar caption a.prev {
		background-image: url(calendar-prev.gif);
		left: 0;
	}
	div.calendar caption a.next {
		background-image: url(calendar-next.gif);
		right: 0;
	}
	div.calendar caption a:hover {
		background-position: 0 12px;
	}
	div.calendar caption span {
		height: 25px;
		position: relative;
		text-align: center;
	}
	div.calendar caption span.month {
		padding-right: 8px;
	}
	div.calendar caption span.month:after {
		content: ',';
	}

	div.calendar table {
		background: #FFF;
		border: 0;
		border-collapse: collapse;
		border-spacing: 0;
		cursor: default;
		margin: 0 auto;
		overflow: hidden;
		width: 147px;
	}
	div.calendar td,
	div.calendar th {
		border: 0;
		color: #0597DB;
		font: normal 12px Arial, Helvetica, sans-serif;
		height: 21px;
		text-align: center;
		width: 21px;
	}
	div.calendar td {
		background: url(calendar-td.gif);
		color: #FFF;
		font-size: 11px;
	}
	div.calendar td.invalid {
		color: #999;
	}
	div.calendar td.valid {
		background: url(calendar-valid.gif);
		color: #0597DB;
		cursor: pointer;
	}
	div.calendar td.hilite {
		background: url(calendar-hilite.gif);
	}
	div.calendar td.inactive {
		background: url(calendar-td.gif) 0 100%;
		color: #FFF;
	}
	div.calendar td.active,
	div.calendar td.hover {
		background: url(calendar-valid.gif) 0 100%;
		color: #FFF;
		cursor: pointer;
	}
#RawDataDumpDateStart {
	float:left;
}
.rnd_left_sleep {
	position:relative;
	left:-18px;
	top:-4px;
	margin:-2px 0px -2px 0px;
}
.rnd_right_sleep {
	position:relative;
	top:-17px;
	left:8px;
	margin:-2px 0px -2px 0px;
}


.weekly_main {
	background-image:url(/sleeptrainer/images/weekly_view_bg.jpg);
	height: 49px;
}

#compare_container {
	height:358px;
	width:417px;
	background-image:url(/sleeptrainer/images/compare-bg.gif);
	background-repeat:no-repeat;
	padding:0px 0px 1px 73px;
	margin-left:10px;
}
.compare_main { 
	height: 341px;
	width: 37px;
	float:left;
	margin:7px 10px 0px 10px;
}

.compare_d {
	background-image:url(/sleeptrainer/images/compare-data-bg.jpg);
	background-color: #5A42C5;
	width: 37px;
}
.compare_nd {
	background-image:url(/sleeptrainer/images/compare-no-data-bg.gif);
	background-color:transparent;
	border-top: solid 1px #5A42C5;
	border-left: solid 1px #5A42C5;
	border-right: solid 1px #5A42C5;
	height: 289px;
}

#bracket {
	width:187px;
	position:relative;
	left:515px;
}

.compare_date {
	text-align:center;
	margin-top:9px;
}
