.content {
  font: normal normal 300 1em/1.6 var(--pb-serif-font-family);
  text-align: left;
}

#view1books {
  font-family: var(--pb-serif-font-family);
}

#view1intro {
  font-family: var(--pb-base-font-family);
}

#view1apparatus {
  font-family: var(--pb-base-font-family);
}

#klappentext-ed-h,
#klappentext-ed,
#klappentext-dig-h,
#klappentext-dig,
#klappentext-or-h,
#klappentext-or,
#klappentext-pr-h,
#klappentext-pr {
  font-family: var(--pb-base-font-family);
}

#klappentext-ed-h,
#klappentext-dig-h,
#klappentext-or-h,
#klappentext-pr-h {
  font: normal normal 300 1.5em/2.1 var(--pb-base-font-family);
  margin-left: 0;
  margin-right: 0;
}

#klappentext-ed,
#klappentext-dig,
#klappentext-or {
  font: normal normal 300 1em/2 var(--pb-base-font-family);
  margin-left: 0px;
  margin-right: 0;
}

#klappentext-dig li {
    margin-bottom: 1em;
    line-height: 1.5;
}

#klappentext-dig ul {
    margin-top: 0;
}


#klappentext-pr {
  margin-left: 0;
  margin-right: 0;
}

#klappentext-pr td {
  margin-bottom: 1em;
}

.volume-cover {
  width: 220px;
  height: auto;
  margin-right: 80px;
}

.volume-cover img {
  width: 220px;
  height: auto;
  padding-top: 10px;
}

.volume-cover-logo {
  background-image: var(--hw-series-logo);
  background-size: contain;
  background-repeat: no-repeat;
  width: 220px;
  height: 200px;
  padding-top: 10px;
}

.volume-description-container {
  display: flex;
  flex-direction: row;
  gap: 2vh;
}

/* breadcrumbs */

.breadcrumbs {
  margin: 0;
  padding: 6px 25px;
  width: 100%;
  position: fixed;
  z-index: 9;
}

.breadcrumbs pb-view {
  margin: 0;
  font: normal normal normal 0.6em/0.8 var(--pb-base-font-family);
  padding: 6px;
}

/* .breadcrumbs span {
    margin-left: 7px;
} */

/* weiter */

pb-navigation:not([disabled]) + #weiter {
    display: none;
}

.bottom-weiter {
    float: right;
    font-size: 0.6em;
    margin-top: 2em;
    text-decoration: underline;
    color: var(--hw-breadcrumbs-color);
    cursor: pointer;
}
      
/* main content */

main {
  display: flex;
  justify-content: center;
  margin: 46px;
  min-height: calc(100vh - 150px);
}

main > article,
main > .sitemap {
  flex: 2 0;
  max-width: 70vw;
  margin-left: 75px;
}

h1 {
  line-height: 2em;
}

#facsimile {
  height: 100%;

  /*calc(100vh - 250px);*/
}

#images {
  height: 100%;

  /*calc(100vh - 250px);*/
}

aside {
  flex: 1 0;
  min-width: 360px;
  max-width: 494px;
  margin-left: 30px;

  /* min-width: 360px;
    max-width: 480px;
    margin-right: 0px;
    /* height: var(--pb-view-height); 
    overflow: auto;

    --pb-highlight: 
        display: block;
        width: 95%;
        padding: 0 8px;
    }; */
}

/*main*/

pb-tabs {
  position: fixed;
  width: calc((100vw - 175px) / 3);
  min-width: 360px;
  max-width: 494px;
  top: 194px;
  height: 458px;
}

paper-tab {
  font-size: 0.7em;
  font-weight: normal;
  line-height: 0.9;
  letter-spacing: 0.6px;
  font-family: var(--pb-base-font-family);
  text-transform: uppercase;
}

.hw-tabs {
  height: 408px;
  overflow-y: scroll;
  margin-top: 0; /* Assicura che non ci sia margine superiore */
  scroll-snap-align: start;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hw-tabs::-webkit-scrollbar {
  display: none;
}

.hw-tabs pb-view {
  margin: 20px;
}

.hw-tabs > .tei-div3 {
  padding: 20px;
}

.hw-tabs img {
  width: 100%;
}

#index-tab {
  font-family: var(--pb-base-font-family);
}

#index-tab p {
  margin: 0;
}

.footnotes {
  font-family: var(--pb-serif-font-family);
}

#facsimile-manifest,
#image-manifest,
#ednote,
#transcriptionnote {
  font: normal normal 300 0.8em/1.5 var(--pb-base-font-family);
}

#transcriptionnote {
  margin: 20px;
}

@media (max-width: 941px) {
  .volume-description-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .volume-cover {
    margin-right: 0;
    margin-bottom: 3%;
  }

  .volume-overview-main {
    padding: 23px;
  }
  #klappentext-dig-h,
  #klappentext-ed-h,
  #klappentext-or-h,
  #klappentext-pr-h {
    text-align: center;
    font: normal normal 300 24px/1.8 var(--pb-base-font-family);
  }
}
