/* Fonts */
@font-face {
    font-family: Noto Sans;
    src: url('fonts/NotoSans-Regular.woff');
}

@font-face {
    font-family: clanweb-book;
    src: url('fonts/clanweb-book.woff');
}

@font-face {
    font-family: clanweb-medium;
    src: url('fonts/clanweb-medium.woff');
}

/* set global variables */
:root {
    --white: #ffffff;
    --black: #000000;
    --text-color: #444444;
    --light-gray: #dee2e6;
    --lighter-gray: #f5f5f5;
    --light-gray-hover: #dddddd;
}

/* General */
html {
    height: 100%;
}

body {
    font-family: 'Noto Sans', helvetica, arial, sans-serif;
    color: var(--text-color);
    line-height: 160%;
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow-y: scroll;
    min-width: 320px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans', helvetica, arial, sans-serif;
    color: var(--secondary-color);
}

p {
    margin: 0;
}

input[type='radio'],
input[type='checkbox'] {
    accent-color: var(--main-color);
}

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.d-none {
    display: none !important;
}

div.active:focus {
    outline: none;
}

/* Scrollbar */
* {
    scrollbar-color: var(--main-color) var(--lighter-gray);
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: var(--lighter-gray);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--main-color);
}

/* Text selection */
::selection {
    background-color: #6e6869;
    color: var(--white);
}

/* Keyboard focus */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 1px solid;
}

.form-control:focus {
    box-shadow: none;
    border: 1px solid var(--secondary-color);
}

/* Icon fix */
.fa.fa-map:before {
    content: '\f279';
}

/* Cookie */
#cookies {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 200px;
    padding: 0 10px;
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--main-color);
    z-index: 100;
}

#cookies-buttons {
    display: flex;
    color: var(--white);
    justify-content: space-between;
    margin: 10px 0;
}

.cookie,
.cookie:hover,
.cookie:active,
.cookie:focus {
    color: var(--white);
}

/* to top */
#toTop {
    display: none;
    position: fixed;
    height: 50px;
    width: 50px;
    bottom: 60px;
    right: 60px;
    z-index: 99;
    background-color: var(--white);
    color: var(--main-color);
    text-align: center;
    line-height: 50px;
    border: 1px solid var(--main-color);
    border-radius: 2px;
    outline: none;
}

#toTop:hover {
    background-color: var(--main-color);
    color: var(--white);
    border-color: var(--white);
}

/* hide intern */
#solrdetails,
#details {
    display: none;
}

#resultHideIntern {
    position: absolute;
    right: 25px;
    height: 25px;
    background: transparent;
    border: none !important;
    font-size: 0;
    width: 25px;
    margin-top: 5px;
}

#detailHideIntern {
    float: right;
    height: 25px;
    background: transparent;
    border: none !important;
    font-size: 0;
    width: 25px;
    margin-top: 5px;
}

/* label colors */
.label-green,
.label-green-no-hover {
    background-color: #2f6a2f;
}

.label-green:hover {
    background-color: #187d18;
}

.label-red {
    background-color: #7d1818;
}

.label-blue,
.label-blue-no-hover {
    background-color: #2f3e6a;
}

.label-blue:hover {
    background-color: #18317d;
}

.label-gray {
    background-color: #6b6b6b;
}

/* Header */
.language.dropdown {
    display: none;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    padding: 4px;
}

/* Home */
.searchHomeContent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.searchHomeContent a:first-child {
    padding: 8px;
}

/* Search */
.navbar-form .input-group > .form-control {
    font-family: 'Noto Sans', helvetica, arial, sans-serif;
    width: auto;
}

#searchForm_type {
    max-width: 155px;
    font-size: 95%;
    letter-spacing: -0.025rem;
    padding-left: 0.25rem;
    padding-right: 0;
}

.searchform_lookfor #searchForm_lookfor {
    padding: 0 0.5em;
    min-width: 300px;
    background: transparent;
    border: none;
}

.searchform_lookfor {
    display: flex;
    border: 1px solid var(--black);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

#searchForm_lookfor:focus-visible {
    outline: none;
}

#searchForm_lookfor:focus {
    box-shadow: none;
}

#searchForm .input-group {
    display: flex;
}

