/* ################ 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;
}

* {
	--hellorange: #F7BF26;
	--mittelorange: #F19638;
	--dunkelorange: #EC7056;

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

	--andersweiss: #EFF3FB;
	--altweiss: #fff;
	--weiss: #f2f2f2;
	--hellgrau: #dfdfdf;
	--hell-grau: #dfdfdf;
	--grau: #a1a1a1;
	--mittelgrau: #7A7A7A;
	--dunkelgrau: #343434;
	--dunkel-grau: #343434;
	--schwarz: #404040;
    --schatten-grau: #7991B21C;
	--rot: darkred;
	--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;
	color: var(--dunkelgrau);
	background-color: var(--altweiss);
	min-width: 360px;
	letter-spacing: -0.5px;
	font-family: 'Montserrat', sans-serif, verdana, arial, helvetica !important;
	font-size: 13px;

}

ul {
	list-style-type: none;
}

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

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

.wrapper {
	position: relative;
	margin: auto;
	width: 95%;
	transition: width 1s, max-width 1s;
}

/* ################ Überschriften ################ */
h1 {
	font-size: 2em;
	margin: 0px 0px 20px;
	line-height: 80px;
	text-align: center;
	font-weight: bold;
	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: 1.4em;
}

h3 {
	font-size: 1.3em;
	color: var(--hellblau);
	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;
}

input,
select,
textarea {
	color: var(--dunkelblau);
	font-size: 1em;
}

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

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

.alert {
	color: var(--negativ);
}

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

#logo {
	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: 75%;
}

#pwforgotten {
	cursor: pointer;
}

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

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

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

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

#footer ul li a {
	color: var(--weiss);
}
#footer a.logout {
	color: var(--dunkelorange) !important;
}
/* ################ ... ################ */

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

.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;
	background: var(--altweiss);
	border-radius: 10px;
	box-shadow: 3px 3px 10px 1px var(--schatten-grau);
	border: 0px none;
	padding: 1%;
	text-align: left;
	display: block;
}

.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%;
}

.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: 1em;
	bottom: 0.5rem;
}

.hide {
	display: none;
}

.txmini {
	font-size: 80%;
}

.txrechts {
	text-align: right;
}

.txmitte {
	text-align: center;
}

.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;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

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

.unvis {
	display: none;
}

.hidden {
	visibility: hidden;
}

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

.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(--dunkelgrau);
	position: absolute;
	width: 300px;
	left: 0px;
	margin: -42px 0 0 -55px;
	padding: 40px 50px 10px;
	background: var(--weiss);
	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(--hellblau) !important;
}

#menu li {
	padding: 7px 0;
	font-size: 1rem;
}

#menu li a {
	color: var(--dunkelgrau);
}

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

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

.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;
}

.nolimit {
	max-width: 99% !important;
	width: 99% !important;
}
.limit {
	transition: all 1s; 
}

.largefont th,
.largefont td {
	font-size: 14px !important;
}

#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 {
	width: 500px;
	color: var(--dunkelblau);
	font-size: inherit;
}

#header_switch {
	display: inline-block;
	width: 200px;
}

a.noclick {
	pointer-events: none;
}

#header_user {
	width: 25%;
	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;
	color: var(--weiss);
	border: none;
	border-radius: 4px;
	padding: 0.5rem;
	transition: 0.3s ease 0s;
	cursor: pointer;
}

.schluss {
	white-space: nowrap;
	background: var(--dunkelblau);
	background: linear-gradient(to right, var(--dunkelblau) 50%, var(--positiv) 50%);
	background-size: 200% 100%;
	background-position: left bottom;
	color: var(--weiss);
	border: none;
	border-radius: 4px;
	padding: 0.5rem;
	transition: 0.3s ease 0s;
	cursor: pointer;
}

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

#datenmail {
	grid-column: 1 / 3;
	text-align: center;
}
#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);
}

/* RESPONSIVE */
@media (max-width: 1280px) {
	#table_wrapper_resize_button {
		display: none;
	}

	#login {
		width: 70%;
	}

	#header_suche {
		width: 50%;
	}

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

	.autocomplete {
		padding: 3px;
	}

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

@media (max-width: 840px) {
	h1 {
		font-size: 1.5em;
	}

	#header_user {
		display: none;
	}

	.wrapper {
		margin: auto;
		width: 100%;
		padding: 0px;
		margin: 0px;
		min-width: 320px;
	}

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

	.nolimit {
		max-width: 100%;
		width: 100%;
	}

	#footer .rechts {
		display: none;
	}
}

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

}