/*
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,900;1,900&family=Ubuntu:ital,wght@1,700&display=swap');
*/
/* alegreya-sans-900 - latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 900;
  src: url('https://informatik-bg.de/fonts_informatik_bg/alegreya-sans-v21-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://informatik-bg.de/fonts_informatik_bg/alegreya-sans-v21-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('https://informatik-bg.de/fonts_informatik_bg/alegreya-sans-v21-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://informatik-bg.de/fonts_informatik_bg/alegreya-sans-v21-latin-900.woff') format('woff'), /* Modern Browsers */
       url('https://informatik-bg.de/fonts_informatik_bg/alegreya-sans-v21-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('https://informatik-bg.de/fonts_informatik_bg/alegreya-sans-v21-latin-900.svg#AlegreyaSans') format('svg'); /* Legacy iOS */
}


/* ubuntu-regular - latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: url('https://informatik-bg.de/fonts_informatik_bg/ubuntu-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://informatik-bg.de/fonts_informatik_bg/ubuntu-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('https://informatik-bg.de/fonts_informatik_bg/ubuntu-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://informatik-bg.de/fonts_informatik_bg/ubuntu-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('https://informatik-bg.de/fonts_informatik_bg/ubuntu-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('https://informatik-bg.de/fonts_informatik_bg/ubuntu-v20-latin-regular.svg#Ubuntu') format('svg'); /* Legacy iOS */
}

/* https://mycolor.space/?hex=%23FFB000&sub=1 */

/* --------------------------------- 
		FONTS
 --------------------------------- */

/* inter-regular - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/bl-themes/docs-x-3.2/fonts/inter-v2-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('/bl-themes/docs-x-3.2/fonts/inter-v2-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/bl-themes/docs-x-3.2/fonts/inter-v2-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('/bl-themes/docs-x-3.2/fonts/inter-v2-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('/bl-themes/docs-x-3.2/fonts/inter-v2-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('/bl-themes/docs-x-3.2/fonts/inter-v2-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */
}

/* --------------------------------- 
		VARIABLEN
 --------------------------------- */
:root {
	--col-background-crt: #282828;
	--col-background-black: #141414;
	--col-background-winf: #31355e;
	
	--col-standard: #c9d0ff;
	--col-headline: #9fa5e6;
	--col-toggleswitch: #5b64cb ; /* wie headline, nur dunkler wg. konstrast */
	--col-hell-second: #C3FCF2;
	--col-hervorhebung: #afffa5;
	
	--col-link:	#8387ff;
	--col-link-hover: #babcff;
	
	--typo-logo: 'Ubuntu';
	--typo-standard: 'Inter';
	--typo-headline: 'Alegreya Sans';
	--typo-sidebar: 'Inter';
}

/* --------------------------------- 
		GENERAL STUFF
 --------------------------------- */
body {
    font-family: var(--typo-standard);
    background-color: var(--col-background-crt);
    color: var(--col-standard);
}
#page-content {
	font-size : 1.3rem;
}
#page-content strong {
	color: var(--col-hervorhebung);
	text-shadow: 1px 1px 2px rgba(150, 255, 154, 1);
}
img {
    max-width: 100%;
}
#page-content img {
  border-radius: 10px;
	padding: 3px;
	border: 1px solid #d2d2d2;
}
.katze {
	background-image: url("/bl-themes/docs-x-3.2/img/scratch-katze-mini.png");
	background-repeat: no-repeat;
	padding-left: 35px;
	display:block;
}

a {
    color: var(--col-link);
    text-decoration: none;
}
.main a {
text-decoration: underline;
}

a:hover {
  color: var(--col-link);
	text-decoration: none;
}
a:hover.nav-link {
    color: var(--col-link-hover);

}

hr {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-top: 2px solid var(--col-hervorhebung);
}

.btn-primary {
    background: #42a5f5;
    border-color: #42a5f5;
    border-radius: 2px;
}

#sidebar::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 4px;
    width: 4px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .26);
}

/* --------------------------------- 
		Navbar und Burgermenu
 --------------------------------- */

.navbar-nav-svg {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: text-top;
    color: rgba(255,255,255,.5);
}

