@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#main-window #content .tabbrowser-tabs {
margin-top:0px!important;
margin-bottom:0px!important;
border-top: 1px solid !important;
border-bottom: 1px solid !important;
-moz-border-top-colors: ThreeDShadow !important;
-moz-border-bottom-colors: ThreeDShadow !important;
}
.tabbrowser-tab {
border-right: 1px solid !important;
border-left: 1px solid !important;
border-bottom: 1px solid !important;
-moz-border-bottom-colors: ThreeDShadow !important;
-moz-border-right-colors: ThreeDShadow !important;
-moz-border-left-colors: ThreeDShadow !important;
-moz-border-radius-topleft: 0 !important;
-moz-border-radius-topright: 0 !important;
margin-left:1px!important;
border-top:none!important;
margin-top:0px!important;
margin-bottom:0px!important;
}
.tabbrowser-tab[selected="true"] {
margin-right:1px!important;
}
.tabbrowser-tab:not([selected="true"]) {
margin-right: -22px!important;
background-color: #ffffff !important;
}
.tabbrowser-tab:first-child {
border-top: 1px solid !important;
-moz-border-top-colors: ThreeDShadow !important;
border-bottom:none!important;
padding: 0 0 2px 0 !important;
margin-top:3px!important;
margin-left: 2px!important;
-moz-border-radius-topleft: 6px !important;
-moz-border-radius-topright: 6px !important;
}
.tabbrowser-tab:first-child + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab {
border-top: 1px solid !important;
-moz-border-top-colors: ThreeDShadow !important;
border-bottom:none!important;
padding: 0 0 2px 0 !important;
margin-top: 3px!important;
-moz-border-radius-topleft: 6px !important;
-moz-border-radius-topright: 6px !important;
}
.tabbrowser-tab:first-child + tab, 
.tabbrowser-tab:first-child + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab, 
.tabbrowser-tab:first-child + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab + tab {
padding: 0 0 2px 0 !important;
margin-bottom:3px!important;
-moz-border-radius-bottomleft: 6px !important;
-moz-border-radius-bottomright: 6px !important;
}
.tabs-bottom {
display:none!important;
}
.tabs-container:not([overflow="true"]) {
-moz-padding-start: 0px !important;
}
.tabbrowser-tab .tab-text {
border: 1px dotted transparent !important;
}
.tabbrowser-tab:not([selected="true"]) .tab-close-button {
opacity: 0 !important;
}
.tabbrowser-tab:last-child .tab-close-button {
opacity: 1 !important;
}
.tabs-alltabs-button {
margin-bottom:0px!important; 
margin-top: 5px!important;
}
.tabbrowser-arrowscrollbox > .scrollbutton-up,
.tabbrowser-arrowscrollbox > .scrollbutton-down {
margin-bottom:0px!important; 
margin-top: 5px!important;
}