.customize-control-kirki-switch {
  position: relative;

  .switch {
    border: none;
    margin-bottom: 1.5rem;
    outline: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    label {
      background: rgba(0,0,0,.2);
      color: transparent;
      cursor: pointer;
      display: block;
      margin-bottom: 1rem;
      position: relative;
      transition: left 0.15s ease-out;
      height: 2rem;
      width: 4rem;
      font-family: Monaco, "Lucida Sans Typewriter", "Lucida Typewriter", "Courier New", Courier, monospace;

      &:after {
        background: #FFFFFF;
        content: "";
        display: block;
        height: 1.5rem;
        left: 0.25rem;
        position: absolute;
        top: 0.25rem;
        width: 1.5rem;
        -webkit-transition: all 0.25s ease-in-out;
        -moz-transition: all 0.25s ease-in-out;
        -ms-transition: all 0.25s ease-in-out;
        -o-transition: all 0.25s ease-in-out;
        transition: all 0.25s ease-in-out;
      }
    }

    input {
      + label {
        margin-left: 0;
        margin-right: 0;
      }

      &:checked {
        + label {
          background: #3498DB;

          &:after {
            left: 2.25rem;
            background: #ffffff;
          }
        }
      }
    }

    &.round {
      border-radius: 1000px;

      label {
        border-radius: 2rem;

        &:after {
          border-radius: 2rem;
        }
      }
    }
  }

  .switch-off,
  .switch-on {
    line-height: 32px;
    font-weight: bold;
    padding: 0 10px;
  }

  .switch-on {
    color: #fff;
    padding-right: 5px;
  }

  .switch-off {
    color: #777;
    padding-left: 5px;
  }

  .kirki-controls-loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    text-align: center;
    background-color: #eee;

    > div {
      margin-top: 20px;
      width: 18px;
      height: 18px;
      background-color: #333;
      border-radius: 100%;
      display: inline-block;
      -webkit-animation: kirkibouncedelay 1.4s infinite ease-in-out both;
      animation: kirkibouncedelay 1.4s infinite ease-in-out both;
    }

    .bounce1 {
      -webkit-animation-delay: -0.32s;
      animation-delay: -0.32s;
    }

    .bounce2 {
      -webkit-animation-delay: -0.16s;
      animation-delay: -0.16s;
    }
  }
}
@-webkit-keyframes kirkibouncedelay {
  0%,
  100%,
  80% {
    -webkit-transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1.0);
  }
}
@keyframes kirkibouncedelay {
  0%,
  100%,
  80% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
