#subtheme-select {
    display: none;
}

.filter-wrap {
    display: flex;
    flex-direction: column;
    padding-bottom: 2em;
    justify-content: center;
}

.publication {
    position: relative;
    padding-top: 16em;
    margin-bottom: 1em;
}

.publication-cover {
    position: absolute;
    height: 15em;
    left: 0;
    right: 0;
    top: 0;
    background: var(--color2);
    overflow: hidden;
}

.publication-cover-img, .publication-cover-texture {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.publication-cover-texture {
    object-fit: cover;
}

.publication-cover-img {
    opacity: 0.5;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.publication-highlighted {
    position: absolute;
    width: 1.8em;
    right: 1em;
    top: -0.4em;
    z-index: 10;
}

.publication-presentation {
    margin: 1em 0;
}

.publication-presentation h2 {
    font-size: 1.1em;
}

.publication-presentation a {
    text-decoration: none;
    color: inherit;
}

.publication-presentation a:hover {
    text-decoration: underline;
}

.publication-presentation p {
    font-style: italic;
    margin: 0.4em 0;
}

.publication-editor, .publication-tags {
    opacity: 0.5;
}

.publication-meta {
    border-top: 1px solid var(--textColor1);
    padding-top: 0.5em;
}

.publication-meta > * {
    margin: 0.7em 0;
}

.publication-tags {
    font-size: 0.7em;
    text-transform: capitalize;
    text-style: italic;
}

.publication-meta > .tags-container {
    margin-bottom: 0;
}

.chemical-elements-container {
    margin-top: 0em;
}

.doi {
    font-size: 0.7em;
    text-transform: uppercase;
}

.doi a {
    color: inherit;
}

/*
Responsive
----------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {

    .filter-wrap {
        flex-direction: row;
    }

    .publication {
        padding-top: 1em;
        padding-left: calc(30% + 2em);
    }

    .publication-cover {
        height: 100%;
        width: 30%;
        left: 0;
        bottom: 0;
        top: 0;
    }
}

@media only screen and (min-width: 900px) {

    .publications-warper {
        max-width: 50em;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1300px) {

/*
    .publications-warper {
        max-width: 90%;
        column-gap: 1.4em;
        column-width: 30em;
    }
*/
    .masonry {
        margin-top: 1em;
        max-width: 90%;
        display: grid;
        grid-gap: 2em; /* [1] Add some gap between rows and columns */
        grid-template-columns: repeat( auto-fill, minmax( 550px, 1fr ) ); /* [2] Make columns adjust according to the available viewport */
        grid-auto-rows: 10px; /* [3] Set the height for implicitly-created row track */

    }

    .publication-content {
        box-sizing: border-box;
    }

    .publication {
        margin: 0;
    }
}