/**
 * Imperiox navigation — ported from kingmus6.com (WebEngine 1.2.6)
 */

.flex-c {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.flex-s-c {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.flex-c-c {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Fixed top navigation bar */
.topPanel {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	transition: 0.3s;
	z-index: 1000;
}

.topPanel.topPanel-fixed {
	background: rgba(0, 0, 0, 0.6);
	box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
}

.topPanel-wrapper {
	width: 1300px;
	max-width: none;
	padding-left: 25px;
	padding-right: 25px;
	margin: 0 auto;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

.topPanel-left {
	height: 100%;
	flex-wrap: wrap;
	display: flex;
	align-items: center;
}

.topPanel-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Mini logo */
.logoMini {
	display: block;
	margin-right: 15px;
}

.logoMini img {
	max-height: 70px;
	width: auto;
}

/* Main menu */
.topPanel .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.topPanel .menu li {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.topPanel .menu li a {
	color: #fcedc0;
	font-family: 'Philosopher', serif;
	font-size: 18px;
	display: block;
	height: 90px;
	padding: 0 15px;
	line-height: 90px;
	position: relative;
	z-index: 1;
	text-decoration: none;
	transition: color 0.3s;
}

.topPanel .menu li a:before {
	content: "";
	position: absolute;
	height: 23px;
	width: 4px;
	left: 0;
	top: 33px;
	background: url(../img/menu-f-icon.png) no-repeat center;
	background-size: contain;
}

.topPanel .menu li:first-child a:before {
	display: none;
}

.topPanel .menu li a:hover,
.topPanel .menu li.active a {
	color: #fbac3f;
}

/* Auth links (Registro / Entrar) */
.topPanel .sign-in,
.topPanel .sign-up {
	color: #fcedc0;
	font-size: 18px;
	font-family: 'Philosopher', serif;
	text-decoration: none;
	transition: color 0.3s;
	position: relative;
}

.topPanel .sign-up {
	padding-right: 60px;
	cursor: pointer;
}

.topPanel .sign-up:after {
	content: "";
	background: url(../img/lock-icon.png) no-repeat;
	background-size: contain;
	width: 91px;
	height: 87px;
	position: absolute;
	right: -15px;
	top: 50%;
	margin-top: -42px;
	transition: 0.3s;
	pointer-events: none;
}

.topPanel .sign-in:hover,
.topPanel .sign-up:hover,
.topPanel-right a:hover {
	color: #fbac3f;
}

.topPanel .sign-out {
	color: #ff8888;
	padding-right: 0;
}

.topPanel .sign-out:after {
	display: none;
}

.topPanel .sign-out:hover {
	color: #ffaaaa;
}

/* Language switcher inside nav */
.topPanel .webengine-language-switcher {
	list-style: none;
	margin: 0 12px 0 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.topPanel .webengine-language-switcher li {
	display: inline-block;
}

.topPanel .webengine-language-switcher a {
	color: #fcedc0;
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	opacity: 0.7;
	text-decoration: none;
	padding: 4px 6px;
	line-height: 1;
	height: auto;
}

.topPanel .webengine-language-switcher a:hover {
	opacity: 1;
	color: #fbac3f;
}

.topPanel .webengine-language-switcher img {
	width: 16px;
	height: auto;
	vertical-align: middle;
	margin-right: 2px;
}

/* Offset body content below fixed nav */
body.has-imperiox-nav {
	padding-top: 90px;
}

/* Hide legacy navbar when Imperiox nav is active */
#navbar.legacy-navbar-hidden {
	display: none;
}

.global-top-bar.imperiox-nav-active {
	display: none;
}
