.top-header-area {
	position: relative;
	z-index: 1;
	width: 100%;
	background-color: #f2f4f5;
}

.top-header-content {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 40px;
	background-color: #f2f4f5;

	@media only screen and (max-width:767px) {
		@include flex-wrap(wrap);
	}

	@media only screen and (min-width:768px) and (max-width:991px) {
		height: auto;
		padding: 15px 0;
	}

	@media only screen and (max-width:767px) {
		height: auto;
		padding: 10px 0;
	}

	.top-header-meta {
		position: relative;
		z-index: 1;
		@include flex(0 0 50%);
		max-width: 50%;
		width: 50%;

		p {
			margin-bottom: 0;
			font-size: 12px;

			span {
				color: #77b122;
			}

			@media only screen and (max-width:767px) {
				font-size: 11px;
			}
		}

		a {
			font-size: 12px;
			color: #707070;
			font-weight: 400;

			@media only screen and (min-width:768px) and (max-width:991px) {
				font-size: 16px;
			}

			@media only screen and (max-width:767px) {
				font-size: 16px;
			}

			span {
				@media only screen and (min-width:768px) and (max-width:991px) {
					display: none;
				}

				@media only screen and (max-width:767px) {
					display: none;
				}
			}

			&:first-child {
				margin-right: 30px;
			}

			&:focus,
			&:hover {
				color: #77b122;
			}
		}
	}
}

.header-area {
	position: relative;
	z-index: 1000;
	width: 100%;

	.famie-main-menu {
		position: relative;
		width: 100%;

		.classy-nav-container {
			position: relative;
			z-index: 1;

			.container {
				position: relative;
				z-index: 1;
			}
		}

		.classy-navbar {
			padding: 0;
			height: 80px;

			@media only screen and (min-width:768px) and (max-width:991px) {
				height: 70px;
			}

			@media only screen and (max-width:767px) {
				height: 70px;
			}

			.nav-brand {
				max-width: 150px;

				@media #{$breakpoint-lg} {
					max-width: 120px;
				}

				@media only screen and (max-width:767px) {
					max-width: 110px;
				}
			}

			.classynav ul {
				li {
					a {
						font-weight: 400;
						text-transform: uppercase;
						font-size: 14px;
						color: #000;

						&:focus,
						&:hover {
							color: #f8f239;
						}
					}

					ul li a {
						text-transform: capitalize;
						padding: 0 20px;
						font-size: 14px;
						color: #0f1112;
						line-height: 34px;
						height: 35px;

						@media only screen and (min-width:768px) and (max-width:991px) {
							color: #707070;
						}

						@media only screen and (max-width:767px) {
							color: #707070;
						}

						&::after {
							color: #0f1112;
						}

						&:focus,
						&:hover {
							color: #77b122;
						}
					}

					&.active a {
						color: #f8f239;
					}
				}
			}
		}
	}

	.is-sticky {
		.famie-main-menu {
			z-index: 9999;
			box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.2);
		}
	}

	#searchIcon {
		position: relative;
		z-index: 1;
		color: #303030;
		margin: 0 25px;
		cursor: pointer;
		@include transition-duration(500ms);
		display: inline-block;

		&:focus,
		&:hover {
			color: #77b122;
		}
	}

	#cartIcon {
		position: relative;
		z-index: 1;
		display: inline-block;

		a {
			display: inline-block;
			font-size: 18px;

			span {
				position: absolute;
				top: -5px;
				right: -5px;
				z-index: 9;
				display: block;
				width: 15px;
				height: 15px;
				border-radius: 50%;
				background-color: #77b122;
				color: #ffffff;
				font-size: 10px;
				text-align: center;
				line-height: 15px;
			}
		}
	}
}

.search-form {
	@include transition-duration(500ms);
	position: absolute;
	width: 500px;
	background-color: #ffffff;
	z-index: 1;
	right: 0;
	bottom: -70px;
	height: 50px;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.15);

	@media only screen and (max-width:767px) {
		width: 280px;
		right: 15px;
	}

	@media only screen and (min-width:576px) and (max-width:767px) {
		width: 320px;
		right: 0;
	}

	input {
		width: 100%;
		height: 50px;
		border-radius: 0;
		border: none;
		padding: 15px;
		font-size: 12px;
		font-style: italic;
	}

	.closeIcon {
		position: absolute;
		z-index: 99;
		top: 0;
		right: 15px;
		font-size: 12px;
		color: #707070;
		width: auto;
		height: 16px;
		line-height: 16px;
		top: 50%;
		margin-top: -8px;
		cursor: pointer;

		&:hover {
			color: #77b122;
		}
	}

	&.search-active {
		opacity: 1;
		visibility: visible;
		bottom: -55px;
	}
}

.classynav {
	@media only screen and (min-width:768px) and (max-width:991px) {
		padding-bottom: 70px;
	}

	@media only screen and (max-width:767px) {
		padding-bottom: 70px;
	}

	>ul {
		@media only screen and (min-width:768px) and (max-width:991px) {
			padding-bottom: 20px;
		}

		@media only screen and (max-width:767px) {
			padding-bottom: 20px;
		}
	}
}