a {
	text-decoration: none;
}

.menu {
	background-color: #591111;
	border-bottom: 1px solid #252525;
	text-align: left;
}

.toggleMenu {
	color: #fff;
	cursor: pointer;
	display: none;
	padding: 6px 10px;
	text-align: right;
}

.nav {
	/*background:#ecf0f1;*/
	background-color: #591111;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	list-style: none;
	/**zoom:1;*/
	margin: 0 auto;
	position: relative;
	z-index: 1000;
}

.menu {
	background-color: #591111;
}

.nav:before, .nav:after {
	content: " ";
	display: table;
}

.nav:after {
	clear: both;
}

.nav ul {
	/*background-color:#ecf0f1;*/
	background-color: #591111;
	box-shadow: 0 0 5px #888;
	list-style: none;
	width: 350px;
}

.nav a {
	color: #fff;
	font-size: 13px;
	padding: 10px;
	text-align: left;
}

.nav li {
	position: relative;
}

.nav>li {
	display: inline-block;
	/*border-right:1px solid #591111;*/
	margin: 0px 1px;
	/*border-left:1px solid #e1e5e5;
	border-right:1px solid #e1e5e5;*/
	vertical-align: middle;
}

/*.nav > li:first-child {
	border-left:1px solid #591111;
}*/

/*.nav > li:last-child {
	border-right:0;
}*/

.nav>li>.parent {
	/*background-image: url("../img/downArrow.png");*/
	background-repeat: no-repeat;
	background-position: right;
	/*color:#777;*/
}

.nav>li>a {
	display: table-cell;
	height: 40px;
	vertical-align: middle;
}

.nav li ul {
	position: absolute;
	left: -9999px;
}

.nav>li:hover>ul {
	left: 0;
}

.nav li li:hover ul {
	display: table-cell;
	left: 100%;
	top: 0;
}

.nav li li a {
	color: #777;
	display: block;
	background: #ecf0f1;
	position: relative;
	z-index: 100;
	border: 1px solid #e1e5e5;
	margin-top: -1px;
}

.nav li li li a {
	cursor: pointer;
	/*background:#ecf0f1;*/
	background-color: #d9ddde;
	z-index: 200;
	border: 1px solid #e1e5e5;
	margin-top: -1px;
	margin-left: -1px;
}

.nav>li>.parent:hover, .nav li li a:hover, .nav li li li a:hover, .nav li a:hover {
	background: #ddd;
	color: #222;
	text-decoration: none;
}

.nav>li>a {
	padding-top: 0px;
	padding-bottom: 0px;
}

.nav>li>ul>li .parent {
	/*background-image: url("../img/rightArrow.png");*/
	background-repeat: no-repeat;
	background-position: right;
	color: #777;
}

/* inversão da posição do menu */

.nav {
	text-align: center;
	/* margin-right: 18.5%; */
}

.nav li ul {
	/*    left:auto !important;
	right:-9999px;*/
}

.nav>li.hover>ul {
	left: auto !important;
	right: 0;
}

.nav li li.hover ul {
	right: 100%;
}

@media screen and (max-width: 1200px) {
	.nav {
		text-align: center;
		/* margin-right: 5.5%; */
	}
}

@media screen and (max-width: 1024px) {
	.nav>li.hover>ul {
		left: 0 !important;
	}
}

@media screen and (max-width: 768px) {
	/*.upper-menu {
		background-color:#ddd;
	}*/
	.toggleMenu {
		display: block;
	}
	.active {
		display: block;
	}
	.nav>li:first-child {
		margin-top: -40px;
	}
	.nav>li {
		display: block;
		float: none;
		margin: 8px;
	}
	.nav>li>.parent {
		background-position: 95% 50%;
	}
	.nav li li .parent {
		background-repeat: no-repeat;
		background-position: 95% 50%;
	}
	.nav ul {
		display: block;
		width: 100%;
	}
	.nav>li.hover>ul, .nav li li.hover ul {
		position: static;
	}
	.nav>li>a {
		display: block;
		height: auto;
	}
	.double>li, .triple>li, .quad>li, .six>li {
		width: 100%;
	}
	.nav {
		text-align: right;
		margin-right: 6.4%;
	}
}