
#menu, 
#toggle-menu {
	background: #b3e2ef; /*#E4BA86;*/ /*#DFAE74;*/ /* #E9C69B;#b3e2ef; */
}

#menu {
	background: #b3e2ef; /* #E9C69B; */
}	

#menu ul {
	margin: 0;
	padding: 0;
}

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

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

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

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

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

#menu ul {
	border-width: 1px 0 1px 0;
}

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

#menu .sub-menu {
	background-color: #DFAE74;
	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;
	color: #111; /*6B4226;*/
	line-height: 32px;
	font-size: 13px;
	/*letter-spacing: .1em;*/
	text-transform: uppercase;
	font-weight: normal;
}

#menu li { 
	width: 16.6%;  /*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);
	text-align: center; 
/* this v replaces that ^ */
	/*width: 20%;*/  /*for browsers that don't understand "calc" (was issue on ipad) */
	/*width: -webkit-calc(20% - 1px);
	width: -moz-calc(20% - 1px);
	width: calc(20% - 1px);*/
}

#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: #6B4226; !important;
	filter: alpha(opacity=65); /* internet explorer */
	opacity: 0.95;           /* fx, safari, opera, chrome */
	text-decoration: none;
	/*color:#c19b4f !important;*/
	color:#fff !important;
}

#menu li:first-child a:hover {

}

#menu li:last-child a:hover {

}

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

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

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

#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(255, 255, 255, .95);
}

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

ul#footer-menu li {
	position: relative;
	display: block;
	color: #756F7C;
	font-size: 14px;
	letter-spacing: .1em;
	width: calc(16.667% - 1px); 
	text-align: center;   
}

ul#footer-menu li a {
	color: #756F7C;
}


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

li.hide-at-899 {display: none !important;}

/*

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

*/

	#menu li {
	/*	width: 25%;*/
		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: 1px 0;

	}

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

	}

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

	}

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

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

	#menu li:last-child, #menu li:last-child a:hover {
		border-width: 0 0 1px 0;

	}

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

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

}

@media only screen and (min-width: 600px) {
	#menu .main-menu {
		display: block;
	}

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

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

	#menu li {
		float: left;
		border-width: 1px 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;
		border-width: 1px 0 0 0;
	}

	.footer-menu li {
		float: left;
		white-space: nowrap;
		list-style-type: none;
		padding: 0 .25em;
		color: #111;
	}

	.footer-menu a {
		font-size: 12px;
		color: #111;
		font-weight: 500;
		white-space: nowrap;
		text-decoration: none;
		/*text-transform: lowercase;*/
	}

	.footer-menu a:hover {
		color: #111;
		text-decoration: underline;
	}

	li.top-link {display: none}
}

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

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

	#menu li { 
		width: 100%; 
		text-align: center;
		border-width: 0 0 1px 0;
	}

	/*#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: #6B4226;
		color: #fff !important;
		text-decoration: none;
	}

	#menu li:first-child a:hover {

	}

	#menu li:last-child a:hover {

	}

#footer { display: none; }

	ul.footer-menu {
		list-style: none !important;
	}

	ul.footer-menu li {
		margin: 0 !important;
		padding: 0 !important;
	}

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

	.footer-menu a {
		/*color: #111;*/
		width: 100%;
		white-space: nowrap;
		text-decoration: none;
		display: block;
		/*text-transform: lowercase*/
	}

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

	li.nav-pipe, li.hide-at-599 {display: none !important;} 

	li.top-link {	
		display: inherit; 
		/*font-weight: 700;*/
	}

	li.hide-at-899 {display: none !important;}

}