/* style 4 */

.directorypress-listings-grid-4.directorypress-listings-block.directorypress-listings-grid .directorypress-listing-text-content-wrap {
	
}

.listing-post-style-4 {
	margin-bottom: 50px!important
}
.listing-post-style-4 .directorypress-listing-item-holder {
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .1);
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, .1);
	box-shadow: 0 0 5px rgba(0, 0, 0, .1);
	padding: 10px;
	background: #f9f9f9;
	position: relative;
	overflow:visible;
}
.listing-post-style-4 .directorypress-listing-item-holder:hover {
	-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
	-moz-box-shadow: 0 0 15px rgba(0, 0, 0, .15);
	box-shadow: 0 0 15px rgba(0, 0, 0, .15)
}

.directorypress-listings-grid .listing-post-style-4 .directorypress-listing-text-content-wrap {
	background: #fff;
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, .08);
	-moz-box-shadow: 0 0 7px rgba(0, 0, 0, .08);
	box-shadow: 0 0 7px rgba(0, 0, 0, .08);
	position: absolute;
	width: calc(100% - 40px);
	width: -webkit-calc(100% - 40px);
    width: -moz-calc(100% - 40px);
	left: 20px;
	bottom: -20px;
	padding: 15px 15px 10px
}
.directorypress-listings-grid .listing-post-style-4 .directorypress-listing-item-holder .directorypress-listing-text-content-wrap .directorypress-listing-title {
	clear: both;
	display: block
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .directorypress-listing-title h2 a {
	text-transform: capitalize;
	font-weight: 400
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .price {
	float: right;
	line-height: 26px
}
.rtl .listing-post-style-4 .directorypress-listing-text-content-wrap .price {
	float: left;
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .directorypress-field-type-price {
	color: #333;
	margin: 0;
	float: right;
	font-weight: 400
}
.rtl .listing-post-style-4 .directorypress-listing-text-content-wrap .directorypress-field-type-price {
	float: left;
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .cat-wrapper {
	float: left
}
.rtl .listing-post-style-4 .directorypress-listing-text-content-wrap .cat-wrapper {
	float: right
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .cat-wrapper a {
	background-color: #81d742;
	min-width: 50px;
	display: none;
	min-height: 20px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	border-radius: 2px;
	font-size: 10px;
	padding: 0 10px;
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .cat-wrapper a:first-child{
	display:inline-block;
}
.listing-post-style-4 .directorypress-listing-text-content-wrap .cat-wrapper .cat-seperator{
	display:none;
}
.listing-post-style-4 .listing-grid-buttons{
	position:absolute;
	top:10px;
	left:5px;
}
.rtl .listing-post-style-4 .listing-grid-buttons{
	right:5px;
	left:auto;
}
.listing-post-style-4 .add_to_favourites {
    display: block;
    font-size: 16px;
    z-index: 100;
    background: #fff;
    border-radius: 2px;
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 30px;
	float:left;
	margin-left:5px;
}
/* feature tags */
.listing-post-style-4 .has_featured-tag-1{
	position:static;
}
.listing-post-style-4 [class^="has_featured-tag-"]{
	position: static !important;
	float: left;
	margin-left: 5px;
}
.listing-post-style-4 .has_featured-ad {
	content: "\f005";
	font-family: FontAwesome;
	width: 30px;
	z-index: 1
}
.listing-post-style-4 .directorypress-field-type-status{
    position: absolute;
    top: 10px;
    right: 10px;
}
.rtl .listing-post-style-4 .directorypress-field-type-status{
    left: 10px;
    right: auto;
}
.listing-post-style-4 .directorypress-field-type-status .field-content .listing-status-tag{
    background: #81d742;
    padding: 3px 8px 0;
    display: block;
    font-size: 11px;
    color: #fff;
    min-width: 60px;
    min-height: 20px;
    line-height: 20px;
	border-radius:2px;
}

/* wcfm integration */

.listing-post-style-4 .listing-add-to-cart {
    position: static;
    width: 30px;
    height: 30px;
    background: #fff;
    text-align: center;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    line-height: 32px;
    font-size: 16px;
    border-radius: 2px;
	float:left;
	margin-left:5px;
}
@media handheld,
only screen and (max-width: 550px) {
	.directorypress-listings-block.directorypress-listings-grid article.directorypress-listing.listing-post-style-4 {
		padding: 0
	}
}
