* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lucida Grande', verdana, arial, sans-serif;
}

div#maincontent {
  padding-top: 1em;
}

a {
  color: #ac5519;
  -webkit-tap-highlight-color: rgba(165,161,98,0.4);
}

a:visited { color: #734f37; }
a:active, a:hover { text-decoration: underline; }

a.external {
  background: url("https://london.randomness.org.uk/static/images/external-link-brown.png") no-repeat scroll right center transparent;
  padding-right: 13px;
}

a.photo:before {
  content: "[";
}

a.photo:after {
  content: "]";
}

div#redirect_message {
  display: none;
}

h3 {
  margin-top: 1.5em;
  margin-bottom: 1em;
}

h4 {
  margin-top: 1.5em;
  margin-bottom: -0.5em;
}

hr {
  margin-top: 1em;
}

/* Summary bar - which we actually use as more of a status bar */
div#summary {
  margin-left: -0.5em;
  padding-left: 0.5em;
  padding-top: 6px;
  background: #A5A162 url('https://london.randomness.org.uk/static/images/summary_bar.jpg') top left;
  color: #000000;
  height: 25px; /* Yes yes I know but there's an image to line up with. */
}

div.summary_bar_link {
  float: right;
  padding: 0 0.6em;
}

#banner div.summary_bar_link a {
  color: #000000;
}

#banner div.summary_bar_link a:hover, #banner div.summary_bar_link a:active {
  text-decoration: underline;
}

div.summary_bar_username {
  float: left;
  font-size: 0.8em;
}

/* Forms */

.label { /* Labels for form elements */
  font-weight: bold;
}

input.form_button, div.cancel_edit a { /* form buttons */
  font-weight: bold;
  font-size: 0.9em;
  color: #FCF8E3;
  background: #595A38;
  border: 1px solid #3A3B22;
}

select option {
  padding-left: 0.2em;
}

div#body_wrapper {
  background: #f2e9bc;
}

div#banner {
  background: #595a38;
}

div#banner a {
  text-decoration: none;
  color: #f1c969;
}

ul#general_metadata li, ul#categories_and_locales li, div#navbar div ul li {
  list-style: none;
}

div#create_new_page {
  padding-top: 2em;
}

div.disallowed_characters_note {
  padding-top: 1em;
}

form#preferences_form div.set_username h2 {
  padding-bottom: 0.5em;
}

form#preferences_form {
  padding-bottom: 2em;
}

form#preferences_form input#submit {
  margin-top: 1em;
}

div#search_results {
  padding: 1em;
}

div#search_results li {
  padding-bottom: 0.5em;
}

table.category_search_results {
  margin-top: 1em;
  font-size: 0.9em;
}

table.category_search_results td {
  padding: 0.5em;
  padding-right: 0.5em;
}

/* Foodsearch and pubsearch */
form#pubsearch, form#foodsearch {
  margin-top: 1.5em;
}

div.criteria_search_group label {
  display: block;
  float: left;
  width: 25%;
}

div.criteria_search_box {
  float: right;
  width: 75%;
}

div.criteria_search_checkbox_group {
  display: table;
}

div.criteria_search_checkbox, div.criteria_search_checkbox_group label {
  display: table-cell;
  padding: 0.15em 0.25em;
}

div.criteria_search_group, div.criteria_search_checkbox_group {
  clear: both;
}

div.criteria_category {
  clear: both;
  padding-top: 1em;
}

div.criteria_category_header {
  font-weight: bold;
}

div#vegan_friendly_group, div#food_style_group {
  padding-top: 1em;
}

div.criteria_search_submit {
  clear: both;
  padding-top: 1em;
}

dl.criteria_search_results dt {
  margin-left: 2em;
}

dl.criteria_search_results dd {
  font-style: italic;
  font-size: 0.9em;
  margin-left: 3em;
}

/* Individual nodes */

