header{position: fixed; z-index: 9990; left: 0; top: 0; background: #FFF;}
header.header-fixed{box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2)}

header .navbar{transition: .3s;}
header .navbar .navbar-brand{position: relative; z-index: 30;}
header .navbar .navbar-brand svg{width: auto; transition: .3s;}
header .navbar .navbar-brand svg path, header .navbar .navbar-brand polygon{transition: none;}
header .navbar-nav .nav-item{position: relative;}
header .dropdown-menu.show{opacity: 1; height: auto; z-index: 5; padding: 0;}
header .dropdown-menu.show .menu-item{position: relative; z-index: 10;}

header .navbar-nav .nav-item .nav-link{font-size: 20px; font-weight: 500; color: #1c4e89; line-height: 42px; border-radius: 21px; white-space: nowrap; position: relative; padding: 0 1.25rem; margin: 0 .5rem;}
/* header .navbar-nav .nav-item .nav-link:before{content: ''; display: block; width: 40%; height: 3px; border: none; background: #fff; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); opacity: 0; transition: 0.3s ease-in-out;}
header .navbar-nav .nav-item.show .nav-link:before{display: none !important;}
header .navbar-nav .nav-item:hover .nav-link:before, header .navbar-nav .nav-item.current_page_item .nav-link:before{width: calc(100% - 1rem); opacity: 1;}
header .navbar-nav .nav-item.current_page_item .nav-link:before{background: #605d34} */

header .navbar-nav .nav-item:hover .nav-link,
header .navbar-nav .nav-item.current_page_item .nav-link,
header .navbar-nav .nav-item.current-page-ancestor .nav-link{background: #46b28a; color: #fff;}

.nav-item.dropdown .nav-link{display: flex; align-items: center; justify-content: center; position: relative;}
/* .nav-item.dropdown .nav-link:after{content: ''; display: block; width: 0; height: 0; margin-left: 10px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #99d1ca;} */

header .dropdown-menu{border-radius: 0; top: 120%; left: 50%; transform: translateX(-50%); border: none; background: #605d34; box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15); position: relative;}
/* header .nav-item:nth-of-type(1) .dropdown-menu{left: -20%; transform: translateX(0);}
header .nav-item:nth-of-type(6) .dropdown-menu{right: 1rem; left: auto; transform: translateX(0);} */

.dropdown-menu .dropdown-item{font-size: 14px; color: #fff; line-height: 42px; padding: 0 15px; border-bottom: 2px solid rgba(255,255,255,0.15); position: relative;}

header .dropdown-menu.show .menu-item:last-child .dropdown-item{border: none;}
.dropdown-menu .dropdown-item:hover{padding: 0 12px 0 18px; background: none;}

body.home header{background: #FFF; /*box-shadow: none;*/}
body.home header .navbar-nav .nav-item .nav-link{color: #1c4e89;}
body.home header .navbar-nav .nav-item .nav-link:hover{color: #FFF;}
/* body.home header .navbar-nav .nav-item .nav-link:before{background: #605d34;} */

/* body.home header.header-fixed{background: #fff; box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);} */
/* body.home header.header-fixed .navbar-nav .nav-item .nav-link{color: #444;} */
/* body.home header.header-fixed .navbar-nav .nav-item .nav-link:before{background: #605d34;} */

.header .languages .trp-current-language-item__wrapper{padding: 0;}
.header .languages .trp-shortcode-switcher__wrapper{height: 36px;}
.header .languages .trp-shortcode-switcher{padding: 0;}
.header .languages .trp-shortcode-overlay{background: transparent; border: none; padding: 0;}
.header .languages .trp-shortcode-overlay.is-open{background: #FFF;}
.header .languages .trp-language-item{padding: 8px;}
.header .languages .trp-language-item .trp-language-item-name{font-size: 0;}
.header .languages .trp-language-item .trp-language-item-name::before{display: block; font-size: 15px; font-weight: 500;}
.header .languages .trp-language-item[title="Português do Brasil"] .trp-language-item-name::before{content: "PT";}
.header .languages .trp-language-item[title="English"] .trp-language-item-name::before{content: "EN";}
.header .languages .trp-shortcode-arrow{display: none;}

header .open-menu{margin-left: 1rem;}
header .open-menu img{width: 36px; height: 36px; padding: 4px;}
/* header .open-search img{width: 30px; height: 30px; padding: 4px; cursor: pointer;} */
header .close-menu{display: none;}
header .close-menu img{width: 30px; height: 30px; padding: 8px; /*position: absolute; top: 0; right: 0; z-index: 20;*/ cursor: pointer;}

@media (max-width: 576px){
	header{padding: .75rem 0;}
	header .navbar-brand svg{height: 40px;}
	header.header-fixed .navbar-brand svg{height: 35px;}
}

@media (min-width: 576px){
	header{padding: 1rem 0;}
	/* header.header-fixed{padding: .5rem 0;} */
}

@media (min-width: 576px) and (max-width: 992px){
	header .navbar-brand svg{height: 70px;}
	header.header-fixed .navbar-brand svg{height: 60px;}
}

@media (min-width: 992px){
	header .navbar-brand svg{height: 80px;}
	header.header-fixed .navbar-brand svg{height: 70px;}
}

@media (max-width: 700px){
	/* header .menu-mobile{position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 100%; padding: 0 1rem;} */
	.menu-mobile-opened{padding-bottom: 70px;}
	/* header .open-menu{position: absolute; top: 0; right: 1rem;} */
	header .close-menu{position: absolute; top: 0; right: 1rem;}
	/* header .open-search{position: absolute; top: 0; right: 1rem;} */
	header .menu-mobile .busca-sws{order: 4; margin-top: 140px;}
}

@media (min-width: 1200px){
	header .navbar{padding-top: 60px;}
	header .tools{position: absolute; top: 0; right: 0; padding-right: 1rem;}
	
	header.header-fixed .navbar{padding-top: 30px;}
}


@media (max-width: 1200px){
	header .navbar-nav{display: none !important;}
	header .open-menu{display: block;}
}



#menuMobile{background: #fff; position: fixed; z-index: 9999; top: 0; left: -410px; width: 90%; max-width: 400px; height: 100%; -webkit-transition:0.8s ease-in-out; -moz-transition:0.8s ease-in-out; -o-transition:0.8s ease-in-out; transition:0.8s ease-in-out;}
#menuMobile .logo-menu-mobile{padding: 1.5rem; text-align: center;}
#menuMobile .logo-menu-mobile img{height: 50px;}

#menuMobile .menuNav{height: calc(100% - 100px); overflow-y: auto;}
#menuMobile .navbar-nav{padding: 1.5rem; margin: 0 1rem; border: none;}
#menuMobile .navbar-nav li{margin-bottom: .5rem;}
#menuMobile .navbar-nav li .nav-link{padding: .6rem 1rem !important; font-size: 16px; font-weight: 400; background: #EEE; color: #1c4e89; text-align: center; text-transform: uppercase; border-radius: 22px;}
#menuMobile .navbar-nav li.current_page_item .nav-link{background: #1c4e89; color: #FFF;}
#menuMobile .navbar-nav li:last-child .nav-link{border-bottom: none;}
#menuMobile .navbar-nav .dropdown-menu{border: none; border-radius: 0; width: 100%; margin: 0.5rem 0 1.5rem 0; transform: none !important; position: relative !important; background: rgba(0,0,0,0.2);}
#menuMobile .dropdown-menu .dropdown-item{font-size: 14px; color: #fff; line-height: 32px;}

#menuMobile .nav-item.dropdown .nav-link{justify-content: flex-start;}
#menuMobile .nav-item.dropdown .nav-link:after{content: ''; display: block; width: 0; height: 0; margin-left: 10px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #fff;}

#menuMobile.menuOpened{left: 0;}


/*OVERLAY*/
.overlay{position: fixed; z-index: 9990; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7);}
.overlay:before{content: ''; position: absolute; right: 5px; top: 30px; display: block; width: 30px; height: 30px; background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDcuOTcxIDQ3Ljk3MSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDcuOTcxIDQ3Ljk3MTsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIj48Zz48Zz4KCTxwYXRoIGQ9Ik0yOC4yMjgsMjMuOTg2TDQ3LjA5Miw1LjEyMmMxLjE3Mi0xLjE3MSwxLjE3Mi0zLjA3MSwwLTQuMjQyYy0xLjE3Mi0xLjE3Mi0zLjA3LTEuMTcyLTQuMjQyLDBMMjMuOTg2LDE5Ljc0NEw1LjEyMSwwLjg4ICAgYy0xLjE3Mi0xLjE3Mi0zLjA3LTEuMTcyLTQuMjQyLDBjLTEuMTcyLDEuMTcxLTEuMTcyLDMuMDcxLDAsNC4yNDJsMTguODY1LDE4Ljg2N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