form {
	width: 100%;
	margin: 0 0 20px 0; padding: 0;
	clear: both;
	}

	fieldset {
		margin: 0 0 10px 0 !important; padding: 10px;
		border: 1px solid #eee;
		}

	.compact fieldset {
		margin: 0 0 10px 0; padding: 0 0 10px 0;
		border: none; border-bottom: 1px solid #CFC9A8;
		}

		legend {
			display: none;
			}
			
	.fieldgroup {
		width: 100%;
		float: left;
		padding: 0;
		}

		.inline-labels .fieldgroup, .fieldgroup label {
			display: block;
			float: left;
			margin: 0 0 5px 0;
			width: 49%;
			}

		.fieldgroup.extended label {
			width: 100%;
			}

			 .prelabel, .inline-labels .prelabel {
				width: 32%;
				float: left;
				padding: 2px 0;
				}

			.fieldgroup input, .fieldgroup textarea, .fieldgroup select {
				float: left;
				width: 62%;
				margin: 0; padding: 0;
				}

			.fieldgroup input {
				/* background-color: #fff !important; gets rid of the yellow background that Firefox's auto-fill feature puts on form text inputs */
				}
				
			.fieldgroup.extended input, .fieldgroup.extended textarea, .fieldgroup.extended select {
				float: left;
				width: 95%;
				margin: 0; padding: 0;
				}

			input, select, textarea, button {
				}

	#content .btnset {
		padding: 0 0 10px 0; margin: 0;
		position: relative;
		}
		
		#content .btnset ul {
			margin: 0; padding: 0;
			list-style: none;
			}
		
			#content .btnset ul li {
				margin: 0; padding: 0;
				list-style: none;
				float: left;
				}
				
			.btnset a, .btnset button {
				display: block;
				display: inline; /* Fix IE 6 double-margin bug */
				float: left;
				margin: 0 7px 0 0;
				background-color: #f5f5f5;
				border: 1px solid #dedede;
				border-top: 1px solid #eee;
				border-left: 1px solid #eee;
				font-size: 92%;
				line-height: 130%;
				text-decoration: none !important;
				color: #565656;
				cursor: pointer;
				padding: 5px 10px; /* Links */
				}
		
			.btnset button {
				width: auto;
				overflow: visible;
				padding: 1px 7px 0; /* IE6 */
				}
		
			.btnset button[type] {
				padding: 2px 7px; /* Firefox */
				line-height: 16px;
				}

			.btnset button img, .btnset a img {
				margin: 0 0 -3px 0 !important;
				padding: 0;
				border: none;
				width: 16px; height: 16px;
				}
				
			.btnset a:hover {
				background: #f4f4f4;
				color: #666;
				}

			#content .btnset a.important {
				color: #fff; background: #AF2B2B;
				border-color: #990000;
				}

			#content .btnset a.important:hover {
				color: #fff; background: #AF1515;
				border-color: #cc0000;
				}
	
.tip {
	clear: left;
	margin: 0 0 10px 0; color: #666;
	font-size: 85%;
	}

label em, .required {
	color: red;
	}

.legend {
	color: #666;
	margin: 0 0 10px 0; padding: 0;
	background: #fff;
	}

.grplabel {
	float: none !important;
	font-weight: bold;
	clear: both;
	display: block !important;
	width: auto;
	}

.toggle .grplabel {
	margin: 0; padding: 0 0 10px 0;
	}

.fieldgroup .set input, .fieldgroup .set select {
	width: auto;
	margin-right: 5px;
	}



		/* Block Labels */



.block-labels .fieldgroup label {
	margin: 0 0 5px 0;
	}

	.block-labels .prelabel, .extended .prelabel {
		display: block;
		width: 100%;
		float: none;
		padding: 0 0 1px 0;
		}

	.block-labels input, .block-labels textarea, .block-labels select {
		width: 95%;
		}

.block-labels .tip {
	margin: 0 0 10px 0;
	}

.toggle {
	padding: 10px 0;
	}

.toggle input, .toggle select {
	float: none;
	width: auto;
	}

.toggle label {
	float: none;
	display: inline;
	width: auto;
	margin-right: 5px;
	}

	.block-labels .toggle label {
		display: block;
		}


/* Widgets */


.form-tools {
	padding: 20px 0 0 0;
	float: left;
	}

.widget.togglegrp {
	clear: left;
	width: 100%;
	float: left;
	background: #fff;
	border-bottom: 1px solid #d6d6d6;
	}

	#content .widget .tg-tools {
		padding: 5px 10px 5px 10px;
		border-bottom: 1px solid #ccc;
		background: #eee;
		}

	#content .widget .tg-content {
		max-height: 400px;
		overflow: auto;
		padding: 3px;
		}

		#content .widget.togglegrp ul {
			list-style: none;
			margin: 0; padding: 0;
			font-size: 85%;
			}

			.widget.togglegrp ul li {
				list-style: none;
				margin: 0; padding: 0;
				white-space: nowrap; overflow: hidden;
				}

.widget.citylist {
	clear: left;
	width: 100%;
	float: left;
	background: #eee;
	border-bottom: 1px solid #ccc;
	padding: 10px 0; margin: 0 0 10px 0;
	}

	.widget.citylist h6 {
		margin: 0; padding: 0 10px 10px 10px;
		}

	.widget.citylist ul {
		margin: 0; padding: 0 10px;
		list-style: none;
		}

		.widget.citylist ul li {
			margin: 0; padding: 0 0 1px 0;
			list-style: none;
			width: 20%; float: left;
			}

			.widget.citylist ul li a {
				text-decoration: none;
				font-size: 85%;
				padding-left: 12px;
				background: url(/img/ico-add.gif) no-repeat 0 center;
				}


	/* For Multi-Upload */

