.covf-menu-search {
	padding: 9px 0;
	i.fa:hover {
		color:$color__link-hover;
		cursor:pointer;
	}
}
.main-navigation-bg {
	height: 6px;
	background: #F4F4F4;
	width: 100%;
	position:absolute;
	bottom:0px;
	z-index:-2;
}
@media (min-width: 768px) {
	.main-navigation {
		clear: both;
		display: block;
		float: left;
		width: 100%;
		position:relative;
		margin-bottom: 10px;
		ul {
			display: none;
			list-style: none;
			margin: 0;
			padding-left: 0;

			ul {
				box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
				float: left;
				position: absolute;
				top: 100%;
				left: -999em;
				z-index: 99999;

				ul {
					left: -999em;
					top: 0;
				}

				li {
					&:hover > ul,
					&.focus > ul {
						left: 100%;
					}
				}

				a {
					width: 200px;
				}

				:hover > a,
				.focus > a {
				}

				a:hover,
				a.focus {
				}
			}

			li:hover > ul,
			li.focus > ul {
				left: auto;
			}
		}

		li {
			float: left;
			position: relative;

			&:hover > a,
			&.focus > a {
			}
		}

		a {
			display: block;
			text-decoration: none;
		}

		.current_page_item > a,
		.current-menu-item > a,
		.current_page_ancestor > a,
		.current-menu-ancestor > a {
		}
		#primary-menu {
			
			> li {
				font-size: 16px;
				line-height: 2;
				text-transform: uppercase;
				> a {
					font-weight: bold;
					font-family: $font__heading;
					color: #1b1b1b;
					padding: 9px 15px;
					border-bottom:6px solid #F4F4F4;
				}
				> a:hover {
					color: $color__link-hover;
					border-bottom:6px solid $color__link-hover;
					
				}
				ul {
					background: #e1e1e1;
					text-transform: none;
					li {
						padding: 0 17px;
					}
					a {
						color: #3f3f3f;
						font-weight: light;
						font-family: $font__main;
					}
					a:hover {
						color: $color__link-hover;
					}
				}
			}
			
			> li.current-menu-item  {
				> a {
					color: $color__link-hover;
					border-bottom:6px solid $color__link-hover;
				}
			}
		}
		
	}
}

@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

@media (max-width: 768px) {
	/* Small menu. */
	
	.menu-toggle,
	.main-navigation.toggled ul {
		display: block;
	}
	
	.main-navigation ul {
		display: none;
		list-style: none;
		margin: 0;
		padding-left: 0;
	}
	.main-navigation div>ul {
		margin-bottom: 15px;
	}
	.menu-toggle {
		margin-top:5px;
		display:  inline-block;
		
	}
	.main-navigation.toggled ul {
		display: block;
	}
	.menu-toggle-container {
		
	}
	.main-navigation-container {
		background: #f18d05;
	}
	
	
	.main-navigation div>ul {
		padding:0 10px;
		background: #333;
	}
	
	.main-navigation ul a {
		font-size: 16px;
		color: #ccc;
		border-bottom: 1px solid #444;
		line-height: 3em;
		display: block;
	}
	.main-navigation ul a:hover , .main-navigation  .current_page_item>a{
		color: #ffffff;
	}
	.main-navigation ul  ul {
		margin-left:20px;
	}
}


.comment-navigation,
.posts-navigation,
.post-navigation {

	.site-main & {
		margin: 0 0 1.5em;
		overflow: hidden;
	}

	.nav-previous {
		float: left;
		width: 50%;
	}

	.nav-next {
		float: right;
		text-align: right;
		width: 50%;
	}
}
