/* reset! */
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, 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-color: #fff;
	color: #000;
}

del {
	text-decoration: line-through;
}

table {
	border: 1px solid #000;
	margin-left: auto;
	margin-right: auto;
}

td {
	border-top: 1px solid #000;
	border-right: 1px solid #888;
	border-bottom: 1px solid #888;
	border-left: 1px solid #000;
}

/* html5 stuff */
article, section, header, footer, nav {
	display: block;
}

/* default things */

body {
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	color :#000;
	line-height: 1.5;
	background-color: #fff;
}

p {
	margin: 1.15em auto;
}

ol, ul {
	margin: 0 0 1.25em 1.25em;
	padding: 0;
}

li {
	margin: 0;
	padding: .3em 0;
}

a {
	color: #000;
	text-decoration: none;
}

a img {
	border: 0;
}

/* highlight language differences */
body *[lang] {
	font-style: italic;
}

blockquote, q, p.quote {
	quotes: none;
	text-align :justify;
	margin-left: 3em; 
	margin-right: 3em;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

p.citation {
	text-align: right; 
	margin-right: 3em; 
}

li blockquote, li p.citation {
	font-size:inherit;
}

/* navigation and layout */

#wrapper {
	position:relative; 
}

#wrapper > .tiny {
	display: none;
}

#wrapper > header {
	display: block;
}

#wrapper > header nav {
	display: none;
}

#wrapper > aside, #wrapper > aside {
	display: none;
}

#content {
	display: block;
	padding: .75em 2em 1em 2em;
	word-wrap: break-word;
	background-color:#FFF;
}

#wrapper > footer {
	display: block;
	position: relative;
}

/* Messing with text */

h1 {
	font-size:1.5em; 
	color: #000;
	text-align:center; 
	line-height:1.5em;
	margin-bottom: .5em;
}

h2 {
	font-size:1.3em; 
	text-align:center; 
	line-height:1.2em;
	margin: .5em auto;
}

h3 {
	font-size:1.15em;
	font-weight: bold;
	margin: .5em auto;
}	

h4 {
	font-size: 1.1em;
	font-weight:bold;
	text-align:left;
}

h5 {
	font-weight:normal; 
	font-style:italic;
}

h6 {
	font-weight: normal;
}

.center {
	text-align:center;
	margin: inherit auto;
}

.right {
	text-align: right;
}

footer ul.tiny li {
	list-style-type: none;
	display: inline;
	margin: auto 2em;
}

.tiny {
	font-size: .65em;
	margin: 0;
	padding: 0;
}

.announcement {
	font-size: 1em;
	padding: 1em;
	border: 2px solid #000;
	text-align: center;
	font-weight: bold;
	margin-left: auto;
	margin-right: auto;
}

.apa {
	padding-left: 3em;
	text-indent: -3em;
}


/* various bits used on pages */

#search {
	font-size: .9em;
}

#search article {
	position: relative;
	margin: 1em;
	padding: .5em .5em .5em 3em;
	text-indent: -2.5em;
	border: 1px solid #000;
}

#search nav {
	border:2px solid #000;
	padding: .5em;
}

/* the right nav */
#search nav p {
	float: right;
	width: 50%;
	text-align: right;
	margin-top: 1em;
	padding-top: 0;
}

#search nav p+p {
	float: none; 
	margin-right: 50%;
	text-align: left;
}

#rotated {
	position :relative;
}

#rotated p strong {
	margin-left: 17em;
}

#rotated p span {
	position: absolute;
	width: 17em; 
	text-align: right;
}

/* redo these */
#atoz {
	margin: 1em auto; 
	font-weight: bold; 
	text-align: center; 
}

#atoz li {
	display: inline;
	line-height: 2em;
}

#atoz li a {
	padding: .25em .75em; 
	letter-spacing: normal;
	border: 2px solid #000;
	border-radius: 10px;
}

#faq ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#faq li {
	padding-bottom: 1em;
}

#faq ul li: first-letter {
	font-weight: bold;
	font-size: 1.1em;
}

#faq li+li {
	padding-left: 1.5em;
}

/*For lists inside FAQs*/
#faq ul li * li: first-letter {
	font-weight: inherit;
	color: inherit;
	background-color: inherit;
	font-size: inherit;
} 

#faq li * li+li {
	padding-left: 0;
}

ol.upper {
	list-style-type: upper-alpha;
}	

ol.lower {
	list-style-type: lower-alpha;
}

ol.upperroman {
	list-style-type: upper-roman;
}

ol.lowerroman {
	list-style-type: lower-roman;
}

ul.space li, ol.space li, li.space {
	padding-bottom: 1em;
}

ul.space li li, ol.space li li, ul.space li p, ol.space li p, li.space p, ul.space li ul.example li {
	padding-bottom: 0;
	margin-bottom: 0;
}

ul.nav li {
	text-align: center;
	display: inline;
	font-size: .9em;
}

/* forms! */

#formwrapper {
	width: 95%;
	min-width: 440px;
}

#formwrapper form {
	border-top: 1px solid #000;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	border-left: 2px solid #000;
}

#formwrapper form label {
	width: 14em;
	float: left;
	font-size: .75em;
	margin: 0 .5em;
}

#formwrapper div.clearfix {
	border-top: 1px solid #000;
	padding: .3em 0;
	vertical-align: top;
}

#formwrapper div.clearfix p {
	font-size: .75em;
	margin: 0 .5em;
}

#formwrapper fieldset div.clearfix,#formwrapper fieldset+div.clearfix {
	border-top: 0;
}

input, select, textarea {
	border: 1px solid #000;
}

input, textarea {
	padding-left: .3em;
}

* html input, * html textarea {
	padding-left: 0;
}


#formwrapper div.buttongroup {
	float: left;
	border: 0;
	padding: 0;
}

#formwrapper div.buttongroup div.clearfix {
	border: 0;
	padding: 0;
}

#formwrapper div.buttongroup div {
	margin-bottom: .2em;
}

#formwrapper div.buttongroup input {
	margin-right: 3em;
}

#formwrapper div.buttongroup .clearfix {
	clear:both;
}

#formwrapper form .querywrapper label {
	width: auto;
	position: relative;
}

#formwrapper form .querywrapper {
	padding-left:  .5em;
	border-bottom: 1px solid #000;
	position: relative;
}

#formwrapper div.querywrapper div {
	position: absolute;
	top: 0;
	left: 1.5em;
	padding-top: 0;
	padding-bottom: 0;
	width: 20%;
	border-top: 0;
}

#formwrapper div.querywrapper div.query {
	left: 7em;
}

#formwrapper div.querywrapper  div.field {
	left: 23.5em;
}

#formwrapper div.querywrapper p {
	padding-top: 3em;
}

#formwrapper fieldset {
	display: block;
}

/*Aslett Clearing Method*/	
.clearfix: after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
