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

/* montserrat-600 - latin */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 600;
	src: url('/style/font/montserrat-v18-latin-600.eot');
	/* IE9 Compat Modes */
	src: local(''),
		url('/style/font/montserrat-v18-latin-600.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('/style/font/montserrat-v18-latin-600.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('/style/font/montserrat-v18-latin-600.woff') format('woff'),
		/* Modern Browsers */
		url('/style/font/montserrat-v18-latin-600.ttf') format('truetype'),
		/* Safari, Android, iOS */
		url('/style/font/montserrat-v18-latin-600.svg#Montserrat') format('svg');
	/* Legacy iOS */
}

/* montserrat-700 - latin */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	src: url('/style/font/montserrat-v18-latin-700.eot');
	/* IE9 Compat Modes */
	src: local(''),
		url('/style/font/montserrat-v18-latin-700.eot?#iefix') format('embedded-opentype'),
		/* IE6-IE8 */
		url('/style/font/montserrat-v18-latin-700.woff2') format('woff2'),
		/* Super Modern Browsers */
		url('/style/font/montserrat-v18-latin-700.woff') format('woff'),
		/* Modern Browsers */
		url('/style/font/montserrat-v18-latin-700.ttf') format('truetype'),
		/* Safari, Android, iOS */
		url('/style/font/montserrat-v18-latin-700.svg#Montserrat') format('svg');
	/* Legacy iOS */
}

/* ################ Generell ################ */
::placeholder {
	color: #ACB5BD;
	opacity: 1;
}

:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #ACB5BD;
}

::-ms-input-placeholder {
	/* Microsoft Edge */
	color: #ACB5BD;
}

::-moz-placeholder {
	color: #ACB5BD;
	opacity: 1;
}

::-webkit-input-placeholder {
	color: #ACB5BD;
	opacity: 1;
}

* {
	/*neu, keine Zuweisung*/
	--hellorange: #F7BF26;
	/*neu, keine Zuweisung*/
	--mittelorange: #F19638;
	/*neu, keine Zuweisung*/
	--dunkelorange: #EC7056;

	--pastellblau: #f2f9ff;
	--hellblau: #419FEF;
	/*neu, keine Zuweisung*/
	--hellblau2: #4F99C6;
	/*neu*
	--mittelblau: #00467D;
	/*neu/dunkler*/
	--dunkelblau: #003761;
	/*neu, keine Zuweisung*/
	--tuerkis: #009688;
	--hellgruen: #59C245;
	--mittelgruen: #70b35b;
	--blauergrau: #6790b1;
	--blaugrau: #7491B5;
	/*neu, keine Zuweisung*/
	--lila: #78599A;

	/*neu, keine Zuweisung*/
	--andersweiss: #EFF3FB;
	--altweiss: #fff;
	--weiss: #f2f2f2;
	--hellgrau: #dfdfdf;
	--hell-grau: #dfdfdf;
	--schatten-grau: #7991B21C;
	--grau: #a1a1a1;
	/*neu, keine Zuweisung*/
	--mittelgrau: #7A7A7A;
	--dunkelgrau: #343434;
	--dunkel-grau: #343434;
	--schwarz: #404040;
	
	--hellrot: red;
	--rot: #EE7057;
	--positiv: darkgreen;
	--negativ: darkred;

	box-sizing: border-box;
	scroll-behavior: smooth;

	font-family: 'Montserrat', sans-serif, verdana, arial, helvetica !important;
}

html,
body {
	height: 100%;
}

body {
	height: 100%;
	padding: 0px;
	margin: 0px;
	font-family: 'Montserrat', sans-serif, verdana, arial, helvetica !important;
	font-size: 13px;
	color: var(--dunkelgrau);
	background-color: var(--altweiss);
	min-width: 360px;
	letter-spacing: -0.5px;
}

#container {
	position: relative;
	margin: 0 auto;
	background: var(--pastellblau);
	height: 100%;
}

#content {
	padding: 0px;
	width: 100%;
	height: calc(100% - 120px);
	min-height: 400px;
	background: var(--pastellblau);
	overflow-x: hidden;
	overflow-y: auto;
}

.wrapper {
	position: relative;		
}
:is(.wrapper, #link_wrapper_head, .link-wrapper){
	margin: auto;
	width: 95%;
	transition: width 1s, max-width 1s;
	max-width: 1280px; 
}
/* ################ Überschriften ################ */
h1 {
	font-size: 3em;
	margin: 20px 0px;
	line-height: 80px;
	text-align: center;
	font-weight: 600;
	color: var(--dunkelblau);
}

