.wpcf7 {
    .wpcf7-form {
        input:not([type="checkbox"]), textarea, select {
            width: 100%;
            border: 1px solid var(--black);
            padding: 0px 10px;
            font-size: 0.875rem;
            line-height: 1.75rem;
            background-color: white;
            color: var(--black);
            max-width: 500px;
            height: 1.75rem;
        }


        input.wpcf7-submit {
            color: white;
            background-color: var(--deep-purple);
            border: 1px solid var(--deep-purple);
            cursor: pointer;
            text-transform: uppercase;
            font-weight: 700;
            max-width: 150px;
            height: 1.75rem;
            line-height: 1;

            &:hover {
                background-color: var(--deep-purple);
            }
        }
    }
}

section#form-1 {
    background-color: var(--deep-purple);


    .section-inner {
        margin: 0 auto 0 auto;
        padding: calc(3 * var(--std-margin)) var(--std-margin) calc(3 * var(--std-margin)) var(--std-margin);
        max-width: var(--content-width);
    }

    h2 {
        color: white;
        font-size: 2.5rem;
    }

    p {
        font-size: 0.875rem;
        color: white;}

    .wpcf7 {
        .wpcf7-form {
            padding-top: calc(var(--std-margin)/2);
            margin-bottom: var(--std-margin);
            grid-template-columns: repeat(10, 1fr);
            grid-auto-rows: auto; 
            gap: var(--std-margin); 
            align-items: start; 

            input:not([type="checkbox"]), textarea {
                border: 1px solid var(--aqua);
                background-color: transparent;
                color: white;
            }
    
            input.wpcf7-submit {
                color: var(--black);
                background-color: var(--aqua);
                border: 1px solid var(--aqua);
    
                &:hover {
                    background-color: var(--aqua-dark);
                }
            }

        
            .wpcf7-spinner {
                display: none;
            }

            .wpcf7-response-output {
                grid-column: span 8;
                margin: 0;
                padding: 20px;
            }
            .wpcf7-not-valid-tip {
                margin-top: 5px;
            }
        
            label {
                margin-bottom: 2px;
                display: inline-block
            }
        
            br {
                display: none;
            }
        
            p {
                margin: 0 0 var(--std-margin);
        
                span {
                    display: block;
                }

                &:nth-child(2) {
                    grid-column: span 4;
                }

                &:nth-child(3) {
                    grid-column: span 3;
                }

                &:nth-child(4) {
                    grid-column: span 3;
                }

                &:nth-child(5) {
                    grid-column: span 4;
                }

                &:nth-child(6) {
                    order:7;
                    grid-column: span 10;

                    span {
                        display: inline-block;
                        margin-left: 0;
                    }

                    span.wpcf7-list-item {
                        display: inline-block;
                        margin: 0;
                        }
                        .wpcf7 .wpcf7-list-item {
                        display: block;
                        margin-bottom: 10px;
                        }
                        .wpcf7-checkbox label {
                        position: relative;
                        cursor: pointer;
                        }
                        .wpcf7-checkbox input[type=checkbox] {
                        /*position: relative;*/
                        position: absolute;
                        visibility: hidden;
                        width: 30px;
                        height: 30px;
                        top: 0;
                        left: 0;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span {
                        /* border: 3px solid red; */
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:before {
                        display: block;
                        position: absolute;
                        content: '';
                        border-radius: 0;
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0px;
                        border: 1px solid var(--aqua);
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:after {
                        display: block;
                        position: absolute;
                        content: "\2713";
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0;
                        visibility: hidden;
                        font-size: 16px;
                        text-align: center;
                        line-height: 20px;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:before {
                        background: transparent;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:after {
                        visibility: visible;
                        }
                        .wpcf7-list-item-label {
                        margin-left: 30px;
                        display: inline-block;
                        }

                }

                &:nth-child(7) {
                    order:6;
                    label {visibility: hidden; height:0px; width:0px; position:absolute }
                }

        
            }
        }
    }

    @media screen and (min-width: 992px) {
        .wpcf7 {
            .wpcf7-form {
                display: grid;

                input:not([type="checkbox"]), textarea, select {
                    max-width: 100%;
                }

                p {
                    margin: 0;

                    &:nth-child(7) {
                        order:6;
                        label {height:auto; position:relative; }
                    }
                }
            }

        }
    }
}

section#form-2 {
    background-color: var(--deep-purple);
    background-size: cover;
    background-position: center center;
    margin-bottom: calc(1.5 * var(--std-margin));

    &:last-child {
        margin-bottom: 0;
    }

    /* &:has(+ .form-join) {
        margin-bottom: 0;
    } */

    .section-inner {
        margin: 0 auto 0 auto;
        padding: calc(1 * var(--std-margin)) var(--std-margin) calc(1 * var(--std-margin)) var(--std-margin);
        max-width: var(--content-width);
    }

    .form-text:has(.form-text-body) {
        display: flex;
        flex-direction: row;
        gap: calc(1 * var(--std-margin));
        flex-wrap: wrap;

        h2 {
            flex: 1 1 100%;
            font-size: 3.75rem;
            margin-bottom: calc(1 * var(--std-margin));
        }
        .form-text-body {
            flex: 2 2 100%;
            
            align-self: center;
        }
    }

    h2 {
        color: white;
        font-size: 2.5rem;
        font-weight: 300;
        margin-bottom: calc(2 * var(--std-margin));
    }

    p {
        font-size: 1.25rem;
        color: white;
    }

    .wpcf7 {
        .wpcf7-form {
            padding-top: calc(var(--std-margin)/2);
            margin-bottom: var(--std-margin);
            
            grid-template-columns: repeat(10, 1fr);
            grid-auto-rows: auto; 
            gap: var(--std-margin); 
            align-items: start; 

            input:not([type="checkbox"]), textarea {
                border: 1px solid white;
                background-color: white;
                color: var(--black);

            }

            input.wpcf7-submit {
                color: var(--black);
                background-color: var(--aqua);
                border: 1px solid var(--aqua);

                &:hover {
                    background-color: var(--aqua-dark);
                }
            }
        
            .wpcf7-spinner {
                display: none;
            }

            .wpcf7-response-output {
                grid-column: span 8;
                margin: 0;
                padding: 20px;
            }
            .wpcf7-not-valid-tip {
                margin-top: 5px;
            }
        
            label {
                margin-bottom: 2px;
                display: inline-block
            }
        
            br {
                display: none;
            }
        
            p {
                margin: 0 0 var(--std-margin);
                font-size: 0.875rem;
        
                span {
                    display: block;
                }

                &:nth-child(2) {
                    grid-column: span 4;
                }

                &:nth-child(3) {
                    grid-column: span 3;
                }

                &:nth-child(4) {
                    grid-column: span 3;
                }

                &:nth-child(5) {
                    grid-column: span 4;
                }

                &:nth-child(6) {
                    order:7;
                    grid-column: span 10;

                    span {
                        display: inline-block;
                        margin-left: 0;
                    }

                    span.wpcf7-list-item {
                        display: inline-block;
                        margin: 0;
                        }
                        .wpcf7 .wpcf7-list-item {
                        display: block;
                        margin-bottom: 10px;
                        }
                        .wpcf7-checkbox label {
                        position: relative;
                        cursor: pointer;
                        }
                        .wpcf7-checkbox input[type=checkbox] {
                        /*position: relative;*/
                        position: absolute;
                        visibility: hidden;
                        width: 30px;
                        height: 30px;
                        top: 0;
                        left: 0;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span {
                        /* border: 3px solid red; */
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:before {
                        display: block;
                        position: absolute;
                        content: '';
                        border-radius: 0;
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0px;
                        border: 1px solid white;
                        background-color: white;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:after {
                        display: block;
                        position: absolute;
                        content: "\2713";
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0;
                        visibility: hidden;
                        font-size: 16px;
                        text-align: center;
                        line-height: 20px;
                        color: var(--black);
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:before {
                        background: white;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:after {
                        visibility: visible;
                        }
                        .wpcf7-list-item-label {
                        margin-left: 30px;
                        display: inline-block;
                        }

                }

                &:nth-child(7) {
                    order:6;
                    label {visibility: hidden; height:0px; width:0px; position:absolute }
                }

        
            }
        }
    }
    @media screen and (min-width: 992px) {
        .section-inner {
            padding: calc(3 * var(--std-margin)) var(--std-margin) calc(3 * var(--std-margin)) var(--std-margin);
        }
        .form-text:has(.form-text-body) {
            flex-wrap: nowrap;
            gap: calc(4 * var(--std-margin));

            h2 {
                flex: 1 1 auto;
            }
            .form-text-body {
                P {margin-top: 5px;}
                flex: 2 2 auto;
            }
        }
        .wpcf7 {
            .wpcf7-form {
                display: grid;

                p {
                    margin: 0;

                    &:nth-child(7) {
                        order:6;
                        label {height:auto; position:relative; }
                    }
                }
            }

        }
    }
}

section#contact-form {
    margin-bottom: calc(1.5 * var(--std-margin));

    &:last-child {
        margin-bottom: 0;
    }


    .section-inner {
        margin: 0 auto 0 auto;
        padding: 0 var(--std-margin) calc(3 * var(--std-margin)) var(--std-margin);
        max-width: var(--content-width);
    }

    h2 {
        color: var(--black);
        font-size: 2.5rem;
        font-weight: 400;
        margin-bottom: calc(2 * var(--std-margin));
    }



    .contact-details, .address {
        border-top: 1px var(--black) dashed;
        padding-top: calc(1 * var(--std-margin));
        p {
            font-size: 1.5rem;
            font-family: "ivypresto-headline",serif;
            color: var(--black);
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: normal;
        }
    }

    .wpcf7 {
        .wpcf7-form {
            padding-top: calc(var(--std-margin)/2);
            margin-bottom: calc(3 * var(--std-margin));
            
            grid-template-columns: repeat(10, 1fr);
            grid-auto-rows: auto; 
            gap: var(--std-margin); 
            align-items: start; 

            input:not([type="checkbox"]), textarea {
                border: 1px solid var(--black);
                background-color: white;
                color: var(--black);
            }

            input.wpcf7-submit {
                color: var(--black);
                background-color: var(--aqua);
                border: 1px solid var(--aqua);

                &:hover {
                    background-color: var(--aqua-dark);
                }
            }
        
            .wpcf7-spinner {
                display: none;
            }

            .wpcf7-response-output {
                grid-column: span 8;
                margin: 0;
                padding: 20px;
            }
            .wpcf7-not-valid-tip {
                margin-top: 5px;
            }
        
            label {
                margin-bottom: 2px;
                display: inline-block
            }
        
            br {
                display: none;
            }
        
            p {
                margin: 0 0 var(--std-margin);
                font-size: 0.875rem;
        
                span {
                    display: block;
                }

                &:nth-child(2) {
                    grid-column: span 3;
                }

                &:nth-child(3) {
                    grid-column: span 3;
                }

                &:nth-child(4) {
                    grid-column: span 3;
                }
				
				&:nth-child(5) {
                    grid-column: span 3;
                }

                &:nth-child(6) {
                    order:7;
                    grid-column: span 10;

                    span {
                        display: inline-block;
                        margin-left: 0;
                    }

                    span.wpcf7-list-item {
                        display: inline-block;
                        margin: 0;
                        }
                        .wpcf7 .wpcf7-list-item {
                        display: block;
                        margin-bottom: 10px;
                        }
                        .wpcf7-checkbox label {
                        position: relative;
                        cursor: pointer;
                        }
                        .wpcf7-checkbox input[type=checkbox] {
                        /*position: relative;*/
                        position: absolute;
                        visibility: hidden;
                        width: 30px;
                        height: 30px;
                        top: 0;
                        left: 0;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span {
                        /* border: 3px solid red; */
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:before {
                        display: block;
                        position: absolute;
                        content: '';
                        border-radius: 0;
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0px;
                        border: 1px solid var(--black);
                        background-color: white;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:after {
                        display: block;
                        position: absolute;
                        content: "\2713";
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0;
                        visibility: hidden;
                        font-size: 16px;
                        text-align: center;
                        line-height: 20px;
                        color: var(--black);
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:before {
                        background: white;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:after {
                        visibility: visible;
                        }
                        .wpcf7-list-item-label {
                        margin-left: 30px;
                        display: inline-block;
                        }

                }

                &:nth-child(7) {
                    order:6;
                    label {visibility: hidden; height:0px; width:0px; position:absolute }
                }

        
            }
        }
    }
    @media screen and (min-width: 992px) {
        .form-text:has(.form-text-body) {
            flex-wrap: nowrap;

            h2 {
                flex: 1 1 auto;
            }
            .form-text-body {
                flex: 2 2 auto;
            }
        }
        .wpcf7 {
            .wpcf7-form {
                display: grid;

                p {
                    margin: 0;

                    &:nth-child(7) {
                        order:6;
                        label {height:auto; position:relative; }
                    }
                }
            }

        }
    }
}


section#form-join {
    margin: calc(1.5 * (-1 * var(--std-margin))) 0 calc(1.5 * (-1 * var(--std-margin))) 0;
    position: relative;
    z-index: 100;

    .section-inner {
        margin: 0 auto 0 auto;
        background-color: white;
        padding: calc(2 * var(--std-margin)) calc(2 * var(--std-margin)) calc(2 * var(--std-margin)) calc(1 * var(--std-margin));
        max-width: calc(var(--content-width) - (2* var(--std-margin)));
        gap: calc(2 * var(--std-margin));
        align-items: center;
    }

    h2 {
        color: var(--black);
        font-size: 1.5rem;
        flex: 1 1 0;
        margin-bottom: var(--std-margin);
    }

    p {
        font-size: 0.875rem;
        color: var(--black);
        flex: 1.5 1.5 0;
        margin-bottom: var(--std-margin);
    }

    .wpcf7 {
        flex: 2 2 0;
        .wpcf7-form {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* Two equal-width columns for the first rows */
            grid-auto-rows: auto; 
            align-items: start; 
            max-width: 400px;

            input:not([type="checkbox"]), textarea {
                border: 1px solid var(--deep-purple);
                border-right: 1px solid transparent;
                background-color: transparent;
                color: var(--black);
            }

            input.wpcf7-submit {
                color: var(--black);
                background-color: var(--aqua);
                border: 1px solid var(--deep-purple);
                border-left: 1px solid transparent;
                

                &:hover {
                    background-color: var(--aqua-dark);
                }
            }
        
            .wpcf7-spinner {
                display: none;
            }

            .wpcf7-response-output {
                grid-column: span 8;
                margin: 0;
                padding: 20px;
            }
            .wpcf7-not-valid-tip {
                margin-top: 5px;
            }


            br {
                display: none;
            }

            p {

                > label {
                    position: absolute;
                    width: 1px;
                    height: 1px;
                    margin: 0;
                    padding: 0;
                    overflow: hidden;
                    clip: rect(0, 0, 0, 0);
                    clip-path: inset(100%);
                    white-space: nowrap; /* Prevent text from affecting layout */
                    border: 0;
                    display: none;
                }

                &:nth-child(2) {
                    grid-column: span 3;
                    position: relative;
                    left:1px;
                }

                &:nth-child(3) {
                    grid-column: span 1;
                }

                &:nth-child(4) {
     
                    grid-column: span 4;
                    font-size: 0.875rem;

                    span {
                        display: inline-block;
                        margin-left: 0;
                    }

                    span.wpcf7-list-item {
                        display: inline-block;
                        margin: 0;
                        }
                        .wpcf7 .wpcf7-list-item {
                        display: block;
                        margin-bottom: 10px;
                        }
                        .wpcf7-acceptance label {
                        position: relative;
                        cursor: pointer;
                        }
                        .wpcf7-acceptance input[type=checkbox] {
                        /*position: relative;*/
                        position: absolute;
                        visibility: hidden;
                        width: 30px;
                        height: 30px;
                        top: 0;
                        left: 0;
                        }
                        .wpcf7-acceptance input[type=checkbox] + span {
                        /* border: 3px solid red; */
                        }
                        .wpcf7-acceptance input[type=checkbox] + span:before {
                        display: block;
                        position: absolute;
                        content: '';
                        border-radius: 0;
                        height: 20px;
                        width: 20px;
                        top: 0px;
                        left: 0px;
                        border: 1px solid var(--deep-purple);
                        }
                        .wpcf7-acceptance input[type=checkbox] + span:after {
                        display: block;
                        position: absolute;
                        content: "\2713";
                        height: 20px;
                        width: 20px;
                        top: 0px;
                        left: 0;
                        visibility: hidden;
                        font-size: 16px;
                        text-align: center;
                        line-height: 20px;
                        }
                        .wpcf7-acceptance input[type=checkbox]:checked + span:before {
                        background: transparent;
                        }
                        .wpcf7-acceptance input[type=checkbox]:checked + span:after {
                        visibility: visible;
                        }
                        .wpcf7-list-item-label {
                        margin-left: 30px;
                        display: inline-block;
                        }

                }

            }
        
        }
    }
    @media screen and (min-width: 992px) {
        .section-inner {
            display: flex;
            padding: calc(2 * var(--std-margin)) calc(2 * var(--std-margin)) calc(2 * var(--std-margin)) calc(2 * var(--std-margin));
        }

        .wpcf7 {
            .wpcf7-form {
                p {
    
                    &:nth-child(3) {
                        margin-bottom: 20px;
                    }
    
                }
            
            }
        }
        
        h2 {
            margin: 0;
        }
        p {
            margin: 0;
        }
    }
}

section#investor-form {
    background-color: #CCE8E3;

    &:has(+ .text-image-cols-1) {
        margin-bottom: calc(4 * var(--std-margin));
    }

    .section-inner {
        margin: 0 auto 0 auto;
        padding: calc(3 * var(--std-margin)) var(--std-margin) calc(3 * var(--std-margin)) var(--std-margin);
        max-width: var(--content-width);
    }

    h2 {
        color: var(--black);
        font-size: 2.5rem;
    }

    p {
        font-size: 0.875rem;
        color: var(--black);
    }

    .wpcf7 {
        .wpcf7-form {
            padding-top: calc(var(--std-margin)/2);
            margin-bottom: var(--std-margin);
            grid-template-columns: repeat(12, 1fr);
            grid-auto-rows: auto; 
            gap: var(--std-margin); 
            align-items: start; 
        
            .wpcf7-spinner {
                display: none;
            }

            .wpcf7-response-output {
                grid-column: span 8;
                margin: 0;
                padding: 20px;
            }
            .wpcf7-not-valid-tip {
                margin-top: 5px;
            }
        
            label {
                margin-bottom: 2px;
                display: inline-block
            }
        
            br {
                display: none;
            }
        
            p {
                margin: 0 0 var(--std-margin);
        
                span {
                    display: block;
                }

                &:nth-child(2) {
                    grid-column: span 4;
                }

                &:nth-child(3) {
                    grid-column: span 4;
                }

                &:nth-child(4) {
                    grid-column: span 4;
                }

                &:nth-child(5) {
                    grid-column: span 4;
                }

                &:nth-child(6) {
                    grid-column: span 4;
                }

                &:nth-child(7) {
                    grid-column: span 4;
                }

                &:nth-child(8) {

                    grid-column: span 12;

                    span {
                        display: inline-block;
                        margin-left: 0;
                    }

                    span.wpcf7-list-item {
                        display: inline-block;
                        margin: 0;
                        }
                        .wpcf7 .wpcf7-list-item {
                        display: block;
                        margin-bottom: 10px;
                        }
                        .wpcf7-checkbox label {
                        position: relative;
                        cursor: pointer;
                        }
                        .wpcf7-checkbox input[type=checkbox] {
                        /*position: relative;*/
                        position: absolute;
                        visibility: hidden;
                        width: 30px;
                        height: 30px;
                        top: 0;
                        left: 0;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span {
                        /* border: 3px solid red; */
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:before {
                        display: block;
                        position: absolute;
                        content: '';
                        border-radius: 0;
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0px;
                        border: 1px solid var(--black);
                        background-color: white;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:after {
                        display: block;
                        position: absolute;
                        content: "\2713";
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0;
                        visibility: hidden;
                        font-size: 16px;
                        text-align: center;
                        line-height: 20px;
                        border: 1px solid var(--black);
                        background-color: white;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:before {
                        background: transparent;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:after {
                        visibility: visible;
                        }
                        .wpcf7-list-item-label {
                        margin-left: 30px;
                        display: inline-block;
                        }

                }



        
            }
        }
    }

    @media screen and (min-width: 992px) {
        .wpcf7 {
            .wpcf7-form {
                display: grid;

                p {
                    margin: 0;

                    &:nth-child(6) {
                        label {height:auto; position:relative; }
                    }
                }
            }

        }
    }
}

section#overseas-investor-form {
    background-color: #CCE8E3;

    &:has(+ .text-image-cols-1) {
        margin-bottom: calc(4 * var(--std-margin));
    }

    .section-inner {
        margin: 0 auto 0 auto;
        padding: calc(3 * var(--std-margin)) var(--std-margin) calc(3 * var(--std-margin)) var(--std-margin);
        max-width: var(--content-width);
    }

    h2 {
        color: var(--black);
        font-size: 2.5rem;
    }

    p {
        font-size: 0.875rem;
        color: var(--black);
    }

    .wpcf7 {
        .wpcf7-form {
            padding-top: calc(var(--std-margin)/2);
            margin-bottom: var(--std-margin);
            grid-template-columns: repeat(12, 1fr);
            grid-auto-rows: auto; 
            gap: var(--std-margin); 
            align-items: start; 

        
            .wpcf7-spinner {
                display: none;
            }

            .wpcf7-response-output {
                grid-column: span 8;
                margin: 0;
                padding: 20px;
            }
            .wpcf7-not-valid-tip {
                margin-top: 5px;
            }
        
            label {
                margin-bottom: 2px;
                display: inline-block
            }
        
            br {
                display: none;
            }
        
            p {
                margin: 0 0 var(--std-margin);
        
                span {
                    display: block;
                }

                &:nth-child(2) {
                    grid-column: span 4;
                }

                &:nth-child(3) {
                    grid-column: span 4;
                }

                &:nth-child(4) {
                    grid-column: span 4;
                }

                &:nth-child(5) {
                    grid-column: span 4;
                }

                &:nth-child(6) {
                    grid-column: span 4;
                }

                &:nth-child(7) {
                    grid-column: span 4;
                }

                &:nth-child(8) {
                    grid-column: span 4;
                }

                &:nth-child(9) {

                    grid-column: span 12;

                    span {
                        display: inline-block;
                        margin-left: 0;
                    }

                    span.wpcf7-list-item {
                        display: inline-block;
                        margin: 0;
                        }
                        .wpcf7 .wpcf7-list-item {
                        display: block;
                        margin-bottom: 10px;
                        }
                        .wpcf7-checkbox label {
                        position: relative;
                        cursor: pointer;
                        }
                        .wpcf7-checkbox input[type=checkbox] {
                        /*position: relative;*/
                        position: absolute;
                        visibility: hidden;
                        width: 30px;
                        height: 30px;
                        top: 0;
                        left: 0;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span {
                        /* border: 3px solid red; */
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:before {
                        display: block;
                        position: absolute;
                        content: '';
                        border-radius: 0;
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0px;
                        border: 1px solid var(--black);
                        background-color: white;
                        }
                        .wpcf7-checkbox input[type=checkbox] + span:after {
                        display: block;
                        position: absolute;
                        content: "\2713";
                        height: 20px;
                        width: 20px;
                        top: -4px;
                        left: 0;
                        visibility: hidden;
                        font-size: 16px;
                        text-align: center;
                        line-height: 20px;
                        border: 1px solid var(--black);
                        background-color: white;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:before {
                        background: transparent;
                        }
                        .wpcf7-checkbox input[type=checkbox]:checked + span:after {
                        visibility: visible;
                        }
                        .wpcf7-list-item-label {
                        margin-left: 30px;
                        display: inline-block;
                        }

                }
            }
        }
    }

    @media screen and (min-width: 992px) {
        .wpcf7 {
            .wpcf7-form {
                display: grid;

                p {
                    margin: 0;

                    &:nth-child(6) {
                        label {height:auto; position:relative; }
                    }
                }
            }

        }
    }
}
