.entry-content form input:not([type=submit]),
.entry-content form textarea {
    outline: none;
    min-height: 35px;
    padding: 3px 7px;
    border-radius: 0;
    background-color: var(--forms-inactive-color);
    width: 100%;
}

form .flex {
    display: flex;
    gap: 2rem;
}

form .flex > * {
    flex-grow: 1;
    flex-basis: calc(50% - 1rem);
}

.col-1 input {
    width: 100%;
}

.entry-content.content-wrapper form input[type=submit] {
    border: unset;
    padding: 14px 30px;
    width: max-content;
}

.entry-content form label {
    line-height: 17.5px;
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 0px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.entry-content form p.active input,
.entry-content form p.active textarea {
    background-color: var(--forms-active-color);
    outline: none;
}

@media screen and (max-width:500px){
    form .flex{
        flex-direction: column;
    }
}
/*
========================= SUBMIT BUTTON ICON ========================
*/
form .submit-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: max-content;
}

form .submit-wrap::after {
    content: var(--form-submit-arrow);
    position: absolute;
    right: 10px;

}

#page form .submit-wrap input[type=submit] {
    padding-right: 50px;
}

/*
======================== Theme styles =============================
*/

.forms-blunted .entry-content form input,
.forms-blunted .entry-content form textarea {
    border-radius: 3px;
    margin-bottom: 1rem;
}

.forms-rounded .entry-content form input {
    border-radius: 30px;
}

.forms-rounded .entry-content form textarea {
    border-radius: 5px
}

/* BUTTONS */


.content-wrapper form input[type=submit] {
    cursor: pointer;
    min-width:186px;

}
@media screen and (max-width:500px) {
    .forms-blunted .entry-content form input,
    .forms-blunted .entry-content form textarea {
        margin-bottom:0.2rem
    }

}
/*
==================== Checkboxes and radio buttons ==================
*/

.wpcf7-list-item {
    margin-left: 0;
    display: block;
}


.wpcf7-list-item-label {
    font-size: initial;
    color: var(--primary-light);
}

.wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7-acceptance .wpcf7-list-item-label {
    margin-left: 40px;
}

.entry-content form .wpcf7-radio .wpcf7-list-item-label {
    margin-left: 40px;
}

.entry-content form p .wpcf7-radio label,
.entry-content form p .wpcf7-checkbox label {
    display: flex;
    position: relative;
    margin-right: 100px;
    margin-top: 20px;
    text-transform: none;
}

.wpcf7-radio input[type=radio] {
    position: absolute;
    visibility: hidden;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
}


.wpcf7-checkbox label,
.wpcf7-acceptance label {
    position: relative;
    cursor: pointer;
}

.wpcf7-checkbox input[type=checkbox],
.wpcf7-acceptance input[type=checkbox] {
    position: absolute;
    visibility: hidden;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
}

.wpcf7-checkbox input[type=checkbox] + span,
.wpcf7-acceptance input[type=checkbox] + span,
.wpcf7-radio input[type=radio] + span {
    display: block;
}

.wpcf7-checkbox input[type=checkbox] + span:before,
.wpcf7-radio input[type=radio] + span:before,
.wpcf7-acceptance input[type=checkbox] + span::before {
    display: block;
    position: absolute;
    content: var(--forms-checkbox-box);
    height: 25px;
    width: 25px;
    top: -3px;
    left: 0px;
}

.wpcf7-checkbox input[type=checkbox] + span:after,
.wpcf7-acceptance input[type=checkbox] + span::after,
.wpcf7-radio input[type=radio] + span:after {
    display: block;
    position: absolute;
    content: var(--forms-checkbox-check);
    height: 25px;
    width: 25px;
    top: -3px;
    left: 0px;
    visibility: hidden
}

.wpcf7-acceptance a {
    color: var(--form-border-color-active)
}

.wpcf7-checkbox input[type=checkbox]:checked + span:after,
.wpcf7-radio input[type=radio]:checked + span:after,
.wpcf7-acceptance input[type=checkbox]:checked + span::after {
    visibility: visible;
}

.wpcf7-checkbox input[type=checkbox]:checked + span::before,
.wpcf7-radio input[type=radio]:checked + span::before,
.wpcf7-acceptance input[type=checkbox]:checked + span::before {
    visibility: hidden;
}