h2 {
	color: var(--hellblau);
	text-transform: uppercase;
	text-align: center;
	overflow: hidden;
	width: 100%;
	display: inline-block;
	background: var(--dunkelgrau);
	margin: 0px 0px 0px 0.5%;
	padding: 10px 0px;
	font-size: 30px;
	font-weight: 600;
}

h3 {
	font-size: 18px;
	color: var(--mittelblau);
	margin: 0px 0px 10px;
	line-height: 24px;
	text-align: left;
	padding-left: 5px;
}

h4 {
	font-size: 1.2em;
	color: var(--hellblau);
	margin: 0px 0px 10px;
	line-height: 24px;
	text-align: left;
	padding-left: 5px;
}

h5 {
	font-size: 1.1em;
	color: var(--dunkelgrau);
	text-align: left;
	padding-left: 5px;
	text-transform: uppercase;
}

/* ################ Links ################ */
a,
a:link,
a:active,
a:visited {
	text-decoration: none;
	color: var(--dunkelblau);
	cursor: pointer;
}

a:hover {
	text-decoration: underline;
}

li.menulist a:hover {
	text-decoration: none;
}

/* ################ Input-Felder ################ */
input,
button,
select,
textarea,
.button {
	color: var(--dunkelblau);
	font-size: 18px;
	background: var(--pastellblau);
	padding: 9px 2px 9px 14px;
	border: none;
}

button {
	background: var(--hellblau);
	color: var(--weiss);
	cursor: pointer;
}

.weiss {
	color: var(--weiss) !important;
}

.dunkelblau {
	color: var(--dunkelblau);
}

.XL_in_box {
	width: 85%;
}

/* ################ Header ################ */
#header {
	background: var(--altweiss);
	border-bottom: 3px solid var(--dunkel);
	padding: 0px;
	height: 60px;
}

#DELAlogo {
	height: 48px;
	width: 150px;
	border: 0px none;
	background-image: url("/style/img/kapitalwerk_logo.png");
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	left: 60px;
	top: 8px;
}

#login {
	position: absolute;
	right: 0px;
	top: 20px;
	color: var(--hellblau);
	font-size: 1rem;
	width: 25%;
}

#pwforgotten {
	cursor: pointer;
}

/* ################ Footer ################ */
#footer {
	background-color: var(--pastellblau);
	color: var(--dunkelblau);
	height: 60px;
	line-height: 3rem;
	padding-left: 2rem;
	position: fixed;
	bottom: 0px;
	left: 0px;
	width: 100%;
}

#footer h3 {
	margin: 0px;
	padding: 5px 0px;
	color: var(--dunkelblau);
}

#footer ul {
	margin: 0px;
	padding: 5px 0px;
}

#footer ul li {
	display: inline;
	padding: 5px;
}

#footer a {
	color: var(--dunkelblau);
	font-weight:600;
}
#footer .wrapper { 
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	grid-template-areas:
		"footer_firma footer_impressum_datenschutz";
	grid-gap: 2em;
}
#footer .firma { grid-area: footer_firma; }
#footer .impressum_datenschutz { grid-area: footer_impressum_datenschutz; text-align:right;}
/* ################ ... ################ */
ul {
	list-style-type: none;
}

.delete_cross {
	color: red;
	font-size: 1.5rem;
	display: inline;
}

.icon {
	display: none
}

li div.titel {
	background: #707070;
	float: left;
	padding: 0px 8px 0px 10px;
}

li div.titel:hover {
	color: #003761;
}

li div.danach {
	width: 0;
	height: 0;
	border-left: 12px solid #707070;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	float: left;
}

li div.davor {
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-top: 15px solid #707070;
	border-bottom: 15px solid #707070;
	float: left;
}

li div.aktdanach {
	width: 0;
	height: 0;
	border-left: 12px solid #003761;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	float: left;
}

li div.aktdavor {
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-top: 15px solid #003761;
	border-bottom: 15px solid #003761;
	float: left;
}

li div.akttitel {
	background: #003761;
	float: left;
	padding: 0px 8px 0px 10px;
}

.addbutton {
	border: 1px solid #999;
	padding: 5px;
	background-color: #003761;
	color: #FFF;
	display: inline-block;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	font-size: 13px;
}

#overlay {
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	background-color: rgba(160, 160, 160, 0.8);
	z-index: 999;
}

