

/* =========================================
   MAIN NAV BAR
   ========================================= */

#mainNav {
	list-style-type: none;
    margin: 10px auto;
    padding: 10px 0;
    display: block;
    background-color: #fff;
    z-index: 100;
    width: 100%;
    max-width: 1140px;
    font-size: 14px;
}
#mainNav > ul {
	position: relative;
	padding: 5px 0;
	margin: 0;
    display: block;
    width: 100%;
    max-width: 1140px;
    text-align: center;
}
#mainNav > ul > li {
    display: inline;
    padding: 0 5px;
    line-height: 2em;
}
#mainNav > ul > li > a {
	color: #58595b;
	padding: 10px;
	text-transform: uppercase;
	border: transparent solid 2px;
	white-space: nowrap;
}
#mainNav > ul > li > a:hover,
#mainNav > ul > li > a.selected {
	position: relative;
	background: #FFFFFF;
	border: #9A9DA2 solid 2px;
}
#mainNav > ul > li > a.selected {
	border-color: #58595b;
}



#mainNav > ul > li > .sub-menu {
	position: absolute;
	list-style-type: none;
	background: transparent;
	display: block; 
	max-width: 940px;
	width: 100%;
	top: 23px;
	padding: 0;
	padding-top: 17px;
	text-align: left;
	z-index: 100;
}
#mainNav > ul > li > .sub-menu > li {
	padding: 0;
	margin: 0;
}
#mainNav > ul > li > .sub-menu {
	display: none; 
	width: 100%;
	height: auto;
}

/* business aids in public store nav */
#mainNav > ul > li.cat-businessaids {
	display: none;
}

/* visible for consultants in public store
   visible for non-CNS in starter kit order types only 
*/
.ordertype_KITUS #mainNav > ul > li.cat-businessaids,
.ordertype_KITCA #mainNav > ul > li.cat-businessaids,
.ordertype_KITUK #mainNav > ul > li.cat-businessaids,
.ordertype_KITAU #mainNav > ul > li.cat-businessaids,
.ordertype_KITNZ #mainNav > ul > li.cat-businessaids,
.ordertype_KITPO #mainNav > ul > li.cat-businessaids,
.ordertype_KITTW #mainNav > ul > li.cat-businessaids,
.is-consultant  #mainNav > ul > li.cat-businessaids {
	display: inline;
}

/* FRENCH & SPANISH */
@media (max-width: 767px) {

}
@media (min-width: 768px) {
 	.language_FR #mainNav > ul > li > a,
 	.language_ES #mainNav > ul > li > a { font-size: .8em; }
 	.language_FR #mainNav > ul > li { padding: 0 2px; }
 	.language_ES #mainNav > ul > li { padding: 0 4px; }
}
@media (min-width: 921px) {
	.language_FR #mainNav > ul > li > a,
	.language_ES #mainNav > ul > li > a { font-size: .9em; }
	.language_FR #mainNav > ul > li { padding: 0 3px; }
	.language_ES #mainNav > ul > li { padding: 0 5px; }
}


/* -------------   ShopNav for Consultants ------------------ */

.shopnavbar {
	background: #F1F1F1; box-shadow: 0 -2px 3px -2px rgba(0,0,0,0.1) inset;
}
.shopnavbar ul {margin:0 auto;padding:0 16px;max-width:940px;width:100%;list-style: none;}
.shopnavbar ul li {list-style: none;display:inline-block;;margin:0;}
.shopnavbar ul li a {display:block;padding:8px 8px;margin:0;height:100%;}
.shopnavbar ul li a:link,.shopnavbar ul li a:active,.shopnavbar ul li a:visited,.shopnavbar ul li a:hover {color:#333333;}
.shopnavbar ul li:first-child a {margin-left:0;}
.shopnavbar ul li a:hover {background-color:#E1E1E1;}
.shopnavbar ul li.active a {background-color:#CFE8D0;}
.shopnavbar .nav_heading  {font-weight: 700;  /*padding:7px 12px;*/}



.titlecase { text-transform: capitalize; }


/* =========================================
   RES NAV BAR
   ========================================= */

/* see component.css */

#menuBTN { 
	display: none;
	margin-left: 40px;
}
#menuBTN a  {
	display: none;
	width: 48px;
	height: 48px;
	background-image: url('//s3.amazonaws.com/arb_images/icons/navmenu_icon.png');
	background-position: 50% 50% ;
	background-repeat: no-repeat ;
	cursor: pointer;
}

/* =========================================
   SIDE MENU
   ========================================= */


#bodywrapper {
	transition: all 0.3s;
}


