.frame-type-form_formframework {
	--form-input-placeholder: #777;
	--form-input-border: #f5f5f5;
	--form-input-bg: #f5f5f5;
	--form-input-required: #647b2b;
	--form-input-error: #ff0000;
}

/* --------------------- */
/* ----- Powermail ----- */
/* --------------------- */

.frame-type-form_formframework { background: #fff; padding: 0 0 40px 0; }

/* .form-group > label { display: none; } */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--form-input-placeholder);
  opacity: 1;
}

.form-group input:-ms-input-placeholder,
.form-group textarea:-ms-input-placeholder {
  color: var(--form-input-placeholder);
}

.form-group input::-ms-input-placeholder,
.form-group textarea::-ms-input-placeholder {
  color: var(--form-input-placeholder);
}

.form-group {
	display: block;
	width: 100%;
	padding: 20px 0 0 0;
}

.form-group input[type="text"], 
.form-group input[type="email"], 
.form-group input[type="number"], 
.form-group select, 
.form-group textarea {
	display: block;
	width: 100%;
	border: solid 2px var(--form-input-border);
	background-color: var(--form-input-bg);
	font-size: inherit;
	font-family: inherit;
	border: none;
}

.form-group input[type="text"], 
.form-group input[type="email"], 
.form-group input[type="number"], 
.form-group select {
	height: 50px;
	line-height: 46px;
	padding: 0 10px;
}
.form-group textarea {
	padding: 10px;
}

