/* Gravity Forms */

.hero-whitepaper .gform-body .gform_fields {
    gap: 20px !important;
}

.hero-whitepaper .gform-body input[type=text],
.hero-whitepaper .gform-body input[type=email],
.hero-whitepaper .gform-body input[type=tel],
.hero-whitepaper .gform-body input[type=number],
.hero-whitepaper .gform-body input[type=date],
.hero-whitepaper .gform-body input[type=url],
.hero-whitepaper .gform-body input[type=password] {
    background: var(--sand) !important;
    border-radius: 0 !important;
    border: 0 !important;
}

.hero-whitepaper .gform-body input[type=text]:focus,
.hero-whitepaper .gform-body input[type=email]:focus,
.hero-whitepaper .gform-body input[type=tel]:focus,
.hero-whitepaper .gform-body input[type=number]:focus,
.hero-whitepaper .gform-body input[type=date]:focus,
.hero-whitepaper .gform-body input[type=url]:focus,
.hero-whitepaper .gform-body input[type=password]:focus {
    outline-style: solid;
    outline-width: 2px;
    outline-color: var(--darkblue);
}

.hero-whitepaper h2.gform_title {
    display: none !important;
}
.hero-whitepaper .form-wrapper .gform_wrapper {
    display: flex;
    flex-direction: column;
}
.hero-whitepaper .form-wrapper .gform_wrapper .gform_heading {
    order: 2;
}

.hero-whitepaper .gform_required_legend {
    margin-bottom: 0;
    font-size: 13px !important;
}

.hero-whitepaper .gfield--type-html,
.hero-whitepaper .gfield_consent_label {
    font-size: 13px !important;
}

.hero-whitepaper .gform-footer input[type=submit],
.aibatros-form-wrapper .gform-footer input[type=submit]
 {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    display: inline-block !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 13px 35px 13px 35px !important;
    border-radius: 100px !important;
    background: var(--brightgreen) !important;
    border: 2px solid var(--darkblue) !important;
    position: relative !important;
    color: var(--darkblue) !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 16px !important;
    cursor: pointer !important;
}

.hero-whitepaper .gform-footer input[type=submit]:hover,
.aibatros-form-wrapper .gform-footer input[type=submit]:hover {
    border: 2px solid white !important;
    background: var(--darkblue) !important;
    color: white !important;
}

.gfield,
.gform-grid-col {
    position: relative;
}


/* Inset Form V1 */

.inset-form > div {
    margin-bottom: 20px;
    position: relative;
}

.inset-form input[type=text],
.inset-form input[type=tel],
.inset-form input[type=email]
 {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 0 !important;
    border-radius: 0px;
    background: var(--sand);
    outline: none !important;
    transition: border-color 0.3s ease;
    color: var(--darkblue);
    font-family: inherit;
}

.gform-theme--framework input:focus,
.inset-form input:focus {
    border-color: var(--brightgreen) !important;
}

.inset-form label,
.gform-theme--framework .gfield--type-text .gform-field-label,
.gform-theme--framework .gfield--type-email .gform-field-label,
.gform-theme--framework .gfield--type-textarea .gform-field-label,
.gform-theme--framework .gform-field-label--type-sub
/* Modal Variant Copy see line 200 */
{
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 400;
    color: var(--darkblue);
    pointer-events: none;
    transition: 0.15s ease all;
    margin: 0;
    padding: 0;
}

.gfield_contains_required .gform-field-label--type-sub::after {
    color: red;
    content: " *";
    font-size: 12px;
}

/* Floating effect */
/* Floating effect */
.inset-form input[type=text]:focus + label,
.inset-form input[type=text]:valid + label,
.inset-form input[type=tel]:focus + label,
.inset-form input[type=tel]:valid + label,
.inset-form input[type=email]:focus + label,
.inset-form input[type=email]:valid + label,

.gform-theme--framework .gfield--type-text .gform-field-label.active,
.gform-theme--framework .gfield--type-email .gform-field-label.active,
.gform-theme--framework .gform-field-label--type-sub.active,
/* Modal Variant */
/* Fieldset Copy see 200 */

.inset-form label.active
{
    top: -8px;
    left: 0px;
    font-size: 12px;
    padding: 0;
    opacity: 0.5;
    width: initial;
    overflow: visible;
}

