/* nunito-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/nunito-sans/nunito-sans-v12-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('fonts/nunito-sans/nunito-sans-v12-latin-regular.woff') format('woff');
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/nunito-sans/nunito-sans-v12-latin-600.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('fonts/nunito-sans/nunito-sans-v12-latin-600.woff') format('woff');
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/nunito-sans/nunito-sans-v12-latin-700.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('fonts/nunito-sans/nunito-sans-v12-latin-700.woff') format('woff');
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/nunito-sans/nunito-sans-v12-latin-800.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('fonts/nunito-sans/nunito-sans-v12-latin-800.woff') format('woff');
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ibm-plex-mono-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'IBM Plex Mono';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/ibm-plex-mono/ibm-plex-mono-v15-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
    url('fonts/ibm-plex-mono/ibm-plex-mono-v15-latin-regular.woff') format('woff');
    /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


html,
body {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    border: 0;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #16263b;
    overflow-x: hidden;
}

h1 {
    font-size: 3em;
    margin: 0;
    padding: 0;
    border: 0;
}

h2 {
    font-size: 2.6em;
}

h3 {
    font-size: 2.2em;
}

h4 {
    font-size: 1.8em;
}

h1 img {
    min-height: 50px;
    display: block;
}

h1,
h2,
h3,
h4 {
    color: #16263b;
    padding: 0;
}

li > p {
    margin: 0;
}

.navi-container > span {
    flex-grow: 1;
    margin-left: 1em;
    font-size: 1.6em;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.documentwrapper h1 {
    line-height: 120%;
}


.documentwrapper h2,
.documentwrapper h3,
.documentwrapper h4 {
    line-height: 120%;
    margin: 0.8em 0 0;
}

.documentwrapper {
    font-size: 1.125em;
    line-height: 180%;
}

.documentwrapper ul,
.documentwrapper ol {
    line-height: 160%;
}

.documentwrapper ul ul,
.documentwrapper ol ol {
    padding-left: 1em;
}

a {
    color: #294970;
    font-weight: 700;
    text-decoration: underline;
}

dl dt {
    font-weight: 800;
}

dl dd {
    font-weight: 400;
    font-size: 0.9em;
    line-height: 145%;
    padding-top: 0.75em;
    margin-bottom: 1.8em;
}

dl dd p {
    margin-top: 0;
    margin-bottom: 0;
}

code {
    background-color: #eeeeee;
    padding: 0 0.2em;
    font-size: 0.8em;
}

ul {
    margin-bottom: 0.5em;
}

.documentwrapper .table-wrapper {
    width: 100%;
    padding: 2em 0;
    overflow-x: auto;
}

.documentwrapper table {
    background-color: #F3F3F3;
    font-size: 0.85em;
    line-height: 160%;
    margin: 3em 0;
}

.documentwrapper .align-center th,
.documentwrapper .align-center td {
    text-align: center;
}

.documentwrapper table p {
    margin: 0;
}

.documentwrapper table tr th {
    text-align: left;
}

.documentwrapper {
    padding: 0;
    border-collapse: collapse;
    border-spacing: 5px;
}

.documentwrapper thead {
    background-color: #294970;
    border-bottom: none;
}

.documentwrapper th:first-child {
    border-radius: 0 0 0 0;
    padding-left: 1.3em;
}

.documentwrapper th:last-child {
    border-radius: 0 0 0 0;
    padding-right: 1.3em;
}

.documentwrapper tr td:first-child {
    padding-left: 1.3em;
}

.documentwrapper tr td:last-child {
    padding-right: 1.3em;
}

.documentwrapper tr th p {
    color: white;
}

.documentwrapper tr th,
.documentwrapper tr td {
    padding: 0.7em 1em;
}

.documentwrapper tr th {
    border-bottom: none;
}

.documentwrapper tr {
    border-bottom: 1px solid #dcdcdc;
}

.documentwrapper tr:last-child {
    border-bottom: 0;
}

hr {
    padding: 0;
    margin: 2em 0;
    width: 100%;
    display: inline-block;
    border: none;
    border-top: 2px solid #f2f2f2;
}

.reg-button {
    display: inline-block;
    border: 2px solid #294970;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1em;
    color: #294970;
    background-color: transparent;
    padding: 0.9em 1.7em;
    text-decoration: none;
    margin: 1em 0 0;
}

.container-flex {
    display: flex;
    flex-direction: row;
}

.aldev-head-navigation {
    flex-grow: 6;
    font-size: 18px;
    padding: 0.3em 1.5em;
    background-color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    z-index: 99;
}

.navi-container {
    justify-content: space-between;
    align-items: center;
}

.header-navi a {
    text-decoration: none;
    font-weight: 600;
    color: black;
}

.header-navi li {
    list-style: none;
    font-size: 1.1em;
    margin-left: 1em;
}

.sphinxsidebar {
    display: block;
    background-color: #e9e9e9;
    padding: 3em 1.5em;
    max-width: 330px;
    min-width: 280px;
}

#al-search-input {
    width: calc(100% - 2em);
    font-size: 1em;
    font-weight: 300;
    display: inline-block;
    padding: 1em;
    border-radius: 6px;
    border: 1px solid #cacaca;
    margin-bottom: 2em;
}

.search {
    position: relative;
}

.submit-btn {
    position: absolute;
    top: calc(50% - 25px);
    right: 12px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    border: 0;
    background-color: white;

}

#searchbox #searchlabel,
.sphinxsidebar .caption,
.headerlink {
    display: none;
}

.sphinxsidebar h3 {
    font-weight: 700;
    font-size: 1.4em;
    color: #16263b;
}

.sphinxsidebar ul {

    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    color: #16263b;
    line-height: 180%;
    list-style: none;
    padding-left: 0.6em;
}

.sphinxsidebar ul li {
    padding: 0;
    margin: 0;
}

.sphinxsidebar ul ul {
    list-style: none;
    padding-left: 0;
}

.sphinxsidebar ul li a {
    font-size: 1.1em;
    line-height: 1.3em;
    text-decoration: none;
    padding: 0.3em 0.6em 0.25em;
    margin-left: -0.8em;
    display: inline-block;
}

.sphinxsidebar ul ul li a {
    font-size: 0.9em;
    text-decoration: none;
    font-weight: 400;
    color: #3a3a3a;
}

.sphinxsidebar ul a.current {
    background-color: #294970;
    color: white;
    border-radius: 6px;
}

.sphinxsidebar .toctree-l1 {
    margin-bottom: 1em;
}

.sphinxsidebar .toctree-l3 > a {
    font-size: 0.8em;
    margin-left: 0.1em;
}

.document {
    flex-direction: row-reverse;
}

.documentwrapper {
    background-color: white;
    width: calc(100% - 328px);
}

.bodywrapper {
    padding: 3em 6em;
}

.mega-teaser {
    padding: 6em 6em;
    background-color: #CCD9EC;
}

.teaser-title {
    color: #16263b;
    font-weight: 800;
    font-size: 3em;
    line-height: 1.3em;
    hyphens: auto;
}

.highlight {
    font-family: 'IBM Plex Mono', serif;
    color: #da8383;
    font-size: 0.85em;
    line-height: 1.6em;
    background-color: #16263b;
    border: 2px solid black;
    display: block;
    padding: 1em 4em;
    border-radius: 6px;
    max-width: 100%;
    min-width: 20px;
    overflow-x: auto;
}

.highlight .c1, .nt {
    color: #f4f4a5;
}

.highlight .k, .na {
    color: #a4f4da;
}

.highlight .s, .s1 {
    color: #b0ed90;
}

.admonition {
    padding: 1em 3em;
    margin: 0 0 3em;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 135%;
}

.admonition-title {
    font-weight: 700;
}

.note {
    background-color: #E8F5FA;
    border: 1px solid #9CD3EB;
}

.note-alt {
    background-color: #e6ecf4;
    border: 1px solid #bfcee2;
}

.warning {
    background-color: #fff7f7;
    border: 1px solid #f0abab;
}

.gap-1 {
    gap: 1em;
}

.nav-version-link {
    display: none;
}

@media only screen and (min-width: 1081px) {

    .mobile-menu-btn {
        display: none;
    }

    .navi-container span {
        font-size: 1.4em;
    }
}

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

    .mobile-menu-btn {
        position: relative;
        margin-left: 1em;
        display: inline-block;
        height: 20px;
        width: 40px;
    }

    .mobile-menu-btn img {
        position: absolute;
    }

    .sphinxsidebar {
        position: absolute;
        left: 0;
        height: 100%;
    }

    .documentwrapper {
        width: 100%;
    }
}

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

    html,
    body {
        font-size: 15px;
    }

    .bodywrapper {
        padding: 3em 3em;
    }

    .mega-teaser {
        padding: 3em 3em;
    }

    .navi-container span {
        font-size: 1.2em;
    }

    .hide-on-mobile {
        display: none;
    }
}

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

    html,
    body {
        font-size: 14px;
    }

    .aldev-head-navigation {
        padding: 0.3em 1em;
    }

    .mobile-menu-btn {
        margin-left: 0;
    }

    .header-navi li {
        margin-left: 0;
    }

    .bodywrapper {
        padding: 3em 1em;
    }

    .mega-teaser {
        padding: 3em 1em;
    }

    .teaser-title {
        font-size: 2.4em;
    }

    .sphinxsidebar {
        width: calc(100% - 3em);
        min-width: 0;
        max-width: none;
    }

    .navi-container span {
        font-size: 1em;
    }

    .nav-version-link {
        display: block;
        color: #294970;
    }

    .hide-on-s-mobile {
        display: none;
    }
}

@media only screen and (max-width: 440px) {
    .aldev-head-navigation {
        font-size: 16px;
    }

    .header-navi {
        padding-left: 1em;
    }
}

#version-selector {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23333' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 6px;
    margin-left: 10px;
}

.show-on-mobile {
    display: none;
}

/* Show only on mobile */
@media (max-width: 860px) {
    .show-on-mobile {
        display: block !important;
    }

    #version-selector {
        display: none;
    }
}
