:root {
    --background-color: #f4f4f4;
    --white-color: #fff;
    --border-color: #ddd;
    --primary-color: #ae0a14;
    --primary-hover-color: #970d0e;
    --text-color: #666;
}


*,
::before,
::after {
	box-sizing: border-box;
}

html {
	/* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
	font-family:
		system-ui,
		'Segoe UI',
		Roboto,
		Helvetica,
		Arial,
		sans-serif,
		'Apple Color Emoji',
		'Segoe UI Emoji';
	line-height: 1.15; /* 1. Correct the line height in all browsers. */
	-webkit-text-size-adjust: 100%; /* 2. Prevent adjustments of font size after orientation changes in iOS. */
	tab-size: 4; /* 3. Use a more readable tab size (opinionated). */
}



body {
	margin: 0; /* Remove the margin in all browsers. */
	font-family: Arial, sans-serif;
    background-color: var(--background-color);
}



b,
strong {
	font-weight: bolder;
}



code,
kbd,
samp,
pre {
	font-family:
		ui-monospace,
		SFMono-Regular,
		Consolas,
		'Liberation Mono',
		Menlo,
		monospace; /* 1 */
	font-size: 1em; /* 2 */
}



small {
	font-size: 80%;
}



sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}


table {
	border-color: currentcolor;
}


button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button;
}

legend {
	padding: 0;
}

progress {
	vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}
::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

summary {
	display: list-item;
}


.container ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
	 gap: 20px;
}

.container li {
    margin-bottom: 15px;
    padding: 10px;
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}
li.ordner a{
	background: none;
	color: var(--primary-color);
}
.container li strong {
    color: var(--primary-color);
}

img {
    display: block;
    margin-top: 10px;
    /*border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

video {
    display: block;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

a {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s;
}

a:hover {
    background-color: var(--primary-hover-color);
}

li .file-info {
    margin-top: 10px;
    color: var(--text-color);
    font-size: 0.9em;
}

.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--background-color);
    text-decoration: none;
}

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



/* Container für Seitenleiste und Inhalt */
.container {
    padding-left: 340px;
}

/* Seitenleiste */


/* Hauptinhalt */
.content {
    flex: 1;
    padding: 20px;
}

.sidebar {
    width: 330px;
    background-color: var(--background-color);
    border-right: 1px solid var(--border-color);
	 display: flex;
    height: 100%;
    overflow-y: auto;
	 overflow-x:hidden;
	 position: fixed;
	 box-shadow: 0 0 10px var(--text-color);
}
.sidebarcontainer{
	width: 100%;
}
.sidebar .logo{
	width: 100%;
	background-color: var(--white-color);
	margin: 0 auto;
}
.sidebar .logo img{
	padding: 20px;
	width: 150px;
	height: auto;
	margin: 0 auto;
}
.sprachauswahl{
	display: flex;
	flex-grow: 1;
	background-color: var(--white-color);
	border-left: 1px solid var(--border-color);
	padding: 0;
	margin: 0;
}
.sprachauswahl .sprachfeld{
	display: inline-block;
	padding: 5px 10px;
	background-color: var(--white-color);
	border-top: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
	text-decoration: none;
	opacity: 0.7;
	border-radius: 0;
	}
.sprachauswahl .sprachfeld:hover{
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
}
.sprachauswahl .sprachfeld.aktiv{
	opacity: 1;
	background-color: var(--background-color);
}
/* Seitenleisten-Links */
.sidebar ul {
    list-style-type: none;
	 width: 100%;
	 padding: 10px 15px;
	 background-color: var(--background-color);
	 margin: 0;

}
.sidebar ul li{
	padding-bottom: 16px;
	border-top: 1px solid rgba(0,0,0,.01);
}
.sidebar ul li a{
	margin: 0;
	font-size: 110%;
}
.sidebar ul li::before {
    content: "";
    display: inline-block;
    width: 16px; /* Breite des SVG-Bilds */
    height: 16px; /* Höhe des SVG-Bilds */
    background-image: url('../img/folder-fill.svg'); /* Pfad zum SVG */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0px; /* Abstand zum Text */
    vertical-align: middle;

}
.sidebar ul li ul{
	padding: 0 0 0 22px;

}
.sidebar ul li ul li{
	padding-bottom: 3px;
	border-top: none;
}
/*
.sidebar li {
    //margin-bottom: 5px;
}
.sidebar li ul{
	margin-left: 1em;
	//border-left: 1px solid black;
	//padding-bottom: -40px;
}
.sidebar li ul li {
	position: relative;
	padding-left: .5em;
	margin-top: -.7em;
	margin-bottom: 0;
}

.sidebar li ul li:before {
	content: '';
    position: absolute;
    left: 0;
    top: 1.5em;
    width: 1em;
    height: .2em;
	background-image: url('../img/fileline.svg');
	background-size: contain;
    background-repeat: no-repeat;
    /* Optional: Anpassung der vertikalen Ausrichtung  * /
    transform: translateY(0.1em);
}
.sidebar li ul li a{
	/*margin: .2em 0 0 -.5em;* /
}
*/
.sidebar a {
    color: var(--primary-color);
    text-decoration: none;
	 background:none;
}

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