#menu-button {
	/* hiding responsive menu button */
	display: none;
}

nav.mobile {
	/* hiding responsive menu */
	display: none;
}

/***** Start of primary nav ******/
nav.primary {
	width: 74.85%;
	float: right;
	position: relative;
	margin-top: 19px;
	margin-right: 4%;
}

nav.primary ul li span.clickone {
	/* dropdown menu idicator arrow be sure to include this image with your image files */
	background-size: 58%;
	position: relative;
	display: block;

	margin: -18px auto 0;
	cursor: pointer;
	z-index: 12399994;
	width: 44px;
	height: 30px;
	-webkit-transition: background-size .3s ease-in-out;
	-moz-transition: background-size .3s ease-in-out;
	transition: background-size .3s ease-in-out;
	-webkit-transition: all .4s ease;
	/* Safari and Chrome */
	-moz-transition: all .4s ease;
	/* Firefox */
	-ms-transition: all .4s ease;
	/* IE 9 */
	-o-transition: all .4s ease;
	/* Opera */
	transition: all .4s ease;
	z-index: 1;
}

nav.primary ul li:hover span.clickone {
	margin: -10px auto -24px;
}




nav.primary ul li span.click:hover {
	background-size: 60%;
}

nav.primary ul {
	float: right;
}

nav.primary ul li {
	float: left;
	list-style: none;
}

nav.primary ul li a {
	padding: 10px 22px;
	display: block;
	text-decoration: none;
	color: #222c6a;
	font-family: roboto-condensed, sans-serif;
	font-size: 20px;
	font-weight: 600;
	-webkit-transition: all .4s ease;
	/* Safari and Chrome */
	-moz-transition: all .4s ease;
	/* Firefox */
	-ms-transition: all .4s ease;
	/* IE 9 */
	-o-transition: all .4s ease;
	/* Opera */
	transition: all .4s ease;
}

nav.primary ul li a:hover {
	background: #fff;
	color: #222c6a !important;
	background: url(../images/navhov.png) repeat;

}

nav.primary ul li li a {
	/* appearance of the sub-level links */
	padding: 10px 20px;
	font-size: 18px;
	background: #222c6a;
	position: relative;
	z-index: 999;
	color: #fff !important;
	width: 220px;
	border: 1px solid #222c6a;
	-webkit-transition: all .4s ease;
	/* Safari and Chrome */
	-moz-transition: all .2s ease;
	/* Firefox */
	-ms-transition: all .2s ease;
	/* IE 9 */
	-o-transition: all .2s ease;
	/* Opera */
	transition: all .2s ease;
	text-align: center;
	border-radius: 7px;
	margin: 5px 0;
}

nav.primary ul li li a:hover {
	/* appearance of the sub-level links on hover */
	color: #222c6a !important;
	background: #fff;
	border: 1px solid #222c6a;

}

/* Optional-use, Begin targeting styles of first and last links */
nav.primary ul li:last-child {
	/* Optional-use, this targets last li */
}

nav.primary ul li:last-child a {
	/* Optional-use, this targets last link */
}

nav.primary ul li:first-child a {
	/* Optional-use, this targets first li */
}

/* Optional-use, targeting styles of first and last sub-level links*/
nav.primary ul li li:last-child {}

nav.primary ul li li:last-child a {}

nav.primary ul li li:first-child a {}

/* Optional-use, End targeting styles of first and last links */

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute;
	z-index: 999999;
	width: auto;
	min-width: 160px;
}

nav.primary ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
	width: auto;
	min-width: 120px;
}

nav.primary ul li:hover>ul {
	display: block;
	line-height: 18px;
}

nav.primary ul ul li {
	float: none;
	position: relative;
	margin: 0;
}

@media screen and (max-width: 1565px) {
	nav.primary ul li a {
		padding: 10px 42px;
	}
}

@media screen and (max-width: 1547px) {
	nav.primary ul li a {
		padding: 10px 18px;
	}
}

@media screen and (max-width: 1465px) {
	nav.primary ul li a {
		padding: 10px 15px;
	}
}

@media screen and (max-width: 1410px) {
	nav.primary ul li a {
		padding: 10px 19px;
	}
}

@media screen and (max-width: 1360px) {

	nav.primary ul li a {
		padding: 10px 20px;
	}

}

@media screen and (max-width: 1335px) {

	nav.primary ul li a {
		padding: 10px 20px;
	}

}

@media screen and (max-width: 1300px) {

	nav.primary ul li a {
		padding: 10px 25px;
	}

}



