
/*********************************************
** Header 
*********************************************/

#header {
	float: left;
	width: 100%;
	padding: 30px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transition: all 0.2s linear;
	z-index: 2;
}

#header.scroll {
    background: url('../../../uploads/2023/04/bg-header-scroll.jpg') no-repeat;
	background-size: cover;
	padding: 10px 0;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.54);
	-moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.54);
	box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.54);
}

#header .container {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Logo */

#header #logo a {
	display: flex;
    flex-direction: column;
    align-items: center;
}

#header h1 {
	font-size: 12px;
    color: #726F8E;
    font-weight: 500;
    margin: 12px 0 0 0;
	transition: all 0.2s linear;
	text-align: center;
}

/* Logo Scroll */

#header.scroll #logo img {
	width: 100px;
}

#header.scroll #logo h1 {
	display: none;
}

/* Painel Lateral */

#header .boxLateral {
	display: flex;
    align-items: end;
    flex-direction: column;
    flex: 1;
}

/* Contatos */

#header .boxLateral .boxContatos {
	margin-bottom: 20px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

#header.scroll .boxLateral .boxContatos {
	display: none;
}

#header .boxLateral .boxContatos a {
	display: flex;
	align-items: center;
	cursor: pointer;
}

#header .boxLateral .boxContatos a + a {
	margin-left: 20px;
}

#header .boxLateral .boxContatos a i {
	color: #726F8E;
    font-size: 20px;
}

#header .boxLateral .boxContatos a span {
	color: #3B3663;
    margin-left: 7px;
}

/* Menu Mobile */

#header .boxLateral #botaoMenuMobile {
	display: none;
}

/* Menu */

#header .boxLateral .menuPrincipal {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#header .boxLateral .menuPrincipal #fechaMenuMobile {
	display: none;
}

#header .boxLateral .menuPrincipal ul {
	padding: 0;
	margin: 0;
}

#header .boxLateral .menuPrincipal ul li {
	list-style: none;
	float: left;
	position: relative;
}

#header .boxLateral .menuPrincipal ul li.menu-item-has-children > a::after {
	font-family: FontAwesome;
	display: inline-block;
	padding-left: 6px;
	vertical-align: middle;
	content: "\f107";
}

#header .boxLateral .menuPrincipal ul li + li {
	margin-left: 10px;
}

#header .boxLateral .menuPrincipal ul li a {
	display: flex;
    color: #726F8E;
    font-size: 14px;
    border: solid 1px transparent;
    padding: 7px 15px 7px 15px;
    transition: all 0.2s linear;
    border-radius: 50px;
	align-items: center;
}

#header .boxLateral .menuPrincipal ul li a i {
	font-size: 18px;
    color: #373C53;
    margin-left: 8px;
}

#header .boxLateral .menuPrincipal ul li a:hover,
#header .boxLateral .menuPrincipal ul li.current-menu-item a {
	border-color: #551A67;
	color: #551A67;
}

#header .boxLateral .menuPrincipal ul li.menuPreco a {
	border: 0!important;
}

/* Submenu */

#header .boxLateral .menuPrincipal ul li ul {
	position: absolute;
	background-color: #EFECEC;
	border-radius: 10px;
	width: 300px;
	overflow: hidden;
	display: none;
	z-index: 999;
}

#header .boxLateral .menuPrincipal ul li:hover ul {
	display: block;
}

#header .boxLateral .menuPrincipal ul li ul li {
	float: left;
	width: 100%;
	margin: 0;
}

#header .boxLateral .menuPrincipal ul li ul li + li {
	border-top: solid 1px #E0E0E0;
}

#header .boxLateral .menuPrincipal ul li ul li a {
	color: #726F8E;
    border-radius: 0;
    display: inline-block;
    width: 100%;
	padding: 7px 15px 7px 15px;
	border: 0;
	font-size: 14px;
}

#header .boxLateral .menuPrincipal ul li ul li a:hover {
	background-color: #551A67;
	color: #fff;
}

/* Botão Busca */

#header .boxLateral .menuPrincipal .botaoBusca {
	margin-left: 20px;
}

#header .boxLateral .menuPrincipal .botaoBusca i {
	cursor: pointer;
    color: #551A67;
    font-size: 22px;
}

@media only screen and (max-width: 940px) {

	/* Logo */

	#header #logo {
		max-width: 50%;
	}

	#header h1 {
		font-size: 9px;
		line-height: 14px;
		margin: 7px 0 0 0;
	}

	#header #logo img {
		transition: all 0.2s linear;
	}

	/* Box Lateral */

	#header .boxLateral {
		flex-direction: row;
    	justify-content: flex-end;
		align-items: center;
	}

	/* Botão Menu Mobile */

	#header .boxLateral #botaoMenuMobile {
		display: block;
		margin-left: 30px;
	}

	#header .boxLateral #botaoMenuMobile i {
		color: #AC0C5C;
    	font-size: 40px;
	}

	/* Contatos */

	#header .boxLateral .boxContatos {
		margin: 0;
	}

	/* Menu */

	#header .boxLateral .menuPrincipal {
		position: fixed;
		top: 0;
		right: -100%;
		bottom: 0;
		z-index: 999999;
		background: #373C53;
		padding: 20px;
		width: 90%;
		transition: all 0.2s linear;
		flex-direction: column;
		justify-content: flex-start;
		overflow: auto;
	}

	#header .boxLateral .menuPrincipal.active {
		right: 0;
	}

	#header .boxLateral .menuPrincipal #fechaMenuMobile {
		display: block;
		width: 100%;
		text-align: right;
	}

	#header .boxLateral .menuPrincipal #fechaMenuMobile img {
		width: 30px;
	}

	#header .boxLateral .menuPrincipal ul {
		float: left;
		width: 100%;
		margin-top: 20px;
	}

	#header .boxLateral .menuPrincipal ul li {
		float: left;
		width: 100%;
		margin: 2px 0!important;
	}

	#header .boxLateral .menuPrincipal ul li a {
		color: #fff;
		padding: 10px 20px;
	}

	#header .boxLateral .menuPrincipal ul li a:hover, 
	#header .boxLateral .menuPrincipal ul li.current-menu-item a {
		border-color: #fff;
    	color: #fff;
	}

	/* Submenu */

	#header .boxLateral .menuPrincipal ul li ul {
		display: block;
		position: relative;
		top: auto;
		left: auto;
		padding: 0 0 0 30px;
		margin: 0;
		background: none;
	}

	#header .boxLateral .menuPrincipal ul li ul li {
    	border: 0!important;
		margin: 0!important;
		padding-left: 10px;
	}

	#header .boxLateral .menuPrincipal ul li ul li::before {
		position: absolute;
		content: "»";
		left: 5px;
		display: block;
		font-size: 16px;
		color: #fff;
		top: 9px;
	}

	#header .boxLateral .menuPrincipal ul li ul li a {
		color: #fff;
	}

	#header .boxLateral .menuPrincipal .botaoBusca {
		margin: 20px 0 0 0;
	}

	#header .boxLateral .menuPrincipal .botaoBusca i {
		color: #fff;
		font-size: 32px;
	}

}

@media only screen and (max-width: 768px) {

	#header {
		padding: 20px 0;
	}

	/* Contatos */

	#header .boxLateral .boxContatos a + a {
		margin-left: 15px;
	}

	#header .boxLateral .boxContatos a i {
		font-size: 34px;
		color: #AC0C5C;
	}

	#header .boxLateral .boxContatos a span {
		display: none;
	}

}