/**Mini Framework for forms***/


.custom-row > p{
    flex-grow: 1;
}
form.wpcf7-form{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 4px;

}

/**How many element in a row***/
.custom-row{
    display: flex;
    width: 186px;
    flex: 1 0 auto;
}

.custom-row >p {margin:5px 0 0}



input::placeholder,textarea::placeholder{
    font-size: var(--wp--preset--font-size--small);
}
textarea{
    font-family:inherit;
}
/**Row elements**/
.custom-row input:not([type="checkbox"]){
    width: 100%;
    box-sizing: border-box;
}
.custom-row p:last-of-type input, .wpcf7 textarea{
    width: 100%;
    box-sizing: border-box;
}
.wpcf7-not-valid-tip{
    font-size: var(--wp--preset--font-size--small);
}

.wpcf7-list-item{
    color:var(--wp--preset--color--text);
    font-size: var(--wp--preset--font-size--small);
    margin: 0;
}
.wpcf7 [type="submit"]{
    border: none;
    text-align: center;
    font-weight: bold;
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 0.25rem;
    font-size: var(--wp--preset--font-size--medium);
    background:var(--wp--preset--color--black);
    color:var(--wp--preset--color--white)
}

.wpcf7-form-control-wrap input:not([type="checkbox"]), .wpcf7-form-control-wrap textarea{
    background: #F5F5F5;
    border: none;
    padding: 1rem;
    border-radius: 0.25rem;
}
.cf-label{
    display: none;
}

.wpcf7-acceptance .wpcf7-list-item{
    margin: 0;
}

.label+br, label>br{
    display: none;
}

.full{
    width: 100%;
}


.order-2{
    display: flex;
    order:2
}

/**Move Response above send**/
.wp-block-contact-form-7-contact-form-selector form .wpcf7-response-output{
    order: 1;
    width:100%;
    margin:0 !important;
    padding:0 !important
}