@charset 'utf-8';

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


/* ------------- form widgets ------------- */
/* temp - from platform-forms.css */


html|input:not([type="image"]),
html|button, html|select,
html|option, html|textarea {
	color:#262626 !important;
}

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"] {
	font-family: 'Lucida Grande', 'ヒラギノ丸ゴ Pro W4' !important;
}

html|textarea,
html|input[type="text"],
html|input[type="password"] {
	background: #fff url(resource://gre/res/fields.png) repeat-x 0 0  !important;
	border-top: 1px solid #7c7c7c !important;
	border-right: 1px solid #abb0b5 !important;
	border-bottom: 1px solid #cacdd1 !important; 
	border-left: 1px solid #abb0b5 !important;
	padding-left:3px !important;
	-moz-box-sizing: border-box !important;
}

html|select:not([size]),
html|select[size="0"],
html|select[size="1"],
html|select[multiple],
html|select[size],
html|select[size][multiple] {
	background: rgb(246, 246, 246) url("chrome://browser/skin/bookmark_toolbar_background.gif") repeat-x bottom right !important;
	color:#262626 !important;
	border: 2px solid !important;
	-moz-border-bottom-colors: #919498 #cecece;
	-moz-border-left-colors: #6d6f72 #fff;
	-moz-border-right-colors: #919498 #cecece;
	-moz-border-top-colors: #6d6f72 #fff;
	-moz-box-sizing: border-box !important;
	-moz-border-radius: 1px !important;
}


html|select:not([multiple]):focus,
html|select:not([multiple]):hover:active {
	border: 2px solid !important;
	-moz-border-bottom-colors: #6d6f72 #fff;
	-moz-border-left-colors: #919498 #cecece;
	-moz-border-right-colors: #6d6f72 #fff;
	-moz-border-top-colors: #919498 #cecece;
}


html|button,
html|input[type="reset"],
html|input[type="button"],
html|input[type="submit"] {
	background: #eff3f7 url(resource://gre/res/aguaButton.png) repeat-x 50% 40% !important;
	-moz-border-radius: 1px !important;
	padding: 0 3px !important;
	margin: 0 1px;
	border: 2px solid !important;
	-moz-border-bottom-colors: #919498 #cecece;
	-moz-border-left-colors: #6d6f72 #fff;
	-moz-border-right-colors: #919498 #cecece;
	-moz-border-top-colors: #6d6f72 #fff;
	width:auto !important;
	height:auto !important;
	text-indent: 0 !important;
	color:#262626 !important;
}

html|input[type="reset"]:focus,
html|input[type="button"]:focus,
html|input[type="submit"]:focus {
	background:#dce1e7 url(resource://gre/res/aguaButton_focus.png) repeat-x 50% 40% !important;
	border: 2px solid !important;
	-moz-border-top-colors: #919498 #cecece;
	-moz-border-right-colors: #6d6f72 #fff;
	-moz-border-left-colors: #919498 #cecece;
	-moz-border-bottom-colors: #6d6f72 #fff;
}

input[type="file"] {
	background:transparent !important;
}

html|select > input[type="button"],
html|select > input[type="button"]:focus {
	background-color: transparent !important;
	border: none !important; 
	border-left: 1px solid #caccce !important;
	-moz-outline:0 none;
}


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

