.b-btn {
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: $turquoise;
  color: $white;
  border-radius: 2px;
  cursor: pointer;
  height: 40px;
  padding: 0 16px;
  transition: background-color .2s;
  box-shadow: $shadow;
  text-decoration: none;
  outline: 0;
  @include no-select();
  &__spinner {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  &:disabled {
    cursor: not-allowed;
    opacity: .8;
  }
  &:hover:not(:disabled) {
    background-color: darken($turquoise, 5%);
  }
  &:active:not(:disabled) {
    background-color: darken($turquoise, 10%);
  }
  &_has-spinner {
    position: relative;
    color: transparent;
  }
  &_red {
    background-color: $red;
    &:hover:not(:disabled) {
      background-color: darken($red, 5%);
    }
    &:active:not(:disabled) {
      background-color: darken($red, 10%);
    }
  }
  &_blue {
    background-color: $blue;
    &:hover:not(:disabled) {
      background-color: darken($blue, 5%);
    }
    &:active:not(:disabled) {
      background-color: darken($blue, 10%);
    }
  }
  &_full-width {
    width: 100%;
  }
  &_sm {
    height: 26px;
    font-size: 12px;
  }
  &_md {
    font-size: 14px;
    height: 34px;
    padding: 0 13px;
  }
}
