html {
    font-size: 16px;
}

body {
    font-family: "Roboto";
    font-weight: 400;
    font-size: 14px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.vhide {
    visibility: hidden !important;
}

a.nav-link.active {
    border-radius: 6px;
    padding: 4px 8px 3px;
    margin: 4px 0px 0px 0px;
}

@media screen and (max-width: 991px)
{
    .navbar-collapse li.nav-item {
        padding: 0px 15px !important;
    }

    .navbar-default .navbar-collapse{
        background: #342F77;
    }
    .navbar-collapse a.nav-link.active {
        background: white;
        color: black !important;
        padding: 4px 12px !important;
        margin: 4px 4px;
        border-radius: 3px;
    }
}

h1, h2, h3 {
    font-family: "PT Sans" !important;
    font-weight: 700;
    box-sizing: border-box;
    margin-top: 30px;
}

#features {
    margin-top: 0;
}

h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
    display: block;
    content: " ";
    height: 92px;
    margin-top: -92px;
    visibility: hidden;
}

.all-container {
    overflow: hidden;
}

.all-container .jumbotron {
    padding-top: 130px;
    font-family: "Roboto";
    background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.66) 0%, rgba(102, 9, 94, 0.66) 100%), url("compressed/back.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: center center, top center;
    background-attachment: fixed;
    background-size: cover, cover;
    border-radius: 0;
}

.all-container .jumbotron h1 {
    font-family: "PT Sans" !important;
    font-weight: 600 !important;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    font-size: 3em;
    color: white;
    padding: 0;
    line-height: 1.2em;
}

.all-container .jumbotron p {
    color: #fff;
    padding: 10px 0px;
    border-radius: 4px;
    font-weight: 100;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 0 30px;
    z-index: 1000000;
    transition: all .4s ease-in-out;
}

.modal-open .navbar {
    z-index: 1000;
}

.navbar-brand {
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "PT Sans";
    margin-top: -4px;
    position: relative;
}

.navbar-brand i {
    position: relative;
    top: 1px;
}

.navbar-brand, .navbar-brand:hover, .navbar-default a.nav-link, .navbar-default a.nav-link:hover {
    color: #f8f8ff !important;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-toggle {
    border-color: white;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background: white;
    border-color: #322F75;
}

.navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar {
    background: #322F75;
}

.navbar-default,
.navbar-default .navbar-nav a.nav-link.active,
.navbar-default .navbar-nav a.nav-link.active:hover,
.navbar-default .navbar-nav a.nav-link.active:focus {
    background: #322F75;
    border: none;
}

.navbar-default {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.navbar-default.isontop {
    background: transparent;
    padding-top: 0px;
    box-shadow: none;
}


.navbar-default .navbar-nav a.nav-link.active,
.navbar-default .navbar-nav a.nav-link.active:hover,
.navbar-default .navbar-nav a.nav-link.active:focus {
    background: white !important;
    color: #322F75 !important;
}

.first-header {
    margin-top: 10px;
}

footer {
    background: ghostwhite;
    padding: 20px;
    margin-top: 50px;
}

#scrollspy {
    position: absolute;
}

#scrollspy.is-position-fixed {
    position: fixed;
    top: 92px;
}

#examples-toc {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
}

#examples-toc a {
    flex: 0 0 32.5%;
    padding: 6px;
    margin: 1px;
    background: ghostwhite;
    border: 1px solid #d8d8df;
    align-items: center;
    display: flex;
}

.toc {
    overflow-y: auto;
    border: 1px solid ghostwhite;
}

.toc-container {
    width: 285px;
}

.toc-container > .toc-list {
    padding: 0;
    margin: 0;
    background: #f8f8ff;
}

.toc-container > .toc-list > li {
    list-style-type: none;
}

.toc-container > .toc-list > li > a.is-active-link {
    font-weight: bold;
    color: #322F75;
}

