/****************************
   forms.css
   (C) Mangrove 2008
   Form style properties
*****************************/

form, legend {
	border: 0;
	margin: 0;
	padding: 0;
}

form {
	border-top: 1px solid #dbdbdb;
	margin-bottom: 20px;
	padding-top: 10px;
}

fieldset {
	padding: 10px 0;
	margin-bottom: 10px;
	border: 0;
	border-bottom: 1px solid #dbdbdb;
}

form p {
	clear: left;
	margin: 0 0 0.6em;
	text-align: left;
}

p.error {
	display: block;
	padding: 3px;
	color: #f00;
	width: 196px;
	text-align: left;
	line-height: 1.1em;
	clear: left;
	background-color: #f1f1f1;
}	

legend span, label span {
	position: absolute;
	width: 0;
	overflow: hidden;
}

/* default label, input & textarea status */
label {
	float: left;
	width: 14em;
}

label.fields_on, label:focus {
	color: #c00; 
}

input, textarea, select {
	vertical-align: middle;
}

textarea { 
	width: 200px; height: 70px;
	border: 1px solid #dbdbdb;
}

input.fields_off {
	border: 1px solid #dbdbdb;
	padding: 2px;
	width: 200px;
}

input.fields_on, input:focus, 
textarea.fields_on, textarea:focus,
select.fields_on, select:focus {
	border: 1px solid #c46389;
}

div.radiocheckbox {
	float: left;
	overflow: hidden;
}

div.radiocheckbox input, div.radiocheckbox label {
	float: left;
}

div.radiocheckbox label.radiolabel { width: 165px; height: 30px; margin: 5px 0 0 0;}

div.radiocheckbox label {width: 60px;}

p#captcha_image { margin: 0 0 0 200px;}

/* default button status */
input.btn_normal, input.btn_hover {
	cursor: pointer;
	border: 0;
}

form input.btn_normal {
	float: left;
	width: 153px;
	height: 23px;
	margin-left: 5px;
	border: 0;
	background-image: url(/images/forms_sprite.gif);
	background-repeat: no-repeat;
	background-position: 0 -80px;
	background-color: #ececec;
	color: #4d5355;
}

#form_tellus { 
	height: 400px;
}

/* form search */

form#form_search{
	margin: 0;
	padding: 0;
	border: 0;
}

form#form_search fieldset{
	margin: 0;
	padding: 0;
	border: 0;
}

form#form_search p {
	clear: none;
}

form#form_search {
	width: 213px;
	margin: 10px 0 0 0 ;
}

form#form_search label {
	display: none;
}

form#form_search input.fields_off, form#form_search input.fields_on {
	float: left;
	width: 143px;
	height: 23px;
	border: 0;
	background-image: url(/images/forms_sprite.gif);
	background-repeat: no-repeat;
	background-position: 0 -80px;
	padding: 4px 5px 0 5px;
	color: #4d5355;
}

form#form_search input.btn_normal, form#form_search input.btn_normal:hover {
	float: left;
	width: 53px;
	margin-left: 5px;
	height: 1.66em;
	border: 0;
	background-image: url(/images/forms_sprite.gif);
	background-repeat: no-repeat;
	background-position: 0 -120px;
	background-color: #ececec;
	color: #4d5355;
}

/* form newsletter */
div#footer form {
	border: 0;
}

div#footer form fieldset{
	margin: 0;
	padding: 0;
	border: 0;
}

div#footer form p.error {
	background-color: #d8d8d8;
	color: #000;
	padding: 2px;
}

div#footer form label.radio {
	display: inline;
}

div#footer form label {
	display: none;
}

div#footer form label.visible {
	display: block;
}

div#footer form input.fields_off, div#footer form input.fields_on {
	width: 193px;
	border: 0;
	height: 1.46em;
	background-image: url(/images/forms_sprite.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: #757474;
	padding: 4px 5px 0 5px;
	color: #fff
}

div#footer form input.btn_normal {
	width: 93px;
	height: 1.75em;
	float: right;
	border: 0;
	background-image: url(/images/forms_sprite.gif);
	background-repeat: no-repeat;
	background-position: 0 -40px;
	background-color: #757474;
	color: #fff;
}

div#footer form div.chkbox {
	float: left;
	width: 100px;
	overflow: hidden;
}

div#footer form div.button {
	float: right;
	width: 100px;
	overflow: hidden;
}

div#footer form div.chkbox label, div#footer form div.chkbox input {
	float: left;
}

div#footer form div.chkbox p {
	clear: both;
}

div#footer form label {
	width: 6.6em;
}

div#footer form input.error, div#footer form input.error {
	background-position: 0 -160px;
	color: #4a2b28;		
}

div#footer form label.error {
    background-color: #ff9092;
    color: #4a2b28; 
}
div#footer form label.success {
    color: #4a2b28; 
}

#form_newsletter {
	margin: 0;
	padding: 0;
}