ul {
	padding: 0;
}
li {
	display: block;
        margin: 0px 2px;
}
a {
	/*color: inherit;*/
	text-decoration: none;
}
button {
	border: none;
	background: none;
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	-webkit-font-smoothing: inherit;
}

/* utility */
.bold {
	font-weight: 600;
}

/* icons */
.icon {
	display: inline-block;
	vertical-align: middle;
	fill: currentColor
}
.icon--dropdown {
	margin-top: -2px;
	fill: white;
        display: none;
        float: right;
}

/* nav component */

/* 
	$nav-dropdown-max-height should be taller than maximum dropdown height so that dropdowns aren't cut off. 
	It should also be taller than screen height on browsers (e.g. firefox, IE<10) where horizontal scroll bar can't be hidden
	65em = 910px, plenty high for 1080p screens
*/ 

.nav {
	width: auto;
	height: 60px;
	line-height: 2.5em;
	/*background-color: #f5f5f5;
	border-bottom: 1px solid #e0e0e0;*/
	overflow: hidden;
	-ms-overflow-style: none; 

	/* 
		height maintained by placeholder. 
		this makes it easy to eventually make this menu position:fixed (if we ever want to do that)
	*/
	position: absolute;
	z-index: 1;
	display: inline-block;
	max-width: 98%;

} 
.nav:hover .nav__outer-wrap, .nav:hover .nav__inner-wrap, .header_main:hover  .nav__inner-wrap{overflow-x: hidden;overflow-y: hidden;}

/* hide horizontal scrollbar */ 

.nav ::-webkit-scrollbar { width: 0; }
/* 
	allow dropdown menus to be displayed below bar 
	by allowing their tall (height: $nav-dropdown-max-height) containers to be visible 
*/
.nav--hovered, .nav--focused {
	overflow: visible;
	width: 98%;
}

.nav__placeholder {
	height: 2.5em;
}

.nav__outer-wrap {
	display: flex;
	justify-content: space-between;
	/*height: 1000px;*/
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: auto;
	overflow-y: hidden;
	z-index: -1;
}


/* Level 1 (header)
   ========================================================================== */
.nav__heading {
	display: inline-block;
	flex-shrink: 0;
	flex-grow: 1;
	height: 2.5em;

	/* Hack: this compensates for the margin-left on the nav__item:first-child */
	margin-right: -10em;
	z-index: 2 /* so leftmost nav__item doesn't cover it */
	
}
.nav__heading-caret {
	color: #666;
	font-size: 16px;
	margin: 0 -.5em;
}

.nav__inner-wrap {
	white-space: nowrap;
	height:76em;
	display: flex;
	z-index: -1;
}

.nav__item {
	height: auto;
	flex-shrink: 0; /* for iOS */
	/*background: #359B9B;border-radius: 8px; 
	margin-left: 5px;*/
	/* box-shadow: 2px 2px 2px 2px #8c9abf1a; */
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	outline: none;
        margin: 5px 2px;
        /*background-image: linear-gradient(to right,rgba(43,111,160,0.5), rgba(62,104,162,0.8), rgba(87,93,145,0.8), rgba(102,86,174,0.8), rgba(119,75,170,0.8)) !important;*/
}

/* Hack: ensure the first menu item has a little margin-left so it's not narrower 
			 than it's dropdown menu if it's the only menu item. This is compensated 
			 for by the nav__heading's margin-right */

/*.nav__item:first-child {
		margin-left: 6em;
	}*/

/* so that items w/ children contain their dropdown menus */
.nav__item.nav__menu-item--has-children {
	position: relative;
}

/* space on right edge of .nav__inner-wrap below .nav__scroll--right */
.nav__item--right-spacer {
	display: none;
	padding: 0 calc(2em / 2);
	background-color: transparent !important;
}
.nav--scrollable .nav__item--right-spacer {
	display: block;
}

.nav__link {
	display: block;
	padding: 10px 16px !important;
	cursor: pointer; /* needed for all menu items, even dropdown, so iOS devices can hover over them */
	vertical-align: top; /* really only needed for children of .nav__heading so they line up with other links */
}

.nav__link--has-dropdown {
	position: relative;
}

.nav__scroll {
	position: absolute;
	top: 0;
	z-index: inherit;
	padding: 0 0 .15em;
	width: calc(2em / 2);
	background-color: #eeeeee;
	font-family: Gill Sans, Futura, sans-serif;
	font-size: 200%;
	line-height: 0;
	height: calc( 2.5em / 2 ); /* b/c font-size is doubled */
	cursor: pointer;
	opacity: 0;
	transition: opacity .3s;
	outline: none;
}

.nav__scroll:focus {
		opacity: 1;
	}
