:root {
	--lightblue: 	#506ba009;
  --darkblue: 	#506ba0;
	--schrift: #FFF;
}


/*--- START: Animation ---*/
.HLzoom {
  animation: slideTD 2s ease-out;
}


/* top down */
@keyframes slideTD {  
	from {
    margin-bottom: 100%;
  }
  to {
    margin-bottom: 0%;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
	
body, html {
  height: 100%;
  display: flex;
  flex-direction: column;
	font-family: Arial, sans-serif;
	background-color: var(--lightblue);
}

#container {
	background-color: var(--lightblue); 
  display: grid; 
  grid-template-columns: 250px 1fr;
  grid-template-rows: 4ex 1fr 2.2ex;
    grid-template-areas:
      "header header"
      "menu inhalt"
      "footer footer";
    height: 100%;
}

header {
  grid-area: header;
  display: flex;  
  justify-content: left; 
  align-items: center;
	padding-left: 10px;
	font-size: 1.5em;
	background-color: var(--darkblue);
	color: #FFFFFF;
} 

menu {
  grid-area: menu;
	background-color: var(--darkblue);
	color: #FFF;
	padding-top: 20px;
	padding-left: 5px;
}


#menuContainer {
  overflow: hidden; 
  transition: width 0.3s ease;
  width: 250px;
	margin-left: 0px;
	margin-top: 0px;
	overflow-y: auto;
}

#menuContainer li {
	margin-top: 10px;
}

#inhalt {
  grid-area: inhalt;
	height: 100%;
  display: grid; 
  grid-template-rows: 4ex 1fr;
  grid-template-columns: 1fr;
  grid-template-areas:
    "headline" 
    "content";
	padding: 20px;
	border-radius: 20px;
	background-color: var(--lightblue);
	overflow: hidden;
} 

#headline {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 15px;
	font-size: larger;
	font-weight: bold;
	margin-top: 8px;
	margin-left: 3%;
	margin-right: 3%;
	background-color: var(--darkblue);
	color: #FFF;
	border-radius: 10px;
	position: sticky;
}

#content { 
	grid-area: content;
	margin-top: 15px;
	margin-left: 3%;
	margin-right: 3%;
	padding-right: 25px;
	background-color: var(--lightblue)00;
	overflow-y: auto;
}

#content ul {
  list-style-type: disc !important;
	list-style-position: inside;
	padding-left: 20px;
}

#content ul ul {
  list-style-type: square !important;
	list-style-position: inside;
	padding-left: 20px;
}

/* --- START: Geordnete Listen (1) a. iii. ---*/
#content {
  counter-reset: ol1;
}

ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

#content ol {
  padding-left: 25px;
}

#content ol > li {
  counter-increment: ol1;
  position: relative;
  padding-left: 35px;
}

/* Nummerierung der ersten Ebene */
#content ol > li::before {
  content: "(" counter(ol1) ") ";
  position: absolute;
  left: 0;
  top: 0;
  margin-right: 20px; /* Abstand Menü 1 und Items */
}

#content ol > li > ol {
  padding-left: 0;
  counter-reset: ol2;
}

#content ol > li > ol > li {
  counter-increment: ol2;
  position: relative;
  padding-left: 30px;
}

/* Nummerierung der zweiten Ebene */
#content ol > li > ol > li::before {
  content: counter(ol2, lower-alpha) ") ";
  position: absolute;
  left: 0;
  top: 0;
  margin-right: 10px;
}

/* Dritte Ebene */
#content ol > li > ol > li > ol {
  counter-reset: ol3;
}

#content ol > li > ol > li > ol > li {
  counter-increment: ol3;
  position: relative;
	padding-left: 10px;
	margin-right: 15px;
}

#content ol > li > ol > li > ol > li::before {
  content: counter(ol3, lower-roman) ". ";
  position: absolute;
	text-align: right;
	width: 45px;
	display: inline-block;
  left: -45px;
  top: 0;
}

/* --- ENDE: Geordnete Listen (1) a. iii. ---*/

/* Entferne den Scrollbalken für WebKit-Browser (Chrome, Safari) */
#content::-webkit-scrollbar {
  display: none;
}
#content {
  scrollbar-width: none; /* Firefox-spezifisch */
}
#content {
  -ms-overflow-style: none; /* IE und Edge */
}

#sidebarBtn:hover {
	cursor: pointer;
}

footer {
  grid-area: footer; 
  display: flex;
  align-items: center;
	background-color: var(--darkblue);
	color: #DDD;
	padding-left: 2em;
	padding-right: 2em;
}

footer impressum {
	margin-left: auto;
}

a {
	text-decoration: none;
	color: #EEE;
}

a:hover {
	cursor: pointer;
	color:#444;
}

p.lit {
	padding-left: 30px;
	text-indent: -30px;
}

/* Fortschrittsbalken */
.progress-container {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--darkblue);
}

/*--- ENDE: SortUL ---*/


/* --- START: Begriffsverweise im Text --- */

.BegriffsVerweis:hover {
	cursor: pointer;
	background-color: var(--schrift);
	color: var(--darkblue);
}
	
/* --- ENDE: Begriffsverweise im Text --- */


/* --- START: Fügt eine inline Box ein --- */

span.box {
	display: inline-flex;
	width: 80%;
}

/* --- ENDE: inline Box --- */