.deleteicon {
    color: var(--white);
    background-color: var(--white);
    cursor: default;
    z-index: 4;
    font-size: 20px;
    margin-right: 5px;
    align-self: center;
}

/* Advanced search */
.fa-times,
.fa-plus-circle {
    color: var(--secondary-color);
}

fieldset {
    padding-right: 0;
}

.facet.help-link:hover {
    background-color: var(--main-color);
    color: var(--white);
    text-decoration: none;
}

legend {
    border: 0;
    color: var(--main-color);
    margin: 0;
    padding-bottom: 0.5rem;
    padding-top: 1rem;
}

#content {
    padding-bottom: 1rem;
}

.adv-search-clear-btn {
    float: right;
    display: flex;
    align-items: baseline;
}

.adv-search-clear-btn > input {
    padding-left: 2.5px;
}

.searchbox > .navbar-form,
.searchbox > .navbar-form > .adv_search_links {
    margin: 0;
    padding: 0;
}

.adv-search-clear-btn > i {
    color: var(--main-color);
}

/* Search results */
.result-body {
    padding-right: 0.75rem;
}

.media,
.media-left.medium {
    padding: 0 !important;
}

.record .mainbody.left {
    width: 100%;
    padding: 0;
}

.search-controls {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
}

.result-formats {
    margin: 8px 0;
}

.detail-content .status p {
    margin-bottom: 8px;
    margin-top: -8px;
}

.media-type {
    font-size: 90%;
    line-height: 1.2;
    margin-top: 4px;
    font-weight: normal;
    hyphens: auto;
}

/* Viewer Button */
.viewer-btn {
    background-color: var(--white);
    border-radius: 4px;
    color: var(--main-color);
    font-size: 12px !important;
    font-weight: bold;
    border: 1px solid var(--light-gray);
    border-top: 0;
    padding: 4px;
    box-shadow: 0 -6px transparent, 0 6px transparent, -4px 0 4px -4px rgba(0, 0, 0, 0.25), 4px 0 4px -4px rgba(0, 0, 0, 0.25);
    text-align: start;
}

.viewer-btn.collapsed {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.record-cover-link .fa-chevron-down {
    float: right;
    margin-top: 4px;
}

.record-cover-link .collapse.in,
.record-cover-link .collapsing {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.record-cover-link .collapse.in a,
.record-cover-link .collapsing a {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 6px;
    text-align: start;
    width: 100%;
    display: inline-block;
}

.record-cover-link .collapse.in a:not(:last-child),
.record-cover-link .collapsing a:not(:last-child) {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 4px;
}

.record-cover-link .collapse.in a:last-child,
.record-cover-link .collapsing a:last-child {
    padding-top: 4px;
}

/* Feedback x Actionbutton */
#feedback-button {
    font-size: 20px;
    padding-top: 5px;
}

.availabilityItem #feedback-button {
    padding-top: 0;
}

.availabilityItem .feedbackButton,
.availabilityItem .action-btn-text {
    margin-left: 10px;
    margin-top: auto;
    margin-bottom: auto;
}

