/* Cabeçalho do simulador 2D aplicado no simulador 3D */
#topo {
	display: flex;
	position: relative;
	width: 100%;
	flex-direction: column;
	justify-content: space-between;
	background-color: var(--bg, #ffffff);
	color: var(--text, #222222);
	z-index: 50;
}
#topo #cabecalho {
	display: flex;
	height: 40px;
	padding-left: 20px;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	background-color: var(--cor-principal, #000000);
}
#topo #nav-cabecalho,
#topo .nav-telefones,
#topo #nav-login {
	flex: 1;
}
#topo #nav-cabecalho,
#topo #nav-cabecalho a,
#topo .nav-telefones a {
	color: #fff;
}
#topo #nav-cabecalho {
	display: flex;
	align-items: center;
}
#topo #nav-cabecalho > a {
	margin: 0 5px;
}
#topo .nav-site {
	margin-right: auto;
}
#topo .nav-site > a {
	text-decoration: underline;
}
#topo #bt_site {
	position: relative;
	cursor: pointer;
}
#topo .nav-redes_sociais {
	display: flex;
	height: 32px;
	width: 70px;
	justify-content: space-between;
}
#topo .nav-redes_sociais.mobile {
	display: none;
}
#topo .nav-telefones {
	display: flex;
	justify-content: center;
	align-items: center;
}
#topo .nav-telefones > a {
	display: flex;
	align-items: center;
	margin: 0 5px;
	color: #fff;
	text-decoration: none;
}
#topo .nav-telefones > a svg {
	margin-right: 5px;
}
#topo #nav-login {
	height: 100%;
	overflow: hidden;
}
#topo #nav-login #box-login {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: fit-content;
	height: 100%;
	margin-left: auto;
	padding: 0 20px;
	background-color: #fff;
	transform: skewX(-30deg);
}
#topo #nav-login #box-login::before {
	position: absolute;
	content: '';
	background-image: url(../../img/icones/layout_1/detalhe-login.webp);
	width: 85px;
	height: 40px;
	left: -78px;
	transform: skewX(27deg);
}
#topo #nav-login #box-login::after {
	position: absolute;
	content: '';
	width: 35px;
	height: 100%;
	right: -20px;
	background-color: #fff;
	transform: skewX(30deg);
}
#topo #bt_login,
#topo #box-login svg {
	transform: skewX(30deg);
	z-index: 1;
	cursor: pointer;
}
#topo #nav-login #box-login #nome_membro {
	transform: skewX(30deg);
	padding: 0 5px;
	cursor: pointer;
}
#topo #nav-login #bt_login span {
	margin-right: 20px;
}
#topo #menu {
	display: flex;
	height: 95px;
	padding: 0 20px;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}
#topo .logo,
#topo #nav-menu {
	flex: 1;
}
#topo .logo img {
	max-height: 85px;
	width: auto;
}
#topo #nav-menu {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
#topo #nav-menu > .flex {
	justify-content: flex-end;
	align-items: center;
}
#topo #nav-menu #bt-ajuda {
	display: flex;
	align-items: center;
	cursor: pointer;
	text-decoration: none;
}
#topo #nav-menu span {
	margin: 0 15px 0 10px;
	text-align: center;
	color: var(--text, #222222);
}
#topo .topo-menu-mobile {
	display: none;
	margin-left: 12px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: var(--text, #222222);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
[data-theme="dark"] #topo .logo-simulador {
	content: url("../../img/logo_branca.webp");
}

@media screen and (max-width: 960px) {
	#topo #cabecalho {
		display: none;
	}
	#topo #menu {
		flex-wrap: wrap;
		height: unset;
		padding: 0;
	}
	#topo .logo {
		padding: 5px 0 5px 10px;
		height: 60px;
		order: 1;
	}
	#topo .logo img {
		height: 100%;
	}
	#topo .nav-redes_sociais.mobile {
		display: flex;
		flex: 1;
		order: 3;
		justify-content: flex-end;
		width: auto;
		height: auto;
		margin-right: 10px;
	}
	#topo .nav-redes_sociais.mobile svg path {
		fill: var(--text, #222222);
	}
	#topo #nav-modalidades {
		margin: 0;
		order: 2;
	}
	#topo #bt-ajuda {
		display: none;
	}
	#topo #nav-menu {
		width: auto;
		flex: 0;
		order: 4;
	}
}
@media screen and (max-width: 1023px) {
	#topo .topo-menu-mobile {
		display: block;
	}
}
