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

/*Checkbox*/

.checkbox input[type="checkbox"], .wpcf7-checkbox input[type="checkbox"], .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
    opacity: 0;
    position: absolute
}
.checkbox span::before, .wpcf7-checkbox .wpcf7-list-item span::before, .wpcf7-acceptance .wpcf7-list-item span::before {
    content: "";
    display: inline-block;
    height: 30px;
    width: 30px;
    border: 1px solid #9e9e9e;
    border-radius: 5px;
}
.checkbox span::after, .wpcf7-checkbox .wpcf7-list-item span::after, .wpcf7-acceptance .wpcf7-list-item span::after {
    content: "";
    display: inline-block;
    height: 9px;
    width: 15px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
}
.checkbox span, .wpcf7-checkbox .wpcf7-list-item span,  .wpcf7-acceptance .wpcf7-list-item span {
    position: relative;
    padding-left: 37px;
    padding-top: 6px;
    float: left
}
.checkbox span::before, .checkbox span::after, .wpcf7-checkbox .wpcf7-list-item span::before, .wpcf7-acceptance .wpcf7-list-item span::before, .wpcf7-checkbox .wpcf7-list-item span::after, .wpcf7-acceptance .wpcf7-list-item span::after {
    position: absolute;
    left: 0;
}
/*Outer-box*/
.checkbox span::before, .wpcf7-checkbox .wpcf7-list-item span::before, .wpcf7-acceptance .wpcf7-list-item span::before {
    top: 2px;
}/*Checkmark*/
.checkbox span::after, .wpcf7-checkbox .wpcf7-list-item span::after, .wpcf7-acceptance .wpcf7-list-item span::after {
    left: 8px;
    top: 10px;
}
/*Hide the checkmark by default*/
.checkbox input[type="checkbox"] + span::after, .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"] + span::after, .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] + span::after {
    content: none;
}
/*Unhide the checkmark on the checked state*/
.checkbox input[type="checkbox"]:checked + span::after,  .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked + span::after, .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:checked + span::after {
    content: "";
}
/*Adding focus styles on the outer-box of the fake checkbox*/
.checkbox input[type="checkbox"]:focus + span::before, .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:focus + span::before,  .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:focus + span::before {
    outline: rgb(59, 153, 252) auto 5px;
}



/*Radio*/

.radiobutton input[type="radio"], .gfield_radio input[type="radio"], .wpcf7-radio input[type="radio"] {
    opacity: 0;
    position: absolute
}
.radiobutton span::before,  .gfield_radio li::before, .wpcf7-radio .wpcf7-list-item span::before {
    content: "";
    display: inline-block;
    height: 30px;
    width: 30px;
    border: 1px solid #9e9e9e;
    border-radius: 50%;
   
}
.radiobutton span::after, .gfield_radio li::after,  .wpcf7-radio .wpcf7-list-item span::after {
    content: "";
    display: inline-block;
    height: 13px;
    width: 13px;
    border-radius: 50%;
    background-color: #4e5056
    
}
.radiobutton span, .wpcf7-radio .wpcf7-list-item span {
    position: relative;
    padding-left: 37px;
    padding-top: 6px
}
.radiobutton span::before, .radiobutton span::after, .wpcf7-radio .wpcf7-list-item span::before, .wpcf7-radio .wpcf7-list-item span::after {
    position: absolute;
    left: 0;
}
/*Outer-box*/
.radiobutton span::before, .wpcf7-radio .wpcf7-list-item span::before {
    top: 2px;
}/*Checkmark*/
.radiobutton span::after, .wpcf7-radio .wpcf7-list-item span::after {
    left: 8.5px;
    top: 10.5px;
}
/*Hide the checkmark by default*/
.radiobutton input[type="radio"] + span::after, .wpcf7-radio .wpcf7-list-item input[type="radio"] + span::after{
    content: none;
}
/*Unhide the checkmark on the checked state*/
.radiobutton input[type="radio"]:checked + span::after,  .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked + span::after {
    content: "";
}
/*Adding focus styles on the outer-box of the fake checkbox*/
.radiobutton input[type="radio"]:focus + span::before, .wpcf7-radio .wpcf7-list-item input[type="radio"]:focus + span::before {
    outline: rgb(59, 153, 252) auto 5px;
}



/*Check Gravity Form*/


.ginput_container_consent input[type="checkbox"] {
    opacity: 0;
    position: absolute
}
.ginput_container_consent label::before {
    content: "";
    display: inline-block;
    height: 30px;
    width: 30px;
    border: 1px solid #9e9e9e;
    border-radius: 5px;
}
.ginput_container_consent label::after {
    content: "";
    display: inline-block;
    height: 9px;
    width: 15px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
}
.ginput_container_consent label {
    position: relative;
    padding-left: 37px;
    padding-top: 6px
}
.ginput_container_consent label::before, .ginput_container_consent label::after {
    position: absolute;
    left: 0;
}
/*Outer-box*/
.ginput_container_consent label::before {
    top: 2px;
}/*Checkmark*/
.ginput_container_consent label::after {
    left: 8px;
    top: 10px;
}
/*Hide the checkmark by default*/
.ginput_container_consent input[type="checkbox"] + label::after{
    content: none;
}
/*Unhide the checkmark on the checked state*/
.ginput_container_consent input[type="checkbox"]:checked + label::after {
    content: "";
}
/*Adding focus styles on the outer-box of the fake checkbox*/
.ginput_container_consent input[type="checkbox"]:focus + label::before {
    outline: rgb(59, 153, 252) auto 5px;
}
