/* #Mega menu
================================================== */
.masthead:not(.sub-downwards) .main-nav .dt-mega-menu-wrap {
	background-color: @submenu-bg-color;
}
.top-header .main-nav .dt-mega-menu-wrap,
.sub-sideways .main-nav .dt-mega-menu-wrap {
	padding: @mega-submenu-padding-top @mega-submenu-padding-right @mega-submenu-padding-bottom @mega-submenu-padding-left;
}

	.masthead:not(.sub-downwards) .dt-mega-menu .dt-mega-menu-wrap .dt-mega-parent {
		padding: @mega-col-padding-top @mega-col-padding-right @mega-col-padding-bottom @mega-col-padding-left;
	}
.dt-mega-menu > .sub-nav > li:hover > a {
	background-color: transparent;
}
.main-nav .sub-nav > li.dt-mega-parent:not(.empty-title) > a,
.sub-downwards .main-nav .sub-nav > li.dt-mega-parent.empty-title > a {
	padding: @mega-submenu-item-padding-top @mega-submenu-item-padding-right @mega-submenu-item-padding-bottom @mega-submenu-item-padding-left;
}
.sub-downwards .sub-nav > li.dt-mega-parent > .next-level-button {
	margin-top: @mega-submenu-item-padding-top;
	margin-bottom: @mega-submenu-item-padding-bottom;
}
	/*subtitles*/
	.main-nav > li > a > span > span.menu-subtitle {
		color: fade(@menu-color, 40%);
	}
	.sub-nav .menu-subtitle,
	.sub-nav li.act > a:hover .menu-subtitle {
		color: fade(@submenu-color, 40%);
		font-family: @sub-subtitle-font-family;
		font-size: @sub-subtitle-font-size;
	}
	.main-nav .sub-nav > li.dt-mega-parent > a .menu-text {
		font: @mega-menu-title-font-style @mega-menu-title-font-variant @mega-menu-title-font-weight @mega-menu-title-font-size~"/"@mega-menu-title-font-size+6 @mega-menu-title-font-family;
		text-transform: @mega-menu-title-text-transform;
		color: @mega-menu-title-color;
	}
	.main-nav .sub-nav > li.dt-mega-parent:not(.act):not(.wpml-ls-item) > a:not(.not-clickable-item):hover .menu-text {
		color: @megamenu-title-hover-color;
		.text-gradient (@startColor: @megamenu-title-hover-color, @endColor: @megamenu-title-hover-color-2);
	}
	.main-nav .sub-nav > li.dt-mega-parent.current-menu-item > a .menu-text {
		color: @megamenu-title-active-color;
		.text-gradient (@startColor: @megamenu-title-active-color, @endColor: @megamenu-title-active-color-2);
	}

	.main-nav .sub-nav > li.dt-mega-parent > a .subtitle-text {
		font: @mega-menu-desc-font-style normal @mega-menu-desc-font-weight @mega-menu-desc-font-size~"/"@mega-menu-desc-font-size+4 @mega-menu-desc-font-family;
		color: @mega-menu-desc-color;
	}
	.main-nav .dt-mega-menu .sub-nav .dt-mega-parent  {
		& > a > i {
			font-size: @mega-menu-title-icon-size;
			color: @mega-menu-title-color;
		}
		&:not(.current-menu-item) > a:not(.not-clickable-item):hover > i {
			color: @megamenu-title-hover-color;
		}
		&.current-menu-item > a > i {
			color: @megamenu-title-active-color;
		}
	}
	.sub-nav .menu-subtitle,
	.sub-nav li.act > a:hover .menu-subtitle {
		color: fade(@submenu-color, 40%);
	}

	.dt-mega-menu .sub-nav .dt-mega-parent > a {
		border-bottom-color: fade(@submenu-color, 10%);
	}
	.top-header .main-nav .mega-auto-width > .dt-mega-menu-wrap,
	.sub-sideways .main-nav .mega-auto-width > .dt-mega-menu-wrap {
		min-width: @mega-submenu-col-width;
	}
	.masthead:not(.sub-downwards) .main-nav .dt-mega-menu.mega-auto-width .sub-nav .dt-mega-parent {
		width: @mega-submenu-col-width;
	}

	.masthead:not(.sub-downwards) .main-nav .dt-mega-menu.mega-auto-width.mega-column-1 > .dt-mega-menu-wrap {
		width: @mega-submenu-col-width + @mega-submenu-padding-right + @mega-submenu-padding-left;
	}
	.masthead:not(.sub-downwards) .main-nav .dt-mega-menu.mega-auto-width.mega-column-2 > .dt-mega-menu-wrap {
		width: @mega-submenu-col-width * 2 +  @mega-submenu-padding-right + @mega-submenu-padding-left;
	}
	.masthead:not(.sub-downwards) .main-nav .dt-mega-menu.mega-auto-width.mega-column-3 > .dt-mega-menu-wrap {
		width: @mega-submenu-col-width * 3 +  @mega-submenu-padding-right + @mega-submenu-padding-left;
	}
	.masthead:not(.sub-downwards) .main-nav .dt-mega-menu.mega-auto-width.mega-column-4 > .dt-mega-menu-wrap {
		width: @mega-submenu-col-width * 4 +  @mega-submenu-padding-right + @mega-submenu-padding-left;
	}
	.masthead:not(.sub-downwards) .main-nav .dt-mega-menu.mega-auto-width.mega-column-5 > .dt-mega-menu-wrap {
		width: @mega-submenu-col-width * 5 +  @mega-submenu-padding-right + @mega-submenu-padding-left;
	}

	//Widgets
	.sidebar-content .widget *,
	.sidebar-content .widget:not(.widget_icl_lang_sel_widget) a:not(:hover),
	.sidebar-content.solid-bg .widget:not(.widget_icl_lang_sel_widget) a:not(:hover) * {
		.dt-mega-parent & {
			color: @mega-menu-widget-color;
		}
	}
	
	.sidebar-content .widget-title {
		.dt-mega-parent & {
			color: @mega-menu-widget-title-color;
		}
	}
	.sidebar-content .widget a:not(.button):not(.dt-btn):hover,
	.sidebar-content .widget a:not(.button):not(.dt-btn):hover * {
		.dt-mega-parent & {
			color: @accent-bg-color;
			.accent-gradient & {
				.text-gradient (@startColor: @accent-bg-color, @endColor: @accent-text-color-2);
			}
			.custom-mixin-mega-menu-accent (@mega-menu-widget-accent-color)
		}
	}
