body.item-set .metadata {
    width: 95%;
}

body.item-set #content .metadata~* {
    width: 100%;
    margin: auto;
}

.description {
    display: inline-block;
    width: 75%;
}

.liblogo {
    display: inline-block;
    position: relative;
    display: inline-block;
    float: right;
}

.blocks {
    width: 100%;
}

.translation,
.transcription {
    /* display: block; */
    float: left;
    width: 90%;
    font-size: 16px;
    /* max-width: 800px; */
    background-color: #efe6df;
    flex: 1;
    padding: 13px;
}

.top-trans-left {
    flex: 1 1 90%;
    padding: 13px;
    text-align: right;
    background-color: #fff;
    margin-top: 13px;
    padding-right: 37px;
}

.top-trans-right {
    width: 10%;
    flex: 1;
    max-width: 100px;
    display: flex;
    flex: 0 0 10%;
    background-color: #fff;
    margin-top: 13px;
}

button.orig-trans-btn {
    background-color: rgba(255, 255, 255, 0.0);
    /* text-decoration: underline; */
    /* text-decoration-color: #d41116; */
    font-weight: 800;
    color: #000;
    margin-top: 0px;
    margin-left: 13px;
    cursor: default;
}

button.orig-trans-btn.not-selected {
    color: #999;
    text-decoration: underline;
    text-decoration-color: #d41116;
    font-weight: 400;
    cursor: pointer;
}

.trans-btn-grp {
    width: 100%;
    text-align: right;
}

.translation>p:first-child,
.transcription>p:first-child {
    margin-block-start: 0em;
}

.thumbnails {
    float: right;
    width: 10%;
}

.viewOrigBtn {
    display: block;
    width: 100%;
    display: flex;
    margin-top: 13px;
}

.view-arrows {
    width: 21px;
    height: auto;
}

.view-full-width {
    width: 100%;
    /* max-width: 50px; */
    height: auto;
}

.orig-btn {
    width: 21px;
    margin-right: 8px;
    margin-top: 6px;
}

.trans-container {
    display: flex;
    /* row-gap: 20px; */
    /* column-gap: 20px; */
    /* align-items: flex-end; */
    justify-content: center;
    /* background-color: #efe6df; */
    /* padding-left: 13px; */
    align-items: stretch;
    flex-wrap: wrap;
}

.trans-container.selected {
    /* align-items: flex-start; */
}

.view-state-btns {
    max-width: 100px;
    display: flex;
    flex: 0 0 10%;
    justify-content: end;
    align-items: flex-end;
    padding: 10px 10px 0px 10px;
    flex-direction: column;
    margin-bottom: -4px;
}

.view-state-btns a {
    font-size: 16px;
}

.vController {
    width: 220px;
    /* Adjust the width as needed */
    height: 40px;
    /* Adjust the height as needed */
    background-color: #fff;
    /* Background color for the div */
    /* color: #333; */
    /* Text color */
    position: relative;
    overflow: hidden;
    /* text-align: right; */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45px 0);
    margin: 0px 0px -31px auto;
    justify-content: end;
    column-gap: 15px;
    display: none;
}

.add-flex {
    display: flex;
}

.adjust-for-untranscribed-selected {
    margin: -140px 0px -117px auto;
}

.adjust-for-untranscribed {
    width: 270px;
    padding-right: 8px;
    margin: -40px -1px -117px auto;
}

.vController-btn {
    display: inline-block;
    width: 30px;
    height: auto;
    padding-top: 5px;
    cursor: pointer;
}

.imageContainer {
    background-color: rgb(0, 0, 0);
    width: 0;
}

.fullWidthBtn {
    /* margin-bottom: 21px; */
}

.trans-inner-text {
    max-width: 800px;
    margin: 0px auto;
}

.osdViewer {
    min-height: 1000px;
    width: 100%;
    background-color: #000;
}

.blocks {}

.reference-block {
    margin-top: 40px;
}

#map {
    height: 400px;
}

header nav {
  float:right;
  display: inline-block;
}
header h1 {
  display: inline-block;
}

span.title  {
    display: table;
    margin: 0 auto;
}

.search-form-buttons {
    display: inline-block;

}
button.search-submit {
    background-color: #890505;
    border-radius: 20px;
    color: white;
}

select {
  display: inline-block;
}

fieldset.search-form {
  display: inline-block;
}