@charset "UTF-8";
h1, h2, h3, p {
  margin: 0;
  padding: 0; }

html {
  font-size: 10.5pt; }

body {
  font-family: Arial, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, sans-serif; }

h2 {
  margin: 10px 0;
  font-weight: bold;
  padding: 6px 14px;
  font-size: 14pt;
  color: #303681;
  background-color: #92c0ef; }

h3 {
  margin: 10px 0;
  font-size: 12pt;
  font-weight: bold;
  padding: 4px;
  color: #3e45a4;
  border-bottom: 1px solid #3e45a4; }

table {
  border-collapse: collapse; }

th, td {
  padding: 0.2em 0.4em;
  vertical-align: top; }

dd {
  margin-left: 1em; }

.w100p, .wmax {
  width: 100%; }

.center {
  text-align: center; }

.right {
  text-align: right; }

.flright {
  float: right; }

.date {
  text-align: right; }

.f18p {
  font-size: 18pt; }

.hl {
  font-weight: bold;
  color: red; }

.error {
  color: red; }

.activeRow {
  background-color: #f0def3; }

.dataNode {
  display: none; }

.resultCount {
  float: right;
  color: green;
  font-weight: bold; }

.genTable {
  margin: 1em; }
  .genTable th, .genTable td {
    border: 1px solid #cfc6bc;
    padding: 0.5em; }
  .genTable th {
    background-color: #e6e0db;
    text-align: center; }

.pagerWrap {
  text-align: center;
  margin: 0.5em 0; }

.loading {
  text-align: center;
  margin-top: 50px; }

.white {
  color: white; }

.margb {
  margin-bottom: 1em; }

body {
  background-color: #fffaf4;
  color: #555; }

header {
  background-color: #3e45a4;
  color: white;
  height: 3em; }
  header h1.logo {
    font-size: 18pt;
    color: #fff;
    padding: 10px 0 0 10px;
    white-space: nowrap; }
    header h1.logo a {
      color: white;
      text-decoration: none; }
  header .head-nav {
    float: right;
    margin-top: 1em;
    margin-right: .5em;
    padding: 0;
    list-style-type: none;
    font-size: small; }
    header .head-nav li {
      display: inline;
      border: 2px solid #98b590;
      padding: 0.2em; }
      header .head-nav li a {
        color: white; }
      header .head-nav li:hover {
        background-color: #98b590; }
      header .head-nav li a:hover, header .head-nav li a:active {
        text-decoration: none; }
  header .searchDictWrap {
    float: right;
    margin-right: .5em; }
  header #searchDict {
    margin-top: 8px;
    color: black; }
  header .userName {
    float: right;
    margin-top: 10px; }
  header ul#relatedLinks {
    display: none;
    list-style-type: none;
    position: absolute;
    width: 200px;
    top: 40px;
    right: 10px;
    background-color: white;
    padding: 0.5em; }
    header ul#relatedLinks li {
      margin-bottom: 0.5em; }
    header ul#relatedLinks a {
      color: #333; }
    header ul#relatedLinks .url {
      font-size: 60%; }

footer {
  background-color: #3e45a4;
  color: #92c0ef;
  font-size: 9pt;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%; }
  footer p {
    margin: 4px; }

#main-view {
  width: 100%;
  overflow: hidden; }

.main-block {
  background-color: #fffaf4;
  border: 1px solid #aaa;
  border-radius: 4px;
  margin: 10px;
  padding: 10px;
  float: left;
  width: 90%;
  min-height: 700px; }

#card, #text {
  display: none; }

#dictWin {
  display: none; }
  #dictWin #dictWinResult {
    height: 550px;
    overflow-y: scroll; }
  #dictWin .copyright {
    margin-top: 10px;
    font-size: 80%;
    color: #666; }

#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px; }
  #pageTop i {
    padding-top: 6px; }
  #pageTop a {
    display: block;
    z-index: 999;
    padding: 8px 0 0 0;
    border-radius: 30px;
    width: 35px;
    height: 35px;
    background-color: #8ec19a;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center; }
  #pageTop a:hover {
    text-decoration: none;
    opacity: 0.7; }

nav#userNav {
  margin: 1em 0; }
  nav#userNav > ul {
    text-align: right;
    list-style-type: none;
    padding: 0; }
    nav#userNav > ul > li {
      display: inline-block;
      padding: 0 .5em;
      border-right: 1px solid black; }
      nav#userNav > ul > li:last-child {
        border: 0; }
  nav#userNav::after {
    clear: right; }

