html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;}
html,body { height: 100%; }
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}

em {
	font-style: italic;
}
.clearFix {
	clear: both;
	line-height: 0;
}

a.langSwitch { 
	float: left; 
	padding: 10px;
	font-weight: bold;
	font-size: 12pt;
	color: #9e005d;
}

a.langSwitch:visited {
	color: #6f0041;
}

body {
	background: #f8e3b3 url('../images/openbgfade.png') repeat-x;
	font: 12pt "Trebuchet MS", "Trebuchet", Arial, Helvetica, sans-serif;
}

div#content {
	width: 800px;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	background: #fff url('../images/flurrytopbg.png') repeat-x;
	margin: 0 auto;
	border-right: black 1px solid;
	border-left: black 1px solid;
}

div#content.simple {
	background: #fff url('../images/flurrytopsimplebg.png') repeat-x;
}

div#simpleLogo {
	float: right;
	margin-top: 20px;
	margin-right: 10px;
}

div#header {
	height: 175px;
}

div#searchBar {
	float: right;
	margin-top: 110px;
	text-align: center;
	padding: 15px;
}

div#searchBar.Main {
	margin: 0 auto;
	text-align: center;
	padding: 15px;
	float: none;
}

div#searchBar.simple {
	margin-top: 10px;
}

div#menuBar {
	display:none;
}

div#menuBar.simple {
	display: block;
	margin-top: 50px;
	margin-left: 30px;
	font-weight: bold;
}

div#menuBar a {
	text-decoration: none;
}

div#searchBar a {
	font-size: 8pt;
	padding-right: 8px;
	padding-left: 8px;
	letter-spacing: 1px;
}

div#searchBar #searchTxt {
	width: 220px;
	margin-right: 10px;
}

div#copyright {
	width: 400px;
	margin: 20px auto;
}

div#copyright div {
	text-align: center;
	padding-top: 5px;
	font-size: 8pt;
}

div#copyright img {
	float: left;
}

div#footspacer {
	height: 100px;
}

div#footer {
	clear: both;
	position: relative;
	z-index: 10;
	height: 77px;
	margin-top: -105px;
}

div#innerfooter {
	background: #0a3488 url('../images/footerbg.png') repeat-x;
	color:#fff;
	padding-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-weight: bold;
	font-size: 10pt;
	text-align: right;
}

div#innerfooter a {
	color:#fff;
}

h2, h3 {
	text-align: center;
	font-weight: bold;
	padding-right: 15px;
	padding-left: 15px;
}

h4 {
	font-style: italic;
	text-align: center;
}

h2 {
	font-size: 24pt;
	margin-bottom: 20px;
}

h3 {
	font-size: 18pt;
}

/* Main Page */
h1#mainAppliki {
	margin: 0 auto;
	width: 600px;
	text-align: center;
	margin-bottom: 25px;
	margin-top: 0px;
}

div#categories {
	width: 800px;
	text-align: center;
	margin: 0 auto;
	margin-top: 10px;
}

table.categoryButton {
	margin: 5px 5px;
	border-collapse: collapse;
	display: inline-table; 
}


table.categoryButton td {
	background: url('../images/categorybutton-leftbg.png') repeat-x;
	font-weight: bold; 
	font-size: 7pt;
	font-family: Verdana, 'Arial', 'Helvetica', sans-serif;
	text-align: center;
	padding-left: 7px;
	padding-top: 6px;
	vertical-align: top;
}
table.large td {
	padding-top: 10px;
}
table.categoryButton td + td {
	background-position: 50px 0px; 
	padding-top: 0;
	padding-left: 6px;
}

table.categoryButton td + td img {
	padding: 0;
	margin: 0;
}

table.categoryButton a {
	text-decoration: none;
}

div#categoryButtons {
	margin-top: 10px;
}

/* Search Results */

div.searchResultBox {
	border: solid 1px black;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin: 25px;
	padding: 30px 30px 15px 30px;
}

a.resourceLink {
	text-decoration: none;
	font-size: 14pt;
	letter-spacing: 1px;
}

div.searchResultBox div.elementals {
	float: right;
}

div.elementalBox {
	float: left;
	margin: 0 3px 3px 3px;
	font-size: 8pt;
	font-family: "Verdana", "Trebuchet MS", Arial, Helvetica, sans-serif;
	letter-spacing: 1px;
}

div.elementalColor {
	line-height: 0;
	height: 13px;
}

div.selected {
	font-weight: bold;
}

div.thumbnail {
	float: left;
}

img.thumbnail {
	border: solid 1px black;
	margin: 20px 30px 0 10px;
	width: 195px;
	height: 130px;
}

div.summary {
	margin: 15px;
	font-size: 10pt;
}

