/*************/
/*  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(--medium-grey);
    }
}
@-webkit-keyframes autofill {
    100% {
        background: #fff;
        color: var(--medium-grey);
    }
}
/* placeholder */
*::-webkit-input-placeholder {
    color: var(--medium-grey);
}
*:focus::-webkit-input-placeholder {
    color:var(--medium-grey);
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: var(--medium-grey);
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: var(--medium-grey);
    opacity: 1;
}
*:focus::-moz-placeholder {
    color:var(--medium-grey);
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--medium-grey);
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--medium-grey);
}
*:focus::-ms-input-placeholder {
    color:var(--medium-grey);
}
*::placeholder {
    /* modern browser */
    color: var(--gray-900)!important;
}
*:focus::placeholder {
    color: var(--medium-grey);
}
/**/
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, select, textarea {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--medium-grey);
}
input, select {
    color: var(--gray-900);
    width: 100%;
    height: 2.75rem;
    line-height: 2.75rem;
    padding: 0 0.75rem;
    background: #FFF;
    border: 1px solid var(--dark-gray);
    border-radius: 0.5rem;
/*    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: #fff;
    color: #0F1315;
    border: 1px solid var(--dark-gray);
    border-radius: 0.5rem;
    width:100%;
    display: block;
    padding: 0.75rem;
	height: 11.25rem;
}
.form-control:focus, form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    color:#1C1C1C;
/*    border-color: var(--brand-alt2);*/
 }

.form-control:focus {
	border: 2px solid var(--brand);
	box-shadow: 0px 0px 3px 0px #2D599E;
	background-color: #fff;
	transition: all .5s
}
input[type="submit"] {
    height: 2.75rem;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem 0.6rem;
    width: 100%;
    display: table;
}
.wpcf7 .wpcf7-submit {
    box-shadow: none;

}
.wpcf7 .wpcf7-submit:disabled {
    background:#D7D7D7;
    border-color:#D7D7D7;
    color: #fff;
}
label {
    font-family: 'Satoshi';
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--body---light);
}


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;
    /* min-height: 2rem; */
    margin-left:0;
}
.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;
}
.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: block;
    top: 2px;
    left: 0;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1;
    font-size: 1rem;
    content: '\e908';
    font-family: "ws_new";
    color: #fff;
    text-align: center;
    background-color: #fff;
    pointer-events: none;
    border-radius: 0.125rem;
    border: 2px solid #E5E7EB;
    -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: '\e908';
    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(--brand);
    border-color: var(--brand);
    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: #F05252;
	background-color: #FDF2F2;
}
.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: #ff0000;
    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(--brand);
    font-size: 1rem;
    width: 25rem;
    right: 50%;
    margin-right: -12.5rem!important;
    text-align: center;
    background-color: #fff;
    padding: .5rem .875rem!important;
    border-radius:.5rem;
    box-shadow: 0 3px 8px 1px rgba(0,0,0,0.3);
    z-index: 1
}
@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: #F05252;
    cursor: pointer;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid var(--akzent);
}
div.wpcf7-mail-sent-ok {
    border: 2px solid var(--brand);
}
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: #F05252;
	background-color: #FDF2F2;
}

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

/* multi upload field */
.wpcf7 .dnd-upload-status .dnd-upload-details .name {
	color: #1D235D
}
.wpcf7 .dnd-upload-status .dnd-upload-details .dnd-progress-bar span {
    background: #1D235D;
}

