body {
  font-family: Helvetica, Arial, sans-serif;
  color: black;
  background-color: #f5f5f5;
  margin: 0;
}
h1, h2, h3 {
  font-family: Georgia, Times, serif;
}
a { text-decoration: none; }
a:link { color: #003c52; }
a:active, a:visited:active { color: #9966ff }
a:visited { color: #003c52; }
a:link:hover, a:hover:active, a:visited:hover { text-decoration: underline; }
#header a:link:hover, #header a:hover:active, #header a:visited:hover {
  text-decoration: none;
}
hr {
  width: 75%;
  clear: both;
  margin-top: 1.5em;
}
hr.hidden {
  display: none;
}
p {
  margin: 0.5em 0;
}
.added {
  font-style: italic;
}
.smaller {
  font-size: small;
}
.spacer {
  clear: both;
}

#top { display: none; }
#logged-in {
  padding: 0.5em 1% 0.5em 5%;
  width: 94%;
  background-color: #ddd;
  text-align: right;
  font-size: smaller;
}
#header, #safety {
  margin-top: 32px;
}
#linkbar, #body, #footer {
  min-width: 800px;
}
#header {
  width: 94%;
  margin-left: 5%;
}
#linkbar {
  font-weight: bold;
}
#linkbar ul {
  float: left;
  width: 65%;
  margin-left: 5%;
}
#linkbar div#search {
  float: right;
  width: 24%;
  margin-right: 1%;
}

#header h1, #body h2 {
  border-bottom: 2px solid black;
}
#header h1 {
  font-size: 24pt;
  line-height: 23px;
  font-weight: normal;
  color: #440077;
  margin: 0 0 2px;
  padding: 0 0 2px;
}
#header h1 a { color: #440077; }
#header h1 span#e {
  font-style: italic;
  font-weight: bold;
}
#header h1 img {
  border: none;
}
#header h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12pt;
  color: black;
  margin: 0;
  padding: 0;
}
#header h2 a { color: black; }

#linkbar {
  clear: both;
  margin: 32px 0;
  width: 100%;
  background-color: #440077;
  background-image: url(/images/header-bar.png);
  background-repeat: repeat;
  min-height: 24px;
  color: white;
}
#linkbar ul {
  float: left;
  margin: 0 0 0 5%;
  padding: 4px 0 0 0;
}
#linkbar ul li {
  display: inline;
  font-size: 16px;
  padding-left: 16px;
  background-image: url(/images/linksep.png);
  background-repeat: no-repeat;
  background-position: 0.13em 0.25em;
}
#linkbar ul li:first-child {
  padding-left: 0;
  background-image: none;
}
#linkbar ul li a {
  color: white;
}
#linkbar #submit {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-appearance: none;
  border: none;
  padding: 4px 0 0 0;
  margin: 0;
  color: white;
  background: none;
}

#body {
  margin: 0 1% 0 5%;
}
#body h2 {
  margin: 1.5em 0 0.4em; /* (p margin) * (12pt / 16pt) */
  font-size: 16pt;
}
#types {
  margin: 0 0 1.5em;
  font-weight: bold;
}

#sidebar {
  float: left;
  margin: 0 2.66% 1em -5.3%; /* x%/94% (to adjust for the margins on div#body) */
  padding: 0.25in 2.66% 0.25in 5.3%; /* x%/94% (to adjust for the margins on div#body) */
  background-color: #d7d0e6;
  width: 21.2%; /* x%/94% (to adjust for the margins on div#body) */
}
#sidebar ul {
  margin: 0;
  padding: 0;
  font-weight: bold;
}
#sidebar li {
  display: block;
}
#sidebar li.current {
  font-weight: bold;
}
#sidebar ul ul {
  font-weight: normal;
  padding-left: 1em;
}
#sidebar ul ul li {
  display: list-item;
}

#main {
  float: right;
  width: 73.5%;
  margin-left: -5.3%;
}

#footer {
  text-align: center;
}
#footer h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: medium;
}

div.morelinks {
  clear: both;
  background-color: #d7d0e6;
  text-align: center;
  font-weight: bold;
  padding: 0.25em 1em;
  margin-bottom: 1em;
}

.category-description, div.posted-item {
  margin: 0 0 18pt;
}
div.posted-item .title {
  margin: 0;
  font-weight: bold;
}
div.posted-item .author,
div.posted-item .date-added,
div.posted-item .event-location {
  font-size: 11pt;
}
div.posted-item .date-added {
  margin: 0;
  float: right;
  font-style: italic;
}
div.posted-item .description {
  clear: both;
}
div.posted-item .main-url {
  font-size: 11pt;
}

div.flash {
  font-style: italic;
  margin: 0 0 12pt;
  border-left: 1px solid black;
  padding-left: 1em;
}
div.flash em {
  font-style: normal;
}

ul#admin-categories {
  padding: 0;
}
ul#admin-categories li {
  list-style-type: none;
  margin: 0 0 0.5em;
}
ul#admin-categories li {
  margin-top: 0.5em;
}
ul#admin-categories li span.expand {
  font-weight: bold;
  border: 1px solid black;
  padding: 0 2px;
}
ul#admin-categories ul.subcategory {
  display: none;
}
ul#admin-categories li .name, .resource-admin .name {
  display: -moz-inline-box;
  display: inline-block;
  width: 400px;
  margin-right: 1em;
  padding-left: 1ex;
  text-indent: -1ex;
}
.resource-admin:hover {
  background-color: #ddd;
}
ul#admin-categories li .name, ul#admin-categories li .expand {
  cursor: pointer;
  cursor: hand;
}
ul#admin-categories li input.checkbox,
ul#admin-categories li label {
  float: none;
}

.tagline {
  font-style: italic;
}
.edit-link {
  font-size: smaller;
  margin-right: 1em;
}

.posted-item-detail {
  float: left;
  width: 70%;
}
.posted-item-admin .posted-item-edit-links {
  float: left;
  margin-left: 2em;
}
.posted-item-admin + div, .posted-item-admin + p {
  clear: both;
}

.pagination {
  text-align: center;
}

form label {
  text-align: right;
  width: 120px;
  padding-right: 12px;
}
form label, form input, form textarea, form button, form select {
  margin-bottom: 5px;
  float: left;
}
form #submit {
  margin-left: 132px;
  width: auto;
}
form .help {
  width: 300px;
}
form br {
  clear: both;
}
form .help {
  margin-left: 132px;
  margin-top: 0;
  font-size: smaller;
}
form input#session-remember-me, form label.wide {
  width: auto;
}

#recaptcha_widget_div {
  float: left;
}