/*
 XXX: changes to this file only apply if we run the SelectPortalTheme.ps1 script
      which copies the source file to ITJakub.Colors-selected.less
TODO: maybe we could symlink instead?
*/
/* https://coolors.co/4c6b4b */
/* #6b4b6c */
.dictionary-header {
  background-color: #4c6b4b;
  color: white;
  /* padding: .5rem 1rem; */
  min-height: 34px;
  font-weight: bold;
}
.dictionary-header #search-tabs *[id^='tab-'],
.dictionary-header > span,
.dictionary-header-buttons {
  padding: 0.5rem 1rem;
}
.dictionary-header > span {
  display: inline-block;
}
.dictionary-header #search-tabs *[id^='tab-'].active {
  background-color: #60885e;
}
.dictionary-subheader {
  margin-top: 1px;
}
.dictionary-header-buttons {
  float: right;
  /*margin-right: 2px;*/
}
.dictionary-header-buttons a,
.dictionary-header-buttons a:hover {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
}
.search-with-saved-word-area {
  /*padding: 5px;*/
}
.search-area {
  width: 100%;
  float: left;
  padding: 0;
  padding-right: 10px;
}
.short-search-area {
  width: 65%;
}
.saved-word-area {
  background-color: white;
  height: 100%;
  width: 35%;
  float: left;
  overflow: hidden;
}
.saved-word-area > .dictionary-header {
  height: 32px;
  padding: 5px 8px 4px 8px;
}
.dictionary-header span {
  vertical-align: middle;
  top: -1px;
}
.dictionary-selects {
  /* height: 5vh; */
  clear: both;
}
.dictionary-result-area {
  /*height: 75vh;*/
  clear: both;
  margin-top: 2rem;
}
.dictionary-result-word-search-list {
  background-color: white;
  min-height: 100%;
  width: 24%;
  width: calc(0% + 280px);
  min-width: 280px;
  max-width: 100%;
  float: left;
  position: sticky;
  top: 80px;
}
@media screen and (max-width: 991px) {
  .dictionary-result-word-search-list {
    float: none;
    width: auto;
    min-width: 0;
    margin-bottom: 1rem;
    position: static;
  }
}
.dictionary-result-word-search-list-body {
  position: relative;
  /*min-height: 450px;*/
  min-height: 250px;
  padding: 0.5rem 1rem 1rem;
  font-family: 'Charis SIL', 'Times New Roman', Times, serif;
}
.dictionary-result-word-search-list-body ul {
  padding: 0;
  list-style: none;
}
.dictionary-result-pagination {
  text-align: center;
  margin-bottom: 1rem;
}
.dictionary-result-pagination .pagination {
  margin: 1rem 3px 0 !important;
}
.dictionary-result-pagination:empty {
  margin-bottom: 0;
}
.dictionary-result-word-search-description-wrapper {
  margin-left: 280px;
}
@media screen and (max-width: 991px) {
  .dictionary-result-word-search-description-wrapper {
    margin-left: 0;
  }
}
.dictionary-result-word-search-description {
  background-color: white;
  margin-left: 2%;
  margin-left: calc(0% + 2rem);
  min-height: 100%;
  width: 74%;
  width: calc(100% - 2rem);
  /*
     XXX: floating of this entries box prevented the headwords list
          (.dictionary-result-word-search-list)
          from sticking to the top edge when scrolling

    float: left;
    */
}
@media screen and (max-width: 991px) {
  .dictionary-result-word-search-description {
    float: none;
    width: auto;
    margin: auto;
  }
}
.dictionary-result-word-search-description-body {
  padding: 0.5rem 0;
  /*padding: 5px;*/
  position: relative;
  /*min-height: 450px;*/
  min-height: 250px;
}
.dictionary-result-word-search-description-body hr {
  margin: 0.5rem 0;
}
.dictionary-result-word-search-list-body li {
  /*padding: 0 5px;*/
}
.dictionary-result-headword:hover {
  cursor: pointer;
  text-decoration: underline;
}
.dictionary-headword-highlight {
  background-color: yellow;
}
.dictionary-result-book-list {
  display: inline;
  margin-left: 0.5rem;
}
a.dictionary-result-headword-book {
  color: #60885e;
}
.dictionary-result-headword-favorite {
  float: right;
  cursor: pointer;
}
.dictionary-result-headword-favorite:hover {
  color: #8E6B00;
}
.saved-words-body {
  padding: 5px;
}
.saved-word {
  margin: 5px;
  background-color: #CC9900;
  padding: 5px;
  border-radius: 5px;
  border: solid 1px #8E6B00;
  display: inline-block;
  white-space: nowrap;
}
.saved-word-text {
  color: white;
  cursor: pointer;
}
.saved-word-text:hover {
  color: black;
  text-decoration: underline;
}
.saved-word-remove {
  cursor: pointer;
}
.saved-word-area-more {
  float: right;
}
.saved-word-area-more:hover {
  cursor: pointer;
}
.dictionary-entry-comments {
  float: right;
  margin-right: 15px;
  width: 200px;
  text-align: right;
}
.dictionary-entry-name {
  margin-left: 15px;
  margin-right: 215px;
}
.dictionary-entry-comments,
.dictionary-entry-name {
  margin-top: 10px;
}
.dictionary-entry-comments a,
.dictionary-entry-name a {
  color: #4c6b4b;
}
/*
.dictionary-result-headword-book seems to have a higher priority / specificity,
hence the !important
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascade/Specificity
*/
.ESSC {
  color: #0000ff !important;
}
.GbSlov {
  color: #00cc99 !important;
}
.MSS {
  color: #ff0000 !important;
}
.StcS {
  color: #731600 !important;
}
.loading-background,
.loading {
  background: url(../../../images/loading.gif) no-repeat top;
}
.loading-modal {
  margin-top: 10px;
  margin-bottom: 10px;
}
.dictionary-loading {
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
}
.loading-headword {
  position: sticky;
  top: 300px;
}
.dictionary-list-empty {
  text-align: center;
  margin-top: 100px;
}
@media print {
  .navbar,
  .footer,
  .container-header,
  .search-with-saved-word-area,
  .dictionary-selects {
    display: none;
  }
  body {
    padding: 0;
  }
  .module-content {
    margin: 0;
  }
  .dictionary-entry-comments,
  .dictionary-result-word-search-list,
  .dictionary-header-buttons {
    display: none;
  }
  .dictionary-entry-name {
    margin-left: 15px;
    margin-right: 15px;
  }
  .dictionary-result-word-search-description {
    width: 100%;
    margin-left: 0;
  }
  a:link:after,
  a:visited:after {
    content: normal;
  }
  .dictionary-entry-image-switch {
    display: none;
  }
}
#search-tabs {
  display: block;
  margin: 0;
}
#search-tabs a {
  padding: 4px 5px 6px 5px;
  padding: 0;
}
.tab-content > div {
  display: none;
}
/*
.dictionary-result-word-search-list .dictionary-header-tabs {
    padding: .5rem 1rem 0;
}
*/
.middle {
  vertical-align: middle;
}
.dictionary-header-button-middle {
  vertical-align: middle;
  margin-top: 5px;
}
.dictionary-header a {
  color: white;
}
.dictionary-header a:hover {
  /*color: black;*/
  opacity: 1;
}
.dictionary-header a:hover span:not([class]) {
  text-decoration: underline !important;
}
.dictionary-entry-description-container {
  min-height: 24px;
}
.dictionary-entry-description-container .footnotes-container {
  margin-top: 1em;
  margin-left: 1em;
  /*
         XXX: this overrides the rule in ITJakubStyle, meant only for editions,
              where there are further paragraphs beneath the footnotes container
         XXX: revise this rule if this might happen in dictionary entries too
        */
  margin-bottom: 0 !important;
}
.dictionary-entry-description-container .footnotes {
  /*
         XXX: this is also a dictionaries-specific (tailored) override
        */
  margin-bottom: 0 !important;
}
.dictionary-entry-image-switch {
  text-align: right;
  float: right;
}
.dictionary-entry-image.loading {
  min-height: 50px;
}
.dictionary-entry-image img {
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  padding-top: 6px;
}
.dictionary-entry-image-switch .btn-primary {
  background-color: transparent;
  border-color: #4c5b5b;
  color: #4c5b5b;
  margin: 0 15px 2px 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 0;
}
.dictionary-entry-image-switch .btn-primary:hover {
  background-color: #637676;
  /*border-color: #adadad;*/
  /*color: #333333;*/
  color: #FFF;
}
.dictionary-entry-image-switch .active {
  color: #fff;
  background-color: #4c5b5b;
  /*border-color: #337ab7;*/
  border: none;
}
.entry-load-error {
  padding-left: 15px;
  padding-right: 15px;
}
.entry-image-header {
  padding-left: 15px;
  padding-right: 15px;
  font-family: 'Charis SIL', 'Times New Roman', Times, serif;
  font-size: 120%;
  font-weight: bold;
  min-height: 30px;
  display: block;
}
.entryFree,
.entry {
  font-family: 'Charis SIL', 'Times New Roman', Times, serif;
  text-align: justify;
  /* ESSČ: paní */
  /*
    TODO: disable?
    NOTE: the Rešl dictionary only distinguishes content supplied by editors,
          i.e. regularized Czech text (in addition to non-regularized original
          Czech text)
    */
}
.entryFree:not(.nested_entry),
.entry:not(.nested_entry) {
  padding-left: 1rem;
  padding-right: 1rem;
  /*
        TODO: Bootstrap 4+ switches default font size from 14px to 16px so we’re
            basically there (14px times 120% is 16.8px, that’s close enough)
        */
  font-size: 120%;
}
.entryFree span[lang="cs"]:after,
.entry span[lang="cs"]:after {
  content: " ";
}
.entryFree span[lang="de"],
.entry span[lang="de"] {
  font-style: italic;
}
.footnotes-container {
  font-family: 'Charis SIL', 'Times New Roman', Times, serif;
}
/*
Remove margin between (lines with) ESSČ headwords but allow a margin after the
last headword (line)
*/
/* .ESSC_entry */
p.lemma {
  margin-bottom: 0;
  /*
     XXX: Bootstrap 3’s scaffolding.less sets this to 1.42 (20/14) so we kind of
          really need to override
    */
  line-height: 1.3;
}
/*
NOTE: (only) the last headword line gets a bottom margin
NOTE: VW1 has a 0.5em margin but line height was slightly smaller (maybe 1.1?)
      and the fonts are different…
*/
p.lemma:has( + :not(p.lemma)) {
  margin-bottom: 0.25em;
}
.MSS_entry.wordFamily .entry.mainEntry {
  display: inline;
  padding-left: 0;
  padding-right: 0;
  font-size: inherit;
  /* or, as well: revert, unset, large */
}
/* actually the BibliographyLine */
.dictionary-entry-name {
  font-family: 'Charis SIL', 'Times New Roman', Times, serif;
}
/* Rešl: reg-ularization (cf. VelNomQ) */
.cs-x-transcr {
  font-size: 95%;
  font-style: italic;
}
.bo,
.bold {
  position: relative;
  font-weight: bold;
  font-size: 100%;
  left: 0;
}
.sans-serif,
.sansserif {
  font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.note {
  /* WRONG, differing from intentions of authors of ESSČ: font-style: italic; */
  font-size: 85%;
}
.match {
  background-color: yellow;
}
.nonp,
.smaller {
  font-size: 80%;
}
.def {
  font-style: italic;
}
/*
https://stackoverflow.com/questions/21316313/how-can-i-indent-all-text-in-a-paragraph-except-the-first-line
 XXX: Chrome (as of version ~140) doesn’t support the 'hanging' keyword by default!
https://caniuse.com/css-text-indent
https://stackoverflow.com/questions/11809/how-to-create-an-all-browser-compatible-hanging-indent-style-in-css-in-a-span
*/
div.sense {
  padding-left: 1em;
  text-indent: -1em;
}
div.sense > div.entry {
  /*
    reset the value from div.sense to achieve no further indent in the nested
    entry
    */
  text-indent: 0 !important;
}
/*  XXX: div .sense didn’t make much sense (there’s always an entry/sense parent) */
.sense div.tooltip,
.sense div.popover {
  /* margin-left: 0; -- the Bootstrap tooltip overriddes the margin itself */
  text-indent: 0;
}
div.sense + div.note {
  margin-top: 0.5em;
}
span.source-abbr {
  cursor: pointer;
}
.cap {
  font-variant: small-caps;
}
.responsible {
  text-align: right;
  font-size: medium;
}
.it {
  font-style: italic;
}
.headword-form {
  text-decoration: underline dotted;
}
a.cf {
  /* override the blue (#337ab7) from scaffolding.less */
  color: black;
  text-decoration: underline;
}
/* XXX: typo (dicitonaries-search => dictionaries-search) */
.dicitonaries-search .searchbar-inputs {
  width: 100%;
}
.bib-listing-books-div.loader {
  margin-top: 30vh;
}
.bib-listing-books-div:not(.loader) {
  min-height: 58vh;
}
.bib-listing-books-div.loader + .bib-listing-pagination-div {
  margin-top: 25vh;
}
.bib-listing-empty {
  font-size: 18px;
  text-align: center;
  padding-top: 20vh;
}
ul.first-level {
  list-style-type: disc;
}
ul.first-level li {
  margin-left: 25px;
}
ul.second-level {
  list-style-type: circle;
}
ul.second-level li {
  margin-left: 20px;
}

/*# sourceMappingURL=dictionaries.css.map */
