.header-dropdown.bb_hl_menu_wrapper {
    margin-left: 0!important;
}
.header-dropdown.bb_hl_menu_wrapper.is-active {
    max-height: 500px;
}
.bb_hl_menu_wrapper li {
    width: calc(20% - 24px);
    margin-right: 30px;
}
.bb_hl_menu_wrapper li:last-child {
    margin-right: 0px;
}
.bb_hl_menu_wrapper li span,
.bb_hl_menu_wrapper li a {
    padding-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    display: block;
    font-weight: 100;
    font-variant-numeric: normal;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
.bb_hl_menu_wrapper li span.bb_hl_menu_title,
.bb_hl_menu_wrapper li a.bb_hl_menu_title {
    font-weight: 400;
    padding-bottom: 15px;
    font-size: 18px;
}
.header__menu .menu__submenu .submenu__list {
	padding-left: 0!important;
	padding-right: 0!important;
}
.bb_hl_menu_small {
    display: flex;
    flex-direction: column;
}
.bb_hl_menu_small {
    width: 250px;
}
.submenu .bb_hl_menu_small a,
.bb_hl_menu_small a {
	font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #54b8c0;
    text-transform: uppercase;
    font-weight: 400;
    padding: 4px 10px;
    min-height: 40px;
    height: auto;
}
.bb_hl_menu_small a.active { 
    font-weight: 600;
    padding-left: 20px;
}
.bb_hl_menu_small_item {
	position: relative;
}
.bb_hl_menu_small_item a {
	position: relative;
	z-index: 1;
}
.bb_hl_menu_small_item_sub_items a:last-child,
.bb_hl_menu_small_item:last-child a {
    border-bottom: none;
}
.bb_hl_menu_small_item:last-child {
    margin-bottom: -20px;
}

.bb_hl_menu_small_item_sub {
	display: block;
    position: absolute;
    left: 0;
    top:  0;
    background: #0096a3;
    min-width: 250px;
	opacity: 0;
	transition: all .3s;
	z-index: 0;
    border-radius: 4px;
}
	.bb_hl_menu_small_item_sub:after {
		content: '';
		display: block;
		width: 4px;
		height: 100%;
		background: none;
		position: absolute;
		left: -4px;
		top: 0;
		z-index: 1;
	}
	.bb_hl_menu_small_item_sub_items a {
		display: flex;
		gap: 12px;
		white-space: nowrap;
	}
	.bb_hl_menu_small_item_sub_items a:hover:before {
		left: 12px;
	}
	.submenu .bb_hl_menu_small .bb_hl_menu_small_item_sub_items a,
	.bb_hl_menu_small .bb_hl_menu_small_item_sub_items a.active,
	.bb_hl_menu_small_item_sub_items a {
		position: relative;
		/*padding-left: 30px;*/
	}
	.bb_hl_menu_small .bb_hl_menu_small_item_sub_items a.active:before {
		border-color: #ffffff;
	}
.menu__item-with_sub {
    position: relative;
    width: 100%;
}
.menu__item-open_sub_sub,
.menu__item-open_sub {
	display: none;
}
.menu__item:hover a + .menu__item-open_sub + .menu__submenu,
.menu__item:hover a + .menu__submenu {
    opacity: 1;
    pointer-events: all;
    overflow: visible;
}
.menu__item > a {
	white-space: nowrap;
}
.bb_hl_menu_small_item_has_sub:after {
	content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 255, 254, 0.75);
    border-right: 2px solid rgba(255, 255, 254, 0.75);
    transition: all .3s;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: rotate(45deg) translateY(-50%);
}
@media (min-width: 991.99px) {
	.bb_hl_menu_small_item:hover .bb_hl_menu_small_item_sub {
		left: 100%;
		margin-left: 4px;
		opacity: 1;
		z-index: 1;
	}
}
@media (max-width: 991.99px) {
	.bb_hl_menu_small_item_has_sub:after {
		display: none;
	}
	.header__search.search.is-search-wrapper {
		width: 80%;
	}
	form.search__form.is-active {
		width: 100%;
	}
	.header__menu.menu {
		width: 100%;
	}
	.header .menu__item a:hover,
	.menu__item:hover > a {
		color: #fff!important;
	}
	.header__menu .menu__list {
		align-items: flex-start;
		width: 80%;
		margin: 0 auto;
	}
	.menu__item-open_sub_sub,
	.menu__item-open_sub {
		display: block;
		width: 30px;
		height: 30px;
		position: absolute;
		right: 0;
		top: -5px;
		z-index: 1;
	}
	.menu__item-open_sub_sub:before,
	.menu__item-open_sub:before {
		content: '';
		display: block;
		width: 12px;
		height: 2px;
		background: #fff;
		position: absolute;
		right: 9px;
		top: 14px;
		z-index: 1;
	}
	.menu__item-open_sub_sub:after,
	.menu__item-open_sub:after {
		content: '';
		display: block;
		width: 2px;
		height: 12px;
		background: #fff;
		position: absolute;
		right: 14px;
		top: 9px;
		z-index: 1;
	}
	.bb_hl_menu_small_item.open .menu__item-open_sub_sub:after,
	.menu__item-with_sub.open .menu__item-open_sub:after {
		display: none;
	}
	.menu__item.menu__item-with_sub {
		position: relative;
		width: 100%;
	}
	.menu__item-with_sub.open .menu__submenu.submenu {
		display: block;
		position: relative;
		opacity: 1;
	}
	.menu__item-with_sub.open .menu__submenu.submenu .submenu__list {
		padding: 0!important;
	}
	.menu__item-with_sub.open a {
		border: 0;
		min-height: 30px;
	}
	.menu__item-with_sub.open .bb_hl_menu_small_item:last-child {
		margin-bottom: 0;
	}	
	.menu__item-with_sub.open .menu__submenu {
		pointer-events: initial;
	}	
	.bb_hl_menu_small {
		width: 100%;
	}
	.bb_hl_menu_small_item_sub {
		display: none;
	}
	.bb_hl_menu_small_item.open .bb_hl_menu_small_item_sub {
		display: block;
	}
	.submenu .bb_hl_menu_small .bb_hl_menu_small_item_sub_items a, 
	.bb_hl_menu_small .bb_hl_menu_small_item_sub_items a.active, 
	.bb_hl_menu_small_item_sub_items a {
		padding-left: 10px;
		white-space: normal;
	}
	.bb_hl_menu_small_item_sub {
		position: relative;
		left: 0;
		right: 0;
		top: 0;
		width: 100%;
		opacity: 1;
		padding: 6px 0 6px 20px;
	}
}
@media (max-width: 500px) {
	.header__search.search.is-search-wrapper {
		width: 100%;
	}
	.header__menu .menu__list {
		width: 100%;
        padding-right: 30px;
    }
	._open-menu .header__desktop.container {
        padding: 0!important;
    }
	.header__mobile.container {
        padding: 0!important;
    }
}