html {
  font-family: sans-serif;
}

html, body {
  height: 100%;
}

form {
  -webkit-margin-after: 0px;
          margin-block-end: 0px;
}

.smaller-label {
  font-size: 80%;
  text-transform: uppercase;
  font-weight: bold;
}

.smaller-font {
  font-size: 80%;
}

.common-edge {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.nobr {
  white-space: nowrap;
}

.displaywhensmall {
  display: none;
}

button {
  -webkit-box-shadow: inset -1px -1px 1px #404040;
          box-shadow: inset -1px -1px 1px #404040;
}

button:hover {
  -webkit-box-shadow: inset 1px 1px 1px #202020;
          box-shadow: inset 1px 1px 1px #202020;
}

div#toppagewrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

div#toppagewrapper div {
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
}

div#toppagewrapper div#hdictpagecontent {
  padding-top: 20px;
  -webkit-box-flex: 10;
      -ms-flex-positive: 10;
          flex-grow: 10;
  min-height: 100px;
}

div.backgroundwrapper {
  width: 100%;
  background-color: #877d6e;
  -webkit-box-shadow: 0px 1px 3px #b0b0b0;
          box-shadow: 0px 1px 3px #b0b0b0;
}

div.backgroundwrapper.footercontent {
  background: #ece9e3;
}

/*=============== Page Header [START] ===============*/
div#hdicttopbanner {
  height: 25px;
  min-height: 25px;
  max-height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 5px;
  color: white;
}

div#hdicttopbanner div {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
}

div#hdicttopbanner div#ulukaulogo {
  white-space: nowrap;
  text-align: left;
  font-weight: bold;
  padding: 13px;
}

div#hdicttopbanner div#ulukaulogo a {
  color: white;
}

div#hdicttopbanner div#ulukaulogo a:hover {
  text-decoration: none;
}

div#hdicttopbanner div#ulukaulogo #ulukauheader {
  font-size: 23px;
  text-shadow: 0px 0px 5px black;
  padding-right: 5px
}

div#hdicttopbanner div#ulukaulogo #ulukausubheader {
  color: #e0e0e0;
  font-size: 15px;
  letter-spacing: 1px;
  text-shadow: 0px 0px 5px black;
}

div#hdicttopbanner div#ulukauheaderlinks {
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  padding-right: 10px;
  white-space: nowrap;
}

div#hdicttopbanner div#ulukauheaderlinks a {
  color: white;
  font-size: 80%;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0px 0px 2px black;
}

div#hdicttopsubbanner {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  color: #6b1409;
}

div#hdicttopsubbanner div#sitelogo {
  padding-left: 15px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

div#hdicttopsubbanner div#sitelogo #siteheader {
  font-size: 22px;
  padding-right: 20px;
}

div#hdicttopsubbanner div#sitelogo #siteheader:hover, div#hdicttopsubbanner div#sitelogo #sitesubheader:hover {
  text-decoration: none;
}

div#hdicttopsubbanner div#sitelogo #sitesubheader {
  font-size: 12px;
  letter-spacing: 1.5px;
  padding-top: 3px;
}

div#hdicttopsubbanner div#siteheaderlinks {
  padding-right: 12px;
}

div#hdicttopsubbanner div#siteheaderlinks a {
  color: #808080;
  font-size: 10px;;
  font-weight: bold;
  letter-spacing: 1px;
}

div#hdictsearchcontrols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
/*=============== Page Header [END] ===============*/



/*=============== Search Input [START] ===============*/
div#customsearchqueryborderwrapper {
  padding: 15px;
  background-color: #b4a793;
}

div#customsearchquery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -ms-flex-pack: distribute;
      justify-content: space-around;

  border: 3px solid #dbceb9;
  padding: 10px;
}

div#customsearchquery div#searchinputlabel {
  text-align: right;
  height: 35px;
  margin-right: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
}

div#customsearchquery div#searhcontrolswrapper {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

div#customsearchquery div#specialchars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  margin-bottom: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

div#customsearchquery div#specialchars button {
  margin-right: 5px;
}

div#customsearchquery div#searchinput {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

