$('body').click(function(e){
if ($(e.target).closest('.js-filter-dropdown').length) return;
if ($(e.target).hasClass('js-toggle-dropdown')) return;
$('.js-toggle-dropdown').each(function(){
$(this).removeClass('js-toggle-dropdown-active');
});
$('.js-filter-dropdown').each(function(){
$(this).removeClass('js-toggle-dropdown-open');
$(this).fadeOut(300);
});
event.stopPropagation();
});
var obj,
source;
obj = document.createElement('video');
$(obj).attr('id', 'example_video_test');
$(obj).attr('class', 'video-js vjs-default-skin');
$(obj).attr('width', '640');
$(obj).attr('data-height', '264');
$(obj).attr('controls', ' ');
$(obj).attr('poster', 'http://video-js.zencoder.com/oceans-clip.jpg');
$(obj).attr('preload', 'auto');
$(obj).attr('data-setup', '{}');
source = document.createElement('source');
$(source).attr('type', 'video/mp4');
$(source).attr('src', 'http://video-js.zencoder.com/oceans-clip.mp4');
$("#content").append(obj);
$(obj).append(source);
@media screen and (min-width: 961px){
.th-prodcard-prev-item:nth-child(3n){
margin-right: 0;
}
.th-prodcard-prev-item {
margin-right: 2.9%;
}
}
@media screen and (min-width: 641px) and (max-width: 960px){
.th-prodcard-prev-item {
margin-right: 2%;
}
.th-prodcard-prev-item:nth-child(even){
margin-right: 0;
}
}
@media screen and (max-width: 640px){
.th-prodcard-prev-item {
margin-right: 0;
}
}