.custom-element-wrapper {
  position: absolute !important;
  right: 0;
  top: 50%;
  transform: translateX(-50%);
  margin-top: -14px;
  margin-right: -3px;
}
/*.form-item.form-type-radio .form-checkbox {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  text-align: center;
}*/

/*.form-item.form-type-radio label {
  display: inline-block;
  color: #333;
  cursor: pointer;
  position: relative;
}*/
.form-item.form-type-radio label .custom-element {
  display: inline-block;
  position: relative;
  background-color: transparent;
  width: 25px;
  height: 25px;
  transform-origin: center;
  border: 2px solid #333;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  transition: background-color 150ms 200ms, transform 350ms cubic-bezier(0.78, -1.22, 0.17, 1.89);
}
.form-item.form-type-radio label .custom-element:before {
  content: "";
  width: 0px;
  height: 2px;
  border-radius: 2px;
  background: #333;
  position: absolute;
  transform: rotate(45deg);
  top: 10px;
  left: 7px;
  transition: width 50ms ease 50ms;
  transform-origin: 0% 0%;
}
.form-item.form-type-radio label .custom-element:after {
  content: "";
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: #333;
  position: absolute;
  transform: rotate(305deg);
  top: 13px;
  left: 9px;
  transition: width 50ms ease;
  transform-origin: 0% 0%;
}
.form-item.form-type-radio label:hover .custom-element:before {
  width: 5px;
  transition: width 100ms ease;
}
.form-item.form-type-radio label:hover .custom-element:after {
  width: 10px;
  transition: width 150ms ease 100ms;
}

.form-item.form-type-radio input[type=radio] {
  display: none;
}
.form-item.form-type-radio input[type=radio]:checked + label .custom-element {
  background-color: #333;
  transform: scale(1.25);
}
.form-item.form-type-radio input[type=radio]:checked + label .custom-element:after {
  width: 10px;
  background: #fff;
  transition: width 150ms ease 100ms;
}
.form-item.form-type-radio input[type=radio]:checked + label .custom-element:before {
  width: 5px;
  background: #fff;
  transition: width 150ms ease 100ms;
}
.form-item.form-type-radio input[type=radio]:checked + label:hover .custom-element {
  background-color: #333;
  transform: scale(1.25);
}
.form-item.form-type-radio input[type=radio]:checked + label:hover .custom-element:after {
  width: 10px;
  background: #fff;
  transition: width 150ms ease 100ms;
}
.form-item.form-type-radio input[type=radio]:checked + label:hover .custom-element:before {
  width: 5px;
  background: #fff;
  transition: width 150ms ease 100ms;
}
