.Comment {
  clear: both;
  margin-bottom: 2.4rem;
  .Markdown {
    p {
      margin: 0.1rem 0 0.6rem 0;
    }

    p:last-child {
      margin-bottom: 0.2rem;
    }
  }
}

.Comment__Userpic {
  float: left;
  position: relative;
  top: 0.4rem;
  padding-right: 0.6rem;
}

.Comment__Userpic-small {
  @include hide-for(medium);
  .Userpic {
    float: left;
    position: relative;
    top: 3px;
    margin-right: 0.2rem;
    width: 16px !important;
    height: 16px !important;
  }
}

.Comment .highlighted {
  background: #FFD;
}

.Comment.collapsed {
  > .Comment__Userpic {
    top: 0;
    left: 26px;
    .Userpic {
      width: 24px !important;
      height: 24px !important;
    }
  }
  .Comment__header {
    .Voting {
      margin-left: 1rem;
      border-right: none;
    }
    a {
      color: $dark-gray;
      @include hoverUnderline;
    }
  }
}

.Comment__header {
  margin-left: 62px;
  color: $dark-gray;
}

.Comment__header-user {
  color: $black;
  font-size: 100%;
  font-weight: 600;
  a {
    color: $black;
    @include hoverUnderline;
  }
}

.Comment__header_collapse {
  float: right;
  > a {
    color: $medium-gray;
    letter-spacing: 0.1rem;
    padding: 0 0.5rem;
  }
  .Icon {
    top: 5px;
  }
}

.Comment__body {
  margin-left: 62px;
  max-width: 50rem;
}

.Comment__footer {
  margin-left: 62px;
  color: $dark-gray;
  a {
    color: $dark-gray;
    @include hoverUnderline;
  }
  .Voting__voters_list {
    border-right: 1px solid $medium-gray;
    padding-right: 1rem;
    margin-right: 1rem;
  }
  .Comment__footer__controls {
    a {margin: 0 0.2rem;}
  }
}

.Comment__replies {
  margin-top: 1.4rem;
  margin-left: 62px;
  .Comment {
    margin-bottom: 1.4rem;
  }
}

.Comment__negative_group {
    color: crimson;
    border-top: 1px solid $medium-gray;
    padding-top: 1rem;
}


@media screen and (max-width: 39.9375em) {
  .root {
    .Comment__header, .Comment__footer, .Comment__body, .Comment__replies {
      margin-left: 0;
    }
  }
  .reply {
    .Comment__header, .Comment__footer, .Comment__body, .Comment__replies {
      margin-left: 20px;
    }
  }
}
