

/* Menu */


.menu__sub a {
	color: #393938;
	text-decoration: none;
}



/* Menu Search */

.menu__search {
	width: 36px;
	height: 36px;
	background: #CC8A00;
	border-radius: 50%;
	padding: 11px;
	margin-left: 15px;
	margin-right: 25px;
}

.menu__search svg {
	fill: #2a2a29;
	position: relative;
	top: -3px;
}

/* Menu items */

.menu__link {
  font-size: 17px !important;
  line-height: 1.667rem;
  text-decoration: none;
	color: #2a2a29;
	display: flex;
  align-items: center;
	font-weight: 600;
	transition-duration: 0s !important;
	position: relative;
}

.menu__item--depth-2 > .menu__link.menu__link--toggle::after {
  content: "+";
  color: #393938;
  font-size: 30px;
  position: absolute;
  top: 50%;
	right: 35px;
  transform: translateY(-56%);
}

.menu__item--depth-1 > .menu__link {
	text-transform: uppercase;
}

.menu__item--depth-1 > .menu__link,
.menu__item--depth-2 > .menu__link {
	font-size: clamp(1.000rem, 0.573rem + 0.690vw, 1.125rem) !important;
}

.menu__item--depth-2 > .menu__link {
  padding: 12px 25px 12px 40px !important;
}

.menu__item--depth-2 > .menu__link span {
	padding: 0px !important;
	margin-left: clamp(0.000rem, -41.480rem + 50.279vw, 45rem);
}

.menu__item--depth-2 > .menu__link.menu__link--toggle span {
	padding: 0 35px 0 0 !important;
}

.menu__item--depth-3 > .menu__link {
	padding: 12px 45px !important;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
  text-decoration: none;
}

.menu__link--active-link,
.menu__link--active-branch {
  font-weight: bold;
}

/* Menu items - top level */

.menu__item--depth-1 {
  display: inline-block;
  text-transform: uppercase;
}

