#main-menu{
	width: 100%;
	height: 60px;
	position: relative;
	background-color: $cor1;
	font-family: $fonte;
	font-weight: 600;

	@media #{$mq-mobile}{
		height: 50px;
	}

	img[alt="menu-icon"] {
		display: none;
		position: absolute;
		top: 16px;
		left: 50%;
		margin-left: -13px;
		cursor: pointer;
	}

	@media #{$mq-mobile}{
		img[alt="menu-icon"] {
			display: block;
		}
	}


	ul.menu{
		width: 100%;
		margin: 0 auto;
		padding: 0;
		list-style: none;

		@media #{$mq-mobile}{
			display: none;
		}

		& > li {
			float: left;
			padding: 0 10px;
			position: relative;
			-webkit-transition: all 0.3s ease-in-out;
			transition: all 0.3s ease-in-out;

			&:hover, &.active {
				color: $cor1;
				background-color: $cor2;
			}

			& > a {
				display: block;
				color: $branco;
				font-size: 18px;
				font-weight: 600;
				padding: 0 5px;
				line-height: 60px;
				text-transform: uppercase;
				text-align: center;
				transition: all 250ms ease;
				text-decoration: none;

				&:hover{
					color: $cor1;
				}

				&.submenu {
					&:after {
						content: url('../img/dropdown-arrow.png');
						position: relative;
						left: 8px;
						bottom: 4px;
					}
					&:before {
						content: '';
						width: 0;
						height: 0;
						border-left: 5px solid transparent;
						border-right: 5px solid transparent;
						border-bottom: 7px solid $cor1;
						position: absolute;
						top: 60px;
						left: 50%;
						-webkit-transform: translate(-50%, 0);
						-ms-transform: translate(-50%, 0);
						transform: translate(-50%, 0);
						-webkit-transition: all 0.3s ease-in;
						transition: all 0.3s ease-in;
						visibility: hidden;
						opacity: 0;
						z-index: 9999;
						
					}
				}
			}

			&.item-destacado{
				a{
					background-color: $branco;
					color: $cor1;
					line-height: 1;
					border-radius: 50px;
					padding: 12px 24px;

				}
				&:hover{
					background-color: transparent;
					a{
						background-color: $cor1;
						color: $branco;
					}
				}
			}

		}

		& li:hover .submenu:before {
			visibility: visible;
			opacity: 1;
		}

	}

	.submenu-small {
		width: 220px;
		padding: 7px 0 0;
		position: absolute;
		top: 60px;
		left: 50%;
		-webkit-transform: translate(-50%, 0);
		-ms-transform: translate(-50%, 0);
		transform: translate(-50%, 0);
		z-index: 10000;
		display: none;
		list-style: none;

		&:before {
			left: 85px;
		}

		li {
			border-bottom: 1px solid darken($cor1, 20%);
			position: relative;
			a {
				display: block;
				padding-left: 15px;
				text-align: left;
				color: $branco;
				font-size: 12px;
				line-height: 40px;
				background-color: $cor1;
				text-transform: uppercase;
				text-decoration: none;

				&:hover {
					background-color: $cor2;

					.svg-arrow {
						fill: $branco;
					}
				}
			}

			.svg-arrow {
				width: 4px;
				height: 7px;
				position: absolute;
				top: 17px;
				right: 15px;
				fill: $preto;
				-webkit-transition: fill 0.3s linear;
				transition: fill 0.3s linear;
				//display: none;
			}

			&:hover {
				ul {
					display: block;
					list-style: none;
				}
			}
			&:last-child {
				border-bottom: none;
			}
		}

		ul {
			width: 180px;
			position: absolute;
			padding-left: 0px;
			top: 0;
			right: -180px;
			z-index: 10000;
			display: none;
			list-style: none;
		}
	}


}

.mobile-menu {
	width: 270px;
	height: 100%;
	background-color: $branco;
	padding: 50px 0 0;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	overflow: auto;
	-webkit-transform: translate(-270px, 0);
	-ms-transform: translate(-270px, 0);
	transform: translate(-270px, 0);
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;

	&.open {
		display: none;
		-webkit-transform: translate(0, 0);
		-ms-transform: translate(0, 0);
		transform: translate(0, 0);
	}

	img[alt="logo"] {
		display: block;
		max-width: 90%;
		margin: 0 auto 30px;
	}

	.svg-plus {
		width: 25px;
		height: 25px;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		fill: $preto;
		position: absolute;
		top: 10px;
		right: 10px;
		cursor: pointer;
	}

	& > ul {
		padding-left: 0;
		border-top: 1px solid lighten($cinza, 10%);
		list-style: none;
		background-color: $branco;

		& > li {
			border-bottom: 1px solid lighten($cinza, 10%);

			& > a {
				display: block;
				padding-left: 30px;
				line-height: 45px;
				color: $cor1;
				font-size: 14px;
				font-family: $fonte;
				font-weight: 600;
				text-transform: uppercase;
				position: relative;

				.svg-arrow {
					width: 5px;
					height: 9px;
					fill: $cor1;
					-webkit-transform: rotate(90deg);
					-ms-transform: rotate(90deg);
					transform: rotate(90deg);
					position: absolute;
					top: 18px;
					right: 25px;
				}

				&:hover {
					background-color: ligthen($cinza, 5%);
				}
			}

			ul {
				border-top: 1px solid $cor1;
				background-color: $cor1;
				padding: 0;
				display: none;
				list-style: none;

				li {
					border-bottom: 1px solid $cinza;
					&.selected {
						a {
							color: $branco;
						}
					}

					a {
						display: block;
						padding-left: 45px;
    					line-height: 45px;
						color: $branco;
						font-size: 12px;
						position: relative;
						text-transform: uppercase;

						&:hover {
							color: $branco;
						}

						.svg-arrow{
							width: 5px;
							height: 9px;
							fill: $branco;
							-webkit-transform: rotate(90deg);
							transform: rotate(90deg);
							position: absolute;
							top: 18px;
							right: 25px;
						}

					}

					ul{
						list-style: none;
						li{
							a{
								display: block;
								padding-left: 60px;
		    					line-height: 30px;
								color: $branco;
								font-size: 12px / 16px * 1em;
								position: relative;
								text-transform:capitalize;
							}
						}
					}
				}
			}
		}
	}

	& > div{
		padding-left: 30px;
		.details{
			font-size: 12px;
			color: $branco;
			margin-bottom: 15px;
			p{
				line-height: normal;
				margin-bottom: 0px;
			}
		}
	}
}

/*----------------------
  	MOBILE MENU COVER
----------------------*/
.mobile-menu-cover {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	visibility: hidden;
	background-color: rgba($preto, 0);

	@include transition(all .5s);

	&.visible {
		background-color: rgba($preto, 0.8);
		visibility: visible;
	}
}

@media screen and (max-width: 1260px) {


	.mobile-menu {
		&::-webkit-scrollbar {
		    -webkit-appearance: none;
		}

		&::-webkit-scrollbar:vertical {
		    width: 12px;
		}

		&::-webkit-scrollbar:horizontal {
		    height: 12px;
		}

		&::-webkit-scrollbar-thumb {
		    background-color: rgba($preto, .5);
		    border-radius: 10px;
		    border: 2px solid $branco;
		}

		&::-webkit-scrollbar-track {
		    border-radius: 10px;
		    background-color: $branco;
		}

		&.open {
			display: block;
		}
	}
}