.b-burger-btn {
    width: 54px;
    height: 40px;
    overflow: hidden;
    float: right;
    cursor: pointer;
    position: relative;
    display: none;
    -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.56, 1, 0.86, 1.39), background 0.2s, ease;
    transition: transform 0.2s cubic-bezier(0.56, 1, 0.86, 1.39), background 0.2s, ease;
}

.b-burger-btn i,
.b-burger-btn b,
.b-burger-btn:after {
    content: '';
    display: block;
    position: absolute;
    left: 17px;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    margin: auto;
}

.b-burger-btn i {
    top: 27px;
}

.b-burger-btn b {
    top: 20px;
    width: 14px;
    margin: auto;
}

.b-burger-btn:after {
    top: 13px;
}

.b-burger-btn.open b {
    opacity: 0;
}

.b-burger-btn.open:after,
.b-burger-btn.open i {
    width: 21px;
}

.b-burger-btn.open:after {
    transform: rotate(-45deg) translateX(-4px) translateY(6px);
}

.b-burger-btn.open i {
    transform: rotate(45deg) translateX(-4px) translateY(-6px);
}

@media only screen and (max-width: 768px) {
    .b-burger-btn {
        display: block;
    }
}

#backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    background-color: #000;
    display: none;
}

#backdrop.open {
    display: block;
    opacity: 0.1;
}

body.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
#navbarTop {
	background-color: var(--col-background-black);
}

/* --------------------------------- 
		TOC
 --------------------------------- */

#toc {
    float: right;
    width: 30%;
    margin: 0 0 0.5em 2.5em;
    padding: 0 .8em .5em;
    border-left: 3px solid var(--col-headline);
    display: none;
}

#toc h4 {
    margin: 0 auto 10px;
    color: #757575;
    font-size: .9em;
    text-transform: uppercase;
}

#toc ul {
    list-style-type: decimal;
    padding: 0;
    margin: 0;
    padding-left: 1.2em;
    font-size: .9em;
    color: var(--col-headline);
    font-family: var(--typo-standard);
}

.docs-container {
    max-width: 2000px;
    margin: auto;
    position: relative;
}

/* --------------------------------- 
		MAIN
 --------------------------------- */

.main {
    margin-top: 5rem;
    margin-bottom: 0rem;
    padding-left: 25rem;
    padding-right: 5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.main h1,
.main h2,
.main h3,
.main h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--col-headline);
    font-family: var(--typo-headline);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main h1.title {
    font-size: 3.0em;
    border-bottom: 1px solid var(--col-headline);
    margin-bottom: 15px;
    padding-bottom: 8px;
    font-weight: 900;
    font-style: italic;
    text-transform: none !important;
}

.main h2 {
    font-size: 1.5em;
}

.main h3 {
    font-size: 1.3em;
}

.main h4 {
    font-size: 1.2em;
}

.main p {
    margin: 15px 0 15px 0;
    line-height: 1.5;
}

.main div.note {
    margin: 20px 0;
    padding: 20px;
    background: #fafafa;
    font-size: 0.9em;
    border-left: 5px solid #ccc;
}

.main div.note div.title {
    color: #e6522c;
    text-transform: uppercase;
}

pre, pre code {
    font-size: 14px !important;
}

pre, code {
    font-family: "Courier New", "Liberation Mono",Courier,monospace;
}

pre {
    background: #f8f8f8 none repeat scroll 0 0;
    border: 1px solid #e7e9ee;
    color: #4d4d4c;
    line-height: 21px;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    padding: 10px 10px;
}

pre, code {
    white-space: pre-wrap;
}

code, kbd, pre, samp {
    font-family: monospace,monospace;
    font-size: 1em;
}

pre {
    overflow: auto;
}

code {
/*    background: #f8f8f8; */
    padding: 4px;
    color: var(--col-hell-second);
/*    font-size: 14px !important; */
}

table {
    empty-cells: show;
    border: 1px solid #cbcbcb;
    width: 100%;
    font-size: 0.9em;
}

