/* =====================================================================	
		form.css
========================================================================
   	Author: Ben Browning
   	Date: Nov 2009
------------------------------------------------------------------------
	Comments
------------------------------------------------------------------------
   
   	
   	
========================================================================*/ 



/* General styles
------------------------------------------------------------------------*/

input, select, textarea {
	color:#666;
	font-family: arial, helvetica, sans-serif;
}
label {
	color:#000;
}
input.button {
	cursor: pointer;
	height:22px !important;
	padding:0 !important;
}

form.basic label,
form.basic input,
form.basic textarea{
	float:left;
	display: block;	
	margin: 0 0.8em 0 0;

}

form.basic label em {
	color: #008AD1
}

div.fieldRow {
	overflow:hidden;
	padding:0.5em;
	margin-bottom: 0.2em;
}

form.basic label {
	width: 8em;
	text-align: right;
	padding-top: 3px;
}
form.basic br {
	clear:both;
}

form.basic input[type="text"],form.basic input[type="password"],form.basic input[type="file"], form.basic textarea {
	border: 1px solid #c9caca;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 3px 5px;
	font-size: 1em;
	width: 20em;
}

form.basic textarea {
	width: 500px;
}

form.basic input[type="submit"] {
	color: #000;
}

form.basic p.error {
	float:left;
	margin:0;
	padding:0.3em 0 0.3em 1.8em;
	border:0;
	width: 245px;
}

form.basic {
	margin:1em 0;
}

/* Deal with file input  */
div.fileinputs {
	position: relative;
	float:left;
}
/* fake input sits underneath real file input */
div.fakefile {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	width: 400px
}
input.file {
	margin-right: 0 !important;
	width: 320px !important;
}
/* when hidden by javascript */
input.file.hidden{
	position: relative;
	text-align: right;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	opacity: 0;
	z-index: 2;
}


/* Quick Search form
------------------------------------------------------------------------*/
form#search {
	padding-bottom: 15px;
	overflow: hidden;
	height:1%;
}
form#search input,
form#login input {
	border:0;
	background-color: #eee !important;
	float:left;
	font-size: 1em;
	height: 16px;
	padding: 4px 8px 2px 8px;
	
}
form#search label {
	font-size: 0.9em;
	margin-bottom: 2px;
	display:block;
}
form#search input#keywords {
	width: 134px;
	background: #fff url(../img/structure/bg_search_field.gif) 100% 0 no-repeat;
	margin-right: 3px;
	padding: 3px 8px 3px 8px;
}

form#search input#keywords:focus {
	background-position: 0px -22px;
}


/* Mini form
------------------------------------------------------------------------*/

.mini_form input.text {
	width:80px;
	float:left;
	margin-right:5px;
}

.mini_form input.button {
	overflow:visible;
}



/* Login form
------------------------------------------------------------------------*/
form#login {
	float: left;
	overflow: hidden;
	font-size: 0.9em;
	margin-top:1px;
}

form#login label {
	font-weight: bold;
	float:left;
	padding: 3px 5px 0 0;
}
form#login input#email {
	width: 108px;
	background: #fff url(../img/structure/bg_email_field.gif) 100% 0 no-repeat;
	margin-right: 3px;
}
form#login input#email.init {
	background-position: 0px -22px;
}
form#login input#email:focus {
	background-position: 0px -44px;
}
form#login input#password {
	width: 84px;
	height: 16px;
	background: #fff url(../img/structure/bg_password_field.gif) 100% 0 no-repeat;
	margin-right: 3px;
}
form#login input#password.init {
	background-position: 0px -22px;
}
form#login input#password:focus {
	background-position: 0px -44px;
}

