@padding: .6rem;

body {

  .comment-box-hover-in, .suggestion-box-hover-in {
    box-shadow: 0 0 10px 5px rgba(214, 207, 126, 0.9) !important;
  }

  div#editor-box-widgets-container {
    position: absolute;
    float: right;
    z-index: 1030;
    top: 10px;
    right: 10px;
  }

  div#editor-box-buttons-container {
    position: fixed;
    float: right;
    z-index: 1040;
    bottom: 20px;
    right: 20px;

    a {
      display: block;
      padding: 10px;
      margin: 3px;
      color: slategray;
      background-color: #f0f0f0;
      border: 1px solid #cacaca;
      border-radius: 3px;
      cursor: pointer;

      &:hover {
        opacity: .5;
      }
    }
  }

  .comment-widget, .suggestion-widget {
    right: .15em;
    width: 240px;
    height: 135px;
    margin: .15em;
    border-radius: .3em;
    background: #ffffff;
    border: 1px solid #bebebe;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
    display: block;
    font-size: 1.2rem;
    text-align: center;
    z-index: 1030;

    label {
      font-weight: 600;
    }

    .header {
      width: inherit;
      padding: @padding;
      display: inline-block;
      text-align: left;
      max-height: 25%;
      cursor: move;

      .hide-button {
        position: absolute;
        top: .0em;
        right: .3rem;
        cursor: pointer;
      }

      .avatar {

      }

      .username {
        font-weight: 600;
      }

      &::after {
        content: " ";
        display: table;
      }
    }

    .body {
      width: inherit;
      padding: @padding;
      max-height: 50%;
      text-align: left;

      textarea {
        width: inherit;
        height: 40px;
      }

      a {
        cursor: pointer;
      }

      .comment-text {
        text-align: justify;
      }

      &::after {
        content: " ";
        display: table;
      }
    }

    .footer {
      max-height: 25%;
      width: inherit;
      padding: @padding;
      display: inline-block;
      text-align: right;

      .timestamp {
        font-size: 1rem;
        text-align: right;
      }

      &::after {
        content: " ";
        display: table;
      }
    }
  }

  .suggestion-widget {
    height: 95px;
  }
}