body {
  overflow: scroll;
}
.header,
.leftButtons,
.rightButtons,
.loadingMessage,
.fa,
.linkCount,
.linkCountDot,
.categoryColorLine,
.readerControls .sectionString,
.sheetReaderControls,
.connectionsPanel,
.connectionsHeader,
.collectionListingImageBox,
.bookMetaDataBox,
.cookiesNotification,
#bannerMessage,
#interruptingMessageBox,
.editorSidebarToggle,
.editorAddInterface,
.readerOptionsPanel,
details {
  display: none !important;
}
#s2 {
  position: static;
  height: auto;
  background-color: white;
  z-index: 99999;
}
.readerApp {
  position: static;
  height: auto;
}
.multiPanel #panelWrapBox {
  top: 0;
}
#panelWrapBox {
  height: auto;
  padding-top: 0;
}
.readerPanelBox {
  position: static;
  width: 100% !important;
  left: 0% !important;
  height: auto;
}
.readerControls {
  position: static;
  page-break-after: avoid;
  float: none !important;
  margin-bottom: 20px;
}
.readerControls {
  unicode-bidi: plaintext;
  box-shadow: none;
  background-color: white;
}
.readerControls .readerTextToc {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 28px;
  line-height: 1.3;
}
.readerContent {
  height: auto;
}
.readerPanel.bilingual.heLeft, .readerPanel.bilingual.heRight {
  padding: 0 20px;
  box-sizing: border-box;
}
.textColumn, 
.sheetContent,
.textRange.basetext,
.sheetsInPanel {
  overflow: visible;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none;
}
.sheetMetaDataBox {
  margin: 0;
}
.sheetsInPanel .sheetMetaDataBox .authorStatement,
.sheetsInPanel .sheetMetaDataBox .collectionStatement {
  margin-top: 4px;
}
.basetext .segment {
  position: relative;
}
.segment .segmentNumber {
  top: 0px !important;
}
.segment sup {
  display: none;
}
#printFooter {
  display: block !important;
  margin: 50px 0 0;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid #ddd;
  page-break-inside: avoid;
  font-size: 10px;
}
#printFooter img {
  height: 20px;
  vertical-align: -5px;
  margin-left: 4px ;
}
.interface-hebrew #printFooter img {
  margin: 0 auto;
  display: block;

}

.sheetItem .SheetSource.selected.segment, .sheetItem .SheetOutsideBiText.selected.segment {
  border-top: none;
  border-bottom: none;
  border-inline-end: none;
  margin-top: 2px;
  margin-bottom: 30px;
}

@page {
  size: auto;
  margin: 0.7in 0.5in;
} 