h2.node_name {
  color: #A0410D;
  font-style: italic;
  font-size: 1.2em;
  padding-top: 0.5em;
  margin-bottom: 0.2em;
}

img#node_image {
  border: thin solid black;
}

div#node_map_canvas {
  width: 240px;
  height: 180px;
  border: thin solid black;
  margin-top: 1em;
}

div.last_verified {
  padding-top: 1em;
}

div.old_info {
  clear: both;
  padding: 0.5em;
  margin-top: 2em;
  border: 1px dotted #595A38;
}

div.getting_here {
  margin-top: 2em;
}

details[open] summary::after {
    content: "Show less about " attr(name);
}

details:not([open]) summary::after {
    content: "Show more about " attr(name);
}

/* Front page - featured article */
div#featured_article {
  width: 240px;
  border: 1px dotted #595A38;
}

div#featured_article_header {
  background: #F1C969;
  text-align: center;
  font-weight: bold;
  padding: 0.2em;
  border-bottom: 1px dotted #595A38;
}

img#featured_article_image {
  border-bottom: 1px dotted #595A38;
}

div#featured_article_image_copyright {
  text-align: right;
  font-size: 0.6em;
  padding: 0.2em 0.4em 0 0;
}

div#featured_article_blurb {
  text-align: center;
  padding: 0.5em;
  font-size: 0.8em;
}

#featured_article_title {
  display: inline;
  font-weight: bold;
}

/* Locale pages - neighbouring postcodes/locales grid */
div.neighbouring_postcodes_grid {
  font-size: 0.8em;
  clear: right;
  float: right;
  text-align: right;
  margin-top: 1.5em;
  margin-left: 1em;
  margin-bottom: 1em;
}

div.neighbouring_postcodes_grid table td {
  border:1px dotted #595A38;
  padding: 0.3em;
  text-align: center;
}

/* Locale/category blurbs */

p.blurb_control {
  font-size: 0.8em;
}

/* Locale/category indexes */
ol.index_node_list {
  padding-left: 2em;
  line-height: 1.5em;
}

/* Edit form. */

h1.edit_form_title {
  padding: 0.5em;
  text-align: center;
  font-size: 1.5em;
}

div.edit_form_actions {
  text-align: center;
  padding: 0.5em 0 2em 0;
}

div.edit_form_actions div.cancel_edit a, div.preview_actions div.cancel_edit a {
  padding: 0.1em 0.4em;
  text-decoration: none;
}

div.edit_form_actions div.preview_edit {
  float: left;
  width: 33%;
}

div.edit_form_actions div.cancel_edit {
  float: left;
  width: 33%;
}

div.edit_form_actions div.commit_edit {
  float: right;
  width: 33%;
}

form#edit_page_form {
  margin-left: -0.9em;
}

form#edit_page_form fieldset {
  padding-left: 0.5em;
  padding-bottom: 0.5em;
}

fieldset legend {
  font-size: 0.9em;
}

form#edit_page_form fieldset#main_information {
  clear: both;
}

div.edit_form_group label {
  display: inline-block;
  padding-top: 0.5em;
  font-size: 0.8em;
  font-weight: bold;
}

div.edit_box textarea, input, select {
  border: 1px solid #000000;
}

div.edit_box textarea, div.edit_box input {
  width: 98%;
  padding: 0.2em;
}

div#locales_group {
  float: left;
  width: 45%;
}

div#categories_group {
  float: right;
  width: 45%;
}

fieldset#additional_information {
  display: table;
}

fieldset#additional_information div.edit_form_group label {
  display: table-cell;
  width: 25%;
  padding-top: 0.3em;
}

fieldset#additional_information div.edit_form_group div.edit_box {
  display: table-cell;
  width: 100%;
}

div#summary_group, fieldset#additional_information div.edit_form_group {
  clear: both;
}

span.photo_note {
  font-size: 0.8em;
}

#maincontent.preview div#summary {
  background: #c9c885;
  margin-left: 0;
  font-size: 0.8em;
  font-style: italic;
  clear: both;
}

