body {
    background: #fff;
}

.operator-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.operator-group article {
    margin-bottom: 3em;
}

.operator-group article dl {
    font-size: 0.8em;
    margin: 2em 0 0;
    display: none;
}

.operator-group article dd.monospace {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.operator-group dd span.color-preview {
    width: 1em;
    height: 1em;
    display: inline-block;
    border: 1px solid #d4d4d4;
}

#main-wrapper.details-shown .operator-group article dl {
    display: block;
}

.operator-label {
    display: block;
    margin-top: 0.5em;
    font-size: 0.8em;
}

.line-logo {
    display: inline-block;
    font-size: 2em;
    text-align: center;
}

.shape-circle {
    font-family: "Avenir Next Condensed", "Avenir Next", Arial, sans-serif;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    display: inline-flex;
}

.shape-hexagon {
    font-family: "IBM Plex Mono", Monaco, Consolas, monospace;
    font-weight: 400;
    line-height: 1.2em;
    padding: 0 0.75em;
    clip-path: polygon(50% -100%, 100% 50%, 50% 200%, 0 50%);
}

.shape-pill {
    font-family: Arial, Baskerville, monospace;
    font-weight: 600;
    line-height: 1.2em;
    padding: 0 0.75em;
    border-radius: 0.6em;
}

.shape-rectangle {
    font-family: "IBM Plex Mono", Monaco, Consolas, monospace;
    font-weight: 400;
    width: 4em;
    line-height: 1.25em;
}

.shape-rectangle-rounded-corner {
    font-family: "Avenir Next Condensed", "Avenir Next", Arial, sans-serif;
    line-height: 1.5em;
    padding: 0 0.5em;
    border-radius: 0.3em;
}

.shape-trapezoid {
    font-family: "IBM Plex Mono", Monaco, Consolas, monospace;
    font-weight: 400;
    line-height: 1.2em;
    padding: 0 0.75em;
    clip-path: polygon(100% 0, 50% 250%, 0 0);
}

.dataset-list, .operator-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.dataset-list a, .operator-list a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.dataset-list a:hover, .operator-list a:hover {
    border-color: #0366d6;
    text-decoration: none;
}

.dataset-list a {
    flex-direction: column;
}

.dataset-list span, .operator-list span {
    color: #6c757d;
    font-size: 0.85em;
}

.search {
    margin-bottom: 2rem;
}

#view {
    padding-top: 3rem;
}

.idocs-navigation .nav .nav {
    padding-bottom: 1rem;
}

@media (max-width: 950px) {
    .operator-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 500px) {
    .operator-group {
        grid-template-columns: repeat(2, 1fr);
    }
}
