@import 'variables';
.btn {
  &:focus,
  &:not(.disabled):hover,
  &:not([disabled]):hover {
    background-color: $brand-color-1;
    border-color: $brand-color-2;
    outline: none;

    &.icon {
     background-color: $brand-color-4;
    }
  }

  * {
    vertical-align: middle;
  }

  img {
    border: none;
    height: 24px;
    margin: -3px 4px -3px 0px;
    min-width: 24px;
    width: 24px;
  }

  &.btn-block {
    margin-bottom: 4px;
  }

  &.btn-cancel {
    border-color: $gray-lighter;
    font-family: $font-family-sans-serif-bold;
    font-weight: $font-weight-sans-serif-bold;

    &:focus,
    &:not(.disabled):hover,
    &:not([disabled]):hover {
      background-color: $gray-lighter;
      border-color: $gray-lighter;
    }
  }

  &.btn-flat-icon {
    border: none;
    color: $gray-light;
    box-shadow: none !important;
    padding: 0px;
    text-align: left;

    &:focus,
    &:not(.disabled):hover,
    &:not([disabled]):hover {
      background-color: transparent;
      color: $brand-color-4;

      .icon {
        background-color: $brand-color-4;
      }
    }
  }

  &.btn-primary {
    border-width: 2px;
    -webkit-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
    -moz-box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
    box-shadow: 8px 9px 20px -15px rgba(0,0,0,0.46);
    font-family: $font-family-sans-serif-bold;
    font-weight: $font-weight-sans-serif-bold;
  }

  &.btn-save {
    color: white;
    background-color: $brand-color-4;
    border-color: $brand-color-4;
    font-family: $font-family-sans-serif-bold;
    font-weight: $font-weight-sans-serif-bold;

    &:focus,
    &:not(.disabled):hover,
    &:not([disabled]):hover {
      color: white;
      background-color: $brand-color-5;
      border-color: $brand-color-5;
    }
  }

  &.disabled,
  &:disabled {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: $gray-light;
    pointer-events: none;

    &:hover {
      color: $gray-light;
    }
  }
}
