/*
 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 */
#ReaderBodyDiv {
  height: 600px;
}
@media screen and (max-width: 800px) {
  #ReaderBodyDiv {
    margin: 0 15px;
  }
}
.lm_tabs {
  z-index: 1;
}
.lm_tabs .lm_tab {
  height: 20px !important;
  line-height: 20px;
  background: #e1e1e1 !important;
  color: #777777 !important;
}
.lm_tabs .lm_tab:hover,
.lm_tabs .lm_tab.lm_active {
  color: #888888 !important;
  background: #ffffff !important;
}
.lm_close_tab {
  height: 15px !important;
}
.lm_controls {
  top: 5px;
}
.lm_title {
  font-size: 14px !important;
  font-weight: bold;
}
.lm_header .lm_tabdropdown_list .lm_tab {
  height: auto;
}
.lm_header .lm_tabdropdown_list .lm_tab:last-of-type {
  border-bottom: 1px solid #cccccc;
}
.reader-view-panel {
  width: auto;
  background-color: white;
  height: 100%;
  position: relative;
}
@media screen and (max-width: 800px) {
  .reader-view-panel > div {
    padding: 5px;
  }
}
.terms-panel {
  display: flex;
  flex-direction: column;
}
.terms-panel .reader-tool-panel {
  padding: 10px 0;
  flex-basis: 50%;
  flex-shrink: 0;
  height: unset;
  overflow-y: auto;
}
.terms-panel .reader-tool-panel > * {
  padding: 0 10px;
}
.terms-panel #termsResult {
  border-top: 2px solid #E5E5E5;
}
.terms-panel h3 {
  font-size: 17px;
  font-weight: bold;
  margin: 1rem auto;
}
.reader-tool-panel {
  float: left;
  background-color: white;
  width: 100%;
  padding: 10px;
  height: 100%;
}
.reader-tool-panel#content,
.reader-tool-panel#search {
  overflow-y: scroll;
}
.reader-tool-panel ul {
  padding-left: 10px;
  font-weight: 600;
  list-style: none;
}
.reader-tool-panel a {
  color: #4c5b5b;
}
.reader-tool-panel a:hover,
.reader-tool-panel a:focus {
  color: #637676;
}
.content-container {
  min-height: unset !important;
  padding-bottom: 5px;
}
@media screen and (max-width: 800px) {
  .content-container {
    padding: 0 10px;
  }
}
.twitter-typeahead {
  width: unset !important;
}
.book-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.book-details .collapsible-details,
.book-details .collapsible-commentary {
  width: 100%;
}
.book-details .collapsible-details {
  padding: 0 1em;
}
.book-details button {
  border: none;
  background: none;
  width: auto;
  color: #4c5b5b;
  padding: 0;
  /* margin: 1.5rem 2rem 0 0; */
  font-size: 25px;
  display: inline-block;
}
.book-details button:hover {
  color: #637676;
}
@media screen and (max-width: 800px) {
  .book-details button {
    font-size: 30px;
    margin-top: 1rem;
    margin-right: 1.5rem;
  }
  .book-details button:first-of-type {
    margin-right: 0px;
  }
  .book-details button.display-details-button {
    float: left !important;
    margin: 2px 0 -2px;
  }
}
.button-text {
  max-width: 65px;
}
button:disabled {
  color: #999 !important;
  cursor: not-allowed;
}
.reader-settings-checkboxes-area {
  text-align: center;
  display: inline-block;
}
.reader-settings-checkboxes-area div {
  display: inline-block;
  margin-right: 5px;
}
.reader-settings-checkboxes-area div:last-of-type {
  margin-right: 0;
}
@media screen and (max-width: 800px) {
  .reader-settings-checkboxes-area div {
    margin-right: 2rem;
  }
}
@media screen and (max-width: 800px) {
  .reader-settings-checkboxes-area {
    display: block;
    margin-top: 1rem;
  }
}
.reader-settings-checkboxes-area input {
  display: none;
}
.reader-settings-checkboxes-area input:checked ~ .switch {
  background: #4c5b5b;
}
.reader-settings-checkboxes-area input:checked ~ .switch:before {
  left: 16px;
  background: #637676;
}
.reader-settings-checkboxes-area label {
  cursor: pointer;
  display: flex;
  max-width: 65px;
}
.reader-settings-checkboxes-area .switch {
  width: 35px;
  height: 15px;
  position: relative;
  display: inline-block;
  margin-bottom: 0px;
  background: #898989;
  border-radius: 100px;
  transition: all 0.3s ease;
}
.reader-settings-checkboxes-area .switch:before {
  position: absolute;
  left: -2px;
  top: -3px;
  display: block;
  width: 21px;
  height: 21px;
  border-radius: 100px;
  background: #eee;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05);
  content: '';
  transition: all 0.3s ease;
}
.reader-settings-checkboxes-area .switch:active:after {
  transform: scale(1.15, 0.85);
}
.title {
  display: inline-block;
}
.book-details .title {
  padding-left: 19px;
  text-align: left !important;
  max-width: calc(100% - 240px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.title.full {
  overflow: unset;
  text-overflow: initial;
  white-space: initial;
}
@media screen and (max-width: 800px) {
  .title {
    padding: 1rem 0 5px;
    max-width: calc(100% - 60px);
    font-size: 20px;
  }
  .title button {
    font-size: inherit;
  }
}
.hidden-content {
  display: none;
  transition: height 1s, visibility 0.65s, margin-bottom 1s;
  margin-bottom: 0px;
}
.hidden-content.visible {
  height: auto;
  margin-bottom: 25px;
}
.left {
  float: left !important;
}
@media screen and (max-width: 800px) {
  .reader-controls .tool-panel {
    display: flex;
    align-items: flex-start;
    margin: 0px !important;
    position: fixed;
    z-index: 2;
    left: -116.5px;
    top: 210px;
  }
  .reader-controls .tool-panel .buttons-container {
    background: #4c6b4b;
    margin: 0 !important;
    padding: 1em 5px;
    width: 116.5px;
    display: block;
  }
  .reader-controls .tool-panel button {
    color: white !important;
    display: block;
    margin: 10px 0 0 !important;
    width: auto !important;
    background: #4c6b4b !important;
    position: relative;
  }
  .reader-controls .tool-panel button.display-panel-button {
    padding: 5px;
    width: unset !important;
    box-shadow: 2px 2px 2px grey;
  }
  .reader-controls .tool-panel button:disabled {
    color: #ddd !important;
    cursor: not-allowed;
  }
  .reader-controls .tool-panel button:disabled:hover {
    color: #ddd !important;
  }
  .reader-controls .tool-panel button:first-of-type {
    margin-top: 0px !important;
  }
  .reader-controls .tool-panel button:hover {
    color: #eee !important;
  }
  .reader-controls .tool-panel button .button-text {
    font-weight: 600;
    color: inherit !important;
    display: inline-block !important;
    width: 65px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    margin: 0 5px;
  }
}
.reader-text-container .page-name {
  text-align: center;
  font-size: 1.1em;
  display: none;
}
.reader-text-container.show-notes .page {
  display: inherit;
}
.reader-text-container.show-notes .itj-notes {
  margin-left: 0.5cm;
  font-size: 14px !important;
  /* back to the Bootstrap default from .itj-page */
}
.reader-text-container.show-notes .itj-notes .itj-note {
  display: inherit;
  margin-bottom: 2px;
  margin-top: 2px;
  padding: 0;
  /* overrides a 5px definition from elsewhere */
}
.reader-text-container .itj-notes .itj-note {
  display: none;
}
.edition-note-wrapper {
  /* TODO: drop these old properties
  // flex-basis: 50%;
  min-width: 50%;
  // flex-grow: 1;
  padding: 0 5px;
  // border-right: @lineColor solid 2px;
  display: inline-block;
  */
}
.edition-note-wrapper .edition-note-text {
  overflow-y: scroll;
  max-height: 300px;
  text-align: justify;
  padding-right: 10px;
}
.edition-note-wrapper .grant {
  border-top: #e5e5e5 solid 2px;
}
/*
 XXX: just like .reader-text
TODO: … before they merge into one (a single box), hopefully
*/
.edition-note-text .text-content {
  max-width: 40rem !important;
}
.bib-table .bib-table-row {
  display: table-row;
}
.bib-table .bib-table-row .bib-table-cell {
  display: table-cell;
  text-align: left;
  padding-left: 20px;
}
.bib-table .bib-table-row .bib-label {
  font-weight: bold;
  font-size: 100%;
  color: black;
  padding-left: 0;
}
.book-detail-wrapper {
  display: inline-block;
  margin-left: 10px;
  overflow: hidden;
}
@media screen and (max-width: 800px) {
  .book-detail-wrapper {
    width: auto;
  }
}
.reader-audio-container {
  padding: 1rem;
}
.reader-audio-container h3 {
  margin: 0 50px 10px 0;
  display: inline-block;
}
.reader-audio-container #track-select {
  height: 2em;
  float: right;
  max-width: 100%;
}
.reader-audio-container .loading-audio {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.2);
  padding-top: 2em;
}
.reader-audio-container .audio-player-container {
  background-color: #eeeeee;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
}
.reader-audio-container .audio-player-container .control-buttons {
  padding-right: 1em;
}
.reader-audio-container .audio-player-container .control-buttons button {
  background-color: #eeeeee;
}
.reader-audio-container .audio-player-container .control-buttons button:hover,
.reader-audio-container .audio-player-container .control-buttons button:focus {
  background-color: #e1e1e1;
}
.reader-audio-container .audio-player-container .full-progressbar {
  height: 0.4em;
  min-width: 10em;
  margin: 0 1em;
  background-color: #bbbbbb;
  position: relative;
}
.reader-audio-container .audio-player-container .full-progressbar .current-progress {
  background-color: #637676;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}
@media screen and (max-width: 800px) {
  .reader-audio-container .audio-player-container {
    padding: 0 1em;
    width: 100%;
    flex-wrap: wrap-reverse;
    justify-content: space-between;
  }
  .reader-audio-container .audio-player-container .full-progressbar {
    width: calc(100% + 2em);
    margin: 0 -1em;
  }
}
.reader-audio-container .audio-text {
  min-height: 1em;
}
.reader-audio-container .audio-download {
  float: right;
  text-align: right;
}
.reader-audio-container .audio-download a.audio-download-href {
  border-radius: 5px;
  background: #4c5b5b;
  padding: 5px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: "Arial";
  margin-left: 0.25rem;
  margin-top: 0.25rem;
  display: inline-block;
}
.reader-audio-container .audio-download a.audio-download-href:hover {
  background-color: #637676;
  opacity: 1;
  cursor: pointer;
}
.loading :nth-child(n) {
  display: none;
}
.view-control {
  min-width: 310px;
  text-align: right;
  margin-top: 0.7rem;
}
.view-control .buttons {
  float: none;
  text-align: right;
  display: inline-block;
  margin: 0;
}
@media screen and (max-width: 800px) {
  .view-control {
    float: none;
    text-align: center !important;
    min-width: unset;
  }
  .view-control .buttons {
    display: block;
    text-align: inherit;
  }
}
.reader-controls {
  text-align: center;
}
.reader-controls .page-navigation-container-helper {
  margin-top: 2rem;
}
@media screen and (max-width: 800px) {
  .reader-controls .page-navigation-container-helper {
    margin: 0.5rem 0 1rem !important;
  }
}
.reader-controls .buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
}
@media screen and (max-width: 1400px) {
  .reader-controls .buttons-container .page-navigation-container-helper {
    order: 3;
    flex-grow: 1;
    min-width: 100%;
    margin-top: 0.5em;
  }
}
@media screen and (max-width: 800px) {
  .reader-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
.reader-controls:after {
  content: '';
  display: block;
  clear: both;
}
.reader-controls .buttons button {
  width: 65px;
  margin-left: 0;
}
@media screen and (max-width: 800px) {
  .reader-controls .buttons button {
    margin-left: 1rem;
  }
  .reader-controls .buttons button .glyphicon {
    font-size: 2.5em;
  }
}
.book-details .reader-controls .buttons {
  /* the basic icon button, no text */
}
.book-details .reader-controls .buttons button {
  width: unset;
  /* override the reader-controls rule above */
  margin: 0.5rem 1rem 0;
}
.book-details .reader-controls .buttons button.with-text {
  margin: 0.5rem 0.2rem 0;
}
.hidden {
  display: none;
}
@media screen and (max-width: 800px) {
  #book-info-modal .modal-title {
    display: inline-block;
    font-size: 18px;
  }
  #book-info-modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  #book-info-modal .modal-body {
    overflow-y: scroll;
    max-height: 400px;
  }
  #book-info-modal .modal-body .edition-note-wrapper {
    width: 100% !important;
    border: none;
    padding: 0px;
  }
  #book-info-modal .modal-body .edition-note-wrapper .edition-note-text {
    overflow-y: unset;
    max-height: none;
  }
}
@media screen and (max-width: 800px) {
  .regex-search-div .searchbar-button:nth-child(2),
  .regex-search-div .regexsearch-input-button {
    display: none;
  }
  .regex-search-div .regex-searchbar-inputs {
    margin-right: 90px;
  }
}
@media screen and (max-width: 800px) {
  .page-navigation-container-helper {
    float: left;
    padding: 4px 0 !important;
  }
  .page-navigation-container-helper .pagination-sm {
    margin: 0 !important;
  }
  .page-navigation-container-helper .pagination-sm .page,
  .page-navigation-container-helper .pagination-sm .more-pages {
    display: none !important;
  }
  .page-navigation-container-helper .pagination-sm .page.page-active,
  .page-navigation-container-helper .pagination-sm .more-pages.page-active {
    display: inline-block !important;
    min-width: unset;
  }
  .page-navigation-container-helper .pagination-sm .page.page-active a,
  .page-navigation-container-helper .pagination-sm .more-pages.page-active a {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 800px) {
  .page-input {
    float: right !important;
    margin: 0.5rem 0 1rem 1rem !important;
  }
}
@media screen and (max-width: 800px) {
  .fullscreen #ReaderBodyDiv {
    margin: 0;
    height: calc(100% - 170px);
  }
  .fullscreen #ReaderHeaderDiv {
    height: 115px;
  }
  .fullscreen .view-control,
  .fullscreen .tool-panel {
    display: none;
  }
  .tt-menu {
    width: calc(100% + 38px);
  }
}
.custom-glyphicon-fullscreen-off {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'><path d='M 427,723 H 127 q -21,0 -25,10.5 -4,10.5 10,24.5 l 94,94 -199,199 q -7,8 -7,18 0,10 7,18 l 106,106 q 8,7 18,7 10,0 18,-7 l 199,-199 94,94 q 14,14 24.5,10 10.5,-4 10.5,-25 V 773 Q 477,752 462.5,737.5 448,723 427,723 Z' /><path d='M 1073,723 H 773 q -21,0 -35.5,14.5 Q 723,752 723,773 v 300 q 0,21 10.5,25 10.5,4 24.5,-10 l 94,-94 199,199 q 8,7 18,7 10,0 18,-7 l 106,-106 q 7,-8 7,-18 0,-10 -7,-18 l -199,-199 94,-94 q 14,-14 10,-24.5 -4,-10.5 -25,-10.5 z'/> <path d='M 113,7 7,113 q -7,8 -7,18 0,10 7,18 l 199,199 -94,94 q -14,14 -10,24.5 4,10.5 25,10.5 h 300 q 21,0 35.5,-14.5 Q 477,448 477,427 V 127 Q 477,106 466.5,102 456,98 442,112 L 348,206 149,7 Q 141,0 131,0 121,0 113,7 Z'/> <path d='M 852,206 758,112 Q 744,98 733.5,102 723,106 723,127 v 300 q 0,21 14.5,35.5 Q 752,477 773,477 h 300 q 21,0 25,-10.5 4,-10.5 -10,-24.5 l -94,-94 199,-199 q 7,-8 7,-18 0,-10 -7,-18 L 1087,7 q -8,-7 -18,-7 -10,0 -18,7 z'/></svg>");
  width: 25px;
  height: 25px;
  background-size: contain;
  background-color: #4c5b5b;
  mask-size: 100% 100%;
}
.custom-glyphicon-fullscreen-off:hover {
  background-color: #637676;
}

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