/*
name:       deviantN0NNAKED v7 (rotane)
author:     rotane.deviantart.com
homepage:   http://fav.me/d2kpbvr
homepage:   http://userstyles.org/styles/25743
created:    February 28, 2010
updates:    August 27, 2017, v2.0.3
short info: Gives comment boxes and buttons their borders back
*/

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("deviantart.com"), domain("sta.sh"){

/* commentboxes */
#deviantART-v7 #gmi-CComment > div.ch-ctrl
 { background: #CFDCD0 !important; margin: 0 0 -5px 0 !important; border: 1px solid #A6B2A6 !important; border-radius: 6px !important; padding: 8px 8px 8px 0 !important; 
   background: linear-gradient(to bottom, #D3E0D4, #CFDCD0 65px) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.25) !important; }

#deviantART-v7 #gmi-CComment > div.ch-ctrl a.reply
 { margin: 0 0 8px 6px !important; border-radius: 0 0 0 5px !important; box-shadow: 0 1px 0 rgba(255,255,255,0.4) !important; }
#deviantART-v7 #gmi-CComment > div.ch-ctrl a.reply b
 { border-radius: 0 0 5px 0 !important; box-shadow: 0 1px 0 rgba(255,255,255,0.4) !important; }
 
/* sta.sh fix */
#deviantART-v7.stash-page #gmi-CComment > div.ch-ctrl a.reply
 { border-radius: 5px !important; }

#deviantART-v7 #gmi-CComment > div.ch-ctrl span.cc-avatar
 { margin: 1px 12px 0 9px !important; }

#deviantART-v7 #gmi-CComment > div.ch-ctrl .cc-in
 { border-radius: 5px !important; }

/* commentboxes in sta.sh override */
#deviantART-v7.stash-page #gmi-CComment > div.ch-ctrl
 { background: #E0E8DB !important; }

#deviantART-v7.stash-page #gmi-CComment > div.ch-ctrl .cc-meta .cc-name
 { color: #304030 !important; }

/* replybutton in sta.sh */
#deviantART-v7.stash-page a.gmbutton2.reply
 { background: linear-gradient(to bottom, #fff 1px, #E6EAE5 1px, #D7DED5) !important; }

#deviantART-v7.stash-page a.gmbutton2.reply:hover
 { background: linear-gradient(to bottom, #fff 1px, #EEF2ED 1px, #DFE3DE) !important; }

/* colourfix for cakebadge comments */
#deviantART-v7 #gmi-CComment.note-red > div.ch-ctrl .ch-ctrl.cc-in
 { background: #A60000 url(http://st.deviantart.com/minish/birthdays/redpattern.png) !important; border: none !important; }

/* speechbubblearrow fix */
#deviantART-v7 #gmi-CComment > div.ch-ctrl > i.l
 { margin-left: 1px !important; }

/* speechbubblearrow fix in groups */
#deviantART-v7 .bpp-private-thread #gmi-CComment > div.ch-ctrl > i.l
 { margin-left: 3px !important; }



/* replyboxes frame */
#deviantART-v7 .ccomment-post div.ch-ctrl
 { background: #CFDCD0 !important; border: 1px solid #A6B2A6 !important; border-top: none !important; border-radius: 0 0 6px 6px !important; margin-top: -17px !important; padding: 0 8px 8px 8px !important;}

/* sta.sh fix */
#deviantART-v7.stash-page .ccomment-post div.ch-ctrl
 { background: #E0E8DB !important; }

/* commentbox frame */
#deviantART-v7 #gmi-CCommentMaster form.f
 { border: 1px solid #A6B2A6 !important; border-radius: 6px !important; margin: 0 0 10px 0 !important; padding: 15px 10px 0 2px !important; 
   background: #DAE4D9 !important; 
   background: linear-gradient(to bottom, #DFE9DE, #DAE4D9 50px) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.33) !important; }

#deviantART-v7 #gmi-CCommentMaster form.f .ccomment-form 
 { margin-bottom: 0 !important; }

#deviantART-v7 #gmi-CCommentMaster form.f a img.avatar
 { margin: 0 0 0 2px !important; }

#deviantART-v7 #gmi-CCommentMaster form.f .ccname
 { font-size: 11px !important; line-height: 12px !important; }

/* white replybox textarea */
#deviantART-v7 .talk-post-reply .h
 { background: #E9EFE8 !important; border-radius: 6px !important; 
   box-shadow: inset 0 0 5px rgba(0,0,0,0.25) !important; }
#deviantART-v7 .talk-post-reply td.f
 { padding: 2px 0 0 !important; }

#deviantART-v7 .talk-post-reply .writer 
 { padding: 5px 10px !important; 
  /* width: auto !important; */  /* removed for ctrl-e feature */
 }

#deviantART-v7 .talk-post-reply .h td.f > i.l { display: none !important; }

/* white commentbox textarea */
#deviantART-v7 #gmi-CCommentMaster .cctextarea
 { background: #E9EFE8 !important; border-radius: 6px !important; padding: 2px 0 0 !important; }
#deviantART-v7 #gmi-CCommentMaster .cctextarea textarea#commentbody
 { background: transparent !important; }

#deviantART-v7 #gmi-CCommentMaster .writer 
 { padding: 5px 10px !important; }

/* forum fix */
/* not needed anymore
#deviantART-v7 .forum_content textarea
 { background: transparent !important; padding: 5px 10px !important; font-family: Verdana !important; font-size: 12px !important; }

#deviantART-v7 .forum_content .previewbox
 { background: transparent !important; padding: 5px 10px !important; box-shadow: none !important; }

#deviantART-v7 .forum_content .previewbox > i.l { display: none !important; }
*/

/* parent comment border-radius fix / thanks electricjonny! */
#deviantART-v7 #gmi-CCommentThread .ccomment-post div.ch-ctrl:after, 
#deviantART-v7 .ccomment-post 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 sta.sh */
#deviantART-v7.stash-page #gmi-CCommentThread .ccomment-post div.ch-ctrl:after, 
#deviantART-v7.stash-page .ccomment-post div.ch-ctrl:after {
  background: #E0E8DB !important; 
}


/* add media bar */
#deviantART-v7 .drawPlz { background: rgba(0,0,0,0.075) !important; border-radius: 0 0 6px 6px !important; }
#deviantART-v7 .drawPlz .topbar { border: none !important; }



/* fixes for browse full view */
#deviantART-v7 .deviation-full-minipage { border: 1px solid #A6B2A6 !important; }
#deviantART-v7 .deviation-full-minipage #gmi-CCommentMaster { margin-top: 15px !important; }
#deviantART-v7 .deviation-full-minipage #gmi-CCommentMaster form.f .cctextarea { width: 406px !important; }

/* full view nonnaked buttons */
#deviantART-v7 .deviation-full-minipage .action-button,
#deviantART-v7 .deviation-full-minipage #gmi-ResourceViewFaveButton,
#deviantART-v7 .deviation-full-minipage .browse-proper-button 
 { border: 1px solid #B5BFB5 !important; 
   background: linear-gradient(to bottom, #DFE9DE, #DAE4D9) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.5) !important; }
#deviantART-v7 .deviation-full-minipage .action-button:hover,
#deviantART-v7 .deviation-full-minipage #gmi-ResourceViewFaveButton:hover,
#deviantART-v7 .deviation-full-minipage .browse-proper-button:hover 
 { background: linear-gradient(to bottom, #DAE4D9, #D0DACF) !important; }



/* fix for 'marked as spam' posts */
#deviantART-v7 #gmi-CComment > div.ch-ctrl .creason
 { padding: 0 !important; color: #506256 !important; font-size: 11px !important; background: transparent !important; }
 
#deviantART-v7 #gmi-CComment > div.ch-ctrl .creason em
 { text-decoration: underline !important; }

#deviantART-v7 #gmi-CCommentMaster .cctextarea > i.l { display: none !important; }



/* fix for easyreplybox in message centre */
#deviantART-v7 #messages .messages-right .mcbox div.ch-ctrl
 { border-radius: 0 0 6px 6px !important; }
 
#deviantART-v7 #messages .messages-right .mcbox div.ch-ctrl:first-child
 { border-radius: 6px !important; }

#deviantART-v7 #messages textarea { background: transparent !important; }



/* artist's comments/description */
/*
#deviantART-v7 .dev-view-about { margin-top: -50px !important; }
#deviantART-v7 .dev-title-container { position: relative !important; top: 75px !important; padding-left: 80px !important; }
#deviantART-v7 .dev-title-avatar { position: absolute !important; margin-left: -75px !important; margin-top: -5px !important;  }
#deviantART-v7 .dev-description
 { border: 1px solid #A6B2A6 !important; border-radius: 6px !important; margin: 11px 0 40px 67px !important; padding: 70px 10px 8px 11px !important;  
   background: linear-gradient(to bottom, #E4E9E3 1px, #DAE4D9 40px) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.33) !important; }
*/

#deviantART-v7 .dev-view-about { position: relative !important; margin-top: -55px !important; }
#deviantART-v7 .dev-title-container { position: relative !important; top: 95px !important; padding-left: 10px !important; }
#deviantART-v7 .dev-description
 { border: 1px solid #A6B2A6 !important; border-radius: 6px !important; margin: 11px 0 40px 0 !important; padding: 85px 10px 8px 11px !important;  
   background: linear-gradient(to bottom, #E4E9E3 1px, #DAE4D9 40px) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.33) !important; }

#deviantART-v7 .view-mode-full .dev-view-about,
#deviantART-v7 .view-mode-full_zoomed .dev-view-about { position: relative !important; margin-top: -65px !important; }
#deviantART-v7 .view-mode-full .dev-title-avatar,
#deviantART-v7 .view-mode-full_zoomed .dev-title-avatar { position: absolute !important; float: left !important; margin-right: 50px !important;  }
#deviantART-v7 .view-mode-full .dev-title-container h1,
#deviantART-v7 .view-mode-full .dev-title-container .dev-about-cat-cc,
#deviantART-v7 .view-mode-full_zoomed .dev-title-container h1,
#deviantART-v7 .view-mode-full_zoomed .dev-title-container .dev-about-cat-cc { padding-left: 60px !important; }

/* hide +watch*/
#deviantART-v7 .devwatch.dev-page-watch-button { display: none !important; }

/* report button*/
#deviantART-v7 .top-report-link.report-deviation-link.jslink
{ margin-top: -40px !important; }

/* tags */
#deviantART-v7 .dev-about-tags-cc.dev-about-breadcrumb { white-space: nowrap !important; width: 99% !important; overflow: hidden !important; }

/* i still need to fix full-view for group deviations, like http://fav.me/d1jj93v !!! */



/* a bit of extra space after the view settings */
#gmi-CCommentMaster #comments-thread-settings
 { margin-bottom: 10px !important; }



/* DD box */
#deviantART-v7 .dd-container .gr-body
 { border-radius: 6px !important; }

#deviantART-v7 .dd-container .ddbox
 { margin-top: -1px !important;  
   background: linear-gradient(to bottom, #E4E9E3, #DAE4D9 50px) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.33) !important; }

#deviantART-v7 .dd-container .gr2,
#deviantART-v7 .dd-container .gr3
 { display: none !important; }



/* Critique box */
#deviantART-v7 #deviation_critiques .gr-box .gr2.gt2,
#deviantART-v7 #critique-fullpage-page .gr-box .gr2.gt2
 { background: #EDF0EC !important; }



/* mood selector box */
#deviantART-v7 .grmood .gr-box .gr2.gt2
 { background: #F2F5F1 !important; }



/* sta.sh edit box (WIP) */
#deviantART-v7.stash-page #artist-comments .stash-edit
 { left: 0 !important; }

}



@-moz-document domain("deviantart.com"){

/* journal overview sidebar */

/* general fixes */
/* or maybe not...
#journal_sidebar 
 {
  margin-top: -15px !important; padding: 10px 0 0 0 !important; 
  width: 299px !important; 
  background: #CCD9CB !important; 
  border-left: 1px solid #AFC5AB !important; 
 }
*/

/* "stencilled" areas */
#deviantART-v7 #journal_sidebar .gr-top .gr
 { border: 1px solid #9BB197 !important; border-radius: 5px 5px 0 0 !important; 
   background: #BDD1B4 !important; 
   background: linear-gradient(to bottom, #D0DEC4, #BDD1B4) !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.7) !important; 
   padding: 8px 7px 4px 11px !important; 
   margin-bottom: 0 !important; }

#deviantART-v7 #journal_sidebar .gr-top .gr h2 { margin: 0 !important; padding: 0 !important; border: none !important; }

#deviantART-v7 #journal_sidebar .gr-body
 { border: 1px solid #9BB197 !important; border-top: none !important; border-radius: 0 0 5px 5px !important; 
   padding: 5px 10px 5px 11px !important; 
   background: #CAD6C8 !important; 
   box-shadow: inset 0 0 3px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.5); }

#deviantART-v7 #journal_sidebar .gr-body .pagination-wrapper { padding: 0 !important; }
#deviantART-v7 #journal_sidebar .gr-body .pages.compact { padding: 10px 0 5px !important; margin-left: -10px !important; }



/* forum pages */

/* fix for Details*/
#deviantART-v7 #gmi-ResourcePageMetaPane .details-section .comments,
#deviantART-v7 #gmi-ResourcePageMetaPane .details-section .favourites,
#deviantART-v7 #gmi-ResourcePageMetaPane .details-section .views,
#deviantART-v7 #gmi-ResourcePageMetaPane .details-section .downloads,
#deviantART-v7 .forum_sidebar .details-section .comments 
 { margin-left: 9px !important; }



/* deviation sidebar */

/* "report" button */
#deviantART-v7 .reportit a.a
 { padding: 10px 15px; width: 268px !important; display: inline-block !important; 
   background: repeating-linear-gradient(-45deg, #CDD9CB, #CDD9CB 14px, #C6D2C4 14px, #C6D2C4 30px) !important;  
   border: 1px solid #93A98F !important; border-radius: 5px; 
   font-weight: bold; color: #415247 !important; font-family: Trebuchet MS !important; font-size: 14px !important; 
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 0 rgba(255,255,255,0.4) !important; }

#deviantART-v7 .reportit a.a:hover
 { background: repeating-linear-gradient(-45deg, #D5E1D3, #D5E1D3 14px, #CDD9CB 14px, #CDD9CB 30px) !important; text-decoration: none !important; }



/* feed comments fixes */

#deviantART-v7 .feed-action #gmi-CComment > div.ch-ctrl
 { background: rgba(0,0,0,0.01) !important; 
   margin-bottom: 2px !important; 
   border-radius: 3px !important; }





/* non-related fixes */

/* submit buttons in speechbubble commentbox */
#deviantART-v7 #gmi-CCommentMaster #cooler-comment-submit .smbutton
 { margin: 9px 0px 2px -6px !important; }

/* submit buttons in easyreply box */
#deviantART-v7 #gmi-CCommentMaster .talk-post-reply .smbutton
 { margin: 0 2px 2px 0px !important; }

/* hide camera bag ad in statistics box */
#deviantART-v7 .megabag 
 { display: none !important; }

/* hide "sell as print" bubble */
#deviantART-v7 .submit-help-bubble
 { display: none !important; }

}
