.w .lb {
    display: none;
}

.hi[rend="align-center"],
.ab[rend="align-center"] {
    display: block;
    text-align: center;
}

.hi[rend="align-right"],
.ab[rend="align-right"] {
    display: block;
    text-align: right;
    ;
}

.hi[rend="justify"],
.ab[rend="justify"] {
    display: block;
    text-align: justify;
    ;
}
.hi[rend="sup"],
.seg[rend="sup"] {
    font-size: 0.3px;
    font-style: italic;
    vertical-align: super;

}

.hi[rend="small-caps"],
.ab[rend="small-caps"] {
    font-variant-caps: small-caps;
    font-style: normal;
}
*[rend="strikethrough"] {
    text-decoration: line-through;
}

*[rend="overwritten"] {
    font-weight: bold;
}

*[rend="underline"] {
    text-decoration: underline;
}

*[rend="italic"] {
    font-style: italic;
}

*[rend="normal"] {
    font-style: normal;
}

*[rend="erasure"] {
    background-color: rgb(70, 70, 70);
}

*[rend="cross"] {
    text-decoration: line-through;
}

*[rend="line_full_width"] {
    margin-bottom: 0.1rem;
    border-bottom: 1px solid black;
    display: block;
}

*[place="superscript"] {
    vertical-align: text-bottom;
}

evt-page :not(evt-apparatus-entry-detail) .head {
    font-weight: bold;
    display: inline-block;
    padding: 0.5em 0.1em 0.5em 0em;
}

evt-page :not(evt-apparatus-entry-detail) .closer {
    display: block;
}

evt-page :not(evt-apparatus-entry-detail) .signed {
    display: inline-block;
    /* font-style: italic; */
}

evt-page :not(evt-apparatus-entry-detail) .retrace {
    font-weight: bolder;
}

evt-page :not(evt-apparatus-entry-detail) .verse-num {
    color:black !important;
}

evt-page :not(evt-apparatus-entry-detail) .verse-num:before {
    border:none !important;
    background: none !important;
}

.metamark[rend="line"] {
    display: block;
    border: 1px solid black;
    margin-top:-1em;
    margin-right:70%;
}

evt-reading evt-note,
evt-addition evt-note {
  display: none;
}

.fw {
    display: block;
}

[type="pageNum"][place="top_right"] {
    float:right;
    margin-top: -1.5rem;
}


evt-edition-level-selector,
evt-msdesc-selector {
    display: none !important;
}
gridster-item:nth-child(5) evt-text-panel evt-panel .footer.card-footer.ng-star-inserted evt-button button {
    display: none !important;
}
gridster-item:nth-child(4) evt-image-panel evt-panel .panel-header.header.card-header.ng-star-inserted nav div:nth-child(1) div evt-ms-desc-selector ng-select div {
    display: none !important;
}*/
evt-main-header evt-main-menu div ul:nth-child(3) li:nth-child(2) {
    display: none !important;
} 
evt-main-header evt-main-menu div ul:nth-child(3) li:nth-child(3) {
    display: none !important;
}
evt-main-header nav a {
    font-size: 28px !important; 
    font-variant-caps: small-caps;
    display: flex; 
    align-items: center; 
}
evt-main-header nav a img {
    width: 50px !important;
    height: auto; 
}

.edition-font {
    font-family: Junicode, Times, serif;
    font-size: 1.1rem;
}

.edition-font {
    font-size: inherit !important;
}

.small-text {
    font-size: 0.8rem !important;
}

.large-text {
    font-size: 1.5rem !important;
}
body > evt-root > div > evt-image-text > gridster > gridster-item:nth-child(5) > evt-text-panel > evt-panel > div > div.panel-content.content.card-content.p-4 > div > evt-page > evt-content-viewer:nth-child(2) > evt-generic-element > evt-content-viewer:nth-child(2) > evt-paragraph > p > evt-content-viewer:nth-child(1) > evt-generic-element > evt-content-viewer:nth-child(13) > evt-text > span {
    font-size: 12px !important;
}

body > evt-root > div > evt-image-text > gridster > gridster-item:nth-child(5) > evt-text-panel > evt-panel > div > div.panel-content.content.card-content.p-4 > div > evt-page > evt-content-viewer:nth-child(2) > evt-generic-element > evt-content-viewer:nth-child(4) > evt-paragraph > p > evt-content-viewer:nth-child(1) > evt-generic-element > evt-content-viewer:nth-child(2) > evt-named-entity-ref > div > evt-named-entity > div > div {
    background-color: #d5bfa3  !important;
}

#ngb-nav-12-panel > div,
#ngb-nav-13-panel > div {
    background-color: d5bfa3 !important;
}

body > evt-root > div > evt-image-text > gridster > gridster-item:nth-child(5) > evt-text-panel > evt-panel > div > div.panel-content.content.card-content.p-4 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
}

body > evt-root > div > evt-image-text > gridster > gridster-item:nth-child(5) > evt-text-panel > evt-panel > div > div.panel-content.content.card-content.p-4 > div > evt-page > evt-content-viewer:nth-child(2) > evt-generic-element > evt-content-viewer:nth-child(4) > evt-generic-element > evt-content-viewer:nth-child(2) > evt-paragraph {
    line-height: 1 !important; 
}
body > evt-root > div > evt-image-text > gridster > gridster-item:nth-child(5) > evt-text-panel > evt-panel > div > div.panel-content.content.card-content.p-4 > div > evt-page > evt-content-viewer:nth-child(2) > evt-generic-element > evt-content-viewer:nth-child(6) > evt-generic-element > evt-content-viewer:nth-child(4) > evt-paragraph {
    line-height: 1 !important; 
}

body > ngb-modal-window > div > div > evt-modal > div > div > div > div.modal-body.p-0 > div > evt-global-lists > div > div.col-9.p-0 > evt-content-viewer > evt-named-entities-list > div > div.card-body.ne-list-body.p-0.m-0 > cdk-virtual-scroll-viewport > div.cdk-virtual-scroll-content-wrapper > evt-named-entity:nth-child(1) > div > div.card-header.ne-header .italic-text {
    *[rend="italic"] {
        font-style: italic;
    };
  }
  
.space {
    display: inline-block;
    width: 1em; 
}

.seg[rend="folio"] {
    font-size: 0.8rem;
    font-style: normal;
    text-align: right;
}
  
a.nav-link[role="tab"][aria-controls="ngb-nav-2-panel"] {
    display: none !important;
  }

  body > evt-root > div > evt-image-text > gridster > gridster-item:nth-child(5) > evt-text-panel > evt-panel > div > div.panel-content.content.card-content.p-4 > div > evt-page > evt-content-viewer:nth-child(2) > evt-generic-element > evt-content-viewer:nth-child(2) > evt-paragraph > p > evt-content-viewer:nth-child(3) {
    font-size: 8px !important;
  }

  body > evt-root > evt-main-header > evt-main-menu > div > ul:nth-child(3) > li:nth-child(2) > span {
    display: none !important;
  }

  .evt-tabs-container.vertical .evt-tabs-container_header {
    display: block;
    border-bottom: 1px solid #263238;
    color: #263238;
    font-variant: small-caps;
    text-align: left;
    padding: 10px;
    cursor: pointer
}


