.form-search {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    flex-grow: 2;
    flex-shrink: 1;
    max-width: 700px;
    margin: 0px auto;
}

.field .field-meta {
    display: none;
}

.form-search button.search-submit {
    padding: 5.5px 7.5px;
    text-transform: uppercase;
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-height: 10vh; */
    width: 100%
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 100;
}

#output {
    margin-top: 55px;
}

.keywords-doc-title {
    margin-top: 89px;
}

.loading-message {
    font-size: 1.5em;
    color: #999;
    position: relative;
}

dt {
    font-size: 13px;
    text-transform: uppercase;
}

.transcribed-span {
    font-size: 13px;
    text-transform: uppercase;
}

.map-effect {
    filter: saturate(69%) contrast(37%) hue-rotate(350deg) brightness(147%);
    /* filter: saturate(25%) contrast(125%) hue-rotate(0deg) brightness(105%); */
    /* 			filter:saturate(100%) contrast(100%) hue-rotate(0deg) brightness(100%);; */
}

.wrapper-lib {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: auto;
    flex-direction: row;
    margin-bottom: 60px;
    gap: 10px;
}

.logo-lib {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: flex-start;
    width: 16%;
}

.logo-lib-img {
    max-height: 300px;
    margin-bottom: 21px;
}

.description-lib {
    display: block;
    /* justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column; */
    width: 75%;
}

.lib-caption {
    color: #666;
    font-size: 90%;
    line-height: 20px;
}

.lib-image-holder {
    float: right;
    width: 50%;
    margin-left: 21px;
}

.ripple {
    position: relative;
    width: 10px;
    height: 10px;
    /* max-width: 25px; */
    /* max-height: 25px; */
}

.ripple::before,
.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #d41116;
    opacity: 0;
    animation: ripple 3s infinite;
}

.ripple::after {
    animation-delay: 1.5s;
}

@keyframes ripple {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

body.item-set .metadata {
    width: 100%;
}

.item-set-items ul {
    padding-inline-start: 0px;
}

h2 .title {
    font-weight: 400;
    font-size: 30px;
    width: 100%;
}

#search-page h2 .title {
    font-size: 60px;
}

#search-page h2 {
    text-align: center;
}

header nav ul li.active {
    font-weight: 400;
}

header a {
    /* text-decoration: none; */
    text-decoration: none;
    color: #d41116;
}

header a:link {
    /* text-decoration: none; */
    text-decoration: none;
    color: #d41116;
}

header a:visited {
    color: #d41116;
}

header a:active,
header a:hover {
    color: #d41116;
    text-decoration: underline;
    text-decoration-color: #606060;
}

body.item-set #content .metadata~* {
    width: 100%;
    margin: auto;
}

.description {
    display: inline-block;
    width: 75%;
}

.greyed-out-text {
    color: #999;
}

.liblogo {
    display: inline-block;
    position: relative;
    float: right;
    width: 16%;
    margin-left: 2%;
}

.liblogo p {
    margin-top: 0em;
    margin-bottom: 0em;
    color: #999;
    text-transform: uppercase;
    font-size: 13px;
}

.liblogo-wrapper-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-direction: row;
    gap: 21px;
}

.liblogo-wrapper-col {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    flex-direction: column;
}

.blocks {
    width: 100%;
}

.translation,
.transcription {
    /* display: block; */
    float: left;
    width: 90%;
    font-size: 17px;
    line-height: 34px;
    /* max-width: 800px; */
    background-color: #efe6df;
    flex: 1;
    padding: 13px 13px 13px 34px;
}

.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: 600;
    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: start;
    align-items: flex-end;
    padding: 20px 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 -10px 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: 277px;
    padding-right: 16px;
    margin: -40px -15px -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;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 80vh
}

.imageContainer-init {
    justify-content: flex-start;
}

.imageContainer-after {
    justify-content: flex-end;
}

.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;
    width: 75%;
}

.highlight {
    background-color: #d44d1136;
    font-weight: bold;
}

#loading {
    text-align: center;
    padding: 10px;
    display: none;
    height: 800px;
    font-size: 1em;
    /* row-gap: 10px; */
    column-gap: 25px;
}

@media screen and (min-width: 800px) {
    th,
    td {
        border-bottom: 0px solid #ababab;
    }
}

@media (max-width: 768px) {
    .readmore {
        max-width: 100%;
    }
    .description {
        display: inline-block;
        width: 100%;
    }
    .liblogo {
        position: relative;
        float: left;
        width: 100%;
        margin: 21px 0px;
    }
    .liblogo img {
        width: 50%;
        float: left;
    }
    .lib-image-holder {
        float: left;
        width: 100%;
        margin-left: 0px;
    }
    .logo-lib {
        width: 33%;
    }
    .wrapper-lib {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .description-lib {
        width: 100%;
    }
    #map {
        width: 100%;
    }
}