.bp-sa {
  &-wrapper {
    display: flex;
  }

  &-menu {
    min-width: 225px;
    background-color: #fcfcfc;

    &-header {
      font-weight: bold;
      background-color: #f2f2f2;
      padding: 5px 0 5px 15px;
    }

    &-item {
      padding: 7px 10px 7px 20px;

      font-size: 0.9rem;
      cursor: pointer;

      svg {
        color: #5c7080;
      }

      .label {
        margin-left: 6px;
      }

      &:hover {
        background-color: #e1e8ed;
      }

      &:active {
        background-color: #d8e1e8;
      }

      &-active {
        background-color: #e1e8ed;
      }
    }
  }

  &-content-wrapper {
    flex-grow: 1;
    justify-content: flex-end;
    background-color: #fefefe;
    height: var(--container-height);
    overflow-y: hidden;
    position: relative;
  }

  &-title {
    height: var(--sa-page-header-height);
    padding: 5px 10px;

    background-color: #fff;
    border-bottom: 1px solid #efefef;
    font-weight: bold;

    span {
      margin-right: 10px;
    }
  }

  &-overflow {
    height: calc(var(--container-height) - var(--sa-page-header-height));
    overflow: auto;
  }

  &-fullwidth {
    max-width: 95% !important;
    margin: 30px auto;
  }

  &-content {
    max-width: 1000px;
    margin: 30px auto;
  }
}

.bp-header {
  background-color: var(--c-background--dark-2);
  border-bottom: 1px solid #999;
  height: var(--header-height);

  &__logo {
    width: 140px;
  }

  .bp3-navbar,
  .nav-link {
    color: var(--c-neutral--light-3);
    background-color: $dark-background-hover;
    font-size: 14px;
  }

  .bp3-navbar-divider {
    border-left: 1px solid #efefef;
  }

  .dropdown-toggle.nav-link {
    display: flex;
    align-items: center;
  }

  &__warning {
    background-color: red;
    color: var(--c-neutral--light-3);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    height: var(--unlicensed-height);

    svg {
      margin-right: 10px;
      margin-top: -2px;
      width: 15px;
    }

    a {
      color: var(--c-neutral--light-3);
      margin: 0;
    }
  }
}

.bp-main-content {
  height: var(--container-height);
  overflow-y: hidden;

  .bp-header__warning + & {
    height: calc(100vh - 92px - 21px);
  }

  &-header {
    padding: 5px;
    margin-bottom: 10px;

    &__nav {
      padding: 0;
    }
  }

  &-main {
    padding: 0px 0px;
  }

  &__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
}

.bp_container {
  &-header {
    padding-top: 20px;
    margin-bottom: var(--page-header-margin);
    background: var(--c-neutral--light-2);
    border-bottom: 1px solid var(--c-background--light-3);
    height: var(--page-header-height);
  }

  &-tabs {
    border-bottom: 1px solid var(--c-background--light-3);
    position: relative;
    top: 1px;

    .nav-item {
      margin-bottom: -1px;
      cursor: pointer;
    }

    .nav-link {
      svg {
        margin-right: 5px;
      }
    }
  }

  &-content {
    height: calc(var(--container-height) - var(--page-header-height) - var(--page-header-margin));
    overflow-y: auto;
  }

  &-fullwidth {
    .container {
      max-width: 100% !important;
    }
  }
}

.bringMeHome {
  width: 50px;
  margin-top: 1px;
  font-size: 140%;

  &:hover {
    color: #666666;
  }
}

.bp-sa-wrapper {
  padding-bottom: 28px;
}

.statusBar {
  align-items: center;
  background-color: var(--c-background--dark-2);
  bottom: 0;
  color: var(--c-text--light-gray);
  display: flex;
  font-family: Roboto;
  font-size: 12px;
  height: var(--statusbar-height);
  line-height: 1.25;
  padding: 0 12px;
  position: fixed;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.split_page {
  display: flex;

  &-container {
    flex-grow: 1;
    padding: 0 25px;
  }
}

.coverImg {
  width: auto;
  max-width: 100%;
}

.configUploadSuccess {
  color: green;
  margin-top: 1rem;
}

.with-sticky-action-bar {
  // Height of the sticky action bar (51px) + 14px to have a small gap between the bottom of the form and the bar
  padding-bottom: 65px;
}

.sticky-action-bar {
  background: #fcfcfc;
  bottom: 0;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  left: 0;
  padding: 10px 15px;
  position: absolute;
  right: 0;
  text-align: right;

  button {
    margin-left: 15px;
  }

  &--content {
    max-width: 1000px;
    margin: 0 auto;
  }
}

.dropdown-picture {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.workspaceButton {
  color: white !important;
  font-weight: 500;

  &.bp3-disabled {
    cursor: auto !important;
  }

  svg {
    fill: white !important;
  }
}

.moduleItem {
  display: flex;
  padding-bottom: 10;
}

.moduleItemSwitch {
  width: 40px;
}
