/* FORM ELEMENTS */
/* ----------------------------------------- */
/* date:  01/II/2010						 */
/* author: Daniel Angel */
/* ----------------------------------------- */

/* ----------------------------------------- */
/* default form elements */
/* ----------------------------------------- */




/* ----------------------------------------- */
/* forms */
/* ----------------------------------------- */

div#main form {
	padding: 1em 1em 0 2em;
}

/* ----------------------------------------- */
/* fieldsets */
/* ----------------------------------------- */



/* ----------------------------------------- */
/* legends */
/* ----------------------------------------- */

form legend, form p.legend { 
	/*p.legend is used to manipulate safari, which completely ignores legend elements */
	display: block;
	margin: 0;
	white-space:normal;
}


/* ----------------------------------------- */
/* inputs, selects, textareas */
/* ----------------------------------------- */

input[type=text], input[type=password] {
	background: #F3F2EE;
	border: none;
	color: #5B5E61;
	font-size: 1.2em;
	font-style: oblique;
	height: 31px;
	padding: 0 10px 0 13px;
	width: 243px;
	
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

input[type=text].form-error, input[type=password].form-error {
	color: #9E2006;
}

input[type=file] {
	background: #F3F2EE;
	border: none;
	color: #5B5E61;
	font-size: 1.2em;
	font-style: oblique;
	height: 23px;
	margin: 20px 0 0 0;
	width: 360px !important;
}

select {
	height: 31px !important;
	width: 266px;
}

textarea {
	background: #F3F2EE;
	border: none;
	color: #5B5E61;
	display: block;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	font-style: oblique;
	margin: 1em 0 2em 0;
	padding: 10px;
	width: 245px;

	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

/* overrides */
form#ProductSearchForm input {
	background: url(../img/input-search.png) top left no-repeat;
	color: #FFF;
	padding: 1px 0 0 10px;
	height: 30px;
	width: 144px;

	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}
div#mapsearch select {
	height: 31px;
	width: 120px;
}


/* ----------------------------------------- */
/* labels */
/* ----------------------------------------- */

form p.checkbox label, form p.radio label {
	display: inline;
	padding-left: .5em;
}

/* overrides */
form#ProductSearchForm label {
	height: 31px;
	line-height: 31px;
	margin: 10px 0 0 0;
}
p#radius label {
	display: none;
}	


/* ----------------------------------------- */
/* buttons, button-related */
/* ----------------------------------------- */

form p.buttonholder, div#mapsearch p.buttonholder {
	clear: both;
	height: 31px;
	text-align: right;
}
form button, div#mapsearch button {
	background: url(../img/buttons.png) top left no-repeat;
	border: none;
	cursor: pointer;
	height: 31px;
	text-indent: -9999px;
	min-width: 80px;
}

/* overrides */
form#ProductSearchForm button {
	background: url(../img/input-search.png) top right no-repeat;
	height: 31px;
	left: -3px;
	min-width: 31px;
	position: relative;
	top: -1px;
	width: 31px;
}
div#mapsearch p.buttonholder {
	clear: none;
}

/* ----------------------------------------- */
/* others */
/* ----------------------------------------- */
form p, div#mapsearch p {
	position: relative;
	margin: 5px 0;
}
form p small {
	color: red;
	display: block;
}

/* skinned file inputs */
p.file {
	position: relative;
}
p.file label {
	display: block;
}
p.file div.fake-file {
	/*background: url(../img/inputs-2.png) 0 0 no-repeat;*/
	font-size: 1.3em;
	height: 25px;
	padding: 8px 10px 0 10px;
	position: absolute;
	top: 0;
	width: 369px;
}
p.file div.fake-file.form-error {
	color: #9E2006;
}




/* exceptions */

table input[type=text] {
	text-align: center;
	width: 3em;
}