.file {
	display: inline;
	}
	
.msg {
	border: 1px solid #ddd;
	padding: 10px 10px 0 10px;
	margin: 0 0 20px 0;
	}
	
	.msg .title {
		background: #ccc;
		padding: 5px 10px;
		margin: -10px -10px 10px -10px;
		}
		
	.msg.errors .title {
		background: #cc0000; color: #fff;
		}
		
	.msg.success .title {
		background: #669900; color: #fff;
		}
		
	.msg.warning .title {
		background: #ff9900; color: #fff;
		}
		

/* Quick Search on Home Page 
=========================================*/

form#quick-search-splash {
	padding-top:3px; 
	font-size:12px;
	color:#666;
	}
	
	form#quick-search-splash input, form#quick-search-splash select {
		margin-right:9px;
		color:#666;
		font-size:11px;
		float:left;
		}
		
	form#quick-search-splash input#search_string {
		background:#fff url(images/mag-glass.gif) no-repeat 0 1px;
		width:240px;
		padding:2px 2px 2px 20px;
		border:1px solid #7F9DB9;
		}
	
	form#quick-search-splash input#search_mls {
		width:245px;
		padding:1px 1px 1px 20px;
		background: #fff url(images/mag-glass.gif) 0 0 no-repeat;
		}		
		
	form#quick-search-splash select#price_min, form#quick-search-splash select#price_max {
		width:70px; 
		}
		
	form#quick-search-splash label.price_max {
		margin-top:15px;
		}
	
	form#quick-search-splash select#prop_type {	
		width:112px; 
		}
		
	form#quick-search-splash select#minimum_bedrooms, form#quick-search-splash select#minimum_bathrooms {		
		width:54px; 
		}
		
	form#quick-search-splash select#minimum_sqft {
		width:70px; 
		margin-right:8px;
		}
		
	form#quick-search-splash button {
		border:1px solid #fff;
		border-right:1px solid #ccc;
		border-bottom:1px solid #ccc;
		padding-right:3px;
		padding-left:3px; 		
		}		
		
/* Quick Search Form (in sidebar) 
===========================================*/

#quick-search .search-field {
	margin:0; padding: 3px 0 2px 22px;
	background: #fff url(images/mag-glass.gif) no-repeat 3px 3px;
	width: 106px;
	}
	
#quick-search label {
	display: block;
	border: 0px solid #000;
	margin:0; padding: 3px 0 3px 0;
	width: auto;
	}
	
	#quick-search .li-left, #quick-search .li-right  {
		float: left;
		border: 0px solid #000;
		padding: 0; margin: 0;
		width: 70px;
		}
		
	#quick-search select {
		width: 134px;
		}

	#quick-search .li-left select, #quick-search .li-right select {
		width: 64px;
		}
		
	#quick-search #search-btn {
		background-color: #f3f3f3;
		border-left: outset #fff 2px;
		border-top: outset #fff 2px;
		float: left;
		}
		
	#quick-search #save-search {
		margin:  0 0 0 15px; padding: 0; 
		border: 0px solid #000;
		float: left;
		}		
		
/* Mini-Contact Form (Help Page, etc.)
===========================================*/

#mini-contact-form {
	width:384px;
	float:right;
	margin-right:35px;
	}
	
	#mini-contact-form .tl {
		background: transparent url(images/bg-details-primary-tl.gif) no-repeat left top;
		}
		
		#mini-contact-form .tr {
			background: transparent url(images/bg-details-primary-tr.gif) no-repeat right top;
			}
			
			#mini-contact-form .bl {
				background: transparent url(images/bg-details-primary-bl.gif) no-repeat left bottom;
				}
				
				#mini-contact-form .br {
					background: transparent url(images/bg-details-primary-br.gif) no-repeat right bottom;
					}	

	#mini-contact-form form {
		padding-top:10px;
		}
				
		#mini-contact-form fieldset {
			border:none;
			}
			
		#mini-contact-form .fieldgroup {
			width:100% !important;
			}
			
			#mini-contact-form label {
				width:100%; 
				}
			
				#mini-contact-form span.prelabel {
					text-align:right;
					display:block;
					padding-right:5px;
					width:17% !important;
					float:left;
					}
				
				#mini-contact-form input, #mini-contact-form textarea {
					width:78% !important;
					float:right;
					margin-right:6px;
					}
			
		#mini-contact-form .btnset {
			float:right;
			}
			
			
/* IDX Forms */

#mini-contact-form form#see-it .prelabel {
	margin-top:-3px;
	}
	
/* Blog Forms */

form#searchform {
	width:219px; height:30px;
	background:#70bf44;
	float:right;
	border-left:1px solid #fff;
	border-right:1px solid #666; 
	font-size:12px;
	margin-top:-30px;
	}
	
	form#searchform input#s {
		margin:7px 0 7px 15px;
		border:none;
		}
		
	form#searchform input#searchsubmit {
		width:28px; height:18px;
		margin:0 0 6px 5px; padding:0;
		border:none;
		background:#797979;
		border: 1px solid #fff;
		color:#fff;
		overflow:hidden;
		font-size:11px;
		}