fieldset {

	border: 1px solid gray;
	margin: auto;
	padding: 1%;

}

legend {
	padding: 1%;
	width: fit-content;
	width: auto;
	min-width: auto;
	white-space: nowrap;
}


@media (max-width: 786px) {
	legend {
		font-size: 1.1rem;
		font-weight: bold;
	}
}

@media (max-width: 512px) {
	legend {
		white-space: normal;
	}
}

label {
	margin-top: 0px;
}

.row {
	margin-bottom: 1rem;
}

input[type="text"] {
	width: 100%;
}

input[type="submit"] {
	margin-bottom: 1rem;
}

textarea {
	width: 100%;
}


input[type="radio"] {
	background: none repeat scroll 0 0 rgba(200, 200, 200, 0.2);
}

.textinput {
	background: white;
}

input[type="file"] {
	background-color: transparent;
	border: none;
	/*background-color: rgba(255,255,255,0.6);*/
	/*margin-bottom: 1rem;*/
	/* box-sizing: content-box; */
}

.wegweiser-image-container.handheld,
.wegweiser-text-container.handheld {
	display: none;
}

#bewerbung fieldset {
	background: white;
	border: 1px solid lightgray;
}

#bewerbung fieldset legend {
	font-size: 100%;
}

.drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 5px;
	padding-bottom: 0px;
	margin-bottom: 0px;
	border: 2px dashed var(--leaf3b);
    border-radius: 4px;
    color: slategray;
    cursor: pointer;
    height: 228px;
}



.drop-zone.drag-active {
	/*background-image: linear-gradient(45deg, #c0bfbc 25%, transparent 25%, transparent 50%, #c0bfbc 50%, #c0bfbc 75%, transparent 75%, transparent);
	/background-size: 56px 56px;*/
	background-color: var(--leaf3b);
	color: white;
}

.drop-zone .inbox-tray {
	display: block;
	font-size: 5rem;
	line-height: 5rem;
	display: inline;
}

.drop-zone.has-files .inbox-tray {
	display: none;
}

.drop-zone .inbox-tray-has-files {
	display: none;
}

.drop-zone.has-files .inbox-tray-has-files {
	display: inline;
	font-size: 5rem;
	line-height: 5rem;
}

.drop-zone .inbox-tray-on-drag {
	display: none;
	font-size: 5rem;
	line-height: 5rem;
}

.drop-zone.drag-active .inbox-tray, .drop-zone.drag-active .inbox-tray-has-files {
	display: none;
}

.drop-zone.drag-active .inbox-tray-on-drag {
	display: block;
}


.drop-zone .file-input {
	display: none;
}

#bewerbung .preview {
	max-width: 100%;
	display: flex;
	flex-direction: column;
	
	list-style: none;
	padding: 0;
}

#bewerbung .preview li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	width: 100%;
}

#bewerbung .preview img {
	width: 100px;
	height: 100px;
	object-fit: cover;
}

.fileUploadHelp {
	font-size: 65% !important;
}

#attachments .preview li {
	background-color: aliceblue;
}