/*
name:       deviantN0NNAKED-THREADING v7 (rotane)
author:     rotane.deviantart.com
created:    july 14, 2011 - v0.8
version:    october 28, 2014 - 0.4
short info: comment-threading for n0nnaked comments.
            deviantN0NNAKED is required for this to work!
*/

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("deviantart.com") {

#deviantART-v7 #gmi-CCommentThread .nest
{ margin-top: -17px !important; padding-left: 24px !important; }

#deviantART-v7 #gmi-CCommentThread .nest:not(:first-child) > div:first-child > div.ch-ctrl
{ background: #CFDCD0 !important; border-radius: 0 0 6px 6px !important; border-top: 0px !important; padding-top: 0px !important; box-shadow: none !important; }

/* parent comment border-radius fix / thanks electricjonny! */
#deviantART-v7 #gmi-CCommentThread .nest > div:first-child > div.ch-ctrl:after {
  position: absolute !important; content:""!important;
  right: -1px !important; top: 0px !important;
  margin: -7px 0px 0px 0px !important;
  width: 8px !important; height: 10px !important;
  border-right: 1px solid #A6B2A6 !important;
  background: #CFDCD0 !important; 
}

/* fix for when the first comment of a page is a nest */
#deviantART-v7 #gmi-CCommentThread .nest:first-child > div:first-child > div.ch-ctrl:first-child
{ margin-top: 30px !important; }

#deviantART-v7 #gmi-CCommentThread .nest:first-child > div:first-child > div.ch-ctrl:first-child:after
{ display: none !important; }

}