
#menu, 
#toggle-menu {
	background: #fff;
}

#menu {
	background: transparent;
}	

#menu ul {
	margin: 0;
	padding: 0;
	/*padding-top: 65px;*/
	float: right;
}

#menu .main-menu {
	display: none;
}

#tm:checked + .main-menu {
	display: block;
}

#menu input[type="checkbox"], 
#menu ul span.drop-icon {
	display: none;
}

#menu li, 
#toggle-menu, 
#menu .sub-menu {
	/*border-style: solid;
	border-color: rgba(0, 0, 0, .20);*/
}

#menu li, 
#toggle-menu {
	border-width: 0 0 1px;
}

label#toggle-menu { padding-left: 1em; }

#menu .sub-menu {
	background-color: #444;
	border-width: 1px 1px 0;
	margin: 0 1em;
}

#menu .sub-menu li:last-child {
	border-width: 0;
}

#menu li, 
#toggle-menu, 
#menu a {
	position: relative;
	display: block;
	font-family: proxima-nova, sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 12px; /*9.75px;*/
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(82,82,82,.7);
}

#toggle-menu { color: #000; }

#menu li { 
	/*width: 16.667%;*/ /* for browsers that don't understand "calc" (was issue on ipad) */
	/*width: -webkit-calc(16.667% - 1px);*/
	/*width: -moz-calc(16.667% - 1px);*/
	/*width: calc(16.667% - 1px); */
	/*width: auto;*/
	padding: 0 1em;
	text-align: center; 
	/*-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.5);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.5);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.5);*/
}

#menu li:last-child { border: 0; }

#menu li.nav-icon { 
	width: 40px;
}

#toggle-menu, 
#menu a {
	/*padding: .6em 1.75em;*/
	/*padding: .25em auto;*/
	white-space: nowrap;
}

#menu a {
	transition: all .125s ease-in-out;
	-webkit-transition: all .125s ease-in-out;
}

#menu a:hover {
	background-color: transparent;
	color: rgba(82,82,82,1);
	text-decoration: none;
}

#menu li:first-child a:hover {
	/* rounded corner */
	/*-webkit-border-radius: 5px 0px 0px 5px;
	-moz-border-radius: 5px 0px 0px 5px;
	border-radius: 5px 0px 0px 5px;*/
}

#menu li:last-child a:hover {
	/* rounded corner */
	/*-webkit-border-radius: 0px 5px 5px 0px;
	-moz-border-radius: 0px 5px 5px 0px;
	border-radius: 0px 5px 5px 0px;*/
}

#menu .sub-menu {
	display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
	display: block;
}

#menu .sub-menu a:hover {
	color: #444;
}

#toggle-menu .drop-icon, 
#menu li label.drop-icon {
	position: absolute;
	right: .65em;
	top: .5em;
	font-size: 1.75em;
	font-weight: 700;
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
	border-radius: 50%;
	width: 1em;
	height: 1em;
	text-align: center;
	/*background-color: rgba(0, 0, 0, .125);*/
	text-shadow: 0 0 0 transparent;
	color: rgba(0, 0, 0, .95);
}

#menu .drop-icon {
	line-height: 1;
	font-weight: 700;
}

ul#footer-menu li {
	position: relative;
	display: block;
	font-family: proxima-nova, sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 9.75px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(82,82,82,.7);
}

ul#footer-menu li a {
	color: rgba(82,82,82,.7);
	font-weight: normal;
}


@media only screen and (max-width: 899px) and (min-width: 600px) {

	nav#menu {clear: both;}

	#menu ul {padding-top: 0px;}


	#menu li, 
	#toggle-menu, 
	#menu a {
		line-height: 3.25em;
	}

	#menu li {
		/*width: 25%;
		width: calc(25% - 2px);
		padding: 0; 
		margin: 0; 
		text-align: center;*/
	}

