/*************/
/*  form settings  */
/*************/
.form-control:focus, form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
 }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}
@keyframes autofill {
    100% {
        background: #fff;
        color: var(--text);
    }
}
@-webkit-keyframes autofill {
    100% {
        background: #fff;
        color: var(--text);
    }
}
/* placeholder */
*::-webkit-input-placeholder {
    color: rgba(11, 11, 11, 0.60);
}
*:focus::-webkit-input-placeholder {
    color:rgba(11, 11, 11, 0.60);
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: rgba(11, 11, 11, 0.60);
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: rgba(11, 11, 11, 0.60);
    opacity: 1;
}
*:focus::-moz-placeholder {
    color:rgba(11, 11, 11, 0.60);
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(11, 11, 11, 0.60);
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgba(11, 11, 11, 0.60);
}
*:focus::-ms-input-placeholder {
    color:rgba(11, 11, 11, 0.60);
}
*::placeholder {
    /* modern browser */
    color: rgba(11, 11, 11, 0.60)!important;
}
*:focus::placeholder {
    color: rgba(11, 11, 11, 0.60);
}
/**/
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, select, textarea {
    font-family: 'Hanken Grotesk',sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
}
input, select {
    color: var(--text);
    width: 100%;
    height: 3rem;
    padding: 0 .75rem;
    line-height: 3rem;
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid var(--border);
    border-radius: 0;
/*    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 3px 0px rgba(0, 0, 0, 0.10);*/
}

input[type="radio"], input[type="checkbox"] {
    height: auto;
    line-height: 1.6;
    width: auto
}
input[type="file"] {
    border:none;
    padding: 0;
    margin: 10px 0;
}
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.20);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0;
    width:100%;
    display: block;
    padding: 0.75rem;
	height: 11rem;
}
.form-control:focus, form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    border-color: var(--text);
 }

.form-control:focus {
	border: 2px solid var(--text);
	/* box-shadow: 0px 0px 3px 0px #2D599E; */
	background-color: rgba(255, 255, 255, 0.8);
	transition: all .5s
}
input[type="submit"] {
    height: 2.9375rem;
    font-size: 1.125rem;
    padding: 0 1.5rem;
    width: auto;
    display: table;
}
.wpcf7 .wpcf7-submit:disabled {
    background:#D7D7D7;
    border-color:#D7D7D7;
    color: #fff;
}
label {
    font-family: 'Hanken Grotesk';
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
}


label > input, label > textarea {
    margin-top: .5rem
}
.wpcf7-form {
    position: relative
}
.wpcf7-form label {
    display: block
}
.wpcf7-form-control-wrap {
    display: block;
    /* padding-top: 6px; */
}
/**/
.wpcf7-form-control.wpcf7-acceptance {
    display: block;
}
.wpcf7-form-control-wrap[data-name*="acceptance"] {
    padding-top:0;
    display: block;
}
.wpcf7-list-item {
    position: relative;
    display: block;
    margin-left:0;
    margin-bottom: .5rem;
}
.wpcf7-radio.inline-radio {
    display: inline-block;
    margin-bottom: 10px;
}
.wpcf7-radio.inline-radio .wpcf7-list-item {
	display: inline-block;
	margin-right: 25px;
}
@media (max-width:767px) {
	.wpcf7-radio.inline-radio .wpcf7-list-item {
		width: calc(50% - 25px);
	}
}
.wpcf7-list-item > label, label.custom-checkbox, label.custom-radio {
    display:flex
}
.wpcf7-list-item input, label.custom-checkbox input, label.custom-radio input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.wpcf7-list-item-label, label.custom-checkbox > span, label.custom-radio > span {
    padding-left: 1.75rem;
    padding-top: 2px;
    position: relative;
    display: inline-block;
    cursor:pointer;
    line-height: 1.3;
}
.wpcf7 .wpcf7-form-control-wrap[data-name*="acceptance"] .wpcf7-list-item-label {
    font-size:.875rem;
    color: #0B0B0B
}
.wpcf7 .wpcf7-form-control-wrap[data-name*="acceptance"] .wpcf7-list-item-label a {
    color: #0F1315;
    text-decoration: underline;
}
.wpcf7-list-item label input + span.wpcf7-list-item-label::before,
.wpcf7-list-item input + span.wpcf7-list-item-label::before,
label.custom-checkbox input + span::before, label.custom-radio input + span::before {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2px;
    left: 0;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1;
    font-size: 1rem;
    content: '\e903';
    font-family: 'huepferli';
    color: rgba(255, 255, 255, 0.20);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.20);
    pointer-events: none;
    border-radius: 0.125rem;
    border: 1px solid var(--border);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.wpcf7-list-item label input[type=radio] + span.wpcf7-list-item-label::before,