#overcontent {
	padding-left: 2em;
	padding-bottom: 2em;
	border: 1px solid black;
	margin-top: 10vh;
	max-height: 80vh;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fcdea1;
	background: -moz-linear-gradient(top, #fcdea1 0%, var(--hell) 26%, var(--hell) 100%);
	background: -webkit-linear-gradient(top, #fcdea1 0%, var(--hell) 26%, var(--hell) 100%);
	background: linear-gradient(to bottom, #fcdea1 0%, var(--hell) 26%, var(--hell) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcdea1', endColorstr='#f9ecd1', GradientType=0);
}

#overclose {
	position: absolute;
	right: 12px;
	font-size: 24px;
	color: black;
	cursor: pointer;
}

.formblock {
	margin: 0px 0px 20px 0px;
	padding: 1%;
	text-align: left;
	display: block;
}
:is(.formblock, .box, .shadowbox, .link-box-selected, .panel) {
	background: var(--altweiss);
	border-radius: 10px;
	box-shadow: 0px 0px 10px 1px var(--schatten-grau);
	border: 0px none;
}

.formfield,
.forminput {
	display: inline-block;
}

.inlblock {
	display: inline-block;
	height: 3em;
	line-height: 3em;
}

.radiolabel {
	padding-left: 10px;
	padding-right: 10px;
	display: inline-block;
}

.cellhoch {
	height: 3em;
}

.topborder {
	border-top: 1px dashed #AAA;
}

.pictogram {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50px;
}

#hinweis {
	padding-left: 10px;
	padding-top: 10px;
	font-size: 80%;
}
span.hinweis {   
	float:right;
    background: var(--hellgruen);
	color: var(--altweiss);
    border-radius: 20px;
	padding: 3px;
    width: 25px;
    height: 25px;
    text-align: center;
}
.breit20 {
	width: 20%;
}

.breit30 {
	width: 30%;
}

.breit80 {
	width: 79%;
}

.half {
	width: 49%;
}

.full {
	width: 100%;
}

.iblock {
	display: inline-block;
}

.spalte {
	min-width: 280px;
	width: 33%;
}

.rand10 {
	padding: 10px;
}

.rechts {
	position: absolute;
	right: 0px;
	bottom: 0.5rem;
}

.hide {
	display: none;
}

.txmini {
	font-size: 80%;
}

.txrechts {
	text-align: right;
}

.txmitte {
	text-align: center;
}

input[type="button"] {
	width: 80%;
	max-width: 280px;
	background-color: var(--hellblau);
	color: var(--weiss);
	cursor: pointer;
	text-align: center;
	font-size: 1em;
	border: none;
	padding: 10px;
	border-radius: 100px;
}

.buttonreverse {
	background-color: var(--hellgrau);
	color: var(--dunkelgrau);
}

.yesbutton {
	width: 10%;
	background-color: green;
	border: 1px solid darkgreen;
	margin-right: 10px;
	display: inline-block;
}

.nobutton {
	width: 10%;
	background-color: tomato;
	border: 1px solid maroon;
	margin-right: 10px;
	display: inline-block;
}

.clearfix {
	display: inline-block;
	display: block
}

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

.error {
	color: red;
	font-size: 120%;
}

.nosel {
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently supported by Chrome and Opera */
}

.disabled {
	background-color: #666;
	cursor: not-allowed;
}

.unvis {
	display: none;
}

.hidden {
	visibility: hidden;
}

.checked {
	color: white;
	background-color: #003761;
}

.frage_antwort_pic {
	/*	display: inline-block; */
	height: 62px;
	/*	line-height: 62px; */
	display: table-cell;
	vertical-align: middle;
}

.frage_antwort_pic label {
	line-height: initial;
}

.ganzlinks {
	margin-left: 10px;
}

/* MENÜ */
#menu_top {
	background: var(--weiss);
	width: 100%;
	display: block;
}

#menu_mobile {
	width: 42px;
	height: 38px;
	display: inline-block;
}

#menuToggle {
	display: block;
	position: absolute;
	top: 15px;
	left: 6px;
	z-index: 30;
	-webkit-user-select: none;
	user-select: none;
}

#menuToggle input {
	display: block;
	width: 40px;
	height: 32px;
	position: absolute;
	top: -7px;
	left: -5px;
	cursor: pointer;
	opacity: 0;
	z-index: 2;
	-webkit-touch-callout: none;
}

#menuToggle span {
	display: block;
	width: 30px;
	height: 4px;
	margin-bottom: 4px;
	position: relative;
	background: var(--dunkelblau);
	border-radius: 3px;
	z-index: 1;
	transform-origin: 4px 0px;
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
		background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
		opacity 0.55s ease;
}

#menuToggle span:first-child {
	transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
	transform-origin: 0% 100%;
}