.menu__item--depth-1 > .menu__link--active-link:after {
  bottom: -3px;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

/* Menu items - submenus */



.menu__submenu {
	position: relative;
	left: 0;
  display: none;
  text-align: left;
  text-transform: none;
  z-index: 99;

}

.menu__item--open > .menu__submenu,
.menu__item--open > .menu__submenu--wrapper >  .menu__submenu {
  display: block;
}

/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */


.menu__submenu .menu__item {
  padding: 0;
  width: 100%;
}

.menu__submenu .menu__link {
  display: block;
  padding: 0.7rem 1.05rem;
  transition: background-color 0.3s;
  width: 100%;
}


/* Flyouts for the last two top level menu items go left to keep page responsive */

.menu__item--depth-1:nth-last-child(-n+2) .menu__submenu--level-3 {
  left: auto;
  right: 100%;
  top: 0;
}

/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu > .menu__link {
  padding-right: 3rem;
}


/* ================ */

.menu {
	display: flex;
	flex-direction: column;
}

@media (min-width: 990px) {
	.mobile__wrapper {
		display: none !important;
	}
	
	.menu {
		align-items: flex-end;
		padding-top: 10px;
		height: 100%;
	}
	
	.menu__main {
		order: 2;
		display: flex;
		align-items: flex-end;
		margin-top: auto;
	}
	
	.menu__sub {
		order: 1;
		padding-bottom: 35px;
	}
	
	.menu__sub a {
		margin-left: 30px;
		display: flex !important;
		align-items: center;
	}
	
	.menu__submenu--wrapper {
		position: absolute;
		z-index: 99;
		top: 100%;
		left: 0;
		background: rgba(147,40,44,0.8);
		width: 100%;
		display: none;
	}

	.menu__submenu--wrapper::after {
		content: url("https://educate.bastyr.edu/hubfs/Bastyr%20Brand%20Guide%20Content/Logos/bu_informal_seal.svg");
		position: absolute;
		right: 20px;
		bottom: 20px;
	}
	
	.menu__sub .hs-menu-depth-1.hs-item-has-children > a::after {
		content: '';
		height: auto;
		border: solid #2a2a29;
		border-width: 0 0.0625rem 0.0625rem 0;
		display: inline-block;
		padding: 0.1175rem;
		margin-top: -0.125rem;
		margin-left: 0.4375rem;
		transform: rotate(45deg);
	}
	
	.menu__item--depth-1 {
		padding: 0.7rem 0.5rem 0 0.5rem;
	}
	
	.menu__item--depth-2 > .menu__link {
		text-transform: uppercase;
	}

	.menu__item--depth-1 > .menu__link::after {
		content: '';
		height: auto;
		border: solid #2a2a29;
		border-width: 0 0.0625rem 0.0625rem 0;
		display: inline-block;
		padding: 0.1875rem;
		margin-top: -0.125rem;
		margin-left: 0.4375rem;
		transform: rotate(45deg);
	}
		
	.menu__submenu--level-2 {
		background: #F4F4F4;
		width: fit-content;
		min-width: 40%;
		height: 100%;
		padding: 15px 0;
	}
	
	.menu__sub .hs-menu-depth-2 > a {
		padding: 15px 25px;
		margin: 0;
	}
	
	.menu__sub .hs-menu-depth-1.hs-item-has-children.menu__item--open > a,
	.menu__sub .hs-menu-depth-1 > a:hover,
	.menu__sub .hs-menu-depth-1 > a:focus {
		color: #93282c;
		border-color: #93282c;
	}

	.menu__sub .hs-menu-depth-1.hs-item-has-children.menu__item--open > a:after,
	.menu__sub .hs-menu-depth-1 > a:hover::after,
	.menu__sub .hs-menu-depth-1 > a:focus::after {
		border-color: #93282c;
	}

	.menu__sub .hs-menu-depth-1 > .hs-menu-children-wrapper {
		background: #F4F4F4;
		z-index: 9999;
	}
	
	.menu__item--depth-2 > .menu__link:hover,
	.menu__item--depth-2 > .menu__link:focus,
	.menu__item--open.menu__item--depth-2 > .menu__link,
	.menu__item--depth-2 > .menu__link.menu__link--toggle:hover::after,
	.menu__item--depth-2 > .menu__link.menu__link--toggle:focus::after,
	.menu__item--open.menu__item--depth-2 > .menu__link.menu__link--toggle::after {
		background-color: #93282C;
		color: white !important;
	}

	.menu__item--depth-3 > .menu__link:hover,
	.menu__item--depth-3 > .menu__link:focus {
		background-color: #6D0206;
	}

	.menu__item--open.menu__item--depth-1 > .menu__link,
	.menu__item--depth-1 > .menu__link:hover,
	.menu__item--depth-1 > .menu__link:focus {
		color: #93282c;
		border-color: #93282c;
	}

	.menu__item--open.menu__item--depth-1 > .menu__link:after,
	.menu__item--depth-1 > .menu__link:hover::after,
	.menu__item--depth-1 > .menu__link:focus::after {
		border-color: #93282c;
	}
	
	.menu__item--open.menu__item--depth-2 > .menu__link.menu__link--toggle span {
		position: relative;
		left: 15px;
	}
	
	.menu__item--open.menu__item--depth-2 > .menu__link.menu__link--toggle::after {
		content: "×";
		right: 20px;
	}

	.menu__sub .hs-menu-depth-2 > a:hover,
	.menu__sub .hs-menu-depth-2 > a:focus {
		background: #93282C;
		color: white;
	}
	
	.menu__submenu--level-3 {
		background: #93282C;
		position: absolute;
		left: 100%;
		top: 0;
		width: max-content;
		min-width: 70%;
		padding: 15px 0;
	}

	.menu__submenu--level-3 a {
		color: white;
	}
}

@media (max-width: 989px) {
	.mobile__wrapper {
		display: flex;
		align-items: center;
		height: 100%;
	}
	
	.mobile__search {
		width: 36px;
		height: 36px;
		background: #CC8A00;
		border-radius: 50%;
		padding: 11px;
		margin-left: 15px;
		margin-right: 15px;
	}

	.mobile__search svg {
		fill: #2a2a29;
		position: relative;
	}
	
	.mobile__toggle {
		background: #93282C;
		color: white;
		border: none;
		outline: none;
		height: 100%;
		padding: 4px clamp(16px, 1.25vw, 20px);
		font-weight: 700;
    border-radius: 0px;
    color: #fff;
    font-size: 16px;
    font-family: Lato;
    text-transform: uppercase;
    white-space: nowrap;
	}
	
	.mobile__toggle svg {
		fill: white;
		width: 18px;
		height: auto;
	}
	
	.mobile__toggle .close {
		display: none;
	}
	
	.menu {
		display: none;
		position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
		background: white;
		width: 100%;
		overflow-y: auto;
		height: calc(100vh - 100%);
	}
	
/* 	.menu__main .menu__wrapper li:nth-child(1) .menu__submenu--wrapper,
	.menu__main .menu__wrapper li:nth-child(1) .menu__submenu {
		display: block !important;
	}  */
	
	.menu__main .menu__wrapper {
		display: flex;
		flex-direction: column;
    border-bottom: 0.0625rem solid #c9c9c7;
	}
	
	.menu__item--depth-1 {
		display: grid;
		grid-template-areas:
			'plus main'
			'blank sub';
		grid-template-columns: fit-content(125px) 1fr;
	}
	
	.menu__item--depth-1.menu__item--open {
		background: #93282C;
	}
	
	.menu__item--depth-1.menu__item--open .menu__link {
	  color: white !important;
	}
	
	.menu__item--depth-1::before {
		content: "+";
		grid-area: plus;
		display: flex;
    justify-content: center;
		align-items: center;
		color: #393938;
		font-size: 30px;
		padding: 0 18px;
		position: relative;
		top: -2px;
	}
	
	.menu__item--open.menu__item--depth-1::before {
		content: "×";
		color: white;
	}
	
	.menu__item--depth-1 > .menu__link {
		grid-area: main;
		font-size: 24px !important;
		border-left: 0.0625rem solid #c9c9c7 !important;
	}
	
	.menu__submenu--wrapper {
    grid-area: sub;
		border-left: 0.0625rem solid #c9c9c7;
	}
	
	.menu__item--depth-1 > .menu__link > span {
	  padding: 25px 20px;
		width: 100%;
	}
	
	.menu__item--depth-2 > .menu__link {
		padding-left: 20px !important;
		font-size: 17px !important;
		font-weight: 700;
	}
	
	.menu__item--depth-2 > .menu__link.menu__link--toggle::after {
	  color: white;
	}
	
	.menu__item--open.menu__item--depth-2 > .menu__link.menu__link--toggle::after {
		content: "×";
	}
	
	.menu__item--open.menu__item--depth-2 .menu__link {
		background: #6D0206;
		color: white;
	}
	
	.menu__item--depth-3 > .menu__link {
		padding: 10px 35px !important;
		border-top: 0.0625rem solid #93282C;
	}
	
	.menu__global--cta {
		padding: 20px 30px;
		border-bottom: 0.0625rem solid #c9c9c7;
	}
	
	.menu__global--cta .cta_button {
		text-align: center;
		font-size: 24px;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	
	.menu__search {
		display: none;
	}
	
	.menu__sub {
		background: #F4F4F4;
		padding: 35px 16px;
		position: relative;
	}
	
	.menu__sub::after {
		content: url("https://educate.bastyr.edu/hubfs/Bastyr%20Brand%20Guide%20Content/Logos/bu_informal_seal.svg");
		position: absolute;
		right: 0px;
		bottom: 0px;
	}
	
	.menu__sub a {
    font-size: 18px;
		font-weight: 600;
		display: block;
		margin-bottom: 10px;
	}
	
	.menu__sub .hs-item-has-children > a {
		text-transform: uppercase;
    font-weight: 400;
		margin-bottom: 15px;
	}
	
	.menu__sub .hs-menu-children-wrapper {
		margin-bottom: 35px;
	}
	
	.menu__sub .hs-menu-item.hs-menu-depth-1:nth-child(2) a {
		margin-bottom: 20px;
	}
	
	.menu__sub .hs-menu-item.hs-menu-depth-1:nth-child(3) a {
		margin-bottom: 0;
	}
	
	.menu__sub .hs-menu-depth-1 > .hs-menu-children-wrapper {
		display: block !important;
	}
}