%btn {
  overflow: hidden;
  line-height: 1;

  cursor: pointer;
  user-select: none;
  transition: all 200ms linear;
  text-align: center;
  white-space: nowrap;

  border: 0 none;
  border-radius: 100px;

  padding: 17px 50px;

  @include font(sans-serif, bold);

  appearance: none;

  justify-content: center;
  align-items: center;

  &:hover, &:active, &:focus {
    transition: all 200ms linear;
  }
  &:focus {
    outline: none;
  }
}

/* Rectangle 2: */

%btn-primary {
  color: map-get($theme-colors, white);
  background: map-get($theme-colors, secondary);
  box-shadow: 0 8px 11px 0 map_get($theme-colors, shadow-secondary);
  &:hover, &:active, &:focus {
    color: map-get($theme-colors, white) !important;
    background: map-get($theme-colors, tertairy) !important;
    box-shadow: 0 8px 11px 0 map_get($theme-colors, shadow-tertairy) !important;
  }
}

.btn {
  @extend %btn;
}

.btn-primary {
  @extend %btn-primary;
}


// Beaver Builder
div.fl-module.fl-module-button.beaver-button-primary {
  div.fl-module-content {
    div.fl-button-wrap {
      a.fl-button {
        @extend %btn;
        @extend %btn-primary;
        span {
          color: map_get($theme-colors, white);
        }
      }
    }
  }
}