a {
	color: #003d4c;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	color: #367889;
	text-decoration:none;
}
/** Containers **/
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
	font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
	color:#fff;
}

/** Notices and Errors **/
div.message {
	clear: both;
	color: #fff;
	font-size: 140%;
	font-weight: bold;
	margin: 0 0 1em 0;
	background: #c73e14;
	padding: 5px;
	text-align: center;
}
div.error-message {
	clear: both;
	color: #fff;
	font-weight: bold;
	background: #c73e14;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/** Related **/
div.related {
	clear: both;
	display: block;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}


@charset "UTF-8";
/** Layout **/
body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.5; }

#header {
  min-height: 56px;
  padding: 5px 20px;
  background: #003d4c;
  color: white; }
  #header .logo {
    float: left; }
  #header #header-session {
    float: right;
    text-align: right; }
  #header #header-title {
    margin-left: 56px;
    padding: 0.2em; }
    #header #header-title h1 {
      margin: 0;
      line-height: 1.2;
      font-size: 1.2rem; }
    #header #header-title div {
      display: none; }
  #header h1 {
    color: #fff;
    font-size: 140%; }
    #header h1 a {
      font-weight: normal;
      text-decoration: none; }
  #header a, #header a:visited {
    color: white;
    font-weight: normal; }
  #header a:hover {
    text-decoration: underline; }

#footer {
  clear: both;
  margin-top: 3rem;
  padding: 6px 10px;
  text-align: center;
  background: #003d4c;
  color: white; }
  #footer a {
    text-decoration: none;
    color: white; }

#content {
  margin: 0.5em 0 0.5em 0;
  padding: 0 0.5em 1em 0.5em;
  overflow: auto; }

div.sidebar ul {
  margin: 0; }

label {
  margin: 0 4px;
  vertical-align: middle; }

input, textarea, select, button {
  margin: 0;
  padding: 0;
  vertical-align: middle;
  font-size: 1rem; }

.button-bar, div.content-actions ul, .entry .entry-actions ul {
  display: inline-block; }
  .button-bar li, div.content-actions ul li, .entry .entry-actions ul li {
    display: inline-block; }

button,
input[type=submit],
.button,
div.content-actions ul li a,
.entry .entry-actions ul li a {
  display: inline-block;
  line-height: inherit;
  margin-right: 1px;
  margin-bottom: 1px;
  padding: 0.2em 1em;
  border: none;
  white-space: nowrap;
  text-decoration: none;
  font-weight: bold;
  background-color: #25e;
  color: white; }
  button:hover,
  input[type=submit]:hover,
  .button:hover,
  div.content-actions ul li a:hover,
  .entry .entry-actions ul li a:hover {
    background-color: #13d; }
  button.warning,
  input[type=submit].warning,
  .button.warning,
  div.content-actions ul li a.warning,
  .entry .entry-actions ul li a.warning {
    background: #d20; }
    button.warning:hover,
    input[type=submit].warning:hover,
    .button.warning:hover,
    div.content-actions ul li a.warning:hover,
    .entry .entry-actions ul li a.warning:hover {
      background: #c00000; }

/** Forms **/
form {
  padding: 0; }
  form label {
    display: block; }
  form .input {
    margin: 1em 0;
    color: #444; }
  form .required {
    font-weight: bold; }
    form .required label:after {
      color: #e32;
      content: '*'; }
  form .form-actions {
    display: flex; }
    form .form-actions .submit {
      flex: 1; }
    form .form-actions .cancel {
      flex: 1;
      text-align: right; }
  form .submit input[type=submit] {
    background: #493;
    color: white; }
  form .submit input[type=submit]:hover {
    background: #271; }
  form .cancel button {
    background: #a70;
    color: white; }
  form .cancel button:hover {
    background: #850; }
  form .row > * {
    display: inline-block; }

form#UserLoginForm {
  width: 20em;
  margin: 2em auto; }

fieldset {
  position: relative;
  border: 1px solid #ccc;
  margin: 1em 2em 1em 0;
  padding: 1em; }
  fieldset > legend {
    background: #fff;
    color: #e32;
    font-size: 160%;
    font-weight: bold; }
  fieldset > div {
    margin: 1em 0; }
  fieldset fieldset {
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 16px 10px; }
    fieldset fieldset > legend {
      font-size: 120%;
      font-weight: normal; }
    fieldset fieldset > div {
      clear: left;
      margin: 0 20px; }

div.checkbox label {
  display: inline; }

input[type=radio] {
  float: left;
  width: auto;
  margin: 0 3px 3px 0; }

div.radio label {
  margin: 0 0 6px 20px; }

/** Paging **/
div.paging {
  background: #fff;
  color: #ccc;
  margin-top: 1em;
  clear: both; }

div.paging span.disabled {
  color: #ddd;
  display: inline; }

div.paging span.current {
  color: #c73e14; }

form#searchbox, form#lastsearchbox {
  padding: 0.5em;
  background-color: lightgray;
  color: black; }
  form#searchbox div, form#lastsearchbox div {
    display: inline-block;
    margin-right: 1em;
    padding: 0;
    white-space: nowrap; }
  form#searchbox label, form#lastsearchbox label {
    display: inline; }
  form#searchbox input[type=submit], form#lastsearchbox input[type=submit] {
    line-height: 1.5;
    padding: 0 1em;
    border: none;
    text-decoration: none;
    background: #606060;
    background-image: linear-gradient(to bottom, #909090, #202020);
    color: #eee; }

form#lastsearchbox {
  background-color: #f0f0f0; }

input#SearchExpression, input#LastSearchExpression {
  width: 10em; }

form#EntryAddForm textarea,
form#EntryEditForm textarea {
  width: 100%; }

input#EntryHeadword {
  width: 12em;
  font-size: 130%; }

input#EntrySuffix1,
input#EntrySuffix2,
input#EntrySuffix3 {
  width: 3em;
  font-size: 130%; }

