/* -------------------------------------------------------------
	© IceTheme 2013
---------------------------------------------------------------- */


/* Large desktop */
@media (min-width: 1200px) {
		

	#content #sidebar:after {
		right:400px;
		width: 770px;}
			
	#content #middlecol:after {
		right: -400px;
		width: 370px;}
		
	#footer:before {
		width:370px;}	
	

}


/* Smaller than Large Desktop */
@media (max-width: 1200px) {
	
	#banner { margin-bottom:20px;}
	#banner .banner { margin-bottom:20px; float:none;}


}


/* landscape tablet and desktop */
@media (max-width: 979px) {
	
	
	#header { background-image:none!important; height:auto}

	#logo { margin:15px 0 0; float:none; text-align:center;}
	
	/* Equal Columns */
	#content #sidebar:after {
		right:248px;
		width: 478px;}
	
	#content #middlecol:after {
		right: -248px;
		width: 228px;}
	
	#topbar { margin-bottom:0}

	#content #middlecol { margin-bottom:30px;}	


	#ip_search > .container { background-image:none!important;}
	
		#ip_search > .container .ip_qsmod_holder { width:auto;}
		#ip_search > .container .control-group { margin-bottom:0}
		#ip_search > .container .ip_qsmod_holder .controls { display: block;}
	
	
	#promo,
	#bottom { margin-bottom:15px;}
	
	#promo .moduletable,
	#bottom .moduletable { margin-bottom:30px;}	
	
	
	body .ip-featuredcompanies-thumb-holder img.thumbnail { display:none}
	
	
	/* iproperty */
	body .ptable > tbody > tr > td,
	body .summary_table > tbody > tr > td { display:block; padding: 0; width: auto;}
	
	
	body .summary_sidecol {padding-top: 30px!important;}
	
	
	dl.tabs { float:none; width: 96%;}
		
		dl.tabs dt { display:block; width: 100%; border:none}
	
	body .property_thumb_holder {
		margin: 20px auto 0;}
	
	body .prop_overview_price { background:inherit; border: none;}	
	
	body tr.prop_overview_container > td { padding:10px!important; table-layout:}
	
	body .ip_qsmod input { width: auto!important; display: block!important;}	
	
	
	div.property_slider { width:100%; padding:15px 0}
	
	/* Force table to not be like tables anymore */
	#property_list table, 
	#property_list thead, 
	#property_list tbody, 
	#property_list th, 
	#property_list td,
	#property_list tr,
	
	.ip_company_container table, 
	.ip_company_container thead, 
	.ip_company_container tbody, 
	.ip_company_container th, 
	.ip_company_container td,
	.ip_company_container tr,
	
	.ip_agent_container table, 
	.ip_agent_container thead, 
	.ip_agent_container tbody, 
	.ip_agent_container th, 
	.ip_agent_container td,
	.ip_agent_container tr,
	
	.ip_prop_container table, 
	.ip_prop_container thead, 
	.ip_prop_container tbody, 
	.ip_prop_container th, 
	.ip_prop_container td,
	.ip_prop_container tr,
	
	 table.ip_favorites, 
	.ip_favorites thead, 
	.ip_favorites tbody, 
	.ip_favorites th, 
	.ip_favorites td,
	.ip_favorites tr { 
		display: block;
		width: auto;
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#property_list thead tr,
	.ip_company_container thead tr,
	.ip_agent_container thead tr,
	.ip_prop_container thead tr,
	.ip_favorites thead tr  { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#property_list tr,
	.ip_company_container tr,
	.ip_agent_container tr,
	.ip_prop_container tr,
	.ip_favorites tr     { border: 1px solid #ccc; }
	
	#property_list td,
	.ip_company_container td,
	.ip_agent_container td,
	.ip_prop_container td,
	.ip_favorites td { 
		/* Behave  like a "row" */
		border: none!important;
		text-align: left;
		border-bottom: 1px solid #eee!important; 
		position: relative!important;
		padding:5px!important;
		padding-left: 50%!important; 
	}
	
	#property_list td .ip_centered { text-align:left} 
	
	#property_list td:before,
	.ip_company_container td:before,
	.ip_agent_container td:before,
	.ip_prop_container td:before,
	.ip_favorites td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	#property_list td:nth-of-type(1):before { content: "Price"; }
	#property_list td:nth-of-type(2):before { content: "Prop ID"; }
	#property_list td:nth-of-type(3):before { content: "Street"; }
	#property_list td:nth-of-type(4):before { content: "Beds"; }
	#property_list td:nth-of-type(5):before { content: "Baths"; }
	#property_list td:nth-of-type(6):before { content: "Sqft"; }
	#property_list td:nth-of-type(7):before { content: "Preview"; }
	
	.ip_company_container td:nth-of-type(1):before { content: "ID"; }
	.ip_company_container td:nth-of-type(2):before { content: "Company"; }
	.ip_company_container td:nth-of-type(3):before { content: "Feature"; }
	.ip_company_container td:nth-of-type(4):before { content: "Publish"; }
	.ip_company_container td:nth-of-type(5):before { content: "Delete"; }
	
	.ip_agent_container td:nth-of-type(1):before { content: "ID"; }
	.ip_agent_container td:nth-of-type(2):before { content: "Agent Name"; }
	.ip_agent_container td:nth-of-type(3):before { content: "Feature"; }
	.ip_agent_container td:nth-of-type(4):before { content: "Publish"; }
	.ip_agent_container td:nth-of-type(5):before { content: "Delete"; }
	
	.ip_prop_container td:nth-of-type(1):before { content: "ID"; }
	.ip_prop_container td:nth-of-type(2):before { content: "Address"; }
	.ip_prop_container td:nth-of-type(3):before { content: "Agent"; }
	.ip_prop_container td:nth-of-type(4):before { content: "Approved"; }
	.ip_prop_container td:nth-of-type(5):before { content: "Feature"; }
	.ip_prop_container td:nth-of-type(6):before { content: "Publish"; }
	.ip_prop_container td:nth-of-type(7):before { content: "Delete"; }
	
	.ip_favorites td:nth-of-type(1):before { content: "Title"; }
	.ip_favorites td:nth-of-type(2):before { content: "City"; }
	.ip_favorites td:nth-of-type(3):before { content: "Price"; }
	.ip_favorites td:nth-of-type(4):before { content: "Saved"; }
	.ip_favorites td:nth-of-type(5):before { content: "??"; }
	
		.ip_favorites th { display:none}
		

	
	
		
}


	
	

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	
	#topbar,
	#header,
	#message { margin-left:-20px; margin-right:-20px; padding-left:20px; padding-right:20px;}
	
	#topmenu { clear: right; padding-bottom: 14px; margin-top: 6px; }
	#language { margin-top:5px;}
	
	/* Equal Columns */
	#content #sidebar:after { display:none}
	#content #middlecol:after { display:none}


	.carousel-caption { position: static; max-width: 100%!important }
		#iceslideshow .carousel-control { display:none}
	
	
	#copyrightmenu { float:none;}	
	#copyright { float:none!important; padding:10px 0 0!important}
	p#icelogo a { display:inline-block; margin-top: 7px;}
	
	
	
		

}




/* Landscape phones and down */
@media (max-width: 480px) {
	
	/* Equal Columns */
	#content #sidebar:after { display:none}
	#content #middlecol:after { display:none}
	
	#language { clear: right; margin: -5px 0 15px;}

	.scrollup {
		-webkit-transform:scale(.75);
		-moz-transform: scale(.75);
		-o-transform: scale(.75);
		-ms-transform: scale(.75);
		transform: scale(.75);
		bottom:-12px;
		left:45%;
		display: block!important;
		position:relative!important;}
	
	ul#ice-switcher { display:none}
	
	body.offline_page .inputbox { width:auto}
	
	#search form .inputbox { width:auto}


	
}