.main-layout {
  padding-top: $header-height;

  &.header-over {
    padding-top: 0;

    @include md {
      padding-top: $header-height-mobile;
    }
  }

  &.projects-list, &.projects-detail {
    padding-top: 0;
  }

  @include md {
    padding-top: $header-height-mobile;
  }

  .top-btn {
    cursor: pointer;
    width: 41px;
    height: 41px;
    border-radius: 7px 0 0 7px;
    position: fixed;
    z-index: 10;
    background-color: $medium-color;
    right: -42px;
    bottom: 108px;
    text-align: center;
    transition: right .1s linear;

    &.js-active {
      right: 0;
    }

    i {
      font-size: 18px;
      line-height: 37px;
      color: #fff;
    }

    @include sm {
      display: none;
    }
  }

  &__preview-notice {
    position: fixed;
    top: 0;
    z-index: 10000;
    right: 0;
    padding: 6px 15px;
    background: $orange;
    font-weight: bold;
    color: $white;
    opacity: 0.8;
    pointer-events: none;
    width: 100%;
    text-align: center;

    span {
      font-weight: 300;
    }
  }
}

.background-wrapper {
  &--luumo {
    position: relative;
    background: $luumo-gradient;

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: url(../assets/img/svg/luumo-bg.svg) no-repeat;
      background-size: 100%;
      background-position: 50% 37%;
    }
  }
}