.nav__scroll--left {
	left: 20px !important;
	background: rgba(214, 218, 223, 0.5);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: #000;
	z-index: 1;
}
.nav__scroll--right {
	right: 20px;
	background: rgba(214, 218, 223, 0.5);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: #000;
	z-index: 1;
}
.nav__scroll--right:hover, .nav__scroll--left:hover{background-image: linear-gradient(to bottom, #289ba0, #0c9d97, #009e8b, #0b9e7c, #2c6fa0);color: #fff;}
.nav__scroll--visible {
	opacity: .9;
	transition: opacity .3s;
}

	.nav__dropdown::before {

    position: absolute;
    top: -7px;
    left: 9px;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
        border-bottom-color: rgb(204, 204, 204);
    border-left: 7px solid transparent;
    border-bottom-color: #fff;
    content: '';

}

.nav__link--toplevel {
	/* prevent text color from changing AFTER background color change on top-level links (not dropdowns) */
	transition: none;
}

/* Levels 2 & 3 (header)
   ========================================================================== */
/* menu item hovered/focused */
.nav__item:hover, .nav__item--has-focus, .nav__item.active {
      /*background-image: linear-gradient(to right, #289ba0, #0c9d97, #009e8b, #0b9e7c, #2c6fa0);*/
        background: #1D4D71 !important;
		color: #fff !important;
	/*border-bottom-color: rgb(139, 117, 166);*/
/*        border-top-left-radius: 20px;
border-bottom-left-radius: 20px;*/
border-radius: 20px;

}
.nav__item:hover .icon--dropdown, .nav__item--has-focus .icon--dropdown, .nav__item.active .icon--dropdown{
	fill: #000 !important;
        float: right;
       
}
/* 
		tiny pseudolement to cover bottom edge of adjacent menu items to prevent accidental hover
		as mouse moves diagonally down from menu item to dropdown
	 */
.nav__item:hover .nav__link--has-dropdown:before, .nav__item--has-focus .nav__link--has-dropdown:before {
		content: "";
		display: block;
		position: absolute;
		bottom: 0;
		width: calc(100% + 3em);
		left: -1.5em;
		height: 1.2em;
		/*background-color: red;*/
	}
/* ensure tiny pseudoelement only shows up on left side (not right side) of final menu item */
.nav__item:hover .nav__link--has-dropdown:nth-last-child(2):before, .nav__item--has-focus .nav__link--has-dropdown:nth-last-child(2):before {
		width: calc(100% + 1.5em);
	}
.nav__item:hover .nav__dropdown, .nav__item--has-focus .nav__dropdown {
		display: block;
		padding: 10px 0;
border-radius: 8px;
min-width: 190px;
	}
.nav__item:hover .icon--dropdown, .nav__item--has-focus .icon--dropdown {
		fill: white;
	}
.nav__item:hover .nav__menu-item, .nav__item--has-focus .nav__menu-item {
		padding: 0;
		/*margin-left: 1em;*/
		color: #364760;
	}
.nav__item:hover .nav__menu-item > a, .nav__item--has-focus .nav__menu-item > a {
			display: inline-block;
		}
.nav__item:hover .nav__menu-item:hover, .nav__item:hover .nav__menu-item:focus, .nav__item--has-focus .nav__menu-item:hover, .nav__item--has-focus .nav__menu-item:focus {
				/*background-color: rgb(106, 70, 138);
				background-image: linear-gradient(to right, #289ba0, #0c9d97, #009e8b, #0b9e7c, #2c6fa0);*/
/*                                background: #199c9b;
				padding: 0px 10px;*/
			}
.nav__item:hover .nav__menu-item:active, .nav__item--has-focus .nav__menu-item:active {
				/*background-color: rgb(73, 23, 110);
				background-image: linear-gradient(to right, #289ba0, #0c9d97, #009e8b, #0b9e7c, #2c6fa0);*/
                               
			}
.nav__item:hover .nav__menu-item > a, .nav__item--has-focus .nav__menu-item > a{color: #000;}
.nav__item--repeated {
	margin-left: 0 !important;
}

.nav__dropdown {
	display: none;
	/* position: absolute; */
	z-index: 2;
	/* left: 100%; */
	/* padding: 1em; */
	/* 
	background-color: #005353; */
	left: 0%;
	width:100%;
        /* background: linear-gradient(90deg, rgba(41,121,125,1) 0%, rgba(12,157,151,1) 52%, rgba(39,131,92,1) 100%);  */
        box-shadow: 1px 1px 4px rgba(150,150,150,.7);
	top:50px;
	/*max-height: 400px;
	overflow-y: auto;
	overflow-x: hidden;*/
}
.nav__item:hover .nav__dropdown li, .nav__item--has-focus .nav__dropdown li{color: #000;padding: 0px 10px;}
.nav__item--right-aligned-dropdown .nav__dropdown {
		left: auto;
		right: 0;
		top: 2.5em;
	}
.nav--scrollable .nav__item--right-aligned-dropdown .nav__dropdown {
	right: 0;
	top:50px;
}

/*Small Phones*/
@media only screen and (max-width: 479px) {

	/* entire site nav bar is scrollable */
	.nav__outer-wrap {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
}

/*Large Phones on up*/
@media only screen and (min-width: 480px) {

	/* nav is scrollable EXCEPT for heading (first item) */
	.nav__inner-wrap {
		overflow-x: hidden;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
                width: 100%;
	}
	.nav__heading {
		background-color: #e0e0e0;
	}
}

@media screen and (min-width: 1024px) {
	.nav__outer-wrap {
		 position: relative;  /*to contain nav__dropdown  */
		 padding-right: 0;
	}
	.nav__heading {
		background-color: transparent;
	}
	.nav__link {
		padding: 0 1em;
	}
	/* remove link to see full menu (in footer) and the spacing for it */
	.nav__scroll {
		/*display: none;*/
	}
}
