/* Last Update(27/4/07): changed code due to change in the site's mark-up */

@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document url-prefix("http://www.google.com/notebook/"),
url-prefix("http://google.com/notebook/") {

/* removes all images of card edges, corners etc. */
.qa, .ra, .ua, .va, .wa, .na, .xa,
.gb, .hb, .ib, .jb, .kb, .lb, .mb {
  background-image: none !important;
}

/* light border on all notes */
.ba {
  border: 1px solid #E8E8E8 !important;
}

/* thicker border on selected note */
.hb, .lb, .kb {
  height: 2px !important;
  background-color: #CCCCCC !important;
}

.jb {
  width: 2px !important;
  background-color: #CCCCCC !important;
}

/* vertical bar on left of note */
a.xa:hover, .nb {
  background-image: none !important;
  background-color: #CCCCCC !important;
}

/* arrow on top-right of note */
a.sa, a.ib {
  background-image: url('http://img58.imageshack.us/img58/5423/arrowzn5.png') !important;
  background-position: center !important;
  background-color: #E8E8E8 !important;
  -moz-border-radius-bottomleft: 10px !important;
}

.xc, /* 'add comment' section */
.q, /* 'expand section' link */
#page_footer {
  display: none !important;
}

}

/* THE CODE BELOW IS APPLIED ONLY TO THE FULLPAGE */

@-moz-document url("http://www.google.com/notebook/"),
url("http://google.com/notebook/")
url-prefix("http://www.google.com/notebook/#"),
url-prefix("http://google.com/notebook/#")
url-prefix("http://www.google.com/notebook/fullpage#"),
url-prefix("http://google.com/notebook/fullpage#") {

/* makes notes scroll down */
.n {
  height: auto !important;
}

/* makes room for formatting toolbar */
#search_box {
  display: block !important;
}

#gn_ph > tbody > tr > td:first-child {
  vertical-align: middle !important;
}

/* formatting toolbar */
.tr_toolbar {
  position: fixed !important;
  top: 25px !important;
  left: 500px !important;
  padding: 2px !important;
  background-color: #E8E8E8 !important;
  border: 2px solid #CCCCCC !important;
  z-index: 2000 !important;
}

.tr_toolbar:before {
  content: "Formatting Toolbar: " !important;
  font-weight: bold !important;
}

/* places title & source link at bottom of note */
.ec + div {
  position: absolute !important;
  bottom: 5px !important;
}

.ec {
  position: absolute !important;
  bottom: 20px !important;
}

.ec ~ .zb, .ec ~ .ac {
  margin-bottom: 40px !important;
}

/* incr in steps of 15 to see more lines in the collapsed view, 25px for 2 lines, 40 for 3 & so on */
.ac {
  height: 10px !important;
}

}

/* THE CODE BELOW IS APPLIED ONLY TO THE HTML BLOCK IN THE ADDON */

@-moz-document url-prefix("http://www.google.com/notebook/onpage?") {

/* makes menu-items in the note menu appear in single row */
.n > .ub > .vb {
  display: inline !important;
  padding: 0 5px 0 5px !important;
}

.ec {
  position: absolute !important;
  bottom: 5px !important;
}

.ec + .zb, .ec + .ac {
  margin-bottom: 25px !important;
}

}