/* Form Layout based on Nick Rigby's 'Prettier Accessible Forms' */
/* View here: http://alistapart.com/articles/prettyaccessibleforms */

form fieldset {
	background-color: inherit;
	border: 1px solid black;
	/*
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#eff), to(#dde));
	background: -moz-linear-gradient(#eff, #dde 100%);
	background: linear-gradient(#eff, #dde 100%);
	*/
}
form fieldset fieldset { background: none; }
form fieldset { margin-bottom: 10px; }
form fieldset ol {
	margin: 0;
	padding: 0;
}
form fieldset li,
form fieldset div {
	list-style: none;
	background: url(/img/css/form-divider.gif) left bottom repeat-x;
	padding: 2px 0 5px;
}
form fieldset div div{
	padding: 0;
	background: none;
}
form fieldset fieldset {
	border: none;
	margin: 3px 0 0;
}
form fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: normal;
}
form fieldset fieldset label {
	display: block;
	width: auto;
}
form legend {
	padding: 0 5px;
	margin: 0 5px;
	font-weight: bold;
}
form label {
	display: inline-block;
	width: 30%;
	vertical-align: top;
  	text-align: right;
	padding: 0 0.5em 0 0;
}
form fieldset fieldset label { margin-left: 31%; } /* Width plus 3px (html space) */
/*\*//*/ form legend { display: inline-block; } /* IE Mac legend fix */
form input, 
form textarea, 
form select, 
form div.input select{
	background-color: #FFF;
  color:#666666;
	padding: 0 0.1em;
}
form input {
	line-height: 1.3em;
	height: 1.3em; /* force to be same as label line height */
}
form input, form textarea {
	width: 50%;
}
form input[type=checkbox] {
	margin: 0;
	width: 15px;
}
form input[type=submit] {
	height: auto;
	width: auto;
	padding: 0.2em 1em;
	margin: 0 0 0 36%;
  background: #eeeeee;
  border:1px solid #cccccc;
  color: #666666;
  font-size: 11px;
  font-weight: bold;
}
form input[type=file] {
	height: auto;
	width: 50%;
	padding: 0 1em;
	margin: 0 0 0 0;
}
form input[type=hidden] {
	height: 0;
	width: 0;
	padding: 0;
	margin: 0;
}
form input.form-error, 
form textarea.form-error, 
form select.form-error {
	background-color: #Fcc;
}
form em {
	font-weight: bold;
	font-style: normal;
	color: #f00;
}
#loginform div.infobox {
  float: right;
  width: 150px;
  height: auto;
  margin: 0px 0px 10px 10px;
  padding: 5px;
  border: 1px solid #666666;
  background-color: #ffffe1;
  color: #666666;
  font-size: 88%;
}
div.input {
	clear: left;
}

/* tooltip styling for forms */
div.tooltip {
	background-color:#000;
	border:0px solid #666;
	padding:10px 15px;
	width:25%;
	display:none;
	color:#fff;
	text-align:left;
	font-size:12px;
	-moz-box-shadow:0 0 10px #000;
	-webkit-box-shadow:0 0 10px #000;
	box-shadow: 5px 5px 5px #333;
	border-radius:  4px 4px 0 0;
}
body.map div.tooltip {
	width:50%;
}
div.tooltip h3 {
	margin-top: 0;
	color: #FFF;
	font-weight: bold;
}