#menuToggle input:checked~span {
	opacity: 1;
	transform: rotate(45deg) translate(-2px, -1px);
	background: var(--dunkelblau);
}

#menuToggle input:checked~span:nth-last-child(3) {
	opacity: 0;
	transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked~span:nth-last-child(2) {
	transform: rotate(-45deg) translate(0, -1px);
}

#menu {
	color: var(--blaugrau);
	position: absolute;
	width: 300px;
	left: 0px;
	margin: -42px 0 0 -55px;
	padding: 40px 50px 10px;
	background: var(--altweiss);
	list-style-type: none;
	-webkit-font-smoothing: antialiased;
	transform-origin: 0% 0%;
	transform: translate(0%, -100%);
	transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu h4 {
	color: var(--blaugrau) !important;
}

#menu li {
	padding: 7px 0;
	font-size: 1rem;
}
#menu li:not(:first-of-type) {
    border-top: 2px solid var(--andersweiss);
}
#menu li a {
	color: var(--blaugrau);
	
}

#menuToggle input:checked~ul {
	transform: none;
}

.alarm {
	color: var(--alert);
	font-size: 1.2em;
}

/* Accordion */
.preaccordion {
	font-size: 6px;
	font-weight: bold;
	border: 1px solid #999;
	border-radius: 50%;
	padding: 3px;
	color: transparent;
	text-shadow: 0 0 0 rgb(128, 128, 128);
	margin-right: 5px;
}

.accordion {
	cursor: pointer;
	width: 100%;
	text-align: left;
	margin-bottom: 6px;
}

.accordion::-moz-focus-inner {
	border: 0;
}

.panel {
	margin: 0px 12px 6px 12px;
	padding: 0 18px;
	display: none;
	overflow: hidden;

}

/* ENDE Accordion */

.fileexport,
.resize_button,
#colsort {
	color: var(--hellblau);
	border: 1px solid var(--hellblau);
	border-radius: 5px;
	padding: 2px 5px;
	cursor: pointer;
	display: inline-block;
	min-width: 30px;
	text-align: center;
}

.fileexport:hover,
.resize_button:hover,
#colsort:hover {
	color: var(--dela-orange);
	border: 1px solid var(--dela-orange);
	transition: color 0.5s, border 0.5s;
}

#tabinp {
	display: none;
}

/* autocomplete (aus administration.css) : */
.autocomplete {
	position: relative;
	padding: 10px;
	margin: 0px 14px;
}

.autocomplete-items {
	position: absolute;
	box-shadow: 0px 0px 6px -2px var(--hellblau);
	background-color: var(--weiss);
	outline: none;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	top: 100%;
	left: 0;
	right: 0;
	width: 280px;
	font-size: 0.9em;
	max-height: 18rem;
	overflow-x: auto;
}

.autocomplete-items div {
	padding: 5px;
	cursor: pointer;
	background-color: var(--weiss);
	border-bottom: 1px solid var(--hellgrau);
}

.autocomplete-items div a {
	margin: 9px;
	display: block;
}

.autocomplete-items div a:hover {
	text-decoration: none;
}

.autocomplete-items div:hover {
	background-color: var(--hellgrau);
}

.autocomplete-active {
	background-color: var(--hellblau) !important;
	color: var(--weiss);
}

.autocomplete-hidden {
	display: none;
}

.wspace {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#header_suche {
	display: none;
	min-width: 500px;
}
#header_suchfeld{
	display:flex;
	padding-top: 5px;
}
#header_suchfeld_input{
	flex:6 0;
}
#header_suchfeld_button{
	flex: 1 0;
	display:inline-block;
	color: var(--dunkelblau);
	font-size: 18px;
	background: var(--pastellblau);
	padding: 9px 3px 9px 3px;
	cursor: pointer;
	background-image: url("/style/icons/zoom-2.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px;
}
#header_switch {
	display: none;
	min-width: 200px;
	width: 100%;
}

a.noclick {
	pointer-events: none;
}

#header_user {
	width: 75%;
	float: right;
	overflow: hidden;
	padding: 10px;
}

.button {
	white-space: nowrap;
	background: var(--dunkelblau);
	background: linear-gradient(to right, var(--dunkelblau) 50%, var(--blaugrau) 50%);
	background-size: 200% 100%;
	background-position: left bottom;
	transition: 0.3s ease 0s;
}

.button:hover {
	background-position: right bottom;
	transition: 0.3s ease 0s;
}

#diawindow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(128, 128, 128, 0.5);
	z-index: 999;
	display: none;
}