.action-btn {
    display: inline-block;
    height: 35px;
    min-width: 160px;
    width: auto;
    border-radius: 0.25em;
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.action-btn-text {
    font-size: 90%;
    margin-left: 10px;
}

.availabilityItem .jop_item .action-btn-text,
.availabilityItem .external_item .action-btn-text,
.availabilityItem[data-list='1'] .online_access_item .action-btn-text {
    margin: 8px 16px;
}

.result-formats .action-btn:hover,
.openUrlControls a:hover {
    text-decoration: none !important;
}

/* Tooltip */
.coverTooltip {
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
}

.coverTooltip .tooltiptext {
    visibility: hidden;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 80%;
    font-weight: normal;
    padding: 5px 10px;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
}

.coverTooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.feedbackButton .coverTooltip .tooltiptext {
    bottom: initial;
    left: initial;
    transform: initial;
    top: -90%;
    margin-left: 5px;
}

/* Buttons */
:is(.btn-primary, .btn-default, button.toolbar-btn),
:is(.btn-primary, .btn-default, button.toolbar-btn):is(:hover, :focus, :active) {
    color: var(--white);
    outline: 0;
}

:is(.btn-primary, .btn-default, button.toolbar-btn),
:is(.btn-primary, .btn-default, button.toolbar-btn):active {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}

:is(.btn-primary, .btn-default, button.toolbar-btn):is(:hover, :focus) {
    background-color: var(--main-color-hover);
    border: 1px solid var(--main-color-hover);
}

button.toolbar-btn {
    margin: 0 2px !important;
    padding: 0.5em !important;
}

:is(.btn.more-btn.facet, .btn.less-btn.facet, .btn-link),
.btn-link:is(:hover, :focus, :active) {
    color: var(--main-color);
    outline: 0;
}

.close,
.close:is(:hover, :focus, :active) {
    opacity: 1;
    outline: 0;
}

.close:is(:hover, :focus) {
    background-color: var(--main-color) !important;
}

.btn.btn-default.js-facet-sort {
    background-color: var(--white);
    color: var(--black);
}

.btn.btn-default.js-facet-sort.active {
    background-color: var(--main-color);
    color: var(--white);
}

.btn.btn-default.js-facet-sort:hover {
    background-color: var(--main-color-hover);
    color: var(--white);
}

.record-nav .btn-type-save::before {
    content: none;
}

.bulkActionButtons {
    margin: 2em 0;
}

.btn.btn-default.lightbox-only {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: var(--white);
}

.btn.btn-default.lightbox-only:focus,
.btn.btn-default.lightbox-only:hover {
    background-color: var(--main-color-hover);
    border: 1px solid var(--main-color-hover);
    color: var(--white);
    outline: 0;
}

.detail-data .btn-bookbag-toggle a {
    padding: 7px 7px;
    border-radius: 4px;
    margin-top: 0px;
}

.btn-default:is(.focus, .active),
.open .btn-default.dropdown-toggle {
    color: var(--white);
    background-color: var(--main-color-hover);
    border-color: var(--main-color-hover);
}

.btn-default.active:is(:hover, :focus, .focus),
.open .btn-default.dropdown-toggle:is(:hover, :focus, .focus) {
    color: var(--white);
    background-color: var(--main-color-hover);
    border-color: var(--main-color-hover);
}

/* Facets */
#search-sidebar .text,
#search-sidebar .btn.more-btn.facet,
#search-sidebar .btn.less-btn.facet {
    font-size: 90%;
}

#search-sidebar .facet-group > button.title {
    font-family: 'clanweb-medium';
    font-weight: normal;
}

.facet-group .active,
.result .format,
.active-filters .filters .filter-value {
    background-color: var(--main-color);
    color: var(--white);
}

.facet-group .collapse {
    border-left: 1px solid var(--light-gray);
    border-right: 1px solid var(--light-gray);
}

.facet-group .facet {
    border-bottom: 1px solid var(--light-gray);
}

.facet-group .facet.facet.js-facet-item {
    padding: 0;
}

.facet-group .facet a,
.facet-group .facet.facet.js-facet-item .text {
    padding: 0.5rem;
}

.facet-group a.facet:hover {
    background-color: var(--main-color-hover) !important;
    color: var(--white);
    text-decoration: none;
}

.facet-group .title,
.form-control,
.pagination > li > a {
    border: 1px solid var(--light-gray);
}

