.lasting-memories .content-text {
    max-width: 81rem;
    margin-inline: auto;
}

.lasting-memories .customformstyle .wpcf7-form {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}


.lasting-memories .customformstyle input[type="checkbox"] {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-block;
    background: no-repeat url(/wp-content/themes/newfield/img/layout/global/check.png) center center;
    background-size: auto;
    background-size: contain;
    margin: 0 .5rem 0 0;
    margin-right: 1rem;
    float: left;
}

.lasting-memories .customformstyle input:is([type="text"], [type="number"], [type="email"]),
.lasting-memories .customformstyle textarea {
    border: 2px solid var(--Orange, #EFA35F);
    border-radius: 2rem;
    padding: 2.4rem;
    resize: none;
}

.lasting-memories .customformstyle .form-row-half {
    display: inline-block;
    width: calc(50% - 1.5rem);
}

.lasting-memories .customformstyle .form-row-full {
    display: block;
    width: 100%;
}

.lasting-memories .customformstyle label {
    color: var(--Newfield-Blue, #2F4B63);
    font-family: var(--filson-font);
    font-size: 2rem;
    font-weight: 425;
    line-height: 3rem;
    letter-spacing: 0.60px;
    margin-bottom: 1rem;
    display: block;
}

.lasting-memories .customformstyle :is(input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea) {
    width: 100%;
}

.lasting-memories .customformstyle .wpcf7-response-output {
    width: 100%;
    text-align: center;
    background: var(--alt-green);
    padding: 1.5rem;
    border-radius: 1rem;
    border: none;
    color: var(--background-color);
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-family: var(--filson-font);
}

.lasting-memories .customformstyle select {
    appearance: none;
    cursor: pointer;
}

.lasting-memories .customformstyle textarea {
    min-height: 150px;
    resize: vertical;
}

.lasting-memories .customformstyle .form-checkbox {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
    width: calc(60% - 1.5rem);
}

.lasting-memories .customformstyle .form-submit {
    width: calc(40% - 1.5rem);
    display: flex;
    justify-content: end;
    position: relative;
}


.lasting-memories .customformstyle .wpcf7-spinner {
    position: absolute;
    left: 0;
}

.lasting-memories .customformstyle .wpcf7-radio {
    display: flex;
}

.lasting-memories .customformstyle .wpcf7-list-item-label {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.6rem;
    font-family: var(--filson-font);
}

.lasting-memories .customformstyle .wpcf7-list-item {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    margin: 0;
}


.lasting-memories .customformstyle input:is([type="checkbox"], [type="radio"]) {
    width: 22px;
    height: 22px;
    accent-color: var(--green);
    background-size: cover;
    background-image: url('../../img/layout/form/check.png');
}

.lasting-memories .customformstyle input:is([type="checkbox"], [type="radio"]):checked {
    background-image: url('../../img/layout/form/checked.png');
}

.lasting-memories .customformstyle .form-notice {
    margin-left: 4rem;
}

.lasting-memories .customformstyle .form-submit {
    text-align: right;
}

.lasting-memories .customformstyle .form-submit input[type="submit"] {
    background: #627C40;
    color: white;
    border: none;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    font-family: var(--filson-font);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.018rem;
    cursor: pointer;
}

.lasting-memories .customformstyle .form-submit input[type="submit"]:hover {
    background: #000;
}

.lasting-memories .customformstyle .wpcf7-form-control-wrap {
    display: flex;
}

.lasting-memories .customformstyle .wpcf7-select {
    position: relative;
}

.lasting-memories .customformstyle .wpcf7-form-control-wrap:has(.wpcf7-select)::after {
    content: '';
    background: url('../../img/layout/form/dropdown.svg');
    width: 1.5rem;
    height: 2rem;
    background-size: contain;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    translate: 0 -50%;
    pointer-events: none;
}

@media only screen and (min-width : 0) and (max-width : 960px) {
    .lasting-memories .customformstyle .form-row-half {
        display: block;
        width: 100%;
    }

}

@media only screen and (min-width : 961px) {

    .lasting-memories .customformstyle .wpcf7-form {
        row-gap: 2.5rem;
    }

    .lasting-memories .customformstyle .form-radio {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 2.4rem;
    }

    .lasting-memories .customformstyle .form-row-full {
        padding-inline: 0.75rem;
    }

}