#db-search {
	max-width: 1085px;
	margin-top: 0px;
	margin-bottom: 40px;
	margin-left: auto;
	margin-right: auto; 
	padding-bottom: 0px;
	padding-left: 15px;
	padding-right: 15px;
	border: 0px dotted red;
}

#db-search h2 {
	font-size: 30px; 
	font-family: "futura_ltheavy";
	font-weight: normal;
	margin-top: 40px; 
	margin-bottom: 0px;
	color: #2c4465;
	opacity: 0.7;
}

/* TOOLBAR 
 * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#toolbar {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
	height: 50px;
}

#toolbar p {
	font-size: 14px;
	color: #b9b9b9;
}

#toolbar .available {
	clear: left;
	float: left;
	display: inline;
	margin: 0px;
	margin-top: 5px;
	padding: 0px;
	padding-left: 10px;
	padding-right: 15px;
	font-family: "futura_ltregular";
}

#toolbar .available .label {
	font-family: "futura_ltregular";
}

#toolbar .available .num {
	color: #747474;
	font-family: "futura_ltregular";
}

#toolbar ul.filter {
	display: inline-block;
	float: left;
	margin-top: 5px;
	margin-left: 0px;
	margin-bottom: 20px;
	padding-left: 0px;
	padding-right: 5px;
	text-align: left;
	font-family: "futura_ltregular";
}

#toolbar ul.filter li {
	display: inline-block;
	margin-left: 10px;
	font-size: 14px;
	cursor: pointer;
	color: #999;
	text-align: left;
}

#toolbar ul.filter li span {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-bottom: -1px;
	border-radius: 2px;
	background-image: url('../images/button-clear3.png');
	background-size: cover;
	opacity: 0.8;
}

#toolbar ul.filter li:hover {
	color: #333;
}

#toolbar ul.filter li:hover span {
	opacity: 1;
}

#toolbar .sortby {
	display: inline;
	margin: 0px;
	padding: 0px;
}

#toolbar .viewby {
	float: right;
	display: inline;
	margin: 0px;
	padding: 0px;
}

#toolbar .sortby a,
#toolbar .viewby a {
	color: #b9b9b9;
}

#toolbar .sortby a:hover,
#toolbar .viewby a:hover {
	color: #549ad8;
}

#toolbar .sortby a.selected,
#toolbar .viewby a.selected {
	color: #747474;
}

#toolbar .label {
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* PAGINANTION 
* * * * * * * * * * * * * * * * * * * * * * * * * * * */

#db-search p.pagination {
	clear: both;
	border-top: 1px solid #b8b8b8;
	border-bottom: 1px solid #b8b8b8;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 0px;
	margin-top: 0px;
	margin-left: -20px;
	margin-right: -20px;
	text-align: center;
	font-size: 14px;
	color: #b9b9b9;
}

#db-search p.pagination.none {
	border-top: 0px;
}

#db-search p.pagination .dv {
	display: none;
}

#db-search p.pagination a {
	padding-left: 0px;
	font-family: "futura_ltregular";
	padding: 5px 10px;
}

#db-search p.pagination .pages a.page {
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 3px;
	border: 1px solid transparent;
}

#db-search p.pagination .pages a.page:hover {
	background-color: #EEE;
	border: 1px solid #b8b8b8;
}

#db-search #toolbar p.pagination {
	
}

#db-search .pagination .pages span:first-child {
	display: none;
}

#db-search .pagination .pages span:last-child {
	display: none;
}

#db-search p.pagination .page-number {
	position: relative;
	display: none;
	text-transform: uppercase;
	left: -10px;
}

#db-search p.pagination .page-number strong {
	font-weight: normal;
	font-family: "futura_ltbook";
	color: #777;
}

#db-search .pagination a.prev {
	float: left;
	letter-spacing: 1px;
	margin-top: -5px;
}

#db-search .pagination a.next {
	float: right;
	letter-spacing: 1px;
	margin-top: -5px;
}

#db-search p.pagination a.prev.first,
#db-search p.pagination a.prev.last {
	color: #CCC;
}

