
/*********************************************
** Header 
*********************************************/

#header {
	float: left;
	width: 100%;
	padding: 0;
}

/* Top Header */

#header .topHeader {
	float: left;
	width: 100%;
	padding: 10px 0;
	border-bottom: 1px solid #E0E0E0;
}

#header .topHeader .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#header .topHeader a {
	display: flex;
	align-items: center;
}

#header .topHeader a + a {
	margin-left: 15px;
}

#header .topHeader a i {
	color: #CECECD;
	font-size: 18px;
	line-height: 18px;
	margin-right: 7px;
}

#header .topHeader a span {
	color: #30373E;
    font-size: 13px;
    line-height: 18px;
}

/* Bottom Header */

#header .bottomHeader {
	float: left;
	width: 100%;
	padding: 10px 0;
}

#header .bottomHeader .container {
	display: flex;
	align-items: center;
}

/* Painel Lateral */

#header .bottomHeader .boxLateral {
	display: flex;
    align-items: end;
    flex-direction: column;
    flex: 1;
}

/* Box Links */

#header .boxLateral .boxLinks {
	float: left;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	margin-bottom: 15px;
}

#header .boxLateral .boxLinks .btnHeader {
	height: 45px;
	padding: 0 15px;
	background: #FFEC38;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

#header .boxLateral .boxLinks .btnHeader + .btnHeader {
	margin-left: 10px;
}

#header .boxLateral .boxLinks .btnHeader .boxImgCarrinho {
	position: relative;
}

#header .boxLateral .boxLinks .btnHeader .boxImgCarrinho .itensCarrinho {
	background: #D9D9D9;
    width: 18px;
    height: 18px;
    position: absolute;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 10px;
    top: -4px;
    right: -10px;
    font-weight: bold;
}

#header .boxLateral .boxLinks .btnHeader img {
	max-width: 28px!important;
}

#header .boxLateral .boxLinks .btnHeader span.texto {
	font-size: 12px;
    margin-left: 10px;
	line-height: 12px;
	color: #000;
}

#header .boxLateral .boxLinks #buscaMobile {
	height: 45px;
	width: 45px;
	background: #FFEC38;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin: 0 10px;
	display: none;
}

#header .boxLateral .boxLinks #buscaMobile i {
	font-size: 20px;
    color: #000;
}

#header .boxLateral .boxLinks #menuMobile {
	cursor: pointer;
	height: 45px;
	width: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: solid 1px #000;
	display: none;
}

#header .boxLateral .boxLinks #menuMobile i {
	font-size: 20px;
    color: #000;
}

#header .boxLateral .boxLinks .usuarioLogadoHeader {
	display: flex;
	align-items: center;
	margin-right: 15px;
	justify-content: center;
}

#header .boxLateral .boxLinks .usuarioLogadoHeader img {
	max-width: 24px!important;
}

#header .boxLateral .boxLinks .usuarioLogadoHeader p {
	margin: 0 0 0 5px;
}

#header .boxLateral .boxLinks .usuarioLogadoHeader p .logout {
	cursor: pointer;
}

/* Box Menu */

#header .boxLateral .boxMenu {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* Menu */

#header .boxLateral .boxMenu #fechaMenu {
	display: none;
}

#header .boxLateral .boxMenu .menuPrincipal ul {
	padding: 0;
	margin: 0;
}

#header .boxLateral .boxMenu .menuPrincipal ul li {
	list-style: none;
	float: left;
	position: relative;
}

#header .boxLateral .boxMenu .menuPrincipal ul li + li {
	margin-left: 20px;
}

#header .boxLateral .boxMenu .menuPrincipal ul li + li::before {
	content: "•";
    position: absolute;
    left: -12px;
    top: 50%;
    line-height: 1px;
	font-size: 18px;
}

#header .boxLateral .boxMenu .menuPrincipal ul li a {
    color: #30373E;
    font-size: 14px;
    transition: all 0.2s linear;
    text-transform: uppercase;
    padding: 0 10px;
    height: 45px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header .boxLateral .boxMenu .menuPrincipal ul li a:hover,
