/*------------------------------------------------------------------
[Header Style Six ( Vertical Header ) ]
-------------------------------------------------------------------*/
@media only screen and ( min-width: 960px ) {

   /* Header Vertical > Main */
	body.wpex-has-vertical-header {
		position: relative;

		&.full-width-main-layout #wrap {
			padding-left: $vertical-header__width;
		}

		/*
		@if $support_rtl == 1 {
			&.full-width-main-layout.rtl #wrap {
				padding-left: 0;
				padding-right: $vertical-header__width;
			}
		} */

		&.full-width-main-layout.wpex-site-header-disabled #outer-wrap {
			padding-left: 0;
		}
	

		// Default absolute styles
		#site-header {
			background: #fff;
			position: absolute;
			z-index: 99;
			top: 0;
			left: 0;
			width: $vertical-header__width;
			height: 100%;
			@include box-shadow( 0 0 7px rgba(0,0,0,0.1) );

			.container {
				width: 100%;
				max-width: 100%;
			}

		}
	
		// RTL header position
		/*@if $support_rtl == 1 {
			&.rtl #site-header {
				left: auto;
				right: 0;
			}
		}*/
		
		// Fixed style
		&.wpex-fixed-vertical-header #site-header {
			position: fixed;
			overflow: visible;
		}

		// Logo tweaks
		#site-logo {
			display: block;
			padding: 0 30px 30px 30px;

			img {
				display: block;
				margin: 0 auto;
			}

		}

		#site-logo-inner {
			display: block;
		}

		// Boxed layout
		&.boxed-main-layout {

			#wrap {
				padding-left: $vertical-header__width;
			}

			&.wpex-site-header-disabled #wrap {
				padding-left: 0
			}

			#site-header .container {
				padding-left: 0 !important;
				padding-right: 0 !important;
			}

		}

		// Menu search text
		.wpex-menu-search-text {
			display: inline-block;
			padding-left: 20px;
		}

		/*@if $support_rtl == 1 {
			&.rtl .wpex-menu-search-text {
				padding-left: 0;
				padding-right: 20px;
			}
		}*/

		// Re-position dropdowns and megamenu
		#site-navigation {
			
			// Default dropdowns
			.sf-menu {

				ul {
					top: 0;
					left: 100%;
					text-align: left;

					a {
						padding: 1em 20px;
					}

				}

			}
			
			// Mega menu tweaks
			.dropdown-menu li.megamenu {
				position: relative;

				ul {
					left: 100%;
					width: 750px;
				}

			}

		}

		// Remove extra border on page title
		.page-header {
			border-top: 0;
		}

	}
	

	/* Header Vertical > Navbar */
	.navbar-style-six {

		#site-navigation {
			border-top: 1px solid $borders__color-light;
		}

		.dropdown-menu {

			> li {
				display: block;
				width: 100%;
				height: auto;
				border-bottom: 1px solid $borders__color-light;

				> a {
					display: block;
					color: #555;
					font-weight: normal;
					padding: 1em 30px;

					span.link-inner {
						display: block;
						padding: 0;
						@include transition( none );
					}

				}

				&.menu-item-has-children > a {
					padding-right: 50px;
				}

			}

			a {
				@include transition( all 0.35s ease );

				&:hover {
					background: $background__light-gray;
				}

			}

			> .current-menu-item > a,
			> .current-menu-parent > a {
				background: #4a97c2;
				color: #fff !important;
				transition: all 0.3s ease-in-out;
			}

			.nav-arrow.top-level {
				position: absolute;
				right: 28px;
				top: 50%;
				height: 20px;
				line-height: 20px;
				margin-top: -10px;
				font-size: 11px;
				@include opacity( 0.4 );
			}

		}

		// Superfish fix
		.sf-menu li {
			white-space: normal
		}

	}

}
