#upload {
	position: relative;
	background: white;
}

.upload__section {
	position: relative;
	border-bottom: 10px solid black;
}

.formtext--small {
	font-size: 14px;
}

.sma-form--hidden {
	display: none;
}

/* intro */

.upload__intro {
	padding: 10px;
}

.upload__intro__title {
	margin-bottom: 40px;
}

.upload__intro .upload-icon {
	position: relative;
	width: 120px;
	height: auto;
	bottom: auto;
	left: 0;
	margin-top: 40px;
}

/* formsections */

.upload__form {
	background: black;
}

#sma-form {
	background: white;
}

.formsection {
	position: relative;
	border-bottom: 2px solid black;
}

.formsection--orga {
	border-bottom: none;
}

.formsection__text {
	padding: 10px 10px 40px;
}

.formsection h2 {
	text-transform: uppercase;
	margin-bottom: 10px;
}

h2.formsection--intro__title {
	margin-bottom: 40px;
	padding: 10px;
}

.upload__form__label {
	display: block;
	padding: 20px 0;
}

.collapsedtext__list {
	position: relative;
	margin-top: 20px;
}

.collapsedtext__element h2 {
	text-transform: none;
	cursor: pointer;
}

.collapsedtext__element .arrow_small {
	position: relative;
	top: 1px;
	margin-right: 4px;
}

.collapsedtext__element__content {
	position: relative;
	height: 0;
	padding-left: 20px;
	overflow: hidden;
}

.collapsedtext__element__content p,
.collapsedtext__element__content ul {
	margin-bottom: 20px;
}

.collapsedtext__element__content li {
	list-style: disc;
	margin-left: 20px;
}

.collapsedtext__element__content a {
	text-decoration: underline;
}

/* form fields */

.formfield {
	position: relative;

	border-top: 2px solid black;
}

.formfield--large {
	min-height: 120px;
}
/* label */

.formfield__label {
	position: relative;
	padding: 10px;
	display: block;
}

.formfield__help {
	margin-top: 5px;
	font-family: "GT-America-Regular", sans-serif;
	font-size: 14px;
	display: block;
}

.formfield__additional {
	margin-top: 10px;
}

.formfield__characters,
.formfield__additional {
	color: rgb(190, 190, 190);
}

/* inputs */

.formfield__content {
	position: relative;
	padding: 0 10px 10px;
}

.formfield__input {
	position: relative;
	display: block;
	width: 100%;
	border: none;
	font-family: "GT-America-Regular", sans-serif;
	font-size: 18px;
	-webkit-appearance: none;
	border-radius: 0;
}

textarea.formfield__input {
	resize: none;
	overflow: hidden;
	height: 120px;
}

.formfield__input:focus {
	outline: none;
}

.formfield__input::placeholder {
	color: rgb(190, 190, 190);
}

/* image input */

.formfield__imageselect::-webkit-file-upload-button {
	visibility: hidden;
}

.formfield__imageselect {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 16px;
	padding: 5px 0;
	margin-top: 10px;
	outline: none;
	opacity: 0;
	display: inline-block;
	cursor: pointer;
}

.fileselect {
	position: relative;
	top: 0;
	display: inline-block;
	visibility: visible;
	padding: 7px 10px;
	outline: none;
	white-space: nowrap;
	-webkit-user-select: none;
	font-size: 16px;
	color: white;
	background: black;
}

.upload__form__imageselect:active::before {
	background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.formfield__selectedimages {
	position: relative;
	padding: 20px 0 5px 0;
	display: none;
}

.formfield__selectedimages__list {
	display: flex;
	justify-content: flex-start;
	flex-flow: row wrap;
	margin: 0 -5px;
}

.formfield__selectedimages__list li {
	margin: 5px;
	padding: 5px 10px;
	background: rgb(240, 240, 240);
}

/* checkbox input */

.formfield__checkboxcontent {
	position: relative;
	display: flex;
	padding: 10px 10px 40px;
}

.formfield__checkbox {
	position: absolute;
	opacity: 0;
}

.formfield__checkboxlabel {
	padding-left: 40px;
	cursor: pointer;
}

.formfield__checkboxlabel a {
	text-decoration: underline;
}

.formfield__checkboxlabel::before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 20px;
	height: 20px;
	top: 10px;
	left: 10px;
	border: 2px solid black;
}

.formfield__checkboxlabel::after {
	content: "";
	position: absolute;
	display: inline-block;
	width: 16px;
	height: 16px;
	top: 14px;
	left: 14px;
	background: white;
	border-radius: 50%;
	transform: scale(0.5);
	-webkit-transition: all 0.15s ease;
	-moz-transition: all 0.15s ease;
	-o-transition: all 0.15s ease;
	-ms-transition: all 0.15s ease;
	transition: all 0.15s ease;
}

.formfield__checkbox:checked + .formfield__checkboxlabel::after {
	border-radius: 0%;
	transform: scale(1);
	background: black;
}

/* captcha */

.formfield__captcha {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	background: black;
	border-bottom: 2px solid black;
}

.captcha__image {
	display: block;
}

.captcha__refresh {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 5px 10px;
	margin: 0;
	color: white;
	font-family: "GT-America-Regular", sans-serif;
	font-size: 14px;
	background: none;
	border: none;
	cursor: pointer;
}

.captcha__refresh:focus {
	outline: none;
}

/* errors */