@media screen and (max-width: 500px) {
	
	#db-search p.pagination {
		background-color: #F6F6F5;
		height: 20px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
	#db-search p.pagination .pages {
  		display: none;
	}
}

/* LISTINGS
 * * * * * * * * * * * * * * * * * * * * * * * * */
 
#db-search #listings {
	position: relative;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 0px;
	margin-right: 0px;
	min-height: 680px;
}

#db-search #listings .listing-item {
	min-height: 100px;
	margin-bottom: 40px;
	border: 0px dotted blue;
}

#db-search #listings .listing-item .left {
	float: left;
	width: 360px;
	min-height: 300px;
}

#db-search #listings .listing-item .left .image {
	position: relative;
	width: 360px;
	height: 240px;
	overflow: hidden;
	background-color: #EEE;
	background-position: center center;
	background-repeat: no-repeat;
}

#db-search #listings .listing-item.office .left .image {
	background-image: url('/global/images/photo-placeholder-office.jpg');
}

#db-search #listings .listing-item.medical .left .image {
	background-image: url('/global/images/photo-placeholder-medical.jpg');
}

#db-search #listings .listing-item.retail .left .image {
	background-image: url('/global/images/photo-placeholder-retail.jpg');
}

#db-search #listings .listing-item.commercial  .left .image {
	background-size: cover;
}

#db-search #listings .listing-item .left .image a {
	display: block;
	width: 360px;
	height: 240px;
}

#db-search #listings .listing-item .left .image a img {
	opacity: 0.0;
}

#db-search #listings .listing-item .left .image .featured {
	position: absolute;
	bottom: 0px;
	right: 0px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	font-size: 16px;
	padding: 10px;
	line-height: 1;
}

#db-search #listings .listing-item .right {
	margin-left: 380px;
	min-height: 300px;
}

#db-search #listings .listing-item .right .top {
	min-height: 160px;
}

#db-search #listings .listing-item .right .title {
	padding-left: 15px;
	padding-right: 15px;
	border-bottom: 1px solid #AAA;
}

#db-search #listings .listing-item .right h3 {
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	margin-top: 0px;
	margin-bottom: 2px;
}

#db-search #listings .listing-item .right div.property-type {
	display: none;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 8px;
	font-size: 15px;
	color: #777;
	font-weight: 600;
	letter-spacing: 1px;
}

#db-search #listings .listing-item .right div.address {
	font-size: 12px;
	line-height: 18px;
	color: #777;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 8px;
}

#db-search #listings .listing-item .right div.address a {
	border-bottom: 1px dotted #aaa;
}

body.new-developments #db-search #listings .listing-item .right div.property-type,
body.exclusives #db-search #listings .listing-item .right div.property-type {
	display: block;
}

body.new-developments #db-search #listings .listing-item .right div.address,
body.exclusives #db-search #listings .listing-item .right div.address {
	display: none;
}

#db-search #listings .listing-item .right .description {
	position: relative;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 0px;
	height: 120px;
	overflow: hidden;
}

#db-search #listings .listing-item .right .description p {
	font-size: 13px;
	line-height: 20px;
	color: #777;
	margin-top: 0px;
	margin-right: -15px;
  	padding-right: 15px;
	text-align: justify;
	font-family: "Spectral", serif;
}

#db-search #listings .listing-item .right .description .container {
	height: 120px;
	overflow: hidden;
}

#db-search #listings .listing-item .right .description .container p {
	font-size: 13px;
	line-height: 18px;
	color: #777;
	margin-top: 0px;
	margin-right: -15px;
  	padding-right: 15px;
	text-align: justify;
}

#db-search #listings .list .listing-item .right .description a.read-more {
	position: absolute;
	display: none;
	right: 3px;
	bottom: 0px;
	text-decoration: none;
}

#db-search #listings .list .listing-item .right .description.ellipsis a.read-more {
	display: block;
}

#db-search #listings .listing-item .right .description iframe {
	display: none;
}

#db-search #listings .listing-item .right .info {
	display: flex;
	border-top: 1px solid #AAA;
	padding: 10px 15px 10px 15px;
	min-height: 18px;
}