.menu-trigger {
	position: relative;
	font-size: 0.9em;
}
.mp-pusher {
	position: relative;
	left: 0;
	height: 100%;
}

.mp-menu {
	display: none;
	position: absolute; /* we can't use fixed here :( */
	top: 0;
	left: -240px;
	z-index: 1000;
	width: 240px;
	height: 100%;
	transition: all 150ms linear 0s;
	/*
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	*/
}

.mp-level {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/*height: 100%;*/
	background: #5e9340;
	box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	transition: all 150ms linear 0s;
	/*
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	*/
}
.mp-pushed {
	display: block;
	left: 0;
}


/* overlays for pusher and for level that gets covered */
.mp-pusher::after,
.mp-level::after,
.mp-level::before {
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	content: '';
	opacity: 0;
}

.mp-pusher::after,
.mp-level::after {
	background: rgba(0,0,0,0.3);
	-webkit-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
	-moz-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
	transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
}

.mp-level::after {
	z-index: -1;
}

.mp-pusher.mp-pushed::after,
.mp-level.mp-level-overlay::after {
	width: 100%;
	height: 100%;
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.mp-level.mp-level-overlay {
	cursor: pointer;
}

.mp-level.mp-level-overlay.mp-level::before {
	width: 100%;
	height: 100%;
	background: transparent;
	opacity: 1;
}

.mp-pusher,
.mp-level {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}





/* overlap */
.mp-overlap .mp-level.mp-level-open {
	box-shadow: 1px 0 2px rgba(0,0,0,0.2);
	left: 240px;
	/*
	-webkit-transform: translate3d(-40px, 0, 0);
	-moz-transform: translate3d(-40px, 0, 0);
	transform: translate3d(-40px, 0, 0);
	*/
}

.mp-overlap .mp-level.mp-level-top.mp-level-open {
	left: 0px;
}
.mp-overlap .mp-level.mp-level-open.mp-level-overlay {
	left: 0px;
}
.mp-overlap .mp-level.mp-level-top.mp-level-open.mp-level-overlay {
	left: -240px;
}



/* First level */
.mp-menu > .mp-level,
.mp-menu > .mp-level.mp-level-open,
.mp-menu.mp-overlap > .mp-level,
.mp-menu.mp-overlap > .mp-level.mp-level-open {
	/*box-shadow: none;
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	*/
}

/* cover */
.mp-cover .mp-level.mp-level-open {
	/*
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	*/
}

.mp-cover .mp-level.mp-level-open > ul > li > .mp-level:not(.mp-level-open) {
	left: -100%;
	/*
	-webkit-transform: translate3d(-100%, 0, 0);
	-moz-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	*/
}

/* content style */
.mp-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mp-menu h2 {
	margin: 0;
	padding: 16px;
	font-weight: 400;
	font-size: 19px;
	line-height: 23px;	
	text-align: center;
	color: #3A3A3A;
	cursor: default;
}
/* theader gets a close icon */
.mp-menu h2 {
	background-image: url('//s3.amazonaws.com/arb_images/icons/ico_close_small_x.png');
	background-repeat: no-repeat;
	background-position: 100% 0;
}

.mp-menu .mp-level-top > h2 {
	cursor: pointer;
}

.mp-menu h3 {
	margin: 0;
	margin-top: -12px;
	padding-bottom: 8px;
	color: #3A3A3A;
	font-weight: 200;
	font-size: 17px;
	text-align: center;
	cursor: default;
}

.mp-menu.mp-overlap h2::before {
	position: absolute;
	top: 0;
	right: 0;
	margin-right: 8px;
	font-size: 75%;
	line-height: 1.8;
	opacity: 0;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.1s 0.3s;
	-moz-transition: opacity 0.3s, -moz-transform 0.1s 0.3s;
	transition: opacity 0.3s, transform 0.1s 0.3s;
	/*
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	transform: translateX(-100%);
	*/
}

.mp-menu.mp-cover h2 {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 1em;
}

.mp-overlap .mp-level.mp-level-overlay > h2::before {
	opacity: 1;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	/*
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	transform: translateX(0);
	*/
}
.mp-menu ul li {
	width: 100%;
	text-align: left;
}
.mp-menu ul li > a {
	display: block;
	padding: 0.8em 1em 0.8em 2.5em;
	outline: none;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	box-shadow: inset 0 -1px rgba(0,0,0,0.2);
	text-shadow: 0 0 1px rgba(255,255,255,0.1);
	-webkit-transition: background 0.3s, box-shadow 0.3s;
	-moz-transition: background 0.3s, box-shadow 0.3s;
	transition: background 0.3s, box-shadow 0.3s;
}

.mp-menu ul li::before {
	position: absolute;
	left: 15px;
	z-index: -1;
	color: rgba(0,0,0,0.2);
	line-height: 2.5;
}

.mp-level > ul > li:first-child > a {
	box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
}

.mp-menu ul li a:hover,
.mp-level > ul > li:first-child > a:hover {
	background: rgba(0,0,0,0.2);
	box-shadow: inset 0 -1px rgba(0,0,0,0);
}

.mp-menu .mp-level.mp-level-overlay > ul > li > a,
.mp-level.mp-level-overlay > ul > li:first-child > a {
	box-shadow: inset 0 -1px rgba(0,0,0,0);
}

.mp-level > ul > li:first-child > a:hover,
.mp-level.mp-level-overlay > ul > li:first-child > a {
	box-shadow: inset 0 -1px rgba(0,0,0,0), inset 0 1px rgba(0,0,0,0);
} /* seems like Chrome 34.0.1847.131 needs the second shadow otherwise the transition breaks */

a.mp-back:link {
	background: rgba(0,0,0,0.1);
	outline: none;
	color: #282828;
	width: 100%;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight: 700;
	display: block;
	padding: 1em;
	position: relative;
	box-shadow: inset 0 1px rgba(0,0,0,0.1);
	-webkit-transition: background 0.3s;
	-moz-transition: background 0.3s;
	transition: background 0.3s;
}

.mp-back::before {
	position: absolute;
	right: 10px;
	font-size: 1.3em;
	color: rgba(0,0,0,0.3);
}

.mp-back.back-arrow {
	/* arrow only */
	background: transparent;
	background-image: url('//s3.amazonaws.com/arb_images/icons/ico_left_white_arrow.png');
	width: 23px;
	height: 15px;
}

.mp-menu .mp-level.mp-level-overlay > .mp-back,
.mp-menu .mp-level.mp-level-overlay > .mp-back::after {
	background: transparent;
	box-shadow: none;
	color: transparent;
}

/* Fallback example for browsers that don't support 3D transforms (and no JS fallback) */
/* We'll show the first level only */
.no-csstransforms3d .mp-pusher,
.no-js .mp-pusher {
	padding-left: 300px;
}

.no-csstransforms3d .mp-menu .mp-level,
.no-js .mp-menu .mp-level {
	display: none;
}

.no-csstransforms3d .mp-menu > .mp-level,
.no-js .mp-menu > .mp-level {
	display: block;
}



/* =========================================
   MEDIA QUERIES
   ========================================= */

@media (max-width: 850px) {
	#mainNav { font-size: 13px; }
	#mainNav > ul > li { padding: 0 5px; }
}  
@media (max-width: 768px) {
	#mainNav { font-size: 12px; }
	#mainNav > ul > li > a { padding: 7px 5px; }

}


@media (max-width: 661px) {


	#mainNav { padding-bottom: 5px; }
	#mainNav > ul > li > a { padding: 7px; }
	#mainNav { font-size: 11px; }
	#mainNav > ul li { padding: 0; }
	.menu-block {
		margin: 10px;
		min-height: 180px;
	}
	#mainNav > ul > li > ul.sub-menu { top: 33px; }
	#mainNav > ul > li > a:hover { border: #9A9DA2 solid 2px; }


	#mainNav > ul > li > a.selected {
		border: 2px solid #58595b;
	}

	.menu-panel h3 {
		font-size: 1.1em;
	}
	.menu-panel .menu-content {
		background-color: rgba(255,255,255,0.6);

	}
	.menu-panel ul.mini-menu > li {
		line-height: 1.1em;
	}
	.menu-panel ul.mini-menu > li > a {
		font-size: 11px;
	}
	#mainNav > ul > li > .sub-menu .menu-panel .description-block  {
		font-size: 1.3em;
	}

}



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

	#menuBTN {
    	display: block !important;
    	margin-left: 16px;
    	position: absolute;
    	top: 32px;
	}
	#menuBTN a {
    	display: block !important;		
	}

	#MainHeader #mainNav ul {
		display: none !important;
	}

	.mp-menu .mp-level {
		display: none;
		transition: all 150ms linear 0s;
	}

	.mp-level.mp-level-open { 
		display: block;
	}
}