@font-face {
    font-family: 'Oswald';
    src: url('files/fonts/oswald.woff') format('woff');
    font-weight: 400;
}

/* Generated by ParaType (http://www.paratype.com)*/
/* Font Golos UI: Copyright ? ParaType, 2018. All rights reserved.*/
@font-face {
    font-family: 'Golos';
    src:
        url('files/fonts/golos_ui_vf.woff2') format('woff2 supports variations'),
        url('files/fonts/golos_ui_vf.woff2') format('woff2-variations');
    font-weight: 100 1000;
}

@font-face {
    font-family: 'Ubuntu Sans Mono';
    src: url('files/fonts/ubuntu-sans-mono-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0px 20px;
    color: #333;
    font-family: 'Golos', sans-serif;
    font-size: 17px;
    line-height: 28px;
    tab-size: 4;
    position: absolute;
    border: 0px;
    left: 320px;
    width: calc(100% - 320px - 40px);
    height: 100%;
    overflow: auto;
}

body.unscrollable {
    overflow: hidden;
}

a {
    color: #1e73be;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #000;
}

h1, h2, h3, h4, div.h1-like, div.h2-like {
    font-family: 'Oswald', sans-serif;
}

h1, div.h1-like {
    color: #0b7188;
    font-size: 30px;
    font-weight: normal;
    margin: 22px 0px;
}

h2, div.h2-like {
    color: #0b7188;
    font-size: 25px;
    font-weight: normal;
    margin: 16px 0px;
}

h3 {
    color: #0b7188;
    font-size: 20px;
    font-weight: normal;
    margin: 14px 0px;
}

h4 {
    color: #0b7188;
    font-size: 18px;
    font-weight: normal;
    margin: 14px 0px;
}

h5 {
    color: #444;
    font-size: 17px;
    font-weight: 700;
    margin: 10px 0px;
}


p, ul, ol {
    margin: 10px 0px;
}

li > ul, ol {
    margin: 0px;
}

dl, dt {
    margin: 10px 0px;
}

.params {
    border-left: solid 1px #999;
    padding-left: 10px;
}

ul.params {
    list-style-type: none;
}

dl.params dt {
    font-weight: normal;
}

dd, .indented {
    margin: 10px 30px;
}

p.note {
    margin: 20px 0px;
    width: calc(100% - 40px);
    padding: 12px 12px 12px 58px;
    background-color: #fffbe1;
    background-image: url(files/icons/note_icon.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 15px 50%;
}
div.note {
    width: calc(100% - 40px);
    padding: 5px 20px;
    background-color: #fffbe1;
}

p.demoNote {
    margin: 20px 0px;
    width: calc(100% - 40px);
    padding: 12px 12px 12px 58px;
    background-color: #f3f4f9;
    background-image: url(files/icons/demo_note_icon.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: 15px 50%;
}

p.code {
    font-family: 'Ubuntu Sans Mono';
    margin: 20px 0px;
    display: block;
    width: calc(100% - 40px);
    padding: 10px 15px;
    background-color: #f9f9f9;
    overflow: auto;
}

div {
    margin: 10px 0px;
}

.red {
    color: red;
}

.mediumseagreen {
    color: mediumseagreen;
}

pre, code {
    margin: 20px 0px;
}

code {
    padding: 10px 15px;
    white-space: pre-wrap;
    background-color: #f9f9f9;
    overflow: auto;
}

code.inline {
    display: inline;
    padding: 0px 2px;
    background: #F5F5F5;
}

code:not(.inline) {
    display: block;
    padding: 10px 15px;
    white-space: pre-wrap;
    overflow: auto;
    box-sizing: border-box;
    width: calc(100% - 40px);
    font-size: 16px;
}

math {
    background-color: #f9f9f9;
    font-family: 'Ubuntu Sans Mono';
    padding: 10px 15px;
    width: calc(100% - 40px);
}

iframe {
    width: 100%;
    height: 420px;
    border: 0px;
}

iframe.centered {
    display: block;
    /*
    margin-left: auto;
    margin-right: auto;
    */
}

iframe.video-480p {
    width: 854px;
    height: 480px;
    display: block;
}

/* 21/9 */
iframe.video-ultrawide {
    width: 1120px;
    height: 480px;
    display: block;
}

table, th, td {
    border: 1px solid #2194CE;
    border-collapse: collapse;
    padding: 10px;
    margin: 10px 0px;
}

th {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    color: #0b7188;
    font-weight: normal;
}

td {
    text-align: left;
}

table code {
    padding: 2px;
    margin: 0px;
    width: auto;
}

strong, dt {
    font-weight: 500;
}

#button {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px;
    color: #fff;
    background-color: #333;
    opacity: 0.5;
}

#button:hover {
    cursor: pointer;
    opacity: 1;
}

a.permalink {
    float: right;
    margin-top: -15px;
    padding-top: 15px;
    font-size: 17px;
}

a.param, span.param {
    color: #999;
}

a.param:hover {
    color: #777;
}

img {
    width: 100%;
    max-width: 1000px;
    margin: 0px;
    padding: 5px 0px;
}

figure {
    margin: 0px;
}

img.with-caption, figure > img {
    padding: 0px;
}

img.with-border {
    border: solid 1px #d0d0d0;
    max-width: 1006px;
    padding: 2px;
}

span.img-caption, figcaption {
    display: block;
    max-width: 1000px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.quote {
    font-style: italic;
}

#panel {
    position: fixed;
    float: left;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 100%;
    overflow-y: scroll;
    padding: 0px 20px 0px 20px;
    background: #fafafa;
}

#panel ul {
    list-style-type: none;
    padding: 0px;
    margin-left: 20px;
}