#db-search #listings .listing-item .right .info .item {
	flex-grow: 1;
}

#db-search #listings .listing-item .right .info .size {
	/* float: left;  */
}

#db-search #listings .listing-item .right .info .term {
	text-align: center;
}

#db-search #listings .listing-item .right .info .price {
	/* float: left; */
	text-align: right;
}

body.commercial #db-search #listings .listing-item .right .info .price {
	/* float: right; */
	text-align: right;
}

#db-search #listings .listing-item .right .info .price .num,
#db-search #listings .listing-item .right .info .size .num,
#db-search #listings .listing-item .right .info .term .num {
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #777;
	display: block;
}

#db-search #listings .listing-item .right .info .price .label,
#db-search #listings .listing-item .right .info .size .label,
#db-search #listings .listing-item .right .info .term .label {
	text-transform: uppercase;
	color: #AAA;
	font-size: 12px;
	display: block;
}

#db-search #listings .listing-item .right .info .item .num,
#db-search #listings .listing-item .right .info .item .label {
	margin-bottom: 5px;
}

#db-search #listings .listing-item .right .info ul {
	float: right;
}

#db-search #listings .listing-item .right .info ul li {
	float: left;
	margin-left: 15px;
}

#db-search #listings .listing-item .right .info ul li .num {
	font-family: 'Lato', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #666;
}

#db-search #listings .listing-item .right .info ul li .label {
	text-transform: uppercase;
	color: #AAA;
	font-size: 12px;
}

#db-search #listings .listing-item .right .info .price a.price-request {
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  background-color: rgba(74,140,186,0.8);
  color: #FFF;
  padding: 3px 5px;
  border-radius: 2px;
  text-decoration: none;
}

#db-search #listings .listing-item .right .info .price .help {
	top: -8px;
	right: -11px;
}

#db-search #listings .listing-item .right .info .price .help .content .text {
	color: #FFF;
	font-size: 12px;
	text-align: left;
	line-height: 14px;
	padding-top: 10px;
}

#db-search #listings .listing-item .right .info .price .help .content .text p {
	font-size: 13px;
	line-height: 14px;
	color: #FFF;
	margin-right: 0px;
}

#db-search #listings .listing-item .right .buttons {
	position: relative;
	clear: right;
	border-top: 1px solid #AAA;
	padding-top: 10px;
	padding-left: 15px;
}

#db-search #listings .listing-item .right .buttons a.button {
	display: inline-block;
	background-color: rgba(36,58,91,0.9);
	color: #FFF;
	font-family: 'Lato', sans-serif;
	text-decoration: none;
	outline: none;
	padding: 10px 20px;
	line-height: 1;
	font-size: 15px;
	font-weight: 600;
	margin-right: 2px;
	border-radius: 2px;
}

#db-search #listings .listing-item .right .buttons .company {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 250px;
	border: 0px dotted red;
	font-size: 10px;
}

#db-search #listings .listing-item .right .buttons .company img {
	float: left;
	margin-top: 2px;
	margin-right: 5px;
}

#db-search #listings .listing-item .right .buttons .company span {
	display: block;
	font-size: 10px;
	color: #999;
	margin-left: 43px;
}

#db-search #listings .listing-item .right .buttons a.contact-broker {
	float: right;
	display: block;
	margin-right: 15px;
	margin-top: 10px;
	color: #4680D0;
	text-decoration: none;
	font-family: 'Lato', sans-serif;
	outline: none;
	padding: 3px 5px;
	font-size: 13px;
	border-radius: 2px;
}

#db-search #listings .listing-item .right .buttons a.contact-broker:hover {
	background-color: rgba(74,140,186,0.8);
  	color: #FFF;
}

#db-search #listings .listing-item .right .bottom {
	margin-top: 10px;
}

#db-search #listings .listing-item .right .bottom .buttons a.button {
	margin-bottom: 5px;
}

#db-search #listings .listing-item .right .bottom .buttons a.button.edit {
	background-color: #AAA;
	display: block;
	padding: 3px 10px;
	font-size: 12px;
}

