/* @override 
	http://www.blueheronva.com/wp-content/themes/blueheron-mobile/style.css */

/*
	Theme Name: Blue Heron Mobile Responsive
	Description: This is a child theme for Blue Heron's website that makes it Mobile Responsive
	Author: Dave Parker
	Author URI: http://www.vectec.org/
 
	Template: blueheron
*/

/* Import the original style.css code */
@import url("../blueheron/style.css");

.container {
	max-width: 850px;
	margin: 0 auto;
	box-sizing: border-box;
}

.container tbody, .property-listings-page tbody {
	max-width: 850px;
	display: table;
	table-layout: fixed;
	box-sizing: border-box;
}

.property-listings-page p {
	padding: 0;
}

embed,
iframe,
img,
object,
video {
	max-width: 100%; 
}

img {
	height: auto;
	width: auto; /* IE8 */
}

.property-image {
	max-width: 450px;
}

td.field {text-align: right;}

.hp-sidebar {
	padding: 10px;
}

body p {
	padding: 0 20px;
}

body p, .leftlinks {
	font-size: 12px;
	line-height: 18px;
}

#footer p, #copyright p {
	font-size: 12px;
	line-height: 18px; 
}

.footer {
	margin-top: 20px;
	border-top: 1px solid #989bbc;
	padding-top: 20px;
}

.page-table {
	width: 100%!important;
}

#wprmenu_bar {
	background: #7396be!important;
}

.ques-table table {
	margin: 0;
}

.ques-table .webform {
	margin: 0 auto;
}

tr.images-border, .images-border img {
	height: 40px!important;
}

.desci {
	padding: 20px 0;
}



@media screen and (max-width:851px) {
	a.menu-a {
		display: block;
		padding: 10px 0;
		color: #fff!important;
		font-size: 18px;
		text-decoration: none;
		font-weight: bold;
		text-align: left;
		padding-left: 40px;
		background: #7396be url(images/menu.png) no-repeat 10px center;
	}
	
	.mm-menu {
		border-right: 2px solid #ccc;
	}
	
	#navi .highlight a {
		font-weight: bold;
	}
	
	#hide-navi {
		padding: 0;
	}
	
	.property-page, .property-page table {
		display: inline;
	}
	
	table.year { 
		position: absolute;
	}
	
	.rwd-table {
		height: 500px;
	}
	
	
}

@media screen and (max-width:851px) {
	
	.property-image {
		max-width: 100%;
		width: auto;
	}
	
	td.property-image-td1, td.property-image-td2 {
		display: block;
		text-align: center;
		padding: 0;
		padding: 20px 0;
		overflow: hidden;
	}
	
	td.property-image-td1 img, td.property-image-td2 img {
		float: right;
		margin-right: 20px;
	}	
	
	td.property-image-td1 img:first-child, td.property-image-td2 img:first-child {
		float: left;
		margin-left: 20px;
	}
	
	td.property-info {
		display: block;
		text-align: center;
		clear: both;
	}
	
	td.property-info p {
		text-align: center;
	}

}


@media screen and (max-width:720px) {

	td.property-image-td1 img, td.property-image-td1 img:first-child, td.property-image-td2 img, td.property-image-td2 img:first-child {
		float: none;
		margin: 0 auto;
	}
	
}

@media screen and (max-width:500px) {

	.hp-table td {
		display: block;
		width: 100%;
	}
	
	.hp-sidebar {
		overflow: hidden;
		padding: 0;
		margin: 20px 0;
	}
	
	.hp-sidebar #leftnav li {
		border: 1px solid #fff;
		margin: 10px;
		padding: 10px;
		text-align: center;
	}
	
	div#leftnav { 
		width: 100%;
	}
	
}