/**
* Buttons (problematic now, since bootstrap 4 overrides the .btn class)
*/

.btn {
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  font-family: $fontHeading;
  font-size: 0.96em;
  text-transform: uppercase;
  text-decoration: none;
  height: 35px;
  padding: 0 45px 0 30px;
  box-sizing: border-box;
  line-height: 35px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  background-image: $arrowRightDarkUrl;
  background-position: center right 10px;
  background-repeat: no-repeat;
  margin: 10px;
  background-color: $clGrey;
  color: $clDark;
  border-width: 0;

  &:hover{
    background-color: lighten($clGrey, 5);
    box-shadow: 0 3px 3px rgba(0,0,0,0.1);
  }

  &.primary{
    background-color: $clPrimary;
    color: $clWhite;
    background-image: $arrowRightWhite40Url;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);

    &:hover{
      background-color: lighten($clPrimary, 5);
    }

    &.plus{
      background-image: $iconPlusUrl;
      background-size: 12px;
    }

  }

  &.plus{
    background-image: $iconPlusGreyUrl;
    background-size: 12px;
  }

  &.white{
    background-color: $clWhite;
    &:hover{
      background-color: $clWhite;
      opacity: 0.9;
    }
  }

  &.blank{
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    padding: 0 30px;

    &:hover{
      background-color: transparent;
      opacity: 0.9;
    }

    &.warning:hover{
      color: $clSecondary;
      opacity: 1;
    }
  }
}