/* Styles for LTR languages */

/* Default rules for the body of every page */

html body {
  text-align: left;
}

/* Rules for the menu displayed in the left sidebar */

.left_menu {
  left: 0px;
}

.left_menu td {
  padding-right: 4px;
}

.left_menu h1 {
  text-align: left;
  padding: 0em 0em 0em 1em;
}

.left_menu ul {
  padding-left: 0px;
}

.left_menu img {
  margin: 2px 8px 0px 0px;
}

/*
 * Rules for "optional boxes" which appear in the left sidebar on
 * certain pages. Current users are the seach box on the main page
 * and the tag cloud on the traces pages.
 */

.optionalbox {
  left: 0px;
  text-align: left;
}

/* Rules for tabbed navigation bar */

#top-bar {
  margin-left: 185px;
}

#tabnav a,
#tabnav a:link,
#tabnav a:visited {
  float: left;
  margin-right: 1px;
}

/* Rules for greeting bar in the top right corner */

#greeting {
  float: right;
  padding-right: 10px;
}

/* Rules for the message shown in place of the map when javascript is disabled */

#noscript {
  left: 15px
}

/* Rules for OpenLayers maps */

#map {
  border-left: 1px solid #ccc;
}

/* Rules for attribution text under the main map shown on printouts */

.attribution_license {
  text-align: left;
}

.attribution_project {
  text-align: right;
}

/* Rules for the popout map sidebar */

#sidebar {
  left: 0px;
  border-left: 1px solid #ccc;
}

#sidebar #sidebar_title {
  text-align: left;
}

#sidebar #sidebar_close {
  text-align: right;
}

/* Rules for the main content area */

#content {
  border-left: 1px solid #ccc;
  left: 185px;
  right: 0px;
  text-align: left;
}

#slim_header img {
  margin-right: 5px;
}

/* Rules for the copyright page */

#cc_logo {
  float: right;
}

/* Rules for the changeset list shown by the history tab etc */

#changeset_list {
  text-align: left;
}

#changeset_list_map {
  float: right;
  right: 0px;
}

/* Rules for the data browser */

#browse_navigation {
  float: right;
  margin-left: 10px;
}

#browse_map {
  float: right;
  text-align: right;
  margin-left: 10px;
}

/* Rules for the trace list shown by the traces tab etc */

#trace_list {
  text-align: right;
}

/* Rules for the diary list */

.diary_entry-list img.user_image {
  float: right;
}

.diary_entry-list img.user_thumbnail {
  float: right;
}

/* Rules for the diary entry view */

.diary_entry-view img.user_image {
  float: right;
}

.diary_entry-view img.user_thumbnail {
  float: right;
}

/* Rules for the user list */

#user_list_actions {
  float: right;
}

/* Rules for the account confirmation page */

form#termsForm div#buttons {
  float: right;
}

form#termsForm input#agree {
  margin-left: 50px;
}

/* Rules for the user view */

.user-view img.user_image {
  float: right;
}

.user-view .user_map {
  float: right;
}

/* Rules for rails validation error boxes */

#errorExplanation h2 {
  text-align: left;
  padding: 5px 5px 5px 15px;
}

/* Rules for forms */

.fieldName {
  text-align: right;
}

.submitButton {
  text-align: right;
}

input.openid_url {
  background: image-url('openid_input.png') repeat-y left white;
  padding-left: 16px;
}

/* Rules for rich text editors */

.richtext_container {
  .richtext_help {
    margin-left: 15px;

    th {
      text-align: left;
      padding: 0px 15px 0px 0px !important;
    }

    td {
      text-align: left;
    }

    input.richtext_doedit {
      margin-right: 10px !important;
    }

    input.richtext_dopreview {
      margin-left: 10px !important;
    }
  }
}