.toc-container > .toc-list > li > a {
    padding: 5px;
    border-bottom: 2px solid white;
    display: block;
    color: black;
}

.toc-container > .toc-list > li:last-child > a {
    border-bottom: none;
}

.toc>ul {
    overflow: hidden;
    position: relative;
}

.toc>ul li {
    list-style: none;
}

.toc-list {
    margin: 0;
    padding-left: 10px;
}

a.toc-link {
    color: currentColor;
}

.is-collapsible {
    max-height: 1000px;
    overflow: hidden;
    transition: all 300ms ease-in-out
}

.is-collapsed {
    max-height: 0
}

.is-position-fixed {
    position: fixed !important;
    top: 0
}

.is-active-link {
    font-weight: 700
}

.is-collapsed .toc-link::before {
    display: none;
}

.toc-link::before {
    background-color: #EEE;
    content: ' ';
    display: none;
    height: 20px;
    left: 0;
    margin-top: 1px;
    position: absolute;
    width: 3px;
    margin-left: 20px;
}

.is-active-link::before {
    background-color: #8a48b1;
}

.doc-feature-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 0px;
}

.doc-feature {
    flex: 0 0 50%;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    display: flex;
}

.doc-feature-box {
    flex: 1 1 100%;
    padding: 10px;
    align-items: center;
    justify-content: flex-start;
    display: flex;
}

.doc-feature img {
    height: 64px;
    margin-right: 20px;
}

.icon-attribution {
    text-align: center;
    background: #f8f8ff;
    padding: 10px;
}


/* Mobile fixes */

@media screen and (max-width: 991px) {
    .example-container {
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, .5);
        border-radius: 8px;
        padding: 0px;
    }
    .all-container .jumbotron {
        padding: 100px 20px;
    }
    .example-container input {
        background: transparent;
        border: none;
        border-bottom: 1px solid white;
        color: white;
    }
    .navbar.isontop {
        padding-top: 0;
    }
    .navbar-collapse {
        margin: 0 -40px;
    }
    .navbar-collapse a, .navbar-collapse a.active {
        padding: 10px 15px !important;
    }
    .doc-feature {
        flex: 0 0 100%;
    }
    .doc-feature div:first-child {
        min-width: 80px;
        margin-right: 10px;
    }
    @media (orientation: landscape) {
        .doc-feature {
            flex: 0 0 50%;
        }
        .doc-feature:nth-child(2n) {
            padding: 10px 10px 0 0;
        }
    }
}

.scroll-to-top, .scroll-to-top:focus, .scroll-to-top:active {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #322F75;
    color: white;
    border-radius: 10px;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 30px;
    transition: all .3s ease-in-out;
    display: block !important;
}

.scroll-to-top.hidden {
    opacity: 0;
    display: block;
}

.btn-buynow {
    color: white;
    background-color: black;
    border-radius: 0px;
}

.btn-buynow:hover {
    background: #d8d8df;
    color: #07286A;
}

blockquote {
    margin: 0 0 1rem;
    background: #fffff8;
    padding: 2em;
    border-radius: 6px;
    border: 1px solid #eeeee8;
}

blockquote p:last-child {
    margin-bottom: 0;
}

code.hljs { padding: 2rem; font-family: 'Courier New', Courier, monospace; border-radius: 6px; }

.well.well-sm.examples-well {
    /*background: #e2e2e2;*/
    /*padding: 15px;*/
    /*border-radius: 6px;*/
    border-bottom:1px dotted #d2d2d2;
}

.well.well-sm.examples-well.examples-well-light {
    background: #CDCBF7;
}


.millery-node-icon {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    margin-right: 4px;
}


.millery-column-header button {
    background: white;
    font: inherit;
    border: 0px solid rgb(50, 89, 144);
    color: rgb(32, 57, 92);
    border-radius: 4px;
    font-size: 0.876rem;
    padding: 5px 10px 3px;
    line-height: 0.876rem;
}

pre {
    margin: 1rem 0;
}