@media (min-width: 768px) {
	
	.row {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		margin-bottom: 20px;
		align-items: flex-end;
		position: relative;
	}

}
	

.grid-fourth {
	grid-column: auto / span 3;
}

.grid-third {
	grid-column: auto / span 4;
}

.grid-two-thirds {
	grid-column: auto / span 8;
}

.grid-half {
	grid-column: auto / span 6;
}

.grid-full {
	grid-column: auto / span 12;
}

.grid-three-fourths {
	grid-column: auto / span 9;
}

[class*="grid-start-"] {
	grid-row-start: 1;
}

.grid-start-first {
	grid-column-start: 1;
}

.grid-start-fourth {
	grid-column-start: 4;
}

.grid-start-third {
	grid-column-start: 5;
}

.grid-start-half {
	grid-column-start: 7;
}

.grid-start-two-thirds {
	grid-column-start: 9;
}

.grid-start-three-fourths {
	grid-column-start: 10;
}

.row-gap-large {
	column-gap: 1.1875em;
}

.row-no-gap {
	column-gap: 0;
}

.row-auto {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15em), 1fr));
}

.sig p {
	margin-bottom: 0px;
}

.row-gap-large label.error {
	font-weight: normal;
}


#wpcf7_SIGNATURE-BASICS_signature, #wpcf7_SIGNATURE-BANK-ACCOUNT_signature  {
	border-bottom: 1px solid #7ea172;
}

#wpcf7_SIGNATURE-BASICS_clear,
#wpcf7_SIGNATURE-BANK-ACCOUNT_clear {
	padding: 2px 12px;
	min-height: unset;
}

i.small {
    font-size: 50%;
    vertical-align: super;
}

div.wpcf7-response-output, div.wpcf7-validation-errors { display: none !important; }
span.wpcf7-not-valid-tip { display: none; }
.wpcf7-checkbox.wpcf7-not-valid { border-bottom: 1px solid rgba(153,0,0,0.5) !important; padding-bottom: 5px;}
.sig-error { border-bottom-color: rgba(153,0,0,0.5) !important;}
.file-error { border-top-color: rgba(153,0,0,0.5) !important;}
input[aria-invalid="true"], select[aria-invalid="true"], .wpcf7-checkbox.wpcf7-not-valid { border-bottom-color: rgba(153,0,0,0.5) !important;}
span.wpcf7-form-control-wrap {display:block !important;}


.wpcf7-form-control-signature-global-wrap {
	position: relative;
	bottom: 0;
}

.sig .wpcf7-form-control-clear-wrap {
	position: absolute;
	bottom: 5px;
	left: 5px;
}

.wpcf7-checkbox .wpcf7-list-item-label {
	display: none;
}

.discount-options .wpcf7-list-item-label {
	display: inline-block;
	padding-left: 7px;
	font-size: 17.1px !important;
    font-weight: 300 !important;
	position: relative;
	bottom: 2px;
}

.discount-description {
    font-size: 80%;
    line-height: auto;
    color: #999;
    padding-bottom: 7px;
    padding-left: 5px
}

.discount-file-conditions input {
    padding-left: 5px;
}


.discount-file-conditions .input-label {
    border-top: 1px solid #7ea172;
    display: block;
    margin-top: 14px;"
}
    
.check, .discount-check {
	position: relative;
}

.discount-check {
	bottom: 33px;
	border-bottom: 1px solid #7ea172;
	padding-bottom: 5px !important;
}

.discount-check label {
	position: relative;
    top: 40px;
    left: 5px;
}

.discount-check-conditions-label {
    position: relative;
	top: 48px;
	margin-bottom: 10px;
	padding: 5px 0 0 5px;
	font-size: 90% !important;
	font-weight: 300 !important;
    color: #999999;	
}

.check-label {
	font-size: initial !important;
	font-weight: 400 !important;
	position: absolute;
	left: 25px;
	bottom: 3px !important;
	font-size: 17.1px !important;
	font-weight: 300 !important;
}

.discount-check .check-label {
	padding-left: 20px;
	bottom: 0px !important;
}

.discount-check input[type=checkbox] {
	bottom: 3px;
}