thead {
    background-color: #e0e0e0;
    color: #000;
    text-align: left;
    vertical-align: bottom;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

th, td {
    padding: 0.5em 1em;
}

.merke {
	background-color: var(--col-background-black);
	padding: 5px 20px;
	margin: 10px 0;
	border: 1px solid var(--col-standard);
	color: var(--col-hervorhebung);
}
.merke>p::before {
	content: "⚠️ ";
	font-size: 30px;
}

/* --------------------------------- 
		FOOTER
 --------------------------------- */

footer {
    margin-top: 50px;
    margin-bottom: 10px;
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid #f1f1f1;
    font-size: 0.8em;
}

/* --------------------------------- 
		SIDEBAR
 --------------------------------- */
#sidebar {
    font-size: .875rem;
    background-color: var(--col-background-black);
    color: var(--col-amber);
    width: 320px;
    position: fixed;
    z-index: 10;
    margin: 0;
    top: 56px;
    bottom: 0;
    box-sizing: border-box;
   /* border-right: 1px solid #585858; */
    overflow-y: auto;
    padding: 20px;
}

#sidebar>nav {
	font-family : var(--typo-sidebar);

}

#sidebar ul.nav {
    margin-bottom: 20px;
}

#sidebar li.nav-item {
    border-left: 1px solid #fafafa;
}

#sidebar li.nav-item-active {
   border-left: 3px solid #ddd;
}

#sidebar>nav h6 a {
	color: var(--col-hell-second);
}
#sidebar>nav h6 a:hover {
	color: var(--col-link-hover);
}

.plugin {
    margin-bottom: 40px;
}

/* Navbar */

#page-content li {
    padding: 6px 0;
}

.tooltip {
    position: fixed;
    display: inline-block;
}

@media only screen and (max-width: 768px) {
    #sidebar {
        display: none;
    }

    #sidebar.open {
       display: block;
       width: 90%;
    }

    .main {
        margin-top: 5rem;
        margin-bottom: 0rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* --------------------------------- 
		Navbar TOP
 --------------------------------- */
/*.navbar-dark, .bg-dark {
	background-color : var(--col-background-black);
} */
.navbar-brand {
	font-family : var(--typo-logo);
	    text-transform: uppercase;
font-weight: 700;
font-style: italic;
	
}

/* --------------------------------- 
		AUFGABEN im Content
 --------------------------------- */
.aufgaben {
	padding: 20px;
	border: 1px solid var(--col-standard);
}
.aufgaben h3 {
	color: var(--col-standard);
}
.aufgaben h3::before {
	content: "⚙️ ";
}
.aufgaben h3::after {
	content:  " ⚙️️";
}

.stolperfalle {
    background: rgb(69, 69, 69);
    padding: 5px 5px 5px 0.65em;
    border-radius: 0.2em;
    -webkit-box-shadow: 0px 0px 0px 8px #000000, 0px 0px 0px 16px #4B4C4B, 0px 0px 0px 24px #828482, 0px 0px 0px 31px #B2B5B2, 0px 0px 0px 39px #DADDDA, 5px 5px 15px 5px rgba(0,0,0,0); 
box-shadow: 0px 0px 0px 8px #000000, 0px 0px 0px 16px #4B4C4B, 0px 0px 0px 24px #828482, 0px 0px 0px 31px #B2B5B2, 0px 0px 0px 39px #DADDDA, 5px 5px 15px 5px rgba(0,0,0,0);
margin: 82px 36px;
}
.stolperfalle::before {
    content: "🛑 -- STOP -- STOP -- STOP -- 🛑";
    color: red;
    font-weight:bold;
    text-align:center;
    margin: 0;
    display: block;
width: 100%;
text-align: center;
}
.stolperfalle h2 {
    text-align:center;
    color: #b8ff5b;
}

/* --------------------------------- 
		HERVORHEBUNGSBEREICH im Content
 --------------------------------- */
.hervorhebungsbereich {
	/* border-left: 4px solid var(--col-hervorhebung); */
	border-width: 4px 4px 4px 4px;
	border-style: solid;
	border-color: var(--col-link-hover);
	background-color: var(--col-background-black);
	padding-left: 20px;
}

/* ---------------------------------
		NAV LINKS - Überschrift und Toggle
--------------------------------- */

.ausgeblendet {
	display: none;

}
#sidebarHeader {
background-color: black;
padding: 4px 2px;
margin-top: 0px;
margin-bottom: 10px;
border: 1px solid white;
border-radius: 13px;
text-align: center;
}

