/* Default label position (inside input) */
.cfp-form .contact-form-section .cFormSet .has-float-label>label:not(.error) {
    position: absolute;
    cursor: text;
    font-size: 1.1rem;
    color: #58595A !important;
    top: 0.35em;
    left: 0.75rem;
    line-height: 1.6rem !important;
    transition: all 0.2s ease;
    background-color: transparent;
    padding: 0;
    z-index: 2;
    padding: 4px 1px 1px 1px;
}

.cfp-form .contact-form-section .cFormSet .has-float-label.is-focused>label:not(.error),
.cfp-form .contact-form-section .cFormSet .has-float-label.is-filled>label:not(.error) {
    position: absolute;
    cursor: text;
    font-size: 85%;
    opacity: 1;
    top: -1rem;
    left: 0.75rem;
    z-index: 3;
    line-height: 1;
    padding: 4px 1px 1px 1px;
    color: #999999;
    background-color: #ffffff !important;
}

.cfp-form .contact-form-section .cFormSet .js-form-item label {
    display: none;
}

.cfp-form .contact-form-section #edit-customer-type .js-form-item label,
.cfp-form .contact-form-section .cFormSet .js-form-type-managed-file.js-form-item label,
.cfp-form .contact-form-section .js-form-item.js-form-item-co-speaker label {
    display: block;
}

.js-form-managed-file input[type='file'] {
    border: 0;
}

.placeholder {
    background: transparent !important;
}


.cfp-form .contact-form-section .js-form-type-managed-file {
    position: relative;
}


.js-form-item-co-speaker.js-form-type-checkbox,
.js-form-type-radio.form-item-customer-type {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-item-speakerheadshot-1,
.form-item-companylogo-1 {
    display: inline-block;
}

.customer-type.form-item-customer-type {
    position: relative;
}

.cfp-form .contact-form-section #edit-customer-type .js-form-item label.error {
    position: absolute;
    top: 30px;
    left: 0;
    font-size: 11px !important;
    color: red !important;
    background: transparent;
}

.co-speaker-block .t-c,
.co-speaker-block .t-c>a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.t-c>a {
    text-decoration: underline !important;
}

.t-c>a:hover {
    text-decoration: none !important;
}

.contact-form-section .has-float-label>label {
    pointer-events: auto;
    /* REQUIRED */
    cursor: text;
}

.js-form-managed-file span a {
    max-width: 240px;
    /* adjust as needed */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* .contact-form-section input#edit-speakerheadshot-remove-button--qfOnRBDIXUs {
    float: right;
    position: absolute;
    right: 10px;    
} */
.js-form-managed-file {
    position: relative;
}

.js-form-managed-file .form-submit {
    position: absolute;
    top: 8px;
    right: 7px;
    z-index: 2;
}

.messages.messages--error.file-upload-js-error {
    z-index: 9999;
    position: absolute;
    left: 1px;
    bottom: -40px;
    width: 100%;
    font-size: 11px;
    color: red;
    background: #fcfcfc;
}
.cf-turnstile {
    margin-bottom: 1.5rem;
}