#SearchControlContent {
	position: relative;
	margin: 0 auto;
	width: 650px;
	height: 245px;
	background-repeat: no-repeat;
	padding-top: 80px;
	background-image: url('../images/backgrounds/edinburgh-skyline-search-form.png');
	z-index: 0;	
}

#line2 .disab label
{
    color: #6E6E94;
    text-decoration: line-through;    
}

#line2 .disab .custom-select select
{
    color: #ccc;
}

#line2 .disab .custom-select::after
{
	border-color: #ccc transparent transparent transparent;
}


#loading
{
	display:none;
}

.dijitSelectMenu
{
    max-height: 200px;
}

#SearchControlContent a 
{
	font-weight: normal;
}

#scHead {
	margin: 7px 15px 0 0;
	float: left;
	width: 115px;
	height: 200px;
}

#scHead ul {	
	margin-left: 5px;
	margin-top: 0px;
	margin-right: 10px;
	line-height: 26px;
	list-style: none;
	padding-left: 4px;
	font-size: 14px;	
	text-align: right;	
}

#scHead li {
	padding-right: 10px;
	border-right: 1px solid #fff;
}

#scHead li.selected {
	color: #fff;
	font-weight: bold;
	width: 85px;
	padding-right: 17px;
	background-image: url('../images/icons/selected-search-arrow.png');
	background-repeat: no-repeat;
	background-position: center right; 
	border-right: 1px none;
}

#scHead a {
	color: #fff;
}

#SearchControlContent label {
	display: block;
	margin-bottom: 3px;
	height: 16px;
}

#SearchControlContent #line1 {
	float: left;
	width: 500px;
	height: 75px;
	margin-top: 12px;
}

search_city {	
	width: 200px;
}

#location {
	height: 100%;
	float: left;
	width: 100%;	
}

#location label {
	font-size: 13px;
	font-weight: bold;
	color: #fff;	
}

#location label, #location select {
	clear: left;
	float:left;
}

#location span.info {
	clear: left;
	font-size: 11px;
	color: #fff;
	padding-left: 5px;	
}

div#rent {
	float: left;
	width: 148px;
}

div#rent .rent-fields {
	width: 64px;
	float: left;
}

#rent label {
	font-size: 12px;
	float: left;
}

#rent .chelp {
	cursor: help;
	padding-left: 4px;
	position: relative;
	top: -1px;
}

div#rent-div
{
	float: left;
	width: 10px;
	color: #fff;
	text-align: center;
	line-height: 1.7em;
}


#line2 label {
	font-size: 12px;
	color: #fff;
}

div#bedroomsCont
{
    width:90px; 
    float:left;
}
div#bedrooms
{
    width:80px;
}
div#ptypeCont
{
    width:180px; 
    float:left;
}
div#ptype
{
    width:170px; 
}
div#furnishingCont
{
    width:80px; float:left;
}
div#furnishing
{
    width:60px;
}

#SearchControlContent #line2 {
	float: left;
	width: 500px;
	height: 60px;
}


#ptype label {
	font-size: 12px;	
	color: #fff;	
}

#furnishing {
	float: left;
	width: 80px;
}

#furnishing label {
	font-size: 12px;	
	color: #fff;	
}

#SearchControlContent #line3 {
	float: left;
	width: 500px;
	height: 65px;
}

#line3 #search-links {
	clear: both;
	float: left;
	padding-top: 8px;
	color: #fff;
	font-size: 13px;
}

#search-links a {
	font-size: 12px;	
	line-height: 1.6em;
	color: #fff;
}

#search-links a img {	
	position: relative;
	top: 1px;
	border: none;
	margin-right: 4px;
}

#line3 #search-button {
	position: relative;
	float: right;
	width: 200px;	
	height: 50px;
	text-align: center;
	margin-top: 5px;
}

#line3 #search-button input {
	margin-top: 5px;
	margin-left: 30px;
}

#SearchControlContent #line3-alert-box {
	float: left;
	width: 505px;
	height: 65px;
	vertical-align: bottom;
}

#line3-alert-box {
	display: none;
}

#line3-alert-box #alerts {
	float: left;
}

#line3-alert-box #alerts input.alertfield {
	float: left;
	width: 98px;
	margin-right: 5px;
	margin-top: 5px;
	border: 1px solid #fff;	
	height: 19px;
	padding: 2px;
}

#line3-alert-box #alerts input.alertbutton {
	float:left;
	margin-top: 5px;
	margin-left: 7px;
}

#line3-alert-box #alerts p {
	font-size: 12px;
	color: #fff;
	margin-top: 0;
	margin-bottom: 0px;
	padding: 0px;
	line-height: 1em;
}

#search-stats {
	position: relative;
	clear: both;
	font-size: 11px;
	margin: 0 0 30px 55px;
	float: left;
}

#search-stats ul {
	margin-top: 5px;
	list-style: none;
	padding-left: 0;
	margin-left: 0;	
}

