/*************/
/*  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: var(--heading-light);
}
*:focus::-webkit-input-placeholder {
    color:var(--heading-light);
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: var(--heading-light);
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: rgba(11, 11, 11, 0.60);
    opacity: 1;
}
*:focus::-moz-placeholder {
    color:var(--heading-light);
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--heading-light);
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--heading-light);
}
*:focus::-ms-input-placeholder {
    color:var(--heading-light);
}
*::placeholder {
    /* modern browser */
    color: var(--heading-light)!important;
}
*:focus::placeholder {
    color: var(--heading-light);
}
/**/
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, select, textarea {
    font-family: 'Cabin',sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: var(--input-bgr);
}
input, select {
    height: 3rem;
    padding: 0 1rem;
    width: 100%;
    line-height: 3rem;
}
.wpcf7-submit.narrow-button {
    width: auto
}
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;
    width:100%;
    display: block;
    padding: 0.75rem 1rem;
	height: 7.125rem;
}
.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: 3.6rem;
    font-size: 1.125rem;
    padding: 0 1.5rem;
}
.wpcf7 .wpcf7-submit:disabled {
    background:#D7D7D7;
    border-color:#D7D7D7;
    color: #fff;
}
label, .cf7-label {
    font-family: 'Cabin';
    font-weight: 500;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--heading);
}
.wpcf7-list-item label {
    color: var(--text);
    font-size: 1rem;
    font-weight: 400;
}

label > input, label > textarea {
    margin-top: .5rem
}
.wpcf7-form {
    position: relative
}
.wpcf7-form label {
    display: block
}
.wpcf7-form-control-wrap {
    display: block;
    padding-top: .5rem;
}
.wpcf7-form .small {
    color: var(--light-grey2);
    font-size: .75rem
}
/**/
.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 {
}
.wpcf7 .wpcf7-form-control-wrap[data-name*="acceptance"] .wpcf7-list-item-label a {
    color: var(--accent-blue);
    text-decoration: none;
}
.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,
.wpcf7-list-item label input + span.wpcf7-list-item-label::after,
.wpcf7-list-item input + span.wpcf7-list-item-label::after,
label.custom-checkbox input + span::after, label.custom-radio input + span::after {
    content: '';
    position: absolute;
    display: block;
    top: 2px;
    left: 0;
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 0.375rem
}
.wpcf7-radio .wpcf7-list-item input + span.wpcf7-list-item-label::after,
label.custom-radio input + span::after {
    border-radius: 100%
}
.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 {
    background-color: rgba(255, 255, 255, 0.20);
    -webkit-mask: url(../../../../inc/assets/images/check2.svg) no-repeat center;
    mask: url(../../../../inc/assets/images/check2.svg)  no-repeat center;
    z-index: 1;
}
.wpcf7-list-item label input + span.wpcf7-list-item-label::after,
.wpcf7-list-item input + span.wpcf7-list-item-label::after,
label.custom-checkbox input + span::after, label.custom-radio input + span::after {
    border: 1px solid var(--border);
    background: var(--input-bgr);
}
.wpcf7-radio .wpcf7-list-item input + span.wpcf7-list-item-label::before,
.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: '';
    padding: 1px;
    mask: unset;
    width: .5rem;
    height: .5rem;
    top: .475rem;
    left: .375rem;
}
.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(--medium-grey);
    border-color: var(--medium-grey);
}
.wpcf7-list-item label input:checked + span.wpcf7-list-item-label::after,
.wpcf7-list-item input:checked + span.wpcf7-list-item-label::after,
label.custom-checkbox input:checked + span::after,
label.custom-radio input[type=radio]:checked + span::after {
    border-color: var(--medium-grey);
}

.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: .7rem;
    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.1;
    margin-bottom: 1.5rem;
    margin-top: 0!important;
    color: var(--accent-blue)
}

