.BeforeForm {
    width: 100%;
}

#ty-content {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
}

.form-fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 30px;
}

body {
    font-family: 'Inter',sans-serif;
    background-color: transparent;
    margin: 0;
    overflow: hidden;
}

div.form-field {
    position: relative;
    margin-top: 45px;
    width: 100%;
}

    div.form-field.two-col {
        flex: 1;
        min-width: 45%;
    }

label.field-label {
    position: absolute;
    top: -8px;
    left: 20px;
    padding: 0 5px;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    background: #001724;
}

div > select, div > input, div > textarea {
    padding: 10px;
    border: 1px solid #666;
    width: 100%;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    box-sizing: border-box;
    background-color: #fff0;
    border-radius: 5px;
    color: #fff;
    caret-color: #fff;
}

    div > select:focus-visible, div > input:focus-visible, div > textarea:focus-visible {
        outline-style: none !important;
    }

input, div > input, select {
    height: 70px;
}

    select option {
        color: initial;
    }

div > textarea {
    height: 150px;
}

.heading {
    font-size: 1.375rem;
    margin: 20px 0 20px 0;
    font-weight: 700;
}

.input-border-wrapper {
    border-radius: 4px;
    overflow: hidden;
}

div.form-field.pre-company, div.form-field.pre-company .input-border-wrapper, .pre-company ~ div.form-field, .pre-company ~ div.form-field .input-border-wrapper {
    width: 100%;
}

.hidden {
    display: none;
}

p.submit input {
    padding: 10px;
    background-color: #0a68f5;
    color: #fff;
    height: 70px;
    width: 150px;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    box-sizing: border-box;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.pd-captcha {
    display: block;
}

.errors {
    display: none;
}

p.error.no-label {
    display: block;
    padding-left: 0;
    margin-top: 5px;
    color: #f00;
}

textarea {
    max-width: 830px;
}

.submit-btn {
    margin-top: 30px;
}

@media screen and (max-width:850px) {
    form, div.form-field, .input-border-wrapper {
        width: 100%;
    }

    textarea {
        max-width: 100%;
    }
}

@media screen and (max-width:600px) {
    .form-fields {
        display: block;
    }
}

input:autofill, input:autofill:active, input:autofill:focus, input:autofill:hover {
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    -webkit-box-shadow: 0 0 0 100px #001724 inset !important;
}

.error + div.form-field:not(.two-col) {
    margin-top: 23px;
}