.facet-group > .facet:first-child,
.facet-group .title,
.nav > li > a,
.navbar-nav > li > .dropdown-menu {
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.facet-group > .facet:last-child,
.facet-group .title.collapsed,
.facet-group .collapse.in,
.nav > li > a {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.label.label-default {
    background-color: var(--text-color);
}

a.search-filter-remove {
    color: var(--white);
    margin: 0;
    text-decoration: none;
}

.active-filters .search-filter-remove:hover {
    color: var(--white);
}

.sideFacetsDesktop {
    float: right;
    padding-right: 0;
}

.sideFacetsDesktop #search-sidebar {
    width: 100%;
    padding: 0;
}

.side-facets-container-ajax {
  margin-bottom: 80px;
}

.inner-wrapper-sticky {
    padding-bottom: 1px;
}

.resultsRow {
    width: 100%;
}

.resultList {
    padding-left: 0;
}

.template-dir-search .badge,
.template-dir-search .facet.active .badge {
    margin: 0.5rem;
    background-color: var(--white);
    color: var(--main-color);
    font-weight: normal;
}

.facet-checkboxes-load-indicator {
    position: absolute;
    right: 25px;
    top: -25px;
}

/* Detail view */
.main-title {
    font-weight: bold;
    margin: 0;
}

.record h1 {
    font-size: 1.1em;
}

.long-view h1 {
    font-weight: bold;
}

.detail-cover {
    margin: auto;
}

.detail-title {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.detail-data table {
    table-layout: auto;
}

.long-view table {
    table-layout: auto;
}

.detail-data table tr th,
.detail-data table tr td {
    font-weight: unset;
    line-height: 1.6;
    vertical-align: top;
}

.detail-data table tr th {
    width: 150px;
    hyphens: auto;
}

.detail-data table td a {
    font-weight: bold;
}

.detail-data table p:not(:last-child) {
    margin-bottom: 5px;
}

.holdings-tab-data {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0.5em 0 !important;
    margin: 0.5em 0;
    border-bottom: 1px solid var(--lighter-gray) !important;
}

.holdings-action-button-col .action-btn {
    line-height: 190%;
}

.holdings-action-button-col .actionButton {
    display: flex;
    flex-wrap: wrap;
}

.holdings-tab-data:last-child {
    border-bottom: none !important;
}

.holdings-action-button-col {
    display: inline-block;
}

.holdings-content-col {
    padding: 0 16px;
    font-size: 90%;
}

.record.result-ul .row.detail-data {
    margin-bottom: 1em;
}

.journal .holdings-action-button-col {
    display: none;
}

.journal .holdings-content-col {
    width: 100%;
}

.journal {
    margin-top: 1em;
}

.journal .action-btn {
    margin: 0.5em 0;
}

.risIcon {
    color: var(--main-color);
}

.subject-line:hover a {
    color: var(--secondary-color);
}

/* Detail view in result list */
.result .table-col,
.result .detail-data .col-sm-4 {
    width: 100%;
}

.result .table-col table {
    min-width: 100%;
}

.result .detail-data .col-sm-1,
.result .detail-title .detail-cover {
    display: none;
}

.long-view .tab-content .record-nav {
    display: block !important;
    margin-top: 10px;
}

.result.embedded .list-tab-content {
    padding: 0;
}

/* Detail view tabs */
.nav-tabs {
    border: 0;
}

.nav-tabs > li > a {
    border: 0;
    border-bottom: 1px solid var(--light-gray);
    margin-right: 0;
    border-radius: 0;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:is(:hover, :focus) {
    background-color: var(--white);
    border: 0;
    border-bottom: 1px solid var(--main-color);
    color: var(--main-color);
    font-weight: bold;
}

.nav-tabs > li.active > a:is(:hover, :focus) {
    background-color: var(--lighter-gray);
}

.nav-tabs > li > a:is(:hover, :focus) {
    background-color: var(--lighter-gray);
    border: 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--main-color);
    border-radius: 0;
}

table.citation.table.table-striped {
    table-layout: fixed;
}

/* Toolbar */
.toolbar-btn {
    margin: 0 !important;
    padding: 0.5rem 0.5rem;
}

.record-nav,
.action-toolbar,
.action-toolbar > .btn-bookbag-toggle > a,
.action-toolbar .permalink-record {
    margin: 0;
}

.record .action-toolbar {
    display: flex;
    flex-direction: column;
}

.record-nav .cart-add {
    margin-bottom: 0;
}

.record-nav .cart-add,
.record-nav .cart-remove {
    display: flex;
}

.list-tab-content.record .detail-data .action-toolbar {
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray-hover);
    justify-content: space-around;
}

.result .detail-data .action-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
}

.result .action-toolbar > * {
    margin-right: 5px;
}

.action-toolbar > * {
    margin-bottom: 5px;
}

.action-toolbar :last-child {
    margin: 0;
}

.bulk-checkbox > label {
    padding-left: 0.25rem;
    margin-right: 1rem;
}

.result-links i {
    font-size: 20px;
}

.toolbar-link {
    display: flex;
    width: 40px;
    height: 40px;
    float: left;
}

.toolbar-link:hover {
    text-decoration: none;
}

