//
// Card Style
//
@if $box == 'card' {

  .listing-thumbnail .listing-tb-2.scolumns-2 .listing-item {
	padding-bottom: 0;
	border-bottom: none;
  }

  #{$box_selectors_card} {
	@include add_box;
  }

  .listing-item-tall > .item-inner,
  .listing-item-classic-2 > .item-inner,
  .listing-item-classic-1 > .item-inner,
  .listing-item.listing-item-grid > .item-inner,
  .listing-item.listing-item-blog > .item-inner {
	@include add_box;
  }

  .listing-item-tb-2 > .item-inner {
	@if $box_bg {
	  background: $box_bg;
	}

	@if $box_padding {
	  padding: $box_padding - 5px;
	}

	@if $box_shadow {
	  box-shadow: $box_shadow;
	}

	@if $box_border {
	  border: $box_border;
	}
  }

  @if $box_padding {
	.listing-item.listing-item-tall > .item-inner > .featured,
	.listing-item.listing-item-classic-2 > .item-inner > .featured,
	.listing-item.listing-item-classic-1 > .item-inner > .featured,
	.listing-item.listing-item-grid > .item-inner > .featured {
	  margin: (-$box_padding) (-$box_padding) $box_padding
	}

	.listing-item.listing-item-blog > .item-inner > .featured {
	  margin: (-$box_padding) $box_padding (-$box_padding) (-$box_padding)
	}

	.listing-item.listing-item-blog-3 > .item-inner > .featured {
	  margin: 5px $box_padding (-$box_padding) (-$box_padding) !important;
	}

	.listing-item.listing-item-blog-5 > .item-inner > .post-summary {
	  padding-left: 300px;
	}

	.rtl .listing-item.listing-item-blog > .item-inner > .featured {
	  margin: (-$box_padding) (-$box_padding) (-$box_padding) ($box_padding)
	}

	.rtl .listing-item.listing-item-blog-2 > .item-inner > .featured {
	  margin: (-$box_padding) ($box_padding) (-$box_padding) (-$box_padding)
	}

	.rtl .listing-item.listing-item-blog-3 > .item-inner > .featured {
	  margin: 5px (-$box_padding) (-$box_padding) $box_padding !important;
	}

	.rtl .listing-item.listing-item-blog-5 > .item-inner > .post-summary {
	  padding-right: 300px;
	  padding-left: 0;
	}

	.listing-item.listing-item-tb-2 > .item-inner > .featured {
	  margin: (-$box_padding + 5px) (-$box_padding + 5px) ($box_padding - 5px) (-$box_padding + 5px)
	}

	.listing-item.listing-item-blog-2 > .item-inner > .featured {
	  margin: (-$box_padding) (-$box_padding) (-$box_padding) ($box_padding)
	}

	.listing-item.listing-item-blog-3 > .item-inner > .featured {
	  margin: 0 -20px 0 0;
	}

	@media only screen and (max-width: 830px) {
	  .listing-item-blog-5 {
		.featured {
		  width: calc(100% + (#{$box_padding} * 2)) !important;
		  margin: (-$box_padding) (-$box_padding) $box_padding (-$box_padding) !important;
		}
	  }

	  .listing-item.listing-item-blog-5 > .item-inner > .post-summary {
		padding: 0 !important;
	  }

	  .listing-item.listing-item-blog-1 > .item-inner > .featured,
	  .listing-item.listing-item-blog-2 > .item-inner > .featured {
		margin: 0 0 $box_padding 0;
	  }
	}

	.listing-item-classic-2:last-child > .listing-inner,
	.listing-item-classic-1:last-child > .listing-inner {
	  padding-bottom: $box_padding;
	}

	@if $box_border {

	} @else {
	  .listing-item-classic-2 > .item-inner {
		border: none;
	  }
	}

	@if $box_shadow {
	  .listing-item-classic-3 .listing-inner {
		box-shadow: $box_shadow;
	  }
	}

	@if $box_bg {
	  .listing-item-classic-3 .listing-inner {
		background: $box_bg;
	  }
	}

	.listing-item-grid-2 .post-summary,
	.listing-item-grid-1 .post-summary {
	  border-bottom: none;
	  padding-bottom: 0;
	}

	.listing-item.listing-item-grid-2 > .item-inner > .featured {
	  margin-top: $box_padding;
	}

	.listing-item-user.type-2.style-2 .bs-user-item,
	.listing-item-user.type-2.style-1 .bs-user-item,
	.comments-wrap,
	.comment-respond,
	.post-related,
	.single-container > .post-author,
	.author-profile,
	.single-page-simple-content,
	.post-template-13 .single-container > .post,
	.post-template-12 .single-container > .post,
	.post-template-11 .single-container > .post,
	.post-template-10 .single-container > .post,
	.post-template-9 .single-container > .post,
	.post-template-8 .single-container > .post,
	.post-template-7 .single-container > .post,
	.post-template-6 .single-container > .post,
	.post-template-5 .single-container > .post,
	.post-template-4 .single-container > .post,
	.post-template-3 .single-container > .post,
	.post-template-2 .single-container > .post,
	.post-template-1 .single-container > .post {
	  @include add_box;
	}

	.mega-menu .listing-item-grid > .item-inner,
	.post-related .listing-item-tb-2 > .item-inner,
	.single-page-simple-content .bs-vc-block,
	.single-page-simple-content .wpb_single_image,
	.single-page-simple-content .wpb_images_carousel > .wpb_wrapper > .vc_images_carousel,
	.single-post-content .bs-vc-block,
	.single-post-content .wpb_single_image,
	.single-post-content .wpb_images_carousel > .wpb_wrapper > .vc_images_carousel {
	  @include remove_box;
	}

	.mega-menu .listing-item-grid > .item-inner .featured,
	.post-related .listing-item-tb-2 > .item-inner .featured {
	  margin: 0 0 18px 0;
	}

	.listing-item-user.type-2.style-2 .bs-user-item,
	.listing-item-user.type-2.style-1 .bs-user-item {
	  border: none;
	}
  }

  @if $box_shadow {
	.listing-mg-5-item-big .content-container {
	  box-shadow: $box_shadow;
	  margin-bottom: 8px;
	}
  }

  /**
   * -> Exclude Block Cart
   **/

  .widget_bs-user-listing-5,
  .widget_bs-user-listing-4,
  .widget_bs-thumbnail-listing-2,
  .widget_bs-modern-grid-listing-4,
  .bs-listing.bs-listing-user-listing-5,
  .bs-listing.bs-listing-user-listing-4,
  .widget_better-social-counter .better-studio-shortcode,
  .bs-slider.bs-slider-3,
  .bs-slider.bs-slider-2,
  .bs-slider.bs-slider-1,
  .bs-listing.bs-listing-slider-3,
  .bs-listing.bs-listing-slider-2,
  .bs-listing.bs-listing-slider-1,
  .bs-listing.bs-listing-listing-mix-4-8,
  .bs-listing.bs-listing-listing-mix-4-7,
  .bs-listing.bs-listing-listing-mix-4-6,
  .bs-listing.bs-listing-listing-mix-4-5,
  .bs-listing.bs-listing-listing-mix-4-4,
  .bs-listing.bs-listing-listing-mix-4-3,
  .bs-listing.bs-listing-listing-mix-4-2,
  .bs-listing.bs-listing-listing-mix-4-1,
  .bs-listing.bs-listing-listing-mix-1-4,
  .bs-listing.bs-listing-listing-mix-1-2,
  .bs-listing.bs-listing-listing-mix-3-3 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-mix-3-2 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-mix-3-1 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-mix-2-2 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-mix-2-1 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-mix-1-3 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-mix-1-1 .listing-item-grid-1 > .item-inner,
  .bs-listing.bs-listing-listing-tall-3,
  .bs-listing.bs-listing-listing-tall-2,
  .bs-listing.bs-listing-listing-tall-1,
  .bs-listing.bs-listing-listing-thumbnail-2,
  .bs-listing.bs-listing-listing-classic-3,
  .bs-box.bs-box-5,
  .bs-box.bs-box-4,
  .bs-box.bs-box-3,
  .bs-box.bs-box-2,
  .bs-box.bs-box-1,
  .bs-listing-modern-grid-listing-5,
  .bs-listing.bs-listing-listing-grid-2,
  .bs-listing.bs-listing-listing-grid-1,
  .bs-listing.bs-listing-listing-classic-2,
  .bs-listing.bs-listing-listing-classic,
  .bs-listing.bs-listing-listing-blog-5,
  .bs-listing.bs-listing-listing-blog-4,
  .bs-listing.bs-listing-listing-blog-3,
  .bs-listing.bs-listing-listing-blog-2,
  .bs-listing.bs-listing-listing-blog-1 {
	@include remove_box;
  }
  .bs-listing-listing-mix-3-2 .listing-item-tb-2 > .item-inner {
	box-shadow: none;
  }

  .listing-mix-4-7 .listing-item-classic-3:last-child,
  .listing-mix-4-2 .listing-classic-3,
  .listing-mix-4-1 .listing-classic-3 {
	margin-bottom: 30px;
  }

  .bs-listing.bs-listing-listing-mix-3-3 .listing-item-grid-1 > .item-inner .featured,
  .bs-listing.bs-listing-listing-mix-3-2 .listing-item-grid-1 > .item-inner .featured,
  .bs-listing.bs-listing-listing-mix-3-1 .listing-item-grid-1 > .item-inner .featured,
  .bs-listing.bs-listing-listing-mix-2-2 .listing-item-grid-1 > .item-inner .featured,
  .bs-listing.bs-listing-listing-mix-2-1 .listing-item-grid-1 > .item-inner .featured,
  .bs-listing.bs-listing-listing-mix-1-3 .listing-item-grid-1 > .item-inner .featured,
  .bs-listing.bs-listing-listing-mix-1-1 .listing-item-grid-1 > .item-inner .featured {
	margin: 0 0 18px 0;
  }

  @if $box_padding {
	.bs-popular-categories .bs-popular-terms-list {
	  padding: 0;
	}
  }

}