#header .boxLateral .boxMenu .menuPrincipal ul li.current-menu-item a {
	background: #FFEC38;
}

/* Lupa Busca */

#header .boxLateral .boxMenu #boxBusca {
	margin: 0 0 0 10px;
	width: 45px;
	height: 45px;
	display: flex;
    align-items: center;
    justify-content: center;
	background: #FFEC38;
	cursor: pointer;
}

#header .boxLateral .boxMenu #boxBusca i {
	color: #000000;
	font-size: 20px;
	cursor: pointer;
}

/* Busca Full */

#buscaFull {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 9999999;
	display: none;
}

#buscaFull .boxInterno {
	position : absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

#buscaFull .boxInterno #fechaBusca {
	position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}

#buscaFull .boxInterno #fechaBusca img {
	width: 35px;
}

#buscaFull .boxInterno form {
	width: 90%;
	max-width: 500px;
	position: relative;
}

#buscaFull .boxInterno form input {
	float: left;
    width: 100%;
    background: none;
    border: 0;
    border-bottom: solid 1px #fff;
    padding: 20px;
    color: #fff;
    font-size: 18px;
}

#buscaFull .boxInterno form button {
	position: absolute;
    bottom: 0;
    top: 0;
    right: 0;
    background: none;
    border: 0;
}

#buscaFull .boxInterno form button i {
	color: #fff;
    font-size: 24px;
}

@media only screen and (max-width: 1000px) {

	/* Box Links */

	#header .boxLateral .boxLinks {
		margin: 0;
	}

	#header .boxLateral .boxLinks .usuarioLogadoHeader p .nome,
	#header .boxLateral .boxLinks .btnHeader span.texto {
		display: none;
	}

	#header .boxLateral .boxLinks #buscaMobile,
	#header .boxLateral .boxLinks #menuMobile {
		display: flex;
	}

	/* Menu */

	#header .boxLateral .boxMenu {
		position: fixed;
		right: -100%;
		top: 0;
		width: 80%;
		height: 100%;
		z-index: 99999;
		background-color: #30373F;
		padding: 20px;
		display: inline-block;
		transition: all 0.2s linear;
	}

	#header .boxLateral .boxMenu.active {
		right: 0;
	}

	#header .boxLateral .boxMenu #fechaMenu {
		display: block;
		float: right;
		margin-bottom: 30px;
		cursor: pointer;
	}

	#header .boxLateral .boxMenu #fechaMenu img {
		width: 35px;
	}

	#header .boxLateral .boxMenu .menuPrincipal {
		float: left;
		width: 100%;
	}

	#header .boxLateral .boxMenu .menuPrincipal ul {
		float: left;
		width: 100%;
	}

	#header .boxLateral .boxMenu .menuPrincipal ul li {
		float: left;
		width: 100%;
		margin: 0!important;
		padding: 8px 0;
	}

	#header .boxLateral .boxMenu .menuPrincipal ul li + li {
		border-top: solid 1px #666;
	}

	#header .boxLateral .boxMenu .menuPrincipal ul li a {
		color: #fff;
		padding: 0;
    	height: auto;
		font-weight: bold;
		background: none!important;
		text-transform: initial!important;
		font-size: 16px;
	}

	#header .boxLateral .boxMenu .menuPrincipal ul li.current_page_item a {
		color: #FFEC38;
	}

	/* Busca */

	#header .boxLateral .boxMenu #boxBusca {
		display: none;
	}

}

@media only screen and (max-width: 530px) {

	/* Logo */

	#logo {
		max-width: 35%;
	}

	/* Box Links */

	#header .boxLateral .boxLinks #menuMobile {
		height: 40px;
    	width: 40px;
	}

	#header .boxLateral .boxLinks #buscaMobile {
		margin: 0 5px;
		height: 40px;
    	width: 40px;
	}

	#header .boxLateral .boxLinks .btnHeader {
		height: 40px;
		padding: 0 10px;
	}

}