.toolbar-icon {
    margin: auto;
}

.record-nav .toolbar-icon {
    margin-right: 6px;
    margin-top: 5px;
}

.record-nav .toolbar-link {
    display: flex;
    width: auto;
    height: auto;
    color: var(--secondary-color);
    background-color: transparent;
}

.record-nav .toolbar-link:hover {
    background-color: var(--light-gray-hover);
}

/* Links */
a,
a:is(:hover, :focus) {
    color: var(--main-color);
    outline: 0 !important;
}

a:is(:focus-visible) {
    outline: 1px solid !important;
    text-decoration: none !important;
}

a.home-link:focus {
    outline: 1px solid var(--white) !important;
}

a,
.pagination > li > a {
    color: var(--main-color);
    text-decoration: none;
}

.pagination > .active > :is(span, span:hover),
.dropdown-menu > .active > :is(a, a:hover) {
    background-color: var(--main-color);
    border-color: var(--main-color);
    cursor: default;
    pointer-events: none;
}

#search-sidebar a:is(:hover, :focus),
.btn:is(.more-btn, .less-btn).facet:hover {
    background-color: var(--main-color-hover) !important;
    color: var(--white);
    text-decoration: none;
}

ul.pagination a:is(:hover, :focus) {
    background-color: var(--main-color-hover);
    border: 1px solid var(--main-color);
    color: var(--white);
    outline: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: left;
}

/* Library account */
.myresearch-menu {
    margin-bottom: 20px;
}

.myresearch-menu a {
    padding: 0.5em 0;
}

.myresearch-menu.account-menu a {
    padding-left: 0.5em;
}

.myresearch-menu i {
    padding-right: 0.25em;
}
.myresearch-menu a:is(:active, .active) {
    background-color: var(--main-color);
    color: var(--white);
    text-decoration: none;
}

.myresearch-menu a:is(:hover, :focus) {
    background-color: var(--main-color-hover);
    color: var(--white);
    text-decoration: none;
}

#myresearch-sidebar .badge {
    margin-right: 5px;
    border-radius: 12px;
    background-color: var(--white);
    color: var(--main-color);
}

#myresearch-sidebar .badge.overdue {
    color: red;
    padding: 5px;
}

:is(#renewals, #update_holds) .toolbar {
    display: flex;
    justify-content: space-between;
}

:is(#renewals, #update_holds) .search-controls {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: initial;
    width: auto;
}

:is(#renewals, #update_holds) .search-controls label {
    margin: 0 0.5rem 0 0;
}

:is(#renewals, #update_holds) .checkbox {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding-right: 0.5em;
}

:is(#renewals, #update_holds) .checkbox-select-all {
    position: unset;
    margin: 15px 12px 10px -20px;
}

:is(#renewSelected, #cancelSelected, #bottom_renewSelected, #bottom_cancelSelected) {
    margin: 0 20px;
    height: 100%;
}

.template-name-checkedout .search-header > .search-stats {
    width: 100%;
}

#update_holds .toolbar > .checkbox .btn-default[disabled]:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: var(--white);
}

#expire-date {
    margin-left: 1em;
}

.library_account_error,
.duedate_critical {
    color: #f00;
}

.library_account_error a {
    color: #f00;
    font-weight: bold;
}

.alert.alert-info a.ous-hint,
#login-dropdown .alert.alert-info a.ous-hint {
    font-weight: normal;
    color: var(--white);
    padding: 0;
}

.alert.alert-info a.ous-hint:hover {
    text-decoration: underline;
}

hr.ous-message-box {
    border-top: 1px dotted var(--white);
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Login */
#login-dropdown h3 {
    margin-left: 0.5rem;
}

.form-login > .form-group {
    margin-bottom: 0;
}

.activeCapsContainer {
    height: 20px;
    font-size: 0.9em;
}

.form-login .form-group.username {
    margin-bottom: 15px;
}

#activeCaps {
    float: right;
    color: #f00;
}

#content .form-login > .form-group,
#content .activeCapsContainer {
    width: 400px;
}

.account-links {
    margin-top: 25px;
    font-size: 0.9em;
}

.account-links :first-child {
    margin-right: 50px;
}

.account-links a:last-child {
    font-weight: bold;
}

