/* Fixes for default transformation of epidoc */

.textpart {
  width: max-content;
}

.row > h1 {
  font-family: 'Junicode';
  font-size: 2.5em;  
}

.epidoc-text > h1, .epidoc-text > p  {
  display: none;
}

h2 {
  font-size: 1.5em;
  font-family: 'Junicode';
  padding: 0.5em 0 0 0;
  margin: 1.5em 0 0 0;
  width: max-content;
  border-top: solid 1px  rgb(115, 32, 16, 0.30);
}

.epidoc-line {
  text-indent: -2em;
  padding-left: 2em;
  padding-bottom: 0.5em;
}

.highlight-button {
  position: absolute;
  left: 90%;
  top: 50px;
  background-color: #fff6;
  margin-right: 7px;
}

.highlight-button button {
  background-color: #003c8880;
  color: white;
  border-radius: 2px;
  border-color: rgba(0, 0, 0, 0.175);
  margin: 2px;
}

.highlight-button button:hover {
  background-color: #003c88b3;
}



