/*
    sizes:    .Button "default size"
              .Button.medium
              .Button.small
              .Button.tiny

    colors:   .Button "default color (@button-bgColor)"
              .Button.red
              .Button.green
              .Button.blue

    style:    .Button "default style"
              .Button.rounded
              .Button.solid / .Button.flat
*/

.Button {
  background-color: @bg-color-l2;
  padding: 15px 25px 14px 25px;
  border: none;
  border-bottom: solid 4px @bg-color-l1;
  color: white;
  border-radius: 3px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  margin: 10px;
  max-width: 280px;

  @media @onlyScreen and @smallmobile, @mobile {
    .ButtonSizeSmall();
  }

  span{
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
  }

}

.Button.flat {
  border: none;
}

.Button.solid::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  box-shadow: 0px 6px 5px 2px rgba(0, 0, 0, 0.12);
  border-radius: 2px;
}

.Button:hover {
  cursor: pointer;
  opacity: 0.8;
}

.Button.red {
  background-color: @bg-color-red-l2;
  border-bottom: solid 4px @bg-color-red-l1;
}

.Button.green {
  background-color: @bg-color-green-l2;
  border-bottom: solid 4px @bg-color-green-l1;
}

.Button.blue {
  background-color: @bg-color-blue-l2;
  border-bottom: solid 4px @bg-color-blue-l1;
}

.Button i {
  margin: 0px 5px 0px 0px;
  float: left;
}

.Button.solid.small,
.Button.small {
  .ButtonSizeSmall();
}

.Button.solid.tiny,
.Button.tiny {
  .ButtonSizeTiny();
}

.Button.rounded,
.Button.rounded.solid::after {
  border-radius: 50px;
}

.Button.small.rounded,
.Button.small.rounded.solid::after {
  border-radius: 20px;
}


.ButtonSizeSmall{
  font-size: @font-size-small;
  padding: 10px 20px 9px 20px;
}

.ButtonSizeTiny{
  font-size: @font-size-tiny;
  padding: 7px 12px 6px 12px;
}






.Link{
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  margin: 10px;
  padding:3px 8px;

  color: @t-color-l2;
  border-bottom: solid 1px lighten(@t-color-l3,30%);

  &:hover{
    cursor: pointer;
    color: @t-color-l1;
    border-bottom: solid 3px @t-color-l3;
  }

  &.red{
    color: @t-color-red-l2;
    border-bottom: solid 1px lighten(@t-color-red-l2,15%);

    &:hover{
      color: @t-color-red-l1;
      border-bottom: solid 3px @t-color-red-l2;
    }
  }

  &.green{
    color: lighten(@t-color-green,15%);
    border-bottom: solid 1px lighten(@t-color-green,40%);

    &:hover{
      color: @t-color-green-l1;
      border-bottom: solid 3px @t-color-green-l3;
    }
  }

  &.blue{
    color: @t-color-blue-l3;
    border-bottom: solid 1px lighten(@t-color-blue-l2,15%);

    &:hover{
      color: @t-color-blue-l1;
      border-bottom: solid 3px @t-color-blue-l3;
    }
  }

}