input#BilingualEntryHeadword {
  width: 12em;
  font-size: 140%; }

input#BilingualEntrySuffix1,
input#BilingualEntrySuffix2,
input#BilingualEntrySuffix3 {
  width: 3em;
  font-size: 140%; }

form#MediaAddForm textarea#MediaCaption,
form#MediaEditForm textarea#MediaCaption,
form#MediaAddForm textarea#MediaComments,
form#MediaEditForm textarea#MediaComments {
  width: 100%; }

/* TAGS */
div.tags-box {
  margin-bottom: 0.5em;
  white-space: nowrap;
  font-weight: bold; }

div.tags-box img {
  vertical-align: middle; }

div.tags-box a {
  color: #149; }

div.tags-box a:hover {
  color: #a41; }

div.tags-dropdown, div.tags-dropdown-list {
  padding: 0 0.5em; }

div.tags-dropdown {
  position: relative;
  float: right; }

div.tags-dropdown-list {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  border: 1px solid #dcdce2;
  background-color: #eceef4; }

a.delete-tag {
  margin-right: 0.3em;
  padding: 0.2em 0.5em;
  border: 1px solid #dcdce2;
  background-color: #eceef4; }

a.delete-tag:after {
  content: url(../img/delete_gray.png);
  padding-left: 0.4em;
  vertical-align: middle; }

a.delete-tag:hover:after {
  content: url(../img/delete.png);
  padding-left: 0.4em;
  vertical-align: middle; }

a.add-tag {
  display: block;
  margin: 0;
  padding: 0; }

a.add-tag:after {
  content: url(../img/add_gray.png);
  padding-left: 0.4em;
  vertical-align: middle; }

a.add-tag:hover:after {
  content: url(../img/add.png);
  padding-left: 0.4em;
  vertical-align: middle; }

.history-created {
  background-color: #5b5 !important; }

.history-modified {
  background-color: yellow !important; }

.history-deleted {
  background-color: #f33 !important; }

.image-box {
  margin-top: 0.5em;
  padding: 1px;
  border: 1px solid gray; }

.image-box img {
  padding-right: 1px;
  vertical-align: middle; }

.table-row {
  display: table-row; }

.table-cell {
  display: table-cell;
  padding: 0 1em; }

.media-imagebox {
  float: right;
  border: 2px solid lightgray; }

td img {
  vertical-align: top; }

p {
  margin: 1em 0; }

div.content-actions {
  margin: 1em;
  text-align: right; }

/** Content Actions  **/
/** Tables **/
.index .entry .entry-headword {
  background: #e0e0e0; }

.view .entry {
  padding: 1em;
  background: #e0e0e0; }
.view .oldrev {
  background: #fe7; }

.entry {
  margin: 1rem 0; }
  .entry .entry-headword {
    padding: 0.5em;
    border-collapse: separate;
    border-spacing: 0;
    font-weight: bold; }
    .entry .entry-headword > div {
      display: inline-block; }
    .entry .entry-headword .entry-language {
      font-weight: normal; }
    .entry .entry-headword .entry-verb {
      font-weight: normal;
      color: gray; }
  .entry .entry-definitions {
    margin: 0.5em;
    font-family: serif; }
  .entry .entry-actions {
    margin: 0 0.5em; }
    .entry .entry-actions ul {
      margin: 0;
      padding: 0; }

/* Embedded entries */
div.embedded-entry {
  margin: 1em 0;
  padding: 1em 2em;
  background-color: #e0e8ff; }

/* Bilingual editor */
ul.meanings, ul.translations {
  margin: 0;
  padding: 1px 0;
  list-style: none; }

ul.meanings {
  margin-right: 1em; }

ul.meanings li {
  margin: 2px 0;
  padding: 0.5rem;
  border: 1px solid #c8d4e8;
  background-color: #e4ecff; }

ul.translations li {
  margin-left: 1em;
  border-right: none;
  background-color: #d0e0f4; }

ul.meanings .input.phrase,
ul.meanings .input.annotation,
ul.meanings .input.translation,
ul.meanings .input.remission {
  display: inline-block;
  padding-right: 1rem;
  max-width: 30rem; }

ul.meanings input.phrase,
ul.meanings input.annotation,
ul.meanings input.translation {
  width: 100%; }

ul.meanings input.phrase {
  font-weight: bold; }

ul.meanings input.annotation {
  font-style: italic; }

ul.meanings input.translation {
  width: 100%; }

div.bilingual-entry-buttons {
  float: right;
  margin: 0; }

div.bilingual-entry-buttons-2 {
  margin: 0;
  text-align: right; }

span.translation-vid {
  font-size: 1.1rem;
  color: lightgray; }

span.translation-vid-on {
  color: black; }

sup {
  vertical-align: top; }

.dropdown-menu {
  position: relative; }
  .dropdown-menu ul {
    margin: 0;
    padding: 0.5em;
    right: 0; }
    .dropdown-menu ul li {
      display: block;
      margin: 0; }
  .dropdown-menu input {
    display: none; }
  .dropdown-menu input + ul {
    display: none; }
  .dropdown-menu input:checked + ul {
    display: block; }

span.highlight {
  background-color: yellow; }

table.abrev tr th, table.abrev tr td {
  background: #fff;
  padding: 6px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
  font-size: 0.9em; }

table.abrev tr:nth-child(2n) th, table.abrev tr:nth-child(2n) td {
  background: #f0f0f0; }

table.chart {
  width: 100%;
  border-collapse: collapse; }
  table.chart th {
    border-bottom: 2px solid #555; }
  table.chart th, table.chart td {
    padding: 0 0.2em;
    text-align: left;
    vertical-align: top; }
  table.chart tr:nth-child(even) td {
    background: #f0f0f0; }

.history tr th:first-child,
.history tr td:first-child {
  max-width: 1em;
  text-align: center; }

table.index th a.asc:after {
  content: ' ⇣'; }

table.index th a.desc:after {
  content: ' ⇡'; }

table.statistics {
  border-collapse: collapse; }
  table.statistics tr td,
  table.statistics tr th {
    padding: 0.5em;
    border: 1px solid black;
    text-align: center; }
  table.statistics tr:nth-child(1) td, table.statistics tr:nth-child(1) th,
  table.statistics tr:nth-child(2) td,
  table.statistics tr:nth-child(2) th {
    background: #eee; }
  table.statistics tr:last-child td, table.statistics tr:last-child th {
    background: #60d0ff; }

ins {
  text-decoration: none;
  background-color: #9f6; }

del {
  background-color: red; }

@charset "UTF-8";
@media (max-width: 768px) {
  div.sidebar {
    background: #ddd; }
    div.sidebar label {
      margin: 0;
      padding: 0.5rem;
      font-weight: bold; }
    div.sidebar ul {
      margin: 0;
      padding: 0; }
      div.sidebar ul li a {
        display: inline-block;
        width: 100%;
        padding: 0.5rem;
        font-weight: normal;
        background: #fff; }
        div.sidebar ul li a::after {
          content: ' ▸'; }
    div.sidebar #dictionary-menu {
      border-top: 1px solid black; }
    div.sidebar #action-menu {
      border-top: 1px solid black;
      border-bottom: 1px solid black; } }

@media (min-width: 769px) {
  #header #header-title div {
    display: block; }

  .sidebar {
    box-sizing: border-box;
    float: right;
    width: 25%;
    margin: 0;
    padding: 1em;
    background: white; }
    .sidebar .dropdown-menu ul {
      display: block; }

  #main {
    border-right: 1px solid #666;
    box-sizing: border-box;
    width: 75%;
    min-height: 100%; }

  #content, #content-simple {
    padding: 0 1em 1em 1em; }

  .entries .entry {
    position: relative; }
    .entries .entry .entry-actions {
      position: absolute;
      top: 0;
      right: 0;
      margin: 0; } }