body.example2 {
    background: #5f4f59;
    background: radial-gradient(ellipse at center, #5f4f59 0%, #2d1d2b 100%);
}
body.example3 {
    background: #7f5f49;
    background: radial-gradient(ellipse at center, #5f7f49 0%, #1d1d2b 100%);
}
body.example4 {
    background: #7f5f49;
    background: radial-gradient(ellipse at center, #7f5f49 0%, #1d1d2b 100%);
}
body.example5 {
    background: #7f3f49;
    background: radial-gradient(ellipse at center, #7f3f49 0%, #1d1d2b 100%);
}
body.example6 {
    background: #3f5f59;
    background: radial-gradient(ellipse at center, #3f5f59 0%, #1d1d2b 100%);
}
body.example7 {
    background: #604060;
    background: radial-gradient(ellipse at center, #604060 0%, #1d1d2b 100%);
}
pre {
    border-radius: 5px;
    font-size: 12px;
    line-height: 16px;
    text-align: left;
    background: black;
    padding: 20px;
    max-height: 300px;
    width: 60%;
    margin: 0 20% 30px 20%;
    overflow: auto;
}
pre .alert { color: #D00; }
p a {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
p { line-height: 1.4em; }
em {
    opacity: 0.7;
    font-style: normal;
}
h1 span {
    font-weight: lighter;
    opacity: 0.6;
}
h3 {
    opacity: 0.9;
    font-weight: normal;
}

/**************** Page switcher ****************/

.page-switcher {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.25s;
    position: fixed;
    top: 50%;
    height: 100px;
    width: 100px;
    margin-top: -50px;
    font-size: 40px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.page-switcher:hover { background: rgba(0, 0, 0, 0.4); }
.page-switcher-prev { left: 0; }
.page-switcher-prev:hover { left: -10px; }
.page-switcher-next { right: 0; }
.page-switcher-next:hover { right: -10px; }

/**************** JavaScript API examples ****************/

#console {
    height: 100px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    margin: 0 0 30px 0;
}

/******************** Example window ********************/

.example-window {
    text-align: center;
    display: inline-block;
    padding: 40px 0px;
}
.example-window h1 { margin: 0 0 .5em 0; }
.example-window p { margin: 0 0 1em 0; }
.example-window button {
    margin: 0;
    padding: .5em;
    font-size: 1em;
}

/******************** Forms ********************/

.form-controls { margin: 40px; }
.form-controls label {
    display: block;
    text-align: center;
    opacity: 0.5;
    margin-bottom: 10px;
}
.btn-group { margin-bottom: 10px; }
.btn, .btn:visited {
    display: inline-block;
    background: #FFF;
    color: #000;
    border: 0;
    padding: 0.5em 1.4em;
    text-decoration: none;
    border-radius: 0.2em;
    transition: all 0.25s;
    margin: 0 0.25em;
}
.btn:hover { background: #DDD; color: #000; }

/******************** Table ********************/

table th {
    text-align: right;
    font-weight: normal;
    opacity: 0.5;
}

/******************** Example selector ********************/

ul { list-style: none; padding: 0; }
.example-selector > li {
    display: inline-block;
    color: #ececec;
    background: #6156ce;
    text-align: center;
    cursor: pointer;
    margin: 0.5em;
    padding: 0.5em;
    overflow: hidden;
    transition: all 0.25s;
    height: 3em;
    width: 10em;
    border-radius: 30px;
}
.example-selector > li:hover { color: #fff; }
.example-selector > li:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
.example-selector > li > span {
    display: inline-block;
    vertical-align: middle;
    padding: 3px 5px;
    font-size: 16px;
}

/******************** SelectBox ********************/

.selectbox {
    text-align: center;
    font-size: inherit;
    max-width: 20em;
    padding: .2em .4em;
}

/******************** Layout ********************/

.center-outer { display: table; }
.center-inner {
    display:table-cell;
    vertical-align:middle;
    text-align: center;
}
.fit {
    width: 100%;
    height: 100%;
    background-color: #f1f3f9;
}

/******************** Code ********************/

#options { display: none; }

/******************** Responsiveness ********************/

@media (min-width : 820px) and (max-width: 1000px) {
    .example-window { margin: 0 100px; }
}
@media (max-width: 819px) {
    .example-window { margin: 0; }
    .page-switcher {
        position: inherit;
        display: inline-block;
        padding: 10px 10px;
        width: 30px;
        height: 30px;
        font-size: 20px;
        border-radius: 50%;
        margin: 20px 0;
    }
}
