/* Basic and specific form styles */
.form-group,
.mf-row {
	margin-bottom: 12px;
}
.control-label,
.mf-label {
	display: block;
	margin-bottom: 5px;
}
input[type="text"].form-control,
input[type="password"].form-control,
input[type="email"].form-control,
textarea.form-control,
.mf-textarea,
.mf-input {
	width: 100%;
	padding: 6px 10px;
	border: 1px solid #222;
	font: inherit;
	background-color: #fff;
	transition: box-shadow 0.18s ease;
}
textarea.form-control {
	min-height: 130px;
}
.mf-inline {
	width: auto;
	display: inline-block;
}
.mf-disabled {
    opacity: 0.5;
    text-decoration: line-through;
}
.mf-label + .mf-inline { margin-left: 8px; }
select.form-control,
.mf-select {
	min-width: 200px;
	max-width: 100%;
	padding: 6px 30px 6px 10px;
	border: 1px solid #222;
	font: inherit;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url('/_assets/a4f9f1d7424b0693a509c7e93dc57902/Images/Icons/arrow_down.svg');
	background-repeat: no-repeat;
	background-size: 13px auto;
	background-position: right 10px center;
	transition: box-shadow 0.18s ease;
}
.form-control:hover,
.form-control:focus,
.mf-input:hover,
.mf-input:focus,
.mf-textarea:hover,
.mf-textarea:focus,
.mf-select:hover,
.mf-select:focus { 
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}
.mf-checkbox,
.mf-radio {
	margin-right: 6px;
}
.mf-checkboxes label,
.mf-radios label {
	/*display: inline-block;*/
	display: inline;
}
.mf-submit {
	margin: 10px 0 20px;
	padding: 8px 26px;
}
.mf-submit.mf-submit-xl {
	margin: 20px 0 20px;
	padding: 15px 90px;
	text-transform: capitalize;
	font-size: 22px;
	font-weight: bold;
}
.mf-divider {
	margin: 40px 0;
	padding: 20px 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.mf-divider > :last-child {
	margin-bottom: 0;
}

@media only screen and (max-width: 980px) {
	.mf-input-wrapper .mf-select {
		min-width: 130px;
	}
}
@media only screen and (max-width: 550px) {
	.mf-input-wrapper .mf-select {
		margin-bottom: 5px;
	}
	.mf-input-wrapper .mf-input {
		margin-left: 0 !important;
		width: 100% !important;
	}
}

.error.mailform__error {
    color: #c30c15;
    font-weight: bold;
    margin-bottom: 20px;
}
[aria-invalid="true"] {
	border: 1px solid #c30c15;
}
.mf-checkbox[aria-invalid] ~ label,
.mf-radio[aria-invalid] ~ label {
    color: #c30c15;
    text-decoration: underline;
}
.required-mark { color: #c30c15; }
.combined-input {
	position: relative;
	display: inline-block;
	padding-right: 26px;
	border: 1px solid #000;
}
.combined-input__input {
	width: 100%;
	padding: 4px 9px;
	font: inherit;
	border: none;
}
.combined-input__button {
	position: absolute;
	right: 0; top: 0; bottom: 0;
	width: 30px; 
	background-image: linear-gradient(to bottom, #de0813, #a41815);
	border: none;
	cursor: pointer;
	text-indent: 110%;
	overflow: hidden;
	transition: background-image 0.18s ease;
}
.combined-input__button:hover,
.combined-input__button:focus {
	background-image: linear-gradient(to bottom, #de0813, #a41815)-light;
}
.combined-input__button:active {
	box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3) inset;
}

.combined-input__button:after {
	content: '';
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-30%, -50%);
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 7px;
	border-color: transparent transparent transparent #fff;
}
.combined-input--newsletter { width: 80%; }
.combined-input--newsletter .combined-input__input { 
	font-size: 14px;  
}

/* Photokina 2018 */
/*#mailform--photokina .mf-disabled {
	display: none;
}*/

form.mailform--product-tester .mf-textarea {
    min-height: 150px
}

form.mailform--product-tester .errors p {
    display: none;
}
form.mailform--product-tester .errors p:last-child {
    display: block;
}
form.mailform--product-tester .socialmediarow {
    display: flex;
    align-items: center;
}
form.mailform--product-tester .socialmediarow .mf-label {
    margin-right: 5px;
    width: 225px;
}
.form-group.has-error .control-label {
	color: #c30c15;
	font-weight: bold;
}
/*
.form-group.has-error .recaptcha {
    border: 2px solid #c30c15;
    padding: 10px;
}
.recaptcha .help-block {
    margin-top: 15px;
    display: block;
}
*/
.easycaptcha {
	display: flex;
	align-items: flex-end;
}
.easycaptcha #captcha-image {
    border: 1px solid #000;
    border-radius: 2px;
}
.easycaptcha svg.icon-color {
    width: 40px;
    height: 40px;
    padding: 6px;
}
.easycaptcha .form-group {
	margin-bottom: 0;
}
.easycaptcha .captcha-actions {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

/* roadshowDigitalagenturNiedersachen */
[id*="roadshowDigitalagenturNiedersachen"] .form-group.element-checkbox-2,
[id*="roadshowDigitalagenturNiedersachen"] .form-group.element-checkbox-3 {
    padding-left: 17px;
}
[id*="roadshowDigitalagenturNiedersachen"] .form-group.element-radiobutton-1 {
    padding-left: 34px;
    margin-top: -7px;
}