.check {
  position: relative;
  display: block;

  label {
    color: #222;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    user-select: none;
    font-weight: normal;
  }

  input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dddddd;
    border-radius: 0;
    outline: none;
    height: 2.5rem;
    width: 100%;
    font-size: 1rem;
    padding: 0;
    box-shadow: none;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    transition: all 0.3s;
    position: absolute;
    opacity: 0;


    &+label {

      &:before, &:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        z-index: 0;
        border: 2px solid #5a5a5a;
        border-radius: 1px;
        margin-top: 2px;
        -webkit-transition: .2s;
        transition: .2s;
      }

      &:before {
        width: 0;
        height: 0;
        border: 3px solid transparent;
        left: 6px;
        top: 10px;
        transform: rotateZ(37deg);
        transform-origin: 100% 100%;
      }

      &:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        border: 2px solid #5a5a5a;
        border-radius: 4px;
        margin-top: 2px;
        -webkit-transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
        transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
        z-index: 1;
      }
    }

    &:checked+label {

      &:before, &:after {
        content: '';
        left: 0;
        position: absolute;
        -webkit-transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
        transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
        z-index: 1;
      }

      &:before {
        top: 2px;
        left: 1px;
        width: 8px;
        height: 13px;
        border-top: 2px solid transparent;
        border-left: 2px solid transparent;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        -webkit-transform: rotateZ(37deg);
        transform: rotateZ(37deg);
        -webkit-transform-origin: 100% 100%;
        transform-origin: 100% 100%;
      }

      &:after {
        top: 0;
        width: 20px;
        height: 20px;
        border: 2px solid #ff7200;
        background-color: #ff7200;
        z-index: 0;
      }
    }
  }

  &.disabled {

    input {

      &:checked+label {

        &:after {
          top: 0;
          width: 20px;
          height: 20px;
          border: 2px solid #9e9e9e;
          background-color: #9e9e9e;
          z-index: 0;
        }
      }
    }
  }
}