body {
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v15-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Roboto Light'), local('Roboto-Light'),
       url('../fonts/roboto-v15-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v15-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v15-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v15-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v15-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v15-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v15-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v15-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v15-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v15-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v15-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v15-latin-700.eot'); /* IE9 Compat Modes */
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('../fonts/roboto-v15-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v15-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v15-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v15-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v15-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

h1 {
    font-size: 26px;
}
h2 {
    font-size: 22px;
}
h3 {
    font-size: 20px;
}
h4, h5 {
    font-size: 18px;
}

/**
 * Mobile navbar
 */

.navbar {
    min-height: 50px;
}

.navbar-brand {
    height: 50px;
    font-size: 14px;
    line-height: 20px;
    padding: 15px;
}

.navbar-static-top {
    margin-bottom: 0;
    height: 50px;
}


/**
 * Main container
 */

.container-fluid {
    overflow-y: hidden;
    overflow-x: hidden;
}

.container-fluid.main {
    height: 100%;
    padding: 0;
}

.container-fluid.overview {
    margin-top: 50px;
}

.container-fluid.modules, .container-fluid.components, .container-fluid.directives, .container-fluid.classes, .container-fluid.injectables, .container-fluid.pipes, .content.routes table {
    margin-top: 25px;
}

.container-fluid.module {
    padding: 0;
    margin-top: 0;
}

.container-fluid.module h3 a {
    margin-left: 10px;
    color: #333;
}

.row.main {
    height: 100%;
    margin: 0;
}


/**
 * Copyright
 */

.copyright {
    margin: 0;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    display: -webkit-flex;
    -webkit-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    z-index: 1;
}

.copyright img {
    width: 80px;
    margin-top: 10px;
}

.copyright a {
    color: #009dff;
    text-decoration: underline;
}


/**
 * Content
 */

.content {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: calc(100% - 300px);
    position: absolute;
    top: 0;
    left: 300px;
    padding: 15px 30px;
}

.content>h1:first-of-type {
    margin-top: 15px
}

.content>h3:first-of-type {
    margin-top: 5px;
}

.content.readme h1:first-of-type {
    margin-top: 0;
}

.content table {
    margin-top: 20px;
}


/**
 * Icons
 */

.glyphicon, .fa {
    margin-right: 10px;
}

.fa-code-fork {
    margin-right: 14px;
}

.fa-long-arrow-down {
    margin-right: 16px;
}


/**
 * Menu
 */

#book-search-input {
    padding: 6px;
    background: 0 0;
    transition: top .5s ease;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    border-top: 1px solid rgba(0, 0, 0, .07);
    margin-bottom: 5px;
    margin-top: -1px
}

#book-search-input input, #book-search-input input:focus, #book-search-input input:hover {
    width: 100%;
    background: 0 0;
    border: 1px solid transparent;
    box-shadow: none;
    outline: 0;
    line-height: 22px;
    padding: 7px 7px;
    color: inherit
}

.panel-body {
    padding: 0px;
}

.panel-group .panel-heading+.panel-collapse>.list-group, .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0;
}

.panel-body table tr td {
    padding-left: 15px
}

.panel-body .table {
    margin-bottom: 0px;
}

.panel-group .panel:first-child {
    border-top: 0;
}

.menu {
    background: #fafafa;
    border-right: 1px solid #e7e7e7;
    height: 100%;
    padding: 0;
    width: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.menu ul.list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul.list li a {
    display: block;
    padding: 10px 15px;
    border-bottom: none;
    color: #364149;
    background: 0 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: relative
}

.menu ul.list li a.active {
    color: #008cff;
}

.menu ul.list li.divider {
    height: 1px;
    margin: 7px 0;
    overflow: hidden;
    background: rgba(0, 0, 0, .07)
}

.menu ul.list li.chapter ul.links {
    padding-left: 20px;
}

.menu ul.list li.chapter .simple {
    padding: 10px 15px;
}

.menu .panel-group {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.menu .panel-default {
    border-right: none;
    border-left: none;
    border-bottom: none;
}

.menu .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: none;
    overflow-y: auto;
    max-height: 350px;
}

.menu .panel-default:last-of-type {
    border-bottom: 1px solid #ddd;
}

.panel-group .panel+.panel {
    margin-top: 0;
}

.panel-group .panel {
    z-index: 2;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    border-left: 0;
    border-right: 0;
}

.menu a {
    color: #3c3c3c;
}

.xs-menu ul.list li:nth-child(2){
    margin: 0;
    background: none;
}
.menu ul.list li:nth-child(2){
    margin: 0;
    background: none;
}
.menu .title {
    padding: 8px 0;
}

.overview .card-title .fa {
    font-size: 50px;
}

.breadcrumb {
    background: none;
    padding-left: 0;
    margin-bottom: 10px;
    font-size: 24px;
    padding-top: 0;
}

.breadcrumb a {
    text-decoration: underline;
    color: #333;
}

.comment {
    margin: 15px 0;
}

.io-description {
    margin: 10px 0;
}

.io-file {
    margin: 20px 0;
}

.navbar .btn-menu {
    position: absolute;
    right: 0;
    margin: 10px;
}

.xs-menu {
    height: calc(100% - 50px);
    display: none;
    width: 100%;
    overflow-y: scroll;
    z-index: 1;
    top: 50px;
    position: absolute;
}

.xs-menu .copyright {
    margin-top: 20px;
    position: relative;
}

pre {
    padding: 12px 12px;
    border: none;
    background: #23241f;
}
code {
    background: none;
    padding: 2px 0;
}

@media (max-width: 767px) {
    .container-fluid {
        margin-top: 50px;
    }
    .container-fluid.main {
        height: calc(100% - 50px);
    }
    .content {
        width: 100%;
        left: 0;
        position: relative;
    }
    .menu ul.list li.title {
        display: none;
    }
}

/**
 * Search
 */

.search-results {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px 40px 15px
}
.search-results .no-results {
    display: none;
}

.with-search .search-results {
    display: block;
}
.with-search .content-data {
    display: none;
}

.with-search .xs-menu {
    height: 51px;
}
.with-search .xs-menu nav {
    display: none;
}

.search-results.no-results .has-results {
    display: none;
}

.search-results.no-results .no-results {
    display: block;
}
.search-results .search-results-title {
    text-transform: uppercase;
    text-align: center;
    font-weight: 200;
    margin-bottom: 35px;
    opacity: .6
}
.search-results ul.search-results-list {
  list-style-type: none;
  padding-left: 0;
}
.search-results ul.search-results-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}
.search-results ul.search-results-list li p em {
  background-color: rgba(255, 220, 0, 0.4);
  font-style: normal;
}
