/*******************************************************************************
 * Copyright (c) 2016. All rights reserved. Sarhad Maisoon Salam.
 ******************************************************************************/

@import "master";
/*Navigation Bar starts here*/

*,
*:after,
*::before {
	box-sizing: border-box;
}

body {
	padding-top: 50px;
}

.menu-main,
.menu-main ul {
	margin: 0;
	padding: 0;
	background: $white-color;
	color: $navbar-main-color;
	/*Font-Color*/
	list-style: none;
	text-transform: none;
	font-weight: 400;
	font-family: $primary-font;
	line-height: 60px;
}

.menu-main {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	font-size: 13px;
	a {
		display: block;
		height: 100%;
		color: $navbar-main-color;
		text-decoration: none;
		cursor: pointer;
	}
}

.no-touch .menu-main a:hover,
.no-touch .menu li.search-item:hover,
.no-touch .menu li.search-item:hover a {
	background: $navbar-main-color;
	color: $white-color;
}

.menu-main {
	> li {
		display: block;
		float: left;
		height: 100%;
		border-right: 1px solid $navbar-border-color;
		text-align: center;
	}

	li.trigger {
		position: relative;
		width: 60px;
		user-select: none;
	}
	> li:last-child,
	> li:nth-child(3) {
		float: right;
		border-left: 1px solid $navbar-border-color;
		border-right: none;
		padding-right: 6px;
		padding-left: 8px;
	}
	> li > a {
		padding: 0 30px;
		text-transform: uppercase;
		letter-spacing: 1px;
		font-weight: bold;
	}
	> li:nth-child(2) > a {
		padding: 0 20px;
	}
	&:after {
		display: table;
		clear: both;
		content: '';
	}
}

.menu-wrapper {
	position: fixed;
	top: 60px;
	bottom: 0;
	left: 0;
	overflow: hidden;
	width: 60px;
	border-top: 1px solid $navbar-border-color;
	background: $white-color;
	@include vendor-prefix('transform', 'translateX(-60px)');
	@include vendor-prefix('transition', 'transform 0.3s, width 0.3s');
}

.scroller {
	position: absolute;
	overflow-y: scroll;
	width: 370px;
	height: 100%;
}

.menu {
	border-bottom: 1px solid $navbar-border-color;
	text-align: left;
	font-size: 18px;
	li:not(:first-child),
	li li {
		box-shadow: inset 0 1px $navbar-border-color;
	}
}

.submenu li {
	overflow: hidden;
	height: 0;
	@include vendor-prefix('transition', 'height 0.3s');
	li a {
		color: $submenu-dark-color;
	}
}

input.search {
	position: relative;
	z-index: 10;
	padding-left: 60px;
	outline: none;
	border: none;
	background: transparent;
	color: $submenu-dark-color;
	font-weight: 400;
	font-family: $primary-font;
	cursor: pointer;
}

.search::-webkit-input-placeholder {
	color: $search-color;
	font-size: 14px;
}

.search:-moz-placeholder {
	color: $search-color;
}

.search::-moz-placeholder {
	color: $search-color;
}

.search:-ms-input-placeholder {
	color: $search-color;
}

.search:focus::-webkit-input-placeholder,
.no-touch .menu li.search-item:hover .search:focus::-webkit-input-placeholder {
	color: transparent;
}

input.search:focus {
	cursor: text;
	font-size: 14px;
	/*width: 260px;*/
	font-weight: 700;
}

.no-touch .menu li.search-item:hover .search::-webkit-input-placeholder {
	color: $white-color
}

.no-touch .menu li.search-item:hover .search:-moz-placeholder {
	color: $white-color
}

.no-touch .menu li.search-item:hover .search::-moz-placeholder {
	color: $white-color
}

.no-touch .menu li.search-item:hover .search:-ms-input-placeholder {
	color: $white-color
}

.menu-main a.icon-search {
	position: absolute;
	top: 0;
	left: 0;
	height: 60px;
}

.icon::before {
	display: inline-block;
	text-align: center;
	text-transform: none;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-family: 'motherOfBanter';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sidebar-icon::before {
	width: 60px;
}

.fixed-bar {
	position: fixed;
	right: 0;
	left: 0;
	z-index: 1030;
}

.icon span {
	width: 0;
	height: 0;
	display: block;
	overflow: hidden;
}

.icon-menu::before {
	margin-left: -15px;
	vertical-align: -2px;
	width: 30px;
	height: 3px;
	background: $navbar-main-color;
	box-shadow: 0 3px $white-color, 0 -6px $navbar-main-color, 0 -9px $white-color, 0 -12px $navbar-main-color;
	content: '';
}

.no-touch .icon-menu:hover::before,
.no-touch .icon-menu.selected:hover::before {
	background: $white-color;
	box-shadow: 0 3px $navbar-main-color, 0 -6px $white-color, 0 -9px $navbar-main-color, 0 -12px $white-color;
}

.icon-menu.selected::before {
	background: $primary-color;
	box-shadow: 0 3px $white-color, 0 -6px $primary-color, 0 -9px $white-color, 0 -12px $primary-color;
}

/* styles for opening menu */

.menu-wrapper.open-all,
.menu-wrapper.open-part {
	@include vendor-prefix('transform', 'translateX(0px)');
}

.menu-wrapper.open-all {
	width: 340px
}

.menu-wrapper.open-all .submenu li {
	height: 60px
}

@media screen and (max-width: 422px) {
	.menu-wrapper.open-all {
		@include vendor-prefix('transform', 'translateX(0px)');
		width: 100%;
	}

	.menu-wrapper.open-all .scroller {
		width: 130%
	}

	.search-button {
		right: 20px;
	}
}

.brand {
	width: 300px;
	height: 60px;
	img {
		max-width: 300px;
		max-height: 60px;
	}
}

.user-image {
	width: 40px;
	height: 60px;
	.img-circle {
		width: 40px;
		height: 40px;
	}
}

.mobile-sign-in,
.mobile-upload {
	display: none;
}

@media screen and (max-width: 544px) {
	.menu-main > li:last-child,
	.menu-main > li:nth-child(3) {
		display: none;
	}

	.mobile-sign-in,
	.mobile-upload {
		display: inherit;
	}
}

@media screen and (max-width: 422px) {
	.menu-main > li:nth-child(2) > a {
		padding: 0 10px;
	}

	.brand {
		width: 240px;
		height: 60px;
		img {
			max-width: 240px;
			max-height: 60px;
		}
	}
}

@media screen and (max-width: 340px) {
	.menu-main > li:nth-child(2) > a {
		padding: 0 10px;
	}

	.brand {
		width: 150px;
		height: 60px;
		img {
			max-width: 150px;
			max-height: 60px;
		}
	}
}

.menu-wrapper a:hover,
.signIn a:hover {
	color: $primary-color;
}

/*Navigation Bar Ends here*/