#maincontent.preview div#summary:before {
  content: "Summary: ";
}

#maincontent.preview h2 {
  text-align: center;
  padding-top: 1em;
  margin-bottom: 1em;
}

div.preview_actions div.cancel_edit {
  text-align: center;
  margin-top: -1em;
}

#maincontent.preview {
  background: #c9c885;
  margin-bottom: 1em;
  float: none;
  margin: auto;
  padding: 0.5em 1em 0.5em 1em;
}

#maincontent.preview p {
  line-height: 140%;
}

/* Page history and diffs */
table#version_diffs {
  margin-top: 1em;
}

.diff1 { /* before */
  background-color: #F7A8A8;
}

.diff2 { /* after */
  background-color: #C1F7A8;
}

/* News page */
div.view_older_news {
  margin-top: 1em;
  font-size: 0.8em;
}

div#news_items p {
  padding-top: 0.5em;
}

div.news_comment {
  text-align: right;
  font-size: 0.8em;
  padding-bottom: 0.5em;
  border-bottom: 1px dotted #595A38;
}

/* Things for the advanced search (search.cgi) */
form#advanced_search div.location_search div input {
  padding: 0.2em 0.4em;
  max-width: 6em;
}

form#advanced_search div.text_search input#search_upper {
  padding: 0.3em 0.5em;
  max-width: 20em;
}

/* Recent changes */

#recent_changes_feeds {
  display: none;
}

/* Navbar */

div.navbar_site_name {
  display: none;
}

/* This is the search form along the bottom of the page. */
div#search_form {
  display: none;
}

.hidden {
  display: none;
}

/* Admin stuff */
table.admin_home_list, table#needing_moderation, form#missing_metadata {
  margin-top: 1em;
}

form#missing_metadata div {
  margin-top: 0.5em;
}

@media (min-width: 550px) and (max-width: 799px) {
  div#node_map_and_image {
    display: flex;
    flex-direction: row;
  }

  div#node_image_box {
    order: 1;
    padding-right: 20px;
  }

  div#node_map_canvas {
    order: 2;
  }
}