#sidebarHeader
#sidebarHeadline, #sidebarHeader p {
padding: 0;
margin: 0;
}
#sidebarHeadline {
	font-size: 1.6em;
}

p#toggle {
	font-size: 0.82em;
}

.mid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top:0;
}

/* Switch starts here */
.rocker {
  display: inline-block;
  position: relative;
  /*
  SIZE OF SWITCH
  ==============
  All sizes are in em - therefore
  changing the font-size here
  will change the size of the switch.
  See .rocker-small below as example.
  */
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #888;
  width: 7em;
  height: 4em;
  overflow: hidden;
  border-bottom: 0.5em solid #eee;
}

.rocker-small {
  font-size: 1em; /* Sizes the switch */
  margin: 1em;
}

.rocker::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #999;
  border: 0.5em solid #eee;
  border-bottom: 0;
}

.rocker input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-left,
.switch-right {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  width: 3em;
  transition: 0.25s;
}

.switch-left {
  height: 2.4em;
  width: 2.75em;
  left: 0.85em;
  bottom: 0.4em;
  background-color: #ddd;
  transform: rotate(15deg) skewX(15deg);
}

.switch-right {
  right: 0.5em;
  bottom: 0;
 /* background-color: #bd5757; */
background-color:  var(--col-toggleswitch);
color: #fff;
}

.switch-left::before,
.switch-right::before {
  content: "";
  position: absolute;
  width: 0.4em;
  height: 2.45em;
  bottom: -0.45em;
  background-color: #ccc;
  transform: skewY(-65deg);
}

.switch-left::before {
  left: -0.4em;
}

.switch-right::before {
  right: -0.375em;
  background-color: transparent;
  transform: skewY(65deg);
}

input:checked + .switch-left {
  /* background-color: #0084d0; */
background-color:  var(--col-toggleswitch);	
  color: #fff;
  bottom: 0px;
  left: 0.5em;
  height: 2.5em;
  width: 3em;
  transform: rotate(0deg) skewX(0deg);
}

input:checked + .switch-left::before {
  background-color: transparent;
  width: 3.0833em;
}

input:checked + .switch-left + .switch-right {
  background-color: #ddd;
  color: #888;
  bottom: 0.4em;
  right: 0.8em;
  height: 2.4em;
  width: 2.75em;
  transform: rotate(-15deg) skewX(-15deg);
}

input:checked + .switch-left + .switch-right::before {
  background-color: #ccc;
}

/* Keyboard Users */
input:focus + .switch-left {
  color: #333;
}

input:checked:focus + .switch-left {
  color: #fff;
}

input:focus + .switch-left + .switch-right {
  color: #fff;
}

input:checked:focus + .switch-left + .switch-right {
  color: #333;
}

/* --------------------------------- 
		VIDEOS im Content (global)
 --------------------------------- */
 
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	margin-top: 2.5em;
	margin-bottom: 2em;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* --------------------------------- 
		ARBEITSMATERIAL im Content (Download etc. - Stand 06.11.2021 nur Winf-Bereich)
 --------------------------------- */
 
 /* ein Projekt ganzer Block */
article.materialblock {
	padding: 0.1em 0.8em;
	background: 	var(--col-background-black);
	margin-bottom: 2em;
	border-radius: 10px;
}
article.materialblock h1, 
article.materialblock h2, 
article.materialblock h3 {
	/* color: #ddd; */
	margin: 0.1em 0em;
}
article.materialblock h1 {
	  margin: 0.8em 0em 0.6em 0em;
}
article.materialblock ul {
list-style-type: "- ";
}
article.materialblock li {

}
article.materialblock code {
/*    background: #f8f8f8; */
    padding: 4px;
    color: white;
/*    color: var(--col-hell-second); */
/*    font-size: 14px !important; */
font-weight: bold;
font-size: 1em;
}

 /* Download-Links */