/* LISTINGS
 * * * * * * * * * * * * * * * * * * * * * * * * */


#db-search #listings .list {
	display: flex;
	flex-flow: row wrap;
	border: 0px dotted green;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	column-gap: 20px;
}

#db-search #listings .list .listing-item {
	border: 0px dotted blue;
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0;
	min-width: 270px;
	max-width: 32%;
}

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

	#db-search #listings .list .listing-item {
		max-width: 49%;
	}
}

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

	#db-search #listings .list .listing-item {
		max-width: 100%;
	}
}

#db-search #listings .list .listing-item .left {
	float: none;
	width: auto;
	min-height: 0px;
}

#db-search #listings .list .listing-item .right {
	margin-top: 5px;
	margin-left: 0px;
	min-height: 0px;
}

#db-search #listings .list .listing-item .right .title {
	min-height: 43px;
}

#db-search #listings .list .listing-item .right .info {
	line-height: 10px;
	min-height: 32px;
}

#db-search #listings .list .listing-item .right .info .size .num {
	line-height: 10px;
}

#db-search #listings .list .listing-item .right .info .price {
	float: right;
}

#db-search #listings .list .listing-item .right div.address .sep {
	display: none;
}

#db-search #listings .list .listing-item .right div.address .street {
	float: right;
}

#db-search #listings .list .listing-item .right div.address .new-york {
	display: none;
}

#db-search #listings .list .listing-item .right .info .price .help {
	top: -15px;
	right: -9px;
}

#db-search #listings .list .listing-item .right .info .price .help .button.open {
	background-color: #b3bfc1;
}

#db-search #listings .list .listing-item .right .info .price .help:hover .button.open {
	background-color: rgba(0,42,48,1.0);
}

#db-search #listings .list .listing-item .right .info .price .help .content .button.close {
	background-color: rgba(52,73,101,1);
}

#db-search #listings .list .listing-item .right .info .price .help .content {
	background-color: rgba(52,73,101,0.95);
}

#db-search #listings .list .listing-item .left .image {
	width: auto;
	height: 220px;
}

#db-search #listings .list .listing-item .left .image a {
	width: auto;
	height: auto;
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
}

#db-search #listings .list .listing-item .left .image .featured {
	background-color: rgba(36,58,91,0.7);
}

#db-search #listings .list .listing-item .right h3 {
	background-color: transparent;
	color: #000;
	color: #243a5b;
	font-size: 15px;
	line-height: 20px;
	text-transform: none;
	text-align: left;
	padding: 0px;
}

#db-search #listings .list .listing-item .right .buttons a.button {
	background-color: rgba(0,42,48,1.0);
}

#db-search #listings .list .listing-item .right .buttons a.button:hover {
	background-color: #4770a8;
}

/* THANKS POPUP
 * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
 #thanks {
	display: block;
	position: fixed;
	top: 200px;
	left: 50%;
	z-index: 150;
	background-color: #f2faef;
	width: 275px;
	margin-left: 0px;
	padding: 15px;
	color: #FFF;
	background-color: #638096;
	-webkit-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 4px 0px rgba(0,0,0,0.3);
}

#thanks .content {
	margin: 0px;
}

#thanks h2 {
	color: #FFF;
	font-size: 18px;
	margin: 0px;
}

#thanks p {
	font-size: 12px;
	font-family: "Spectral", serif;
	line-height: 16px;
}

#thanks p a {
	color: #FFF;
}

#thanks p a.phone {
	font-family: 'futura_ltheavy';
	font-weight: normal;
}

#thanks a.button.close {
	color: #FFF;
	text-transform: uppercase;
	background-color: rgba(256,256,256,0.4);
	letter-spacing: 2px;
	font-size: 14px;
	padding: 3px 10px;
	font-family: 'futura_ltheavy';
	font-weight: normal;
	cursor: pointer;
}

#thanks a.button.close:hover {
	background-color: rgba(256,256,256,0.6);
}

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

	#thanks {
		  top: 50px;
		  left: 0px;
		  right: 0px;
		  width: auto;
	}
}
