
input[type="radio"],
input[type="checkbox"] {
  display: none;
}
input[type="radio"] + label,
input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  padding-left: 1.5em;
  margin-right: 2em;
  cursor: pointer;
  line-height: 1em;
  -webkit-transition: all 0.3s ease-in-out;
          transition: all 0.3s ease-in-out;
}
input[type="radio"] + label:before,
input[type="checkbox"] + label:before,
input[type="radio"] + label:after,
input[type="checkbox"] + label:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  text-align: center;
  color: white;
  font-family: Times;
  border-radius: 50%;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
}
input[type="radio"] + label:before {
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  box-shadow: inset 0 0 0 0.2em white, inset 0 0 0 1em white;
}
input[type="radio"] + label:hover:before {
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  box-shadow: inset 0 0 0 0.3em white, inset 0 0 0 1em #c6c6c6;
}
input[type="radio"]:checked + label:before {
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  box-shadow: inset 0 0 0 0.2em white, inset 0 0 0 1em #f79420;
}
input[type="checkbox"] + label:before {
  content: '✗';
  border-radius: 4px;
  background-color: white;
  color: white;
  display:none
}
input[type="checkbox"] + label:hover:before {
  color: #f0f0f0;
}
input[type="checkbox"]:checked + label:before {
  background-color: white;
  color: #f79420;
}
