/** Module exports mixin
 * This mixin makes sure a module is imported only once.
 * @param {String} $name - Name of exported module
 **/
.ray-radio,
.ray-checkbox {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently supported by Chrome and Opera */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative; }
  .ray-radio__label,
  .ray-checkbox__label {
    line-height: 1.75rem;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative; }
    .ray-radio__label::before,
    .ray-checkbox__label::before {
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
      content: '';
      background-color: #ffffff;
      border: 0.0625rem solid #000000;
      min-width: 1rem;
      width: 1rem;
      height: 1rem;
      position: relative;
      display: inline-block;
      margin-right: 1rem;
      top: 0.375rem; }
      [dir='rtl'] .ray-radio__label::before, [dir='rtl']
      .ray-checkbox__label::before {
        margin-right: 0;
        margin-left: 1rem; }
    .ray-radio__label:focus,
    .ray-checkbox__label:focus {
      outline: none; }
      .ray-radio__label:focus::before,
      .ray-checkbox__label:focus::before {
        outline: 0;
        -webkit-box-shadow: 0 0 0 0.1875rem rgba(0, 0, 255, 0.25);
                box-shadow: 0 0 0 0.1875rem rgba(0, 0, 255, 0.25); }
  .ray-radio__input,
  .ray-checkbox__input {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 0;
    height: 0;
    opacity: 0; }
    .ray-radio__input:focus + .ray-checkbox__label::before,
    .ray-radio__input:focus + .ray-radio__label::before,
    .ray-checkbox__input:focus + .ray-checkbox__label::before,
    .ray-checkbox__input:focus + .ray-radio__label::before {
      outline: 0;
      -webkit-box-shadow: 0 0 0 0.1875rem rgba(0, 0, 255, 0.25);
              box-shadow: 0 0 0 0.1875rem rgba(0, 0, 255, 0.25); }
    .ray-radio__input:checked + .ray-checkbox__label::before,
    .ray-radio__input:checked + .ray-radio__label::before,
    .ray-checkbox__input:checked + .ray-checkbox__label::before,
    .ray-checkbox__input:checked + .ray-radio__label::before {
      border-color: blue;
      background-color: blue; }
    .ray-radio__input:checked + .ray-checkbox__label:hover + .ray-checkbox__label::before,
    .ray-radio__input:checked + .ray-checkbox__label:hover + .ray-radio__label::before,
    .ray-radio__input:checked + .ray-radio__label:hover + .ray-checkbox__label::before,
    .ray-radio__input:checked + .ray-radio__label:hover + .ray-radio__label::before,
    .ray-checkbox__input:checked + .ray-checkbox__label:hover + .ray-checkbox__label::before,
    .ray-checkbox__input:checked + .ray-checkbox__label:hover + .ray-radio__label::before,
    .ray-checkbox__input:checked + .ray-radio__label:hover + .ray-checkbox__label::before,
    .ray-checkbox__input:checked + .ray-radio__label:hover + .ray-radio__label::before {
      border-color: #000099;
      background-color: #000099; }
    .ray-radio__input:not(:checked):hover + .ray-checkbox__label::before,
    .ray-radio__input:not(:checked):hover + .ray-radio__label::before,
    .ray-checkbox__input:not(:checked):hover + .ray-checkbox__label::before,
    .ray-checkbox__input:not(:checked):hover + .ray-radio__label::before {
      border-color: blue;
      background-color: #ccccff; }
    .ray-radio__input[disabled]:hover + .ray-checkbox__label::before,
    .ray-radio__input[disabled]:hover + .ray-radio__label::before,
    .ray-checkbox__input[disabled]:hover + .ray-checkbox__label::before,
    .ray-checkbox__input[disabled]:hover + .ray-radio__label::before {
      background-color: #ffffff !important; }
    .ray-radio__input[disabled] + .ray-radio__label,
    .ray-radio__input[disabled] + .ray-checkbox__label,
    .ray-checkbox__input[disabled] + .ray-radio__label,
    .ray-checkbox__input[disabled] + .ray-checkbox__label {
      cursor: not-allowed;
      color: #b3b3b3 !important; }
      .ray-radio__input[disabled] + .ray-radio__label::before,
      .ray-radio__input[disabled] + .ray-checkbox__label::before,
      .ray-checkbox__input[disabled] + .ray-radio__label::before,
      .ray-checkbox__input[disabled] + .ray-checkbox__label::before {
        border-color: #b3b3b3 !important; }

/**
   * Radio
   */
.ray-radio__label {
  position: relative; }
  .ray-radio__label:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.1875rem rgba(0, 0, 255, 0.25);
            box-shadow: 0 0 0 0.1875rem rgba(0, 0, 255, 0.25); }
  .ray-radio__label::before {
    border-radius: 50%; }

/**
   * Checkbox
   */
.ray-checkbox__label::before {
  border-radius: 0.25rem; }

.ray-checkbox__input:checked
+ .ray-checkbox__label::after {
  content: '';
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  -webkit-transform: rotate(31deg);
          transform: rotate(31deg);
  position: absolute;
  left: 5px;
  top: 8px;
  width: 3px;
  height: 9px; }
  [dir='rtl'] .ray-checkbox__input:checked
+ .ray-checkbox__label::after {
    left: auto;
    right: 5px; }

/**
   * Radio
   */
.ray-radio__input:checked
+ .ray-radio__label::before {
  background-color: #ffffff !important; }

.ray-radio__input:checked
+ .ray-radio__label::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background-color: blue;
  border-radius: 0.5rem;
  position: absolute;
  top: 0.625rem;
  left: 0.25rem; }
  [dir='rtl'] .ray-radio__input:checked
+ .ray-radio__label::after {
    left: auto;
    right: 0.25rem; }

/*# sourceMappingURL=radio-checkbox.css.map */
