a.button,
#content a.button {
	display: inline-block;
	background-color: #444;
	color: #fff;
}

a.button:hover,
#content a.button:hover {
	background-color: #888;
}

a.button.compare {
	background-color: #E7E7E7;
	color: #777;
}

a.button.compare:hover {
	background-color: #888;
	color: #FFF;
}

/* BANNER
 * * * * * * * * * * * * * * * * * * * * * * * * */

#banner {
	height: 300px;
	background-image: url('/images/home/facade-1.jpg');
}

/* MAIN CONTENT
 * * * * * * * * * * * * * * * * * * * * * * * * */
 
#main-content {
	width: auto;
	min-width: 760px;
	min-height: 2000px;
	max-width: 820px;
	margin-top: 20px;
	margin-right: 280px;
	padding-left: 0px;
	padding-right: 0px;
}

#map-canvas {
	position: relative; 
	height: 300px;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	border: 1px solid #DDD;
	border-radius: 8px 8px 0px 0px;
}

#side-content #filter.module h4 {
	display: none;
}

/* TOTAL LISTINGS
 * * * * * * * * * * * * * * * * * * * * * * * * */

.total-filter {
	position: relative;
}

#total {
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}

#total .num {
	font-family: 'Lato', sans-serif;
	font-weight: bold;
	font-size: 15px;
	color: #666;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#total .label {
	text-transform: uppercase;
	color: #BBB;
	font-size: 15px;
	letter-spacing: 1px;
}

#total.none .label {
	color: #444;
}

#total.none p.message {
	margin-top: 20px;
	width: 600px;
}

button.filter,
#content .total-filter a.filter {
	display: none;
	position: relative;
	float: right;
	border: 0px solid #dedede;
	background-color: #FFF;
	font-size: 14px;
	font-weight: 400;
	font-family: 'Lato', sans-serif;
	color: #AAA;
	padding: 10px 12px;
	padding-right: 45px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-right: 0px;
	background-image: url('/global/images/filter-icon.png');
	background-position: right center;
	background-repeat: no-repeat;
	cursor: pointer;
}

button.filter:hover,
#content .total-filter a.filter:hover {
	color: #777;
	background-color: #DDD;
}
 
/* LISTINGS
 * * * * * * * * * * * * * * * * * * * * * * * * */
 
#listings {
	position: relative;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	min-height: 680px;
}

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

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

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

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

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

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

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

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

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

#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;
}

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

#listings .listing-item .right .top {
	min-height: 200px;
}

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

#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;
}

#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;
}

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

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

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

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

#listings .listing-item .right .description {
	padding-left: 15px;
	padding-right: 15px;
}

#listings .listing-item .right .description p {
	font-size: 14px;
	line-height: 20px;
	color: #777;
	margin-top: 0px;
	margin-right: 0px;
	text-align: justify;
}

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

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

#listings .listing-item .right .info * {
	line-height: 12px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* PAGINATION
 * * * * * * * * * * * * * * * * * * * * * * * * */

.current-page-num {
	display: none;
	font-weight: 400;
	line-height: 20px;
	font-family: 'Lato', sans-serif;
	color: #BBB;
	padding-top: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.current-page-num .num {
	font-weight: bold;
	color: #666;
}

#content .pagination {
	height: 41px;
}

#content .pagination .button {
	display: block;
	text-align: center;
	border: 1px solid #DDD;
}

#content .pagination .button .disabled,
#content .pagination .button a {
	display: block;
	font-weight: 400;
	line-height: 20px;
	font-family: 'Lato', sans-serif;
	color: #666;
	padding: 10px 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#content .pagination .button .arrow {
	font-size: 20px;
	line-height: 10px;
}

#content .pagination .button .disabled {
	color: #EEE;
}

#content .pagination .button a:hover {
	background-color: #DDD;
}

#content .pagination .button.prev {
	float: left;
}

#content .pagination .button.next {
	float: right;
}

#content .pagination .separator {
	display: none;
}