#search-stats li {	
	padding-left: 9px;
	margin-left: 7px;
	float: left;
	list-style-image: none;
	background-image: url('../images/icons/tiny-bullet.png');
	background-repeat: no-repeat;
	background-position: left center;
	color: #191F6C;	
}

#search-stats li.first {
	margin-left: 0;
	padding-left: 0;
	background-image: none;	
}

#search-stats a {
	color: #833349;
}

#rent span
{
	line-height: 23px;	
}

#rent-fields span
{
	color: #fff;	
}


/* start rounded corners */
		/* Container used for styling the custom select, the buttom class below adds the bg gradient, corners, etc. */
		.custom-select {
			width: 200px;
			position: relative;
			display:block;
			/* margin-top:0.5em; tdk */
			padding:0;
		}

		.custom-select select {
			width:100%;
			margin:0;		
			background:none;
			border: none;
			outline: none;
			/* Prefixed box-sizing rules necessary for older browsers */
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;
			/* Remove select styling */
			appearance: none;
			-webkit-appearance: none;
			font-size:13px;
			color: #000; 
			padding: 3px;
			
		}

		.custom-select::after {
			content: "";
			position: absolute;
			width: 0;
			height: 0;
			top: 50%;
			right: 0.6em;
			margin-top:-4px;
			z-index: -1;
			/* This hack make the select behind the arrow clickable in some browsers */
			pointer-events:none;
			border-style: solid;
			border-width: 7px 4.5px 0 4.5px;
			border-color: #8d8e8f transparent transparent transparent;			
		}
		
		
		.custom-select:before {
			content: "";
			position: absolute;
			width: 100%;
			height: 100%;
			z-index: -2;
			background-color: #fff;
		}

		

		/* Hover style */
		.custom-select:hover {

		}

		/* Focus style */
		.custom-select select:focus {
			outline:none;
			box-shadow: 0 0 1px 3px rgba(180,222,250, 1);
			background-color:transparent;
			color: #222;
			border:1px solid #aaa;
		}

		/* Set options to normal weight */
		.custom-select option {
			font-weight:normal;
		}
		
		#location .select2-container .select2-choice
		{
			border: 0;
			height: 30px;
			font-size: 16px;
			line-height: 32px;
			background-image: none;
			background-color: #fff;
			border-radius: 0;
		}
		
		.select2-default
		{
			color: #000!important;
		}

		.select2-container .select2-choice .select2-arrow
		{
			background: none;
			border: 0;
			width: 22px;
		}
		
		.select2-container .select2-choice .select2-arrow b
		{
			background: url(select-arrow.png) 0px 9px no-repeat;
			background-color: #fff;	
		}
		
	    .custom-select select:focus
	    {
			border-radius: 0;	
	    }
		

		

		/* ------------------------------------  */
		/* START OF BROWSER-SPECIFIC HACKS */
		/* ----------------------------------  */

		/* OPERA - Pre-Blink nix the custom arrow, go with a native select button to keep it simple. Targeted via this hack http://browserhacks.com/#hack-a3f166304aafed524566bc6814e1d5c7 */
		x:-o-prefocus, .custom-select::after {
		  display:none;
		}    

		 /* IE 10/11+ - This hides native dropdown button arrow so it will have the custom appearance, IE 9 and earlier get a native select - targeting media query hack via http://browserhacks.com/#hack-28f493d247a12ab654f6c3637f6978d5 - looking for better ways to achieve this targeting */
		/* The second rule removes the odd blue bg color behind the text in the select button in IE 10/11 and sets the text color to match the focus style's - fix via http://stackoverflow.com/questions/17553300/change-ie-background-color-on-unopened-focused-select-box */
		@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
		  .custom-select select::-ms-expand {
		    display: none;
		  }
		  .custom-select select:focus::-ms-value {
		    background: transparent;
		    color: #222;
		  }
		}  


		/* FIREFOX won't let us hide the native select arrow, so we have to make it wider than needed and clip it via overflow on the parent container. The percentage width is a fallback since FF 4+ supports calc() so we can just add a fixed amount of extra width to push the native arrow out of view. We're applying this hack across all FF versions because all the previous hacks were too fragile and complex. You might want to consider not using this hack and using the native select arrow in FF. Note this makes the menus wider than the select button because they display at the specified width and aren't clipped. Targeting hack via http://browserhacks.com/#hack-758bff81c5c32351b02e10480b5ed48e */
		/* Show only the native arrow */
		@-moz-document url-prefix() { 
		  .custom-select {
		    overflow: hidden;
		  }
		  .custom-select select {
		    width: 120%;
		    width: -moz-calc(100% + 3em);
		    width: calc(100% + em);
		  }
		  
		}

		/* Firefox focus has odd artifacts around the text, this kills that. See https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-focusring */
		.custom-select select:-moz-focusring {
		  color: transparent;
		  text-shadow: 0 0 0 #000;
		}

		/* ------------------------------------  */
		/*  END OF UGLY BROWSER-SPECIFIC HACKS  */
		/* ------------------------------------  */	
/* end rounded corners */
