/* search by distance box | responsive 42 */

aside.left.masonry .sbd-box,
aside.middle .sbd-box,
aside.top .sbd-box,
aside.bottom .sbd-box {
	width: 70%;
}
.sbd-box div.single-item {
	margin-bottom: 20px;
}
.sbd-box div.single-item > select {
	width: 100%;
}
.sbd-box div.three-items > select {
	width: 28%;
	margin-left: 4%;
}
.sbd-box div.three-items > input[type=text] {
	width: 36%;
}
.sbd-box div.nav {
	padding-top: 20px;
}

/* page styles */
div#listings span.sbd-target {
	background: url('target.png') 0 2px no-repeat;
	padding: 0 2px 0 19px;
}
div.sbd_label {
	white-space: nowrap;
	z-index: 100000;
	position: absolute;
	padding: 2px 5px;
	line-height: 14px;
	width: auto;
	background: #c17111;
	border: 1px #9c5100 solid;
	border-radius: 2px;
	color: white;
	font-size: 11px;
}

table.sbd_baloon td.thumbnail {
	vertical-align: top;
	padding-right: 20px;
}
table.sbd_baloon td.thumbnail img {
	width: 90px;
}
table.sbd_baloon table.table {
	width: auto!important;
	table-layout: fixed;
}
table.sbd_baloon table.table td {
	line-height: 20px;
	min-height: 20px;
}
table.sbd_baloon table.table td.name {
	padding: 0 0 2px; 
	width: 90px;
}
table.sbd_baloon table.table td.name > div {
	width: 90px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	background: none;
}
table.sbd_baloon table.table td.value {
	padding: 0 0 2px; 
}
table.sbd_baloon .sbd_title {
	padding: 0 0 5px;
}

#sbd_count {
	padding: 10px 0 0 20px;
}
h1.sbd-state {
	margin-bottom: 0!important; 
}

/*** TABLET VIEW ***/
@media screen and (min-width: 768px) and (max-width: 959px) {
	aside:not(.two-middle):not(.masonry) .sbd-box > div > div {
		display: inline-block;
		vertical-align: top;
	}
	aside:not(.two-middle):not(.masonry) .sbd-box div.single-item {
		width: 30%;
		margin-right: 2%;
	}
	aside:not(.two-middle):not(.masonry) .sbd-box div.three-items {
		width: 45%;
	}
	aside:not(.two-middle):not(.masonry) .sbd-box div.nav {
		padding-top: 0;
		width: 21%;
		margin-left: 2%;
	}
	aside:not(.two-middle):not(.masonry) .sbd-box div.nav > input {
		line-height: 37px;
		height: 37px;
		width: 100%;
	}
	aside.left.masonry .sbd-box {
		width: 100%;
	}
}

body[dir=rtl] .sbd-box div.three-items > select {
	margin-left: 0;
	margin-right: 4%;
}

/* search by distance box | responsive 42 end */