div#sponsor ul {
  text-align: left;
  margin: 0;
}

div#sponsor li {
  font-size: 90%;
  list-style-image: url("/+download/menu-leaf.png");
  list-style-type: square;
}

div#sponsor ul a {
  margin-bottom: 0;
}

ul.breadcrumb, div.pagination ul {
  list-style: none;
  padding-left: 0;
}

ul.breadcrumb li, div.pagination li {
  display: inline;
}

ul.breadcrumb li.disabled, div.pagination li.disabled {
  display: none;
}

div.category table {
  border-spacing: 2px;
}

div#forum td {
  padding: 0.5em 0.5em 0.5em 0.5em;
}

div#forum tr {
  display: table-row;
  vertical-align: inherit;
}

div#forum th {
  background-color: #fff;
}

div.category td, div.category th, div.forum td, div.forum th {
  border: none;
  display: table-cell;
  vertical-align: inherit;
}

div.posts td, div.posts th, div.poll td, div.poll th {
  border: none;
}

th.forum-name, th.topic-name, thead.post-header tr {
  text-align: left;
}

td.forum-name, td.topic-name {
  background-color: #eee;
}

td.forum-topic-count, td.topic-post-count {
  background-color: #ddd;
  text-align: center;
  width: 70px;
}

td.forum-post-count, td.topic-view-count {
  background-color: #eee;
  text-align: center;
  width: 70px;
}

td.forum-last-post, td.topic-last-post {
  background-color: #ddd;
  width: 180px;
}

table.category-table, table.topic-list {
  width: 100%;
}

table.post {
  border: 1px solid #abc;
  padding: .5em;
  margin-bottom: 1em;
  width: 100%;
}

table.post:target {
  border: 2px solid #000;
}

table#post-first {
  border: none;
}

tr.forum-row, tr.topic-row {
  padding: 0.1em 0.6em;
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  border-top: none;
  border-left: none;
  border-right: none;
}

div.forum-description {
  font-size: 0.9em;
  margin: 0.5em;
}

div#mark-all-as-read {
  margin-top: 1em;
}

td.post-content {
  vertical-align: top;
}

td.post-content pre {
  background-color: #eee;
  border: solid 1px #ddd;
  padding: 5px;
}

td.post-content pre code {
  background: none;
  font-size: 100%;
  border: none;
  padding: 0;
}

thead.post-header th {
  color: #999;
  font-size: 0.8em;
}

div.post-related, div.controls, div.post-controls, div.subscriber-list {
  margin-top: 1em;
}

div.post-related a, div.post-controls a {
  font-size: 0.8em;
}

div.post-signature {
  color: #ccc;
  margin-top: 15px;
  border-top: 1px dotted #ccc;
  display: block;
}

div.updated-message {
  font-size: 0.8em;
  font-style: italic;
}

div.row {
  margin: 1em;
}

#forum form {
  margin: 0.5rem;
  padding: calc(2 * 0.5rem) 0.5rem;
}

#forum form.privileges-edit ul {
  list-style-type: none;
}

#forum div.row label {
  float: left;
  text-align: right;
  margin-right: 15px;
  width: 150px;
}

#forum fieldset {
  border: none;
  margin: calc(0.5rem / 4);
  padding: 0.5rem;
}

#forum label {
  padding: calc(0.5rem / 2) 0.5rem;
}

div.form-control {
  margin: 1em;
}

.list-group {
  padding-left: 0;
  max-width: 200px;
  margin-bottom: 20px;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid #ddd;
}

.list-group-item:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: inherit;
  color: #333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

.topic-unread a, .forum-unread a {
  color: #000;
  font-weight: bold;
}