.form-group input:required, .form-group textarea:required { background: var(--form-input-bg) url('../images/field_required.png') no-repeat right top; border-left: 4px solid var(--form-input-required); }
.form-group input:required:valid, .form-group textarea:required:valid{ border: solid 2px #090; background: #FFF url('../images/field_success.png') no-repeat right center; }

.form-group select:required { background-color: var(--form-input-bg); border-color: var(--form-input-border); }

.form-group-anrede label { display: none; }
.form-group-artderhochzeit label { display: none; }

.inputs-list > .form-check {
	display: inline-block;
	/* width: 280px; */
	max-width: 100%;
	padding: 10px 40px 10px 0;
}
.inputs-list-overflow > .form-check {
	display: block;
	width: 100%;
	padding: 5px 10px;
}
.inputs-list-overflow {
	display: block;
	width: 100%;
	height: 300px;
	padding: 5px 0;
	overflow-y: scroll;
	border: 1px solid #eee;
}
div.btn-group {
	display: flex;
	justify-content: space-between;
}
span.btn-group { display: inline-block; }

table.form-confirmation { width: 100%; }
table.form-confirmation td { padding: 8px 20px 8px 0; border-bottom: solid 2px #e5e5e5; }
table.form-confirmation tr td:first-child { font-weight: bold; }

.please-check-data {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	padding: 20px 0;
}

input.form-anreise,
.form-group input.form-anreise:required {
	background-image: url('../images/calendaricon.png');
	background-repeat: no-repeat;
	background-position: right center;
}
.form-group input.form-anreise:required:valid {
	border: solid 2px #090;
	background-image: url('../images/calendaricon.png');
}

.packageteaser {
	display: block;
	padding: 40px 20px 20px 0;
}
.packageteaser-image {
	display: block;
}
.packageteaser-image img {
	display: block;
	width: 100%;
	height: auto;
}
.packageteaser-text {
	display: block;
}
.packageteaser h3 { padding-top: 0; }
.packageteaser h3 span {
	display: block;
	float: right;
}

.powermail-privacy-info { line-height: 1.6em; padding: 20px 0; }

/* remove standard-styles */

input[type='checkbox'].cb-box,
input[type='radio'].radio-nice {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	border-radius: 0;
	font-size: 1em;
	width: 100%
}

/* graceful degradation for ie8 */

input[type='checkbox'].cb-box,
input[type='radio'].radio-nice {
	width: auto;
	float: left;
	margin-right: .75em;
	background: transparent;
	border: none;
}

input[type='checkbox'].cb-box:checked,
input[type='checkbox'].cb-box:not(:checked) {
	background: transparent;
	position: relative;
	visibility: hidden;
	margin: 0;
	padding: 0;
}

input[type='radio'].radio-nice:checked,
input[type='radio'].radio-nice:not(:checked) {
	background: transparent;
	/* opacity: 0; */
	margin: 0;
	padding: 0;
	width: 24px;
	height: 24px;
	position: absolute;
}
.form-group input[type='radio'].radio-nice:required:valid {
	border: none;
	background: transparent;
}

input[type='checkbox'].cb-box + label,
input[type='radio'].radio-nice + label {
  cursor: pointer;
}

input[type='checkbox'].cb-box:checked + label::before,
input[type='checkbox'].cb-box:not(:checked) + label::before,
input[type='radio'].radio-nice:checked + label::before,
input[type='radio'].radio-nice:not(:checked) + label::before {
    content:'';
    display: inline-block;
	vertical-align: top;
    width: 24px;
    height: 24px;
    position: relative;
    border: solid 1px var(--form-input-border);
    background: var(--form-input-bg);
    margin-right: 0.6em;
}

input[type=radio].radio-nice:checked + label::before,
input[type=radio].radio-nice:not(:checked) + label::before {
  border-radius: 30px;
}

input[type='checkbox'].cb-box:hover  + label::before,
input[type='radio'].radio-nice:hover  + label::before {
  background: #ddd;
  box-shadow: inset 0 0 0 2px white;
}

input[type='checkbox'].cb-box:checked  + label::before,
input[type='radio'].radio-nice:checked  + label::before {
  background: var(--form-input-required);
  box-shadow: inset 0 0 0 2px white;
}


input[type="checkbox"].cb-switch {
  position: relative;
  left: 30px;
  top: 0px;
  z-index: 0;
  -webkit-appearance: none;
}
input[type="checkbox"].cb-switch + label {
  position: relative;
  display: block;
  cursor: pointer;
  font-family: sans-serif;
  padding: 0 0 0 70px;
  position: relative;
  line-height: 30px;
  margin-top: -24px;
}
input[type="checkbox"].cb-switch + label:before {
  width: 60px;
  height: 30px;
  border-radius: 30px;
  background-color: var(--form-input-bg);
  content: '';
  margin-right: 15px;
  transition: background-color 0.5s linear;
  z-index: 5;
  position: absolute;
  left: 0px;
}
input[type="checkbox"].cb-switch + label:after {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background-color: #fff;
  content: '';
  transition: margin 0.1s linear;
  box-shadow: 0px 0px 5px #aaa;
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 10;
}
input[type="checkbox"].cb-switch:checked + label:before {
  background-color: #2b8718;
}
input[type="checkbox"].cb-switch:checked + label:after {
  margin: 0 0 0 30px;
}

.form-group-flexibel .form-check { padding: 5px 0; }
/* .form-group-flexibel label.form-label { display: none; } */
.form-group-flexibel .inputs-list .form-group {	padding: 5px 0 0 0; }
.form-group-flexibel .form-text { padding-top: 5px; }

.check-group-title {
	display: block;
	padding: 4px 10px;
	background: var(--form-input-bg);
	margin: 10px 0;
}
.check-group-title a {
	text-decoration: none;
}
.check-group-title a:after {
	display: inline-block;
	vertical-align: top;
	padding: 0 0 0 10px;
	font-family: fontAwesome;
	content: '\f05a';
	color: #777;
}
.treatment-selected {
	white-space: pre-line;
	padding-bottom: 10px;
}
.treatment-selected:before {
	display: block;
	content: 'Gewählte Behandlungen';
	font-weight: bold;
	padding: 20px 0 10px 0;
}
.treatment-selected:empty {
	display: none;
}

.form-group-prospekte .form-label { display: none; }
.form-group-prospekte .form-check { width: 200px; max-width: 100%; }

.error.form-text { color: #ff0000; }
.form-group-anreise.has-error input.form-anreise {
	border-left: 4px solid #ff0000;
}

@media only screen and (min-width: 768px) {

	.form-group {
		float: left;
		padding: 20px 0 0 0;
	}
	fieldset.form-group,
	.form-group-flexibel .form-group {
		float: none;
	}

	.form-group-anreise { width: 40%; padding-right: 20px; }
	.form-group-naechte { width: 20%; padding-right: 20px; }
	.form-group-personen { width: 20%; padding-right: 20px; }
	.form-group-personen label { display: block; width: 100%; overflow: hidden; }
	.form-group-zimmer { width: 20%; }

	/* Kinder */
	form[id*='urlaub-kinder'] .form-group-anreise { width: 20%; padding-right: 20px; }
	form[id*='urlaub-kinder'] .form-group-naechte { width: 20%; padding-right: 20px; }
	form[id*='urlaub-kinder'] .form-group-zimmer { width: 20%; padding-right: 20px; }
	form[id*='urlaub-kinder'] .form-group-suiten { width: 20%; padding-right: 20px; }
	form[id*='urlaub-kinder'] .form-group-ferienwohnungen { width: 20%; }
	form[id*='urlaub-kinder'] .form-group-erwachsene { width: 25%; padding-right: 20px; }
	form[id*='urlaub-kinder'] .form-group-kinder { width: 25%; padding-right: 20px; }
	form[id*='urlaub-kinder'] .form-group-alterderkinder { width: 50%; }

	.form-group-uhrzeit { width: 40%; }
	.form-group-stunden, .form-group-minuten { width: 20%; }

	form[id*='tischreservierung'] .form-group-anreise { width: 25%; }
	form[id*='tischreservierung'] .form-group-uhrzeit { width: 25%; padding-right: 20px; }
	form[id*='tischreservierung'] .form-group-erwachsene { width: 25%; padding-right: 20px; }
	form[id*='tischreservierung'] .form-group-kinder { width: 25%; }

	.form-group-zimmer1, 
	.form-group-zimmer2, 
	.form-group-zimmer3, 
	.form-group-zimmer4 { width: 15%; }
	.form-group-suiten { width: 20%; }

	.form-group-anrede { width: 15%; clear: left; padding-right: 20px; }
	.form-group-titel { width: 15%; padding-right: 20px; }
	.form-group-vorname { width: 35%; padding-right: 20px; }
	.form-group-familienname { width: 35%; }
	.form-group-email { width: 50%; clear: left; padding-right: 20px; }
	.form-group-emailadresse { width: 50%; clear: left; }
	.form-group-telefon { width: 50%; }
	.form-group-plz { width: 20%; clear: left; padding-right: 20px; }
	.form-group-ort { width: 40%; padding-right: 20px; }
	.form-group-land { width: 40%; }
	.form-group-spamspamspam { width: 50%; clear: left; }
	.form-group-pflichtfelder { clear: left; }
	.form-group-personenanzahl { width: 33.33%; clear: left; padding-right: 20px; }
	.form-group-wunschtermin { width: 33.33%; padding-right: 20px; }
	.form-group-alternativtermin { width: 33.33%; }
	.form-group-artderhochzeit { width: 33.33%; }
	.form-group-anzahlderpersonen { width: 50%; clear: left; padding-right: 20px; }
	.form-group-anzahlderzimmer { width: 50%; }
	
	.form-group-gutscheinpauschale { width: 80%; clear: left; padding-right: 20px; }
	.form-group-paketpersonen { width: 20%; }
	
	form .clearfix { float: none; clear: both; }
	
	.form-group-wert { width: 30%; float: none; clear: both; padding-bottom: 40px; }
	.form-group-wert input[type="text"] {
		font-size: 1.6em;
		height: 60px;
		line-height: 60px;
		padding: 0 20px;
	}

	.packageteaser-image {
		float: left;
		width: 31.25%;
	}
	.packageteaser-text {
		float: left;
		width: 65%;
		margin-left: 3.75%;
	}
	
	.form-group-type_html,
	.form-group-pauschalenteaser, 
	.form-group-pauschalen_teaser,
	.form-group-pauschale,
	.form-group-firma,
	.form-group-strasse,
	.form-group-nachricht, 
	.form-group-aufmerksam,
	.form-group-zimmerkategorie,
	.form-group-newsletter {
		width: 100%;
		float: none;
		clear: both;
	}

}