/**
 * Default Variables.
 *
 * Modify this file to provide default Bootstrap Framework variables. The
 * Bootstrap Framework will not override any variables defined here because it
 * uses the `!default` flag which will only set their default if not already
 * defined here.
 *
 * You can copy existing variables directly from the following file:
 * ./THEMENAME/bootstrap/assets/stylesheets/bootstrap/_variables.scss
 */
.contact-webform {
  background-color: white;
  padding: 81px 15px;
  box-shadow: 0px 0px 30px rgba(208, 202, 202, 0.2);
  border-radius: 20px;
}
.contact-webform .form-control {
  background: #f5f5f4;
  border-radius: 15px;
  border: none;
  box-shadow: none;
  height: 44px;
  padding: 10px 20px;
}
.contact-webform .form-control.form-textarea {
  height: 80px;
}
.contact-webform .form-control.form-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.415 8.20996L12 12.795L16.585 8.20996L18 9.62496L12 15.625L6 9.62496L7.415 8.20996Z' fill='%2312161C'/%3E%3C/svg%3E%0A");
  background-position: right 16px center;
  background-repeat: no-repeat;
}
.contact-webform .form-item {
  margin-bottom: 8px;
  position: relative;
}
.contact-webform .form-control::-webkit-input-placeholder,
.contact-webform .form-control::-moz-placeholder,
.contact-webform .form-control:-ms-input-placeholder,
.contact-webform .form-control::-ms-input-placeholder,
.contact-webform .form-control::placeholder {
  color: rgba(18, 22, 28, 0.4);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}
.contact-webform .webform-button--submit {
  margin-top: 24px;
}

.contact-wrapper {
  margin: 0 auto;
  max-width: 350px;
}
@media (min-width: 768px) {
  .contact-wrapper {
    max-width: 500px;
  }
}
@media (min-width: 1200px) {
  .contact-wrapper {
    max-width: 500px;
  }
}

.contact-title {
  font-family: "ApercuBold", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
}
@media (min-width: 768px) {
  .contact-title {
    font-size: 48px;
    line-height: 56px;
  }
}
@media (min-width: 1200px) {
  .contact-title {
    font-size: 72px;
    line-height: 80px;
  }
}

.contact-subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 26px;
  margin-bottom: 30px;
  text-align: center;
}
@media (min-width: 768px) {
  .contact-subtitle {
    font-size: 23px;
    line-height: 32px;
    margin-bottom: 50px;
  }
  .contact-webform .form-type-number input {
		width: 320px;
	}
}
@media (min-width: 1200px) {
  .contact-subtitle {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 50px;
  }
}


/**** New Input sytels ****/
.form-control::placeholder {
	color: #757575;
	opacity: 1;
}
.contact-webform .form-control {
	background: #fff;
	border-radius: 24px;
	border: none;
	box-shadow: none;
	height: 52px;
	padding: 10px 20px;
	font-size: 18px;
	line-height: 30px;
	border: 2px solid #c4c4c4;
	/* max-width: 320px; */
	color: #333;
}
.contact-webform input.form-control:not(:placeholder-shown):invalid { 
	border-color: #ff0000;
}
.contact-webform input.form-control:focus, .contact-webform input.form-control:not(:placeholder-shown):focus,
.contact-webform textarea.form-control:focus, .contact-webform textarea.form-control:not(:placeholder-shown):focus {
	border-color: #535353;
}
.contact-webform .form-control:valid {
	/** filled and valid **/
}

.contact-webform .form-control:not(:placeholder-shown) {
  /** filled **/
}

