::-ms-clear {
    display: none;
    width: 0;
    height: 0
}

[v-cloak] {
    visibility: hidden;
}

[id=content] {
    padding: 0 0 1em;
}

.pubs-filter {
    background-color: #212121;
    color: #fff;
}

.pubs-filter-wrapper {
    display: flex;
    flex-flow: column nowrap;
    max-width: 980px;
    margin: auto;
    padding: 0 2%;
}

.pubs-filter-search {
    align-items: stretch;
    display: flex;
    flex-flow: row nowrap;
    height: 4em;
    align-items: center;
}

.pubs-filter-search__clear {
    background-color: #1e88e5;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: sans-serif;
    font-size: 80%;
    height: 100%;
    width: 100%;
    visibility: hidden;
}

.pubs-filter-search__clear:hover,
.pubs-filter-search__clear:focus {
    background-color: #1976d2;
}

.pubs-filter-search__count {
    background-color: #2e6394;
    color: #fff;
    height: 2.2em;
    line-height: 2.2em;
    text-align: center;
    padding: 0 .5em;
    order: 3;
}

.pubs-filter-search__label {
    background-color: #f4f3f0;
    background-image: url(/pubs/assets/images/search.svg);
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 1em;
    color: #666;
    cursor: pointer;
    margin: 0;
    height: 2.2em;
    width: 2.2em;
    text-align: center;
    order: 1;
}

.pubs-filter-search__input {
    background-color: #fff;
    background-repeat: no-repeat;
    border-radius: 0;
    border: 1px solid #f4f3f0;
    margin: 0;
    padding-left: .5em;
    height: 2em;
    width: 100%;
    order: 2;
}

.pubs-filter-menu {
    display: none;
}

.pubs-msg {
    font-weight: 700;
}

.pubs-msg-filter__topic,
.pubs-msg-filter__no-entries {
    display: none;
    padding: .5em 1em;
    text-align: center;
}

.pubs-msg-filter__topic {
    background-color: #ecf0f1;
    color: #212121;
}

.pubs-msg-filter__no-entries {
    background-color: #911c2f;
    color: #fff;
}

.js-search__clear .pubs-filter-search__clear {
    visibility: visible;
}

.js-msg__topic .pubs-msg-filter__topic,
.js-msg__no-entries .pubs-msg-filter__no-entries {
    display: block;
}

.js-msg__no-entries .pubs-filter-search__count {
    background-color: #911c2f;
}

/* TABLET VIEW */
@media (min-width: 47.5em) {
    .pubs-filter-wrapper {
        flex-flow: row nowrap;
        padding: 0 1em;
    }
    .pubs-filter-menu__item {
        display: flex;
        flex-flow: column nowrap;
        flex: 0 0 auto;
        position: relative;
    }
    .pubs-filter-menu__item label {
        cursor: pointer;
        display: block;
    }
    .pubs-filter-menu {
        display: flex;
    }
    .pubs-filter-menu__input-main,
    .pubs-filter-menu__input-sub {
        position: absolute !important;
        clip: rect(1px, 1px, 1px, 1px);
        padding: 0 !important;
        border: 0 !important;
        height: 1px !important;
        width: 1px !important;
        overflow: hidden;
    }
    .pubs-filter-menu__label-main {
        height: 4em;
        line-height: 4em;
        margin: 0;
        padding: 0 1em;
        border-right: 1px solid rgba(0, 0, 0, .2);
        box-shadow: 1px 0 0 rgba(255, 255, 255, .2);
    }
    .pubs-filter-menu__icon {
        height: 1.5em;
        width: 1.5em;
    }
    .pubs-filter-menu__content {
        display: none;
        padding: 0 1em;
    }
    .pubs-filter-menu__input-main:focus ~ .pubs-filter-menu__label-main,
    .pubs-filter-menu__input-main:checked ~ .pubs-filter-menu__label-main {
        background-color: #15c;
    }
    .pubs-filter-menu__input-main:checked ~ .pubs-filter-menu__content {
        display: flex;
        flex-flow: column nowrap;
    }
    .pubs-filter-menu__label-sub {
        padding-left: 1.5em;
        position: relative;
    }
    .pubs-filter-menu__input-sub:checked + .pubs-filter-menu__label-sub:before {
        background-image: url(/pubs/assets/images/checkmark.svg);
        background-position: 50%;
        background-size: 1em;
        background-repeat: no-repeat;
        content: '';
        position: absolute;
        left: 0;
        height: 1.5em;
        width: 1.5em;
    }
    .topics {
        width: 300px;
    }
    .sort {
        width: 115%;
    }
    .order {
        right: 0;
        padding: 1em;
        width: 330px;
    }
    .split-3 {
        display: flex;
    }
    .split-3 p {
        padding-right: .75em;
    }
    .pubs-filter-menu__content {
        border-radius: 0 0 5px 5px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
        background-color: #f0f1ee;
        color: #212121;
        position: absolute;
        padding: 1em 1em 1em .5em;
        top: 4.1em;
        z-index: 1999;
    }
    .pubs-filter-search {
        border-right: 1px solid rgba(0, 0, 0, .2);
        box-shadow: 1px 0 0 rgba(255, 255, 255, .2);
        padding-right: 1em;
        flex-basis: 60%;
    }
    .pubs-filter-search__count {
        min-width: 5em;
    }
}

