body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background-color);
    font-family: var(--font-stack);
    color: var(--font-color);
    padding: 0;
    --sl-panel-background-color: var(--background-color);
    --sl-input-background-color: var(--background-color);
    --sl-input-border-color: var(--secondary-color);
}


a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background-color: var(--invert-font-color);
}

body::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color-lowalpha);
}


p {
    line-height: var(--global-line-height);
    margin-bottom: 30px;
    font-family: var(--font-stack-paragraph);
    display: inherit;
}

code, pre {
    font-family: var(--font-stack);
}

.main-content ul {
    font-family: var(--font-stack-paragraph);
}
.three-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: calc(100vh - 55px - 30px);
    padding-top: 55px;
}

.two-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    min-height: calc(100vh - 55px - 30px);
    padding-top: 55px;
}


.three-columns .main-content {

    padding: 40px 0 60px 20px;
    font-size: 16px;
    width: calc(100vw - 395px);
    margin-bottom: 30px;
}

.two-columns .main-content {

    padding: 40px 0 40px 20px;
    font-size: 16px;
    flex-grow: 2;
}

.article-content {
    padding-right: 20px;
}


footer {
    padding: 5px 5px 0 5px;
    width: 100vw;
    font-size: 12px;
    height: 20px;
    position: fixed;
    bottom: 0;
    background-color: var(--background-color);
    border-top: 1px dashed var(--secondary-color);
    z-index: 100;
}

footer > .generated-timestamp {
    float: right;
    margin-right: 20px;
    font-weight: normal;
    color: var(--darker-font-color);
}


hr.hr-heading {
  margin: 30px 0 30px 0;
}



em.strapline {
    font-size: 1.6rem;
    color: var(--font-color-sub2);
    letter-spacing: -0.1rem;
    font-family: var(--font-stack-bold);
    font-style: normal;
}

p.codesplit {
    border-left: 2px dotted var(--hrcolor);
    display: block;
    padding-left: 20px;
    color: var(--dark-font-color);
    margin-top: -30px;
    margin-bottom: -10px;
    padding-top: 20px;
    padding-bottom: 20px;
    font: var(--font-stack-italic)
}

a > code {
    text-decoration: underline;
}

a > code:hover {
    color: var(--primary-color);
}

.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5.5;
    overflow: hidden;
    border-bottom: 2px solid var(--secondary-color);
    background-color: black;
}


.hero__video {
    position: absolute;
    inset: 0;               
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.homepage-blurb {
    position: absolute;
    text-align: center;
    bottom: 50px;
    width: 100%;
}


p.home {
    font-size: 2.4em;
    background-color: rgba(0, 0, 0, 0.65);
    width: 90%;
    margin: 0 auto;
}

p.home strong {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color-text-shadow);
}

img.libopenapi-homepage-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 400px;
}

img.openapi-changes-homepage-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

img.libopenapi-model {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 769px;
    height: 558px;
}

img.rolodex-architecture {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}



blockquote {
    border-left: 3px solid var(--primary-color);
    margin: 30px 0 30px 0;
    padding: 0;
    display: flex;
    background: var(--terminal-header-background);
    margin-inline-end: 0;
}

blockquote p {
    padding: 5px 0 10px 5px;
    display: inline-block;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    color: var(--darker-font-color);
}


blockquote:before {
    content: "👉";
    padding-top: 2px;
    font-size: 1.5em;
    margin-right: 10px;
    margin-left: 15px;
    display: block;
}

video.instruction-video {
    width: 800px;
    border: 1px dashed var(--secondary-color-lowalpha);
}


.home-demo-link {
    border: 1px solid var(--primary-color);
    display: block;
    padding: 20px;
    text-align: center;
    font-size: 30px;
    vertical-align: center;
}

.home-demo-link a {
    vertical-align: top;
}


.company-hero {
    width: 100%;
}

.wiretap-hero {
    max-width: 100%;
}

.company-hr {
    margin-top: 25px;
    margin-bottom: 25px;
}

.contained-content {
    max-width: 1200px;
    margin: 0 auto;
}

figure > figcaption {
    color: var(--tertiary-color);
    text-align: center;
    margin-bottom: 60px;
}