.logout-text {
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
}

.form-login {
    margin-top: 20px;
}

.form-group:is(.username, .password) {
    position: relative;
    margin-bottom: 15px;
    border: solid 1px var(--light-gray);
    border-radius: 4px;
}

.form-group:is(.username, .password) input {
    display: block;
    height: 40px;
    background: transparent;
    transition: all 0.3s ease;
    padding: 0 15px;
    border: none;
}

.form-group:is(.username, .password) input:focus {
    border-color: var(--main-color);
}

.form-group:is(.username, .password) label {
    position: absolute;
    cursor: text;
    z-index: 2;
    top: 9px;
    left: 5px;
    font-weight: normal;
    background: #fff;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.form-group:is(.username, .password) input:focus + label,
.form-group:is(.username, .password) input:valid + label {
    font-size: 12px;
    top: -12px;
}

.form-group:is(.username, .password) input:focus + label {
    color: var(--main-color);
}

.form-group:is(.username, .password) input:invalid {
    box-shadow: none;
}

.input_box {
    display: flex;
    width: 100%;
}

.input_box i {
    font-size: 18px;
    width: 30px;
    align-self: center;
}

/* Alert */
.alert {
    margin-bottom: 10px;
}

.alert.alert-info {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.alert:is(.alert-info, .alert-success) a {
    color: var(--white);
    text-decoration: none;
}

.alert:is(.alert-info, .alert-success) a:hover {
    text-decoration: underline;
}

.alert:is(.alert-info, .alert-danger) a {
    font-weight: bold;
}

.alert.alert-danger a:hover {
    color: #8a211e;
}

.status .alert-warning {
    max-width: 50%;
}

.flash-message.alert-success {
    color: var(--white);
    background-color: var(--secondary-color);
}

.gotolist {
    font-weight: bold;
}

/* Load */
.facet-loading-overlay-label {
    background-color: var(--main-color);
    padding: 0.5rem;
}

/* Clipboard */
li .checkbox,
.cart-controls .checkbox > label {
    display: flex;
    line-height: 25px;
}

.cart-controls {
    flex-wrap: wrap;
}

.cart-controls .checkbox > label .checkbox-select-all {
    margin-top: 5px;
}

.cart-controls .checkbox > label span {
    margin-left: 20px;
    margin-bottom: 10px;
}

#modal .cart-controls .checkbox {
    padding-bottom: 0;
}

.checkbox label.record-checkbox {
    margin: auto 0;
    padding-right: 20px;
}

form.form-inline .cart-controls {
    display: flex;
    align-items: center;
}

#watchlistContent a {
    line-height: 1.2;
    margin: auto 0;
}

#watchlistContent hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

#watchlistContent .checkbox {
    display: flex;
    flex-direction: row;
}

.toolbar .btn-group {
    vertical-align: baseline;
}

.cart-controls button {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
}

.cart-controls button:hover,
.cart-controls button:focus,
.cart-controls #cart-delete-label:focus,
.cart-controls .btn-type-print:focus {
    background-color: var(--main-color-hover) !important;
    border: 1px solid var(--main-color-hover);
}

.cart-controls.clearfix {
    flex-direction: column;
    align-items: inherit !important;
}

.cart-controls.clearfix .toolbar {
    display: inline-flex;
    flex-wrap: wrap;
    margin-left: 0px;
    padding-bottom: 10px;
}

.cart-controls.clearfix .toolbar button {
    margin-top: 10px !important;
    margin-right: 10px !important;
}

.cart-controls .checkbox {
    order: 2;
}

.cart-controls .checkbox.pull-left.flip {
    margin-top: 20px;
    margin-bottom: 0;
}

li .checkbox,
.cart-controls .checkbox > label {
    line-height: 0;
}

.cart-controls .checkbox > label span {
    margin: 13px 20px;
}

/* Tables */
.table > tbody > tr > th,
.table > tbody > tr > td,
.search-history-table > tbody > tr > th,
.search-history-table > tbody > tr > td {
    border: none;
}

.solrdetails-tab > .table > tbody > tr > th {
    width: 20%;
}

.table-col table {
    margin-bottom: 0;
}

.tab-content .table {
    table-layout: auto;
}

