', {
class: 'box-1-span box-1-span-vertical'
}).css({
'position': 'absolute',
'width': 2,
'height': ($('.box-1-span.box-1-span-end').offset().top - $('.box-1-span.box-1-span-start').offset().top),
}).appendTo($('.box-1-span.box-1-span-start'));
$('', {
class: 'box-1-end-arrow'
}).appendTo($('.box-1-span.box-1-span-end'));
}
}
})
jQuery(function ($) {
if ($(window).width() > 1024) {
if ($('body.page-id-1182').length) {
let row_1 = $('#contact-members > .e-con-inner > div').slice(0, 3).sort(function (a, b) {
return $(b).height() - $(a).height();
}).first();
let row_2 = $('#contact-members > .e-con-inner > div').slice(3, 5).sort(function (a, b) {
return $(b).height() - $(a).height();
}).first();
let row_3 = $('#contact-members > .e-con-inner > div').slice(5, 8).sort(function (a, b) {
return $(b).height() - $(a).height();
}).first();
let row_gap = row_2.offset().top - row_1.offset().top - row_1.height();
let col_gap = $('#contact-members > .e-con-inner > div:nth-child(2)').offset().left - $('#contact-members > .e-con-inner > div:nth-child(1)').offset().left - $('#contact-members > .e-con-inner > div:nth-child(1)').width()
$('', {
class: 'cm-line-1'
}).css({
'width': $('#contact-members > .e-con-inner > div:nth-child(1)').width() + $('#contact-members > .e-con-inner > div:nth-child(2)').width() + col_gap,
'height': '1px',
'top': (row_2.offset().top - row_1.offset().top) - ((row_2.offset().top - row_1.offset().top - row_1.height()) / 2)
}).appendTo($('#contact-members > .e-con-inner'));
$('', {
class: 'cm-line-2'
}).css({
'width': $('#contact-members > .e-con-inner > div:nth-child(3)').width(),
'height': '1px',
'right': 0,
'top': (row_2.offset().top - row_1.offset().top) - ((row_2.offset().top - row_1.offset().top - row_1.height()) / 2)
}).appendTo($('#contact-members > .e-con-inner'));
$('', {
class: 'cm-line-3'
}).css({
'width': $('#contact-members > .e-con-inner').width(),
'height': '1px',
'top': row_1.height() + row_gap + row_2.height() + (row_gap / 2)
}).appendTo($('#contact-members > .e-con-inner'));
$('', {
class: 'cm-line-4'
}).css({
'width': '1px',
'height': $('#contact-members > .e-con-inner > div:nth-child(3)').height() + $('#contact-members > .e-con-inner > div:nth-child(5)').height() + row_gap,
'right': $('#contact-members > .e-con-inner > div:nth-child(3)').width() + col_gap / 2,
'top': 0
}).appendTo($('#contact-members > .e-con-inner'));
}
}
})
jQuery(function ($) {
if (!$('body.single-post').length) {
$('header').css({
'margin-bottom': `-${$('header').height()}px`
})
$(window).scroll(function () {
if ($(this).scrollTop() > 100) {
$('header.elementor-location-header').addClass('fixed');
} else {
$('header.elementor-location-header').removeClass('fixed');
}
});
$('body').on('click', '#header-search-switcher', function () {
$('#header-search-box').slideToggle();
})
}
})