@charset "utf-8";
/**
 * radio
 * --------------------------------------------------
 */
.item-radio{
  background-color: transparent;
  //height: 20px;
  padding:0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.radio{
  cursor: pointer;
  position: relative;
  left: 0px;
  right: 0px;
  z-index: 3;
  @extend .flex;
  @extend .items-center;

  & span{
    line-height:130%;
    display: inline-block;
  }

  & input{
    margin-right:10px;
    position: relative;
    width: 20px;
    height: 20px;
    min-width:20px;
    max-width:20px;
    display: block;
    border: 0;
    background: 0 0;
    -webkit-appearance: none;

    &:before{
      display: table;
      width: 20px;
      height: 20px;
      border-width: 1px;
      border-style: solid;
      border-color: $primary;
      -webkit-border-radius:50%;
      border-radius:50%;
      background: 0 0;
      content: ' ';
      -webkit-transition: background-color 20ms ease-in-out;
      transition: background-color 20ms ease-in-out;
    }

    &:checked:before{
      border-color: $primary;
    }

    &:after{
      -webkit-transition: opacity .05s ease-in-out;
      transition: opacity .05s ease-in-out;
      background-color: $primary;
      position: absolute;
      -webkit-border-radius:50%;
      border-radius:50%;
      top:3px;
      left:3px;
      display: table;
      width: 14px;
      height: 14px;
      content: ' ';
      opacity: 0;
    }

    &:checked:after {
      opacity: 1;
    }
  }
}