@import "reset.css";
@import "colors.css";

/* @group FONTS */

/* Montserrat */

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-regular-webfont.woff2') format('woff2'),
			 url('../fonts/montserrat-regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-italic-webfont.woff2') format('woff2'),
			 url('../fonts/montserrat-italic-webfont.woff') format('woff');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-semibold-webfont.woff2') format('woff2'),
	  	 url('../fonts/montserrat-semibold-webfont.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-semibolditalic-webfont.woff2') format('woff2'),
			 url('../fonts/montserrat-semibolditalic-webfont.woff') format('woff');
	font-weight: 600;
	font-style: italic;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-bold-webfont.woff2') format('woff2'),
			 url('../fonts/montserrat-bold-webfont.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/montserrat-bolditalic-webfont.woff2') format('woff2'),
			 url('../fonts/montserrat-bolditalic-webfont.woff') format('woff');
	font-weight: 700;
	font-style: italic;
}

/* Source Code Pro */

@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/sourcecodepro-regular-webfont.woff2') format('woff2'),
         url('../fonts/sourcecodepro-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/sourcecodepro-italic-webfont.woff2') format('woff2'),
         url('../fonts/sourcecodepro-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/sourcecodepro-bold-webfont.woff2') format('woff2'),
         url('../fonts/sourcecodepro-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Source Code Pro';
    src: url('../fonts/sourcecodepro-bolditalic-webfont.woff2') format('woff2'),
         url('../fonts/sourcecodepro-bolditalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

/* @end */

/* @group GENERAL */

html, body {
	background-color: var(--primary-background-color);
	color: var(--primary-text-color);
	font-family: 'Montserrat', Verdana, sans-serif;
	font-size: 18px;
	font-weight: normal;
	line-height: 1.5em;
}

main {
	transition: margin-left .5s;
}

strong,
.menu {
	font-weight: 600;
}

h1,
h2 {

	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2em;
}

h1 {
	color: var(--primary-background-color);
}

h2 {
	margin-bottom: 1em;
}

h2:not(:first-child) {
	margin-top: 2em;
}

	@media (min-width: 800px) {

		h1 {
			font-size: 3rem;
			line-height: 1.2em;
		}

		h2 {
			font-size: 2rem;
			line-height: 1.2em;
		}

	}

h3 {
	margin-bottom: .75em;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2em;
}

h3:not(:first-child) {
	margin-top: 2em;
}

h4 {
	margin-bottom: 1em;
	font-weight: 600;
}

p:not(:last-child) {
	margin-bottom: 1em;
}

em {
	font-style: italic;
}

pre {
	margin-top: .5em;
	margin-bottom: .5em;
	padding: 1em;
	background-color: var(--secondary-background-color);
	overflow-x: auto;
	overflow-y: auto;
	max-height: 50vh;
	border: 1px solid #ddd;
}

pre code {
	display: block;
	white-space: pre;
	word-wrap: normal;
}

code {
	font-family: 'Source Code Pro', monospace;
	padding-right: .25em; padding-left: .25em;
	background-color: var(--secondary-background-color);
	box-decoration-break: clone;
}

mark {
	padding-right: .25em; padding-left: .25em;
	background-color: var(--primary-mark-color);
	box-decoration-break: clone;
}

/* Table */

table {
	width: 100%;
	border-top: 2px solid var(--secondary-background-color);
}

table:not(:last-child) {
	margin-bottom: 1em;
}

th,
td {
	text-align: left;
	vertical-align: top;
}

th:not(:last-child),
td:not(:last-child) {
	padding-right: .5em;
}

th {
	font-weight: 600;
}

	@media (max-width: 799px) {

		th,
		td {
			display: block;
			padding-bottom: .5em;
		}

		th:first-child,
		td:first-child {
			padding-top: .5em;
		}

		th:last-child,
		td:last-child {
			border-bottom: 2px solid var(--secondary-background-color);
		}

	}

hr {
	margin: 20px 0 20px 0;
	border-top: 1px solid var(--primary-text-color);
}

	@media (min-width: 800px) {

		th,
		td {
			padding-top: .5em;
			padding-bottom: .5em;
			border-bottom: 2px solid var(--secondary-background-color);
			text-align: left;
			vertical-align: top;
		}

	}


/* Lists */

li p:not(:last-child) {
	margin-bottom: .5em;
}

.text li {
	margin-bottom: 1em;
	padding-left: 1.5em;
}

.text table li {
	margin-bottom: 0;
}

.text li:before {
	display: inline-block;
	float: left;
	clear: left;
	margin-left: -1.5em;
	width: 1.5em;
	text-align: center;
}

.text li:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

	.text li ul,
	.text li ol {
		margin-top: .5em;
	}

	.text li li {
		margin-bottom: .5em;
	}

/* Unordered List */

.text ul > li:before {
	content: "•••";
}

	.text li ul > li:before {
		content: "•";
		text-align: center;
	}

/* Ordered List */

.text ol {
	counter-reset: counter;
}

	.text ol > li {
		counter-increment: counter;
	}

	.text ol > li:before {
		content: counter(counter)" )";
	}

dl {
	padding: 20px 10px 20px 15px;
	margin-bottom: 20px;
	background-color: var(--secondary-background-color);
	border: 1px solid #ddd;
	border-radius: 10px;
}

dl dt:first-child:not(only-child) img {
	border: hidden !important;
	width: 30px;
	margin-bottom: 0 !important;
	margin-right: 10px;
	filter: brightness(0);
}

dl.warning {
	background-color: #fffdf6;
	border-color: #ffeaae;
}

dl.error {
	background-color: #fff8f7;
	border-color: #d04437;
}

dl.info {
	background-color: #edf4ff;
	border-color: var(--primary-mark-color);
}

dl.success {
	background-color: #e0fff0;
	border-color: var(--secondary-accent-color);
}

dl.tasks {
	background-color: #e7e3ff;
	border-color: #b4a6ff;
}

dl dt:first-child:not(only-child) {
	position: absolute;
	padding-left: 0px;
}

dl dt {
	padding-left: 40px;
}

dd {
	padding-left: 40px;
}

/* Links */

.text a {
	color: var(--primary-accent-color);
}

.text a:hover {
	text-decoration: underline;
}

.text h1 a,
.text h2 a,
.text h3 a {
	color: var(--primary-text-color);
}

.text h1 a:hover,
.text h2 a:hover,
.text h3 a:hover {
	color: var(--primary-accent-color);
	text-decoration: none;
}

/* Images */

img {
	max-width: 100%; height: auto;
}

.text img {
	vertical-align: top;
}

.text img:not(:first-child) {
	margin-top: .5em;
}

figure:not(:last-child) {
	margin-bottom: .5em;
}

figcaption {
	margin-top: .25em;
}

/* Buttons */

a.button {
    display: inline-block;
    margin-top: .25rem;
    padding: .9em 2em .9em 2em;
    border-radius: 2em;
    background-color: var(--primary-accent-color);
    color: var(--primary-background-color);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    transition: all .2s ease;
		margin-right: 15px;
		cursor: pointer;
}

a.button:hover {
	transform: scale(1.05);
	text-decoration: none;
}

a.button-jsd {
	display: inline-block;
	margin-top: .25rem;
	padding: .9em 2em .9em 2em;
	border-radius: 2em;
	background-color: var(--primary-background-color);
	color: var(--primary-accent-color);
	font-size: 16px;
	font-weight: 600;
	line-height: 1em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
	transition: all .2s ease;
}

a.button-jsd:hover {
	transform: scale(1.05);
}


/* Text */

.text-center {
	text-align: center;
}

/* @end */

/* @group LAYOUT */

body {
	min-width: 320px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
}

.section {
	padding-top: 3.5rem; padding-bottom: 3.5rem;
}



	@media (max-width: 799px) {

		.wrap {
			padding-right: 1.5rem; padding-left: 1.5rem;
		}
	}

	@media (min-width: 800px) {

		.wrap {
			max-width: 1280px;
			margin-right: auto; margin-left: auto;
			padding-right: 3rem; padding-left: 3rem;
		}

	}

/* @end */

/* @group VISUAL */

.background-light {
	background-color: var(--secondary-background-color);
}

.background-accent {
	background-color: var(--primary-accent-color);
	color: var(--primary-background-color);
}

/* @end */

/* @group header, logo */

.header {
	padding-top: 24px; padding-bottom: 24px;
	position: sticky;
	background-color: #fff;
	top: 0;
	box-shadow: 0px 1px 1px #efefef;
	z-index: 2;
}

	.header > .wrap {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

.logo {
	width: 116px;
	height: auto;
}

/* @end */

/* @group menu, submenu */

.menu {
	text-align: right;
}

	.menu > * {
		position: relative;
		display: inline-block;
		margin-left: 1.25em;
	}

	.menu > *:hover {
		cursor: pointer;
	}

	@media (max-width: 799px) {

		.menu {
			display: none;
		}

	}

	@media (min-width: 800px) {

		.mobile-menu-toggle,
		.mobile-menu {
			display: none;
		}

	}

.submenu {
	visibility: hidden;
	position: absolute;
	top: 1.5em;
	left: 0;
	opacity: 0;
	transition: opacity .3s ease;
	margin-right: -.75em; margin-left: -.75em;
	padding: 1.5em .75em 0 .75em;
	background-color: var(--primary-background-color);
	text-align: left;
}

.menu > *:hover .submenu {
	visibility: visible;
	opacity: 1;
}

	.submenu > * {
		margin-bottom: .75em;
		white-space: nowrap;
	}

	.submenu > *:hover {
		color: var(--primary-accent-color);
	}

/* @end */

/* @group mobile-menu */

.mobile-menu-toggle {
	position: relative;
	z-index: 10;
}

.mobile-menu-toggle.open {
	position: fixed;
	right: 1.5rem;
}

	.mobile-menu-toggle:hover {
		cursor: pointer;
	}

.mobile-menu {
	position: fixed;
	top: 0; bottom: 0;
	right: 0; left: 10%;
	overflow-y: auto;
	transform: translateX(100%);
	transition: all .3s ease;
	visibility: hidden;
	padding: 5rem 1.5rem 2rem 1.5rem;
	background-color: var(--primary-background-color);
	font-weight: 600;
	z-index: 3;
}

.mobile-menu.open {
	transform: translateX(0);
	visibility: visible;
	box-shadow: 0 0 1rem #000;
}

	.mobile-menu a:hover {
		color: var(--primary-accent-color);
	}

	.mobile-menu a,
	.mobile-menu span {
		display: inline-block;
		margin-bottom: .5em;
	}

		.mobile-menu > li > ul {
			padding-left: 1rem;
		}

/* @end */

/* @group menu-spin */

.menu-spin {
	display: inline-block;
	width: 1.75em; height: 1.75em;
	position: relative;
	transition: all .5s;
	vertical-align: bottom;
}

	.menu-spin span {
		position: absolute;
		top: 50%; left: 50%;
		transform: translate(-50%, -50%);
		transition: .3s;
		display: block;
		width: 100%; height: 3px;
		background-color: var(--primary-text-color);
	}

	.menu-spin span:nth-child(1) {
		transform: translate(-50%, -50%) translateY(-.5em);
	}

	.menu-spin span:nth-child(4) {
		transform: translate(-50%, -50%) translateY(.5em);
	}

	.menu-spin.open span:nth-child(1) {
		opacity: 0;
	}

	.menu-spin.open span:nth-child(2) {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.menu-spin.open span:nth-child(3) {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.menu-spin.open span:nth-child(4) {
		opacity: 0;
	}

/* @end */

/* @group hero */

.hero {
	background-image: url('../images/shutterstock-1389370193.jpg');
	background-size: cover;
	background-position: center center;
}

	.hero > .wrap {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		height: 20rem;
		z-index: 1;
	}

/* @end */

/* @group teasers */

	@media (max-width: 799px) {

		.teasers > *:not(:last-child) {
			margin-bottom: 3rem;
		}

	}

	@media (min-width: 800px) {

		.teasers {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			grid-column-gap: 3rem;
			grid-row-gap: 3rem;
		}

	}

/* @end */

/* @group footer */

.footer {
	padding-top: 2rem; padding-bottom: 2rem;
	background-color: var(--primary-text-color);
	color: var(--primary-background-color);
	z-index: 2;
	position: relative;
	margin-top: auto;
}

	.footer a {
		display: inline-block;
	}

	.footer a:hover {
		text-decoration: underline;
	}

	.footer a:first-child {
		margin-bottom: 1em;
	}

	@media (max-width: 799px) {

			.footer a {
				margin-right: 1em;
			}

			.footer a:first-child {
				display: block;
			}

	}

	@media (min-width: 800px) {

		.footer {
			text-align: right;
		}

		.footer a:not(:first-child) {
			margin-left: 1em;
		}

		.footer a:first-child {
			float: left;
		}

	}

/* @end */

/* markdown */

.markdown h1 {
	font-size: 2rem;
	line-height: 1.2em;
	color: black;
	margin-bottom: 1em;
	margin-top: 2em;
}

.markdown h2 {
	margin-bottom: .75em;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2em;
}

.markdown h2:not(:first-child) {
	margin-top: 2em;
}

.markdown h3 {
	margin-bottom: .75em;
	font-size: 1.10rem;
	font-weight: 600;
	line-height: 1.2em;
}

.markdown img {
	margin-bottom: 1.5em;
	border: 1px solid var(--primary-text-color);
}

/*markdown-table*/

.markdown-table th {
	padding-left: 10px;
	padding-right: 10px;
}

.markdown-table td {
	padding-left: 10px;
	padding-right: 10px;
}

.markdown-table table {
	margin-top: 50px;
	margin-bottom: 50px;
	border: 1px solid var(--primary-background-color);
	table-layout: auto;
	font-size: 14px;
	line-height: 1.3em;
}

.markdown-table thead {
	font-size: 18px;
	line-height: 1.5em;
}

.markdown-table code {
	hyphens: manual;
	word-wrap: break-word;
}

.markdown-table tr:nth-child(odd) {
	background-color: var(--secondary-background-color);
}

.markdown-table thead tr:nth-child(odd) {
	background-color: white;
}

/* markdown-paragraph */

.paragraph {
	height: 18px !important;
	vertical-align: middle !important;
	margin-bottom: 0 !important;
	border-style: none !important;
	margin-top: 0 !important;
}

/* overview */

.overview th {
	width: 30%;
}

.overview td {
	width: 70%;
}

/*front*/

.front li {
	margin-bottom: 0;
}

.front {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}
 /* cookie consent */

.cc-window {
    font-family: Montserrat, Calibri, Arial, sans-serif !important;
}
.cc-window.cc-banner {
    padding: 29.8157px !important;
}
.cc-btn {
    border-radius: 2em;
}

/* side nav */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 100px;
  left: 0;
  background-color: var(--primary-background-color);
  overflow-x: hidden;
  transition: 0.5s;
  padding: 0px 0px 0px 0px;
  max-height: calc(100vh - 5.5rem);
  box-shadow: 1px 0px 1px #efefef;
}

.sidenav a {
  text-decoration: none;
  font-size: 16px;
  color: var(--primary-text-color);
  display: block;
  transition: 0.3s;
  line-height: 1.5em;
  padding-bottom: 1em;
}

.sidenav a:hover {
  opacity: 0.7;
}

.sidenav .closebtn {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 45px;
  line-height: 1.2em;
  padding-top: 15px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 16px;
  }
}

.sidenav h1 {
  margin-bottom: .75em;
  font-size: 1.10rem;
  font-weight: 600;
  line-height: 1.2em;
  color: var(--primary-text-color);
}

.active {
  font-weight: 800 !important;
  color: var(--primary-accent-color) !important;
}

.openbtn {
  width: 65px;
  cursor: pointer;
  position: sticky;
  margin-top: 60px;
  top: 160px;
  left: 70px;
  float: left;
}

.openbtn:hover {
  transform: scale(1.05);
}

.sidenav .section-nav li {
  border-left: 1px solid var(--table-document-color);
  padding-left: 20px;
}

.sidenav .child-element-nav li {
  padding-left: 10px;
}

.sidenav .child-element-nav li a {
  font-size: 15px;
  font-weight: 500;
}

.sidenav .section-nav (:last-child) {
  margin-bottom: 5px;
}

.sidenav .section-nav li a {
  font-size: 15px;
  font-weight: 500;
}

.sidenav .section-nav li ul li {
  border-style: hidden;
  padding-left: 15px;
}

.sidenav .section-nav li ul li a {
  font-size: 14px;
  font-weight: 450;
  line-height: 1.1em;
}

.sidenav .section-nav {
  padding-bottom: 10px;
}

@media (max-width: 800px) {
  .sidenav {
    display: none;
  }

  .openbtn {
    display: none;
  }
}

/* code syntax highlighting */

.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #7D9029 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.highlight .no { color: #880000 } /* Name.Constant */
.highlight .nd { color: #AA22FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0000FF } /* Name.Function */
.highlight .nl { color: #A0A000 } /* Name.Label */
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
.highlight .mf { color: #666666 } /* Literal.Number.Float */
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
.highlight .vc { color: #19177C } /* Name.Variable.Class */
.highlight .vg { color: #19177C } /* Name.Variable.Global */
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */

.line-number {
  display: block;
  float: left;
  margin: 0 1em 0 -1em;
  border-right: 1px solid #ddd;
}
.line-number span {
  text-align: center;
  display: block;
  padding: 0 .5em 0 1em;
  color: #ccc;
}
