/* Thread */
.commentthread {
  margin: 0 0 0 32px;
}
.commentthread fieldset {
  margin: 0 !important;
  padding: 0 0 8px 0;
  border: none;
}
ul.commentreplies, li.reply {
  margin: 0;
  padding: 0;
  text-indent: 0;
}
li.reply {
  list-style-type: none;
}
* html .reply {
  /* Strange things happen in IE if this is missing: the width of a comment is larger and the layout is broken. */
  border-top: 1px solid #FFF;
}
/* Comment */
.xwikicomment {
  padding: 0 0 8px; /* Overriding toucan */
  border: none;     /* Overriding toucan */
}
.commentheader {
  border-bottom: 1px solid #DDD;
  margin: 0;        /* Overriding toucan */
  padding: 2px 0;   /* Overriding toucan */
}
.commentheader:hover {
  background-color: #FFD;
}
.commentauthor {
  font-size: 120%;   /* Overriding toucan */
}
.commentdate {
  font-size: 80%;
}
.commentcontent {
  border: none;       /* Overriding toucan */
  padding: 0 36px 0 32px;
  margin: 0;
  font-size: 100%;
  font-style: italic;
  text-align: justify;
}
/* Comment "toolbox": delete, reply */
.commenttools {
  display: block;
  float: right;
  margin-top: -1.2em;
}
.commenttool a {
  width: 16px;
  height: 16px;
  text-indent: 30px;
  line-height: 30px;
  overflow: hidden;
  background: transparent left top no-repeat;
  display: block;
  float: left;
  margin: 0 0 0 4px;
}
.commentdelete a{
  background-image: url(/xwiki/resources/icons/silk/cross.gif);
}
.commentreply a{
  background-image: url(/xwiki/resources/icons/silk/comments_add.gif);
}
/* Form */
#AddComment {
  border-top: 1px solid #DDD;
}
.commentthread #AddComment legend {
  display: none;     /* For replies, don't display the legend, because it is unnecessary and does not integrate well. */
}
.commentthread #AddComment {
  border-top: none;  /*For replies, don't display the separation line (same reason as above). */
}
#xwikidata #AddComment {
  width: auto;       /* Overriding toucan */
}
#AddComment .commentcontainer{
  padding: 4px 32px; /* The layout of the reply form should be similar to the layout of a comment's textm for consistency */
  background: transparent url(/xwiki/resources/icons/xwiki/rquo.gif) right 4px no-repeat;
}
#AddComment .commentcontainer label{
  width: 24px;
  height: 24px;
  text-indent: 0px;
  font-size: 1px;
  line-height: 120px;
  overflow: hidden;
  background: transparent url(/xwiki/resources/icons/xwiki/lquo.gif) left top no-repeat;
  display: inline;
  float: left;
  margin-left: -32px;
}
#AddComment .commentcontainer textarea{
  border: 1px solid #DDD;
  width: 100%;
}
* html #AddComment .commentcontainer textarea{
  /* fix for IE */
  width: 98%;
}
#AddComment label {
  font-weight: bold;
}
/* The message that appears in the place of a comment deleted with ajax */
div.notification {
  background-color: #FFD;
  padding: 2px 32px;
  border: 1px solid #DDD;
  font-size: 80%;
  font-style: italic;
  margin: 4px 0;
}
/* For fixing strange looking background color and corner image in albatross: */
#xwikidata #commentscontent {
  background: transparent;
}
