@namespace url(http://www.w3.org/1999/xhtml);

/**
 */

@-moz-document url(about:home),
               url(chrome://browser/content/aboutHome.xhtml) {

  body {
  background: #262626 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAE/CAYAAACHEqngAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAABUSURBVHjaYmJgYPjPBCQYmAiyiFBCBIsSxWSqw8YlUwlOMWpLUFsJmYppbMrAE2B//CPswX94ff5v2AUJfU2hcTagjgR1ShBqF25ULG1JK/kBAgwAT3T9gBTuL/MAAAAASUVORK5CYII=") repeat-x !important;
  }

  a {
    color: #b49351 !important;
  }

  a:hover {
    color: #d9a371 !important;
  }

  a:hover:active {
    color: #d9a371 !important;
  }

  #searchInputContainer {
    vertical-align: middle !important;
  }

  #searchText {
    -moz-appearance: none !important;
    border: 2px solid #131313 !important;
    -moz-border-top-colors: #131313 #181818 !important;
    -moz-border-right-colors: #131313 #181818 !important;
    -moz-border-bottom-colors: #131313 #181818 !important;
    -moz-border-left-colors: #131313 #181818 !important;
    border-radius: 0 !important;
    border-top-left-radius: 2px !important;
    border-bottom-left-radius: 2px !important;
    padding: 2px 2px 3px !important;
    -moz-padding-start: 4px !important;
    background: url("chrome://global/skin/textbox/textbox-gradient-bg.alt5.png") top left repeat-x transparent !important;
    box-shadow: none !important;
    font-size: 1em !important;
    height: auto !important;
    color: #bbbbbb !important;
  }

  #searchButtons {
    vertical-align: middle !important;
    -moz-padding-start: 9px !important;
  }

  #searchSubmit {
    -moz-appearance: none !important;
    box-shadow: none !important;
    border: 2px solid #131313 !important;
    border-left: 1px solid #131313 !important;
    border-right: 1px solid #131313 !important;
    border-radius: 0 !important;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
    -moz-border-top-colors: #131313 #393939 !important;
    -moz-border-right-colors: #131313 !important;
    -moz-border-bottom-colors: #131313 #181818 !important;
    -moz-border-left-colors: #191919 !important;
    padding: 1px 5px 2px 4px !important;
    /* similar to fx4 combined go-stop-reload, but slightly darker because on darker background */
    background: -moz-linear-gradient(#303030 0%, #222222 50%, #1f1f1f 90%, #1b1b1b 100%) !important;
    background-clip: border-box !important;
    color: #bbbbbb !important;
    font-size: 1em !important;
    height: auto !important;
  }

  #searchSubmit:hover:not([disabled]) {
    -moz-border-top-colors: #131313 #606060 !important;
    -moz-border-bottom-colors: #131313 #303030 !important;
    background: -moz-linear-gradient(#545454 0%, #494949 50%, #414141 90%, #393939 100%) !important;
    background-clip: border-box !important;
    color: #ffffff !important;
  }

  #searchSubmit:hover:active:not([disabled]) {
    -moz-border-top-colors: #131313 #181818 !important;
    -moz-border-bottom-colors: #131313 #101010 !important;
    background: -moz-linear-gradient(#303030 0%, #222222 50%, #1f1f1f 90%, #1b1b1b 100%) !important;
    background-clip: border-box !important;
    box-shadow: 0 0 7px rgba(0,0,0,0.2) inset, 0 0 4px rgba(0,0,0,.5) inset !important;
    color: #bbbbbb !important;
  }

  /* This rule doesn't work.  Seems like it should but doesn't match #snippets.
   * So, our support for the restore session mode is partial, but then again it looks
   * like Fx4's is too.
   */
  #defaultSnippets[hidden],
  #defaultSnippets[hidden] #snippets {
    display: none !important;
  }

  #snippets {
    background: #333333 !important;
    box-shadow: none !important;
    color: #bbbbbb !important;
    font-size: 0.8em !important;
    border: 1px solid #191919 !important;
  }

  #contentContainer {
    background: none !important;
    background-size: auto !important;
  }

  #restorePreviousSession,
  #restorePreviousSession:hover:active {
    color: #bbbbbb !important;
  }

  #restorePreviousSession:hover:not(:active) {
    color: #334466 !important;
  }
}