/**/
.row.ws-form-row {
    margin-left:-0.5rem;
    margin-right: -0.5rem;
}
.row.ws-form-row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem
}
/* file upload */
span[data-name="cvfile-zl-mfcf7-upld-btn"]:before {
    content: "\e918";
    font-family: 'ws_new' !important;
    font-size: 1.825rem;
    vertical-align: text-top;
}
span[data-name="cvfile-zl-mfcf7-upld-btn"] input.button {
    border-radius: 0;
    border:0;
    padding: 0 0 0 10px;
    height:24px;
    text-align: left;
    box-shadow: none;
    width: auto;
    color:#0F1315;
    background-color: transparent
}
.mfcf7_zl_delete_file:before {
    content: '\e919';
    font-family: 'ws_new' !important;
    font-size: 1.25rem;
    color: #ff0000;
    line-height: 1;
    vertical-align: text-bottom;
    padding-left: 5px
}
.mfcf7_zl_delete_file span {
    display: none
}
/**/
/* .wpcf7-list-item-label {
    position: relative;
}
.wpcf7-list-item-label:after {
    content: '\e900';
    font-family: 'ws_new'!important;
    position: absolute;
    right:0;
    bottom: 100%;
}
.wpcf7-list-item-label span {
    position: absolute;
    bottom:calc(100% + 5px);
    padding: 5px;
    background-color: #fff;
    border: 1px solid #000;
    left: 100%;
    display:none
}
.wpcf7-list-item-label:hover span {
    display: block
} */


/* 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
}
/**/
/* .pum-content .wpcf7 {
    padding: 6px
} */
.cf7-upload-files-wrap {
    border: 1px solid #000;
    padding: 15px 15px 1px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
}
.cf7-upload-files-wrap p:empty {
    display:none
}
div.wpcf7 .cf7-upload-files-wrap p {
    margin-bottom: 10px
}
.cf7-upload-files-wrap div#mfcf7_zl_multifilecontainer {
    margin-top: 0;
    margin-right: 15px;
}
.cf7-upload-files-wrap div#mfcf7_zl_multifilecontainer p.wpcf7-form-control-wrap {
    padding-top:0
}
/* @media (min-width: 768px) {
    .pum-content .wpcf7 {
        padding: 20px 46px
    }
} */
@media (max-width:480px) {
    .cf7-upload-files-wrap {
        flex-direction: column;
    }
}