.contact-webform .form-control:placeholder-shown, .contact-webform .form-control[value=""], .contact-webform .form-control:empty {
  /** not filled **/
}
div.contact-wrapper {
	max-width: 710px;
}
.contact-webform .form-type-textfield, .contact-webform .form-type-select, .contact-webform .form-type-email, .contact-webform .form-type-tel, .contact-webform .form-type-date, .contact-webform .form-type-number {
	width: 320px;
}
.contact-webform form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 25px 0px;
}
.contact-webform .form-control.form-select {
	background-image: url("/themes/custom/filabe/images/select-arw.svg");
	background-position: right 16px center;
	background-repeat: no-repeat;
}
.contact-webform.testimonial-webform form {
	display: block;
}
.contact-webform.testimonial-webform form > div.form-group {
	display: flex;
	flex-wrap: wrap;
	gap: 25px 0;
	justify-content: space-between;
}
.contact-webform .form-item.form-type-webform-markup {
	width: 100%;
	text-align: center;
}
div.webform-flexbox {
	/* width: 100%; */
}
.contact-webform .checkbox input[type="checkbox"] {
	appearance: none;
	border: 2px solid #c4c4c4;
	width: 20px;
	height: 20px;
}
.contact-webform .form-type-checkbox, .testimonial-webform .form-item-accept.form-item {
	width: 100%;
	color: #757575;
}
.contact-webform .checkbox input[type="checkbox"]:checked {
	background: url(/themes/custom/filabe/images/checkbox.svg);
	background-repeat: no-repeat;
	background-size: 17px 11px;
	background-position: 0px 3px;
}
.contact-webform .radio input[type="radio"] {
	appearance: none;
	border: 2px solid #c4c4c4;
	width: 16px;
	height: 16px;
	border-radius: 10px;
}
.contact-webform .radio input[type="radio"]:checked {
	background-image: url(/themes/custom/filabe/images/radio.svg);
	background-repeat: no-repeat;
	background-size: 8px 8px;
	background-position: 3px 3px;
}
.contact-webform .contact-title {
	font-size: 34px;
	line-height: 42px;
	color: #12161C;
}
.contact-webform .contact-subtitle {
	font-size: 16px;
	line-height: 22px;
	margin-top: 22px;
	color: #757575;
}
.contact-webform .control-label.option.js-form-required.form-required {
	color: #333;
}
.contact-webform .form-actions {
	/* display: block; */
	width: 100%;
	text-align: center;
}
.contact-webform .form-type-checkbox .control-label, .testimonial-webform.contact-webform .form-type-checkbox label.control-label {
	font-size: 16px;
	line-height: 22px;
}
.contact-webform .form-type-number input {
	/* text-align: center; */
}
.contact-webform .form-control.form-select {
	line-height: 20px;
}
.contact-webform .webform-button--submit.btn[disabled], .contact-webform .webform-button--next.btn[disabled] {
	/* margin-top: 24px; */
	background: #C4C4C4;
}
.contact-webform.testimonial-webform .title-wrapper h3 {
	text-align: center;
	margin-bottom: 5px;
	color: #757575;
	font: 500 12px/13px Apercu;
	text-transform: uppercase;
}
.contact-webform.testimonial-webform form > div.form-group.form-actions {
	float: none;
	margin-top: 0;
	display: block;
}
.contact-webform .form-item.form-type-webform-markup a {
	color: #333;
	text-decoration: underline;
}
.contact-webform .form-item.title-wrapper {
	/* display: block; */
	width: 100%;
}
.testimonial-webform.contact-webform label.control-label {
	font-size: 14px;
	font-family: Apercu;
	font-weight: normal;
	line-height: 22px;
	color: #757575;
	padding-left: 20px;
}
.hochladen .form-managed-file {
	gap: 20px;
}
.hochladen .form-managed-file button {
	border-radius: 25px;
	padding: 8px 15px;
}
.contact-webform input.webform-file-button-input {
	/* display: none; */
	margin: 0;
}
.contact-webform .form-group[id^=ajax-wrapper] {
	width: 100%;
}	
.contact-webform .hochladen .form-managed-file {
	flex-direction: row;
}
.contact-webform  .hochladen .webform-file-button {
	min-width: 200px;
}
.contact-webform .form-group[id^="ajax-wrapper"] label {
	display: block;
}
.contact-webform .form-group[id^="ajax-wrapper"] input {
	display: none;
}
.contact-webform .webform-button--submit.btn::after, .contact-webform .webform-button--next.btn::after {
	content: "";
	background: url("/themes/custom/filabe/images/right_white.png");
	display: inline-block;
	background-size: cover;
	width: 19px;
	height: 15px;
	margin-left: 5px;
}
.contact-webform .form-item-anrede {
	/* flex: 1 0 100%; */
	flex: auto;
}
.contact-webform .form-item-anrede .select-wrapper {
	max-width: 320px;
}
.contact-webform .form-item-message {
    flex: 1 0 100%;
}

/* .contact-webform .form-group[id^="ajax-wrapper"] label {
	display: block;
	background: none;
	color: gray;
	font-family: Apercu;
	padding: 0;
	margin-left: 0;
	text-align: left;
	width: auto;
	margin-bottom: 0;
}
.contact-webform .hochladen .form-managed-file {
	flex-direction: column;
	align-items: start;
} 
.contact-webform .form-group[id^="ajax-wrapper"] label {
	display: none;
}
.contact-webform .form-group[id^="ajax-wrapper"] input {
	display: block;
}
*/