.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%
    }
}
/* cf7 select */
select.wpcf7-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMDg2OTEgOS4wMjM0NEM3LjE4Nzc0IDkuMDIzNDQgNy4yNjQ3MSA5LjA1Mzg1IDcuMzQyNzcgOS4xMzE4NEwxMS42NDU1IDEzLjQ1OUwxMS45OTkgMTMuODE0NUwxNi42ODE2IDkuMTMxODRDMTYuNzU5MyA5LjA1NDI0IDE2LjgyNTcgOS4wMzIyNyAxNi45MDYyIDkuMDM1MTZDMTcuMDAwNSA5LjAzODYgMTcuMDgxOSA5LjA3MTE3IDE3LjE2OCA5LjE1NzIzQzE3LjI0NiA5LjIzNTMxIDE3LjI3NjQgOS4zMTIyMyAxNy4yNzY0IDkuNDEzMDlDMTcuMjc2MyA5LjUxMzcxIDE3LjI0NTggOS41OTAwMSAxNy4xNjggOS42Njc5N0wxMi4yNDkgMTQuNTg2OUMxMi4xOTQ5IDE0LjY0MTEgMTIuMTUyMiAxNC42NjcgMTIuMTI0IDE0LjY3ODdDMTIuMDg4NSAxNC42OTM1IDEyLjA0ODYgMTQuNzAyMSAxMiAxNC43MDIxQzExLjk3NTUgMTQuNzAyMSAxMS45NTMyIDE0LjY5OTMgMTEuOTMyNiAxNC42OTUzTDExLjg3NSAxNC42Nzg3TDExLjgyMjMgMTQuNjQ4NEMxMS44MDE1IDE0LjYzNCAxMS43Nzc5IDE0LjYxMzggMTEuNzUxIDE0LjU4NjlMNi44MDY2NCA5LjY0MzU1QzYuNzMyOCA5LjU2OTcyIDYuNzA2NjIgOS41MDAwOSA2LjcwOTk2IDkuNDA1MjdDNi43MTM3NSA5LjI5Nzk3IDYuNzQ5NzcgOS4yMTQxIDYuODMyMDMgOS4xMzE4NEM2LjkwOTk2IDkuMDU0MDMgNi45ODYzMiA5LjAyMzUxIDcuMDg2OTEgOS4wMjM0NFoiIGZpbGw9IiMwRDBBMDIiIHN0cm9rZT0iIzBEMEEwMiIvPgo8L3N2Zz4K);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 1.5rem;
    padding-right: 2.5rem;
}
/* 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 (min-width: 768px) {
    .ws-form-columns {
        display: flex;
        margin: 0 -.375rem;
    }
    .ws-form-columns .ws-form-column-50 {
        padding: 0 .375rem;
        flex-basis: 100%
    }
}
@media (max-width: 767px) {
	input, select {
		height: 2.5rem;
		line-height: 2.5rem;
	}
}
/* multi file upload */
.codedropz-upload-container {
    padding-bottom: 40px;
    position: relative;
}
.codedropz-upload-container:after {
    content: 'PDF, DOCX bis 5MB';
    position: absolute;
    bottom: 10px;
    left: 0; right:0;
    text-align: center;
    color: var(--heading-light);
}
.codedropz-upload-handler {
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: var(--input-bgr);
    margin-bottom: 10px;
    position: relative;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTExLjk5OTUgM1YxNSIgc3Ryb2tlPSIjQTZBMDlCIiBzdHJva2Utd2lkdGg9IjEuOTk5OTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTYuOTk5OCA4TDExLjk5OTggM0w2Ljk5OTc2IDgiIHN0cm9rZT0iI0E2QTA5QiIgc3Ryb2tlLXdpZHRoPSIxLjk5OTkyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTIxIDE0Ljk5OTVWMTguOTk5NUMyMSAxOS41Mjk5IDIwLjc4OTMgMjAuMDM4NyAyMC40MTQyIDIwLjQxMzdDMjAuMDM5MSAyMC43ODg4IDE5LjUzMDQgMjAuOTk5NSAxOSAyMC45OTk1SDVDNC40Njk1NyAyMC45OTk1IDMuOTYwODYgMjAuNzg4OCAzLjU4NTc5IDIwLjQxMzdDMy4yMTA3MSAyMC4wMzg3IDMgMTkuNTI5OSAzIDE4Ljk5OTVWMTQuOTk5NSIgc3Ryb2tlPSIjQTZBMDlCIiBzdHJva2Utd2lkdGg9IjEuOTk5OTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K);
    background-repeat: no-repeat;
    background-position: top 1.5rem center;
    background-size: 1.5rem 1.5rem;
    padding: 2.5rem 1rem .5rem
}
.codedropz-upload-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.codedropz-upload-inner > * {
    padding-left: .125rem;
    padding-right: .125rem
}
