/*----------------------------------------------------------------------
colors
----------------------------------------------------------------------*/

:root {
    --black: #000000;
    --red: #B4192D;
    --purple: #5F1E55;
    --petrol: #006978;
    --lilac: #B478B4;
    --white: #FFFFFF;
    --iceblue: #96BEE6;
    --sage: #9BBEA0;
    --lightblue: #DFEBF8;
}

.iceblue {
    filter: invert(77%) sepia(44%) saturate(609%) hue-rotate(180deg) brightness(95%) contrast(89%);
}

.petrol {
    filter: invert(21%) sepia(82%) saturate(2345%) hue-rotate(168deg) brightness(92%) contrast(101%);
}


/*----------------------------------------------------------------------
fonts
----------------------------------------------------------------------*/

/* Inter Regular */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Inter-Regular.ttf') format('truetype');
}

/* Inter SemiBold */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/Inter-SemiBold.ttf') format('truetype');
}

/* Source Serif 4 Regular */
@font-face {
    font-family: 'Source Serif';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/SourceSerif4-Regular.ttf') format('truetype');
}

/* Source Serif 4 Bold */
@font-face {
    font-family: 'Source Serif';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/SourceSerif4-Bold.ttf') format('truetype');
}



/*----------------------------------------------------------------------
global structure & normalize
----------------------------------------------------------------------*/

body {
    margin: 0 auto;
    border: 0 none;
    padding: 0;
    color: var(--black);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p, form, img, legend, ul, ol, li, h2, h3, h4, h5, h6, dl, dt, dd {
    margin: 0;
    border: 0 none;
    padding: 0;
}

a,
.icon-link__label {
    color: var(--petrol);
    text-decoration: none;
}

a:hover,
a:hover .icon-link__label {
    color: var(--petrol);
    text-decoration: underline;
}

.round {
    border-radius: 50%;
}



/*----------------------------------------------------------------------
header
----------------------------------------------------------------------*/

header {
    background: var(--lightblue);
}

.banner {
    background: var(--white);
    box-shadow: 0 -2px 8px silver;
    color: var(--black);
    padding-top: .8rem;
}

header a,
header .nav a,
header button.dropdown-toggle {
    color: var(--black);
    line-height: 28px;
}

.banner .navbar-brand {
    background-image: url("../images/LogoS.svg");
    height: 60px;
}

@media (min-width:768px) {
    .banner .navbar-brand {
        height: 100px;
    }
}


/*----------------------------------------------------------------------
footer
----------------------------------------------------------------------*/

.footer-wrapper {
    background: var(--petrol);
}

footer,
footer a {
    color: var(--white);
}

footer a:hover {
    color: var(--white);
}

footer .legal {
    margin-top: 4rem;
    margin-bottom: 3rem;
    font-family: 'Source Serif', serif;
}

footer .branding {
    margin-top: 1rem;
    width: 220px;
    display: block;
}

footer .legal .footer-column:last-child {
    position: relative;
}

footer .legal .footer-column .bottom {
    position: absolute;
    bottom: 0;
}

footer .legal .footer-column .bottom a {
    padding: 10px;
}

/*----------------------------------------------------------------------
Imprint and Privacy
----------------------------------------------------------------------*/

.grid-layout {
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.grid-layout .row::before {
    content: '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .';
    margin: 0 15px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 2px;
}

.grid-layout .row {
    display: flex;
    flex-wrap: wrap;
}

.grid-layout .row .col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 5px 15px;
}

@media only screen and (min-width: 768px) {
    .grid-layout .row .col:first-of-type {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .grid-layout .row .col:last-of-type {
        flex: 0 0 75%;
        max-width: 75%;
    }
}



/*----------------------------------------------------------------------
search form
----------------------------------------------------------------------*/

@media (min-width:768px) {
    #searchForm_lookfor {
        max-width: none;
        width: 25%;
    }
}

@media (min-width:1200px) {
    #searchForm_lookfor {
        max-width: none;
        width: 40%;
    }
}

.btn-primary {
    background: var(--lilac);
}

.btn-primary:hover {
    color: var(--lilac);
    border-color: var(--lilac);
}

#searchForm .btn-link {
    color: var(--black);
    text-decoration: none;
    text-shadow: none;
}

#searchForm .btn-link:hover {
    color: var(--black);
    text-decoration: underline;
}


/*----------------------------------------------------------------------
home
----------------------------------------------------------------------*/

.template-name-home .main,
.template-name-home .main .container {
    background: var(--lightblue);
}

.template-name-home .main {
    overflow: hidden;
}

.searchHomeContent {
    background: none;
    box-shadow: none;
    height: auto;
    padding-top: 2rem;
}

.searchHomeContent::after {
    display: none;
}