.hochladen .form-managed-file button.btn-danger {
	border-color: transparent;
	background: no-repeat;
	color: black;
	font-weight: normal;
	font-family: Apercu;
	font-size: 18px;
}
.hochladen .form-managed-file button.btn-danger span::before {
	display: none;
}
.hochladen .form-managed-file button.btn-danger span {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: red;
	background: url(/themes/custom/filabe/images/stal.svg);
	background-size: cover;
	position: relative;
	top: 5px;
}
.contact-webform .form-group[id^="ajax-wrapper"] .hochladen > label {
	display: block;
	position: static;
	width: auto;
	height: auto;
	color: gray;
	font-family: Apercu;
	text-align: left;
	font-weight: normal;
	margin-bottom: 5px;
	margin-left: 20px;
	font-size: 14px;
	padding-left: 0;
}
.contact-webform .description.help-block {
	margin-left: 20px;
	font-size: 14px;
	margin-top: -8px;
}
span.text-primary, div.text-primary {
	color: gray;
}
.contact-webform input.form-control.form-date:not(:placeholder-shown):invalid {
	border-color: #c4c4c4;
}
.contact-webform .webform-actions button span {
	display: none;
}
.testimonial-webform .webform-button--previous {
	color: #333;
	font-size: 18px;
	font-family: ApercuBold;
	font-weight: normal;
	display: inline-block;
	margin-top: 10px;
	background: none;
	margin: 0 15px 0;
}
.testimonial-webform .webform-button--previous::after {
	float: left;
	transform: rotateY(180deg);
	position: relative;
	top: 0;
	left: -2px;
	content: '';
	display: inline-block;
	background: url("/themes/custom/filabe/images/right_black_v2.webp") no-repeat;
	width: 19px;
	height: 15px;
	background-size: cover;
}
.contact-webform .file-link {
	text-wrap: wrap;
	max-width: 400px;
	overflow: hidden;
	display: inline-block;
	position: relative;
	top: 5px;
}

@media (min-width: 768px) {
	.contact-webform div.webform-flexbox {
		width: 100%;
		display: flex;
		justify-content: space-between;
	}
	.contact-webform div.webform-flexbox > div:last-child {
		flex: auto;
		margin-right: -10px;
	}
	.contact-webform div.webform-flexbox > div:last-child .webform-flex--container {
		margin-right: 0;
		display: flex;
		justify-content: end;
	}
	.contact-webform div.webform-flexbox {
		margin-top: 5px;
	}
}


@media (max-width: 768px) {
	.contact-webform .checkbox input[type="checkbox"] {
		margin-left: -25px;
		margin-top: 4px;
	}
	.contact-webform.testimonial-webform #edit-actions-wizard-next {
		float: none;
	}
	.contact-webform.testimonial-webform form > div.form-group {
		justify-content: center;
	}
	.contact-webform div.webform-flexbox > div:last-child {
		margin-top: 30px;
	}
	.hochladen .webform-file-button {
		width: 100%;
		padding: 14px 0;
	}
	.contact-webform div.hochladen .form-managed-file {
		flex-direction: column;
	}
	.hochladen button.btn {
		width: 100%;
		border-radius: 25px;
		min-height: 48px;
		margin-top: 10px;
	}
	.contact-webform .webform-submission-contact-form .form-item-anrede {
		/* order: -1; */
	}
	.hochladen .form-managed-file button.btn-danger {
		margin-top: 0;
		padding-top: 0;
		min-height: auto;
		position: relative;
		top: -10px;
	}
	.contact-webform .form-group[id^="ajax-wrapper"] .hochladen > label {
		text-align: center;
	}
	.contact-webform .form-item-hautproblem-description {
		text-align: center;
	}
	.contact-webform .form-group[id^="ajax-wrapper"] .hochladen > div > label {
		width: auto;
	}
	.contact-webform .form-group[id^="ajax-wrapper"] .hochladen > label {
		margin-left: 0;
	}
	.contact-webform .description.help-block {
		margin-left: 0;
		text-align: center;
	}
	.contact-webform .file-link {
		max-width: 185px;
		top: 0;
	}
	.contact-webform.testimonial-webform .file-link {
		top: -3px;
	}
	.testimonial-webform.contact-webform label.control-label {
		text-align: center;
		padding-right: 20px;
	}
}