.videoMaterialDownload {
   background: rgba(30, 208, 101, 0.02);
   background-image: -webkit-linear-gradient(top, rgba(30, 208, 101, 0.02), rgba(73, 246, 61, 0.56));
   background-image: -moz-linear-gradient(top, rgba(30, 208, 101, 0.02), rgba(73, 246, 61, 0.56));
   background-image: -ms-linear-gradient(top, rgba(30, 208, 101, 0.02), rgba(73, 246, 61, 0.56));
   background-image: -o-linear-gradient(top, rgba(30, 208, 101, 0.02), rgba(73, 246, 61, 0.56));
   background-image: -webkit-gradient(to bottom, rgba(30, 208, 101, 0.02), rgba(73, 246, 61, 0.56));
   -webkit-border-radius: 20px;
   -moz-border-radius: 20px;
   border-radius: 20px;
   -webkit-box-shadow: 1px 1px 20px 0 #000000;
   -moz-box-shadow: 1px 1px 20px 0 #000000;
   box-shadow: 1px 1px 20px 0 #000000;
   text-shadow: 1px 1px 20px #000000;
   border: solid #99C624 1px;
   
	margin: 0.8em 0em;
	padding: 0.3em 0.8em;
	border: 1px dotted white;
	border-radius: 1em;
	width: 70%;
	margin: auto;
}
.videoMaterialDownload p {
	padding: 0px;
		font-size: 0.8em;
		margin-bottom: 0px;
}
.materialblock .videoMaterialDownload ul {
	 list-style-type: "→";
	 	font-size: 0.8em;
}
#page-content .materialblock .videoMaterialDownload li {
padding: 0px;
padding-left: 0.9em;
}

/* Erläuterungen */
.materialblock li, ul {
 padding: 0px;
 margin-left: 1em;
}
#page-content .materialblock li {
	padding: 0px;
}

/* Lösungsvideo hiden */
#loesungHidden {
	display: none;
}

/* Übersicht Unterrichtsablauf auf Einzelseiten */
.unterrichtsablaufbox {
	padding: 1em;
	margin: 55px 0px 10px 0px;
	background: #0b0f41;
	border: 2px solid white;
	border-radius: 14px;
}

/* Navigation - unterpunkte auf klick ein- und ausblenden 
Claude, 24.09.2025 */

/* Accordion Navigation Styles */

/* Hauptpunkte (h6) als klickbare Accordion-Header nur wenn sie Unterpunkte haben */
#sidebar h6.sidebarlink.has-submenu {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 25px;
}

/* Normale Hauptpunkte ohne Unterpunkte bleiben normale Links */
#sidebar h6.sidebarlink:not(.has-submenu) {
  cursor: default;
}

/* Pfeil-Indikator nur für Elemente mit Unterpunkten */
#sidebar h6.sidebarlink.has-submenu::after {
  content: "▸";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

/* Aufgeklappter Zustand */
#sidebar h6.sidebarlink.has-submenu.is-open::after {
  transform: translateY(-50%) rotate(90deg);
}

/* FOUC Prevention - verstecke Fachbereiche initial */
.fach_informatik,
.fach_wirtschaftsinformatik {
  display: none !important;
}

/* Nur die aktive Klasse wird sichtbar gemacht */
body.bereich-inf .fach_informatik {
  display: block !important;
}

body.bereich-winf .fach_wirtschaftsinformatik {
  display: block !important;
}

/* ALLE ul.nav Elemente in der Sidebar sind standardmäßig versteckt - höchste Priorität */
#sidebar ul.nav {
  display: none !important;
  transition: none; /* Entferne Transition um Zucken zu vermeiden */
}

/* Nur aufgeklappte Unterpunkte werden angezeigt - noch höhere Spezifität */
#sidebar h6.sidebarlink.is-open + ul.nav {
  display: block !important;
  transition: none; /* Auch hier keine Transition */
}

/* Anti-FOUC: Verstecke alle ul.nav bis JavaScript geladen ist */
.js-not-loaded #sidebar ul.nav {
  display: none !important;
}