@media (max-width: 799px) {
  p {
    padding: 1.2em 0 0 0;
  }

  body {
    background-color: #f2e9bc;
  }

  h1 {
    font-size: 110%;
  }

  h2 {
    font-size: 105%;
  }

  div#body_wrapper {
    margin-left: 1em;
    margin-right: 1em;
  }

  div#banner {
    padding: 1em;
    margin-left: -1em;
    margin-right: -1em;
  }

  a#banner_home_link {
    display: block;
    float: left;
    max-width: 85%;
    font-size: 90%;
    padding: 0em 0.3em 0.8em 0;
  }

  a#banner_navbar_link {
    display: block;
    float: right;
    font-size: 70%;
    padding: 0.3em;
  }

  /* Summary bar (status bar) */
  div#summary {
    clear: both;
    margin-left: -1em;
    margin-right: -1em;
    margin-bottom: -1em;
  }

  div.summary_bar_link {
    font-size: 0.8em;
  }

  /* Main content */
  div#maincontent_extra_wide {
    padding-top: 1em;
  }

  div#content {
    clear: both;
  }

  div#content_text {
    line-height: 1.5em;
  }

  div#content_text ul {
    padding: 1em 0 0 1em;
    line-height: 2em;
  }

  /* Pull up the first element of each list a little, since the preceding
     paragraph is likely a "heading" or "introduction" to the list (e.g. a
     list of nodes in this category, or a "see also" section). */
  div#content_text ul li:first-of-type {
    margin-top: -1em;
  }

  /* Make sure the metadata isn't squashed up against the map if no image. */
  span#node_no_image {
    display: inline-block;
    height: 0.5em;
  }

  div#node_location_search, div#navbar {
    border-top: thin solid black;
    margin-top: 1em;
    padding-top: 1em;
  }

  div#navbar div {
    float: left;
    padding-right: 1.5em;
    max-width: 45%;
  }

  div#navbar div#navbar_this_page, div#navbar div#navbar_search, div#navbar div.navbar_revision, div#navbar div.navbar_revision div#navbar_version {
    max-width: 100%;
  }

  input#nav_search {
    padding: 0.5em;
  }

  div#navbar_search input.form_button, div#find_within_distance input.form_button {
    padding: 0.5em;
  }

  div#find_within_distance select#distance {
    padding: 0.5em;
  }

  div#find_within_distance {
    padding-bottom: 0.5em;
  }

  div#navbar div ul {
    clear: both;
    padding-bottom: 1.5em;
  }

  div#navbar div ul li {
    padding-top: 0.6em;
    font-size: 90%;
  }

  div#maincontent {
    display: flex;
    flex-direction: column;
  }

  div#node_title {
    order: 1;
  }
  div#node_map_and_image {
    order: 2;
    margin: auto;
  }
  div#metadata {
    order: 3;
  }
  div#content_text {
    order: 4;
  }
  div#node_location_search {
    order: 5;
  }
  div#coordinates {
    order: 6;
  }

  /* We have this in the navbar, which is at the bottom anyway. */
  div#version {
    display: none;
  }

  div#title_edit_link {
    display: none;
  }

  img#node_image {
    display: block;
    margin-top: 0.75em;
    margin-bottom: 0.3em;
  }

  div#node_image_copyright {
    font-size: 70%;
    float: right;
  }

  ul#general_metadata li span.metadata_label {
    display: none;
  }

  li.telephone {
    float: left;
    padding-right: 0.3em;
  }
  li.fax {
    float: left;
  }
  li.telephone + li.fax:before {
    content: "/";
  }
  li.address {
    clear: both;
  }
  li.address span.adr {
    padding-right: 0.3em;
  }
  li.website_link, li.opening_hours {
    clear: both;
  }
  ul#categories_and_locales {
    clear: both;
    padding-top: 1em;
  }

  /* Locale pages - neighbouring postcodes/locales grid */
  div.neighbouring_postcodes_grid {
    float: none;
  }

  /* Front page - featured article */
  div#featured_article {
    margin: auto;
  }

  /* Footer */
  div#footer {
    font-size: 0.8em;
    padding-bottom: 1em;
  }

  /* Map and list index views */
  h2.map_index_header {
    font-size: 100%; /* Reduced chance of spilling over to two lines. */
  }

  form.index_nodes {
    padding: 0.5em 0;
  }

  form.index_nodes span.category_index, form.index_nodes span.locale_index {
    white-space: nowrap;
  }

  form.index_nodes select, form.index_nodes input {
    padding: 0.5em;
    margin: 0.3em 0;
  }

  ol.index_node_list {
    padding: 1em 0 0 1em;
    line-height: 2em;
  }

  div#map_index_node_list {
    background: #a5a162;
    height: 4em;
    overflow: auto;
    margin-bottom: 1em;
    padding: 1em 0 1em 1em;
  }

  div#map_index_node_list ul {
    list-style: none;
    line-height: 1.5em;
  }

  div#map_index_canvas {
    width: 100%;
    height: 450px;
  }

  /* Recent changes */
  h2.recentchanges_section_header {
    padding-top: 1em;
  }

  table.recentchanges_section td.recentchanges_node_name, table.recentchanges_section td.recentchanges_meta {
    padding-top: 1em;
  }

  td.recentchanges_node_name, td.recentchanges_meta {
    min-width: 8em;
    padding-right: 0.5em;
    vertical-align: top;
  }

  /* Page history and diffs */
  ul.node_history {
    list-style: none;
  }

  ul.node_history li { /* Need to separate the links */
    padding-top: 1.7em;
    line-height: 1.7em;
  }

  table#version_diffs {
    word-break: break-word;
  }

  table#version_diffs td.newer_version {
    padding-right: 0.5em;
  }

  table#version_diffs td.newer_version, table#version_diffs td.older_version {
    vertical-align: top;
  }

  /* User history */
  div#userstats {
    padding-top: 1em;
  }

  div#last_five_edits_by_user h2, div#rss_feeds_for_user h2 {
    padding: 1em 0;
  }

  div#userstats ul {
    list-style: none;
  }

  div#userstats li {
    padding-bottom: 1em;
  }

  /* Page deletion and moderation */
  div.confirm_deletion_text, div.confirm_moderation_text {
    padding-bottom: 1em;
  }

  form.confirm_deletion input, form.confirm_moderation input {
    padding: 0.5em;
  }

  form.confirm_deletion label, form.confirm_moderation label[for=password] {
    display: block;
    font-weight: bold;
    padding-bottom: 0.3em;
  }

  form.confirm_moderation label[for=moderation_flag] {
    font-weight: bold;
  }

  form.confirm_moderation label[for=password] {
    padding-top: 1em;
  }

  form.confirm_deletion, form.confirm_moderation {
    padding-bottom: 1em;
  }

  /* Page creation */

  div#create_new_page form input#pagename {
    max-width: 95%;
    padding: 0.5em;
    margin: 0.5em 0;
  }

  div#create_new_page form input#go {
    padding: 0.5em 1em;
  }

  /* Preferences */
  form#preferences_form div.set_username, form#preferences_form div.set_preferences {
    padding-top: 2em;
  }

  form#preferences_form div.set_username input {
    padding: 0.5em;
    margin: 0.5em 0;
  }

  form#preferences_form input#submit {
    padding: 0.5em;
  }

  ul#prefs_saved_extra_nav {
    padding: 1em;
  }

  ul#prefs_saved_extra_nav li {
    padding-top: 1em;
  }

  table#wanted_pages tbody tr td {
    padding-top: 1em;
    vertical-align: top;
  }

  table#wanted_pages tbody tr td#action {
    padding-top: 0.7em;
  }

  table#wanted_pages tbody tr td#action a {
    display: inline-block;
    padding-top: 0.3em;
  }

  div#backlink_search_results_list ul {
    padding: 1em;
    line-height: 2em;
  }

  /* Things for the advanced search (search.cgi) */
  form#advanced_search {
    line-height: 1.5em;
    padding: 1em 0;
  }
  form#advanced_search div.text_search input {
    max-width: 100%;
  }
  form#advanced_search input.form_button {
    padding: 0.5em 1em;
    float: right;
  }

  /* Edit form stuff. */
  form#edit_page_form div.edit_box textarea,
     form#edit_page_form div.edit_box input {
    width: 95%;
    padding: 0.5em;
  }

  fieldset {
    border: none;
  }

  fieldset legend {
    display: none;
  }

  div.edit_form_actions input.form_button, div.edit_form_actions div.cancel_edit a {
    display: inline-block;
    padding: 0.7em 0.1em; /* horizontal space can get tight here */
  }

  fieldset#openguides_information {
    clear: both;
    display: table;
    padding-top: 1em;
  }

  fieldset#openguides_information div.edit_form_group label,
      fieldset#openguides_information div.edit_box {
    display: table-cell;
    padding-right: 1em;
  }

  fieldset#additional_information div.edit_form_group div.edit_box {
    vertical-align: bottom;
    padding-bottom: 0.4em;
  }

  div.preview {
    clear: both;
  }
}

