* {
	box-sizing: border-box;
	--schwarz: #666;
	--dunkel: #7491B5;
	--hell: #EFF3FB;
	--dunkel-blau: #003761;
	--mittel-blau: #7491B5;
	--hell-blau: #EFF3FB;
	--dunkel-grau: #707070;
	--mittel-grau: #E6E6E6;
	--hell-grau: #F5F5F5;
	--grau: #AAA;
	--button-grau: #DDD;
	--weiss: #FFFFFF;
	--ok: #008000;
	--alert: #ff6347;
	--orange: #EF7B0A;
} 

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	text-align: center;
	font-family: verdana,arial,helvetica; 
}
::-moz-placeholder { /* Firefox 19+ */
	text-align: center;
	font-family: verdana,arial,helvetica;
	font-size: 14px;
}
:-ms-input-placeholder { /* IE 10+ */
	text-align: center;
	font-family: verdana,arial,helvetica; 
}
:-moz-placeholder { /* Firefox 18- */
	text-align: center;
	font-family: verdana,arial,helvetica; 
}

@font-face {
	font-family: 'text-security-circle';
	src: url('font/text-security-circle.eot');
	src: url('font/text-security-circle.eot?#iefix') format('embedded-opentype'),
		url('font/text-security-circle.woff2') format('woff2'),
		url('font/text-security-circle.woff') format('woff'),
		url('font/text-security-circle.ttf') format('truetype'),
		url('font/text-security-circle.svg#text-security') format('svg');
}

@keyframes einblenden {
  from { opacity:0; }
  to { opacity:1; }
}
@-moz-keyframes einblenden { /* Für Firefox */
  from { opacity:0; }
  to { opacity:1; }
}
@-webkit-keyframes einblenden { /* Für Safari und Chrome */
  from { opacity:0; }
  to { opacity:1; }
}
@-o-keyframes einblenden { /* Für Opera */
  from { opacity:0; }
  to { opacity:1; }
}

html, body { 
	min-height: 100vH; 
}
body { 
	height: 100vH; 
	padding: 0px; 
	margin: 0px; 
	font-family: verdana,arial,helvetica; 
	font-size: 14px;
	color: var(--dunkel-grau); 
	background-color: var(--weiss);
	min-width: 360px; 
}
a, a:link, a:active, a:visited, a:hover { 
	text-decoration: none; 
	color: var(--dunkel-blau);
}
ul {
	list-style-type: none;
}
#container {
  display: grid;
	grid-gap: 0px;
	grid-template-areas: 
		'links rechts'
		'footer footer';
	grid-template-rows: 1fr 3em;
	grid-template-columns: 1fr 4fr;
	position: relative;
	min-height: 100%;
	margin: 0 auto;
	background: var(--hell-blau);
}
#links {
  grid-area: links;
  position: relative;
	max-height: calc( 100vH - 3em );
	overflow: auto;
}
#rechts {
  grid-area: rechts;
  display: grid;
	grid-gap: 0px;
	grid-template-areas: 
		'title' 'content';
	grid-template-rows: auto 1fr;
	grid-template-columns: 1fr;
  position: relative;
	background: var(--weiss);
	padding: 0.8rem 4%;
	max-height: calc( 100vH - 3em );
	overflow: auto;
}
#footer {
  grid-area: footer;
	background-color: var(--dunkel);
	color: var(--weiss);
	display: inline-block;
	width: 100%;
	height: 3em;
	line-height: 3em;
}
#footer a {
	color: inherit !important;
}
#footer ul {
	margin: 0;
}
#footer ul li {
	display: inline-block;
	margin: 0 1em;
	color: var(--mittel-blau);
}
#footer ul li:nth-last-child(1) {
	position: absolute;
	right: 1em;
	color: var(--weiss);
}
#footer ul li.white {
	color: var(--weiss);
}
#sitetitle {
	grid-area: title;
}
#content {
	grid-area: content;
	border: 1px solid #ccc;
}
.checkbx {
	height: 2em;
	display: inline-block;
	position: relative;
	padding-left: 2em;
	margin-bottom: -0.55em;
	cursor: pointer;
	margin-right: 1em;
}
.checkbx input:checked ~ .checkmark {
	background-color: var(--dunkel-blau);
}
.checkbx input:checked ~ .checkmark::after {
	display: block;
}
.checkbx input:invalid ~ .checkmark {
	border-color: var(--alert);
}
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 2em;
	width: 2em;
	background-color: var(--hell-blau);
	border: 1px solid var(--mittel-grau);
	border-radius: 2em;
}
.checkmark::after {
	content: "";
	position: absolute;
	display: none;
}
.checkbx .checkmark::after {
	left: 0.6em;
	top: 0.3em;
	width: 0.5em;
	height: 1em;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.hidden {
	display: none;
}
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}
/* Tooltip */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
	opacity: 0;
	transition: opacity .6s;
	white-space: nowrap;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.tooltip .tooltiptext.tt-top {
	width: 250px;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
}
.tt-top::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}
.tooltip .tooltiptext.tt-right {
  top: -5px;
  left: 125%; 
}
.tt-right::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	margin-top: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent #555 transparent transparent;
}
.tooltip .tooltiptext.tt-left {
	top: -5px;
	bottom: auto;
	right: 128%;
}
.tt-left::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	margin-top: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent transparent #555;
}
.tooltip .tooltiptext.tt-bottom {
	width: 250px;
  top: 135%;
  left: 50%;
  margin-left: -125px;
}
.tt-bottom::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #555 transparent;
}
.tt-question {
	background-color: #555;
	color: white;
	border: 1px solid #555;
	border-radius: 50%;
	width: 1.5em;
	display: inline-block;
	height: 1.5em;
	cursor: pointer;
}
/* End Tooltip */