/* tooltip - {!} */
.wpcf7-info-tooltip {
    display: inline-block;
    width: 30px;
    padding: 0 5px;
    position: relative;
    cursor: pointer;
}
.wpcf7-info-tooltip:before {
    content: '\e913';
    font-family: 'ws_new' !important;
    color: var(--brand);
}
.wpcf7-info-tooltip .info {
    display: inline-block;
    position: absolute;
    bottom: 50%;
    right:0;
    font-size: 90%;
    line-height: 1.1;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    width:200px; height:0;
    /* overflow: hidden; */
    opacity: 0;
    visibility: hidden;
    z-index: -1;
     pointer-events: none;
    transition: all .5s
}
.wpcf7-info-tooltip .info:after, .wpcf7-info-tooltip .info:before {
	top: 100%;
	/* right: 5px; */
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.wpcf7-info-tooltip .info:after {
    border-color: rgba(255, 255, 255, 0);
	border-top-color: #fff;
	border-width: 6px;
	right: 10px;
}
.wpcf7-info-tooltip .info:before {
    right: 8px;
    border-color: rgba(204, 204, 204, 0);
	border-top-color: #ccc;
	border-width: 8px;
}
.wpcf7-info-tooltip:hover .info {
    height:auto;
    bottom: calc(100% + 6px);
    z-index:2;
    opacity: 1;
    visibility: visible;
}
/* icons in placeholder */
.wpcf7-form input.iconfont, .wpcf7-form textarea.iconfont, input.iconfont {
    font-family: 'ws_new', 'Satoshi', sans-serif;
    /* font-size: 1rem; */
}
.wpcf7-form input.iconfont::placeholder {
    vertical-align:text-bottom;
}
/**/
/* inline form */
.ws-inline-form {
	margin-left: -.5rem;
	margin-right: -.5rem;
	display: flex;
}
.ws-inline-form > * {
	padding: 0 .5rem;
}
.ws-inline-form p {
	margin-bottom: 1.825rem!important;
}
.ws-inline-form.ws-cta-form p {
    margin-bottom: 1rem !important;
}
.small {
    font-size: 0.875rem;
}
.ws-service-contact-form p.small {
    color: var(--light-gray);
}
.ws-service-contact-form p.small a {
    color: #fff;
    font-weight: 700
}
.ws-service-contact-form span.wpcf7-not-valid-tip {
    color: var(--light-gray);
}
.ws-service-contact-form p.small a:hover {
    text-decoration: underline;
}
.ws-inline-form .wpcf7-spinner {
    margin: 0;
    position: absolute;
    left: calc(50% - 12px);
}

@media (min-width: 992px) {
	.ws-inline-form > .ws-inline-form-3 {
		flex-basis: 24%
	}
	.ws-inline-form > .ws-inline-form-auto {
		flex-basis: 28%
	}
	.ws-inline-form.ws-inline-form-20 > * {
		flex-basis: 20%;
        flex-grow: 2;
	}
    .ws-inline-form.ws-inline-form-20 > .ws-submit-block {
        flex-basis: auto;
        flex-shrink: 0;
        flex-grow: 0;
    }
}
@media (max-width: 991px) {
	.ws-inline-form {
		flex-wrap: wrap
	}
}
@media (min-width: 768px) {
	.ws-inline-form.ws-inline-form2 {
		flex-wrap: nowrap
	}
	.ws-inline-form > .ws-inline-form-2 {
		flex-basis: 33.33%
	}

}

@media (min-width: 768px) and (max-width: 991px) {
	.ws-inline-form > .ws-inline-form-3,.ws-inline-form > .ws-inline-form-auto, .ws-inline-form > .ws-inline-form-2,
    .ws-inline-form.ws-inline-form-20 > .ws-submit-block {
		flex-basis: 25%
	}
    .ws-inline-form > .ws-inline-form-4 {
        flex-basis: 33.333%
    }
    .ws-inline-form > .ws-inline-form-6 {
        flex-basis: 50%
    }
}
@media (max-width: 767px) {
    .ws-inline-form > .ws-inline-form-4 ,
    .ws-inline-form > .ws-inline-form-6 {
        flex-basis: 100%
    }
}

@media (min-width: 575px) and (max-width: 767px) {
    .ws-inline-form > .ws-inline-form-3,
    .ws-inline-form > .ws-inline-form-auto,
    .ws-inline-form > .ws-inline-form-2,
    .ws-inline-form.ws-inline-form-20 > .ws-submit-block {
		flex-basis: 50%
	}
}
@media (max-width: 574px) {
	.ws-inline-form > .ws-inline-form-3,.ws-inline-form > .ws-inline-form-auto, .ws-inline-form > .ws-inline-form-2,
    .ws-inline-form.ws-inline-form-20 > .ws-submit-block {
		flex-basis: 100%
	}
}
.ws-submit-block {
    position: relative;
}
.ws-submit-block:after {
    content:'Gesendet!';
    position: absolute;
    left:.5rem; top:0;right:.5rem;
    height: 2.75rem;
    z-index: -1;
    background-color: #ffcd00;
    color: #000;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    line-height: 2.75rem;
    text-align: center;
    transition: all .5s
}
form[data-status="sent"] .ws-submit-block:after {
    z-index: 1;
    animation: sent-shadow 1s;
}
@keyframes sent-shadow {
    0% { box-shadow: 0 0 0 0 #fff; }
    50% { box-shadow: 0 0 12px 3px rgba(255,255,255,0.4), 0 0 0 2px #fff; }
    100% {box-shadow: 0 0 0 0 #fff; }
}

.ws-inline-form .wpcf7-form-control.wpcf7-submit.white-button,
.wpcf7-form-control.wpcf7-submit.new-yellow-button,
.ws_google_fonts_checker .white-button {
    background-color: #ffcd00;
    color: #000;
	/* border-color:#000; */
	margin-top:0;
	width: 100%;
}
.wpcf7-form-control.wpcf7-submit.new-yellow-button {
	/* width: auto; */
	margin: 0 0 2rem;
	float: left;
}

.wpcf7-submit.submit-arrow {
    background-image: url(data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiB2aWV3Qm94PSIwIDAgMzIgMzIiPgo8dGl0bGU+YXJyb3ctcmlnaHQ8L3RpdGxlPgo8cGF0aCBkPSJNMTkuNDE0IDI3LjQxNGwxMC0xMGMwLjc4MS0wLjc4MSAwLjc4MS0yLjA0NyAwLTIuODI4bC0xMC0xMGMtMC43ODEtMC43ODEtMi4wNDctMC43ODEtMi44MjggMHMtMC43ODEgMi4wNDcgMCAyLjgyOGw2LjU4NiA2LjU4NmgtMTkuMTcyYy0xLjEwNSAwLTIgMC44OTUtMiAyczAuODk1IDIgMiAyaDE5LjE3MmwtNi41ODYgNi41ODZjLTAuMzkgMC4zOS0wLjU4NiAwLjkwMi0wLjU4NiAxLjQxNHMwLjE5NSAxLjAyNCAwLjU4NiAxLjQxNGMwLjc4MSAwLjc4MSAyLjA0NyAwLjc4MSAyLjgyOCAweiI+PC9wYXRoPgo8L3N2Zz4K);
    background-position: right .75rem center;
    background-repeat: no-repeat;
    background-size: .75rem;
    padding-right: 2rem;
    padding-left: .75rem;
    transition: background-position .5s
}
.wpcf7-submit.submit-arrow:hover {
    background-position: right .5rem center;
}
.ws-submit-block {
	position: relative;
}
.ws-submit-block .wpcf7-spinner {
	position: absolute;
    z-index: -1;
    /* left: calc(50% - 32px);
    margin-top: 12px;*/
    width: calc(100% - 1rem);
    left: 0.5rem !important;
    top: 0;
    height: 2.75rem;
    border-radius: 0.5rem;
    background: transparent
}
form.submitting .ws-submit-block .wpcf7-spinner {
    animation: glowing .5s linear infinite;
}
.ws-submit-block .wpcf7-spinner:before {
    content: '';
    position: absolute;
    animation: none;
    top: 0px;
    left:-2px;
    background: #fff;
    /* background-size: 400%; */
    z-index: -1;
    filter: blur(6px);
    box-shadow: 0 0 8px rgba(255,255,255,.2);
    width: 3rem;
    height: 1.1rem;
    opacity: 1;
    transform-origin: 0 0;
    /* transition: glowing .3s ease-in-out; */
    border-radius: 100%;
}

@keyframes glowing {
    0% { transform: translate(0, 0); }
    45% { transform: translate(calc(100% - 2.6rem),0); }
    50% { transform: translate(calc(100% - 2.6rem), calc(100% - .95rem)); }
    95% { transform: translate(0, calc(100% - .95rem)); }
    100% { transform: translate(0,0); }
}




.ws-inline-form .wpcf7-form-control.wpcf7-submit.white-button,
.wpcf7-form-control.wpcf7-submit.new-yellow-button,
.ws_google_fonts_checker .white-button {
    font-size: 0.875rem;
    height: 2.75rem;

}
.ws-inline-form .wpcf7-form-control.wpcf7-submit.white-button:hover,
.ws-inline-form .wpcf7-form-control.wpcf7-submit.white-button:focus,
.wpcf7-form-control.wpcf7-submit.new-yellow-button:hover,
.wpcf7-form-control.wpcf7-submit.new-yellow-button:focus,
.ws_google_fonts_checker .white-button:hover, .ws_google_fonts_checker .white-button:hover {
    color: #000;
    background-color: #fff;
    border-color: #000;
}
.dark-block .wpcf7 a  {
	color: #fff;
}

@media (max-width: 767px) {
	input, select {
		height: 3rem;
		line-height: 3rem;
	}
	.ws-inline-form .wpcf7-form-control.wpcf7-submit.white-button,
	.wpcf7-form-control.wpcf7-submit.new-yellow-button,
	.ws_google_fonts_checker .white-button,
	input[type="submit"]{
		height: 3rem;
	}
}