#dialog {
	position: -webkit-sticky;
	position: sticky;
	width: 30%;
	height: 6rem;
	left: 35%;
	top: 20%;
	background-color: var(--weiss);
	text-align: center;
	padding: 5px;
	border: 2px solid var(--dunkel-blau);
}

#sicherfrage {
	min-height: 49%;
}

#sicherja {
	background-color: var(--ok);
}

#sichernein {
	background-color: var(--alert);
}
/* Link-Wrapper für Rubriken*/
#link_wrapper_head{
	display: grid;
	grid-template-columns: 1fr 5fr 1fr;
	grid-template-rows: 1fr;
	grid-template-areas:
		"w_back w_headline w_spacer";
	grid-gap: 2em;
}
#link_wrapper_back { 
	grid-area: w_back; 
	overflow: visible;
    font-size: 120%;
    cursor: pointer;
	padding-top: 40px;
	}
#link_wrapper_back a { 
	color: var(--mittelblau);
	}
#link_wrapper_back .back_arrow { margin-right: 10px; vertical-align: 2px;}
#link_wrapper_back a:hover { text-decoration:none; }	
#link_wrapper_back a:hover .back_title{ text-decoration:underline; }	
#link_wrapper_h1 { grid-area: w_headline; }
#link_wrapper_spacer { grid-area: w_spacer; }
.link-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.link-wrapper .link-box {
    display: block;
    flex: 1 0%;
    max-width: 16%;
	margin: 10px;
    /*background-color: var(--altweiss);
    box-shadow: 0px 0px 3px 0px #000000;*/
    min-height: 56px;
	min-width: 150px;
}
.link-box-selected {     
	border-radius: 30px;
	}
.link-wrapper .p0 {
    max-width: 3%;
}

.link-wrapper .p2 {
    max-width: 40%;
}
.link-wrapper .kleineKachel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}
/* Search-Button für Rubriken */
#search {
    height: 45px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: flex-end;
    margin: 10px;
}

#search_input {
    order: 0;
    max-width: 100px;
    height: 35px;
    flex: 1 1%;
}

#search_button {
    cursor: default;
    order: 1;
    width: 35px;
    height: 35px;
    color: var(--dunkelblau);
   /* background-color: var(--dunkelblau);
    border-radius: 0px 6px 6px 0px;*/
	background:transparent;
}

#search_button:after {
    content: "\26b2";
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
    transform: rotate(315deg);
    font-size: 25px;
    margin-top: -6px;
    margin-left: 0px;
}

/* RESPONSIVE */
 @media screen {
 	.nolimit {
 		max-width: 99% !important;
 		width: 99% !important;
 		transition: max-width 1s, width 1s;
 	}
 }
@media (max-width: 1280px) {

	#table_wrapper_resize_button {
		display: none;
	}
	#login {
		width: 70%;
	}
	#link_wrapper_head{
		grid-template-columns: 2fr 5fr 0px;
	}

	#header_suche {
		width: 50%;
	}

	#header_switch {
		width: 25%;
		float: right;
	}

	.autocomplete {
		padding: 3px;
	}

	#login input::placeholder {
		font-size: 0.8em;
	}
}

@media (max-width: 840px) {

	#header_user {
		display: none;
	}
	#link_wrapper_head{
		grid-template-columns: 1fr;
		grid-template-rows: 3em 6em;
		grid-template-areas:
			"w_back"
			"w_headline";
		grid-gap: 0px;
	}
	#link_wrapper_back { 
		padding-top: 1em;
		text-align: center;
	}
	#link_wrapper_h1 {
		line-height: inherit;
		margin: 5px 0px;
	}
	:is(.wrapper, #link_wrapper_head, .link-wrapper){
		margin: auto;
		padding: 0px;
		min-width: 320px;
		width: 90%;
	}

	.formblock {
		border-radius: 0px !important;
		box-shadow: none;
		box-sizing: border-box;
	}



	#footer .rechts {
		display: none;
	}
	#footer .wrapper { 
		grid-template-columns: 0px 1fr;
	}
	#footer .firma { display:none; }
	.link-wrapper {
        justify-content: space-between;
    }

    .link-box {
        max-width: 18%;
    }

    .p0 {
        max-width: 5%;
    }

    .p2 {
        max-width: 30%;
    }

    #search_input {
        max-width: 25%;
    }
}
@media (max-width: 600px) {
    .link-box {
        max-width: 45%;
        flex-basis: 100%;
    }

    .p0 {
        max-width: 100%;
    }

    #search_input {
        max-width: 30%;
    }
}
@media all and (max-height: 500px) {
	#footer {
		position: inherit;
	}
}