body {
    margin-left: 250px;
}
@media only screen and (max-width: 768px) {
    body {
        margin-left: 0;
    }
}

h3 {
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

h4 {
    font-size: 16px;
    font-weight: 700;
}

h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 20px 0;
}

main {
    margin: 0;
    padding: 87px 0 0;
}
main .wrap {
    max-width: none;
    padding: 0;
}
header.nav {
    position: fixed;
    left: 0;
    right: 0;
}

.api-left {
    position: fixed;
    width: 250px;
    top: 87px;
    bottom: 0px;
    left: 0px;
    overflow-y: scroll;
    padding: 20px;
    border-right: 1px #ddd solid;
    background: #fff;
    z-index: -1;
    color: #333;
    font-size: 16px;
}
@media only screen and (max-width: 768px) {
    .api-left {
        display: none;
    }
}

.api-left h1 {
    margin-top: 0;
}

.api-left a:hover {
    color: #0097dc;
    text-decoration: none;
}

.api-left .section {
    margin-bottom: 30px;
}
.api-left .section > a {
    font-weight: bold;
}
.api-left ul {
    list-style-type: none;
    padding-left: 0;
    margin: 10px 0;
}
.api-left li {
    margin-bottom: 5px;
}
.api-left a {
    color: #666;
    display: inline-block;
    width: 100%;
}

.api-left .subanchors {
    margin: 10px;
    margin-left: 25px;
    font-size: 14px;
    font-weight: 400;
}
.api-left .subanchors.collapsed {
    display: none;
}

.api-left a.active-anchor {
    color: #0097dc;
}

.api-left li a.active-anchor {
    font-weight: 600;
}

.api-left li .icon.expand,
.api-left li .icon.collapse {
    font-weight: 400;
    cursor: pointer;
    padding: 2px;
    box-sizing: content-box;
    vertical-align: bottom;
    width: 15px;
    height: 15px;
    line-height: 15px;
}

.api-row {
    display: flex;
}
@media only screen and (max-width: 768px) {
    .api-row {
        flex-direction: column;
    }
}
.api-center-left, .api-center-right {
    border-bottom: 1px #ddd solid;
}
.api-center-left {
    flex: 3;
    width: 50%;
    padding: 0 25px;
}
@media only screen and (max-width: 768px) {
    .api-center-left {
        width: 100%;
    }
}
.api-center-right {
    flex: 2;
    min-width: 435px;
    border-bottom-color: #666;
    color: #dedede;
    background-color: #222;
    padding: 0 25px;
}
@media only screen and (max-width: 768px) {
    .api-center-right {
        min-width: 0px;
    }
}
.api-center-right h3 {
    color: #eeeeee;
    font-size: 16px;
    margin-bottom: 5px;
}

/* http://stackoverflow.com/questions/4996330/changing-default-starting-position-of-anchor */
.anchor {
    position: relative;
    top: -110px;
    display: block;
}

.method {
    background-color: #000;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    padding: 2px 6px;

    border-radius: 3px;
    font-weight: bold;
    margin-right: 5px;
}
.method-get {
    background-color: #3D9970;
}
.method-post,
.method-put {
    background-color: #026;
}
.method-delete {
    background-color: #aa0000
}

table {
    border: 3px #eee solid;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 5px;
}
table th {
    background: #eee;
    color: #666;
    padding: 5px;
}
table td {
    border: 1px #ddd solid;
    vertical-align: top;
}
table td:first-child {
    text-align: right;
    font-weight: bold;
}

table td:nth-child(2) {
    padding-top: 5px;
    width: 70%;
}
table.col-3 td:nth-child(2) {
    width: auto;
}

pre {
    white-space: pre-wrap;
}

code {
    font-size: 13px;
    background: #eee;
    padding: 3px;
}

code.nobg {
    background: transparent;
}

pre code {
    display: block;
    background: transparent;
    padding: 0;
}

em {
    font-style: italic;
    color: #026;
}

.box {
    border: 3px solid #eee;
    padding: 8px;
}

.param-quiet {
    color: #aaa;
    display: block;
    font-weight: normal;
}

.param-loud {
    color: #fa7;
    display: block;
    font-weight: normal;
}

.warning {
    margin: 10px;
    background-color: #fcf8e3;
    border-radius: 5px;
    border: 1px #faf2cc solid;
    color: #8a6d3b;
    overflow: hidden;
}
.warning section {
    background-color: #fcf8e3;
    padding: 10px 15px;
    font-size: 12px;
}

.param-preview {
    color: #b21f59;
    display: block;
    font-weight: normal;
}