/*	#menu li:nth-child(2), #menu li:nth-child(5) {
		width: calc(34% - 2px);
		padding: 0; margin: 0; text-align: center;
	}

	#menu li:first-child, #menu li:first-child a:hover {
		border-width: 0 1px 1px 0;
		-webkit-border-radius: 5px 0px 0px 0px;
		-moz-border-radius: 5px 0px 0px 0px;
		border-radius: 5px 0px 0px 0px;
	}

	#menu li:nth-child(2), #menu li:nth-child(2) a:hover {
		border-width: 0 1px 1px 0;
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}

	#menu li:nth-child(3), #menu li:nth-child(3) a:hover {
		border-width: 0 0 1px 0;
		-webkit-border-radius: 0px 5px 0px 0px;
		-moz-border-radius: 0px 5px 0px 0px;
		border-radius: 0px 5px 0px 0px;
	}

	#menu li:nth-child(4), #menu li:nth-child(4) a:hover {
		-webkit-border-radius: 0px 0px 0px 5px;
		-moz-border-radius: 0px 0px 0px 5px;
		border-radius: 0px 0px 0px 5px;
	}

	#menu li:nth-child(5), #menu li:nth-child(5) a:hover {
		-webkit-border-radius: 0px;
		-moz-border-radius: 0px;
		border-radius: 0px;
	}

	#menu li:last-child, #menu li:last-child a:hover {
		border-width: 0 1px 1px 0;
		-webkit-border-radius: 0px 0px 5px 0px;
		-moz-border-radius: 0px 0px 5px 0px;
		border-radius: 0px 0px 5px 0px;
	}
*/

	#menu .sub-menu li {
		width: auto;
	}

#menu li.nav-icon { display: none !important; }

}

@media only screen and (min-width: 1024px) {

	#menu {
		float: left; /* RP added to center nav 2-28-22 */
 		position: relative; /* RP added to center nav 2-28-22 */
		left: 50%; /* RP added to center nav 2-28-22 */
	}

	#menu .main-menu {
		display: block;
		/*margin:15px 0 15px 30%;*/ /*GI added*/
		margin:15px 0 15px auto;
		position: relative; /* RP added to center nav 2-28-22 */
   		right: 50%; /* RP added to center nav 2-28-22 */
	}

	#toggle-menu, 
	#menu label.drop-icon {
		display: none;
	}

	#menu ul span.drop-icon {
		display: inline-block;
	}

	#menu li {
		float: right;
		border-width: 0 1px 0 0;
	}

	#menu .sub-menu li {
		float: none;
	}

	#menu .sub-menu {
		border-width: 0;
		margin: 0;
		position: absolute;
		top: 100%;
		left: 0;
		width: 12em;
		z-index: 3000;
	}

	#menu .sub-menu, 
	#menu input[type="checkbox"]:checked + .sub-menu {
		display: none;
	}

	#menu .sub-menu li {
		border-width: 0 0 1px;
	}

	#menu .sub-menu .sub-menu {
		top: 0;
		left: 100%;
	}

	#menu li:hover > input[type="checkbox"] + .sub-menu {
		display: block;
	}

	ul.footer-menu {
		display: inline-block;
	}

	.footer-menu li {
		float: left;
		white-space: nowrap;
		list-style-type: none;
		padding: 0 .5em;

	}

	.footer-menu a {
		font-family: proxima-nova, sans-serif;
		font-weight: 600;
		font-style: normal;
		font-size: 9.75px;
		letter-spacing: .2em;
		text-transform: uppercase;
		color: rgba(82,82,82,.7);
		white-space: nowrap;
		text-decoration: none;
	}

	.footer-menu a:hover {
		color: rgba(82,82,82,1);
		text-decoration: none;
	}

	li.top-link {display: none}
}

@media only screen and (max-width: 1023px) {

	nav#menu {clear: both;}

	#menu ul {padding-top: 0px; width: 100%; }

	#menu li, 
	#toggle-menu, 
	#menu a {
		line-height: 3.25em;
	}

	#menu li { 
		width: 100%; 
		text-align: center;
		/*background-color: #6d6f71;*/
		margin: 0 auto;
	}

	#menu li:last-child { border: 0; }


	#toggle-menu, 
	#menu a {
		/*padding: .6em 1.75em;*/
		/*padding: .25em auto;*/
		white-space: nowrap;
	}

	#menu a {
		transition: all .125s ease-in-out;
		-webkit-transition: all .125s ease-in-out;
	}

	#menu a:hover {
		background-color: #F2F2F2; /*#bbbfc0;*/
		color: #333;
		text-decoration: none;
	}

	#menu li:first-child a:hover {
		/* rounded corner */
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}

	#menu li:last-child a:hover {
		/* rounded corner */
		-webkit-border-radius: 0px 0px 5px 5px;
		-moz-border-radius:  0px 0px 5px 5px;
		border-radius:  0px 0px 5px 5px;
	}

	.footer-menu li {
		width: 100%;
		border-bottom: 1px dotted #ccc;
		color: #333;
		display: block;
		line-height: 2em;
	}

	.footer-menu a {
		color: #333;
		width: 100%;
		white-space: nowrap;
		text-decoration: none;
		display: block;
	}

	.footer-menu a:hover {
		color: #fff;
		text-decoration: none;
		background-color: #999;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}

	li.nav-pipe {display: none} 

	li.top-link {
		display: inherit; 
		font-weight: 700;
	}
ul.main-menu-icons { display: none; }
}
