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

#header {
	float: left;
	width: 100%;
	background: #32DAD8;
	padding: 20px 0;
}

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

/* Painel Lateral */

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

/* Link Login */

#header .boxLateral .boxLogin {
	margin-bottom: 20px;
}

/* Menu Mobile */

#header .boxLateral #botaoMenuMobile {
	display: none;
}

/* Menu */

#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 + li {
	margin-left: 15px;
}

#header .boxLateral .menuPrincipal ul li a {
	display: flex;
    color: #373C53;
    font-size: 13px;
    border: solid 1px transparent;
    padding: 7px 15px 7px 15px;
    transition: all 0.2s linear;
    border-radius: 50px;
    text-transform: uppercase;
	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: #fff;
}

#header .boxLateral .menuPrincipal ul li.menuPreco a {
	border: 0!important;
}

/* Submenu */

#header .boxLateral .menuPrincipal ul li ul {
	position: absolute;
    background-color: #373C53;
    border-radius: 0 20px 20px 20px;
    width: 270px;
    padding: 0 15px;
    display: none;
    z-index: 999;
    left: 100%;
    left: 0;
	white-space: nowrap;
}

@media only screen and (min-width: 769px) {

	#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 #F2F2F2;
}

#header .boxLateral .menuPrincipal ul li ul li a {
	color: #fff;
    border-radius: 0;
    display: inline-block;
    width: 100%;
	padding: 10px 15px 10px 15px;
	border: 0;
	text-transform: capitalize;
}

/* Submenu 2 */

#header .boxLateral .menuPrincipal ul li ul li ul {
	position: absolute;
	background-color: #373C53;
	border-radius: 0 20px 20px 20px;
	width: 250px;
	overflow: hidden;
	padding: 0 15px;
	display: none;
	z-index: 999;
	left: 100%;
	top: 0;
}

#header .boxLateral .menuPrincipal ul li ul li ul li.onlyMobile {
	display: none;
}

@media only screen and (min-width: 769px) {

	#header .boxLateral .menuPrincipal ul li ul li:hover ul {
		display: block;
	}

}

#header .boxLateral .menuPrincipal ul li ul li ul li {
	float: left;
	width: 100%;
	margin: 0;
}

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

#header .boxLateral .menuPrincipal ul li ul li ul li a {
	color: #fff;
    border-radius: 0;
    display: inline-block;
    width: 100%;
	padding: 10px 15px 10px 15px;
	border: 0;
	text-transform: capitalize;
}

/* Header Fixo */

#headerFixo {
	position: fixed;
	top: -100px;
	left: 10px;
	right: 10px;
	z-index: 99999;
	transition: all 0.2s linear;
}

#headerFixo.ativo {
	top: 10px;
}

#headerFixo .boxInternoMenuFixo {
	border-radius: 20px;
	background-color: #32DAD8;
	padding: 10px;
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

#headerFixo .logoFixa img {
	max-width: 100px!important;
}

#headerFixo .boxLateralFixo {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
}

#headerFixo .boxLateralFixo .menuMobileFixo {
	position: relative;
}

#headerFixo .boxLateralFixo .menuMobileFixo .botaoMenuFixo {
	background-color: #373C53;
	display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
	padding: 10px 20px;
	margin-left: 20px;
	cursor: pointer;
}

#headerFixo .boxLateralFixo .menuMobileFixo .botaoMenuFixo span {
	color: #fff;
    margin-right: 10px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .botaoMenuFixo i {
	color: #fff;
	line-height: 180%;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo {
	display: none;
	position: absolute;
	top: calc(100% + 25px);
	background-color: #373C53;
	right: 0;
	padding: 20px;
	border-radius: 10px;
	width: 300px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo.active {
	display: block;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo::before {
	content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: -10px;
    right: 15px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #373C53;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul {
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li {
	float: left;
	width: 100%;
	list-style: none;
	padding: 2px 0;
	position: relative;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li a {
	display: inline-block;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li a i {
	color: #32DAD8;
	margin-left: 10px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li ul {
	padding-left: 10px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li ul li {
	padding-left: 15px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li ul li::before {
	position: absolute;
    content: "»";
    left: 0;
    display: block;
    font-size: 16px;
    color: #fff;
    top: 2px;
}

#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo ul li ul li.onlyMobile {
	display: none;
}

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

	/* Logo */

	#header #logo {
		max-width: 40%;
	}

	/* Box Lateral */

	#header .boxLateral {
		flex-direction: row;
    	justify-content: flex-end;
		align-items: center;
	}

	/* Box Login */

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

	#header .boxLateral .boxLogin .boxLink a .styleBotaoInterno {
		padding: 10px 20px;
	}

	/* Botão Menu Mobile */

	#header .boxLateral #botaoMenuMobile {
		display: block;
		margin-left: 20px;
	}

	#header .boxLateral #botaoMenuMobile i {
		color: #fff;
    	font-size: 36px;
	}

	/* 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;
		overflow: auto;
	}

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

	#header .boxLateral .menuPrincipal #fechaMenuMobile {
		display: block;
		float: right;
	}

	#header .boxLateral .menuPrincipal #fechaMenuMobile img {
		width: 40px;
	}

	#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 i {
		color: #32DAD8;
	}

	#header .boxLateral .menuPrincipal ul li a:hover, 
	#header .boxLateral .menuPrincipal ul li.current-menu-item a {
		border: none;
	}

	/* Submenu */

	#header .boxLateral .menuPrincipal ul li ul {
		position: relative;
		top: auto;
		left: auto;
		padding: 0 0 0 30px;
		margin: 0;
		width: 100%;
	}

	#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;
	}

	/* Submenu 2 */

	#header .boxLateral .menuPrincipal ul li ul li ul {
		position: relative;
		top: auto;
		left: auto;
		padding: 0 0 0 30px;
		margin: 0;
		width: 100%;
	}

	#header .boxLateral .menuPrincipal ul li ul li ul li {
    	border: 0!important;
		margin: 0!important;
		padding-left: 10px;
	}

	#header .boxLateral .menuPrincipal ul li ul li ul li::before {
		position: absolute;
		content: "»";
		left: 5px;
		display: block;
		font-size: 16px;
		color: #fff;
		top: 9px;
	}

	/* Header Fixo */

	#headerFixo .container {
		padding: 0;
	}

	#headerFixo .boxLateralFixo .menuMobileFixo {
		margin-left: 5px;
	}

	#headerFixo .boxLateralFixo .menuMobileFixo .menuFixo {
		max-height: 550px;
    	overflow: auto;
	}

	#headerFixo .boxLateralFixo .menuMobileFixo span {
		display: none;
	}

}