* {
  margin: 0;
  padding: 0; }

body, body.kanji {
  margin: 15px;
  font-size: 11.5pt;
  font-family: sans-serif;
  color: black;
  background: white; }

p {
  margin: 1em 0;
  line-height: 1.125em; }

em {
  font-weight: bold;
  font-style: normal; }

a, a:visited {
  color: #3b9bcc; }
a:hover, a:active {
  color: #1e4d66; }
a img {
  border: none; }

h2 {
  border-bottom: 1px solid #3b9bcc; }

h2, h3, h4, h5, h6 {
  color: #3b9bcc;
  margin-top: 1em; }

ul {
  list-style-type: square;
  padding-left: 2.5em;
  margin: 1em 0; }

.clear {
  clear: both; }

#header, #main, #footer {
  width: 950px;
  margin: 0 auto; }

.left_column {
  float: left;
  width: 650px; }

.right_column {
  float: left;
  margin-left: 15px;
  width: 285px; }

.one_column {
  clear: both; }

table {
  margin: 1em 0;
  border-spacing: 0;
  border-collapse: collapse; }

th, td {
  padding: 0.33em 0.5em 0.25em 0.5em; }

th {
  text-align: left;
  color: #3b9bcc;
  background: #ebf7fc;
  border-top: 1px solid #3b9bcc;
  border-bottom: 1px solid #3b9bcc; }

td {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc; }
  td.kanji {
    text-align: center; }

tr+tr, tr+tr+tr+tr, tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {
  background: #eee; }
  tr+tr +tr, tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr {
    background: #fff; }

table.plain th, table.plain td, table.headers_on_left th, table.headers_on_left td {
  border: none;
  padding: 0.25em; }
table.plain th, table.plain tr, table.headers_on_left th, table.headers_on_left tr {
  background: white; }

table.headers_on_left th, table.headers_on_left td.buttons {
  text-align: right; }

table.paginated {
  width: 100%; }

.pagination_stats {
  font-weight: bold; }

.pagination {
  text-align: right;
  margin: 1em 0; }
  .pagination a {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #3b9bcc;
    text-decoration: none; }
    .pagination a:hover, .pagination a:active {
      background-color: #3b9bcc;
      color: #ffffff; }
  .pagination span.current {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #ff864a;
    font-weight: bold;
    background-color: #ff864a;
    color: #fff; }
  .pagination span.disabled {
    padding: 2px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #ccc;
    color: #ccc; }

ruby, .jtext, .kanji {
  font-family: sans-serif; }
  ruby, ruby a, .jtext, .jtext a, .kanji, .kanji a {
    text-decoration: none !important; }

.okurigana {
  color: #888; }

.ruby, .kanji {
  font-size: 165%; }

#header h1 {
  width: 103px;
  height: 57px; }
#header #iphone_link {
  margin-bottom: 1em;
  font-weight: bold; }
#header #user_box {
  text-align: right;
  float: right;
  position: relative;
  top: -57px; }
  #header #user_box a {
    margin-left: 1em; }
  #header #user_box #username {
    margin-left: 0; }
#header #search_box {
  clear: both;
  float: right;
  position: relative;
  top: -1.25em; }
  #header #search_box a {
    margin-left: 0.25em; }
#header #search_box, #header #tools {
  margin-top: 0.5em; }
#header #tools a {
  margin-right: 1em; }
#header #user_box a, #header #search_box a, #header #tools a {
  font-weight: bold; }

#footer {
  clear: both;
  border-top: 1px solid #3b9bcc;
  text-align: right;
  color: #888;
  font-size: 82%;
  margin-top: 1em; }
  #footer .adsense {
    float: left;
    margin-top: 1em; }

#errors {
  border: 1px solid #ff864a;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  border-radius: 11px;
  background: #ffeee5;
  padding: 0 1em;
  display: table;
  margin-top: 1em; }

.right_column.tools div {
  padding: 0 1em;
  margin-top: 1em;
  border: 1px solid #3b9bcc;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  border-radius: 11px;
  background: #ebf7fc; }

#welcome_index #search {
  text-align: center;
  padding-bottom: 1em;
  border-bottom: 1px solid #3b9bcc; }
#welcome_index .left_column {
  margin-bottom: 1em; }
  #welcome_index .left_column .feature {
    display: block;
    border: 1px solid #3b9bcc;
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
    border-radius: 11px;
    float: left;
    width: 190px;
    margin-right: 10px;
    padding: 10px; }
    #welcome_index .left_column .feature h3 {
      margin: 0; }
    #welcome_index .left_column .feature #kanji_otd {
      margin-top: 0.25em;
      margin-bottom: 0.15em;
      font-size: 209%; }
    #welcome_index .left_column .feature #word_otd {
      margin-top: 0.52em;
      margin-bottom: 0.3em;
      font-size: 126%; }
    #welcome_index .left_column .feature #kanji_otd,
    #welcome_index .left_column .feature #word_otd {
      text-align: center; }
  #welcome_index .left_column .feature#last {
    margin-right: 0; }
#welcome_index .right_column {
  font-size: 83%; }

#dictionary_show .left_column {
  padding-top: 1em; }
