@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

tabs:not(.tabbrowser-tabs){
padding-left:2px !important;
border-bottom: 1px solid #898c95 !important;
}

tabs:not(.tabbrowser-tabs) tab[selected='true']{
  margin-bottom:-2px !important;
}
tabs:not(.tabbrowser-tabs) tab[first-tab='true'][selected='true']
{
  margin-left:-2px !important;
}
tabpanels{
-moz-appearance: none !important; /* needed to get rid of the top border */
border: 0 !important;
background-color: #ffffff !important ;
border: 1px solid #898c95 !important;
border-top-width: 0 !important;
-moz-border-top-colors: #898c95 !important;
-moz-border-bottom-colors: #898c95 !important;
-moz-border-left-colors: #898c95 !important;
-moz-border-right-colors: #898c95 !important;
}

/* prevent previous rule from affecting main browser tabs*/
tabbrowser tabpanels{
  border:0 !important;
}

tabpanels caption {
background-color: #ffffff !important;

}

groupbox{
  border-color: #d5dfe5 !important;
}