.pfm-form_wrapper .gform_heading{
    display: none !important;
    visibility: hidden !important;
}

.pfm-form .gform_button {
    border-radius: 12px !important;
    border: none;
    padding: 10px 25px !important;
    margin-bottom: 0 !important;
}

.pfm-form .gfield:not(.gfield--type-choice):not(.gfield--type-radio):not(.gfield--type-checkbox) input, .pfm-form .gfield:not(.gfield--type-choice):not(.gfield--type-radio):not(.gfield--type-checkbox) select, .pfm-form .gfield textarea {
    padding: 12px 20px !important;
    color: var(--e-global-color-text) !important;
    border: 1px solid #a4a4a4 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    line-height: 24px !important;
    min-height: 55px !important;
    background-color: #ffffff !important;
    outline: none !important;
    width: 100%;
}

.pfm-form .gfield:not(.gfield--type-choice):not(.gfield--type-radio):not(.gfield--type-checkbox) select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../img/forms/arrow-down-form.svg');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: center;
}

.pfm-form .gfield {
    position: relative;
}

.pfm-form label, .pfm-form legend {
    font-weight: 600 !important;
	color: var(--e-global-color-15987e1) !important;
}

.pfm-form .ginput_container {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    line-height: 20px;
}

.pfm-form .ginput_container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #D1D1D6;
    border-radius: 5px;
    background-image: url(../img/forms/check.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: all ease-in-out 0.3s;
    background-size: 0px;
}

.pfm-form .ginput_container input[type="checkbox"]:checked {
    background-color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
    background-size: 12px;
}

.pfm-form .ginput_container a{
    color: inherit;
    text-decoration: underline;
}

.pfm-form .gform_footer input {
    margin: auto;
}

.pfm-form input::placeholder {
    color: var(--e-global-color-text);
}

.pfm-form input[type="button"]{
	border: none !important;
	outline: 0 !important;
}

.pfm-form:not(.pfm-home-form) .gform_fields{
	grid-row-gap: 25px !important;
}

.pfm-form:not(.pfm-home-form) .gfield_description {
    padding-top: 5px !important;
}

.pfm-form .ginput_container.ginput_container_fileupload {
    flex-direction: column;
    gap: 0;
    margin-top: 5px;
}

.pfm-form .gform_fileupload_rules {
    margin-top: 0 !important;
}

.pfm-form .gfield:not(.gfield--type-choice):not(.gfield--type-radio):not(.gfield--type-checkbox) input[readonly="readonly"]{
	background-color: #ececec !important;
    cursor: not-allowed;
}

.pfm-form .gform_footer, .pfm-form .gform_page_footer {
    display:flex;
    justify-content: flex-end;
    align-items: center;
}
.pfm-form:not(.pfm-home-form) .gchoice label, .pfm-form:not(.pfm-home-form) .gfield_consent_label {
    font-weight: 400 !important;
    margin-left: 5px;
    font-size: 16px !important;
    line-height: 24px;
}

/* Homepage Form / inputs without borders */
.pfm-form.pfm-home-form .gfield:not(.gfield--type-choice):not(.gfield--type-radio):not(.gfield--type-checkbox) input, .pfm-form.pfm-home-form .gfield:not(.gfield--type-choice):not(.gfield--type-radio):not(.gfield--type-checkbox) select, .pfm-form.pfm-home-form textarea{
    border: none;
}

.pfm-form.pfm-home-form .gfield_label  {
    display: none !important;
}

.pfm-form.pfm-home-form .gfield_description {
    font-size: 12px !important;
    line-height: 18px !important;
    font-style: italic;
    position: absolute;
    bottom: calc(100% + 5px);
    background: #999999;
    color: #fff;
    display: inline-block !important;
    width: fit-content !important;
    padding: 5px 10px !important;
    border-radius: 8px;
    left: 0;
    right: 0;
    margin: auto;
    pointer-events: none;
    opacity: 0;
    transition: all ease-in-out 0.3s;
}

.pfm-form.pfm-home-form .gfield--has-description:hover > .gfield_description {
    opacity: 1 !important;
}