/*
* @updated		25/11/2010
* @author		Nathan Smith
* @see			http://sonspring.com/journal/formalize-css
* --------------------------------------------------------------------------------------------------*/


/**
* =ui
* @section Formalize
* @subsection UI Consistency
* --------------------------------------------------------------------------------------------------
*/
::-moz-focus-inner {
	border: 0;
}

input[type="search"]::-webkit-search-decoration {
	display: none;
}

input, button,
select,
textarea {
	margin: 0;
	vertical-align: middle;
}

button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
	overflow: visible;
	width: auto;
	padding: 3px 10px 4px;
	color: #333; font: bold normal 12px/1.2 Arial, sans-serif;
	text-shadow: #fff 0 1px 1px;
	border: 1px solid; border-color: #ddd #bbb #999;
	-webkit-appearance: none;
	-moz-border-radius: 11px; -webkit-border-radius: 11px; border-radius: 11px;
	background: #ddd url(img/form/formalize/button.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
	background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
	cursor: pointer;
	outline: 0;

	/* IE7 */
	*padding-top: 2px; *padding-bottom: 0px;
}

button {
	/* IE7 */
	*padding-top: 1px; *padding-bottom: 1px;
}

button[disabled],
input[type="reset"][disabled],
input[type="submit"][disabled],
input[type="button"][disabled] {
	color: #888;
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
	padding: 2px 3px;
	color: #000; font: normal normal 13px/1.2 Arial, sans-serif;
	-webkit-appearance: none;
	-moz-border-radius: 0;  -webkit-border-radius: 0; border-radius: 0;
	background-color: #fff;
	border: 1px solid; border-color: #848484 #c1c1c1 #e1e1e1;
	outline: 0;

	/* IE7 */
	*height: auto;
	*padding-top: 2px; *padding-bottom: 1px;
}

input.placeholder_text,
textarea.placeholder_text {
	color: #888;
}

::-webkit-input-placeholder {
	color: #888;
}

textarea[disabled],
select[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
	color: #888;
	background-color: #eee;
}

button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active {
	z-index: 1;
}

.is_webkit select {
	padding-right: 20px;
	background: url(img/form/formalize/select_arrow.gif) no-repeat 100% 50%;
}

textarea,
select[multiple] {
	height: auto;
}

select[multiple],
.is_webkit select[multiple] {
	padding: 0;
	background-image: none;
}

textarea {
	overflow: auto;
	width: 100%;
	resize: none;
}

optgroup {
	color: #000; font-style: normal; font-weight: normal;
}


/**
* =ui
* @section Formalize
* @subsection Ie6
* --------------------------------------------------------------------------------------------------
*/

/* `IE6
----------------------------------------------------------------------------------------------------*/
.ie6_button,
* html button {
	overflow: visible;
	width: auto;
	padding: 2px 10px 0;
	color: #333; font: bold 12px/1.2 Arial, sans-serif;
	background: #ddd url(img/form/formalize/button.png) repeat-x;
	border: 1px solid; border-color: #ddd #bbb #999;
	cursor: pointer;
}

* html button {
	padding-top: 1px; padding-bottom: 1px;
}

.ie6_input,
* html textarea,
* html select {
	padding: 2px 3px 1px;
	color: #000; font: normal normal 13px/1.2 Arial, sans-serif; vertical-align: top;
	border: 1px solid; border-color: #848484 #c1c1c1 #e1e1e1;
	background: #fff;
}

* html select {
	margin-top: 1px;
}

.placeholder_text,
.ie6_input_disabled,
.ie6_button_disabled {
	color: #888;
}

.ie6_input_disabled {
	background: #eee;
}