/* Listings Grid Widget */
.image-resizer {position: relative;}
.image-resizer img {position: absolute;top: -100%;bottom: -100%;left: -100%;right: -100%;width: 100%;margin: auto;}
.grid-property-image {position: relative;overflow: hidden;}
.grid-property-image.property-details-overlay .details-overlay, .grid-team-image.property-details-overlay .details-overlay {position: absolute;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0,0,0,0.5);opacity: 0; }
.grid-property-image.property-details-overlay.always-display .details-overlay, .grid-team-image.property-details-overlay.always-display .details-overlay {opacity: 1;}
.grid-property-image.property-details-overlay:hover .details-overlay, .grid-team-image.property-details-overlay:hover .details-overlay {opacity: 1;transition: 300ms ease-in-out all;-moz-transition: 300ms ease-in-out all;-webkit-transition: 300ms ease-in-out all;-ms-transition: 300ms ease-in-out all;-o-transition: 300ms ease-in-out all;}
.grid-property-image.property-details-overlay .details-overlay .grid-details, .grid-team-image.property-details-overlay .details-overlay .grid-details {position: absolute;top: 50%;left: 50%;transform: translateX(-50%) translateY(-50%);-moz-transform: translateX(-50%) translateY(-50%);-webkit-transform: translateX(-50%) translateY(-50%);-ms-transform: translateX(-50%) translateY(-50%);-o-transform: translateX(-50%) translateY(-50%);text-align: center;width: 100%;}
.grid-property-image.property-details-overlay .details-overlay hr, .grid-team-image.property-details-overlay .details-overlay hr {margin: 0 auto;}
.grid-property-details.left-align {text-align: left;}
.grid-property-details.left-align hr {margin: 0 auto 0 0;}
.grid-property-details.center-align {text-align: center;}
.grid-property-details.center-align hr {margin: 0 auto;}
.grid-property-details.right-align {text-align: right;}
.grid-property-details.right-align hr {margin: 0 0 0 auto;}
.grid-property-details h1,.grid-property-details h2,.grid-property-details h3,.grid-property-details h4,.grid-property-details h5,.grid-property-details h6 {margin: 0;}
.grid-property-image .corner-banner .banner, .featured-property-image .corner-banner .banner {position: absolute;width: 200px;background-color: #000000;top: 35px;left: -45px;color: #ffffff;transform: rotate(-45deg);-webkit-transform: rotate(-45deg);line-height: 40px;text-align: center;z-index: 100;}
.iproperty-property-grid-v2 .grid-property-image .corner-banner .banner {width: auto; top:20px;left:20px;transform:none;-webkit-transform:none;line-height: initial;padding:5px 10px;}
.iproperty-property-grid-v2 .grid-details {display: flex;justify-content: space-between;}
.iproperty-property-grid-v2 .bbc span {display: flex;flex-direction: column;}
@media screen and (max-width: 768px){.grid-property-image.property-details-overlay.always-display-mobile .details-overlay, .grid-team-image.property-details-overlay.always-display-mobile .details-overlay {opacity: 1;}}