#leftNav {
  width: 260px;
  float: left; }
  #leftNav ul {
    list-style-type: none;
    margin: 1em;
    padding: 1em;
    background-color: #ede2de; }
    #leftNav ul li {
      margin: 5px 0;
      background-color: white;
      text-align: center;
      padding: 4px;
      border-radius: 4px; }
      #leftNav ul li a {
        color: black; }
        #leftNav ul li a:hover {
          text-decoration: none; }
  #leftNav .ainuPrefUi {
    margin: 2em 1em;
    font-size: 85%;
    text-align: center; }
    #leftNav .ainuPrefUi p {
      margin-bottom: 0.5em; }
  #leftNav .embedMedium {
    padding: 4px;
    text-align: center; }

#content {
  margin-left: 260px;
  margin-right: 10px; }

#contentNoNav {
  margin: 20px 30px 50px 30px; }

.searchForm .searchWord {
  width: 16em; }

.searchForm .searchKeyword {
  width: 24em;
  height: 3.5em; }

.search-btn {
  width: 8em;
  text-align: center;
  margin: 10px 10px; }

#search-result table tr:hover, #card table tr:hover {
  background-color: lavender; }

.subtypeChecks label {
  font-weight: normal; }

.dictChecks {
  display: inline-block; }
  .dictChecks .dictNameChecks {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
    white-space: nowrap;
    width: 0; }

.resultScroll {
  overflow-y: scroll;
  max-height: 20em; }

#search-result .duration {
  float: right;
  margin-right: 1em; }

.glosstext {
  overflow-y: scroll;
  height: 500px; }
  .glosstext table {
    width: 100%; }
    .glosstext table td {
      vertical-align: top; }
    .glosstext table table {
      width: auto;
      display: inline;
      font-size: 90%; }
  .glosstext .linenum {
    width: 3em;
    text-align: right;
    font-weight: bold; }
  .glosstext .wordjap, .glosstext .tag, .glosstext .gloss {
    display: none; }

.buttonBar {
  text-align: right;
  font-size: 80%; }
  .buttonBar button {
    margin-top: -3px; }
  .buttonBar .spacer {
    margin-right: 20px; }

#text .note {
  text-decoration: underline; }

#text .head {
  font-weight: bold;
  color: royalblue; }

#text .word {
  cursor: pointer; }
  #text .word:hover {
    text-decoration: underline; }

.ainuText table {
  border-collapse: separate; }

.ainuText td.linenum {
  border-left: 6px solid transparent; }

.ainuText tr:hover {
  background-color: lavender; }

.ainuText tr.activeLine {
  background-color: #ffdfe9; }
  .ainuText tr.activeLine td.linenum {
    border-left: 6px solid #ff759e; }

.ainuText tr:hover .sound, .ainuText tr.activeLine .sound {
  visibility: visible; }

.jap-text tr:hover {
  background-color: lavender; }

.jap-text td.soundCell {
  border-left: 6px solid transparent; }

.jap-text tr.activeLine {
  background-color: #ffdfe9; }
  .jap-text tr.activeLine td.soundCell {
    border-left: 6px solid #ff759e; }

.jap-text tr:hover .soundCellCont, .jap-text tr.activeLine .soundCellCont {
  visibility: visible; }

.jap-text .soundCellCont {
  font-size: 14pt; }

.jap-text .soundTime {
  font-size: 60%;
  line-height: 1em;
  text-align: center; }

.common-text {
  overflow-y: scroll;
  height: 500px; }

#loginForm {
  border: 1px solid lightgray;
  border-radius: 4px;
  margin: 20px auto;
  padding: 20px;
  width: 400px; }

.wrap {
  margin: 1em; }

.formPage {
  margin: 1em;
  line-height: 1.5em; }
  .formPage .req {
    color: red; }
  .formPage .note {
    font-size: 85%; }
  .formPage table.main {
    margin: 1em auto;
    width: 800px; }
    .formPage table.main > tbody > tr {
      border-top: 1px solid #aaa;
      border-bottom: 1px solid #aaa; }
      .formPage table.main > tbody > tr > th {
        padding: 1em;
        white-space: nowrap;
        vertical-align: middle; }
      .formPage table.main > tbody > tr > td {
        padding: 1em; }
  .formPage input {
    margin: 0.5em 0; }
  .formPage input[type=text] {
    width: 25em; }
  .formPage input.short {
    width: 4em; }
  .formPage input.middle {
    width: 10em; }
  .formPage .name input[type=text] {
    width: 10em; }
  .formPage .date input[type=text], .formPage .postal input[type=text] {
    width: 4em; }
  .formPage .date {
    text-align: left; }
  .formPage .btn {
    margin-right: 1em; }
  .formPage .nav {
    margin-bottom: 1em; }