#search-home-banner {
    margin-top: 50px;
    height: 21em;
    position: relative;
}

#search-home-banner p {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
}

#search-home-banner .img {
    position: absolute;
    height: 13em;
    width: 13em;
}

#search-home-banner .img img {
    max-height: 100%;
    max-width: 100%;
}

#search-home-banner .img:first-child {
    left: -8em;
}

#search-home-banner .img:nth-child(2) {
    left: 20vw;
    margin-left: -100px;
}

#search-home-banner .img:nth-child(3) {
    right: -8em;
}

#search-home-banner .img:nth-child(4) {
    right: -20em;
}

#search-home-banner .img:nth-child(5) {
    right: -25em;
}

#search-home-banner .img img {
    position: absolute;
    top: 0;
}

#search-home-banner .img h1 {
    position: absolute;
    top: 20%;
    padding: 0 25px;
    font-size: 23px;
}

#search-home-banner .img h2 {
    position: absolute;
    font-size: 18px;
    top: 50%;
    padding: 0 25px;
}


@media (min-width:768px) {
    #search-home-banner {
        height: 27em;
        margin-top: 30px;
    }

    #search-home-banner p {
        padding: 1em;
    }

    #search-home-banner .img {
        position: absolute;
        height: 20em;
        width: 20em;
    }

    #search-home-banner .img:first-child {
        left: -15em;
    }

    #search-home-banner .img:nth-child(2) {
        left: 5em;
    }

    #search-home-banner .img:nth-child(3) {
        right: -5em;
    }

    .searchHomeContent {
        padding-top: 0;
        padding-bottom: 15rem;
    }

    #search-home-banner .img h1 {
        position: absolute;
        top: 25%;
        padding: 0 35px;
        font-size: 28px;
    }

    #search-home-banner .img h2 {
        position: absolute;
        font-size: 23px;
        top: 50%;
        padding: 0 35px;
    }

}

@media (min-width: 1024px) {
    #search-home-banner .img:nth-child(3) {
        right: 5em;
    }
}


/*----------------------------------------------------------------------
result list
----------------------------------------------------------------------*/

.search {
    margin-top: 2rem;
}

.active-filters .reset-filters-btn:hover {
    color: var(--black);
}

.adv_search_terms,
.filters-title {
    color: var(--black);
}

.result {
    border-bottom: none;
    position: relative;
}

.result::after {
    position: absolute;
    bottom: 0;
    content: ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .";
    /* letter-spacing: 6px; */
    width: calc(100% - 16px);
    margin-bottom: -.5rem;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    font-size: 1rem;
}


.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    background: var(--petrol);
    border-color: var(--petrol);
}

.pagination>li>a.page-prev,
.pagination>li>span.page-prev,
.pagination>li>a.page-next,
.pagination>li>span.page-next {
    color: var(--petrol);
}

.sidebar a.facet:hover,
.sidebar .facet.checkbox:hover {
    background-color: var(--iceblue);
}

#LibrarySelector {
    margin-top: 1rem;
}

#LibraryData {
    display: none;
}

.library-item-selected {
    background: var(--petrol);
    color: white;
}


/*----------------------------------------------------------------------
detail view
----------------------------------------------------------------------*/

a.separate .icon-link__label {
    font-style: italic;
}

.staff-view th {
    width: 200px;
}


/*----------------------------------------------------------------------
on screen keyboard
----------------------------------------------------------------------*/

#simple-keyboard-toggler {
    line-height: 20px;
}

header #simple-keyboard-toggler {
    line-height: 28px;
}

.simple-keyboard {
    bottom: 0;
    color: black;
    display: none;
    left: 0;
    position: fixed;
    z-index: 1;
}

.simple-keyboard.display {
    display: block;
}

.simple-keyboard .hg-button.icon {
    font-family: "FontAwesome";
}

.simple-keyboard .hg-button.primary {
    background-color: #007aff;
    color: white;
}

.simple-keyboard .languageToggler {
    max-width: 3em;
    position: relative;
}

#languageMenu {
    background: #ececec;
    border-radius: 5px;
    bottom: calc(100% + 4px);
    display: none;
    padding: 8px;
    position: absolute;
    right: 0;
}

.simple-keyboard.displayLanguageSelection #languageMenu {
    display: block;
}

.simple-keyboard.displayLanguageSelection {
    background: #999;
}

.simple-keyboard.displayLanguageSelection .hg-button:not(.languageToggler) {
    background: #999;
    filter: blur(1px);
    pointer-events: none;
}

#languageMenu li {
    list-style: none;
    padding: 2px;
}

#languageMenu button {
    background: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 2px #999;
}

/*----------------------------------------------------------------------
help dialog
----------------------------------------------------------------------*/

.HelpMenu,
.HelpMenu ul {
    padding-left: 20px;
}