@media (min-width: 800px) {
  body {
    background-color: #656868;
  }

  #maincontent p {
    padding: 1em 0 0 0;
  }

  div#body_wrapper {
    margin-left: 5.65%;
    margin-right: 5.65%;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    border: thin solid black;
  }

  div#maincontent ul {
    padding: 1em 0 0 1em;
  }

  div#content_text {
    padding-left: 0.5em;
    line-height: 1.4em;
    max-width: 50em;
  }

  div#maincontent div#content_text ul {
    padding-left: 2.5em;
  }

  /* Searches */
  div.see_other_searches {
    text-align: right;
    font-size: 0.8em;
    margin-bottom: -1em;
  }

  form.index_nodes {
    padding: 1em 0;
  }

  div.category_search_example {
    font-size: 0.8em;
    padding-top: 1em;
    text-align: right;
  }

  /* Needs-a-photo search */
  div#total_photo_count_message {
    padding: 0.5em;
    margin-left: 1em;
    margin-bottom: 0.5em;
    background: #F1C969;
    float: right;
    width: 15%;
    font-size: 0.8em;
    border: 1px dotted #595A38;
  }

  form#criteria_form ul {
    margin-left: 1.5em;
  }

  /* Node page */
  div#title_edit_link {
    display: inline;
    font-size: 0.8em;
    padding-left: 0.5em;
  }

  div.last_verified, div.free_geodata, div.old_info, div.getting_here {
    font-size: 0.8em;
    line-height: 130%;
  }

  div.inline_hint {
    padding: 0.5em;
    margin-left: 1em;
    margin-bottom: 0.5em;
    float: right;
    width: 35%;
    font-size: 0.8em;
    border: 1px dotted #595A38;
  }

  /* Node page - metadata */

  div#metadata {
    font-size: 0.85em;
  }

  div#maincontent ul#general_metadata {
    margin-bottom: -1em;
  }

  div#metadata ul li span.metadata_label {
    font-style: italic;
  }

  /* Hanging indent. */
  div#metadata ul li {
    padding-left: 1em;
    text-indent: -1em;
  }

  /* Node page - location searches at bottom (nearest Tube etc) */
  #node_location_search {
    clear: both;
    background: #F1C969;
    padding: 0.8em 1em 1em 1em;
    margin: 1.5em 0 0.5em 0.5em;
    font-size: 0.8em;
    border: 1px dotted #3A3B22;
  }

  #node_location_search select {
    background: #F2E9BC;
    border: 1px solid #58078E;
  }

  span#nearby_tube_text, span#nearby_tube_results {
    display: block;
    float: left;
  }

  span#nearby_tube_results span {
    padding-left: 0.5em;
    width: 20em;
  }

  div#walkit_link, div#gmaps_link {
    display: inline;
  }

  /* Node page - info at very bottom */
  #coordinates { /* Coords at the bottom of the node content */
    font-size: 0.7em;
    padding-top: 0.4em;
    margin-left: 0.5em;
  }

  #version { /* Version information at the bottom of the node content */
    display: none;
  }

  /* Banner */

  div#banner {
    padding-left: 0.5em;
  }

  div#banner h1 {
    padding: 0.5em 0.5em 0.67em 0.5em;
  }

  div#banner a {
    font-size: 0.8em;
  }

  a#banner_navbar_link {
    display: none;
  }

  /* Main content */
  div#maincontent {
    float: left;
    width: 71.1%;
  }

  div#content {
    padding-left: 1em;
  }

  div#title_edit_link {
    padding-top: 0.5em;
  }

  /* Node page - image */
  div#node_image_box {
    float: right;
    padding: 0.5em;
    margin-top: 0.5em;
    margin-right: -0.5em;
    font-size: 0.8em;
    text-align: right;
  }

  div#node_image_box img {
    border: 1px solid #595A38;
  }

  div#node_image_copyright {
    text-align: right;
    margin-bottom: 0.2em;
  }

  div#node_image_copyright a {
    color: black;
  }

  /* Front page - featured article */
  div#featured_article {
    float: right;
    margin-left: 0.5em;
    margin-bottom: 0.5em;
    margin-top: 2em;
  }

  /* Create new page */

  div#create_new_page {
    padding-top: 1em;
  }

  div#create_new_page input#pagename {
    margin-top: 1em;
    padding: 0.3em;
  }

  div.disallowed_characters_note {
    padding: 0.5em;
    margin-left: 1em;
    margin-bottom: 0.5em;
    float: right;
    width: 30%;
    font-size: 0.8em;
    border: 1px dotted #595A38;
    margin-top: 1em;
  }

  div.new_page_notes {
    padding: 1em;
    font-size: 0.9em;
  }

  /* Edit page */
  div.jump_to_edit_form {
    clear: both;
    margin-top: 0.5em;
    font-size: 0.8em;
    float: left;
  }

  div.preview_actions {
    margin-bottom: 1em;
  }

  div.edit_form_actions input.form_button {
    padding-left: 0.3em;
    padding-right: 0.3em;
  }

  fieldset#openguides_information {
    clear: both;
    display: table;
  }

  fieldset#openguides_information div.edit_form_group {
    display: table-cell;
    padding: 0 0.5em 0.5em 0;
    vertical-align: bottom;
  }

  div#username_group {
    width: 20%;
  }

  div#username_group label a {
    white-space: nowrap;
  }

  div#edit_type_group {
    width: 15%;
  }

  /* Maps */

  h2.map_index_header {
    padding-top: 0.8em;
    padding-bottom: 0.8em;
  }

  div#map_index_node_list {
    height: 600px;
    overflow: auto;
    float: right;
    width: 23%;
    margin-top: 1em;
    margin-right: 0.5em;
  }

  div#map_index_node_list ul li {
    font-size: 0.9em;
    margin-left: 1em;
    margin-bottom: 0.6em;
    list-style: disc outside none;
  }

  div#map_index_canvas {
    width: 75%;
    height: 600px;
    margin-top: 1em;
  }

  div#node_map_canvas {
    float: right;
  }

  /* Recent changes */

  h2.recentchanges_section_header {
    padding-top: 1.5em;
    margin-bottom: 0;
  }

  td.recentchanges_node_name, td.recentchanges_meta {
    padding-top: 1.5em;
    vertical-align: top;
  }

  .recentchanges_node_name {
    font-size: 0.8em;
    min-width: 12em;
    padding-right: 2em;
  }

  .recentchanges_meta, .recentchanges_user, .recentchanges_comment {
    font-size: 0.8em;
  }

  /* Admin */
  form.confirm_deletion, form.confirm_moderation {
    margin-top: 1em;
  }

  /* Preferences */
  form#preferences_form div.set_username,
      form#preferences_form div.set_preferences {
    padding-top: 1em;
  }

  /* Navbar */

  div#navbar_parent.extra_wide_maincontent {
    display: none;
  }

  div#navbar {
    float: right;
    color: black;
    background: #F1C969;
    width: 25.4%;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    border-left: 1px dotted #595A38;
    border-bottom: 1px dotted #595A38;
  }

  #navbar a {
    text-decoration: none;
    color: #000000;
  }

  #navbar a:hover, #navbar a:active {
    text-decoration: underline;
  }

  .navbar_group_title {
    font-weight: bold;
    font-size: 0.75em;
    color: #FCF8E3;
    background: #595A38;
    padding: 0.2em 1em 0.3em 1em;
    margin: 0 0.5em 1em 0.5em;
    border: 1px solid #3A3B22;
  }

  #navbar ul {
    font-size: 0.8em;
    padding-left: 1.5em;
    padding-bottom: 1em;
  }

  #nav_search {
    color: #333333;
    background: #F2E9BC;
    padding: 0.2em;
    margin-bottom: 0.2em;
    border: 1px solid #58078E;
    width: 9em;
  }

  #navbar_search form input.form_button {
    width: 2.5em;
    margin-bottom: 0.2em;
  }

  #navbar_current_version_link, #navbar_this_revision_info, #navbar_version {
    font-size: 0.7em;
    text-align: right;
    padding-right: 0.5em;
  }

  /* Footer */
  #footer {
    font-size: smaller;
    text-align: right;
    padding: 1em;
  }
}