figure.inline-figure {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

figure.inline-figure > a > img {
    max-width: 960px;
    width: 100%;
}

figure.inline-figure-slim {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

figure.inline-figure-slim > a > img {
    max-width: 660px;
    width: 100%;
}

.wiretap-screenshot {
    width: 100%;
    max-width: 1075px;
}

.ui-icon-grey {
    color: var(--darker-font-color);
}

.breaking-no {
    font-size: 1.2rem;
    color: var(--ok-color);
}

.breaking-yes {
    font-size: 1.3rem;
    color: var(--error-color);
}

sl-badge.oas31::part(base) {
    background-color: var(--background-color);
    color: var(--font-color-sub1);
    border: 1px solid var(--font-color-sub3);
    font-size: 0.7rem;
    vertical-align: top;
    padding: 3px;
    border-radius: 0;
}

sl-badge.oas32::part(base) {
    background-color: var(--secondary-color-very-lowalpha);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color-lowalpha);
    vertical-align: top;
    font-size: 0.7rem;
    padding: 3px;
    border-radius: 0;
}

.breaking-rules-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

.breaking-rules-table table thead tr th {
    padding: 8px 12px;
    text-align: center;
    color: var(--font-color);
}

.breaking-rules-table table thead tr th:first-child {
    background: var(--kv-table-header-background-reversed);
    text-align: left;
    width: 40%;
    color: var(--font-color);
}



.breaking-rules-table table tbody tr td:first-child code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    color: var(--primary-color);
}


.breaking-rules-table table thead tr {
    background: var(--kv-table-header-background);
}

.breaking-rules-table table thead tr th:nth-child(2),
.breaking-rules-table table thead tr th:nth-child(3){
    background: var(--kv-table-header-background-solid);
    width: 20%;
}
.breaking-rules-table table thead tr th:nth-child(4) {
    background: var(--kv-table-header-background);
    width: 20%;
}


.breaking-rules-table table tbody tr td {
    padding: 6px 12px;
    text-align: center;
    border-bottom: 1px dashed var(--secondary-color-dimmer);
}

.breaking-rules-table table tbody tr td:first-child {
    text-align: left;
    color: var(--primary-color);
}

.breaking-rules-table table tbody tr:hover {
    background: var(--secondary-color-very-lowalpha);
}

.table-of-contents pb33f-model-icon {
    display: none;
}

.home-video {
    position: relative;
    height: 563px;
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.mailing-list-homepage {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 90px;
}

@media only screen and (max-width: 1000px) {

    video.instruction-video {
        width: 100%
    }


    p.home {
        font-size: 1em;
        background-color: rgba(0, 0, 0, 0.65);
        width: 100%;
        margin: 0 auto;
    }

    .home-video {
        position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%
    }

    h2, h3, h4{
        margin-top: 20px;
    }

    .homepage-image {
        width: 350px;
        height: 263px;
    }

    .hero {
        position: relative;
        width: 100%;
        aspect-ratio: auto;
        height: 200px;
        overflow: hidden;
        border-bottom: 2px solid var(--secondary-color);
        background-color: black;
    }

    /* make the video fill & cover the hero */
    .hero__video {
        top: 30px;
    }

    /* your blurb sits on top */
    .homepage-blurb {
        bottom: 10px;
    }



    .three-columns .main-content {
        display: block;
        padding: 20px 0;
        width: 100%;
    }

    .two-columns .main-content {
        display: block;
        padding: 20px 0;
    }


    .article-content {
        padding: 0 10px 0 10px;
    }

    footer {
        border-top: 1px dashed var(--secondary-color);
    }

    .three-columns, .two-columns {
        display: block;
        min-height: calc(100vh - 88px);
    }

    blockquote:before {
        margin-right: 0;
        margin-left: 5px;
    }

    img.libopenapi-homepage-icon {
        width: 300px;
        height: 200px;
    }

    img.openapi-changes-homepage-icon {
        width: 100%;
        height: auto;
    }

    img.libopenapi-model {
        width: 300px;
        height: 218px;
    }

    img.rolodex-architecture {
        width: 100%;
        height: 100%;
        margin-left: 0;
        margin-right: 0;
    }


    .kv-table table > tbody > tr > td {

    }

    .kv-table table > thead > tr > th {

    }


    .prop-type-table table > tbody > tr > td {

    }
    .prop-type-table table > thead > tr > th {

    }

    .kv-table table > tbody > tr > td:first-child {

    }

    .prop-type-table table > tbody > tr > td:first-child {

    }

    .prop-type-table table > tbody > tr > td:nth-child(2) {

        width: 70px;
        max-width: 70px;
        overflow-x: auto;
    }

    terminal-view {
        width: calc(100vw - 54px);
    }

    hr {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    figure.inline-figure {
        width: 100%;
        margin: 0 auto;
    }

    sl-details.mobile-nav::part(base) {
        color: var(--primary-color);
        border: 1px dashed var(--secondary-color);
        margin-bottom: 10px;
    }

    .mailing-list-homepage {
        margin-top: 30px;
        width: 100%;
    }


}

/* API documentation reference styles */
.api-header {
    font-weight: bold;
}

.api-key {
    color: var(--font-color-sub1);
    font-size: 0.85rem;
    font-family: var(--font-stack-italic), sans-serif;
}

