#downloadManager {
  background-color: ThreeDFace;
}

/* Download View */
#downloadView {
  -moz-appearance: none !important;
  margin: 0;
  border-bottom: 2px solid;
  -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
}


#downloadView progressmeter{
  margin:3px 0 3px 7px !important;
}

/* Download View Items */
richlistitem[type="download"] {
  padding: 2px 4px 2px 4px;
  min-height: 46px;
  border-bottom: 1px solid #e2e2e2;
}

richlistitem[type="download"][selected="true"]{
  background-color: transparent !important;
  color:black !important;

}
richlistitem[type="download"] > hbox{
  border:2px solid  transparent;
  -moz-border-radius: 3px;
  padding:2px 4px 2px 2px;
}
richlistitem[type="download"]:hover > hbox{
  -moz-border-top-colors:#d8f0fa #f0f9fe  ;
  -moz-border-bottom-colors:#d8f0fa #f0f9fe;
  -moz-border-left-colors: #d8f0fa #f0f9fe; 
  -moz-border-right-colors: #d8f0fa #f0f9fe;
   background: url("chrome://mozapps/skin/downloads/Button-hover.png") top  repeat-x; 
}

richlistitem[type="download"][selected="true"][state="1"] > hbox{
  -moz-border-top-colors:#b7e7fc #dff2fd  ;
  -moz-border-bottom-colors:#b7e7fc #dff2fd  ;
  -moz-border-left-colors: #b7e7fc #dff2fd ; 
  -moz-border-right-colors: #b7e7fc #dff2fd ;
   background: url("chrome://mozapps/skin/downloads/Button-selected.png") bottom  repeat-x; 
}


richlistitem[type="download"][selected="true"] > hbox{
  -moz-border-top-colors:#b7e7fc #dff2fd  ;
  -moz-border-bottom-colors:#b7e7fc #dff2fd  ;
  -moz-border-left-colors: #b7e7fc #dff2fd ; 
  -moz-border-right-colors: #b7e7fc #dff2fd ;
   background: url("chrome://mozapps/skin/downloads/Button-downloading.png") bottom  repeat-x; 
}


richlistitem[type="download"] .name{
   color:#0033aa;
}

richlistitem[type="download"] .name {
  font-size: larger;
}

richlistitem[type="download"] .dateTime {
  font-size: smaller;
}

.mini-button {
  -moz-appearance: none;
  list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png);
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0 0px 0 3px;
  min-width: 0;
  min-height: 0;
}

.mini-button > .myButton-box {
  padding: 0 !important;
}

.cancel {
  -moz-image-region: rect(0px, 32px, 16px, 16px);
}
.cancel:hover {
  -moz-image-region: rect(16px, 32px, 32px, 16px);
}
.cancel:active {
  -moz-image-region: rect(32px, 32px, 48px, 16px);
}
.cancel[disabled="true"] {
  -moz-image-region: rect(48px, 32px, 64px, 16px);
}
.pause {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}
.pause:hover {
  -moz-image-region: rect(16px, 48px, 32px, 32px);
}
.pause:active {
  -moz-image-region: rect(32px, 48px, 48px, 32px);
}
.pause[disabled="true"] {
  -moz-image-region: rect(48px, 48px, 64px, 32px);
}
.resume {
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}
.resume:hover {
  -moz-image-region: rect(16px, 16px, 32px, 0px);
}
.resume:active {
  -moz-image-region: rect(32px, 16px, 48px, 0px);
}
.resume[disabled="true"] {
  -moz-image-region: rect(48px, 16px, 64px, 0px);
}
.retry {
  -moz-image-region: rect(0px, 64px, 16px, 48px);
}
.retry:hover {
  -moz-image-region: rect(16px, 64px, 32px, 48px);
}
.retry:active {
  -moz-image-region: rect(32px, 64px, 48px, 48px);
}
.retry[disabled="true"] {
  -moz-image-region: rect(48px, 64px, 64px, 48px);
}

.blockedIcon {
  list-style-image: url(chrome://global/skin/icons/Error.png);
}

/* prevent flickering when changing states */
.downloadTypeIcon {
  min-height: 32px;
  min-width: 32px;
  margin-left:3px ;
  margin-right:5px ;
}

#clearListButton {
  min-height: 0;
  min-width: 0;
  margin-top: 3px;
}
