/* Button Styles */

.button,
a.button.mat-button {
  display: inline-block;
  @include line-height(32);
  padding: 0px 16px;
  @include font-size(14);
  font-weight: 400;
  border-radius: 3px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  border: none;

  // SIZES
  &.button-small {
    @include font-size(12);
    @include line-height(24);
    padding: 0px 8px;
  }

  &.button-large {
    @include font-size(15);
    @include line-height(48);
    padding: 0px 24px;
  }

  &.button-x-large {
    @include font-size(16);
    @include line-height(56);
    padding: 0px 24px;
  }


  // COLORS

  &.button-secondary {
    background: $mediumgray;
    color: rgba($white, .87);
  }

  &.button-plain {
    background: $white;
    color: rgba($darkgray, .87);
  }

  &.button-subtle {
    background: $mediumgray;
    color: darken($offwhite, 10%);

    &:hover {
      color: rgba($white, 0.7);
    }
  }

  &.button-blue {
    background: $blue;
    color: rgba($white, .87);

    &:hover {
      color: rgba($white, 0.7);
    }
  }

  &.button-banner {
    background: $darkgray;
    color: rgba($white, .87);
  }
}

.cta-bar {
  text-align: center;

  .button {
    margin: 0px 8px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.26);
    transition: all .2s ease-in-out;
    &:hover {
        transform: scale(1.1);
        color: $offwhite;
    }
  }
}

a.filter-button {
  width: 140px;
  @include font-size(14);
  padding: 0px 16px;
  margin: 8px;
  @include line-height(48);
  border: 2px solid $blue;
  border-radius: 4px;

  &:hover {
    background-color: $blue;
    color: $white;
  }
}

[mat-button], [mat-raised-button], [mat-button], [mat-raised-button] {
  text-transform: uppercase;
}
