/* Fonts */
/* FOnts used in this template. Link below contains all fonts from standard layouts */
/* https://fonts.google.com/selection?category=Sans+Serif,Display&selection.family=Manjari:400,700|Montserrat:300,400,400i,700,700i,800,800i|Roboto:400,400i,500,500i,700,900 */
/* @font-face {
  font-family: 'Manjari';
  src: url('public/fonts/Manjari-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manjari Bold';
  src: url('public/fonts/Manjari-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat SemiBold';
  src: url('public/fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SourceCodePro';
  src: url('public/fonts/SourceCodePro-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

/* Base */
/* Sets up some default values for the HTML elements */

body {
  font-family: "Manjari", sans-serif;
  /* background: f; */
  margin: 0;
  color: #343434;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat SemiBold', sans-serif;
  text-transform: uppercase;
  line-height: 1.2em;
}

h1, h2 {
  text-align: center;
}

a {
  color: #2f6ec1;
  text-decoration: none;
  border-bottom: 2px solid #b8d0f9;
  display: inline-block;
  height: 16px;
}

a:hover {
  cursor: pointer;
  border-bottom: 3px solid #b8d0f9;
}

a:visited {
  color: #663399;
  border-bottom: 3px solid #d5b8ff;
}

b, strong {
  font-family: "Manjari Bold";
}

div.header {
  color: white;
}

/* Layout */
/* These are the actual layout rules. Includes responsive behavior rules */

div.container {
  box-sizing: border-box;
  width: 100vw;
  min-height: calc(100vh);
  overflow: hidden;
  padding-bottom: 40px;
  background-color: white;
  
}

div.header div.topbar {
  position: relative;
  display: flex;
  width: 100%;
  height: 64px;
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

div.header div.topbar #logo {
  margin-left: 30px;
  height: 64px;
  min-width: 148px;
  width: 20%;
  background-image: url("images/TPE_logo_white.png");
  background-repeat: no-repeat;
  background-size: contain;
}

div.header div.topbar h3 {
  width: 100%;
}

div.header div.topbar div.links {
  margin-right: 10px;
  height: 64px;
  padding: 12px;
}

div.links a, div.links a:hover, div.links a:active {
  border: none;
}

div.links svg {
  height: 36px;
  fill: white;
}

div.bottombar {
  position: absolute;
  width: 100%;
  height: 40px;
  bottom: 0;
  left: 0;
  background: #000000;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

div.header div.topbar::before, div.bottombar::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  height: 100%;
  background-color: rgba(255,255,255,0.1);
  filter: blur(5px);
}

div.bottombar::before {
  top: unset;
}

div.main {
  box-sizing: border-box;
  background-color: white;
  padding: 30px;
  display: flex;
  margin: auto 80px;
  flex-direction: row;
  justify-content: center;
  height: calc(100vh - 104px);
  max-height: calc(100vh - 104px);
  overflow: hidden;
}

div.main p {
  line-height: 1.3em
}

div.toc {
  width: 280px;
  margin-right: 2%; 
  max-height: 100%;
  overflow: auto;
}

div.toc ul, ol {
  padding-inline-start: 0;
}

div.toc li {
  margin: 10px auto;
  list-style: none;

}

div.toc li a, div.toc li a:visited, div.toc li a:active {
  text-transform: capitalize;
  cursor: pointer;
  border-bottom: none;
  color: #454545;
  height: 16px;
}

div.toc li a.indented {
  margin-left: 20px;
  text-transform: unset;
}

div.toc li a.current { 
  font-weight: bold;
  color: #454545;  
}

div.toc li a:hover {
  border-bottom: 2px solid #b8d0f9;
}

div.toc li a:active {
  border-width: 3px;
  height: 15px;
  outline: 1px dashed #cdcdcd;
}

div.contentPage {
  width: 75%;
  max-height: 100%;
  overflow: auto;
}

pre, code {
  background-color: #efefef;
  line-height: 1.5em;
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: pre-wrap;
  overflow: hidden;
}

pre {
  padding: 10px;
  /* box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
  transition: box-shadow 0.3s ease-in-out;
  border: 1px solid #efefef;
}

pre:hover {
  box-shadow: 0 2px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease-in-out;
  border: 1px solid #e7e7e7;
}

@media (max-width: 460px) {

}


/*

Taken straight from Docco highlight styles, which uses the Github code styling.
github.com style (c) Vasily Polovnyov <vast@whiteants.net>

*/

pre code {
  display: block; padding: 0.5em;
  color: #000;
}

pre .hljs-comment,
pre .hljs-template_comment,
pre .hljs-diff .hljs-header,
pre .hljs-javadoc {
  color: #408080;
  font-style: italic
}

pre .hljs-keyword,
pre .hljs-assignment,
pre .hljs-literal,
pre .hljs-css .hljs-rule .hljs-keyword,
pre .hljs-winutils,
pre .hljs-javascript .hljs-title,
pre .hljs-lisp .hljs-title,
pre .hljs-subst {
  color: #954121;
  /*font-weight: bold*/
}

pre .hljs-number,
pre .hljs-hexcolor {
  color: #40a070
}

pre .hljs-string,
pre .hljs-tag .hljs-value,
pre .hljs-phpdoc,
pre .hljs-tex .hljs-formula {
  color: #219161;
}

pre .hljs-title,
pre .hljs-id {
  color: #19469D;
}
pre .hljs-params {
  color: #00F;
}

pre .hljs-javascript .hljs-title,
pre .hljs-lisp .hljs-title,
pre .hljs-subst {
  font-weight: normal
}

pre .hljs-class .hljs-title,
pre .hljs-haskell .hljs-label,
pre .hljs-tex .hljs-command {
  color: #458;
  font-weight: bold
}

pre .hljs-tag,
pre .hljs-tag .hljs-title,
pre .hljs-rules .hljs-property,
pre .hljs-django .hljs-tag .hljs-keyword {
  color: #000080;
  font-weight: normal
}

pre .hljs-attribute,
pre .hljs-variable,
pre .hljs-instancevar,
pre .hljs-lisp .hljs-body {
  color: #008080
}

pre .hljs-regexp {
  color: #B68
}

pre .hljs-class {
  color: #458;
  font-weight: bold
}

pre .hljs-symbol,
pre .hljs-ruby .hljs-symbol .hljs-string,
pre .hljs-ruby .hljs-symbol .hljs-keyword,
pre .hljs-ruby .hljs-symbol .hljs-keymethods,
pre .hljs-lisp .hljs-keyword,
pre .hljs-tex .hljs-special,
pre .hljs-input_number {
  color: #990073
}

pre .hljs-builtin,
pre .hljs-constructor,
pre .hljs-built_in,
pre .hljs-lisp .hljs-title {
  color: #0086b3
}

pre .hljs-preprocessor,
pre .hljs-pi,
pre .hljs-doctype,
pre .hljs-shebang,
pre .hljs-cdata {
  color: #999;
  font-weight: bold
}

pre .hljs-deletion {
  background: #fdd
}

pre .hljs-addition {
  background: #dfd
}

pre .hljs-diff .hljs-change {
  background: #0086b3
}

pre .hljs-chunk {
  color: #aaa
}

pre .hljs-tex .hljs-formula {
  opacity: 0.5;
}
