div.success {
    background-color: #85C058;
    color: #666666;
}
div.error {
    background-color: #C30E21;
    color: #FFFFFF;
}
div.success, div.error {
    padding: .5em .5em .5em .66em;
    margin-bottom: .2em;
	clear: both;
}
form, form div {
	position: relative;
}
form fieldset {
	margin-bottom: 1em;
}
form legend {
	font-size: 1.5em;
	margin: 0 0 .33em;
}
form.row > *,
form .row > * {
	margin-bottom: 0;
}
form .short {
	width: 31.33%;
	float: left;
}
form .medium {
	float: right;
	width: 64.67%;
}
form input:not([type="checkbox"]):not([type="radio"]), form select, form textarea {
	background: transparent;
	border: solid var(--schwarz);
	border-radius: 0;
	border-width: 1px 0;
	line-height: 1.75;
	margin-bottom: -1px;
	padding: .9em .5em 0;
	vertical-align: top;
	width: 100%;
}
form input[type="checkbox"], form input[type="radio"] {
	margin-bottom: initial;
	padding: initial;
	width: auto;
}
main form input:hover,
main form input:focus,
main form textarea:hover,
main form textarea:focus {
	border-color: var(--textcolor);
}
main form select:hover,
main form select:focus {
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' height='20px' width='25px'> <text x='0' y='15' fill='%23333' font-family='icomoon' font-size='16'>&%23x2335;</text> </svg>");
	border-color: var(--textcolor);
}
main form input[type="checkbox"],
main form input[type="radio"] {
	margin: 0 5px 0 0;
	width: auto;
}
main form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent no-repeat right center;
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' height='20px' width='25px'> <text x='0' y='15' fill='%23666' font-family='icomoon' font-size='16'>&%23x2335;</text> </svg>");
	text-indent: 0.01px;
	text-overflow: "";
}
form label {
	clear: both;
	display: block;
	position: relative;
}
form label span.lbl {
	padding: 0 .2em;
	pointer-events: none;
	position: absolute;
	transition: .2s;
}
form label :placeholder-shown + span.lbl,
form label select:invalid + span.lbl {
	font-size: 1em;
	max-width: calc(100% - 0.6rem);
	top: .66rem;
	left: .33em;
}
form label textarea:placeholder-shown + span.lbl {
	white-space: normal;
}
form label.lbl-chk,
form label input + span.lbl,
form label textarea + span.lbl,
form label select + span.lbl,
form label input:focus + span.lbl,
form label textarea:focus + span.lbl {
	display: inline-block;
	font-size: 0.8em;
	opacity: .8;
	overflow: hidden;
	text-overflow: ellipsis;
	top: -.1em;
	left: .2em;
	white-space: nowrap;
}
form span.lbl[class*=" icon-"]::before{
	padding-right: .2em;
}

form textarea {
	height: calc(10em + 4px); /* Höhe von drei Input */
}
main form input::-webkit-input-placeholder,
main form textarea::-webkit-input-placeholder {
	color: transparent;
}
main form input::-ms-input-placeholder,
main form textarea::-ms-input-placeholder {
	color: transparent;
}
main form input::-moz-placeholder,
main form textarea::-moz-input-placeholder {
	color: transparent;
}
main form input::placeholder,
main form textarea::placeholder {
	color: transparent;
}

/* Checkboxen, Radio-Buttons */
form label.lbl-chk {
	display: flex;
		align-items: center;
	font-size: 0.75em;
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: .5rem;
	min-height: 2.3em;
	overflow: visible;
	padding-left: 2.6em;
	position: relative;
		top: 0;
	white-space: normal;
	width: auto;
}
form label.lbl-chk input {
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}
form label.lbl-chk .icon {
	font-size: 2.3em;
	height: 0.9em;
	line-height: 1;
	opacity: 1;
	position: absolute;
	left: 0;
	top: -.1rem;
}

/* Animierte SVG für Checkboxen und Radio-Buttons */
.lbl-chk .icon svg {
	fill:none;
	stroke-width:40;
	stroke-linecap:round;
	stroke-linejoin:round;
	stroke:#173557;
	vertical-align: middle;
}
.lbl-chk .icon svg .tick {
	opacity: 0;
	stroke:#173557;
	stroke-dasharray: 0% 590%;
	stroke-dashoffset: 0%;
	transition: stroke-dasharray .6s, stroke-dashoffset .6s, opacity .1s .5s;
}
.lbl-chk .icon svg .box {
	fill:#fff;
	stroke:#999;
	transition: stroke .2s;
}
.lbl-chk .icon svg .dot {
	fill: transparent;
	stroke: transparent;
	transition: fill .5s;
}
.lbl-chk input:checked ~ .icon svg .tick {
	opacity: 1;
	stroke-dasharray: 100% 590%;
	stroke-dashoffset: -320%;
	transition: stroke-dasharray 1s cubic-bezier(0,.85,.5,.8), stroke-dashoffset .6s, opacity 0s;
}
.lbl-chk input:checked ~ .icon svg .box {
	stroke: #173557;
	transition: stroke .3s .3s;
}
.lbl-chk input:checked ~ .icon svg .dot {
	fill: #173557;
	transition: fill 0.4s 0.2s;
}

/* Anpassung für Radio-Buttons */
.lbl-chk input[type="radio"]:checked ~ .icon svg .tick {
	stroke-dasharray: 230% 590%;
	stroke-dashoffset: 0%;
	transition: stroke-dasharray .3s, stroke-dashoffset .6s, opacity 0s;
}
.lbl-chk input[type="radio"]:checked ~ .icon svg .dot {
	transition: fill 0.3s 0.3s;
}


form small.help {
	clear: both;
	display: block;
	line-height: 0.5;
	padding-bottom: 1em;
	text-align: right;
}
form div.send {
	text-align: right;
}