@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* inactive tabs */

:hover .tabbrowser-tab[selected="false"]:hover,
[class="close-button tabs-closebutton"] {
  background-color: #6699cc !important;
  color: #ffffff !important;
  -moz-opacity: 1 !important;
}

/* active tabs */

.tabbrowser-tab[selected="true"] .tab-text {
  color: #000000 !important;
  -moz-opacity: 1 !important;
}

.tabbrowser-tab[selected="true"]:hover .tab-text {
  color: #ffffff !important;
  -moz-opacity: 1 !important;
}

:hover .tabbrowser-tab[selected="true"],:hover .tabs-bottom,[class="close-button tabs-closebutton"] {
  background-color: #EFC05C !important;
  -moz-opacity: 1 !important;
}

/* active tab when mouse away */

.tabbrowser-tab[selected="true"],
.tabs-bottom,
[class="close-button tabs-closebutton"] {
  background-color: #6699bb !important;
}

/* unread tab color */

.tabbrowser-tab:not([selected]), [class="close-button tabs-closebutton"] .tab-text,
.tabbrowser-tab:not([selected]), [class="close-button tabs-closebutton"] {
  font-weight: bold !important;
  color: #3333FF !important;
  -moz-opacity: .80 !important;
}

:hover .tabbrowser-tab:not([selected]):hover,
[class="close-button tabs-closebutton"] {
  background-color: #99FF99 !important;
  color: #3333FF !important;
  -moz-opacity: 1 !important;
}