jQuery(function($){
"use strict";
jQuery('.gb_navigation > ul').superfish({
delay: 500,
animation: {opacity:'show',height:'show'},
speed: 'fast'
});
});
function architecture_building_gb_Menu_open() {
jQuery(".side_gb_nav").addClass('show');
}
function architecture_building_gb_Menu_close() {
jQuery(".side_gb_nav").removeClass('show');
}
jQuery(function($){
$('.gb_toggle').click(function () {
architecture_building_Keyboard_loop($('.side_gb_nav'));
});
});
jQuery('document').ready(function(){
var owl = jQuery('#slider .owl-carousel');
owl.owlCarousel({
center: true,
stagePadding: 200,
loop:true,
margin:10,
autoplay : true,
lazyLoad: true,
autoplayTimeout: 5000,
loop: true,
dots:false,
rtl:true,
navText : ['',''],
nav:true,
items:1,
lazyLoad: true,
nav:true,
rtl:true,
responsive:{
0:{
items:1,
stagePadding: 60
},
600:{
items:1,
stagePadding: 100
},
1000:{
items:1,
stagePadding: 200
},
1200:{
items:1,
stagePadding: 200
},
1400:{
items:1,
stagePadding: 300
},
1600:{
items:1,
stagePadding: 350
},
1800:{
items:1,
stagePadding: 400
}
}
});
});
jQuery(window).load(function() {
jQuery(".preloader").delay(2000).fadeOut("slow");
});
jQuery(window).scroll(function(){
if (jQuery(this).scrollTop() > 100) {
jQuery('.scrollup').addClass('is-active');
} else {
jQuery('.scrollup').removeClass('is-active');
}
});
jQuery( document ).ready(function() {
jQuery('#architecture-building-scroll-to-top').click(function (argument) {
jQuery("html, body").animate({
scrollTop: 0
}, 600);
})
})