“);
$(“#menuElem #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“”);

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“

“);
$(“#menuElem #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“

“);

$(“#MenuElements .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“”);
$(“#menuElem .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“”);

$(“#MenuElements .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“

“);
$(“#menuElem .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).append(“

“);

/*inicio codigo para fazer o menu 3*/
var p = 0;

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).addClass(“menu_de_lado1_submenu”);
$(“#menuElem #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).addClass(“menu_de_lado1_submenu”);

$(“.L2CMSListMenuUL .L2CMSListMenuLI .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });

$(“.menu_de_lado1_submenu”).click(function () {

if (p == 0) {
//apagar e mostrar hr consuante ao numero de opçoes
var a = 0;
a = $(this).find(“.L2CMSListMenuUL .L2CMSListMenuLI”).length;
//alert(a);
$(“#mySidenav div:nth-child(n+6)”).css({ “display”: “none” });
a = a + 5;
//alert(a);
$(“#mySidenav div:nth-child(-n + ” + a + “)”).css({ “display”: “block” });

$(“.vl6”).css({ “display”: “none” });
$(“.vl19”).css({ “display”: “block” });

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(“#menuElem #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(this).css({ “display”: “block” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI’).css({ “display”: “block” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI’).css({ “margin-top”: “10px” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI#menu_de_lado1’).css({ “margin-top”: “-4px” });
$(“.menu_de_lado1_submenu”).css({ “margin-top”: “0px” });
//$(“.headerLeft .L1CMSListMenuUL>#menu_de_lado1>.L2CMSListMenuUL”).css({ “margin-left”: “-39px” });
if ($(window).width() #menu_de_lado1>.L2CMSListMenuUL”).css({ “margin-left”: “-50px” });
}

//fazer o submenu ficar com a animação da seta
/*$(“#menu_de_lado1”).find(‘.L2CMSListMenuUL .L2CMSListMenuLI .fa-angle-right’).css({ “transform”: “rotate(180deg)” });
$(“#menu_de_lado1”).find(‘.L2CMSListMenuUL .L2CMSListMenuLI .fa-angle-right’).css({ “margin-left”: “-46px” });
$(“#menu_de_lado1”).find(‘.L2CMSListMenuUL .L2CMSListMenuLI .vl20’).css({ “display”: “none” });*/

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4)”).css({ “margin-top”: “-21px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4) > .L2CMSListMenuLink”).css({ “top”: “8px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4) > .L2CMSListMenuLink”).css({ “position”: “relative” });

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5)”).css({ “margin-top”: “-21px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5) > .L2CMSListMenuLink”).css({ “top”: “8px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5) > .L2CMSListMenuLink”).css({ “position”: “relative” });

$(“.L1CMSListMenuUL .L1CMSListMenuLI ul .fa-angle-right”).css({“transform” : “rotate(180deg)”});
}

if (p == 1) {
$(“#mySidenav div”).css({ “display”: “block” });
$(“.vl6”).css({ “display”: “none” });
$(“.vlsubmenu9”).css({ “display”: “none” });
$(“.vlsubmenu10”).css({ “display”: “none” });
$(“.vlsubmenu11”).css({ “display”: “none” });
$(“.vlsubmenu12”).css({ “display”: “none” });

$(“#MenuElements > #menu_de_lado1 .L2CMSListMenuUL > li”).css({ “display”: “block” });
$(“#menuElem > #menu_de_lado1 .L2CMSListMenuUL > li”).css({ “display”: “block” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI’).css({ “display”: “none” });
$(“#MenuElements > #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(“#menuElem > #menu_de_lado1 .L2CMSListMenuUL .L2CMSListMenuLI .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(“.menu_de_lado1_submenu”).css({ “margin-top”: “11px” });

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4)”).css({ “margin-top”: “-9px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4) > .L2CMSListMenuLink”).css({ “top”: “8px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4) > .L2CMSListMenuLink”).css({ “position”: “relative” });

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5)”).css({ “margin-top”: “-9px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5) > .L2CMSListMenuLink”).css({ “top”: “8px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5) > .L2CMSListMenuLink”).css({ “position”: “relative” });

$(“.menu_de_lado1_submenu#menu_de_lado1”).css({ “margin-top”: “0px” });
//$(“.headerLeft .L1CMSListMenuUL>#menu_de_lado1>.L2CMSListMenuUL”).css({ “margin-left”: “-39px” });

if ($(window).width() #menu_de_lado1>.L2CMSListMenuUL”).css({ “margin-left”: “-50px” });
}
p = -1;

$(“.L1CMSListMenuUL .L1CMSListMenuLI ul .fa-angle-right”).css({“transform” : “rotate(0deg)”});
}

p = p + 1;

});

$(“#MenuElements .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).addClass(“menu_de_lado2_submenu”);
$(“#menuElem .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI:has(> .L2CMSListMenuUL)”).addClass(“menu_de_lado2_submenu”);

$(“.menu_de_lado2_submenu”).click(function () {

if (p == 0) {
//apagar e mostrar hr consuante ao numero de opçoes
var a = 0;
a = $(this).find(“.L2CMSListMenuUL .L2CMSListMenuLI”).length;
//alert(a);
$(“#mySidenav div:nth-child(n+6)”).css({ “display”: “none” });
a = a + 5;
//alert(a);
$(“#mySidenav div:nth-child(-n + ” + a + “)”).css({ “display”: “block” });

$(“.vl6”).css({ “display”: “none” });
$(“.vl19”).css({ “display”: “block” });

$(“#MenuElements .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(“#menuElem .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(this).css({ “display”: “block” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI’).css({ “display”: “block” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI’).css({ “margin-top”: “10px” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI#menu_de_lado1’).css({ “margin-top”: “-4px” });
$(“.menu_de_lado2_submenu”).css({ “margin-top”: “0px” });
//$(“.headerLeft .L1CMSListMenuUL>.menu_de_lado2>.L2CMSListMenuUL”).css({ “margin-left”: “-39px” });
if ($(window).width() .menu_de_lado2>.L2CMSListMenuUL”).css({ “margin-left”: “-50px” });
}

$(“.menu_de_lado2_submenu”).each(function( index ){

if ($(this).height() > 20) {
$(this).css({ “margin-top”: “-23px” });
$(this).find(‘.L2CMSListMenuLink’).css({ “position”: “relative” });
$(this).find(‘.L2CMSListMenuLink’).css({ “top”: “8px” });
if ($(window).width() 319) {
//$(this).css({ “margin-top”: “-9px” });
$(“.menu_de_lado2_submenu#menu_de_lado1”).css({ “margin-top”: “-23px” });
}
}
});

$(“.L1CMSListMenuUL .L1CMSListMenuLI ul .fa-angle-right”).css({“transform” : “rotate(180deg)”});

}

if (p == 1) {
$(“#mySidenav div”).css({ “display”: “block” });
$(“.vl6”).css({ “display”: “none” });
$(“.vl15”).css({ “display”: “none” });
$(“.vlsubmenu9”).css({ “display”: “none” });
$(“.vlsubmenu10”).css({ “display”: “none” });
$(“.vlsubmenu11”).css({ “display”: “none” });
$(“.vlsubmenu12”).css({ “display”: “none” });

$(“#MenuElements > .menu_de_lado2 .L2CMSListMenuUL > li”).css({ “display”: “block” });
$(“#menuElem > .menu_de_lado2 .L2CMSListMenuUL > li”).css({ “display”: “block” });
$(this).find(‘.L2CMSListMenuUL .L2CMSListMenuLI’).css({ “display”: “none” });
$(“#MenuElements > .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(“#menuElem > .menu_de_lado2 .L2CMSListMenuUL .L2CMSListMenuLI .L2CMSListMenuUL .L2CMSListMenuLI”).css({ “display”: “none” });
$(“.menu_de_lado2_submenu”).css({ “margin-top”: “11px” });

$(“.menu_de_lado2_submenu”).each(function( index ){

if ($(this).height() > 20) {
$(this).css({ “margin-top”: “-23px” });
$(this).find(‘.L2CMSListMenuLink’).css({ “position”: “relative” });
$(this).find(‘.L2CMSListMenuLink’).css({ “top”: “8px” });
if ($(window).width() 319) {
$(this).css({ “margin-top”: “-9px” });
$(“.menu_de_lado2_submenu#menu_de_lado1”).css({ “margin-top”: “-23px” });
}
}
});

$(“.menu_de_lado2_submenu#menu_de_lado1”).css({ “margin-top”: “0px” });
//$(“.headerLeft .L1CMSListMenuUL>.menu_de_lado2>.L2CMSListMenuUL”).css({ “margin-left”: “-39px” });

if ($(window).width() .menu_de_lado2>.L2CMSListMenuUL”).css({ “margin-left”: “-50px” });
}
p = -1;
$(“.L1CMSListMenuUL .L1CMSListMenuLI ul .fa-angle-right”).css({“transform” : “rotate(0deg)”});
}

p = p + 1;
});

/*fim codigo para fazer o menu 3*/

if ($(window).width() #menu_de_lado1 span”).click(function (e) {

$(document).ready(function () {
$(“.L1CMSListMenuUL .L1CMSListMenuLI ul .fa-angle-right”).hover(function () {
$(this).siblings(“.vl20”).css(“background-color”, “#f5f5f5”);
}, function () {

$(this).siblings(“.vl20”).removeAttr(“style”)
});

$(“.vl20”).hover(function () {
$(this).siblings(“.vl20”).css(“background-color”, “#f5f5f5”);
}, function () {
$(this).siblings(“.vl20”).css(“background-color”, “#FFFFFF”);
});
});

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//repito duas vezes
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL”).toggle();
//Vai fechar todos os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(7)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas que so sao supostas aparecerem quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();
$(“.vl15”).toggle();

//Vai abrir o submenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL”).toggle();
//Vai fechar todos os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(7)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas que so sao supostas aparecerem quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();
$(“.vl15”).toggle();

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(7)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();
$(“.vl15”).toggle();

if (a == 0) {

$(“#menu_de_lado1”).find(‘.L1CMSListMenuLink’).css({ “color”: “#000f8c” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “transform”: “rotate(180deg)” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “margin-left”: “-46px” });
if ($(window).width() 767)
{

$(“.headerRight”).css(“cssText”, “display: block !important”);
}

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4)”).css({ “margin-top”: “-9px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4) > .L2CMSListMenuLink”).css({ “top”: “8px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(4) > .L2CMSListMenuLink”).css({ “position”: “relative” });

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5)”).css({ “margin-top”: “-9px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5) > .L2CMSListMenuLink”).css({ “top”: “8px” });
$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL .menu_de_lado1_submenu:nth-child(5) > .L2CMSListMenuLink”).css({ “position”: “relative” });

$(“#MenuElements #menu_de_lado1 .L2CMSListMenuUL #menu_de_lado1”).css({ “margin-top”: “0px” });

}

if (a == 1) {
$(“#menu_de_lado1”).find(‘.L1CMSListMenuLink’).css({ “color”: “#333333” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “transform”: “rotate(0)” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “margin-left”: “286px” });
if ($(window).width() 375) {
$(“.L1CMSListMenuUL .L1CMSListMenuLI .fa-angle-right”).css({ “margin-left”: “86.5%” });
}

$(“.headerRight”).css(“cssText”, “display: block !important”);

if ($(window).width() .menu_de_lado2 span”).click(function () {

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//quando abro o submenu do Produtos e Serviços ele mudava de pociçao mal, isto vai corrigir o bug
if (!$(‘.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL’).is(“:hidden”)) {
$(“.menu_de_lado2”).css({ “margin-top”: “21px” });
}
else {
//$(“.menu_de_lado2”).css({ “margin-top”: “-1px” });
}
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//quando abro o submenu do Produtos e Serviços ele mudava de pociçao mal, isto vai corrigir o bug
if (!$(‘.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL’).is(“:hidden”)) {
$(“.menu_de_lado2”).css({ “margin-top”: “21px” });
}
else {
//$(“.menu_de_lado2”).css({ “margin-top”: “-1px” });
}
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//quando abro o submenu do Produtos e Serviços ele mudava de pociçao mal, isto vai corrigir o bug
if (!$(‘.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL’).is(“:hidden”)) {
$(“.menu_de_lado2”).css({ “margin-top”: “21px” });
}
else {
//$(“.menu_de_lado2”).css({ “margin-top”: “22px” });
}
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();

if (a == 0) {
$(“.menu_de_lado2”).find(‘.L1CMSListMenuLink’).css({ “color”: “#000f8c” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “transform”: “rotate(180deg)” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “margin-left”: “-50px” });
if ($(window).width() 768)
{

$(“.headerRight”).css(“cssText”, “display: block !important”);
}

$(“.menu_de_lado2_submenu”).each(function( index ){

if ($(this).height() > 20) {
//alert(index);
$(this).css({ “margin-top”: “-23px” });
$(this).find(‘.L2CMSListMenuLink’).css({ “position”: “relative” });
$(this).find(‘.L2CMSListMenuLink’).css({ “top”: “8px” });
if ($(window).width() 319) {
$(this).css({ “margin-top”: “-9px” });
$(“.menu_de_lado2_submenu#menu_de_lado1”).css({ “margin-top”: “-23px” });
}
}
});
}

if (a == 1) {
$(“.menu_de_lado2”).find(‘.L1CMSListMenuLink’).css({ “color”: “#333333” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “transform”: “rotate(0)” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “margin-left”: “286px” });

if ($(window).width() 375) {
$(“.L1CMSListMenuUL .L1CMSListMenuLI .fa-angle-right”).css({ “margin-left”: “86.5%” });
}

$(“.headerRight”).css(“cssText”, “display: block !important”);

if ($(window).width() #menu_de_lado1″).click(function (e) {

$(document).ready(function() {
$(“.L1CMSListMenuUL .L1CMSListMenuLI ul .fa-angle-right”).hover(function () {
$(this).siblings(“.vl20”).css(“background-color”, “#f5f5f5”);
}, function () {

$(this).siblings(“.vl20”).removeAttr(“style”)
});

$(“.vl20”).hover(function () {
$(this).siblings(“.vl20”).css(“background-color”, “#f5f5f5”);
}, function () {
$(this).siblings(“.vl20”).css(“background-color”, “#FFFFFF”);
});
});

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//repito duas vezes
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL”).toggle();
//Vai fechar todos os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(7)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas que so sao supostas aparecerem quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();
$(“.vl15”).toggle();

//Vai abrir o submenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL”).toggle();
//Vai fechar todos os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus que fecharam em cima
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(7)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas que so sao supostas aparecerem quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();
$(“.vl15”).toggle();

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1) .L2CMSListMenuUL li:nth-child(7)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();
$(“.vl15”).toggle();

if (a == 0) {
$(“#menu_de_lado1”).find(‘.L1CMSListMenuLink’).css({ “color”: “#000f8c” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “transform”: “rotate(180deg)” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “margin-left”: “-46px” });
if ($(window).width() 20) {

$(this).css({ “margin-top”: “-9px” });
$(this).find(‘.L2CMSListMenuLink’).css({ “position”: “relative” });
$(this).find(‘.L2CMSListMenuLink’).css({ “top”: “8px” });
}
});
$(“#menuElem #menu_de_lado1 .L2CMSListMenuUL #menu_de_lado1”).css({“margin-top” : “0px”});
}

if (a == 1) {
$(“#menu_de_lado1”).find(‘.L1CMSListMenuLink’).css({ “color”: “#333333” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “transform”: “rotate(0)” });
$(“#menu_de_lado1”).find(‘.fa-angle-right’).css({ “margin-left”: “286px” });
if ($(window).width() 375) {
$(“.L1CMSListMenuUL .L1CMSListMenuLI .fa-angle-right”).css({ “margin-left”: “86.5%” });
}

if ($(window).width() .menu_de_lado2″).click(function () {

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//quando abro o submenu do Produtos e Serviços ele mudava de pociçao mal, isto vai corrigir o bug
if (!$(‘.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL’).is(“:hidden”)) {
$(“.menu_de_lado2”).css({ “margin-top”: “21px” });
}
else {
//$(“.menu_de_lado2”).css({ “margin-top”: “-1px” });
}
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//quando abro o submenu do Produtos e Serviços ele mudava de pociçao mal, isto vai corrigir o bug
if (!$(‘.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL’).is(“:hidden”)) {
$(“.menu_de_lado2”).css({ “margin-top”: “21px” });
}
else {
//$(“.menu_de_lado2”).css({ “margin-top”: “-1px” });
}
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();

//Vai abrir o sobmenu correspondente a ele
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL”).toggle();
//Vai fechar tds os menus menos o proprio
$(“.showMore970px .L1CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(5)”).toggle();
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(1)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).toggle();
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).toggle();
//quando abro o submenu do Produtos e Serviços ele mudava de pociçao mal, isto vai corrigir o bug
if (!$(‘.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL’).is(“:hidden”)) {
$(“.menu_de_lado2”).css({ “margin-top”: “21px” });
}
else {
//$(“.menu_de_lado2”).css({ “margin-top”: “22px” });
}
//Vai voltar a abrir só os submenus q fecharam em cima(correçao de um bug)
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(2)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(3)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(4)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(5)”).css({ “margin-top”: “11px” });
$(“.showMore970px .L1CMSListMenuUL li:nth-child(2) .L2CMSListMenuUL li:nth-child(6)”).css({ “margin-top”: “11px” });
//vai apagar e mostrar as linhas q so sao supostas aparecer quando abre se os submenus dos produtos e serviços
$(“.vl13”).toggle();
$(“.vl14”).toggle();

if (a == 0) {
$(“.menu_de_lado2”).find(‘.L1CMSListMenuLink’).css({ “color”: “#000f8c” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “transform”: “rotate(180deg)” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “margin-left”: “-50px” });
if ($(window).width() 20) {
//alert(index);
$(this).css({ “margin-top”: “-23px” });
$(this).find(‘.L2CMSListMenuLink’).css({ “position”: “relative” });
$(this).find(‘.L2CMSListMenuLink’).css({ “top”: “8px” });
if ($(window).width() 319) {
$(this).css({ “margin-top”: “-9px” });
$(“.menu_de_lado2_submenu#menu_de_lado1”).css({ “margin-top”: “-23px” });
}
}
});
}

if (a == 1) {
$(“.menu_de_lado2”).find(‘.L1CMSListMenuLink’).css({ “color”: “#333333” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “transform”: “rotate(0)” });
$(“.menu_de_lado2”).find(‘.fa-angle-right’).css({ “margin-left”: “286px” });

if ($(window).width() 375) {
$(“.L1CMSListMenuUL .L1CMSListMenuLI .fa-angle-right”).css({ “margin-left”: “86.5%” });
}

if ($(window).width() ” + this.innerHTML + “”; });
});
/*Fim Arranjar menu de lado de esquerdo trocando de class*/

if ($(window).width()