/*
 * Author: Ben Pesso
 * Version: 2.0 [2010-01-28]
 */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("digg.com") {

/********************* Release Notes *********************

[2010-01-28] v2.0
 * Almost a complete re-write.
 * Introduced a new (fixed) position for the paging section right at the top, where it is more accessible.
 * Updated Ad removal code.

[2007-12-28] v1.6
 * Changed the selector for the header from #header to #h.

[2007-09-03] v1.5
 * Removed the "Integrating with Digg" section from the sidebar.

[2007-08-29] v1.4
 * Updated to match the new design of Digg 4.1.

[2007-04-04] v1.3
 * Added the removal of the new, annoying, "Spreading the word" element at the top, bellow the header.

[2007-03-24] v1.2
 * Digg changed the order of the sidebar items which caused the Top 10 list to be hidden. This update fixes that.

[2007-03-13] v1.1
 * Commented out permanent position for Top Stories.

[2006-11-18] v1.0
 * Initial release version.

**********************************************************/

#container {
  border-top: none !important;
}

#h {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  width: 950px !important;
  margin-left: -475px !important;
  z-index: 10000 !important;
}

/* Move the pages to a permanent place on the left. */
.pages {
  display: block !important;
  position: fixed !important;
  top: 115px !important;
  left: 50% !important;
  width: 750px !important;
  height: 30px !important;
  margin: 0 !important;
  margin-left: -475px !important;
  padding: 5px 0 0 200px !important;
  text-align: center !important;
  background: #cfd4e5 !important;
  -moz-border-radius: 5px !important;
  z-index: 10001 !important;
}
.pages .nextprev {
  display: none !important;
}

.pages a + span {
  line-height: 18px;
  border: none !important;
  background: none !important;
}

.pages span.current,
.pages a {
  width: 35px !important;
  padding: 2px 0 !important;
  margin-right: 2px !important;
  text-align: center !important;
  -moz-border-radius: 15px !important;
}

.pages span.current {
  cursor: default !important;
  margin: 0 3px 0 2px !important;
  height: 18px !important;
  background: #2E6AB1 !important;
}

#contents {
    margin-top: 156px !important;
}

/* Remove Buried stories, Ads and the useless "More..." link in articles. */

div[class*="news-buried"],
div[id="announce-invite"],
div[class^="ad"],
div.comments_ad_image,
div.promo {
    display: none !important;
}


/* Hide a bunch of stuff in the sidebar. */

.sidebar .newsletter {
    display: none !important;
}

}