.tab-content th {
    max-width: 11%;
}

.tab-content .citation.table,
.tab-content .table.truncate-field {
    max-width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    margin: 1em 0;
    padding: 1em;
}

.breadcrumb a {
    padding: 4px;
}

/* Help */
.alert.alert-info p {
    margin: 0;
}

/* Grouping */
#grouping {
    padding: 5px 0 15px 0;
}

#grouping label {
    margin: 0;
    padding-left: 5px;
}

.showMoreNames,
.showMoreLinks,
.results-group-toggle {
    width: 100%;
    display: block;
    background-color: var(--lighter-gray);
    border-radius: 4px;
    padding: 5px;
    margin-bottom: 5px;
}

.results-group-toggle:is(:hover, :focus:hover) {
    background-color: var(--light-gray-hover);
    text-decoration: none;
}

.results-group-toggle:focus {
    background-color: var(--lighter-gray);
    text-decoration: none;
}

.grouped-items {
    margin-bottom: 10px;
}

.grouped-items .panel-body {
    display: flex;
}

.grouped-items .title-cover {
    width: 104px;
}

.grouped-items .subrecord-content {
    width: 100%;
    margin-left: 15px;
}

/* Modal */
.modal-content button.close:hover {
    color: var(--white);
}

/* Favorites */
form.search-sort > label {
    margin-bottom: 0;
}

.favorites .myresearch-menu a:not(:last-child) {
    padding-left: 50px;
}

.favorites .myresearch-menu a:last-child {
    padding-left: 30px;
}

/* Hidden */
li.record-tab.usercomments,
li.record-tab.similar,
.searchtools,
fieldset.solr {
    display: none;
}

/* --------------------------------- */
/* --------------------------------- */
/* --------------------------------- */

/* unsorted for later on */
.code {
    background-color: var(--lighter-gray);
    border: 1px solid var(--text-color);
}

/* AvailabilityPlus */
.availabilityItem[data-list='0'] :is(.daia_order, .online_access_item) {
    flex-direction: column;
    max-width: 160px;
}

.availabilityItem[data-list='0'] :is(.daia_item, .jop_item, .external_item, .internal_item) {
    padding: 0;
    margin: 4px;
}

.availabilityItem[data-list='0'] .daia_item {
    display: flex;
    flex-direction: row;
}

.online_access {
    display: flex;
    flex-direction: column;
}

.availabilityItem[data-list='0'] .online_access_item {
    display: grid;
    grid-template-columns: auto 20px;
}

.availabilityItem[data-list='1'] .online_access_item {
    display: flex;
}

.availabilityItem[data-list='0'] .online_access_item > a {
    grid-column-start: 1;
    grid-column-end: 3;
}

.availabilityItem[data-list='0'] .online_access_item > span.action-btn-text {
    line-height: 1.2;
    grid-column-end: 2;
    order: 1;
}

.availabilityItem[data-list='0'] .online_access_item > img.open-access {
    margin-left: 0;
    margin-right: 4px;
    order: 2;
}

.online_access_item:not(:last-child) {
    margin-bottom: 5px;
}

.availabilityItem .status > div:not(:last-child) {
    border-bottom: 1px solid var(--lighter-gray) !important;
}

.daia_further_information {
    margin-right: 40px;
}

.daia_storage_callnumber {
    line-height: normal;
}

.availabilityItem .action-btn {
    line-height: 190%;
}

.availabilityItem .action-btn-text {
    margin: 8px 16px;
    line-height: 1.4;
    hyphens: auto;
    letter-spacing: -0.01em;
    order: 2;
}

.open-access {
    order: 1;
    width: 16px;
    height: 25px;
    margin-left: 16px;
    margin-top: auto;
    margin-bottom: auto;
}

.external_item,
.jop_item,
.dc {
    display: flex;
}

#tc_ncounter {
    width: 10px;
}

#tc_id, #tc_viewlinks {
    width: 100px;
}

#tc_status, #tc_source {
    width: 50px;
}

#tc_info {
    min-width: 200px;
    width: 250px;
}

#tc_expectedresult, #tc_actualresult {
    width: 500px;
}

/* Digitized Collections */
.tab {
    margin-top: 10px;
    width: 100%;
    order: 99;
}