@media screen and (max-width: 1290px) {
	nav.primary ul li a {
		padding: 10px 20px;
		font-size: 18px;
		font-weight: 500;
	}

	nav.primary ul li li a {
		padding: 7px 5px;
		font-size: 18px;
	}


}


@media screen and (max-width: 1200px) {
	nav.primary ul li a {
		padding: 10px 15px;
		font-size: 16px;
		font-weight: 500;
	}


}

@media screen and (max-width: 1100px) {
	nav.primary ul li a {
		padding: 10px 10px;
		font-size: 16px;
		font-weight: 500;
	}


}


.righthead i {
	font-size: 22px;
}

/******** End of primary Nav ***************/
@media screen and (max-width: 922px) {
	nav.primary {
		display: none;
	}

	/*==============================
	Mobile Nav Styles			
================================*/
	#menu-button {
		/* initially will need to be hidden */
		display: block;
		font-size: 32px;
		position: relative;
		z-index: 999;
		/* needs to be lower than nav.mobile, adjust as needed */
		padding: 6px 0% 5px 0;
		width: 100%;
		float: left;
		margin: 0 0%;
		background: #222c6a;
		display: flex;
		justify-content: center;
	}

	#menu-button a {
		color: #fff;
		text-decoration: none;
		/* margin-left: 48%; */
	}

	#menu-button a:hover {
		color: #C3C3C3;
	}

	nav.mobile {
		display: block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #222c6a;
		z-index: 999999;
		/* needs to be higher than #menu-button, adjust as needed */
		overflow: auto;
		border-right: 1px solid #222c6a;
		box-shadow: 0 0 7px #000;
	}

	nav.mobile h3 {
		/* Menu header styles */
		position: relative;
		padding: 12px 10px;
		color: #fff;
		font-size: 22px;
		font-weight: 400;
		border-bottom: 4px solid #161E52;
		font-family: roboto-condensed, sans-serif;
	}

	nav.mobile .menu-toggle {
		/* Menu close button */
		position: absolute;
		top: 12px;
		right: 10px;
		display: inline-block;
		padding: 6px 9px 5px;
		font-family: Arial, sans-serif;
		font-weight: bold;
		line-height: 1;
		background: none;
		color: #fff;
		text-decoration: none;
		vertical-align: top;
		font-size: 20px;
	}

	nav.mobile .menu-toggle:hover {
		/* Menu close button on hoveer */
		color: #fff;
	}

	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		border-top: 1px solid #151515;
		border-bottom: 1px solid #454545;
		margin: 0;
		padding: 0;
	}

	nav.mobile>ul {
		padding-top: 40px;
	}

	nav.mobile,
	nav.mobile ul * {
		box-shadow: none !important;
		border: none !important;
	}

	nav.mobile ul li {
		border-top: 1px solid #404A88;
		border-bottom: 1px solid #0E122F;
	}

	nav.mobile ul li a {
		text-align: left;
	}

	nav.mobile ul li a {
		position: relative;
		display: block;
		padding: 10px;
		color: #fff;
		text-decoration: none;
		font-family: roboto-condensed, sans-serif;
		font-size: 20px;
		letter-spacing: 0.5px;
	}

	nav.mobile ul li a:hover {
		background: #161E52;
		color: #fff;
	}

	nav.mobile ul li li a {
		/* appearance of the sub-level links */
		background: #444;
		position: relative;
		display: block;
		padding: 10px 10px 10px 15px;
		color: #ccc;
		text-decoration: none;
		font-size: 18px;
	}

	nav.mobile ul li li li a {
		/* appearance of third level sub-level links if needed */
		background: #666;
		position: relative;
		display: block;
		padding: 10px 10px 10px 25px;
		color: #000;
		text-decoration: none;
	}

	nav.mobile ul li span.click {
		/* dropdown menu idicator arrow be sure to include this image with your image files */
		background: url(/themes/SandhillsTemplate/images/down.png) 10px 12px no-repeat;
		background-size: 55%;
		position: relative;
		display: block;
		float: right;
		margin: -44px 0 0 0;
		cursor: pointer;
		z-index: 12399994;
		width: 44px;
		height: 44px;
		-webkit-transition: background-size .75s ease-in-out;
		-moz-transition: background-size .75s ease-in-out;
		transition: background-size .75s ease-in-out;
	}

	nav.mobile ul li span.click:hover {
		background-size: 55%;
		margin: -41px 0 0 0;
	}
}