#dictionary_show .ruby {
  margin-bottom: 0.15em;
  font-size: 208%; }
  #dictionary_show .ruby ruby > rt, #dictionary_show .ruby ruby rtc {
    font-size: 48%; }
  #dictionary_show .ruby ruby a, #dictionary_show .ruby ruby a:visited {
    color: black; }
  #dictionary_show .ruby ruby a:hover, #dictionary_show .ruby ruby a:active {
    color: #3b9bcc; }
#dictionary_show #glosses {
  margin-bottom: 1em; }
  #dictionary_show #glosses .sense {
    clear: both; }
    #dictionary_show #glosses .sense .number {
      font-weight: bold;
      float: left; }
    #dictionary_show #glosses .sense .gloss,
    #dictionary_show #glosses .sense .metadata {
      margin-left: 1em; }
#dictionary_show .metadata {
  font-style: italic; }
  #dictionary_show .metadata .label {
    font-weight: bold; }
#dictionary_show #examples #stats.with_pagination {
  position: absolute; }
#dictionary_show #examples table {
  width: 100%; }
  #dictionary_show #examples table .correction {
    font-size: 82%;
    text-align: right;
    vertical-align: bottom;
    white-space: nowrap; }
  #dictionary_show #examples table tr, #dictionary_show #examples table tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr {
    background: #eee; }
    #dictionary_show #examples table tr +tr, #dictionary_show #examples table tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr, #dictionary_show #examples table tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr+tr +tr {
      background: #fff; }
  #dictionary_show #examples table .jtext em {
    font-weight: normal;
    color: #ff864a; }

#dictionary_correction_form table {
  width: 100%; }
  #dictionary_correction_form table th {
    width: 6em; }
  #dictionary_correction_form table input.text {
    width: 100%; }
  #dictionary_correction_form table input.text, #dictionary_correction_form table textarea {
    font-size: 100%; }
  #dictionary_correction_form table #comments th {
    vertical-align: top; }

#kanji_show h3 {
  margin: 0.18em;
  font-size: 557%;
  font-weight: normal;
  color: black;
  float: left; }
#kanji_show #data table td, #kanji_show #data table th {
  padding: 0.25em 1.5em; }
#kanji_show #data table td {
  vertical-align: top; }
  #kanji_show #data table td .reading {
    white-space: nobreak; }
    #kanji_show #data table td .reading .type {
      font-family: monospace;
      color: #3b9bcc; }
      #kanji_show #data table td .reading .type:before {
        content: '['; }
      #kanji_show #data table td .reading .type:after {
        content: ']'; }
#kanji_show #words {
  clear: both; }
  #kanji_show #words p {
    float: left; }
  #kanji_show #words table {
    clear: both;
    margin: 0; }

#search_parts #parts_field {
  margin: 1em 0; }
  #search_parts #parts_field .kanji, #search_parts #parts_field .stroke_count {
    font-size: 111%;
    float: left;
    text-align: center;
    line-height: 1em;
    height: 1.5em;
    width: 1.5em;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid #888;
    border-radius: 0.25em;
    -webkit-border-radius: 0.25em; }
  #search_parts #parts_field .stroke_count, #search_parts #parts_field .part:hover {
    color: white;
    background: #3b9bcc;
    border-color: #3b9bcc; }
  #search_parts #parts_field .stroke_count span, #search_parts #parts_field .part span {
    vertical-align: middle;
    padding-top: 0.5em; }
  #search_parts #parts_field .part:hover {
    cursor: pointer; }
  #search_parts #parts_field .selected {
    color: white;
    background: #ff864a !important;
    border-color: #ff864a !important; }
  #search_parts #parts_field .disabled {
    cursor: default !important;
    opacity: 0.25;
    color: black !important;
    background: white !important;
    border-color: white !important; }
  #search_parts #parts_field #reset {
    clear: both;
    text-align: right;
    padding-right: 2em; }
#search_parts #results {
  margin-bottom: 1em; }
  #search_parts #results .kanji {
    float: left;
    font-size: 209%;
    line-height: 1em;
    text-align: center; }
    #search_parts #results .kanji a {
      vertical-align: middle;
      margin: 0 0.1em 0.1em 0; }

#search_search .terms {
  font-weight: bold; }
#search_search .result {
  margin-bottom: 1.5em; }
  #search_search .result .type {
    color: #888;
    font-size: 82%; }
#search_search .pagination {
  text-align: center; }

#preferences_index #sod_style .clear {
  height: 1em; }
#preferences_index .option {
  border: 1px solid #3b9bcc;
  -moz-border-radius: 11px;
  -webkit-border-radius: 11px;
  border-radius: 11px;
  margin: 2px 10px 2px 2px;
  float: left;
  cursor: pointer;
  padding: 10px; }
  #preferences_index .option .label {
    text-align: center;
    color: #888;
    margin-top: 0.33em; }
#preferences_index .option.selected {
  background: #ebf7fc;
  cursor: default; }
#preferences_index .option.selected, #preferences_index .option:hover {
  border-width: 3px;
  margin: 0 8px 0 0; }
#preferences_index #font_2 .kanji {
  font-family: serif; }
#preferences_index #sod_style .option {
  text-align: center; }

#account_create_form #fnr, #account_create #fnr {
  display: none; }