#filterInput {
    width: 100%;
    padding: 5px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    border: 1px solid #dedede;
}

#filterInput:focus {
    border: 1px solid #2194CE;
}

#clearFilterButton {
    float: right;
    margin-top: -30px;
    width: 30px;
    height: 30px;
    color: grey;
    text-align: center;
    font-size: 25px;
    opacity: 0.5;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

#clearFilterButton:hover {
    opacity: 0.9;
}

.filter-flavor {
    display: flex;
    justify-content: space-between;
    -webkit-user-select: none;
    user-select: none;
}

.filter-flavor-item input {
    margin: 0px 5px 2px 5px;
    vertical-align: middle;
}

.hidden {
    display: none;
}

#panel li b {
    font-weight: 500;
}



/* mobile */

#expandButton {
    display: none;
    position: absolute;
    right: 20px;
    top: 12px;
    width: 32px;
    height: 32px;
}

#expandButton span {
    height: 2px;
    background-color: #2194CE;
    width: 16px;
    position: absolute;
    left: 8px;
    top: 10px;
}

#expandButton span:nth-child(1) {
    top: 16px;
}

#expandButton span:nth-child(2) {
    top: 22px;
}

div.package-logos {
    text-align: center;
}

.package-logo {
    display: inline-block;
    width: 350px;
}

.package-logo:nth-of-type(1) {
    width: 310px;
    margin-right: 20px;
}

.package-logo:nth-of-type(2) {
    padding: 0px 20px;
}

.package-logo:nth-of-type(3) {
    padding: 0px 40px;
}

.package-logo div {
    text-align: center;
}

.package-logo img {
    margin: 10px 0px;
}

.copyright {
    text-align: center;
    line-height: 1.5;
    font-size: 14px;
    padding-bottom: 5px;
}

/* custom tabs widget */

.v3d-tabs {
    border: solid #1e73be;
    border-width: 1px;
    background-color: #1e73be;
    overflow: hidden;
}

.v3d-tab-input {
    display: none;
}

.v3d-tab-label {
    display: inline-block;
    padding: 0px 10px;
    border-width: 0 2px 0 0;
    border-color: #1e73be #8fb2d2;
    border-style: solid;
    height: 40px;
    line-height: 40px;
    background-color: #1e73be;
    color: #fff;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.v3d-tab-input:checked + .v3d-tab-label {
    border-right-width: 0;
    border-bottom-width: 0;
    background-color: #fff;
    color: #1e73be;
}

.v3d-tab-content {
    display: none;
    float: left;
    width: 100%;
    left: 0;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    z-index: 1;
}

.v3d-tab-input:checked + .v3d-tab-label + .v3d-tab-content {
    display: block;
    z-index: 2;
}

.v3d-tab-content code {
    width: 100%;
    margin: 0;
    border: 1px solid #d0d0d0;
}

.width-clear {
    width: auto;
    max-width: none;
}

.border-gray {
    border: 1px solid lightgray;
}

.flow-block {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 5px 20px;
    margin: 5px 10px;
    display: inline-block;
    background: #f3f3f3;
}

/* tablet */

@media all and ( max-width: calc(854px + 320px + 40px) ) {
    iframe.video-480p {
        width: 100%;
        height: calc((100vw - 320px - 40px) * 9 / 16);
    }
    iframe.video-ultrawide {
        width: 100%;
        height: calc((100vw - 320px - 40px) * 9 / 21);
    }
}

/* phone */

@media all and ( max-width: 640px ) {
    body {
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        margin: 0px;
        padding: 10px;
    }

    h1, div.h1-like {
        margin-top: 16px;
        margin-bottom: 20px;
    }

    body > h1, article > h1 {
        margin-top: 76px;
        line-height: 1;
    }

    iframe.video-480p {
        width: 100%;
        height: calc((100vw - 20px) * 9 / 16);
    }

    iframe.video-ultrawide {
        width: 100%;
        height: calc((100vw - 20px) * 9 / 21);
    }

    #panel {
        position: absolute;
        left: 0;
        top: 0;
        right: 0px;
        bottom: 0px;
        height: 100%;
        width: 100%;
        z-index: 100;
        overflow: hidden;
        border-bottom: 1px solid #dedede;
        font-size: 20px;
    }

    #content {
        overflow: auto;
        height: calc(100% - 140px);
        line-height: 30px;
    }

    #expandButton {
        display: block;
    }

    #panel.collapsed {
        height: 56px;
    }

}
