.departments-menu {

	> .nav-item {
		width: 24%;
		margin-#{$end}: 15px;

		.nav-link {
			padding-#{$start}: 1.5em;
		}
	}

	.menu-item-has-children > .dropdown-menu,
	.departments-menu-dropdown {
		width: 100%;
		border-width: 2px;
		border-radius: 0.625rem;
		padding: 0.857em 0;

		>li {
			padding: 0 0.929em;
		}

		&:hover {
			border-bottom-#{$end}-radius: 0;
		}
	}

	.menu-item-has-children > .dropdown-menu {
		padding: 0;
	}

	.departments-menu-dropdown {
		top: 107%;
		border-top-width: 0;
		border-top-#{$start}-radius: 0;
		border-top-#{$end}-radius: 0;
		z-index: 2000;
	}

	.dropdown-menu {
		> .menu-item {
			position: static;

			> a {
				@include dropdown-item();
				color: $color-body;
				padding: dir-values(9px 0 9px 8px);
				white-space: normal;

				.fa {
					font-size: 1.071em;
					padding-#{$end}: 1em;
				}

				.ec {
					font-size: 1.286em;
					padding-#{$end}: 0.667em;
				}

				i {width: 30px;}
			}

			&.highlight {
				> a {
				// > a:hover i {
					font-weight: bold;
				}
			}

			& + .menu-item {
				> a {
					border-top: 1px solid #ddd;
				}
			}
		}
	}

	.menu-item-has-children {
		> .dropdown-menu{
			top: -4px;
			border-radius: 0;

			.menu-item-object-static_block {
				position: relative;
			}

			> li.menu-item:not(.menu-item-object-static_block){
				width: 277px;

				&:first-child {
					margin-top: 1.143em;
				}

				.dropdown-menu {
					left: 98%;
				}
			}
		}
	}
}

.page-template-template-homepage-v2 .departments-menu > .dropdown.open > .dropdown-menu,
.page-template-template-homepage-v2 .departments-menu > .dropdown > .dropdown-menu {
	display: block;
}
