@font-face {
	font-family: 'Roboto Mono';
	font-style: normal;
	font-weight: 400;
	src: local('Roboto Mono'), local('RobotoMono-Regular'),
			 url('fonts/roboto-mono-v7-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
			 url('fonts/roboto-mono-v7-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* comfortaa-500 - latin-ext_latin */
@font-face {
  font-family: 'Comfortaa500';
  font-style: normal;
  font-weight: 500;
  src: local(''),
       url('fonts/comfortaa-v28-latin-ext_latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/comfortaa-v28-latin-ext_latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* Start Style Navbar */
.navbar {
	overflow: hidden;
	background-color: #808080;
}
.navbar a {
	float: left;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	text-transform: uppercase;
	height: 50px;
}

#login{
	text-transform: uppercase;
	font-size: 16px;
	border: none;
	outline: none;
	color: white;
	padding: 16px 14px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
	height:50px;
}
#login:hover {
	background-color: #6B8E23;
}
.navbar a.right {
	float: right;
}
.dropdown {
	float: left;
	overflow: hidden;
}
.dropdown .dropbtn {
	text-transform: uppercase;
	font-size: 16px;
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: inherit;
	font-family: inherit;
	margin: 0;
	height:50px;
}
.navbar a:hover, .dropdown:hover .dropbtn {
	background-color: #6B8E23;
}
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}
.dropdown-content a {
	float: none;
	color: black;
	padding: 14px 16px;
	text-decoration: none;
	display: block;
	text-align: left;
}
.dropdown-content a:hover {
	background-color: #ddd;
}
.dropdown:hover .dropdown-content {
	display: block;
}
.hs-logo {
	padding: 0 !important;
	margin: 0;
}
/* END Style Navbar */

html, body {
	margin: 0px;
	background-image: url("img/background.png");
	font-family: 'Comfortaa500';
	font-size: 16px;
	height: 100%;
	width: 100%;
	scrollbar-color: #6B8E23 black;
}

::-webkit-scrollbar-track {
	background: black;
}

::-webkit-scrollbar-thumb {
	background: #6B8E23;
}

.header {
	background-color: White;
	padding: 20px;
	text-align: left;
	margin: 5px 0px 0px 0px;
	font-size: 16px;
	color: White;
	font-family: 'DM Mono', monospace;
}

.sql-logo{
	width:70%;
	height:auto;
}

.footer {
	/*position: sticky;/*position: fixed;*/
	background-color: #6B8E23;
	text-align: center;
	color: white;
	width: 100%;
}
* {
	box-sizing: border-box;
}
/* START index.php proportions */
.i-grid{
	display: grid;
	grid-template-columns: 33.33% 33.33% 33.33%;
	min-height: 70vh;
}
.i-col1{
	float: left;
	grid-column: 1;
	grid-row: 1;
	padding: 15px;
}
.i-col2{
	float: left;
	grid-column: 2;
	grid-row: 1;
	padding: 15px 15px 0 15px;
}
.i-col3{
	float: left;
	grid-column: 3;
	grid-row: 1;
	padding: 15px;
}
/* END index.php proportions */

.container {
	display: grid;
	grid-template-columns: 20% 60% 20%;
}
.grid {
	display: grid;
	grid-template-columns: 20% 60% 20%;
	min-height: 83vh;/*calc(~"98vh - 88.8px");*/
}
.grid-v {
	display: grid;
	grid-template-columns: 20% 30% 30% 20%;
}

.grid-d {
	display: grid;
	grid-template-columns: 5% 45% 45% 5%;
}

.col-do {
	grid-column: 2/4;
	width: 100%;
}

.col-dm {
	grid-column: 2/4;
	width: 100%;
}

.col-dl1 {
	grid-column: 2;
	width: 100%;
}

.col-dl2 {
	grid-column: 2;
	width: 100%;
}

.col-dr1 {
	grid-column: 3;
	width: 100%;
}

.col-dr2 {
	grid-column: 3;
	width: 100%;
}

.col {
	grid-column: 2;
}

.end {
	margin-bottom: 50px;
}

.col-vl {
	grid-column: 2;
}

.col-vr {
	grid-column: 3;
}

.cblock {
	display: flex;
	justify-content: center;
}

.cblock > div {
	width: 50%;
}

/* Add a card effect for articles */
.card {
	width: 98%;
	background-color: black;
	padding: 0px;
	border-radius: 25px;
	margin-left: 1%;
	margin-right: 1%;
}

@media screen and (max-width:1000px) {
	
	.header{
		padding: 0;
	}
	.sql-logo{
		width:100%;
		height:auto;
	}
	.i-grid{
		grid-template-columns: 2% 96% 2% !important;
	}
	.i-col1{
		grid-column: 2 !important;
		grid-row: 1 !important;
	}
	.i-col2{
		grid-column: 2 !important;
		grid-row: 2 !important;
	}
	.i-col3{
		grid-column: 2 !important;
		grid-row: 3 !important;
		padding: 0 15px 15px 15px !important;
	}
	.text {
		margin: 1px;
	}
	.cblock {
		display: block;
	}
	.cblock > div{
		width: 100%;
	}
	html, body{
		max-width: 100vw;
	}
	.card {
		width: 100%;
	}
}

@media screen and (max-width:800px) {
	.navbar a.right {
		float: left !important;
	}
	.grid {
		grid-template-columns: 2% 96% 2%;
	}
	.col {
		width: 100%;
	}
	#table {
		/*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
		font-family: 'Comfortaa500';
		border-collapse: collapse;
		width: 100%;
		margin: 0;
	}

	#table td, #table th {
		padding: 1px;
		text-align: center;
	}
	.i-grid{
		grid-template-columns: 2% 38% 58% 2%;
	}
	.i-col1{
		float: left;
		grid-column: 2;
		padding: 15px 15px 0 15px;
		grid-row: 1;
	}
	.i-col2{
		float: left;
		grid-column: 3;
		padding: 0 15px 0 15px;
		grid-row: 1;
	}
	.i-col2-e{
		float: left;
		grid-column: 3;
		padding: 0 15px 0 15px;
	}
	.i-col3{
		float: left;
		grid-column: 2;
		padding: 0 15px 0 15px;
		grid-row: 2;
	}
	h2 {
		margin-top: 20px !important;
	}
}
/*Style für das Formular*/
input[type=text], input[type=email], input[type=password], input[type=number], select {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid black;
	border-radius: 4px;
	box-sizing: border-box;
}
input[type=radio]:checked {
	background-color: #6B8E23;
}

input[type = submit]:disabled {
	width: 100%;
	background-color: lightgray;
	color: white;
	padding: 14px 20px;
	margin: 8px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	color: black;
}

input[type=submit]:disabled:hover {
	background-color: lightgray;
}

input[type = submit] {
	width: 100%;
	background-color: #6B8E23;
	color: white;
	padding: 14px 20px;
	margin: 8px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
input[type=submit]:hover {
	background-color: darkgreen;
}
.formular {
	margin-top: 20px;
	margin-left: 5%;
	margin-right: 5%;
	margin-bottom: 20px;
	width: 90%;
	border-radius: 25px;
	background-color: lightgrey;
	padding: 20px;
}

/*Style of tables*/
.table{
	/*make it media responsive*/
	overflow-x: auto;
}
#table {
	/*font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;*/
	font-family: 'Comfortaa500';
	border-collapse: collapse;
	width: 98%;
	margin-left: 1%;
}

#table td, #table th {
	padding: 8px;
	text-align: center;
}

#table tr:nth-child(even){
	background-color: #f2f2f2;
}
#table tr:hover {
	background-color: #ddd;
}
#table th {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: gray;
	color: white;
}

