/** This CSS file is included on every page. **/

/* Basic styles for the autocomplete list */
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    z-index: 99;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    padding: 0;
    left: 0;
    margin-left: 33px;
    width: auto;
}

.autocomplete-items p {
    padding-bottom: 5px;
    padding-top: 5px;
    margin-top: 3px;
    margin-bottom: 3px;
    cursor: pointer;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items p:hover {
    background-color: #e9e9e9;
}

/** Repeatable fields background. **/
.repeatable-bg {
    background-color: rgba(230, 230, 230, 0.4);
}

.placeholder-text { /* From Bootstrap. */
    color: var(--bs-secondary-color) !important;
    opacity: 1 !important;
}

/** Quilljs WYSIWYG editor styles. **/
.ql-container {
    min-height: 12em; /** Adding minimum height, since the editor sets the height only to content height. **/
    cursor: text; /** Needed for the area outside the text, but still inside the editor. **/
}

/** Elements that use alpine.js, with x-cloak should be hidden. **/
[x-cloak] {
    display: none !important;
}

/** Overwrites #object__content .card-body, which sets display: grid **/
div.container.audio-player > div.card > div.card-body {
    display: block !important;
}

.padding-bottom-5 {
    padding-bottom:5px !important;
}

.vertical-align--2 {
    vertical-align: -2px !important;
}

.color-blueish {
    color: #335492 !important;
}

.color-grayish {
    color: #9ca3af !important;
}

.pointer {
    cursor: pointer;
}

.lang-border {
    border: 1px solid #ced4da !important;
}

.height-40px {
    height:40px;
}

.view-image-max-width {
    max-width: 310px;
}

.facet-year-input {
    max-width:80px;
}

.facet-search {
    width: 18vw;
    margin-right: 8rem;
}
