/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
 * Nav component
 *
 ========================================================================== */


/* Component
========================================================================== */


/* Sub-object: `uk-nav-header`
========================================================================== */

.hook-nav-header() {}


/* Sub-object: `uk-nav-divider`
========================================================================== */

.hook-nav-divider() {}


/* Sub-object: `uk-nav-sub`
========================================================================== */

.hook-nav-sub() {}

.uk-nav-sub li a:before {
	content: @theme_nav-sub-icon;
	width: 20px;
	margin-left: -10px;
	float: left;
	overflow: hidden;
	font-family: "FontAwesome";
	text-align: center;
	text-indent: -40px;
}

.uk-nav-sub li a:hover:before { text-indent: 0; }

.uk-nav-sub li a {
	padding-top: @theme_nav-sub-link-padding-top;
	padding-bottom: @theme_nav-sub-link-padding-bottom;
}


/* Modifier: `uk-nav-parent-icon`
 ========================================================================== */

.hook-nav-parent-icon() {}


/* Modifier `uk-nav-side`
 ========================================================================== */

/*
* Items
*/

.hook-nav-side() {}

/* Hover */
.hook-nav-side-hover() { 
	background: @theme_nav-side-hover-background;
	color: @theme_nav-side-hover-color;
}

/* Active */
.hook-nav-side-active() { 
	&:hover { 
		background: @theme_nav-side-hover-background;
		color: @theme_nav-side-hover-color; 
	}
}

/* Open */
.uk-nav-side > .uk-open > a { background: @theme_nav-side-open-background; }

/*
 * Sub-object: `uk-nav-header`
 */

.hook-nav-side-header() {}

/*
 * Sub-object: `uk-nav-divider`
 */

.hook-nav-side-divider() { border-width: @theme_nav-side-divider-height; }

/* Sub-item */
.uk-nav-side .uk-nav-sub li a { color: @theme_nav-side-sub-link-color; }

/* Hover */
.uk-nav-side .uk-nav-sub li a:hover { color: @theme_nav-side-sub-hover-color; }


/* Modifier `uk-nav-dropdown`
 ========================================================================== */

/*
 * Items
 */

.hook-nav-dropdown() {}

/* Hover */
.hook-nav-dropdown-hover() {}

/* Active */
.uk-nav-dropdown > .uk-active > a {
	background: @theme_nav-dropdown-active-background;
	color: @theme_nav-dropdown-active-color;
}

/* Open */
.uk-nav-dropdown > .uk-open > a { background: @theme_nav-dropdown-open-background; }
.uk-nav-dropdown > .uk-open > a:hover { background: @theme_nav-dropdown-open-hover-background; }

/*
 * Sub-object: `uk-nav-header`
 */

.hook-nav-dropdown-header() {}

/*
 * Sub-object: `uk-nav-divider`
 */

.hook-nav-dropdown-divider() { border-width: @theme_nav-dropdown-divider-height; }

/* Sub-item */
.uk-nav-dropdown .uk-nav-sub li a { color: @theme_nav-dropdown-sub-link-color; }


/* Modifier `uk-nav-navbar`
 ========================================================================== */

/*
 * Items
 */

.hook-nav-navbar() {}

/* Hover */
.hook-nav-navbar-hover() {}

/* Active */
.uk-nav-navbar > .uk-active > a {
	background: @theme_nav-navbar-active-background; 
	color: @theme_nav-navbar-active-color;
}

/* Open */
.uk-nav-navbar > .uk-open > a { background: @theme_nav-navbar-open-background; }

/*
 * Sub-object: `uk-nav-header`
 */

.hook-nav-navbar-header() {}

/*
 * Sub-object: `uk-nav-divider`
 */

.hook-nav-navbar-divider() { border-width: @theme_nav-navbar-divider-height; }

/* Sub-item */
.uk-nav-navbar .uk-nav-sub li a { color: @theme_nav-navbar-sub-link-color; }


/* Modifier `uk-nav-search`
 ========================================================================== */

/*
 * Items
 */

.hook-nav-search() {}

/* Hovr */
.uk-nav-search > li > a:hover {
	background: @theme_nav-search-hover-background;
	color: @theme_nav-search-hover-color;
}

/* Active */
.hook-nav-search-active() {}

/* Open */
.uk-nav-search > .uk-open > a { background: @theme_nav-search-open-background; }
.uk-nav-search > .uk-open > a:hover { background: @theme_nav-search-open-background; }

/*
 * Sub-object: `uk-nav-header`
 */

.hook-nav-search-header() {}

/*
 * Sub-object: `uk-nav-divider`
 */

.hook-nav-search-divider() {}


/* Modifier `uk-nav-offcanvas`
 ========================================================================== */

.hook-nav-offcanvas-link() {}
.hook-nav-offcanvas-link-hover() {}

.uk-nav-offcanvas .uk-nav-sub li a:before { content: ""; }

.uk-nav-offcanvas .uk-nav-sub { padding: @nav-sub-padding-vertical @nav-sub-padding-horizontal; }

/*
 * Items
 */

.hook-nav-offcanvas() {
	background: @theme_nav-offcanvas-nav-item-background;
	border-top: 1px solid @theme_nav-offcanvas-item-border;
}

/* Active */
.hook-nav-offcanvas-active() {}

/* Open */
.uk-nav-offcanvas > .uk-open > a { 
	background: @theme_nav-offcanvas-open-background;
	color: @theme_nav-offcanvas-open-color;
}

/*
 * Sub-object: `uk-nav-header`
 */

.hook-nav-offcanvas-header() {}

/*
 * Sub-object: `uk-nav-divider`
 */

.hook-nav-offcanvas-divider() {
	margin: 0;
	border-width: @theme_nav-offcanvas-divider-height;
	border-color: @theme_nav-offcanvas-divider-border;
}

/* Sub-item */
.uk-nav-offcanvas .uk-nav-sub li a { color: @theme_nav-offcanvas-sub-link-color; }