/* place your custom CSS overrides here */


@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700&display=swap');

* {
  font-family: 'Source Sans Pro', sans-serif;
  box-sizing: border-box;
}

a, a:visited {
  color: #333333;
}

a:active {
  color: #145b9f;
}

a:hover {
  color: #2487e4;
}

.toc-list-h1 a, .toc-list-h1 a:visited {
  color: white;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6, html, body {
  font-size: 16px;
}


.toc-wrapper .logo {
  margin: 10px 20px 0 20px;
  display: block;
  width: 190px;
}

.toc-wrapper {
  background-image: linear-gradient(rgb(42, 71, 119), rgb(15, 31, 53));
}

.toc-wrapper .toc-link.active-parent {
  background-color: rgba(19, 21, 27, 0.6);
}

.toc-wrapper .toc-list-h2 {
  background-color: rgba(19, 21, 27, 0.6);
}

.toc-wrapper > .search {
  margin-bottom: 10px;
}

.toc-wrapper > .search input {
  background-color: rgba(19, 21, 27, 0.6);
  width: 210px;
  height: 30px;
  margin: 10px;
  padding: 6px 0 6px 24px;
  border: solid 1px rgba(255, 255, 255, .4);
  border-radius: 4px;
}

.toc-wrapper > .search::before {
  left: 18px;
}


.page-wrapper .dark-box {
  background-image: linear-gradient(rgb(42, 71, 119), rgb(15, 31, 53));
  background-attachment: fixed;
  background-size: 100vw 100vh;
}

.content pre, .content blockquote {
  background-color: rgba(19, 21, 27, 0.6);
}

.content blockquote > p {
  background-color: rgba(19, 21, 27, 0.6);
}


.page-wrapper .lang-selector {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  right: 0;
  left: 230px;
  /* width: calc( calc(100% - 230px) * 0.3); */
  border-bottom: solid 4px #0F75D4;
  padding: 5px 10px 0 10px;
  background-color: #2e323a;
  overflow-x: scroll;
  display: flex;
  flex-wrap: nowrap;

}

.lang-selector a {
  padding: 0px 10px;
}

.lang-selector a.active {
  background-color: #0F75D4;
  border-radius: 4px 4px 0 0;
}


.content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  /* overflow: auto; */
}


.content > h1, .content > h2, .content > h3, .content > h4, .content > h5, .content > h6, .content > p, .content > table, .content > ul, .content > ol, .content > aside, .content > dl {
  margin-right: 0%;
}

.content h1:first-child {
  padding-top: 50px;
}

.page-wrapper .dark-box {
  width: 0%;
}

.content table {
  overflow: visible;
}

.content pre, .content blockquote {
  /* width: 100%; */
  /* max-width: 100%; */
  float: none;
  align-self: stretch;
  position: relative;
  margin: 0 28px;
  width: calc(100% - 56px);
}

div .highlight {
  max-width: 100%;
}

.content blockquote {
  background-color: #171a1f;
  /* border-radius: 8px; */
}

.content blockquote > p {
  background-color: transparent;
}

.content pre {
  background-color: #2b3039;
  /* border-radius: 8px; */
}
