.form-main-container {
    background-color: #d9ede5;
    padding: 20px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.form-field {
    position: relative;
    margin-bottom: 24px;
}

.form-field input:not([type="checkbox"],[type="radio"],[type="submit"]), .form-field textarea, .form-field select {
    font-family: 'Open Sans Condensed', sans-serif;
    height: auto;
    width: 100%;
    border: 1px solid #ffffff;
    padding: 20px 16px 8px 16px;
    border-radius: 4px;
    background-color: #ffffff;
    text-align: left;
    color: #636363;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.form-field select {
    cursor: pointer;
}

.form-field:not(.form-field-active) select, .form-field.form-field-date:not(.form-field-active) input {
    color: transparent;
}

.form-label {
    position: absolute;
    display: block;
    cursor: pointer;
    color: #71ba9c;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    top: 22px;
    left: 16px;
    transition: all 0.3s ease 0s;
    z-index: 2;
}

.form-field.form-field-active .form-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    top: 8px;
}

.form-field textarea {
    resize: none;
}

.wpcf7-form-control-wrap {
    padding-top: 8px;
    display: block;
}

.wpcf7-list-item {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    display: block;
    margin-bottom: 8px;
}

.wpcf7-list-item-label {
    cursor: pointer;
}

.wpcf7-list-item-label::before {
    display: inline-block;
    content: ' ';
    cursor: pointer;
    position: absolute;
    top: 2px;
    left: 2px;
    height: 20px;
    width: 20px;
    border: 1px solid #d81e50;
    background-color: #ffffff;
    border-radius: 4px;
    z-index: 3;
}

.wpcf7-list-item-label::after {
    cursor: pointer;
    left: 8px;
    top: 3px;
    width: 8px;
    height: 14px;
    border: solid #d81e50;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: " ";
    position: absolute;
    z-index: 4;
    display: none;
}

input:checked ~ span.wpcf7-list-item-label:after {
    display: block;
}

.form-main-container .btn {
    width: 100%;
}

label.error, .wpcf7-not-valid-tip {
    font-size: 14px;
    padding-top: 4px;
}

.form-field-required .form-label:after {
    color: #EF4444;
    content: " *";
    font-size: 16px;
}

.error, .wpcf7-not-valid-tip {
    color: #EF4444;
}

.form-field input.error, .form-field select.error, .form-field textarea.error, .form-field input.wpcf7-not-valid, .form-field select.wpcf7-not-valid, .form-field textarea.wpcf7-not-valid {
    border-color: #EF4444;
}

.form-field.error:focus, .form-field.wpcf7-not-valid:focus {
    border-color: #EF4444;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(239, 68, 68, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(239, 68, 68, 0.6);
}

form .wpcf7-spinner {
    display: none;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
}

form.submitting .wpcf7-spinner {
    display: block;
}

@media (max-width: 991px) {
    .form-label {
        position: static;
        color: #161616;
    }

    .form-field.form-field-active .form-label {
        font-size: 16px;
        line-height: 20px;
    }

    .form-field input:not([type="checkbox"], [type="radio"], [type="submit"]), .form-field textarea, .form-field select {
        padding: 12px 16px 12px 16px;
    }
}

@media (max-width: 480px) {
    .form-main-container {
        padding: 24px 8px 1px;
    }
}