/* Menu */

.menu--desktop {
	display: block;
}

.menu--mobile {
	display: none;
}

.menu__item{
	transition: opacity .5s ease-in-out;
}

.mobile-menu-btn{
	/* 	border: 3px solid #44BCD2; */
}

ul.menu__wrapper.no-list{
	display:flex;
}

@media (max-width: 768px) {
	.menu--desktop {
		display: none;
	}

	.menu--mobile {
		display: block;
	}

	ul.no-list{
/* 		display:block */
	}
	ul.menu__wrapper.no-list{
		display:block;
	}

}

/* Menu items */

.menu__item {
	position: relative;
}


.menu__link {
	font-style: normal;
	text-decoration: none;
	position: relative;

}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
	text-decoration: none;
	font-weight: 400;

}



.menu__item--depth-2 > .menu__link:hover,
.menu__link:focus,
.menu__link:active {
	border-bottom: 2px solid #44bcd2;
}


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


@media (min-width: 768px) and (max-width: 1150px) {
	.menu__link {
		font-size: 0.833rem;
	}
}

@media (max-width: 768px) {
	.menu__item {
		display: block;
		width: 100%;
	}

	.menu__link {
		display: block;
		font-size: 1.083rem;
	}

	.menu__item--depth-1{
		/* 	border-top: 2px solid #3F69B8 !important; */
	}
}

/* Menu items - top level */

.menu__item--depth-1 {
	display: inline-block;
	padding: 0.7rem 0.875rem;
	
}

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

@media (max-width: 768px) {
	.menu__item--depth-1 {
		border-top: 2px solid #CED4DB;
		padding: 0;
	}

	.menu__item--depth-1 > .menu__link {
		padding: 18px 26px;
	}

	.menu__item--depth-1 > .menu__link--active-link:after {
		content: none;
	}
}

/* Menu items - submenus */

.menu__submenu {
	border-radius: 3px;
	display: none;
	left: 0;
	position: absolute;
	text-align: left;
	text-transform: none;
	top: 100%;
	width: 270px;
	z-index: 99;
}

.menu__item--open > .menu__submenu {
	display: block !important;
}

.menu__submenu--level-2 {
	transform: unset;
}

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

.menu__item--depth-1:first-child .menu__submenu--level-2 {
	transform: unset;
}

.menu__submenu .menu__item {
	border-bottom: 2px solid  #3F69B8;;
	padding: 0;
	width: 100%;
}

.menu__submenu .menu__item:hover {
	border-bottom: none;
}

.menu__submenu .menu__item:active {
	border-bottom: 2px solid #44bcd2;
}

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

.menu__submenu--level-3 {
	left: 100%;
	top: 0;
}

/* 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;
}

/* Creates the triangle at the top of the submenu drop down */

@media (min-width: 768px) {
	/*   .menu__submenu--level-2 > .menu__item:first-child:before {
	border-radius: 6px;
	box-shadow: 0 2px 9px 0 rgb(0 0 0 / 20%);
	content: '';
	display: block;
	height: 30px;
	left: 125px;
	margin-left: 1rem;
	overflow: hidden;
	position: absolute;
	top: -12px;
	transform: rotate(45deg);
	transition: background-color .3s;
	width: 30px;
	z-index: 2;
} */

	/* Keeps triangle to the left for the first menu item's drop down menu */

	/*   .menu__item--depth-1:first-child > .menu__submenu--level-2 > .menu__item:first-child:before {
	left: 0;
}

	.menu__submenu--level-2 > .menu__item:first-child > .menu__link {
	position: relative;
	z-index: 2;
} */

	.menu__child-toggle-icon{
		display:none !important;
	}
}

@media (max-width: 768px) {
	.menu__submenu {
		border: none;
		border-radius: 0;
		box-shadow: none;
		position: static;
		transform: unset;
		width: 100%;
	}

	.menu__submenu .menu__item {
		background-color: #D6DEE5;
		border-bottom: none;
		border-top: 2px solid #D6DEE5;
		padding: 0;

	}

	.menu__submenu .menu__link {
		display: block;
		padding: 0.7rem 2rem;
		transition: none;
		width: 100%;
	}

	.menu__submenu .menu__item .menu__link:hover,
	.menu__submenu .menu__item .menu__link:focus {
		background-color: inherit;
		transition: none;
	}

	.menu__item--has-submenu > .menu__link {
		width: 70%;
	}

	.menu__submenu--level-3 .menu__item .menu__link {
		padding: 0.7rem 3rem;
	}
}

/* Menu icons */

@media(min-width: 769px) {
	.menu__submenu .menu__child-toggle {
		margin-left: auto;
		padding: 0 1.05rem;
	}

	.menu__child-toggle {
		position: absolute;
		right: 5px;
		top: 30px;
		z-index: 2;
	}

	.menu__item--depth-1 > .menu__child-toggle {
		position: static;
		right: 0;
		top: 0;
		vertical-align: middle;
	}

	.menu__child-toggle-icon {
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top-style: solid;
		border-top-width: 7px;
		display: block;
		height: 0;
		margin-left: 1px;
		width: 0;
	}
}

