"use strict";jQuery('#totop').hide();jQuery(window).scroll(function(){if(jQuery(this).scrollTop()>=100){jQuery('#totop').fadeIn(200);jQuery('#totop').addClass('top-visible')}else{jQuery('#totop').fadeOut(200);jQuery('#totop').removeClass('top-visible')}});jQuery('#totop').on('click',function(){jQuery('body,html').animate({scrollTop:0},500);return!1});jQuery(".main-holder .site-content ul.products li.product .add_to_wishlist, .main-holder .site-content ul.products li.product .yith-wcqv-button, .main-holder .site-content ul.products li.product .add_to_cart_button, .main-holder .site-content ul.products li.product .product_type_external, .main-holder .site-content ul.products li.product .product_type_grouped, .main-holder .site-content ul.products li.product .product_type_variable").each(function(){var str=jQuery(this).text();jQuery(this).attr("alt",str)});var equalheight=function(container){var currentTallest=0,currentRowStart=0,rowDivs=new Array(),$el,topPosition=0;jQuery(container).each(function(){$el=jQuery(this);jQuery($el).outerHeight('auto') topPostion=$el.position().top;if(currentRowStart!=topPostion){for(currentDiv=0;currentDivparseInt(tm_breakpoint)){jQuery('.tm-stickable-header').stick_in_parent({'parent':'body','spacer':!1,'offset_top':offset_px})}else{jQuery('.tm-stickable-header').trigger("sticky_kit:detach")}}} function themetechmount_setCookie(c_name,value,exdays){var now=new Date();var time=now.getTime();time+=(3600*1000)*24;now.setTime(time);var c_value=escape(value)+((exdays==null)?"":"; expires="+now.toGMTString());document.cookie=c_name+"="+c_value} function setHeight(column){var maxHeight=0;column=jQuery(column);column.css('height','auto');if(jQuery(window).width()>479){column.each(function(){if(jQuery(this).height()>maxHeight){maxHeight=jQuery(this).height()}});column.height(maxHeight)}} if(jQuery('.tm-sresult-form-wrapper').length>0){jQuery('.tm-sresult-form-wrapper .tm-sresults-settings-btn').on('click',function(){jQuery('.tm-sresult-form-wrapper .tm-sresult-form-bottom').slideToggle('400',function(){if(jQuery('.tm-sresult-form-wrapper .tm-sresult-form-bottom').is(":hidden")){jQuery('.tm-sresult-form-wrapper .tm-sresults-settings-btn').removeClass('tm-sresult-btn-active')}else{jQuery('.tm-sresult-form-wrapper .tm-sresults-settings-btn').addClass('tm-sresult-btn-active')}});return!1});if(jQuery('.tm-sresult-form-wrapper form.search-form').length>0){if(jQuery(".tm-sresult-form-wrapper form.search-form input[name='post_type']").length==0){jQuery('').attr({type:'hidden',name:'post_type'}).appendTo('.tm-sresult-form-wrapper form.search-form')}} jQuery(".tm-sresult-form-wrapper .tm-sresult-cpt-select").change(function(){jQuery(".tm-sresult-form-wrapper form.search-form input[name='post_type']").val(jQuery(this).val())});jQuery(".tm-sresult-form-wrapper .tm-sresult-form-sbtbtn").on('click',function(){jQuery(".tm-sresult-form-wrapper form.search-form").submit()})} function themetechmount_blogmasonry(){if(jQuery().isotope){if(jQuery('#content.themetechmount-blog-col-page').length>0){jQuery('#content.themetechmount-blog-col-page').masonry();jQuery('#content.themetechmount-blog-col-page').isotope({itemSelector:'.post-box',masonry:{},sortBy:'original-order'})}}} function themetechmount_stickyFooter(){if(jQuery('body').hasClass('themetechmount-sticky-footer')){jQuery('div#content-wrapper').css('marginBottom',jQuery('footer#colophon').height())}} function setEmptySelectBox(element){if(jQuery(element).val()==""){jQuery(element).addClass("empty")}else{jQuery(element).removeClass("empty")}} function themetechmount_hide_togle_link(){if(jQuery('#navbar div.mega-menu-wrap ul.mega-menu').length>0){jQuery('h3.menu-toggle').css('display','none')}} function themetechmount_reset_gmap(){jQuery('.themetechmount-fbar-box-w > div > aside').each(function(){var mainthis=jQuery(this);jQuery('iframe[src^="https://www.google.com/maps/"], iframe[src^="http://www.google.com/maps/"]',mainthis).each(function(){if(!jQuery(this).hasClass('themetechmount-set-gmap')){jQuery(this).attr('src',jQuery(this).attr('src')+'');jQuery(this).load(function(){jQuery(this).addClass('themetechmount-set-gmap').animate({opacity:1},1000)})}})})} function themetechmount_hide_gmap(){jQuery('.themetechmount-fbar-box-w > div > aside').each(function(){var mainthis=jQuery(this);jQuery('iframe[src^="https://www.google.com/maps/"], iframe[src^="http://www.google.com/maps/"]',mainthis).each(function(){if(!jQuery(this).hasClass('themetechmount-set-gmap')){jQuery(this).css({opacity:0});jQuery(this).css('display','block')}})})} function themetechmount_isotope(){jQuery('.themetechmount-boxes-sortable-yes').each(function(){var gallery_item=jQuery('.themetechmount-boxes-row-wrapper',this);var filterLinks=jQuery('.tm-sortable-wrapper a',this);gallery_item.isotope({animationEngine:'best-available'}) filterLinks.on('click',function(e){var selector=jQuery(this).attr('data-filter');gallery_item.isotope({filter:selector,itemSelector:'.isotope-item'});filterLinks.removeClass('selected');jQuery('#filter-by li').removeClass('current-cat');jQuery(this).addClass('selected');e.preventDefault()})})};function brivona_logMarginPadding(){jQuery('.wpb_column').each(function(){if(jQuery(this).hasClass('tm-left-span')){var margin=jQuery(this).parent().css("padding-left").replace("px","");margin=parseInt(margin);var elewidth=jQuery(this).css("width").replace("px","");elewidth=parseInt(elewidth);var leftmargin=margin+elewidth;var after_inlinecss='';var before_inlinecss='';var randomclass=Math.floor((Math.random()*1000000)+1);randomclass='brivona-random-class-'+randomclass;jQuery(this).addClass(randomclass);after_inlinecss+='padding-left: '+leftmargin+'px;';if(jQuery('.vc_column-inner',this).css('background-image')!='none'){var bgimage=jQuery('.vc_column-inner',this).css('background-image');jQuery('.vc_column-inner',this).css('background-image','none','!important');after_inlinecss+='background-image: '+bgimage+';'} if(jQuery('.vc_column-inner',this).css('background-color')!=''||jQuery('.vc_column-inner',this).css('background-color')!='inherit'){var bgcolor=jQuery('.vc_column-inner',this).css('background-color');before_inlinecss+='background-color: '+bgcolor+';'} if(after_inlinecss!=''||before_inlinecss!=''){jQuery("head").append('')}}})} function brivona_logMarginPadding_right(){jQuery('.wpb_column').each(function(){if(jQuery(this).hasClass('tm-right-span')){var margin=jQuery(this).parent().css("padding-right").replace("px","");margin=parseInt(margin);var elewidth=jQuery(this).css("width").replace("px","");elewidth=parseInt(elewidth);var leftmargin=margin+elewidth;var after_inlinecss='';var before_inlinecss='';var randomclass=Math.floor((Math.random()*1000000)+1);randomclass='brivona-random-class-'+randomclass;jQuery(this).addClass(randomclass);after_inlinecss+='padding-right: '+leftmargin+'px;';if(jQuery('.vc_column-inner',this).css('background-image')!='none'){var bgimage=jQuery('.vc_column-inner',this).css('background-image');jQuery('.vc_column-inner',this).css('background-image','none','!important');after_inlinecss+='background-image: '+bgimage+';'} if(jQuery('.vc_column-inner',this).css('background-color')!=''||jQuery('.vc_column-inner',this).css('background-color')!='inherit'){var bgcolor=jQuery('.vc_column-inner',this).css('background-color');before_inlinecss+='background-color: '+bgcolor+';'} if(after_inlinecss!=''||before_inlinecss!=''){jQuery("head").append('')}}})} function brivona_menuhover_item(){var tm_menu_item,tm_leftmenu,tm_menu_width,tm_parentli_width;var tm_sepline=jQuery(".tm-sepline");var active_item=jQuery("#site-header-menu #site-navigation div.mega-menu-wrap ul.mega-menu.mega-menu-horizontal,#site-header-menu #site-navigation div.nav-menu > ul").children('.mega-current-menu-ancestor, .mega-current-menu-parent, .current-menu-ancestor, .current-menu-parent');if(active_item.length!=0){tm_sepline.width(active_item.width()).css({left:active_item.position().left,opacity:1}).data("origLeft",tm_sepline.position().left).data("origWidth",tm_sepline.width())}else{tm_sepline.css('opacity',0)} jQuery("#site-header-menu #site-navigation div.mega-menu-wrap ul.mega-menu.mega-menu-horizontal > li.mega-menu-item,#site-header-menu #site-navigation div.nav-menu > ul > li").children("a").hover(function(){tm_menu_item=jQuery(this);tm_leftmenu=tm_menu_item.parent().position().left;tm_menu_width=tm_menu_item.parent().width();tm_sepline.stop().animate({left:tm_leftmenu,width:tm_menu_width,opacity:1})},function(){tm_sepline.stop().animate({left:tm_sepline.data("origLeft"),width:tm_sepline.data("origWidth")});if(active_item.length==0){tm_sepline.stop().animate({opacity:0})}});jQuery("#site-header-menu #site-navigation div.nav-menu ul ul > li, .tm-mmmenu-override-yes #site-header-menu #site-navigation div.mega-menu-wrap ul.mega-menu.mega-menu-horizontal li:not(.mega-menu-megamenu) ul.mega-sub-menu > li").children("a").hover(function(){tm_menu_item=jQuery(this);tm_leftmenu=tm_menu_item.parent('.menu-item-has-children,.mega-menu-item-has-children').closest("li").left;tm_menu_width=tm_menu_item.parent().closest("div.nav-menu ul:not(.children,.sub-menu)>li, #mega-menu-wrap-tm-main-menu #mega-menu-tm-main-menu:not(.children,.mega-sub-menu) > li.mega-menu-item").width();tm_sepline.stop().animate({left:tm_leftmenu,width:tm_menu_width,opacity:1})},function(){tm_sepline.stop().animate({left:tm_sepline.data("origLeft"),width:tm_sepline.data("origWidth")});if(active_item.length==0){tm_sepline.stop().animate({opacity:0})}})} function brivona_circle_progress_counter(){jQuery('.tm-circle-box').each(function(){var circle_box=jQuery(this);var fill_val=circle_box.data('fill');var emptyFill_val=circle_box.data('emptyfill');var thickness_val=circle_box.data('thickness');var fill_gradient=circle_box.data('gradient');var startangle_val=(-Math.PI/4*1.5);if(fill_gradient!=''){fill_gradient=fill_gradient.split('|');fill_val={gradient:[fill_gradient[0],fill_gradient[1]]}} if(typeof jQuery.fn.circleProgress=="function"){var digit=circle_box.data('digit');var before=circle_box.data('before');var after=circle_box.data('after');var digit=Number(digit);var short_digit=(digit/100);var size_val=circle_box.data('size');jQuery('.tm-circle',circle_box).circleProgress({value:0,size:size_val,startAngle:startangle_val,thickness:thickness_val,emptyFill:emptyFill_val,fill:fill_val}).on('circle-animation-progress',function(event,progress,stepValue){circle_box.find('.tm-fid-number').html(before+Math.round(stepValue*100)+after)})} circle_box.waypoint(function(direction){if(!circle_box.hasClass('completed')){if(typeof jQuery.fn.circleProgress=="function"){jQuery('.tm-circle',circle_box).circleProgress({value:short_digit})};circle_box.addClass('completed')}},{offset:'90%'})})} jQuery(document).ready(function($){"use strict";themetechmount_hide_gmap();jQuery('.tm-fbar-close, .themetechmount-fbar-btn > a.themetechmount-fbar-btn-link, .tm-float-overlay').on('click',function(){jQuery('.themetechmount-fbar-box-w').toggleClass('animated');jQuery('a.themetechmount-fbar-btn-link').toggleClass('tm-close-icon')});jQuery('#site-header-menu #site-navigation div.nav-menu > ul > li:has(ul), .tm-mmmenu-override-yes #site-header-menu #site-navigation .mega-menu-wrap > ul > li:has(ul)').append("");jQuery('.tm-mmmenu-override-yes #site-navigation .mega-menu-wrap > ul > li.menu-item-language ul').addClass("mega-sub-menu");jQuery('.tm-mmmenu-override-yes #navbar #site-navigation .mega-menu-wrap .mega-menu.mega-menu-horizontal > li.menu-item-language > a').show();jQuery('.tm-mmmenu-override-yes #site-navigation .mega-menu-wrap > ul > li.menu-item-language').hover(function(){jQuery('.tm-mmmenu-override-yes #navbar #site-navigation .mega-menu-wrap .mega-menu.mega-menu-horizontal .mega-menu-flyout .mega-sub-menu').css("display","none");jQuery(this).find('ul').show()},function(){jQuery(this).find('ul').hide()});jQuery('.menu li.current-menu-item').parents('li.mega-menu-megamenu').addClass('mega-current-menu-ancestor');if(!jQuery('body').hasClass("tm-header-invert")){jQuery(".tm-headerstyle-classic-highlight div.nav-menu ul:not(.children,.sub-menu)>li:eq(-4)").addClass("lastfourth");jQuery(".tm-headerstyle-classic-highlight div.nav-menu ul:not(.children,.sub-menu)>li:eq(-3)").addClass("lastthird");jQuery(".nav-menu ul:not(.children,.sub-menu) > li:eq(-2), #site-header-menu #site-navigation div.mega-menu-wrap ul.mega-menu.mega-menu-horizontal > li:eq(-2)").addClass("lastsecond");jQuery(".nav-menu ul:not(.children,.sub-menu) > li:eq(-1), #site-header-menu #site-navigation div.mega-menu-wrap ul.mega-menu.mega-menu-horizontal > li:eq(-1)").addClass("last")} jQuery('.righticon').on('click',function(){if(jQuery(this).siblings('.sub-menu, .children, .mega-sub-menu').hasClass('open')){jQuery(this).siblings('.sub-menu, .children, .mega-sub-menu').removeClass('open');jQuery('i',jQuery(this)).removeClass('tm-brivona-icon-angle-up').addClass('tm-brivona-icon-angle-down')}else{jQuery(this).siblings('.sub-menu, .children, .mega-sub-menu').addClass('open');jQuery('i',jQuery(this)).removeClass('tm-brivona-icon-angle-down').addClass('tm-brivona-icon-angle-up')} return!1});jQuery("#mega-menu-wrap-tm-main-menu #mega-menu-tm-main-menu,#site-header-menu #site-navigation div.nav-menu > ul").append("
  • ");brivona_menuhover_item();brivona_circle_progress_counter();jQuery("a[data-gal^='prettyPhoto']").prettyPhoto({hook:'data-gal'});jQuery(".themetechmount-slider-wrapper > div > div > div:contains('Revolution Slider Error')").css("margin-top","0");jQuery('select').select2();brivona_logMarginPadding();brivona_logMarginPadding_right();jQuery('.vc_row-o-equal-height, .tm-equalheightdiv').each(function(){var thisRow=jQuery(this);jQuery('.wpb_column',thisRow).each(function(){var thisColumn=jQuery(this);if(((jQuery('.tm-col-wrapper-bg-layer',thisColumn).length>0&&(jQuery('.tm-col-wrapper-bg-layer',thisColumn).css('background-image')!='none'))||(jQuery('.vc_column-inner',thisColumn).length>0&&(jQuery('.vc_column-inner',thisColumn).css('background-image')!='none')))&&(jQuery('.wpb_wrapper',thisColumn).html().trim()=='')){if(jQuery('.tm-col-wrapper-bg-layer',thisColumn).length>0&&(jQuery('.tm-col-wrapper-bg-layer',thisColumn).css('background-image')!='none')){var bgimage=jQuery('.tm-col-wrapper-bg-layer',thisColumn).css('background-image').replace('url(','');bgimage=bgimage.replace(')','')}else{var bgimage=jQuery('.vc_column-inner',thisColumn).css('background-image').replace('url(','');bgimage=bgimage.replace(')','')} if(jQuery('.tm-equal-height-image',thisColumn).length==0){jQuery('.vc_column-inner',thisColumn).after('')} jQuery(thisColumn).addClass('tm-emtydiv')}})});jQuery(".tm-header-search-link a").on('click',function(){jQuery(".tm-search-overlay").addClass('st-show');jQuery("body").addClass('st-prevent-scroll');jQuery(".field.searchform-s").focus();return!1});jQuery(".tm-search-overlay").on('click',function(){jQuery(".tm-search-overlay").removeClass('st-show');jQuery("body").removeClass('st-prevent-scroll');return!1});jQuery('.tm-site-searchform').on('click',function(event){event.stopPropagation()});jQuery(".themetechmount-row-fullwidth-true.full-colum-height-widht > .grid_section > .vc_column_container img.vc_single_image-img").each(function(){var imgsrc=jQuery(this).attr("src");jQuery(this).parent().parent().parent().parent().parent('.vc_column_container').css('background-image','url('+imgsrc+')')});jQuery(".search_box a").addClass('sclose');jQuery(".search_box a").on('click',function(){if(jQuery('.search_box a').hasClass('sclose')){jQuery(".search_box a span").removeClass('ti-search').addClass('ti-close');jQuery(this).removeClass('sclose').addClass('open');if(jQuery('#stickable-header-sticky-wrapper').hasClass('is-sticky')){jQuery("html, body").animate({scrollTop:0},1000);jQuery(".k_flying_searchform_wrapper").delay(1500).slideDown(400,function(){jQuery(".field.searchform-s").focus()})}else{jQuery(".k_flying_searchform_wrapper").slideDown(400,function(){jQuery(".field.searchform-s").focus()})}}else{jQuery(this).removeClass('open').addClass('sclose');jQuery(".search_box a span").removeClass('ti-close').addClass('ti-search');jQuery(".k_flying_searchform_wrapper").slideUp(400,function(){})}});if(typeof jQuery.fn.prettyPhoto=="function"){jQuery('div.gallery a[href*=".jpg"], div.gallery a[href*=".jpeg"], div.gallery a[href*=".png"], div.gallery a[href*=".gif"]').each(function(){if(jQuery(this).attr('target')!='_blank'){jQuery(this).attr('rel','prettyPhoto[wp-gallery]')}});jQuery('.gallery-item a[href*=".jpg"], .gallery-item a[href*=".jpeg"], .gallery-item a[href*=".png"], .gallery-item a[href*=".gif"]').each(function(){if(jQuery(this).attr('target')!='_blank'){jQuery(this).attr('rel','prettyPhoto[coregallery]')}});jQuery('a[href*=".jpg"], a[href*=".jpeg"], a[href*=".png"], a[href*=".gif"]').each(function(){if(jQuery(this).attr('target')!='_blank'&&!jQuery(this).hasClass('prettyphoto')){var attr=$(this).attr('rel');if(typeof attr!==typeof undefined&&attr!==!1&&attr!='prettyPhoto'){jQuery(this).attr('data-rel','prettyPhoto')}}});jQuery('a[data-rel^="prettyPhoto"]').prettyPhoto();jQuery('a.tm_prettyphoto, div.tm_prettyphoto a').prettyPhoto();jQuery('a[rel^="prettyPhoto"]').prettyPhoto();jQuery("a.themetechmount-open-gallery").on('click',function(){var id=jQuery(this).data('id');var currid=window['api_images_'+id];jQuery.prettyPhoto.open(window['api_images_'+id],window['api_titles_'+id],window['api_desc_'+id])})} $("[data-appear-animation]").each(function(){var self=$(this);var animation=self.data("appear-animation");var delay=(self.data("appear-animation-delay")?self.data("appear-animation-delay"):0);if($(window).width()>959){self.html('0');self.waypoint(function(direction){if(!self.hasClass('completed')){var from=self.data('from');var to=self.data('to');var interval=self.data('interval');self.numinate({format:'%counter%',from:from,to:to,runningInterval:2000,stepUnit:interval,onComplete:function(elem){self.addClass('completed')}})}},{offset:'85%'})}else{if(animation=='animateWidth'){self.css('width',self.data("width"))}}});if(jQuery('.themetechmount-testimonial-box').length>0){setHeight('.themetechmount-testimonial-box.col-lg-6.col-sm-6.col-md-6');setHeight('.themetechmount-testimonial-box.col-lg-4.col-sm-6.col-md-4');setHeight('.themetechmount-testimonial-box.col-lg-3.col-sm-6.col-md-3')} if(jQuery('.tm-stickable-header').length>0){themetechmount_sticky()} $('#site-navigation a[href="#"]').on('click',function(){return!1});$(".themetechmount-close-icon").on('click',function(){$("#page").css('padding-top',(parseInt($("#page").css('padding-top'))-parseInt($(".themetechmount-wbar").height()))+'px');$(".themetechmount-wbar").slideUp();themetechmount_setCookie('kw_hidewbar','1',1)});var galleryHTML=jQuery(".gallery-size-full br").each(function(){jQuery(this).remove()});jQuery("a.themetechmount-open-gallery").on('click',function(){var href=jQuery(this).attr('href');var id=href.replace("#themetechmount-embed-code-","");var currid=window['api_images_'+id];jQuery.prettyPhoto.open(window['api_images_'+id],window['api_titles_'+id],window['api_desc_'+id])});if(jQuery().isotope){jQuery(window).load(function(){"use strict";themetechmount_isotope()});jQuery(window).resize(function(){themetechmount_isotope()})} $('.themetechmount-portfolio-likes').on('click',function(e){e.preventDefault();var link=$(this);if(link.hasClass('like-active'))return!1;$(this).html('');var id=$(this).attr('id');$.post(ajaxurl,{action:'themetechmount-portfolio-likes',likes_id:id},function(data){$('i.fa fa-heart-o',link).removeClass('fa fa-heart-o').addClass('fa fa-heart');link.html(data).addClass('like-active')})});jQuery('footer#colophon').resize(function(){themetechmount_stickyFooter()});themetechmount_stickyFooter();equalheight('.tm-equalheightdiv .wpb_column.vc_column_container');themetechmount_hide_togle_link();jQuery("#tm-header-slider > div > div:contains('Revolution Slider Error')").css("margin","auto");$.fn.smTimeline=function(option,value){jQuery(this).each(function(){var $sm_timeline=jQuery(this);var is_mobile_view=jQuery(window).width()<768;$sm_timeline.find('.timeline-element').each(function(){var $this=jQuery(this);var $timeline_spine=$this.find('.tm-timeline-spine');if(is_mobile_view){$this.addClass('wow fadeInUp');$timeline_spine.attr('style','')}else{if($this.hasClass('left-side')){$this.find('.tm-animation-wrap').addClass('wow fadeInLeft')}else if($this.hasClass('right-side')){$this.find('.tm-animation-wrap').addClass('wow fadeInRight')} if($this.next().length==0)return;var $next=$this.next();var $next_tl_spine=$next.find('.tm-timeline-spine');if($next.hasClass('tm-date-separator')){$timeline_spine.height($next.offset().top-$timeline_spine.offset().top-5)}else if($next_tl_spine.length){$timeline_spine.height($next_tl_spine.offset().top-$timeline_spine.offset().top-25)}}})})} jQuery('.themetechmount-boxes-view-carousel, .themetechmount-boxes-view-carousel-leftimg, .themetechmount-boxes-view-carousel-bottomimg').each(function(){var thisElement=jQuery(this);var tm_column=3;var tm_slidestoscroll=3;var tm_slidestoscroll_1200=3;var tm_slidestoscroll_992=3;var tm_slidestoscroll_768=2;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1;if(jQuery(this).data('tm-slidestoscroll')=='1'){var tm_slidestoscroll=1;var tm_slidestoscroll_1200=1;var tm_slidestoscroll_992=1;var tm_slidestoscroll_768=1;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1} var tm_responsive=[{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:tm_slidestoscroll_1200}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:tm_slidestoscroll_768}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_479}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_0}}];if(jQuery(this).hasClass('themetechmount-boxes-col-three')){tm_column=3;tm_slidestoscroll=3;var tm_slidestoscroll_1200=3;var tm_slidestoscroll_768=2;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1;if(jQuery(this).data('tm-slidestoscroll')=='1'){var tm_slidestoscroll=1;var tm_slidestoscroll_1200=1;var tm_slidestoscroll_768=1;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1} tm_responsive=[{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:tm_slidestoscroll_1200,}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:tm_slidestoscroll_768}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_479}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_0}}]}else if(jQuery(this).hasClass('themetechmount-boxes-col-one')){tm_column=1;tm_slidestoscroll=1;tm_responsive=[{breakpoint:1200,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!1,centerPadding:'0px',arrows:!0}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1,centerMode:!1,centerPadding:'0px',arrows:!0}},{breakpoint:479,settings:{slidesToShow:1,centerMode:!1,centerPadding:'0px',slidesToScroll:1}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:1}}]}else if(jQuery(this).hasClass('themetechmount-boxes-col-two')){tm_column=2;tm_slidestoscroll=2;var tm_slidestoscroll_1200=2;var tm_slidestoscroll_768=2;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1;if(jQuery(this).data('tm-slidestoscroll')=='1'){var tm_slidestoscroll=1;var tm_slidestoscroll_1200=1;var tm_slidestoscroll_768=1;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1} tm_responsive=[{breakpoint:1200,settings:{slidesToShow:2,slidesToScroll:tm_slidestoscroll_1200}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:tm_slidestoscroll_768}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_479}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_0}}]}else if(jQuery(this).hasClass('themetechmount-boxes-col-four')){tm_column=4;tm_slidestoscroll=4;var tm_slidestoscroll_1200=4;var tm_slidestoscroll_992=3;var tm_slidestoscroll_768=2;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1;if(jQuery(this).data('tm-slidestoscroll')=='1'){var tm_slidestoscroll=1;var tm_slidestoscroll_1200=1;var tm_slidestoscroll_992=1;var tm_slidestoscroll_768=1;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1} tm_responsive=[{breakpoint:1200,settings:{slidesToShow:4,slidesToScroll:tm_slidestoscroll_1200}},{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:tm_slidestoscroll_992}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:tm_slidestoscroll_768}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_479}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_0}}]}else if(jQuery(this).hasClass('themetechmount-boxes-col-five')){tm_column=5;tm_slidestoscroll=5;var tm_slidestoscroll_1200=5;var tm_slidestoscroll_768=3;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1;if(jQuery(this).data('tm-slidestoscroll')=='1'){var tm_slidestoscroll=1;var tm_slidestoscroll_1200=1;var tm_slidestoscroll_768=1;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1} tm_responsive=[{breakpoint:1200,settings:{slidesToShow:5,slidesToScroll:tm_slidestoscroll_1200}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:tm_slidestoscroll_768}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_479}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_0}}]}else if(jQuery(this).hasClass('themetechmount-boxes-col-six')){tm_column=6;tm_slidestoscroll=6;var tm_slidestoscroll_1200=6;var tm_slidestoscroll_768=3;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1;if(jQuery(this).data('tm-slidestoscroll')=='1'){var tm_slidestoscroll=1;var tm_slidestoscroll_1200=1;var tm_slidestoscroll_768=1;var tm_slidestoscroll_479=1;var tm_slidestoscroll_0=1} tm_responsive=[{breakpoint:1200,settings:{slidesToShow:6,slidesToScroll:tm_slidestoscroll_1200}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:tm_slidestoscroll_768}},{breakpoint:479,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_479}},{breakpoint:0,settings:{slidesToShow:1,slidesToScroll:tm_slidestoscroll_0}}]} var tm_fade=!1;if(jQuery(this).data('tm-effecttype')=='fade'){tm_fade=!0} var tm_speed=800;if(jQuery.trim(jQuery(this).data('tm-speed'))!=''){tm_speed=jQuery.trim(jQuery(this).data('tm-speed'))} var tm_autoplay=!1;if(jQuery(this).data('tm-autoplay')=='1'){tm_autoplay=!0} var tm_autoplayspeed=2000;if(jQuery.trim(jQuery(this).data('tm-autoplayspeed'))!=''){tm_autoplayspeed=jQuery.trim(jQuery(this).data('tm-autoplayspeed'))} var tm_loop=!1;if(jQuery.trim(jQuery(this).data('tm-loop'))=='1'){tm_loop=!0} var tm_dots=!1;if(jQuery.trim(jQuery(this).data('tm-dots'))=='1'){tm_dots=!0} var tm_nav=!1;if(jQuery.trim(jQuery(this).data('tm-nav'))=='1'||jQuery.trim(jQuery(this).data('tm-nav'))=='above'||jQuery.trim(jQuery(this).data('tm-nav'))=='below'){tm_nav=!0} var tm_centermode=!1;if(jQuery.trim(jQuery(this).data('tm-centermode'))=='1'){tm_centermode=!0} var tm_centerpadding=800;if(jQuery.trim(jQuery(this).data('tm-centerpadding'))!=''){var tm_centerpadding=jQuery.trim(jQuery(this).data('tm-centerpadding'))} var tm_pauseonfocus=!1;if(jQuery.trim(jQuery(this).data('tm-pauseonfocus'))=='1'){tm_pauseonfocus=!0} var tm_pauseonhover=!1;if(jQuery.trim(jQuery(this).data('tm-pauseonhover'))=='1'){tm_pauseonhover=!0} var tm_rtl=!1;if(jQuery('body').hasClass('rtl')){tm_rtl=!0} jQuery('.themetechmount-boxes-row-wrapper > div',this).removeClass(function(index,css){return(css.match(/(^|\s)col-\S+/g)||[]).join(' ')});jQuery('.themetechmount-boxes-row-wrapper',this).slick({fade:tm_fade,speed:tm_speed,centerMode:tm_centermode,centerPadding:tm_centerpadding+'px',pauseOnFocus:tm_pauseonfocus,pauseOnHover:tm_pauseonhover,slidesToShow:tm_column,slidesToScroll:tm_slidestoscroll,autoplay:tm_autoplay,autoplaySpeed:tm_autoplayspeed,rtl:tm_rtl,dots:tm_dots,pauseOnDotsHover:!1,arrows:tm_nav,adaptiveHeight:!1,infinite:tm_loop,responsive:tm_responsive})});jQuery('.themetechmount-boxes-row-wrapper',this).on('setPosition',function(event,slick){jQuery(this).find(".tm-flexslider").each(function(){jQuery(this).resize()})});jQuery(".tm-slick-arrow.tm-slick-next",this).on('click',function(){jQuery('.themetechmount-boxes-row-wrapper',jQuery(this).closest('.themetechmount-boxes-view-carousel')).slick('slickNext')});jQuery(".tm-slick-arrow.tm-slick-prev",this).on('click',function(){jQuery('.themetechmount-boxes-row-wrapper',jQuery(this).closest('.themetechmount-boxes-view-carousel')).slick('slickPrev')});jQuery('.themetechmount-boxes-view-slickview,.themetechmount-boxes-view-slickview-leftimg').each(function(){var tm_fade=!1;if(jQuery(this).data('tm-effecttype')=='fade'){tm_fade=!0} var tm_speed=800;if(jQuery.trim(jQuery(this).data('tm-speed'))!=''){tm_speed=jQuery.trim(jQuery(this).data('tm-speed'))} var tm_autoplay=!1;if(jQuery(this).data('tm-autoplay')=='1'){tm_autoplay=!0} var tm_autoplayspeed=2000;if(jQuery.trim(jQuery(this).data('tm-autoplayspeed'))!=''){tm_autoplayspeed=jQuery.trim(jQuery(this).data('tm-autoplayspeed'))} var tm_loop=!1;if(jQuery.trim(jQuery(this).data('tm-loop'))=='1'){tm_loop=!0} var tm_dots=!1;if(jQuery.trim(jQuery(this).data('tm-dots'))=='1'){tm_dots=!0} var tm_nav=!1;if(jQuery.trim(jQuery(this).data('tm-nav'))=='1'){tm_nav=!0} var testinav=jQuery('.testimonials-nav',this);var testiinfo=jQuery('.testimonials-info',this);var rtloption=!1;if(jQuery('body').hasClass('rtl')){rtloption=!0} jQuery('.testimonials-info',this).slick({fade:tm_fade,arrows:!0,asNavFor:testinav,adaptiveHeight:!0,speed:tm_speed,autoplay:tm_autoplay,autoplaySpeed:tm_autoplayspeed,infinite:tm_loop,rtl:rtloption});jQuery('.testimonials-nav',this).slick({slidesToShow:1,asNavFor:testiinfo,centerMode:!0,centerPadding:0,focusOnSelect:!0,autoplay:tm_autoplay,autoplaySpeed:tm_autoplayspeed,speed:tm_speed,arrows:tm_nav,dots:tm_dots,variableWidth:!0,infinite:tm_loop,rtl:rtloption})});jQuery('.themetechmount-boxes-view-slickview-bottomimg').each(function(){var tm_fade=!1;if(jQuery(this).data('tm-effecttype')=='fade'){tm_fade=!0} var tm_speed=800;if(jQuery.trim(jQuery(this).data('tm-speed'))!=''){tm_speed=jQuery.trim(jQuery(this).data('tm-speed'))} var tm_autoplay=!1;if(jQuery(this).data('tm-autoplay')=='1'){tm_autoplay=!0} var tm_autoplayspeed=2000;if(jQuery.trim(jQuery(this).data('tm-autoplayspeed'))!=''){tm_autoplayspeed=jQuery.trim(jQuery(this).data('tm-autoplayspeed'))} var tm_loop=!1;if(jQuery.trim(jQuery(this).data('tm-loop'))=='1'){tm_loop=!0} var tm_dots=!1;if(jQuery.trim(jQuery(this).data('tm-dots'))=='1'){tm_dots=!0} var tm_nav=!1;if(jQuery.trim(jQuery(this).data('tm-nav'))=='1'){tm_nav=!0} var testinav=jQuery('.testimonials-nav',this);var testiinfo=jQuery('.testimonials-info',this);var rtloption=!1;if(jQuery('body').hasClass('rtl')){rtloption=!0} jQuery('.testimonials-info',this).slick({fade:tm_fade,arrows:!1,asNavFor:testinav,adaptiveHeight:!0,speed:tm_speed,autoplay:tm_autoplay,autoplaySpeed:tm_autoplayspeed,infinite:tm_loop,rtl:rtloption});jQuery('.testimonials-nav',this).slick({slidesToShow:1,asNavFor:testiinfo,centerMode:!1,centerPadding:0,focusOnSelect:!0,autoplay:tm_autoplay,autoplaySpeed:tm_autoplayspeed,speed:tm_speed,arrows:!0,dots:tm_dots,variableWidth:!0,infinite:tm_loop,rtl:rtloption})});if(jQuery('body').hasClass('themetechmount-one-page-site')){var sections=jQuery('.tm-row, #tm-header-slider'),nav=jQuery('.mega-menu-wrap, div.nav-menu'),nav_height=jQuery('#site-navigation').data('sticky-height')-1;jQuery(window).on('scroll',function(){if(jQuery('body').scrollTop()<5){nav.find('a').parent().removeClass('mega-current-menu-item mega-current_page_item current-menu-ancestor current-menu-item current_page_item');nav.find('a[href="#tm-home"]').parent().addClass('mega-current-menu-item mega-current_page_item current-menu-ancestor current-menu-item current_page_item')} var cur_pos=jQuery(this).scrollTop();sections.each(function(){var top=jQuery(this).offset().top-(nav_height+2),bottom=top+jQuery(this).outerHeight();if(cur_pos>=top&&cur_pos<=bottom){if(typeof jQuery(this)!='undefined'&&typeof jQuery(this).attr('id')!='undefined'&&jQuery(this).attr('id')!=''){var mainThis=jQuery(this);nav.find('a').removeClass('mega-current-menu-item mega-current_page_item current-menu-ancestor current-menu-item current_page_item');jQuery(this).addClass('mega-current-menu-item mega-current_page_item current-menu-ancestor current-menu-item current_page_item');var arr=mainThis.attr('id');nav.find('a').parent().removeClass('mega-current-menu-item mega-current_page_item current-menu-ancestor current-menu-item current_page_item');nav.find('a').each(function(){var menuAttr=jQuery(this).attr('href').split('#')[1];if(menuAttr==arr){jQuery(this).parent().addClass('mega-current-menu-item mega-current_page_item current-menu-ancestor current-menu-item current_page_item')}})}}})});nav.find('a').on('click',function(){var $el=jQuery(this),id=$el.attr('href');var arr=id.split('#')[1];jQuery('html, body').animate({scrollTop:jQuery('#'+arr).offset().top-nav_height},500);return!1})}});jQuery(window).load(function(){"use strict";if(jQuery('.tm-flexslider').length>0){jQuery('.tm-flexslider').flexslider({animation:"slide",controlNav:!0,directionNav:!1,start:function(){if(jQuery('.tm-timeline').length>0){jQuery('.tm-timeline').smTimeline()}}})} function themetechmount_preloader_fade_out(){jQuery('.tm-page-loader-wrapper').fadeOut(1000)} if(jQuery('.tm-page-loader-wrapper').length>0){setTimeout(themetechmount_preloader_fade_out,100)} if(jQuery('.tm-timeline').length>0){jQuery('.tm-timeline').smTimeline()} jQuery('#pageoverlay').fadeOut(500);var $container=jQuery('.portfolio-wrapper');$container.isotope({filter:'*',animationOptions:{duration:750,easing:'linear',queue:!1,}});jQuery('nav.portfolio-sortable-list ul li a').on('click',function(){var selector=jQuery(this).attr('data-filter');$container.isotope({filter:selector,animationOptions:{duration:750,easing:'linear',queue:!1,}});jQuery('nav.portfolio-sortable-list').find('a.selected').removeClass('selected');jQuery(this).addClass('selected');return!1});if(jQuery('.themetechmount-slider-wrapper .nivoSlider').length>0){jQuery('.themetechmount-slider-wrapper .nivoSlider').nivoSlider()} var rtloption=!1;if(jQuery('body').hasClass('rtl')){rtloption=!0} jQuery('.tm-slick-carousel').slick({autoplay:!0,arrows:!1,dots:!0,rtl:rtloption,});(function(){var nav=jQuery('#site-navigation'),button,menu;if(!nav) return;button=nav.find('.menu-toggle');if(!button) return;menu=nav.find('.nav-menu');if(!menu||!menu.children().length){button.hide();return} jQuery('.menu-toggle').on('click.brivona',function(){nav.toggleClass('toggled-on')})})();jQuery('.righticon').each(function(){var mainele=this;if(jQuery(mainele).prev().prev().length>0){if(jQuery(mainele).prev().prev().attr('href')=='#'){jQuery(mainele).prev().prev().on('click',function(){jQuery(mainele).trigger("click")})}}});brivona_menuhover_item();themetechmount_blogmasonry();jQuery(".themetechmount-fbar-content-wrapper").perfectScrollbar({suppressScrollX:!0,includePadding:!0});jQuery(".tm-header-style-classic-vertical .tm-header-block").perfectScrollbar({suppressScrollX:!0,includePadding:!0})});jQuery(window).resize(function(){"use strict";equalheight('.tm-equalheightdiv .wpb_column.vc_column_container');setTimeout(function(){jQuery('.tm-timeline').smTimeline()},100);if(jQuery('.themetechmount-testimonial-box').length>0){setHeight('.themetechmount-testimonial-box.col-lg-4.col-sm-6.col-md-4');setHeight('.themetechmount-testimonial-box.col-lg-6.col-sm-6.col-md-6');setHeight('.themetechmount-testimonial-box.col-lg-3.col-sm-6.col-md-3')} themetechmount_sticky()});jQuery(document).ready(function(){jQuery(".widget_nav_menu li a").each(function(){if(!jQuery(this).attr('href')){jQuery(this).closest("li").addClass("empty_link")}})});