
#primary-menu-wrapper .menu-primary-container {
	min-height: 22px;
	padding: .9em 0 .7em 0;
	background: rgba(0, 0, 0, .5);
}

#primary-menu-wrapper .menu, #primary-menu-wrapper .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	z-index: 950;
}

#primary-menu-wrapper .menu a {
	display: block;
	text-decoration: none;
	font-weight: 700;
	font-size: .8em;
	-webkit-tap-highlight-color: transparent;
}

#primary-menu-wrapper .menu a:focus {
	outline: none !important;
}

#primary-menu-wrapper .menu li {
	float: left;
	position: relative;
	margin-bottom: 0;
	cursor: pointer;
}

#primary-menu-wrapper .menu li ul {
	position: absolute;
	background: #27d693;
	width: 200px;
	left: -999em;
	opacity: 0;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
}

#primary-menu-wrapper .menu>li.kbFocus>ul {
	left: auto;
	opacity: 1;
}

#primary-menu-wrapper .menu>li:hover>ul {
	left: auto;
	opacity: 1;
}

#primary-menu-wrapper .menu>li {
	background: url("https://cdn-ildimhj.nitrocdn.com/IannDgjZiUQXQydbeXxTSkwTpckRUGfK/assets/images/optimized/rev-dbe5d53/madcompany.com/wp-content/themes/madcompany/images/nav-line.png") left top no-repeat;
}

#primary-menu-wrapper .menu>li.nitro-lazy {
	background: none !important;
}

#primary-menu-wrapper .menu>li:first-child {
	background: none;
}

#primary-menu-wrapper .menu>li>a {
	text-align: center;
	line-height: 1.2em;
	height: 29px;
	overflow: hidden;
	color: #fff;
	text-transform: uppercase;
	padding: 0 .88em;
	-webkit-transition: color .3s, background-color .3s;
	transition: color .3s, background-color .3s;
}

@media screen and (max-width: 1099px) {
	#primary-menu-wrapper .menu>li>a {
		padding: 0 .66em;
	}
}

@media screen and (max-width: 1023px) {
	#primary-menu-wrapper .menu>li>a {
		padding: 0 .55em;
	}
}

#primary-menu-wrapper .menu>li:first-child {
	padding-left: 0;
}

#primary-menu-wrapper .menu>li:last-child {
	padding-right: 0;
}

#primary-menu-wrapper .menu a:focus {
	color: #ccc;
}

#primary-menu-wrapper .menu li a.selected {
	color: #ccc;
}

#primary-menu-wrapper .menu li ul li {
	width: 200px;
}

#primary-menu-wrapper .menu>li>ul>li:hover ul, #primary-menu-wrapper .menu>li>ul>li.kbFocus ul {
	left: 200px;
	top: 0;
	opacity: 1;
}

#primary-menu-wrapper .menu li ul li ul {
	border-left: 1px solid #bbb;
}

#primary-menu-wrapper .menu li ul li a {
	color: #222;
	line-height: 1.4em;
	padding-left: 18px;
	font-size: 16px;
	padding: 5px 15px;
	-webkit-transition: background-color .2s, color .2s;
	transition: background-color .2s, color .2s;
}

@media screen and (min-width: 980px) {
	#primary-menu-wrapper .menu li ul li:nth-child(2) a {
		padding-top: 10px;
	}
}

@media screen and (min-width: 980px) {
	#primary-menu-wrapper .menu li ul li:last-child a {
		padding-bottom: 10px;
	}
}

#primary-menu-wrapper .menu li ul li a:hover, #primary-menu-wrapper .menu li ul li a:focus {
	color: #fff;
}

#primary-menu-wrapper .menu li ul li ul li a {
	background-color: #ddd;
}

#primary-menu-wrapper .menu .sub-menu .menu-item-has-children>a:first-child {
	background-repeat: no-repeat;
	background-position: calc(100% - 4px) center;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'0 0 24 24\'><path d=\'M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z\' fill=\'%23000\' /></svg>");
}

#primary-menu-wrapper .menu .sub-menu .menu-item-has-children>a:first-child.nitro-lazy {
	background-image: none !important;
}

#primary-menu-wrapper .menu .sub-menu .menu-item-has-children>a:first-child.L1open, #primary-menu-wrapper .menu .sub-menu .menu-item-has-children>a:first-child.L2open {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'0 0 24 24\'><path d=\'M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z\' fill=\'%23000\' /></svg>");
}

#primary-menu-wrapper .menu .sub-menu .menu-item-has-children>a:first-child.L1open.nitro-lazy, #primary-menu-wrapper .menu .sub-menu .menu-item-has-children>a:first-child.L2open.nitro-lazy {
	background-image: none !important;
}

#primary-menu-wrapper .menu li.mobile-only {
	visibility: hidden;
	height: 0;
}

@media screen and (min-width: 980px) {
	.scrolling #primary-menu-wrapper .menu a:focus {
		color: #bbb;
	}
}

@media screen and (min-width: 980px) {
	.scrolling #primary-menu-wrapper .menu li a.selected {
		color: #bbb;
	}
}

@media screen and (min-width: 980px) {
	.desktop_menu_dropdown.dropdown_menu_alignment_top_level_right #primary-menu-wrapper #menu-primary {
		float: right;
	}
}

@media screen and (min-width: 980px) {
	.desktop_menu_dropdown.dropdown_menu_alignment_top_level_justify #primary-menu-wrapper #menu-primary {
		display: flex;
		justify-content: space-between;
	}
}

@media screen and (min-width: 980px) {
	.desktop_menu_dropdown.dropdown_menu_alignment_top_level_justify #primary-menu-wrapper .menu>li {
		padding: 0;
	}
}

@media screen and (min-width: 980px) {
	.desktop_menu_dropdown.dropdown_menu_alignment_second_level_centre #primary-menu-wrapper .menu>li:hover>ul {
		opacity: 0;
	}
}

@media screen and (min-width: 980px) {
	.desktop_menu_dropdown.dropdown_menu_alignment_second_level_centre #primary-menu-wrapper .menu>li.positioned:hover>ul {
		opacity: 1;
	}
}

@media screen and (min-width: 980px) {
	.desktop_menu_dropdown.dropdown_menu_alignment_text_centre #primary-menu-wrapper .menu li ul li a {
		text-align: center;
	}
}

.scrolling #primary-menu-wrapper .menu-primary-container {
	background: none;
	border-top: 1px solid rgba(255, 255, 255, .3);
	border-bottom: 1px solid rgba(255, 255, 255, .3);
}