.inset-form label[for=datenschutz],
.inset-form .description-text {
    font-size: 13px;
    line-height: 120%;
}

.inset-form .checkbox-wrap input[type=checkbox] {
    align-self: flex-start;
    width: 25px;
    height: 25px;
    border: 2px solid var(--darkblue);
    border-radius: none;
}

/* Checkbox reset */
.inset-form .checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 2px solid var(--darkblue);
    width: 20px;
    height: 20px;
    border-radius: 0px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    outline: none;
    margin: 0;
}

/* Checkbox checked state */
.inset-form .checkbox-wrap input[type="checkbox"]:checked {
    background-color: var(--darkblue);
    border-color: var(--darkblue);
}

.inset-form .checkbox-wrap input[type="checkbox"]:checked::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
}

.inset-form .checkbox-wrap label {
    margin-left: 20px;
}

/* TMP: Combine all in near Future */

/* Modal Form */

.aibatros-form-wrapper.inset-form .gform-body > .gform_fields {
    gap: 20px !important;
    display: flex;
    flex-direction: column;
}

.aibatros-form-wrapper.inset-form .gform-body > .gform_fields .gf_name_has_2 {
    display: flex;
    gap: 20px;
}

.aibatros-form-wrapper.inset-form .gform-body > .gform_fields .gf_name_has_2 > span {
    width: 50%;
    position: relative;
}

/* Modal Variant */


.aibatros-form-wrapper.inset-form .gfield_required_asterisk {
    color: red;
}

.aibatros-form-wrapper.inset-form .gfield--type-consent.gfield--type-choice .ginput_container {
    display: flex;
    gap: 20px;
    flex-direction: row;
    box-sizing: border-box;
}

.aibatros-form-wrapper.inset-form .gfield--type-consent.gfield--type-choice .ginput_container label,
.aibatros-form-wrapper.inset-form .gfield_html_formatted,
.aibatros-form-wrapper.inset-form .gform_heading p {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    font-size: 14px !important;
    transform: none !important;
}

/* This is copy */
.aibatros-form-wrapper.inset-form fieldset span > label
{
    position: absolute;
    top: 50% !important;
    left: 15px !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    color: var(--darkblue);
    opacity: 1 !important;
    pointer-events: none;
    transition: 0.15s ease all;
}

.aibatros-form-wrapper.inset-form .gfield--type-textarea label {
    top: 25px !important;
}


.aibatros-form-wrapper.inset-form .gfield--type-textarea textarea {
    padding: 15px;
    background: var(--sand);
    border: 0;
    border-radius: 0;
    font-size: 16px;
    color: var(--darkblue);
    font-family: inherit;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

/* This is copy */
.aibatros-form-wrapper.inset-form fieldset .ginput_container > span > label.active,
.aibatros-form-wrapper.inset-form .gfield--type-textarea label.active
 {
    top: -8px !important;
    left: 0px !important;
    font-size: 12px !important;
    padding: 0 !important;
    opacity: 0.5 !important;
}

.aibatros-form-wrapper.inset-form .gform-body > .gform_fields > .gfield {
    position: relative;
}

.aibatros-form-wrapper fieldset > legend {
    display: none;
}

.aibatros-form-wrapper input::placeholder,
.aibatros-form-wrapper textarea::placeholder {
  color: transparent;
}

.aibatros-form-wrapper input::-webkit-input-placeholder,
.aibatros-form-wrapper textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: transparent;
}

.aibatros-form-wrapper input::-moz-placeholder,
.aibatros-form-wrapper textarea::-moz-placeholder { /* Firefox 19+ */
  color: transparent;
}

.aibatros-form-wrapper input:-ms-input-placeholder,
.aibatros-form-wrapper textarea:-ms-input-placeholder { /* IE 10+ */
  color: transparent;
}

.aibatros-form-wrapper input:-moz-placeholder,
.aibatros-form-wrapper textarea:-moz-placeholder { /* Firefox 18- */
  color: transparent;
}



@media (max-width: 768px) {
    .aibatros-form-wrapper.inset-form .gform-body > .gform_fields .gf_name_has_2 {
        flex-direction: column;
    }
.aibatros-form-wrapper.inset-form .gform-body > .gform_fields .gf_name_has_2 > span {
    width: 100%;
}
}