.ui-header .ui-title, .ui-footer .ui-title {
	margin: 0 12%;
}
.listing {
	width: 100%;
/*	height: 95px; */
	border: 1px solid #ddd;
}
.listing .img {

	width: 120px;
	float: left;
	margin-right: 5px;
}

.listing.ui-listview > li h1, .listing.ui-listview > li h2, 
.listing.ui-listview > li h3, .listing.ui-listview > li h4, 
.listing.ui-listview > li h5, .listing.ui-listview > li h6 {
margin: 0;
}
.listing.ui-listview > li h2 {
	font-weight: bold;
	font-size: 0.8em;
}
.listing.ui-listview .ui-li-has-thumb > img:first-child, 
.listing.ui-listview .ui-li-has-thumb > .ui-btn > img:first-child, 
.listing.ui-listview .ui-li-has-thumb .ui-li-thumb {
	width: 120px;
	max-width: 7em;
	max-height: 7em;
	float: left;
	margin-right: 5px;
}
.listing .ui-btn-icon-notext::after, .listing .ui-btn-icon-left::after, .listing .ui-btn-icon-right::after {
	top: 80%;
}
	.listing .img > div {
		padding: 5px;
/*		height: 90px; */
	}
	.listing .img img {
	width: 100%;
	height: 100%;
	border: 1px solid #cbcbcb;
	margin-top: 5px;
}
.listing h1, .listing.ui-listview h1 {
	font-size: 1.0em;
	margin: 0;
}
.listing.ui-listview h1 {
    overflow: visible;
    text-overflow: unset;	
}
.listing.ui-listview h2 {
	font-size: 0.8em;
	line-height: 1.2em;
	margin: 0;
    overflow: visible;
    text-overflow: unset;
}
.listing label {
/*	display: inline-block; */
/*	width: 17%; */
/*	text-align:right; */
	float: left;
	line-height: 1.0em;
	font-size: 0.75em;
}
.listing label:nth-child(even),
.detail label:nth-child(even) {
	margin-right: 3px;
}
.detail label:nth-child(odd) {
	margin-right: 10px;
}
.listing p {
	margin:0;padding:0;
}
.listing >div:nth-child(2) {
	float: left;
	width: 50%;
}
.listing.ui-listview > .ui-li-has-thumb > .ui-btn, 
.listing.ui-listview > .ui-li-static.ui-li-has-thumb {
padding-left: 7.25em;
}

.detail {
	border: 0px solid #ddd;
}
.detail .img {
	width: 100%;
	margin-right: 0px;
}
.detail .img > div {
/*		padding: 5px; */
	}
.detail .img img {
	width: 100%;
	height: 100%;
	border: 1px solid #cbcbcb;
}
.detail .text-me {
	text-align: center;
	margin: 10px 0;
}
.detail .text-me span {
	font-size: 1.0em;
}
.detail .text-me i {
  display: inline-block;
  font-size: 1.0em;
    cursor: pointer;
    vertical-align: bottom;
}
.detail h1 {
	font-size: 1.6em;
	margin: 0;
}
.detail h2 {
	font-size: 0.9em;
	line-height: 1.4em;
	margin: 0;
}
.detail label {
	display: inline;
	margin: 0;
	line-height: 1.4em;
	font-size: 0.9em;
	font-weight: bold;
}
.detail p, .detail .ui-grid-b {
	border: 1px solid #888;
	padding: 10px;
	background-color: #F5EBD4;
}
.detail >.ui-grid-b > .ui-block-a {
    margin-left: 10px;
    width: 40%;
    white-space: nowrap;
    overflow: hidden;
}
.detail >.ui-grid-b > .ui-grid-b > .ui-block-b, .detail .ui-grid-b > .ui-block-c {
    width: 18%;
}
.detail >.ui-grid-b .ui-block-b {
	text-align: right;
	padding-right: 4px;
}
.detail .ui-grid-b {
		margin-top: 10px;
}
.detail cite {
	text-align: center;
	display: block;
}
.ui-content .detail footer {
	font-size: 0.8em;
	text-align: center;
}
.clear {
	clear: both;
}
i {
	display:block;font-size: 2.0em;
}

/* 1 column */
.navbar-columns {
	text-align: center;
}
/* 2-column */
.ui-grid-a.nabvar-columns .ui-block-a,
.ui-grid-a.nabvar-columns .ui-block-a {
}
/* 3 column */
.ui-grid-b.navbar-columns .ui-block-a,
.ui-grid-b.navbar-columns .ui-block-c {
	width: 12%;
}
.ui-grid-b.navbar-columns .ui-block-b {
	width: 76%;
	text-align: center;
}
.ui-grid-a.search-field .ui-block-a {
	width: 15%;
}
.ui-grid-a.search-field .ui-block-b {
	width: 85%;
}
#nearby_photo_for_sale .photo-large {
	position: relative;
}
#nearby_photo_for_sale .photo-large img {
	width: 100%;
	height: auto;
}
#nearby_photo_for_sale .photo-large  div {
	position: absolute;
	top:0;
	left:0;
	background-color: #444;
	width: 100%;
}
#nearby_photo_for_sale .photo-large div h2 {
	margin: 0 .5em;
	padding: 0;
	font-size: 0.75em;
	font-weight: normal;
	text-shadow: none;
	color: #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#nearby_photo_for_sale .ui-header h1.ui-title {
	margin: 0.2em;
	padding: 0;
	font-size: 0.8em;
	text-overflow: ellipsis;
	overflow: hidden;
}
#panel3 {
	display:none;
}
#panel3 .login-join {
	margin: 35px -.2em 0 -0.7em;
}
.login-join h3 {
	font-size: 0.8em;
}
#owl-example div img {
	 width: 100%;
 }
#owl-example div h1 {
	font-size: 1.4vw;
	color: #c00;
	margin: 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#owl-example div h2 {
	font-size: 0.8em;
	margin:0;
	color: #008;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
@media only screen and (min-width : 500px) {
	#nearby_for_sale_photo .ui-content .detail {
	    float: left;
	    margin: 1%;
	    width: 31%;
	}
	#nearby_for_sale_photo .ui-content .detail > .ui-grid-b > .ui-block-a {
		width: 45%;
		margin-left: 0px;
	}
	#nearby_for_sale_photo .ui-content .detail h1 {
		font-size: 3.0vw;
	}
	#nearby_for_sale_photo .ui-content .detail h2 {
		font-size: 1.5vw;
	}
	#nearby_for_sale_photo .ui-content .detail .ui-grid-b {
		font-size:1.6vw; 
		padding: 6px;
		height: 7vw;
	}
	.detail .img {
		height: 100%;
		overflow: hidden;
		margin: 5px 0;
	}
}
#mapdiv {
	height: 100vw;
}
.ui-dialog-contain .detail p {
	border: none;
	background-color: transparent;
	padding: 0;
}