/* @group General styles */
/*
intial styles based on Harmonise v1.1 By Richard Rutter, altered by Natalie Downe <http://clearleft.com>
Resets styles then adds basic typographical styling
*/

/*
blue: #A90EDE
orange: #EFFF13
*/

/* @group Reset */

/* Based on http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

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,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

:focus {
	outline: 0;
}

/* tables may still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* @end */


body {
	padding: 0 2%;
	max-width: 61em; /* 1098px */
	margin: 0 auto;
	background: #fff;
	color:#333;
	font-family: "helvetica neue", arial, helvetica, sans-serif;
    font-size:16px;
    line-height:1.125em; /* Baseline grid of 18px */
}

a:link, button.link span {
	color: #A90EDE;
	text-decoration: underline;
}
a:visited {
	color: #A90EDE;
	text-decoration: underline;
}
a:hover, button.link:hover {
	color: #FFFFFF; 
	text-decoration: none;
	background-color: #A90EDE;
}
a:active, a:focus, button.link:focus span, button.link:hover span {
	color: #FFFFFF; 
	text-decoration: none; 
	background-color: #A90EDE; 
}

a.view:link,
a.view:visited,
a.view:hover,
a.view:focus,
a.view:visited {
	padding-left: 18px;
	background-image: url(../img/bullet_go.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin: 0 3px 0 2px;
}
a.download:link,
a.download:visited,
a.download:hover,
a.download:focus,
a.download:visited {
	padding-left: 18px;
	background-image: url(../img/bullet_disk.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin: 0 3px 0 2px;
}

a.feed:link,
a.feed:visited,
a.feed:hover,
a.feed:focus,
a.feed:visited {
	padding-left: 18px;
	background-image: url(../img/bullet_feed.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin: 0 3px 0 2px;
}
a.log-action:link,
a.log-action:visited,
a.log-action:hover,
a.log-action:focus,
a.log-action:visited {
	padding-left: 18px;
	background-image: url(../img/lock_go.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin: 0 3px 0 2px;
}
a.secure:link,
a.secure:visited,
a.secure:hover,
a.secure:focus,
a.secure:visited,
.secure {
	padding-left: 18px;
	background-image: url(../img/lock.png);
	background-repeat: no-repeat;
	background-position: left center;
	margin: 0 3px 0 2px;
}

/* @group Font sizes */



/* deal with likely (but certainly not all) inherited shrinkage */

ul p, ol p, table p, dl p, ul ul, ol ol, ul ol, ol ul, address p, form div div, form div p, fieldset div, table form div {
	font-size: 1em;
}

/* size headings using classic scale of 14, 16, 18, (21), 24 */

h1 {
	font-size: 1.5em;   /* 24px */
	line-height: 1.125em;  /* 27px */
}
h2 { font-size: 1.125em;   /* 18px */ }
h3 { font-size: 1.0em;     /* 16px */ }
h4 { font-size: 0.875em;   /* 14px */ }
h5, h6 { font-size: 0.8125em;  /* 13px */ }

/* @end */

/* @group Margins */

p, ul, ol, dl, address, table, blockquote, pre, fieldset {
	margin-bottom: 1.385em; /* 18px */
}

form {
	margin-bottom: 1.125em; /* 18px */
}

h1 {
	margin-top:1.125em;	   /* 27px */
	margin-bottom: 0.75em; /* 18px */
}

h2 {
	margin-top:1.5em;	   /* 27px */
	margin-bottom: 0.5em;  /* 9px */	
	color: #EFFF13;
}

h3 {
	margin-top:1.6875em;     /* 27px */
	margin-bottom: 0.5625em; /* 9px */	
}

h4 {
	margin-top:1.286em;	   /* 18px */
	margin-bottom: 0.643em; /* 9px */
}

ul ul, ol ol, ol ul, ul ol {
	margin-bottom: 0;
}

/* @end */

/* @group Lists */

.prose ul, ul.bullets, ul.bullets ul {	/* unordered lists more often DON'T require bullets except in extended bits of writing - use the .prose class or apply directly with .bullets */
	list-style-type: disc;
	margin-left: 1.385em; /* 18px */
}

ol {	/* ordered lists usually DO require bullets */
	list-style-type: decimal;
	margin-left: 2.077em; /* 27px */
}

dt {
	font-weight: bold;
	margin-top: 1.385em; /* 18px */
}

/* @end */

/* @group Tables */

table {
	border-bottom: 1px solid #666;
}

caption {
	font-weight: bold;
	padding-bottom: 0.643em; /* 9px */
	font-size:1.077em; /* 14px */
}

thead th {
	border-top: 1px solid #666;
	border-bottom: 3px solid #666;
	padding-top: 0;
	padding-bottom: 0.692em; /* 9px */
}

tbody {
	border-top: 3px solid #666;	/* not rendered in IE6/7 */
}

tbody tr th, tbody tr td {
	border-top: 1px solid #ddd;
}

th, td {
	text-align: left;
	padding: 0.385em 0.692em 0.308em 0.692em; /* 5px 9px 4px 9px */
}

/* @end */

/* @group Blockquotes */

blockquote {
	font-style: italic;
	margin-left: 1.385em; /* 18px */
	margin-right: 1.385em; /* 18px */
}

blockquote cite, blockquote em {
	font-style: normal;
}

/* @end */



/* @group Forms */

/* @group Containers */

form .container {
	margin-bottom: 1.385em; /* 18px */
}


/* @group Fieldsets */

fieldset {
	border: 1px solid #ccc;
	padding: 0 1.385em 0.692em 1.385em; /* 9px 18px 0 18px */
}

legend {
	font-weight: bold;
}

form fieldset .container {
	margin-top: 1.385em; /* 18px */
	margin-bottom:0;
	position: relative;
	top: -0.692em; /* fudge to deal with IE fieldset margin/padding */
}

/* @end */

/* @end */

/* @group Labels */

label {
	font-weight: bold;
	cursor: pointer;
}

.meta-label {
	font-weight: bold;
	margin-bottom: 0;
}

.radio-container label, 
.checkbox-container label {
	display: block;
}

.compact label {
	display: inline;
}

p.help {
	margin-top: 0;
}

/* @end */

/* @group Meta */

form .help {
	display: block;
	color: #777;
	font-style: normal;
	font-size: 0.846em; /* 11px */
}

/* @end */

/* @group Form controls */

input, textarea, select, button {
	font-family: inherit;
	font-size: 1em;
}

textarea, input[type='text'], 
input[type='password'], select {
	border-width: 1px;
	border-style: solid;
	border-top-color: #999;
	border-left-color: #999;
	border-bottom-color: #ccc;
	border-right-color: #ccc;
	padding: 0 1px 1px 1px;
}

textarea:focus, input[type='text']:focus, 
input[type='password']:focus, select:focus {
	border-color: #888;
}

input.short {
	width: 4em;
}

input.medium, textarea.medium {
	width: 12em;
}

input.long, textarea.long {
	width: 30em;
}

textarea {
	width: 99%;
	display: block;
	color: black;
	padding: 0.5em 0.5em 0.4em 0.5em;
	line-height: 1.3;
	font-family: monospace;}

.button-container input {
	font-weight: bold;
}
button {
	background-color: #A90EDE;
	color: white;
	font-weight: bold;
	border-color: #A90EDE;
	border-width: 2px;
	margin-top: 2em;
}

.button-container input.cancel {
	font-weight: normal;
}

button.link {
	border: 0;
	padding: 0;
	background-color: #fff;
	font-weight: normal;
	cursor: pointer;
	width: auto;
	overflow: visible;
}

/* accessability feature, resize check and radio inputs */
.radio-container input, 
.checkbox-container input,
input.checkbox,
input.radio {
	width: 1em;
	height: 1em;
}

/* @end */

/* @end */

/* @group Other styling */

address {
	font-style: normal;
}

pre, code, kbd, tt, samp, tt {
	font-family: "andale mono", monospace;
}
code, samp {
	color: black;
	padding: 0 0.3em;
	background-color: #C0D9E8;
}

ins {
	text-decoration: underline;
}

del {
	text-decoration: line-through;
}

/* @end */

/* @end */

/* @group Helper styles */

/* @group User */

img.photo {
	border:1px solid #A90EDE;
	width: 100%;
	padding: 1px;
}

/* @end */

/* @group User */

.userid {
	color: #A90EDE;
	font-weight: bold;
}

/* @end */

/* @group Validation */

.ok {
	color: #A90EDE;
	font-weight: bold;
}
.taken,
.invalid {
	color: #CC6611;
	font-weight: bold;
}
span.ok, 
span.taken,
span.invalid {
	margin-left: 1em;
	font-size: 0.8em;
}
span.loading {
	background-image: url(/img/loading-15x15.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 4px 0 4px 18px;
	margin-left: 1em;
}
p.error {
	margin: 0 0 0.8em 0;
	border:1px solid #CC6611;
	background-color: #FFF1BD;
	padding: 0.5em 1em 0.6em 35px;
	background-image: url(/img/exclamation.png);
	background-repeat: no-repeat;
	background-position: 10px center;
}
p.notice {
	margin: 0 0 0.8em 0;
	color: #186696;
	border:1px solid #A90EDE;
	background-color: #C0D9E8;
	padding: 0.5em 1em 0.6em 35px;
	background-image: url(/img/information.png);
	background-repeat: no-repeat;
	background-position: 10px center;
}

/* @end */

/* @group chart */

.chart-container {
	position: relative;
	padding-bottom: 25px;
	text-align: center;
	padding-left: 25px;
}

.chart-container .width,
.chart-container .height {
	display: inline;
	max-width: 100%;
}
.chart-container .frequency {
	position: absolute;
	top: 50%;
	margin-top: -69px;
	left: 0;
	max-height: 100%;
}

#primary img.chart {
	width: 100%;
}
img.chart {
	margin: 0 0 2em 0;
}
.chart-container img.chart {
	margin: 0;
}
#tooltip {
	position: absolute;
	top: 50px;
	display: inline;
	margin: 0;
	left: 100px;
	font-size: 0.7em;
	border: 1px solid #A90EDE;
	background-color: #C0D9E8;
	padding: 0.2em 0.5em 0.3em 0.5em;
}
/* @end */

/* @group Copy paste form */

form.copypaste,
form.copypaste div,
form.copypaste textarea {
	margin: 0;
	padding: 0;
}
form.copypaste textarea {
	background-color: #C0D9E8;
	color: black;
	padding: 1em 0.5em 0.4em 0.5em;
	border: none;
	border-top: 1px solid #A90EDE;
	border-bottom: 1px solid #A90EDE;	
	margin-bottom: 1em;
	line-height: 1.3;
	overflow: visible;
	font-family: monospace;
	font-size: 0.8em;
}

/* @end */

/* @group introduction */

.intro {
	font-size: 1.5em;
}
.intro strong,
.intro em {
	color: #A90EDE;
}

/* @end */
/* @end */

/* @group Page structure */

/* @group Header */

#header {
	border-bottom: 1em solid #EFFF13;
}
#header h1 {
	color: #A90EDE;
	font-size: 5em;
	margin: 1em 0 0.3em 0;
}

/* @end */

/* @group Content */

#content {
	width: 100%;
	overflow: hidden;
	padding: 2em 0;
}
#primary {
	margin: 0;
	padding: 0;
	width: 60%;
	float: left;
	position: relative;
	line-height: 1.3;
}
#secondary {
	width: 25%;
	float: right;
}
#secondary ul.nav {
	font-size: 1.5em;
	line-height: 1.3;
}
ul.nav li {
	margin-bottom: 0.655em;
}
ul.nav li a:link,
ul.nav li a:visited,
ul.nav li a:hover,
ul.nav li a:focus,
ul.nav li a:active {
	text-decoration: none;
	padding: 0 0.2em;
}
#stats ul.nav li.stats a:link,
#stats ul.nav li.stats a:visited,
#stats ul.nav li.stats a:hover,
#stats ul.nav li.stats a:focus,
#stats ul.nav li.stats a:active,

#setup ul.nav li.setup a:link,
#setup ul.nav li.setup a:visited,
#setup ul.nav li.setup a:hover,
#setup ul.nav li.setup a:focus,
#setup ul.nav li.setup a:active,

#about ul.nav li.about a:link,
#about ul.nav li.about a:visited,
#about ul.nav li.about a:hover,
#about ul.nav li.about a:focus,
#about ul.nav li.about a:active,

#colophon ul.nav li.colophon a:link,
#colophon ul.nav li.colophon a:visited,
#colophon ul.nav li.colophon a:hover,
#colophon ul.nav li.colophon a:focus,
#colophon ul.nav li.colophon a:active {
	color: white;
	background-color: #A90EDE;
}

/* @end */

/* @group Footer */

#footer {
	clear: both;
	border-top: 0.5em solid #EFFF13;
	color: #A90EDE;
}
#footer p {
	margin: 1em 0 3em 0;
	font-weight: bold;
	border: 1px solid white;
}
/* @end */

/* @end */

/* @group Overrides */

/* @end */

