
@include b(btn){
  color: $white-color;
  text-align: center;
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: $size-base;
  min-width: 70px;
  padding: 7px 12px;

    @include when(big){
      padding-top: 11px;
      padding-bottom: 11px;
      min-width: 164px;
    }
    @include when(small){
      padding-top: 3px;
      padding-bottom: 3px;
      font-size: $text-size;

    }
    @include when(block){
      display: block;
      padding-top: 11px;
      padding-bottom: 11px;
      width: 100%;
    }
    @include m(primary){
      @extend .#{$B};
      border: none;
      background-color: $main-color;
      &:hover{
        background-color: $main-hover-color;
      }
      &:active{
        background-color: $main-active-color;
      }
      &:disabled{
        color: $grey-color;
        background-color: rgba($main-color, .3);
        cursor: not-allowed;
      }

    }
  @include m(select){
    @extend .#{$B};
    font-size: 12px;
    padding: 5px 10px 5px 22px;
    border: solid 1px $input-border-color;
    color: $text-color;
    i{
      padding-left: 10px;
    }
    &:hover{
      color: $main-color;
      border: solid 1px $main-color;
    }
    &:active{
      color: $main-color;
      border: solid 1px $main-color;
    }
    &.active{
      color: $main-color;
      border: solid 1px $main-color;
    }
    &:disabled{
      color: $grey-color;
      background-color: rgba($main-color, .3);
      cursor: not-allowed;
    }

  }


  @include m(lowkey){
    //@extend .#{$B}#{$element-separator}#{$E};
    @extend .#{$B};
    color: $grey-light-color;
    background-color: #5c5c5c;
    border: none;
    &:hover{
      color: $grey-light-color;
      background-color: rgba($white-color, .2);
    }
    &:active{
      color:$grey-color;
    }
    &:disabled{
      color: $grey-color;
      background-color: rgba($white-light-color, .3);
      cursor: not-allowed;
    }
    &.is-big{
      padding-top: 9px;
      padding-bottom: 9px;
    }
    &.is-small{
      padding-top: 1px;
      padding-bottom: 1px;
    }
  }


  @include m(ghost){
      @extend .#{$B};
      color: $grey-color;
      border: solid 2px rgba($grey-color, 1);
      padding-top: 5px;
      padding-bottom: 5px;
      background-color: inherit;
      &:hover{
        color: $grey-light-color;
        background-color: rgba($white-color, .2);
      }
      &:active{
        color:$grey-color;
        border: solid 2px rgba($grey-dark-color, 1);
      }
      &:disabled{
        color: $grey-color;
        border: solid 2px rgba($white-light-color, .3);
        background-color: rgba($white-light-color, .3);
        cursor: not-allowed;
      }
      &.is-big{
        padding-top: 9px;
        padding-bottom: 9px;
      }
      &.is-small{
        padding-top: 1px;
        padding-bottom: 1px;
      }
    }

  @include m(assist){
    @extend .#{$B};
    color: $black-light-color;
    border: solid 2px rgba($grey-light-color, 1);
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: $grey-light-color;
    &:hover{
      color: $black-light-color;
      background-color: rgba($white-color, .2);
      border-color: $black-light-color;
    }
    &:active{
      color:$grey-color;
      border: solid 2px rgba($grey-dark-color, 1);
    }
    &:disabled{
      color: $grey-color;
      border: solid 2px rgba($white-light-color, .3);
      background-color: rgba($white-light-color, .3);
      cursor: not-allowed;
    }
    &.is-big{
      padding-top: 9px;
      padding-bottom: 9px;
    }
    &.is-small{
      padding-top: 1px;
      padding-bottom: 1px;
    }
  }

    @include m(link){
      @extend .#{$B};
      display: inline;
      color: $main-color;
      text-decoration: none;
      border:none;
      background-color: inherit;
      &:hover {
        color: $main-hover-color;
        text-decoration: underline;
      }
      &:active {
        color: $main-active-color;
      }
      &:disabled{
        pointer-events: none;
        color: $grey-color;
        text-decoration: line-through;
        cursor: not-allowed;
      }

    }
    @include m(text){
      @extend .#{$B};
      display: inline;
      color: $gray-dark-color;
      text-decoration: none;
      border:none;
      background-color: inherit;
      &:hover {
        color: $main-color;
      }
      &:active {
        color: $main-color;
      }
      &:disabled {
        pointer-events: none;
        color: $grey-color;
        text-decoration: line-through;
        cursor: not-allowed;
      }

    }

}