html|input[type="radio"] {
	width: 13px !important;
	height:13px !important;
	background-image: url(resource://gre/res/radio.png) !important;
	background-repeat:no-repeat !important;
	background-color: transparent !important;
	border: 0 none !important;
	-moz-outline:none !important;
	-moz-border-radius: 0 !important;
}

html|input[type="radio"]:checked {
	background-image: url(resource://gre/res/radio_checked.png)!important;
	border: 0 none !important;
	-moz-outline:none !important;
}


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

input[type="checkbox"] {
	background-image: url(resource://gre/res/checkbox.png) !important;
	background-color: transparent !important;
	background-repeat:no-repeat !important;
	width: 13px !important;
	height:13px !important;
	border: 0 none !important;
}

html|input[type="radio"]:focus,
input[type="checkbox"]:focus {
	border: 0 none !important;
}


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

/*
*:-moz-any-link:focus img,
*:-moz-any-link:focus,
*/


html|button:focus,
html|button:focus:active,
html|select:focus,
html|input[type="reset"]:focus,
html|input[type="button"]:focus,
html|input[type="submit"]:focus,
html|input[type="checkbox"]:focus,
html|input[type="radio"]:focus,
html|input[type="image"]:focus,
html|input[type="text"]:focus,
html|input[type="password"]:focus,
html|textarea:focus {
	-moz-outline-style: solid !important;
	-moz-outline-width: 2px !important;
	-moz-outline-color: -moz-mac-focusring !important;
	color:#262626 !important;
	-moz-outline-radius:2px !important;
}

html|input[type="radio"]:focus {
	-moz-outline-radius:6px !important;
	}

*::-moz-focus-inner {
	border-color: transparent !important;
	border-width:0 !important
}


/* disabled */

input[type="image"][disabled] {
	cursor: default;
}

html|input[disabled],
html|textarea[disabled],
html|option[disabled],
html|optgroup[disabled],
html|select[disabled],
html|select[disabled]>* {
	-moz-user-input: disabled;
	-moz-user-focus: ignore;
	color: GrayText !important;
	cursor: default;
}

html|input[disabled],
html|textarea[disabled],
html|select[disabled] {
	border-top: 1px solid #969696 !important;
	border-right: 1px solid #bfc5cb !important;
	border-bottom: 1px solid #dee1e5 !important; 
	border-left: 1px solid #c2c8ce!important;
	}

html|select:not([size])[disabled],
html|select[size="0"][disabled],
html|select[size="1"][disabled],
html|select[multiple][disabled],
html|select[size][disabled],
html|select[size][multiple][disabled] {
	-moz-border-bottom-colors: #a9adb2 #e5e5e5;
	-moz-border-left-colors: #86888c #fff;
	-moz-border-right-colors: #a9adb2 #e5e5e5;
	-moz-border-top-colors: #86888c #fff;
	color: GrayText !important;
	}
html|option[disabled],
html|optgroup[disabled] {
  background-color: transparent;
}

html|input[type="checkbox"][disabled] {
	background-image: url(resource://gre/res/checkbox_disabled.png) !important;
	}
html|input[type="radio"][disabled] {
	background-image: url(resource://gre/res/radio_disabled.png) !important;
	}


input[type="radio"][disabled],
input[type="radio"][disabled]:active,
input[type="radio"][disabled]:hover,
input[type="radio"][disabled]:hover:active,
input[type="checkbox"][disabled],
input[type="checkbox"][disabled]:active,
input[type="checkbox"][disabled]:hover,
input[type="checkbox"][disabled]:hover:active {
	border: 0 none ! important;
	color: GrayText ! important;
	background-color: transparent ! important;

}

input[type="button"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled] {
	background-image: url(resource://gre/res/aguaButton_disabled.png) !important;
	-moz-border-bottom-colors: #a9adb2 #e5e5e5;
	-moz-border-left-colors: #86888c #fff;
	-moz-border-right-colors: #a9adb2 #e5e5e5;
	-moz-border-top-colors: #86888c #fff;
	}

button[disabled]:active, button[disabled],
input[type="reset"][disabled]:active,
input[type="reset"][disabled],
input[type="button"][disabled]:active,
input[type="button"][disabled],
select[disabled] > input[type="button"],
select[disabled] > input[type="button"]:active,
input[type="submit"][disabled]:active,
input[type="submit"][disabled] {
	color: GrayText !important;
}

/* end */



textarea {
	padding: 1px 4px !important;
}
input[type="text"] {
	height: auto !important;
}
input[type="file"] > input[type="text"] {
	margin-right:2px
}

input[type="radio"] {
	vertical-align: text-bottom;
}

input:not([type]) {
	background: #fff url(resource://gre/res/fields.png) repeat-x 0 0  !important;
	border-top: 1px solid #7c7c7c !important;
	border-right: 1px solid #abb0b5 !important;
	border-bottom: 1px solid #cacdd1 !important; 
	border-left: 1px solid #abb0b5 !important;
	padding-left:3px !important;
	-moz-box-sizing: border-box !important;
}
input:not([type]):focus {
	-moz-outline-style: solid !important;
	-moz-outline-width: 2px !important;
	-moz-outline-color: -moz-mac-focusring !important;
	color:#101011 !important;
	-moz-border-radius:2px !important;
}