#content .pagination .pages {
	display: block;
	text-align: center;
}

#content .pagination .pages a {
	display: inline-block;
	font-weight: 400;
	line-height: 20px;
	font-family: 'Lato', sans-serif;
	color: #CCC;
	padding: 10px 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 1px solid #DDD;
}

#content .pagination .pages a.current {
	color: #666;
	font-weight: bold;
}

#content .pagination .pages a:hover {
	color: #666;
	background-color: #DDD;
}

#content .pagination.top {
	height: 29px;
	border-bottom: 1px solid #d9d9d9;
	padding-top: 0px;
}

#content .pagination.top .button {
	border: 0px;
}

#content .pagination.top .button .disabled,
#content .pagination.top .button a {
	padding: 5px 14px;
}

#content .pagination.top .pages a {
	padding: 5px 10px;
	border: 0px;
}

#content .pagination.bottom {
	border-top: 1px solid #d9d9d9;
	padding-top: 10px;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 1085px) {
	
	#main-content {
		min-height: 0px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#total {
		border-bottom: 1px solid #d9d9d9;
		margin-bottom: 10px;
	}
	
	button.filter,
	#content .total-filter a.filter {
		display: block;
		position: absolute;
		float: none;
		top: 3px;
		right: 0px;
	}
	
	/* #main-content {
		width: auto;
		min-width: 760px;
		min-height: 1000px;
		max-width: 820px;
		margin-top: 20px;
		margin-right: 280px;
		padding-left: 0px;
		padding-right: 0px;
	} */
	
	#side-content {
		max-width: 820px;
		padding-top: 50px;
		margin-left: auto;
		margin-right: auto;
		border: 0px dotted green;
	}
	
	#side-content #filter.module h4 {
		display: block;
	}
	
	#side-content #featured ul li {
		border-bottom: 0px;
		width: 250px;
		float: left;
		margin-left: 20px;
		margin-right: 10px;
		min-height: 390px;
	}
}

