/*
############### Better Browser Frame On Linux ###############
     ##########      Made  by PTMblogger      ##########
          #####    http://ptmblogger.co.cc/   #####
*/

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* ##### Tabbed Browsing ##### */
	/* ---Browser frame costumization--- */
	#main-window #content tabpanels {
		-moz-appearance: tabpanels !important
	}

	#main-window #content browser {
		-moz-appearance: listbox !important;
	}

	/* ---Fixes for tab bar--- */
	#main-window .tabbrowser-tabs .tabs-frame {
		margin-left: -3px !important;
	}

	#main-window .tabbrowser-tabs {
		margin-top: 1px !important;
	}

	#main-window .tabbrowser-tabs .tabs-bottom {
		display: none !important;
	}

		/* Scroolbutton fix */
		#main-window .tabbrowser-tabs .scrollbutton-up {
			margin-left: 0px !important;
			margin-right: 3px !important;
		}

	/* ---Tab fixes--- */
	#main-window .tabbrowser-tabs tab:not([selected="true"]) {
		margin-bottom: -1px !important;
	}

	#main-window .tabbrowser-tabs tab:not([selected="true"]) .tab-middle,
	#main-window .tabbrowser-tabs tab:not([selected="true"]) .tab-close-button,
	#main-window .tabbrowser-tabs tab:not([selected="true"]) .tab-icon {
		margin-top: -2px !important;
	}

		/* Tab text enhancement, removes ugly dotted non-native border from tab text when a tab is selected */
		#main-window .tabbrowser-tabs tab .tab-text {
			border: none !important;
		}

	/* ---Notification Box fix--- */
	#main-window #content notificationbox notification .notification-inner {
		border: 1px solid ThreeDShadow !important;
		border-bottom: none !important;
	}


/* ##### Non Tabbed Browsing ##### */
	#main-window #content .tabbrowser-strip[collapsed="true"] + tabpanels {
		-moz-appearance: none !important;
	}