@import "openaire-theme/less/_import";
@import "common-assets/less/general";
@import "common-assets/less/user";
@import "common-assets/less/landing";
@import "common-assets/less/linking";

@global-primary-gradient: none;
@general-search-form-background: fade(@global-primary-background, 15%);
@hero-background-image: none;
@hero-background-position: top center;
@hero-fonts-mode:dark;
#joinAndInviteBtn {
  position: fixed;
  right: 0;
  z-index: @global-z-index - 18;
  display: block;
  top: calc(40% - 60px);
}

#joinAndInviteBtn #join,
#joinAndInviteBtn #member,
#joinAndInviteBtn #invite {
  width: 140px;
  line-height: 60px;
  height: 60px;
  padding: 0 20px;
  text-transform: none;
  font-size: @global-xsmall-font-size;
  border: none;
  box-shadow: @global-default-shadow;
  border-radius: @global-border-radius 0 0 @global-border-radius;

  &:hover {
    box-shadow: @global-small-box-shadow;
  }
}

#joinAndInviteBtn #join {
  background-image: linear-gradient(290deg, @success-border-color 0%, @success-color 100%);
  color: @global-inverse-color;
}

#joinAndInviteBtn #member {
  background-color: @global-background;
  color: @success-color;
}

#joinAndInviteBtn #invite:extend(.uk-button-primary) {
  &:hover {
    background-color: @button-primary-background;
    color: @button-primary-color;
  }
}

.heroBackground{
  background-image:  @hero-background-image;
  background-position: @hero-background-position;
}

.heroBackground when (@hero-fonts-mode = light) {
  .hook-inverse();
}