.check-label.check-consent {
	padding-left: 20px;
	bottom: -2px !important;
}

span.wpcf7-list-item {
	display: block;
	margin: 0;
}

span.input-label {
	font-size: 90%;
	color: #999999;
	padding: 5px 0 0 5px;
	display: inline-block;
}

.membership input {
	bottom: -4px;
}

.swal2-html-container {
	font-weight: 300 !important;
}

@media screen and (max-width: 768px) {
	.wpcf7-form-control-signature-wrap {
		width:100% !important;
	}
	dt, dd {
		width: 100%;
	}
	
	.row {
		padding-bottom: 30px;
	}
	
	.discount-check {
		bottom: unset;
	}

    .discount-file-conditions {
        margin-bottom: -30px !important;
    }
}


/* --- Checkboxen --- */

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
input[type=checkbox],
input[type=radio] {
    --active: #657153;
    --active-inner: #fff;
    --focus: 2px rgba(126, 161, 114, .3);
    --border: #7ea172;
    --border-hover: #657153;
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }
  input[type=checkbox]:after,
input[type=radio]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }
  input[type=checkbox]:checked,
input[type=radio]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }
  input[type=checkbox]:disabled,
input[type=radio]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }
  input[type=checkbox]:disabled:checked,
input[type=radio]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }
  input[type=checkbox]:disabled + label,
input[type=radio]:disabled + label {
    cursor: not-allowed;
  }
  input[type=checkbox]:hover:not(:checked):not(:disabled),
input[type=radio]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }
  input[type=checkbox]:focus,
input[type=radio]:focus {
    box-shadow: 0 0 0 var(--focus);
  }
  input[type=checkbox]:not(.switch),
input[type=radio]:not(.switch) {
    width: 21px;
  }
  input[type=checkbox]:not(.switch):after,
input[type=radio]:not(.switch):after {
    opacity: var(--o, 0);
  }
  input[type=checkbox]:not(.switch):checked,
input[type=radio]:not(.switch):checked {
    --o: 1;
  }
  input[type=checkbox] + label,
input[type=radio] + label {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 4px;
  }

  input[type=checkbox]:not(.switch) {
    border-radius: 0px;
  }
  input[type=checkbox]:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner); 
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    transform: rotate(var(--r, 20deg));
  }
  input[type=checkbox]:not(.switch):checked {
    --r: 43deg;
  }
  input[type=checkbox].switch {
    width: 38px;
    border-radius: 0px; /*11px*/
  }
  input[type=checkbox].switch:after {
    left: 1px;
    top: 1px;
    border-radius: 0px;/*50%*/
    width: 17px;
    height: 17px;
    background: var(--ab, var(--border));
    transform: translateX(var(--x, 0));
  }
  input[type=checkbox].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }
  input[type=checkbox].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }

  input[type=radio] {
    border-radius: 0px;/*50%*/
  }
  input[type=radio]:after {
    width: 19px;
    height: 19px;
    border-radius: 0px;/*50%*/
    background: var(--active-inner);
    opacity: 0;
    transform: scale(var(--s, 0.7));
  }
  input[type=radio]:checked {
    --s: 0;
  }
}

/* --- Submit : Spinner --- */
.wpcf7-spinner {
	top: 5px;
}

/* --- Datepicker  --- */
input[type="date"]{
    color: unset;
}
::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(41%) sepia(19%) saturate(528%) hue-rotate(42deg) brightness(97%) contrast(85%);
}
::-webkit-calendar-picker-indicator:hover {
    filter: brightness(0) saturate(100%) invert(64%) sepia(16%) saturate(684%) hue-rotate(60deg) brightness(91%) contrast(86%);
}

/* --- Remove Arrows/Spinners --- */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield !important;
}

/* --- File Upload --- */


input[type="file"]::file-selector-button {
  border-radius: 0px;
  padding: 10px 20px;
  cursor: pointer;
  color: #fdfaf4;
  background-color: #657153;
  border: 0px solid rgba(0, 0, 0, 0.16);
  margin-right: 16px;
  transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
  background-color: #7ea172;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
  background-color: #7ea172;
}