/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is mozilla.org code.
 *
 * The Initial Developer of the Original Code is 
 * Netscape Communications Corporation.
 * Portions created by the Initial Developer are Copyright (C) 2003
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Kevin Gerich (webmail@kmgerich.com)
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or 
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

@import url("resource:/res/forms.css");

@namespace html url(http://www.w3.org/1999/xhtml);

html|input[type="text"],
html|input[type="password"],
html|input:not([type]) {
	padding: 1px;
	border: 2px solid;
	-moz-border-top-colors: #7C7C7C #C3C3C3;
	-moz-border-left-colors: #C2C2C2 #F0F0F0;
	-moz-border-right-colors: #C2C2C2 #F0F0F0;
	-moz-border-bottom-colors: #DDDDDD #FEFEFE;
}

html|button, html|input[type="reset"],html|input[type="button"],html|input[type="submit"],html|select:not([size]),
html|select[size="0"],
html|select[size="1"] {	border: 2px solid !important;	-moz-border-bottom-colors: #999999 #CECECE;	-moz-border-left-colors: #737373 #FFFFFF;	-moz-border-right-colors: #999999 #CECECE;	-moz-border-top-colors: #737373 #FFFFFF;	background-image: url("chrome://browser/skin/bookmark_toolbar_background.gif") !important;	background-repeat: repeat-x !important;	background-position: bottom right !important;	background-color: rgb(246, 246, 246) !important;
	color: #000 !important;}html|button:hover:active, html|input[type="reset"]:hover:active,html|input[type="button"]:hover:active,html|input[type="submit"]:hover:active {	background-image: none !important;
	background-color: #DCDCDC !important;
}

html|button:focus, html|input[type="reset"]:focus,html|input[type="button"]:focus,html|input[type="submit"]:focus,
html|select:focus,
html|input[type="text"]:focus,
html|input[type="password"]:focus,
html|input:not([type]):focus,
html|textarea:focus,
html|button:hover:active, html|input[type="reset"]:hover:active,html|input[type="button"]:hover:active,html|input[type="submit"]:hover:active {
	border: 2px solid;
	-moz-border-top-colors: -moz-mac-focusring -moz-mac-focusring !important;
	-moz-border-left-colors: -moz-mac-focusring -moz-mac-focusring !important;
	-moz-border-right-colors: -moz-mac-focusring -moz-mac-focusring !important;
	-moz-border-bottom-colors: -moz-mac-focusring -moz-mac-focusring !important;
	-moz-border-radius: 1px !important;
}

textarea,
select[size],
select[multiple],
select[size][multiple] {
	border: 2px solid !important;	-moz-border-bottom-colors: transparent #999999; 	-moz-border-left-colors: transparent #999999; 	-moz-border-right-colors: transparent #999999; 	-moz-border-top-colors: transparent #737373;	background-image: none;
        background-color: #FFF;
}

*|*::-moz-dropdown-list {
  border: none !important;
  background-color: #FFF !important;
  color: #000 !important;
}

html|select > input[type="button"] {	border-top: none !important;	border-left: 1px solid #CECECE !important;	border-right: none !important;	border-bottom: none !important;	background-color: transparent !important;}

html|select > input[type="button"]:focus {	border-top: none !important;	border-left: 1px solid #CECECE !important;	border-right: none !important;	border-bottom: none !important;	background-color: transparent !important;}

html|button:hover:active, 
html|input[type="reset"]:hover:active,
html|input[type="button"]:hover:active,
html|input[type="submit"]:hover:active,
select:not([multiple]):hover:active {
	border: 2px solid;
	-moz-border-top-colors: #737373 #ffffff;
	-moz-border-right-colors: #999999 #cecece;
	-moz-border-left-colors: #737373 #ffffff;
	-moz-border-bottom-colors: #999999 #cecece;
}

html|input[type="radio"] {
  background-image: url("radio.png");
  -moz-border-radius: 0 !important;
  border: none !important;
  background-color: inherit !important;
}

html|input[type="radio"]:checked {
  background-image: url("radio_checked.png");
}

*|*::-moz-radio {
  border: none !important;
  background-color: transparent !important;
}

input[type="checkbox"] {
  border-width: 0 !important;
  background-image: url("checkbox.png") !important;
  background-color: transparent !important;
}

*:-moz-any-link:focus img,
*:-moz-any-link:focus,
html|input[type="checkbox"]:focus,
html|input[type="radio"]:focus,
html|input[type="image"]:focus,
html|button:focus, html|input[type="reset"]:focus,html|input[type="button"]:focus,html|input[type="submit"]:focus {
	-moz-outline-style: solid !important;
	-moz-outline-width: 2px !important;
	-moz-outline-color: -moz-mac-focusring; !important;
}

*::-moz-focus-inner {
	border-color: transparent !important;
}
*|*::-moz-display-comboboxcontrol-frame {
-moz-outline: 1px solid blue;
}