/** Use custom web font **/
body, .book.font-family-1, .book-summary, .book-header {
  font-family: 'Lato', sans-serif !important;
}

a.gitbook-link{
  display:none;
  color: white;
  opacity:0;
}

.book-summary ul.summary li.header{
  text-transform: none;
}

.book-summary ul.summary li a, .book-summary ul.summary li span {
color: #7c858c;
}

.markdown-section blockquote {
  padding-top: 18px !important;
  padding-left: 25px !important;
}

.markdown-section code, .markdown-section pre {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
}

pre.language-{
  padding:2em;
  border-radius: 4px;
  overflow: scroll;
}

pre{
  overflow: scroll;
}

section.normal.markdown-section p, blockquote, ul, ol {
  max-width: 750px !important;
}

nav{
  padding-left: 20px;
}

.book-summary{
  background-color:white;
  border-right: : 1px solid;
}

.markdown-section {
  padding:0px;
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (min-width: 600px) {
  .book.with-summary .book-body {
      left: 340px;
  }
  .page-wrapper{
    max-width: calc(100vw - 380px);
  }
}

@media (max-width: 600px) {
  .page-wrapper{
    max-width: 90vw;
    padding-left: 5vw;
  }

  table {
    max-width: 90vw;
    overflow: scroll;
  }
}

li.divider{
  opacity:0;
}

body, .book.font-family-1, .book-summary, .book-header {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/** Border styling **/


.book-header .btn.lang-switcher.active {
  background-color: #48EEA5;
  color:black;
}



/** Navigation headings **/
.book-summary ul.summary li.header {
  font-weight: bold;
  color: #333;
}

li.header:hover{
  text-decoration: underline;
}



li.chapter span:hover{
  text-decoration: underline;
}

.book-summary ul.summary li.chapter {
  padding-left: 10px;
  padding-top: 5px;
}

.page-wrapper {
  padding-top: 10px;
}

/** Add hypertrack logo to navigation **/
.summary > li:first-child:not(.header) {
  height: 70px;
  display: none; /** hiding logo from the navigation **/
}

.custom-link {
  display: none !important;
}

blockquote {
  padding-top: 5px !important;
  padding-bottom: 4px !important;
  margin-top: 10px;
  margin-bottom: 10px;
}

blockquote img {
  margin: 0;
}

.markdown-section h4 {
  margin-bottom: 0.2em;
}

/** Image styling to center align **/
img {
  display: block;
  margin: auto;
}

#page-footer img {
  display: inline;
  margin: 0;
}

/** Table of contents styling **/
.page-toc {
  float: none;
  padding: 10px !important;
  width: 280px;
  font-size: inherit;
}

.page-toc ul {
  margin-bottom: 0;
}

.page-toc ul ul {
  padding-left: 25px;
}

.page-toc ul ul li {
  list-style-type: disc;
  font-size: smaller;
  padding-top: 2px;
}

.page-toc::before {
  content: "In this section";
  font-weight: normal;
  font-size: smaller;
}

/** Disable ugly font settings in the top header **/
.font-settings {
  display: none;
}

/** To make animated buttons **/
.button-ht {
  display: inline-block;
  border-radius: 8px;
  background: #e67300 !important;
  border: none;
  color: white !important;
  text-align: center;
  font-size: 28px;
  padding: 8px 18px;
  transition: all 0.7s;
  cursor: pointer;
  font-size: 16px;
}

.button-ht span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button-ht span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button-ht:hover span {
  padding-right: 25px;
}

.button-ht:hover span:after {
  opacity: 1;
  right: 0;
}
