:root {
    --lila: #685e83;
    --sarga: #e8b96b;
    --hatter: #faf8f4;
    --szurke: #f1f1f1;
}

body {
    font-family: Roboto;
    --bs-danger: var(--sarga);
}

body>div.main {
    min-height: 600px;
}

header {
    background-color: var(--lila);
    font-family: 'Titillium Web';
}

header .navbar-brand {
    font-size: 1.5rem;
}

header .nav.navbar-nav button {
    font-size: 1.2rem;
}

header .btn-link {
    --bs-btn-hover-color: #eee;
}

header .nav.navbar-nav button.dropdown-toggle:hover,
header .nav.navbar-nav button.dropdown-toggle:focus {
    color: var(--bs-danger);
    background-color: transparent;
    outline: none;
}

.navbar a.navbar-brand {
    padding: 0;
    margin: 8px 20px 8px 0;
    background-image: none;
    width: auto;
    color: white;
    text-decoration: none;
}

.navbar a.navbar-brand img {
    margin-right: 25px;
    height: 100%;
}

.breadcrumbs {
    background-color: var(--hatter);
    border-bottom: 1px solid #f7eeee;
}

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

select option {
    font-family: Arial, Helvetica, sans-serif;
}

#content .searchHomeContent {
    height: auto;
    background-image: url("../images/hatter.webp");
    background-position: center center;
    background-size: cover;
    color: black;
}

#content .searchHomeContent::after {
    content: none;
}

.search-home-facets {
    padding: 10px;
}

#search-wrapper {
    background-color: white;
    border-radius: 0 0 4px 4px;
}

.search-type {
    display: flex;
    gap: 10px;
    justify-content: center;
    background-color: var(--szurke);
    color: black;
    text-transform: uppercase;
}

.search-type a {
    display: block;
    color: black;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    text-decoration: none;
}

.search-type a.active {
    border-bottom: 2px solid var(--sarga);
}

.searchHomeContent #searchForm {
    padding: 20px;
}

.searchHomeContent .searchForm-inputs {
    display: flex;
    gap: 10px;
}

.searchHomeContent #searchForm_type {
    flex-basis: 300px;
    margin-bottom: 0;
}

.searchHomeContent .searchForm-query {
    flex-basis: 300px;
    flex-grow: 1;
}

.searchHomeContent #searchForm_lookfor {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
}

.home-facet h2 {
    font-family: 'Titillium Web';
    font-size: 2rem;
    margin: 1rem 0 2rem 0;
}

.home-facet-list > li {
    margin-bottom: 10px;
}

.home-facet-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 25px;
    margin-bottom: 25px;
}

.home-collection-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-basis: 250px;
    flex-grow: 1;

    min-width: 200px;
    max-width: 500px;
    height: 140px;

    padding: 5px 10px;

    font-family: 'Titillium Web';
    font-weight: 500;
    font-style: normal;
    font-size: 1.3rem;
    color: #000;
    text-decoration: none;

    background: var(--szurke);
    border: 1px solid rgba(230, 230, 230, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.home-collection-link:hover {
    text-decoration: none;
    color: #ae7c1b;
    background: rgba(174, 124, 27, 0.05);
}

.home-collection-link.long {
    cursor: default;
    min-width: 320px;
}
.home-collection-link.long:hover {
    color: #000;
}
.home-collection-link.long a:hover {
    color: #ae7c1b;
}
.home-collection-link .fa {
    font-size: 14px;
}
@media screen and (max-width: 590px) {
    .home-collection-link {
        min-height: 80px;
        height: auto;
        font-size: 1.2rem;
    }
}

body.template-name-advanced>.breadcrumbs {
    display: none;
}

body.template-name-advanced>.main {
    padding-top: 1rem;
}

#advSearchForm .mainbody {
    padding-top: 0;
}

#advSearchForm .search-type {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .searchHomeContent .searchForm-inputs {
        flex-wrap: wrap;
    }
}

#footer-wrapper {
    background-color: black;
    color: white;
    font-family: 'Titillium Web';
    font-weight: 600;
}

footer h5 {
    display: inline-block;
    margin-top: 0;
    padding-right: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 3px solid #aaa;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover,
footer a:active {
    color: white;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    display: block;
    padding: 3px 0;
}

.sidebar .facet.active {
    border-color: var(--sarga);
    background-color: var(--sarga);
}

.record .media {
    background: var(--hatter);
    padding-top: 10px;
    margin-bottom: 20px;
}

.nav>li>a:hover,
.nav>li>a:focus {
    outline: none;
    background-color: var(--hatter);
    color: black;
}

.sidebar {
    background-color: var(--szurke);
}

.record-list mark {
    background-color: var(--sarga);
}
