body {
      background: #D9D5B7;
}
.header {
      letter-spacing: 2px;
      font-size:      18pt;
      font-weight:    bold;
      line-height:    1.5em;
      padding: 30px 20px 10px 15px;
      margin: 0;
      border-bottom: solid 1px #000;
      color: #990000;
      background: #C2BD9B;
      border-top: solid 1px #fff;
      display: flex;
      justify-content: space-between;
}
.rtl {
      direction:      rtl;
      font-size:      14pt;
      font-family:    times;
}
input.q-rtl {
      direction:      rtl;
}
.container {
      margin:     0 50px;
      background: #D1DAE3;
      border:     solid 1px #fff;
}
.hr {
      background:  rgb(216,38,27);
      line-height: 19px;
      margin:      0;
      border:      solid 1px #fff;
      display:     flex;
      flex-wrap:   wrap;
}
.links {
      font-family: Sans-Serif;
      font-size:   10pt;
}
.ltnsmall {
      font-size:   12pt;
}
div.gloss {
      font-size:         12pt;
      direction:         ltr;
      text-align:        right;
      background:        rgb(210,220,250);
      font-family:       times;
}
.translit {
      font-size:         10pt;
      direction:         ltr;
      text-align:        right;
      background:        rgb(220,230,250);
}
div.sep {
       border-top:       thin solid black;
}
.details {
      font-size:         11pt;
}
.pron {
      font-size:         10pt;
      direction:         ltr;
      background:        rgb(225,240,250);
      white-space:       nowrap;
}
.field {
         font-family:   helvetica;
         font-size:     9pt;
}
.sup {
        height:          0;
        line-height:     1;
        vertical-align:  baseline;
        position:        relative;
        bottom:          1ex;
        font-size:       11pt;
}
.field .sup {
        font-size:       8pt;
}
.gram {
        font-size:      12pt;
}
.redir {
      background:       rgb(220,230,250);
}
.not_found {
      font-weight:      bold;
      font-family:      Sans-Serif;
      font-size:        12pt;
      padding-left:     10pt;
      padding-right:    10pt;
      width:            250px;
}
.sim_words {
      font-weight:      bold;
      font-size:        13pt;
      float:            right;
}
.matches {
      background:       rgb(220,230,250);
}
.copyright {
      font-size:         9pt;
      border-top:        1px dotted black;
      margin-top:        10px;
}
.italic {
      font-style: italic;
}
.quota-box {
      margin-right: 5px;
      margin-left:  5px;
      font-size:    10pt;
}
.err_item {
      text-align: center;
      color:      red;
      font-size:  16pt;
}
.banner {
      text-align: center;
      font-size:  16pt;
}
.wotd {
      font-weight: bold;
      font-family: Sans-Serif;
      font-size:   11pt;
      text-align:  right;
      white-space: nowrap;
}
.wotd-cell {
      border-width: 1px;
      border-style: double;
      padding:      3px;
}
.query-box {
      width:         20em;
      margin-left:   10px;
      margin-right:  10px;
      display:       inline-block;
      vertical-align: top;
}
.def-box {
      max-width:  350px;
      min-width:  150px;
      vertical-align: top;
}
.rev-query {
      width:         240px;
      margin-left:   10px;
      margin-right:  10px;
}
.rev-choices {
      width:         100px;
      margin-left:   10px;    
}
.rev-def {
      margin-left:   10px;
      margin-right:  10px;
      width:         250px;
}
@media screen and (min-width: 551px) and (max-width: 810px) {
  .container {
        margin:     0 20px;
  }
  .query-box {
        width:         40%;
        margin-left:   10px;
  }
  .def-box {
        width:         55%;
   }
  .rev-query {
        width:         35%;
        margin-left:   10px;
        margin-right:  10px;
  }
  .rev-def {
        width:         35%;
  }
}
@media screen and (max-width: 550px) {
  .container {
        margin-left:   0px;
        margin-right:  0px;
  }
  body {
        padding: 0px 0px 0px 0px;
        margin:  0px 0px 0px 0px;
  }
  .query-box {
        width:         80%;
        margin-left:   5px;
  }
  .def-box {
        margin-left:   5px;
        width:         95%;
   }
  .rev-query {
        width:         50%;
        margin-left:   5px;
        margin-right:  5px;
  }
  .rev-def {
        width:         85%;
  }
  div.break-on-mobile {
      flex-basis: 100%;
  }
}
@media screen and (max-height: 300px),
       screen and (max-height: 600px) and (max-width: 550px)
 {
  div.header {
        display: none;
  }
}
.main {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.choice_container {
    display: flex;
}
.choice_box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}
.search-box {
      border-width:  4px;
      border-style:  ridge;
      padding:       3px;
}
div.q-block {
    display: flex;
    flex-wrap: wrap;
}
#button-clear-input {
    border: none;
    background: transparent;
}
.float-start {
      float:         left;
}
.rtl .float-start {
      float:         right;
}
.float-end {
      float:         right;
}
.rtl .float-end {
      float:         left;
}
.float-rt {
      float:         right;
}
.alternatives {
      font-size:     11pt;
      font-weight:   bold;
}
.lemma {
      font-size:     18pt;
}
.menu {
      padding-left:  5pt;
      padding-right: 5pt;
      font-weight:   bold;
      font-family:   Sans-Serif;
      font-size:     9pt;
}
.hidden {
    display: none;
}
.hr a, .hr > div.menu {
      color:       #D9D5B7;
}
.input {
      font-size:     13pt;
}
#ab-btn {
    margin-inline-end: 5px;
}
.ab-table {
      border:        solid 1px black;
      margin:        2px;
}
.ab-table td {
      background:    rgb(225,240,250);
      box-shadow:    2px 2px 1px grey;
      border-radius: 3px;
      padding:       2px;
      font-size:     14pt;
}
.ab-table td:hover {
      background:    #40C0A0;
}
.dir_btns {
    border: solid 1px black;
}
.dir_yid {
    font-size: 14pt;
}
span.highlight {
    background:       cornsilk;
    padding:          1pt;
    border:           1pt solid grey;
}
button {
    cursor: pointer;
}