/* DESKTOP VIEW */
@media (min-width: 64em) {
    .pubs-filter-search {
        flex-basis: 70%;
    }
}

.pubs-entries {
    padding: 0 2%;
}

.entry {
    border-top: 1px dotted #bbb;
    padding: 1em .5em;
}

.entry:first-child {
    border-top: none;
}

.entry-title {
    margin: 0;
}

.entry-meta {
    color: #666;
    font-size: .8em;
    font-weight: 700;
}

.pubs-entries .entry-link {
    background-color: #002a5c;
    background-image: none;
    background-size: 1.5em;
    background-position: .75em 50%;
    background-repeat: no-repeat;
    border: 0;
    margin: 0 0 .75em;
    color: #fff;
    display: block;
    font-size: .9em;
    height: 3em;
    line-height: 3em;
    padding-left: 3em;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.pubs-entries .entry-link__audio {
    background-image: url(/pubs/assets/images/audio.svg);
}

.pubs-entries .entry-link__pdf {
    background-image: url(/pubs/assets/images/pdf.svg);
}

.pubs-entries .entry-link__language {
    background-image: url(/pubs/assets/images/globe.svg);
}

.pubs-entries .entry-link__web {
    background-image: url(/pubs/assets/images/computer.svg);
}

.entry-link:hover,
.entry-link:focus {
    background-color: #15c;
    color: #fff;
}

/* TABLET VIEW */
@media (min-width: 47.5em) {
    .pubs-entries {
        margin-left: auto;
        margin-right: auto;
        max-width: 980px;
        padding: 1%;
    }
    .entry {
        display: flex;
        flex: 0 0 auto;
    }
    .entry-description {
        flex-basis: 75%;
        padding-right: 3%;
    }
    .entry-links {
        flex-basis: 25%;
    }
}

.entry-menu {
    position: relative;
}

.entry-menu-label {
    cursor: pointer;
    display: block;
}

.entry-menu-content {
    display: none;
    padding: 1em .25em;
    border-radius: 5px;
    background-color: #f0f1ee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
}

.entry-menu-content:before {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -10px;
    content: '';
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f0f1ee;
    border-left: 10px solid transparent;
}

.entry-menu-checkbox:focus ~ .entry-menu-label,
.entry-menu-checkbox:checked ~ .entry-menu-label {
    background-color: #15c;
}

.entry-menu-checkbox:checked ~ .entry-menu-content {
    display: flex;
    flex-flow: row wrap;
}

.entry-menu-content__link {
    background-image: none !important;
    padding: 0 !important;
    display: block;
    text-align: center;
    width: 49%;
}

/* TABLET VIEW */
@media (min-width: 47.5em) {
    .entry-menu-content {
        padding: 1em .5em;
        position: absolute;
        right: 0px;
        top: 50px;
        width: 320px;
        z-index: 999;
    }
}

/* DESKTOP VIEW */
@media (min-width: 64em) {
    .entry-menu-content {
        left: -50px;
    }
}

.entry-menu-checkbox {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}
