.navigation {
  top: 90px;
}
.book-summary nav.autoshow a,
.book-summary nav.autoshow a:hover {
  color: inherit;
  text-decoration: none;
}
@media (min-width: 800px) {
  .book-summary nav.autoshow {
    display: none;
  }
}
.cocos-navbar {
  overflow: visible;
  width: 100%;
  min-width: 800px;
  z-index: 2;
  font-size: 0.85em;
  color: #7e888b;
  background: #f5f5f5;
  display: flex;
  position: absolute;
  top: 0;
}
.cocos-navbar::after {
  clear: both;
  content: '.';
  display: block;
  visibility: hidden;
  height: 0;
} 
.cocos-navbar a,
.cocos-navbar a:hover {
  color: inherit;
  text-decoration: none;
}
.cocos-navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.cocos-navbar ul li {
  margin-right: 1px;
  position: relative;
  float: left;
}
.cocos-navbar ul li a:hover + .hovershow,
.cocos-navbar ul li .hovershow:hover,
.cocos-navbar ul li .hovershow li:hover {
  display: block;
}
.cocos-navbar ul li img {
  margin-top: 3px;
}
.cocos-navbar ul li ul {
  margin: -3px 0 0 0;
  background: #f5f5f5;
  display: none;
  width: 100%;
  z-index: 999;
  position: absolute;
}
.cocos-navbar ul li ul li {
  display: block;
  float: none;
}
.cocos-navbar ul li ul li a {
  width: auto;
  min-width: 100px;
  padding: 0 20px;
}
@media screen and (max-width: 800px) {
  .cocos-navbar ul li {
    /*Make dropdown links appear inline*/
    /*Create vertical spacing*/
    /*Make all menu links full width*/
  }
  .cocos-navbar ul li ul {
    position: static;
    display: none;
  }
  .cocos-navbar ul li li {
    margin-bottom: 1px;
  }
  .cocos-navbar ul li ul li,
  .cocos-navbar ul li li a {
    width: 100%;
  }
}
.cocos-navbar .btn {
  display: inline-block;
  height: 40px;
  padding: 0px 15px;
  border-bottom: none;
  color: #aaa;
  text-transform: none;
  line-height: 40px;
  position: relative;
  font-size: 14px;
}
.cocos-navbar .btn:hover {
  position: relative;
  text-decoration: none;
  color: #444;
  background: none;
}
.cocos-navbar .btn:focus {
  outline: none;
}
.cocos-navbar:hover h1 {
  opacity: 1;
}
@media (max-width: 800px) {
  .cocos-navbar {
    display: none;
  }
}
@media (min-width: 800px) {
  .page-wrapper {
    min-width: 800px;
    padding-top: 40px;
  }
}
@media (max-width: 800px) {
  .page-wrapper {
    min-width: 800px;
    padding-top: 0;
  }
}
@media (min-width: 800px) and (max-width: 1000px) {
  .cocos-navbar ul .version-link ul {
    margin-left: 20px;
  }
  .cocos-navbar .nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
}
@media (max-width: 1240px) {
  .book-body .body-inner {
      overflow: visible;
  }
}
.cocos-navbar ul .version-link {
  float: right;
  z-index: 10;
  padding-right: 15px;
  text-align: right;
  min-width: 180px;
  display: flex;
  align-items: center;
}
.version-link > ul {
  top: 100%;
  right: 0;
  width: auto !important;
  min-width: 180px;
}
.version-link ul li .btn {
  padding-right: 35px;
  padding-left: 0;
}
.version-link a span {
  padding: 0;
}

.version-badge {
  display: inline-flex;
  align-items: center;

  z-index: 10;

  color: #0C090A;
  background-color: #cccccc;

  height: 20px;
  padding: 0 8px;
  border-radius: 20px;
}

.book-header {
  min-width: 800px;
}