#seiten li {
	line-height: 2em;
}
#diawindow, #loeschwindow, #kundwindow, .overwindow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(128,128,128,0.5); 
	z-index: 999;
	display: none;
}
#dialog, #loeschen, #kuendigen, #kundimport, .oversubwindow {
	position: -webkit-sticky;
	position: sticky;
	width: 30%;
	min-height: 6rem;
	left: 35%;
	top: 20%;
	background-color: var(--weiss);
	text-align: center;
	padding: 0px 0px 5px 0px;
	border: 2px solid var(--dunkel-grau);
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}
#dialog h3 {
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}
.sicherbutton {
	width: 46%;
	display: inline-block;
	padding: 0.5em;
	color: var(--weiss);
	cursor: pointer;
	margin: 1%;
}
#sicherfrage {
	min-height: 49%;
	text-align: justify;
	padding: 0.5rem;
}
#sicherja, #loeschja, #kuendja, #werbeja {
	background-color: var(--ok);
}
#sichernein, #loeschnein, #kuendnein, #werbenein {
	background-color: var(--alert);
}
.returnTrue {
	color: var(--ok);
}
.returnFalse , .loeschhinweis {
	color: var(--alert);
}
.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 */
}
/* Werbung */
.wbptz {
	display: none;
	width: calc( 100% - 2em );
	border: 1px solid #ccc;
	border-radius: 1em;
	box-shadow: 0 0 2em var(--mittel-grau);
	background: var(--weiss);
	overflow: hidden;
	padding: 0 !important;
}
.wbptz::before {
	Content: "Anzeige";
	position:absolute;
	font-size:0.8em;
	background: #FFF;
	opacity: 0.5;
	padding: 0px 1em;
	border-top-left-radius: 1em;
	border-bottom-right-radius: 1em;
	line-height: 2em;
	border-color: var(--dunkel-grau);
	border-width: 0 1px 1px 0px;
	border-style: solid;
}
.wbptz a {
	display: block;
}
.wbptzansicht {
	display: block;
}
img.full {
	display: block;
	height: 100%;
	width: 100%;
	max-height: 70vh;
}
img.widthscreen {
	width: 100%;
	height: auto;
}
/* Burgermenu mobile Geräte */
#menuToggle {
  display: none;
  position: relative;
  top: 1em;
  left: 1em;
	width: calc(100% - 2em);  
  z-index: 1;
  
  -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: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  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: #232323;
}
#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 {
	position: absolute;
	width: 300px;
	padding-top: 4em;
	background: #ededed;
	list-style-type: none;
	-webkit-font-smoothing: antialiased;
	transform-origin: 0% 0%;
	transform: translate(-100%, 0);
	transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
	top: -3em;
	left: -2em;
}
#menu li {
  padding: 10px 0;
  font-size: 120%;
}
#menuToggle input:checked ~ ul {
  transform: none;
}

@media all and (max-width: 800px ) {
	#container {
		grid-template-columns: 0 4fr;
		grid-template-rows: 1fr 4em;
	}
	#links {
/*		display: none; */
	}
	#menuToggle {
		display: block;
	}
	#rechts {
		padding: 0.4em;
		max-height: calc( 100vh - 4em);
	}
	#footer {
		height: 4em;
		line-height: 2em;
	}
	#footer ul li:last-child {
		display: block;
	}
}
@media all and (max-width: 1000px) {
	.micro-income.skyscraper {
			width: calc(100% + 40px);
			margin-left: -40px;
			padding: 1px;
		}
}