.wpcf7-list-item input[type=radio] + span.wpcf7-list-item-label::before,
label.custom-radio input[type=radio] + span::before {
    border-radius: 50%;
    content: '\e906';
    padding: 1px;
    font-size: .875rem;
}
.wpcf7-list-item label input:checked + span.wpcf7-list-item-label::before,
.wpcf7-list-item input:checked + span.wpcf7-list-item-label::before,
label.custom-checkbox input:checked + span::before,
label.custom-radio input[type=radio]:checked + span::before {
    background-color: var(--dark-grey);
    border-color: var(--dark-grey);
    color:#fff
}
.wpcf7-list-item label input.invalid + span.wpcf7-list-item-label::before,
.wpcf7-list-item input.invalid + span.wpcf7-list-item-label::before {
    color: transparent;
	border-color: var(--akzent-red);
	background-color: #fff;
}
.wpcf7-list-item > input.invalid + span.wpcf7-list-item-label::after {
    left: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
}
/**/
span.wpcf7-not-valid-tip {
    color: var(--akzent-red);
    font-size: .8rem;
    line-height: .9;
    font-weight: normal;
    display: block;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.15rem;
}
.cf7-acceptance span.wpcf7-not-valid-tip {
    bottom: -.875rem;
    width: 100%;
}
.wpcf7-textarea + span.wpcf7-not-valid-tip {
    bottom: -.875rem;
}
.wpcf7-checkbox + span.wpcf7-not-valid-tip {
    bottom: -.875rem;
}
div.wpcf7-response-output {
    position: absolute;
    bottom: 40px;
    cursor:pointer;
    color: #000;
    border-color: var(--accent-blue);
    font-size: 1rem;
    width: 25rem;
    right: 50%;
    margin-right: -12.5rem!important;
    text-align: center;
    background-color: #fff;
    padding: 1rem!important;
    border-radius:.5rem;
    box-shadow: 0 3px 8px 1px rgba(0,0,0,0.3);
    z-index: 1
}
div.wpcf7-response-output:before {
    content: '×';
    position: absolute;
    top: 0;
    right: .375rem;
    line-height: 1.2;
}
@media (max-width:767px) {
    div.wpcf7-response-output {
        width: 290px;
        margin-right: -145px !important;
    }
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: var(--akzent-red);
    cursor: pointer;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid var(--akzent-red);
}
div.wpcf7-mail-sent-ok {
    border: 2px solid var(--accent-blue);
}
div.wpcf7 {
    position: relative
}
.wpcf7-spinner {
    margin: 0!important;
    position: absolute!important;
    bottom: 9px!important;
    left: calc(50% - 12px)!important;
}
.wpcf7 .ajax-loader {
    margin: 5px auto 0;
    position: absolute;
    bottom: 1rem;
    z-index: 2;
}
div.wpcf7 h1, div.wpcf7 h2, div.wpcf7 h3, div.wpcf7 h4 {
	line-height: 1.5;
    margin-bottom: 2.75rem;
}

.wpcf7-form-control.wpcf7-not-valid {
	border-color: var(--akzent-red);
	background-color: #FDF2F2;
}

.wpcf7-form p:last-of-type {
    margin-bottom:0
}

/**/
.ws-form-row {
    margin-left:-0.5rem;
    margin-right: -0.5rem;
}
.ws-form-row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
}
@media (max-width: 575px) {
    .ws-form-row > * {
        width: 100%
    }
}

/* show post title in form - code in js - title is inserted after h3 with form title */
.cf7-post-title {
    text-align: center;
    font-size: 120%;
}
/**/
.wpcf7 .centered-content input[type="submit"] {
    margin-left: auto;
    margin-right: auto
}
/**/

@media (max-width: 767px) {
	input, select {
		height: 2.5rem;
		line-height: 2.5rem;
	}
}
