.side-comment-box {
  position: absolute;
  z-index: 200;

  .harvesting-box {
    box-shadow: none;
  }

  .harvesting-close-button {
    .assembl-icon-cancel:before {
      margin: 0.2em 0.2em 0.2em 0.25em;
    }
  }

  .theme-box {
    border-left: none;
    width: 275px;

    .extracts-nb-msg {
      padding: 10px 25px;
    }

    .harvesting-box-header {
      border: 0;
      display: flex;
      padding: 16px 25px 15px;

      .profile {
        width: 230px;

        img {
          min-width: 30px;
        }

        .username {
          width: 180px;
        }
      }

      .button-bar {
        padding-top: 0;

        .action-menu-btn {
          border: none;
          padding-left: 2px;
          background: none;

          &:hover,
          &:focus {
            background: none !important;
          }

          .assembl-icon-ellipsis-vert {
            &:before {
              font-size: 20px;
              vertical-align: middle;
              padding: 2px 0 0;
            }

            &:hover {
              color: $harvesting-green;
            }
          }
        }
      }
    }

    .harvesting-box-body {
      padding: 0;
    }

    .body-container {
      display: flex;
      align-items: center;
      justify-content: space-between;

      .previous-extract,
      .next-extract {
        background-color: rgba($color: $grey, $alpha: 0.1);
        display: flex;
        align-items: center;
        align-self: stretch;
        flex-basis: 10px;
        font-size: 30px;
        margin-top: 0;
        padding: 0 5px 0 5px;
        transition: all 0.2s linear;

        .assembl-icon-angle-left:before {
          margin: 0 2px 0 2px;
        }

        .assembl-icon-angle-right:before {
          margin: 0 0 0 4px;
        }

        &:hover {
          background-color: rgba($color: $grey, $alpha: 1);

          .assembl-icon-angle-left,
          .assembl-icon-angle-right, {
            color: white;
          }
        }

        &.empty {
          background-color: transparent;
          padding-left: 5px;
          padding-right: 5px;
          cursor: default;
        }
      }

      .extract-body {
        min-width: 210px;
        margin: 0 10px 10px;
      }

      .embed-theater.open {
        margin-top: 30px;
      }
    }

    .submit-comment {
      padding: 0 15px;

      .rich-text-editor {
        .editor-label {
          padding-top: 30px;
        }

        .attachments {
          float: none;
          margin-top: 0;
        }
      }
    }
  }

  .arrow-left {
    position: absolute;
    left: 12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid $white;
  }

  .action-box-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: rgba($color: $grey, $alpha: 0.1);
    padding: 0 20px;
    height: 46px;

    .action-reply {
      font-size: 20px;
    }
  }

  @media screen and (min-width: $screen-xl-min) {
    margin-left: 25px;

    .theme-box {
      width: 295px;

      .harvesting-box-header {
        .profile {
          width: 250px;
        }
      }

      .body-container {
        .extract-body {
          min-width: 220px;
        }

        .previous-extract,
        .next-extract {
          padding: 0 8px 0 8px;

          &.empty {
            padding-left: 8px;
            padding-right: 8px;
          }
        }
      }
    }
  }
}

.tools-menu {
  margin-top: 5px !important;
  margin-left: -5px !important;
  border: 1px solid $light-grey;
  border-radius: 0;
  width: 40px;

  .popover-content {
    padding: 10px 5px 0;

    .btn {
      margin-bottom: 10px;
    }
  }

  .arrow {
    display: none;
  }

  button {
    border: 0;
    padding: 0;
    font-size: 17px;
  }
}