div.abstractsum {
	font-style: italic;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

div.filetypes {
	text-align: right;
}
div.filetypes img {
	margin: 5px;
}

a.button {
	padding-left: 5px;
	font-weight: bold; 
	font-size: 10pt;
	font-family: Verdana, 'Arial', 'Helvetica', sans-serif;
	text-decoration: none;
}

a.button img {
	vertical-align: middle;
	margin: 0;
	padding-left: 5px;
}

/* Resource Page */
div.resourceDetails {
	margin: 35px;
	padding: 25px 45px;
	background: #ebe9e9;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	font-size: 10pt;
}

div.resourceDetails h2 {
	position: relative;
	left: -10px;
	text-align: left;
	font-size: 20pt;
}

div.resourceDetails p + p {
	margin-top: 15px;
}

div.abstract {
	background: #fff;
	padding: 25px;
	border: solid 1px black;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin-bottom: 20px;
}

div.resourceDetails div.thumbnail {
	float: right;
	font-size: 8pt;
	font-style: italic;
	text-align: center;
}

div.resourceDetails div.elementals {
	margin-top: 15px;
	margin-left: 10px;
}

div.thumbnail img {
	border: solid 1px black;
}

div.buttons {
	text-align: center;
}

div.filename {
	font-weight: bold;
	font-style: italic;
	margin-bottom: 5px;
}

/* upload resource page */
.formerror {
	background: url('../images/action_stop.gif') no-repeat 6px 6px;
	float: right;
	font-style: italic;
	font-size: 9pt;
	width: 100px;
	border: solid 1px red;
	padding: 5px;
	padding-left: 25px;
	margin: 5px;
}
.formerrorabs {
	position: relative;
	left: 95px;
	top: -10px;
	width: 100px;
}

.contributeResource, .advancedSearch, .contactForm, .adminForm {
	width: 600px;
	margin: 0 auto;
}
.contributeResource label, .advancedSearch label, .contactForm label, .adminForm label {
	display: block;
	width: 200px;
	float: left;
}
.contributeResource label em, .advancedSearch label em, .contactForm label em, .adminForm label em {
	font-size: 7pt;
}

.contributeResource input[type='text'], .contributeResource select, .contributeResource textarea,
.advancedSearch input[type='text'], .advancedSearch select, .advancedSearch textarea,
.contactForm input[type='text'], .contactForm select, .contactForm textarea,
.adminForm input[type='text'], .adminForm select, .adminForm textarea
{
	width: 350px;
	margin-bottom: 15px;
}

.contributeResource textarea, .contactForm textarea, .adminForm textarea {
	height: 100px;
}

.contributeResource em, .advancedSearch em, .contactForm em, .adminForm em {
	font-size: 10pt;
	position: relative;
	top: -3px;
	left: 10px;
}

.recaptcha {
	width: 450px;
	margin: 20px auto;
}

.searchButtons {
	float: right;
}

div.noSearchResults {
	width: 600px;
	text-align: center;
	margin: 0 auto;
}

h3.errorMsg {
	padding: 5px;
	margin: 0 auto;
	
	text-align: center;
	margin-bottom: 30px;
	font-size: 14pt;
	background: #F99;
}

h3.success {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 5px;
	margin: 0 auto;
	
	text-align: center;
	margin-bottom: 30px;
	font-size: 14pt;
	background: #9F9;
}

/* Sponsor Page */
#links {
	margin: 0 auto;
	width: 650px;
	padding: 20px;
}
#links h4, h3 {
	text-align: left;
	font-weight: bold;
	margin-bottom: 2px;
}
#links a {
	text-decoration: none;
}
#links .details {
	padding-left: 10px;
	margin-bottom: 15px;
}

/* admin stuff */
#adminSearchResults {
	margin: 0 auto;
}

.adminSearchResult {
	padding: 5px;
}

.row0 {
	background: #fff;
}

.row1 {
	background: #feb;
}

.evButtons {
	float: right;
	padding-right: 5px;
}

.evButtons a {
	padding-left: 15px;
}

.evButtons .uAB {
	margin-left: 23px;
	margin-right: 12px;
}

.evButtons input[type='radio'] {
	margin-right: 22px;
	margin-left: 30px;
}

div.pagingBox {
	margin: 20px;
}

div.pagingBox a.page {
	border:1px solid #CC6622;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color:#CC6622;
	margin:2px;
	padding:2px 4px;
	text-decoration:none;
}

div.pagingBox span.current {
	border:1px solid #000000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color:#000000;
	font-weight:bold;
	margin:2px;
	padding:2px 4px;
}

div.pagingBox span.pages {
	border:1px solid #000000;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color:#000000;
	margin:2px;
	padding:2px 4px;
}

div.firstTime p {
	margin-bottom: 15px;
	font-size: 90%;
}

.TASPage {
	width: 650px;
	margin: 0 auto;
	font-size: 90%;
}

.TASPage p, .TASPage ul, .TASPage input, .TASPage h2, .TASPage h3, .TASPage h4  {
	margin-bottom: 10px;
}

.TASPage ul {
	margin-left: 25px;
}

.TASPage .choices {
	text-align: center;
}

label.keywordEditLabel {
	float: none;
}

div.keywordEdit {
	margin-left: 200px;
}

div.keywordEdit .keyword {
	width: 200px;
	float:left;
}

div.keywordEdit input[type="text"] {
	width: 35px;
	margin-right: 10px;
}

div.thankyou {
	width: 600px;
	margin: 0 auto;
}

div.thankyou p {
	margin-bottom: 15px;
	text-align: center;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #FEB;
	padding: 10px;
}

div.thankyou a {
	font-weight: bold;
}

div.thankyou p.thankYouParagraph {
	background: none;
	text-align: left;
}

div.jump {
	margin-left: 20px;
	font-size: 10pt;
}