div#customsearchquery div#searchinput input {
  min-width: 0px;
}
/*=============== Search Input [END] ===============*/



/*=============== Search Options [START] ===============*/
div.customsearchoptionswrapper {
  padding: 10px;
  background-color: #877d6e;
  -webkit-transition: height 2s;
  -o-transition: height 2s;
  transition: height 2s;
}

div#customsearchoptionsicon {
  display: none;
}

div#customsearchoptions {
  padding-left: 20px;
}

div#customsearchoptions div#dictionaryoptions {
  display: flex;
  flex-wrap: wrap;
}

div#customsearchoptions div.dictionaryoption {
 height: 30px;
  flex-basis: 190px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  color: white;
  font-size: 15px;
}

div#customsearchoptions div.dictionaryoption label {
  white-space: nowrap;
  cursor: pointer;
}

div#customsearchoptions div.dictionaryoption label:hover {
  color: #6B0C02;
}

div#customsearchoptions div#searchdropdownwrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

div#customsearchoptions div#searchdropdownwrapper div.form-group {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

div#customsearchoptions div#searchdropdownwrapper div.form-group:first-of-type {
  margin-right: 20px;
}
/*=============== Search Options [END] ===============*/



/*=============== Page Footer [START] ===============*/
div#pagefooter {
  padding: 10px;
  font-size: 90%;
  color: #808080;
  text-align: center;
}

span#menuContainer{
  font-size: 20px;
}

div#hdictcollectionspopup {
  display: none;
  position: absolute;
}

div#hdictcollectionspopupflexwrapper {
  border: 1px solid #b0b0b0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px;
  background-color: white;
}

div#hdictcollectionspopup a {
  padding: 3px;
}

div#hdictpagefooterlinks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 90%;
}

div#hdictpagefooterlinks a {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
}

/*=============== Page Footer [END] ===============*/



/*=============== Search Result Display [START] ===============*/
div#searchresult, div#documentcontent {
  border: solid #777777 2px;
  padding: 10px;
}

div#searchresult .resultdoc, div#searchresult div#resultline {
  margin-bottom: 5px;
}

table.results {
  width: 100%;
}

.rn {
  color: #777777;
}
/*=============== Search Result Display [END] ===============*/



/*=============== Media Quesry [START] ===============*/
@media (max-width: 1000px) {
  .hidewhenmidsize {
    display: none !important;
  }
}

@media (max-width: 900px) {

  .clickablewhensmall {
    cursor: pointer;
  }

  div#hdictsearchcontrols {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }

  div#customsearchqueryborderwrapper {
    min-width: auto;
  }

  div#customsearchquery div#searchinputlabel {
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
  }

  div#customsearchoptionsicon {
    display: inline;
    height: 24px;
    width: 24px;
    overflow: hidden;
  }

  div#customsearchoptions {
    display: none;
    padding-left: 0px;
    padding-top: 15px;
  }

  div#customsearchoptions div.dictionaryoption {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    font-size: 16px;
    -ms-flex-preferred-size: 250px;
        flex-basis: 250px;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #606060;
    -webkit-box-shadow: inset -1px -1px 1px #404040;
            box-shadow: inset -1px -1px 1px #404040;
  }

  div#customsearchoptions div.dictionaryoption label:hover {
    color: white;
  }

  div#customsearchoptions div#searchdropdownwrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  div#customsearchoptions div#searchdropdownwrapper div.form-group:first-of-type {
    margin-right: 0px;
  }

  div#searchresult, div#documentcontent
  {
    margin: 5px;
  }

  table.resultdoc
  {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 650px)
{
  div#siteheaderlinks {
    display: none;
  }

  div#hdicttopsubbanner {
   -webkit-box-pack: center;
       -ms-flex-pack: center;
           justify-content: center;
  }
}

@media (max-width: 500px)
{
  .hidewhensmall {
    display: none !important;
  }

  .displaywhensmall {
    display: block !important;
  }

  div#smallhowto {
    padding-top: 10px;
  }

  div#hdicttopsubbanner div#sitelogo #siteheader {
    font-size: 16px;
  }

  .rn
  {
    font-size: 12px;
  }
}
/*=============== Media Quesry [END] ===============*/
