p+.form-grid {
	margin-top: 0.5em;
}

.form-grid {
	background: url(/deutsch/wp-content/themes/oeffentlichkeitsgesetz/css/images/bg-forms-light.png);
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 2fr));
	gap: 18px;
	padding: 5px 0 5px 0;
}

.form-group.error .dropzone-icon {
	filter: invert(10%) sepia(99%) saturate(7469%) hue-rotate(13deg) brightness(85%) contrast(113%);
}

.form-group.error .dropzone {
	border-color: #d10000;
}

.form-group.error textarea {
	border-color: #d10000 !important;
}

.form-control {
	display: flex;
	flex-direction: column;
}

.form-control label {
	font-size: 14px;
	margin-bottom: 5px;
}

input[type="password"],
input[type="file"],
input[type="text"],
select {
	box-sizing: border-box;
	float: none;
	width: 100%;
	margin: 0;
	padding: 6px;
}

textarea {
	box-sizing: border-box;
	width: 100%;
	height: 170px;
	padding: 6px;
	border: 1px solid #787878;
	line-height: 1.3;
	background-color: white;
	resize: vertical;
	min-height: 64px;
}

.apply-shake {
	animation: shake 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.caption {
	padding-top: 6px;
}

h2.form-segment {
	margin-top: 1.25em;
	margin-bottom: 0.75em;
	font-size: 19px;
}

@keyframes shake {

	10%,
	90% {
		transform: translate3d(-1px, 0, 0);
	}

	20%,
	80% {
		transform: translate3d(2px, 0, 0);
	}

	30%,
	50%,
	70% {
		transform: translate3d(-4px, 0, 0);
	}

	40%,
	60% {
		transform: translate3d(4px, 0, 0);
	}
}