@media (max-width: 768px) {
	.menu__child-toggle {
		background-position: center right 30px;
		background-repeat: no-repeat;
		background-size: 20px;
		border: none;
		cursor: pointer;
		height: 55px;
		padding: 15px 0;
		position: absolute;
		right: 0;
		top: 0;
		width: 30%;

	}

	.menu__child-toggle-icon {
		background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='17' height='11' viewBox='0 0 17 11' fill='none'%3e%3cpath d='M1.68945 3.91504L8.07227 9.85352L8.38281 10.1426L8.69434 9.85352L15.0928 3.91504L15.4385 3.59473L15.1074 3.25977L13.5439 1.67871L13.2324 1.36426L12.9082 1.66602L8.38379 5.87695L3.875 1.66602L3.5498 1.36328L3.23828 1.67871L1.67578 3.25977L1.34473 3.59375L1.68945 3.91504Z' fill='%23ffdd33' stroke='%23ffdd33' stroke-width='0.913043'/%3e%3c/svg%3e");
		background-repeat: no-repeat;
		display: block;
		height: 20px;
		margin-left: auto;
		margin-right: 1.05rem;
		transition: transform 0.4s;
		width: 20px;
		margin-top:12px;
	}

	.menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
		background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='17' height='11' viewBox='0 0 17 11' fill='none'%3e%3cpath d='M1.68945 3.91504L8.07227 9.85352L8.38281 10.1426L8.69434 9.85352L15.0928 3.91504L15.4385 3.59473L15.1074 3.25977L13.5439 1.67871L13.2324 1.36426L12.9082 1.66602L8.38379 5.87695L3.875 1.66602L3.5498 1.36328L3.23828 1.67871L1.67578 3.25977L1.34473 3.59375L1.68945 3.91504Z' fill='%23ffdd33' stroke='%23ffdd33' stroke-width='0.913043'/%3e%3c/svg%3e");
		background-repeat: no-repeat;
		display: block;
		height: 20px;
		margin-left: auto;
		margin-right: 1.05rem;
		transition: transform 0.4s;
		width: 20px;
	}

	.mobile-search{
		display: flex;
		flex-direction: row;
		gap: 15px;
		justify-content: flex-end;
		align-items:center;
		padding: 10px 20px;
	}
	.mobile-search-input{
		flex-grow:1;
	}

	.mobile-btn-wrapper{
		position: relative;
		padding: 20px 30px;
	}
	.mobile-menu-btn{
		width: 100%;

	}

	.menu__item .menu__item--depth-2  >  a.menu__link{
		background-color:#D6DEE5 !important;
		font-size: 15px !important;
		font-style: normal !important;
		font-weight: 400 !important;
		line-height: normal;
		padding: 17px 26px;
		border-top: 1px solid #BCC9D4;
	}

	.menu__item .menu__item--depth-2 .menu__child-toggle{
		background: #2653A7;
	} 


	.menu__item .menu__item--depth-3  >  a.menu__link{
		background-color:opacity: 0.6;
		background: #3560B1;
		color: #FFF;
		font-size: 15px !important;
		font-style: normal !important;
		font-weight: 700 !important;
		line-height: normal;
		padding: 17px 26px;
	}

	.mega-menu-primary{
		display: none
	}
}
.mobile-search-form-submit {
	background: none;
	border: none;
	padding: 0;
}
.mobile-search-form-submit:focus {
	border: none; 
}



/* Mega Menu Styles */
.mega-menu-primary ul{
	margin-bottom: 0;
}

.mega-menu-primary li{
	list-style: none;

}

.cta-li{
	padding: 5px 0 0 20px;
}

.mega-menu-wrapper{
	background: transparent;
	width:100%;
}



.mega-menu-wrapper h5{
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 700 !important;
	line-height: normal;
	margin-bottom:14px;
	color: #fff;
}

.mega-col{
	padding: 44px 0;
	display: flex;
	flex-direction:column;
	border-left: 1px solid rgba(255, 255, 255, 0.1) ;
	padding-left:40px;
}

.mega-col:first-child{
	border-left:none;
}

.mega-col ul{
	display:flex;
	flex-direction: column;
}

.mega-row{
	justify-content: space-between;
}

.mega-link {
	list-style:none;
	padding:10px 20px 40px;
}

.mega-menu-primary li:last-child{
	padding-right:0;
}

.mega-link a:hover{
	/* 	color: */
}

.mega-col .hs-menu-depth-1 .hs-menu-item li{
	margin-bottom:14px !important;
}

#hs_menu_wrapper_navigation_ > ul > li{
	margin-bottom: 14px;
}

.mega-col .hs-menu-item a{
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 400 !important;
	line-height: normal;

}

.mega-label{
	color: #fff
}

.mega-col .hs-menu-item a:hover{
	text-decoration-line: none;
	border-bottom: none;
}

.mega-col .hs-menu-item .hs-menu-depth-1{
	margin-bottom:14px;
}

.mega-menu-wrapper{
	display: none;
}

.mega-menu-wrapper.active{
	display:block;
	position:absolute;
	width: 100%;
	height:auto;
	left:0;
	top:145px;
	padding-top: 2px;
	z-index:10;
}





