.contact_form_item_field .wpcf7-list-item{
  margin: 0 0 10px;
  display: block;
}
.contact_form_item_field .wpcf7-list-item:last-child{
  margin-bottom: 0;
}

.contact_form_item_field input[type="checkbox"]{
  display: none;
}

.contact_form_item_field input[type="checkbox"] + span{
  position: relative;
  display: flex;
  align-items: center;
}

.contact_form_item_field input[type="checkbox"] + span::before{
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #28282C;
  display: block;
  border-radius: 5px;
  margin-right: 5px;
  position: absolute;
  top: 0;
  left: 0;
}

.contact_form_item_field input[type="checkbox"]:checked + span::after{
  content: "";
  border: 1px solid #28282C;
  background-color: #28282C;
  border-radius: 3px;
  height: 10px;
  width: 10px;
  position: absolute;
  left: 5px;
  top: 5px;
}

.contact_form_item_field input[type="checkbox"] + .wpcf7-list-item-label{
  cursor: pointer;
  display: inline-block;
  padding-left: 30px;
  line-height: 1;
}


@media(max-width: 670px){
  .contact_form_item_field .wpcf7-list-item{
    margin-bottom: 10px;
  }
  .contact_form_item_field input[type="checkbox"] + span::before{
    height: 15px;
    width: 15px;
  }
  .contact_form_item_field input[type="checkbox"]:checked + span::after{
    height: 8px;
    width: 8px;
    left: 4px;
    top: 4px;
  }
  .contact_form_item_field input[type="checkbox"] + .wpcf7-list-item-label{
    padding-left: 22px;
  }
}