/*  MOBILE
 * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 780px) {
	
	#main-content {
		min-width: 0px;
	}
	
	#side-content {
		max-width: auto;
		min-width: 0px;
	}
	
	#content .pagination.top {
		border-bottom: 0px;
	}
	
	#listings.sticky {
		margin-top: 74px;
	}
	
	.total-filter {
		border-top: 1px solid #d9d9d9;
		border-bottom: 1px solid #d9d9d9;
		margin-left: -15px;
		margin-right: -15px;
		padding-left: 15px;
		padding-right: 15px;
		margin-bottom: 15px;
	}
	
	.total-filter.sticky {
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		margin-left: 0px;
		margin-right: 0px;
		background-color: #E9E9E9;
		-webkit-box-shadow: 0px 1px 15px 1px rgba(0,0,0,0.3); 
		box-shadow: 0px 1px 15px 1px rgba(0,0,0,0.3); 
		border-top: 1px solid #E9E9E9;
		z-index: 1000;
	}
	
	.total-filter button.filter,
	#content .total-filter a.filter {
		position: absolute;
		top: 4px;
		right: 15px;
		background-color: #E9E9E9;
	}
	
	.total-filter.sticky  button.filter,
	#content .total-filter.sticky  a.filter {
		background-color: #D9D9D9;
	}
	
	.total-filter #total {
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 0px;
		margin-bottom: 0px;
		border-bottom: 0px;
	}
	
	.total-filter #total.show-neighborhood {
		padding-top: 15px;
	}
	
	.total-filter #total.show-neighborhood .num.neighborhood {
		white-space: nowrap;
	}
	
	#listings .listing-item .right .buttons .company {
		width: 180px;
	}
}

/*
 * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 480px) {
	
	#banner {
		height: 100px;
	}
	
	#top-content {
		width: auto;
		margin-top: 20px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#top-content p {
		font-size: 16px;
		line-height: 20px;
	}
	
	#main-content {
		width: auto;
		min-width: auto;
		padding-top: 0px;
		padding-left: 0px;
		padding-right: 0px;
		margin-right: 0px;
	}
	
	#main-content p {
		font-size: 12px;
		line-height: 18px;
	}
	
	#map-canvas {
		display: none;
		margin-top: 0px;
		margin-left: -15px;
		margin-right: -15px;
		border-radius: 0px;
		border-left: 0px;
		border-right: 0px;
	}
	
	.total-filter {
		margin-bottom: 0px;
	}
	
	#total.none .label {
		display: block;
		width: 200px;
	}

	#total.none p.message {
		width: auto;
	}
	
	.current-page-num {
		display: block;
	}
	
	#content .pagination.top {
		/* display: none; */
	}
	
	#content .pagination.top .pages {
		display: none;
	}
	
	#content .pagination.bottom {
		height: 60px;
	}
	
	#content .pagination.bottom .button .disabled,
	#content .pagination.bottom .button a {
		padding: 5px 14px;
	}
	
	#content .pagination.bottom .pages {
		clear: both;
		padding-top: 10px;
	}
	
	#content .pagination.bottom .pages a {
		padding: 0px 5px;
	}
	
	#listings {
		min-height: 0px;
	}
	
	#listings .listing-item .left {
		float: none;
		width: auto;
		min-height: 0px;
	}
	
	#listings .listing-item .left .image {
		width: auto;
		border-top: 1px solid #AAA;
		border-bottom: 1px solid #AAA;
	}
	
	#listings .listing-item .right {
		margin-left: 0px;
		min-height: 0px;
		margin-top: 10px;
	}
	
	#listings .listing-item .right .top {
		min-height: 0px;
	}
	
	#listings .listing-item .right .title {
		border-bottom: 0px;
		padding-left: 0px;
		padding-right: 0px;
		margin-bottom: 8px;
	}
	
	#listings .listing-item .right h3 {
		font-family: "Fjalla One";
		font-size: 20px;
		line-height: 24px;
		font-weight: 400;
	}
	
	#listings .listing-item .right h3 span {
		display: block;
	}
	
	#listings .listing-item .right h3 span.comma {
		display: none;
	}
	
	#listings .listing-item .right div.address {
		display: none;
	}
	
	#listings .listing-item .right .description {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#listings .listing-item .right .buttons {
		padding-left: 0px;
	}
	
	#listings .listing-item .right .buttons .company {
		width: 180px;
		border: 0px dotted red;
	}
	
	#side-content {
		
	}
	
	#side-content .module {
		
	}
	
	#side-content #featured ul li {
		border-bottom: 1px solid #CCC;
		width: auto;
		margin-left: auto;
		margin-right: auto;
		min-height: 0px;
	}
	
	/* #filter {
		position: fixed;
		top: 0px;
		right: 0px;
		z-index: 1000;
	} */
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 380px) {
	
	#listings .listing-item .right h3 {
		font-size: 20px;
		line-height: 26px;
	}
	
	#listings .listing-item .left .image {
		height: 200px;
	}	
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media screen and (max-width: 330px) {
	
	#total.none .label {
		letter-spacing: 0px;
	}
	
	a.button {
		font-size: 12px;
		padding-left: 10px;
		padding-right: 10px;
		border-radius: 2px;
	}
	
	#listings .listing-item .left .image {
		height: 180px;
	}	
	
	#listings .listing-item .right h3 {
		font-size: 18px;
		line-height: 22px;
	}
	
	#listings .listing-item .right .info {
		padding-top: 5px;
		padding-bottom: 5px;
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#listings .listing-item .right .info .price .num {
		font-size: 13px;
	}
	
	#listings .listing-item .right .info ul li {
		margin-left: 10px;
	}
	
	#listings .listing-item .right .info ul li .num {
		font-size: 13px;
	}
	
	#listings .listing-item .right .description p {
		font-size: 14px;
		line-height: 17px;
	}
	
	#listings .listing-item .right .buttons .company {
		width: 160px;
		border: 0px dotted red;
	}
}