/* Mobile navigation */
.mobile-navigation {
	display: none;
	padding: 1rem;
	margin-left: -1rem;
	margin-right: -1rem;
	border-bottom: 1px solid #e8edf3;
}
.mobile-navigation.is-shown {
	display: block;
}
.mobile-navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.mobile-navigation ul li > a {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #333;
}
.mobile-navigation ul li > a:hover,
.mobile-navigation ul li.current-menu-item > a,
.mobile-navigation ul li.current-menu-ancestor > a {
	color: $color-1;
}
.mobile-navigation ul ul {
	padding-left: 1.5rem;
}
.mobile-navigation ul ul li > a {
	font-weight: normal;
	color: #000;
}

/* Primary navigation */
.primary-navigation {
	font-size: 0.875rem;
	margin-left: -1rem;
	margin-right: -1rem;
}
.primary-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: row wrap;
}
.primary-navigation ul li {
	position: relative;
	z-index: 100;
}
.primary-navigation ul li > a {
	display: block;
	padding: 0.75rem 1rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #333;
}
.primary-navigation ul li > a:hover,
.primary-navigation ul li.current-menu-item > a,
.primary-navigation ul li.current-menu-ancestor > a {
	color: $color-1;
}
.primary-navigation ul li.menu-item-has-children > a::after {
	content: '\00a0\f107';
	font-family: 'FontAwesome';
}
.primary-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	display: block;
	min-width: 14rem;
	visibility: hidden;
	border-top: 1px solid $border-color;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.275);
	white-space: nowrap;
	background-color: #fff;
	opacity: 0;
	transform: translate3d(0, -1rem, 0);
	transition: all 0.2s ease-out;
}
.primary-navigation ul ul li > a {
	padding: 0.75rem 1rem;
	text-transform: none;
}
.primary-navigation ul ul li > a:hover {
	background-color: #f5f5f5;
}
.primary-navigation ul ul li.menu-item-has-children > a::after {
	position: absolute;
	right: 1rem;
	content: '\00a0\f105';
	font-family: 'FontAwesome';
}
.primary-navigation ul ul li > ul {
	top: -2px;
	left: 100%;
	transform: translate3d(-1rem, 0, 0);
}
.primary-navigation ul li.menu-item-has-children.has-focus > ul,
.primary-navigation ul li.menu-item-has-children:hover > ul {
	visibility: visible;
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* Secondary navigation */
.secondary-navigation ul {
	margin: 0 -0.5rem;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	font-size: 0.875rem;
}
.secondary-navigation li {
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	margin-top: 0.75rem;
}
.secondary-navigation ul ul {
	display: none;
}
.secondary-navigation a {
	text-decoration: none;
}

/* Social navigation */
.social-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-flow: row nowrap;
}
.social-navigation li {
	margin-left: 0.25rem;
	margin-right: 0.25rem;
}
.social-navigation ul ul {
	display: none;
}
.social-navigation a::before {
	@include font-smoothing;
	font-family: 'typicons';
	display: inline-block;
	width: 1.75rem;
	height: 1.75rem;
	line-height: 1.75;
	font-size: 1.75rem;
	text-align: center;
	text-decoration: none;
	speak: none;
}
.social-navigation a[href*="mailto"]                { font-size: 0; }
.social-navigation a[href*="mailto"]::before        { content: '\e0e1'; }
.social-navigation a[href*="dribbble.com"]          { font-size: 0; }
.social-navigation a[href*="dribbble.com"]::before  { content: '\e0e3'; }
.social-navigation a[href*="facebook.com"]          { font-size: 0; }
.social-navigation a[href*="facebook.com"]::before  { content: '\e0e4'; }
.social-navigation a[href*="flickr.com"]            { font-size: 0; }
.social-navigation a[href*="flickr.com"]::before    { content: '\e0e6'; }
.social-navigation a[href*="github.com"]            { font-size: 0; }
.social-navigation a[href*="github.com"]::before    { content: '\e0e8'; }
.social-navigation a[href*="google.com"]            { font-size: 0; }
.social-navigation a[href*="google.com"]::before    { content: '\e0ea'; }
.social-navigation a[href*="instagram.com"]         { font-size: 0; }
.social-navigation a[href*="instagram.com"]::before { content: '\e0ec'; }
.social-navigation a[href*="linkedin.com"]          { font-size: 0; }
.social-navigation a[href*="linkedin.com"]::before  { content: '\e0f0'; }
.social-navigation a[href*="pinterest.com"]         { font-size: 0; }
.social-navigation a[href*="pinterest.com"]::before { content: '\e0f2'; }
.social-navigation a[href*="skype"]                 { font-size: 0; }
.social-navigation a[href*="skype"]::before         { content: '\e0f4'; }
.social-navigation a[href*="tumblr.com"]            { font-size: 0; }
.social-navigation a[href*="tumblr.com"]::before    { content: '\e0f6'; }
.social-navigation a[href*="twitter.com"]           { font-size: 0; }
.social-navigation a[href*="twitter.com"]::before   { content: '\e0f8'; }
.social-navigation a[href*="vimeo.com"]             { font-size: 0; }
.social-navigation a[href*="vimeo.com"]::before     { content: '\e0fa'; }
.social-navigation a[href*="youtube.com"]           { font-size: 0; }
.social-navigation a[href*="youtube.com"]::before   { content: '\e0fc'; }

/* Services navigation */
.services-navigation ul {
	font-size: 1.125rem;
	line-height: 1.5;
}
.services-navigation ul li > a {
	display: block;
	padding: 0.75rem 1rem 0.6875rem;
	margin-bottom: 1px;
	background-color: #f5f5f5;
	color: $text-color;
	transition: all 0.2s ease;
}
.services-navigation ul li > a:hover,
.services-navigation ul li.current-menu-item > a {
	background-color: $color-2;
	color: #fff;
}
.services-navigation ul ul {
	display: none;
}

/* Loops pagination */
.pagination .nav-links {
	position: relative;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
}
.pagination .page-numbers {
	display: block;
	width: 2.25rem;
	height: 2.25rem;
	line-height: 2.25rem;
	padding: 0;
	margin: 0 0.3125rem;
	border: 1px solid #959595;
	font-size: 0.75rem;
	text-decoration: none;
	text-align: center;
	color: #959595;
}
.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus {
	border-color: #333;
	background-color: #fff;
	color: #333;
}
.pagination span.page-numbers.current,
.pagination span.page-numbers.current:hover,
.pagination span.page-numbers.current:focus {
	border-color: $color-2;
	background-color: $color-2;
	color: #fff;
}
.pagination a.page-numbers.prev,
.pagination a.page-numbers.next {
	@include font-smoothing;
	position: absolute;
	margin-left: 0;
	margin-right: 0;
	font-size: 1.125rem;
	line-height: 2rem;
}
.pagination a.page-numbers.prev {
	left: 0;
}
.pagination a.page-numbers.next {
	right: 0;
}
@media (min-width: $screen-sm-min) {
	.pagination a.page-numbers.prev,
	.pagination a.page-numbers.next {
		position: static;
		margin-left: 0.3125rem;
		margin-right: 0.3125rem;
	}
}
