@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document
  url-prefix(http),
  url-prefix(https)

{ 

/* Colors and borders for un-focused or un-hovered input, textarea, and select fields */
	input:
		not([type="password"]):
		not([type="button"]):
		not([type="checkbox"]):
		not([type="file"]):
		not([type="image"]):
		not([type="radio"]):
		not([type="reset"]):
		not([type="submit"]),
	input[type="file"] > input[type="text"],
	textarea,
	select
	{
		-moz-box-sizing: content-box !important;
		-moz-appearance: none !important;
		background-color: #FFE;
		color: #333;
		padding-left: 2px !important;
		border: 2px solid #89A !important;
		-moz-border-radius: 0.5em !important;
		outline: 1px solid #BCC !important;
		-moz-outline-radius: 0.5em !important;
		-moz-outline-offset: -1px !important;
	}

/* Colors and borders for in-focus or hovered input, textarea, */
/*   and select fields */
	input:
		not([type="password"]):
		not([type="button"]):
		not([type="checkbox"]):
		not([type="file"]):
		not([type="image"]):
		not([type="radio"]):
		not([type="reset"]):
		not([type="submit"]):focus,
	input[type="file"] > input[type="text"]:focus,
	textarea:focus,
	select:focus,
	input:
		not([type="password"]):
		not([type="button"]):
		not([type="checkbox"]):
		not([type="file"]):
		not([type="image"]):
		not([type="radio"]):
		not([type="reset"]):
		not([type="submit"]):hover,
	textarea:hover,
	select:hover
	{
		background-color: #FFC;
		color: #000;
		padding-left: 2px !important;
		border: 2px solid #8AA !important;
		-moz-border-radius: 0.5em !important;
		outline: 1px solid #BBC !important;
		-moz-outline-radius: 0.6em !important;
		-moz-outline-offset: 0px !important;
	}

/* Colors and borders for un-focused or un-hovered password fields */
	input[type="password"]
	{
		-moz-box-sizing: content-box !important;
		-moz-appearance: none !important;
		background-color: #FED;
		color: #333;
		padding-left: 2px !important;
		border: 2px solid #89A !important;
		-moz-border-radius: 0.5em !important;
		outline: 1px solid #BCC !important;
		-moz-outline-radius: 0.5em !important;
		-moz-outline-offset: -1px !important;
	}

/* Colors for in-focus or hovered password fields */
	input[type="password"]:focus,
	input[type="password"]:hover
	{
		background-color: #FDC;
		color: #000;
		padding-left: 2px !important;
		border: 2px solid #8AA !important;
		-moz-border-radius: 0.5em !important;
		outline: 1px solid #BCC !important;
		-moz-outline-radius: 0.6em !important;
		-moz-outline-offset: 0px !important;
	}

/* Buttons:Background (if not already set) and borders */
/* Class exceptions are for Google Search site */
/* ID exception is for Mozilla Add-Ons site */
	button:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]),
	input[type="button"]:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]),
	input[type="reset"]:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]),
	input[type="submit"]:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]):
		not([id="my-submit"]),
	input[type="file"] > input[type="button"]
	{
		-moz-box-sizing: content-box !important;
		-moz-appearance: none !important;
		background-color: #DDE;
		color: #000;
		border: 2px solid #899 !important;
		-moz-border-radius: 0.9em !important;
		outline: 2px solid #BBA !important;
		-moz-outline-radius: 1em !important;
		-moz-outline-offset: -1px !important;
	}

/* Change buttons when hovered */
	button:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]):hover,
	input[type="button"]:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]):hover,
	input[type="reset"]:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]):hover,
	input[type="submit"]:
		not([class="w10"]):
		not([class="w11"]):
		not([class="w20"]):
		not([class="w21"]):
		not([class="w24"]):
		not([class="wci"]):
		not([class="wpb"]):
		not([id="my-submit"]):hover,
	input[type="file"] > input[type="button"]:hover
	{
		background-color: #EEF;
		color: #600;
		border: 2px solid #BCC;
		-moz-border-radius: 0.9em;
		outline: 2px solid #788;
		-moz-outline-radius: 1em;
		-moz-outline-offset: -1px;
	}

}