
.#{$prefix}btn {
  font-size: 1rem;
  display: inline-block;
  line-height: 1.5em;
  padding: .5em 1em;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 2px;
  color:#fff;
  outline:0;
  background: $leybold-btn-default-color;

  &:focus {
    background: darken($leybold-btn-default-color, 12%)
  }
  &:not(:disabled):not(.#{$prefix}disabled) {
      cursor: pointer;
  }
  &:disabled, &.#{$prefix}disabled {
      opacity: .65;
  }

  &.#{$prefix}btn-round {
    border-radius: 50%;
    padding: 0;
    height: 2.75em;
    width: 2.75em;
  }
}

.#{$prefix}btn.#{$prefix}btn-primary {
  background: $leybold-btn-primary-color;
  &:focus {
    background: darken($leybold-btn-primary-color, 12%)
  }
}

a.#{$prefix}btn {
  text-decoration: none;
  &:hover {
      text-decoration: none;
      color: inherit;
  }
}

.#{$prefix}btn-raised:not(:disabled):not(.#{$prefix}disabled) {
  box-shadow: 0 .125em .125em 0 rgba(0, 0, 0, 0.14),
              0 .0625em .3125em 0 rgba(0, 0, 0, 0.12),
              0 .1875em .0625em -.125em rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  &:active {
      box-shadow: 0 .3125em .625em .0625em rgba(0, 0, 0, 0.14),
                  0 .1875em .875em .125em rgba(0, 0, 0, 0.12),
                  0 .3125em .3125em -.1875em rgba(0, 0, 0, 0.4);
  }
}

.#{$prefix}btn.#{$prefix}btn-outlined {

  &:focus {
      background: darken($leybold-btn-default-color, 12%)
  }
  &:not(:disabled):not(.#{$prefix}disabled) {
      color: $leybold-btn-default-color;
      background-color: transparent;
      background-image: none;
      border-color: $leybold-btn-default-color;
      &:hover {
          text-decoration: none;
          color: #fff;
          background-color: $leybold-btn-default-color;
      }
      &.selected {
          background: #81c14b;
          color: #fff;
          border-color: #81c14b;
      }
  }
  &:disabled, &.#{$prefix}disabled {
      opacity: .65;
      background: $leybold-btn-default-color;
  }
}

.#{$prefix}btn-1 {
  font-size: .8rem;
}
.#{$prefix}btn-2 {
  font-size: .9rem;
}
.#{$prefix}btn-3 {
  font-size: 1.1rem;
}
.#{$prefix}btn-4 {
  font-size: 1.2rem;
}

.#{$prefix}btn-inline {
  margin-right: 1em;
  margin-bottom: .5em;
}

.#{$prefix}btn-transparent {
  color: $leybold-link-color-default;
  font-weight: 700;
  background: transparent;
  padding: .25em 1em;
  &:focus {
      background: transparent;
  }
  &:hover {
      background: lighten($leybold-btn-default-color, 25%)
  }
}