.formfield__error,
.form__errornotice,
.form__updatenotice {
	position: relative;
	max-height: 0;
	overflow: hidden;
	width: 100%;
	background: rgb(255, 163, 153);
	transition: max-height 0.25s ease-out;
}

.formfield--error .formfield__error,
.form--errors .form__errornotice {
	max-height: 200px;
}

.formfield__error p,
.form__errornotice p,
.form__updatenotice p {
	padding: 10px;
	font-size: 14px;
}

/* submit */

.formsection--submit {
	position: relative;
	background: black;
	padding: 0;
	border-bottom: 2px solid white;
}

.upload__form__submit {
	position: relative;
	padding: 10px 10px 12px;
	border: none;
	font-family: "GT-America-Extended-Bold", sans-serif;
	font-size: 20px;
	color: white;
	background: black;
	-webkit-appearance: none;
	border-radius: 0;
	cursor: pointer;
}

.upload__form__submit:focus {
	outline: none;
}

.upload__form__submit:disabled {
	opacity: 0.5;
}

/* loading spinner */

.loader {
	position: absolute;
	display: none;
	top: 50%;
	right: 10px;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	background: black;
	border: 2px solid white;
	border-color: white white white transparent;
	border-radius: 50%;
	animation: spinning 1.2s linear infinite;
}

.form--uploading .loader {
	display: block;
}

@keyframes spinning {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

/* success */

.upload__form__success {
	position: absolute;
	display: none;
	top: 0;
	width: 100%;
	height: 100%;
	background: white;
	z-index: 2;
}

.upload__form__success--active {
	display: block;
}

.upload__form__success h2 {
	text-transform: uppercase;
	margin-bottom: 40px;
}

/* updates */

.form__updatenotice {
	max-height: 200px;
	background: rgb(56, 47, 193);
	color: white;
}

/* !$ -------------- MEDIA QUERIES -------------- $ */

/* !$ --------- > 768px (einspaltig) */
@media all and (min-width: 768px) {
	#upload {
		border-right: 10px solid black;
	}

	/* captcha */
}

/* !$ --------- > 1026px */
@media all and (min-width: 1026px) {
	#upload {
		display: flex;
		margin: 0 -5px;
	}

	.upload__section {
		height: calc(100vh - 220px);
		overflow: hidden;
		border-left: 5px solid black;
		border-right: 5px solid black;
	}

	/* intro */

	.upload__intro {
		display: flex;
		flex-flow: column nowrap;
		align-items: flex-start;
		width: 44.5%;
		overflow-y: auto;
	}

	.upload__intro__title {
		margin-bottom: 82px;
	}

	.upload__intro .upload-icon {
		position: relative;
		width: auto;
		min-height: 100px;
		height: 150px;
		margin-top: auto;
		padding: 20px 0 0;
	}

	/* form */

	.upload__form {
		width: 55.5%;
		overflow-y: auto;
	}

	h2.formsection--intro__title {
		margin-bottom: 60px;
	}

	/* captcha */

	.formfield.formfield--captcha {
	}

	/* submit */

	.formsection--submit {
		border-bottom: none;
	}

	/* success */

	.upload__form__success h2 {
		margin-bottom: 82px;
	}
}

/* !$ --------- > 1200px */
@media all and (min-width: 1200px) {
	.formtext--small {
		font-size: 16px;
	}

	/* formsections */

	.formsection__text {
		padding: 10px 10px 102px;
	}

	.collapsedtext__element h2 {
		margin-bottom: 20px;
	}

	.collapsedtext__element .arrow_small {
		top: 0px;
	}

	/* form fields */

	.formfield {
		display: flex;
		flex-flow: row wrap;
		align-items: flex-start;
	}

	.formfield--large {
		min-height: 150px;
	}

	/* label */

	.formfield__label {
		width: 200px;
		padding: 10px 20px 10px 10px;
		flex: 0 0 auto;
	}

	/* errors */

	.formfield__error p,
	.form__errornotice p,
	.form__updatenotice p {
		font-size: 16px;
		line-height: 18px;
	}

	/* inputs */

	.formfield__content {
		width: calc(100% - 250px);
		padding: 8px 10px 10px;
		flex: 1 0 auto;
	}

	.formfield__input {
		top: 0;
		margin: 0;
		padding: 0;
		font-size: 18px;
	}

	/* image input */

	.formfield__imageselect {
		font-size: 16px;
		padding: 5px 0;
		max-width: 100%;
		margin-top: 0px;
	}

	/* checkbox input */

	.formfield__checkboxcontent {
		padding: 10px 20px 40px 10px;
	}

	/* captcha */

	.formfield.formfield--captcha {
		align-items: stretch;
	}

	.formfield__captcha {
		position: relative;
		order: 4;
		align-items: flex-start;
		right: 0;
		width: 200px;
		border-bottom: none;
		border-left: 2px solid black;
	}

	.formfield--captcha .formfield__content {
		width: calc(100% - 250px - 200px);
	}

	.captcha__refresh {
		right: auto;
		padding: 10px;
		font-size: 16px;
	}

	/* submit */

	.upload__form__submit {
		paddding: 10px 10px 6px;
		font-size: 28px;
	}

	/* loading spinner */

	.loader {
		width: 28px;
		height: 28px;
	}
}

/* !$ --------- > 2000px */
@media all and (min-width: 2000px) {
}
