// Teaser grid adjustments
body ul.wpb_thumbnails-fluid li {
    list-style: none !important; /* No need in list style never */
    background-image: none; /* some themes add bg image as a bullet */
    padding: 0;
    
    .entry-content *:last-child { margin-bottom: 0; }
}

body .row-fluid .wpb_grid ul.wpb_thumbnails-fluid,
body .row-fluid .wpb_filtered_grid ul.wpb_thumbnails-fluid {
	margin: 0 0 0 -@fluidGridGutterWidth;
	padding: 0;
	
	width: 100% + @fluidGridGutterWidth;
	overflow: visible !important;
}
.row-fluid ul.wpb_thumbnails-fluid > [class*="span"] {
	margin-left: @fluidGridGutterWidth;
}

/* Grid adjustments */
.wpb_grid .wpb_thumbnails-fluid > .span3,
.wpb_filtered_grid .wpb_thumbnails-fluid > .span3 { //, .teaser_grid_container .wpb_thumbnails-fluid > .span3
	width: 100% / @gridColumns * 3 - @fluidGridGutterWidth - 0.07%;
}
.wpb_grid .wpb_thumbnails-fluid > .span4,
.wpb_filtered_grid .wpb_thumbnails-fluid > .span4 { //, .teaser_grid_container .wpb_thumbnails-fluid > .span4
	width: 100% / @gridColumns * 4 - @fluidGridGutterWidth - 0.07%;
}
.wpb_grid .wpb_thumbnails-fluid > .span6,
.wpb_filtered_grid .wpb_thumbnails-fluid > .span6 { //, .teaser_grid_container .wpb_thumbnails-fluid > .span6
	width: 100% / @gridColumns * 6 - @fluidGridGutterWidth - 0.04%;
}
.wpb_grid .wpb_thumbnails-fluid > .span12,
.wpb_filtered_grid .wpb_thumbnails-fluid > .span12 { //, .teaser_grid_container .wpb_thumbnails-fluid > .span12
	width: 100% - @fluidGridGutterWidth;
}

@media (max-width: 767px) {
  .vc_responsive {
  	.wpb_thumbnails-fluid {
  		margin-left: 0;
  		width: 100%;
  	}
  	.wpb_grid .wpb_thumbnails-fluid [class*="span"] {
  		width: 100% - @fluidGridGutterWidth;
  		float: none;
  		display: block;
  		margin-left: 0;
  		margin-right: 0;
  	}
  }
}


/* Teaser grid
---------------------------------------------------------- */
.wpb_teaser_grid .entry-content {
	margin: 0;
	padding: 0;
    width: 100%;
}
.grid_layout-thumbnail .post-thumb {
	margin-bottom: 0;
	
	img {
		max-width: 100%;
	}
}



/* Carousel layout
---------------------------------------------------------- */
.wpb_carousel {
	.wpb_wrapper { position: relative; }
	.prev,
	.next {
		position: absolute;
		top: 3px;
		background-color: @vc_grey;
		padding:0px 6px 0px 6px;
		font-size: 12px;
		z-index: 10;
		text-decoration: none;
		
		.wpb_transition();
		
		&:hover {
			background-color: @vc_grey_hover;
		}
	}
	.prev { right: 30px; }
	.next { right: 0px; }
	
	.wpb_thumbnails-fluid {
		width: 100%;
		
		> [class*="span"] {
			height: auto !important;
		}
	}
}


/*** Categories filter ***/
.wpb_teaser_grid .categories_filter,
.wpb_categories_filter {
	list-style: none;
	list-style-type: none;
	padding: 0;
	margin: 0 0 10px 0;
	
	li {
		display: block;
		float: left;
		margin: 0 10px 10px 0;
		
		a {
			border: none;
			text-decoration: none;
			
			&:hover {
				border-bottom: 1px dotted;
			}
		}
		
		&.active a {
			border-bottom: 1px dotted;
		}
	}
}