@charset "utf-8";

body{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #003;
	padding-top: 70px;
}

@media all and (max-width: 50em) {
	.my-breakpoint .ui-block-a, 
	.my-breakpoint .ui-block-b, 
	.my-breakpoint .ui-block-c,
	.my-breakpoint .ui-block-d,
	.my-breakpoint .ui-block-e { 
		width: 100%; 
		float:none; 
	}
}

@media all and (min-width: 75em) {
	.my-breakpoint.ui-grid-b .ui-block-a { width: 49.95%; }
	.my-breakpoint.ui-grid-b .ui-block-b, 
	.my-breakpoint.ui-grid-b .ui-block-c { width: 24.925%; }
	.my-breakpoint.ui-grid-b .ui-block-a { clear: left; }
	}
}

* { 
	margin: 0; 
	padding: 0; 
}


#page-wrap {
	margin: 20px;
}

p {
	margin: 20px 0; 
}

	/* 
	Generic Styling, for Desktops/Laptops 
	*/
	table { 
		width: 100%; 
		border-collapse: collapse; 
	}
	/* Zebra striping */
	tr:nth-of-type(odd) { 
		background: #eee; 
	}
	th { 
		background: #333; 
		color: white; 
		font-weight: bold;
	}
	td, th { 
		padding: 6px; 
		border: 1px solid #ccc; 
		text-align: left; 
	}

	
	#page-wrap > div{
		margin: 1em;	
	}
	
	img#house_custom {
		width: 95%; 
		max-width: 500px;
		border: 5px solid #737373;
	}
	
	#pix{
		text-align: center;
		margin-bottom: 1em;
	}

/* RESPONSIVE TABLE BEGINS */
/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
		/* Force table to not be like tables anymore */
		table, thead, tbody, th, td, tr { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		thead tr {
			display: none;
		}
		
		tr { 
			border: 1px solid #ccc;
			padding: 5px; 
		}
		
		td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			font-weight: bold;
		}
		

		
		/*
		Label the data
		*/
		td:nth-of-type(1):before { content: "Location:  "; }
		td:nth-of-type(2):before { content: "Zip Code:  "; }
		td:nth-of-type(3):before { content: "Bed:  "; }
		td:nth-of-type(4):before { content: "Bath:  "; }
		td:nth-of-type(5):before { content: "Sq. Feet:  "; }
		td:nth-of-type(6):before { content: "Year Built:  "; }
		td:nth-of-type(7):before { content: "Payment Type:  "; }
		td:nth-of-type(8):before { content: "Cost: "; }
	}
	
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 480px) {
		body { 
			padding: 0; 
			margin: 0; 
			width: 320px; }
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body { 
			width: 495px; 
		}
	}
/* RESPONSIVE TABLE ENDS */

/*NAVBAR BEGINS*/
ul.nav li:hover{
background-color: #5cb85c;

-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;	

}

ul.nav li{

-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;	
}
/*NAVBAR ENDS*/

div.browse{
	padding-bottom: 5em;
	
}

pre > a > img{
	width: 100%;
	opacity:1.0;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;	
}

pre > a > img:hover{
opacity:0.3;
filter:alpha(opacity=30); /* For IE8 and earlier */

-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;	
}

pre.pix {
	background-color: #999;	
}

div.browse_content{
	font-family: Arial, Helvetica, sans-serif;
	overflow: visible;
	
}

div.browse_content > span{
	font-weight: bold;	
}

span.no_result{
	color: #900;
	font-weight: bold;	
}

div.contact_form .contact {
	
	max-width: 500px;
	width: 100%;
	margin: 5px;	
}

img.contact_img{
	float: left; 
	margin-bottom: 10em; 
	margin-right: 2em
}

@media screen and (max-width: 1024px) {

    img.contact_img {
        display: none;
    }

}