.imgzentriert {
	display: block;
	width:100%;
	text-align: center;
}

.headerlektionen {
	background-color: #6B8E23;
	margin: 0;
	padding: 5px 5px 5px 5px;
	color: white;
}
.fehler {color: red;}

#important {
	color: darkred;
	font-style: italic;
}

.text {
	font-size: 16px;
	margin-left: 2%;
	margin-right: 2%;
}

/*
a.nav {
	color: white;
	text-decoration: none;
}
*/

a {
	color: #6B8E23;
	text-decoration: none;
	text-transform: uppercase;
}

a[href^="mailto:"]{
	color: #6B8E23;
	text-decoration: none;
}

pre {
	font-size: 18px;
	overflow: auto;
}

code {
	color: white;
	font-family: 'Roboto Mono';
}
pre > code {
	display: block;
	padding: 1rem;
	word-wrap: normal;
}

figure {
	position: relative;
}

h2 {
	margin-top: 50px;
	text-align: center;
}

.normal_h2{
	margin-top: 5px !important;
}

h3 {
	margin-top: 40px;
	text-align: center;
}

h4{
	margin-top: 30px;
	text-align: center;
}

textarea {
	width: 100%;
	resize: none;
	background-color: black;
	border-radius: 5px;
	border-color: #6B8E23;
	border-width: 4px;
	color: white;
	font-family: 'Roboto Mono';
	font-size: 16px;
}

/*Scroll to top button*/
#myBtn {
	position: fixed;
	bottom: 65px;
	right: 30px;
	background-color: OliveDrab;
	width: 48px;
	height: 48px;
	border-radius: 24px;
	background-image: url("img/up.svg");
	background-position: center;
	z-index: 99;
	border: none;
	outline: none;
	display: none;
}

#myBtn:hover {
	background-color: Grey;
}

/* next lection button*/
#next {
	background-color: white;/*OliveDrab;*/
	width: 48px;
	height: 48px;
	margin-top: 20px;
	margin-right: 26px;
	border-radius: 24px;
	background-image: url("img/next.svg");
	background-position: center;
	z-index: 99;
	border: none;
	outline: none;
	display: none;
}

#next:hover {
	background-color: Grey;
}

/*Progress Bar*/
#progress{
  background-color: black;
  border-radius: 13px;
  /* (height of inner div) / 2 + padding */
  padding: 3px;
  margin: 5%;
}

#progress>div {
  background-color: #6B8E23;
  /* Adjust with JavaScript */
  height: 20px;
  border-radius: 10px;
}
/*END CSS*/
