/*		Formats the drill down market landing page results 
* 		example(http://www.yourcompany.com:81/s/OR/aloha-city/?price-range=200000-to-400000)
*/
#dmg_optimize_content {font-size: 1.1em;}

.dmg_results_property {width: 20%; padding: 0 1%; margin: 0 0 15px; line-height: 1.125em; text-align: center; float: left; box-sizing: border-box;}
.results_img {width: 100%; padding-bottom: 71%; background-repeat: no-repeat; background-size: cover; background-position: center center;}

.dmg_results_property img {max-width: 100%; margin: 0 auto; border: 0; display: block; opacity: 0; position: absolute;}
.results_price {background: #EFEFEF; text-align: center; font-weight: bold}
.dmg_results_property:nth-of-type(5n+1) {clear: left;}



/*		Formats the drill down market landing page results 
* 		example(http://www.yourcompany.com:81/s/OR/aloha-city/?price-range=200000-to-400000)
*/
#dmg_results_wrapper {width: 100%; margin: 20px auto; font-size: .875em;}
#dmg_results_listings {width: 100%; float: left; display: table;}
#dmg_results_paging {width: 100%; text-align: left; float: left; border-bottom: 1px solid #e5e5e5; padding-bottom: 10px; margin-bottom: 10px;}
.dmg_results_pagination {float: right;}


/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 820px) {
.dmg_results_property {width: 25%;}	
.dmg_results_property:nth-of-type(5n+1) {clear: none;}
.dmg_results_property:nth-of-type(4n+5) {clear: left;}
}


/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 700px) {
.dmg_results_property {width: 33%;}
.dmg_results_property:nth-of-type(4n+5) {clear: none;}
.dmg_results_property:nth-of-type(3n+1) {clear: left;}
}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 480px) {
.dmg_results_property {width: 50%;}
.dmg_results_property:nth-of-type(3n+1) {clear: none;}
.dmg_results_property:nth-of-type(2n+3) {clear: left;}
}

/* == Tablet (portrait and landscape) ======================================
============================================================================ */
@media only screen and (max-width: 360px) {
.dmg_results_property {width: 100%;}
.dmg_results_property:nth-of-type(2n+3) {clear: none;}
	
}



