#head {
	height: auto;
	background: white;
}

#head.admin {
	border: none;
}

#head.creator {
	border: none;
}

#head .wrap {
	height: auto;
	max-width: none;
}

.head_img {
	padding: 10px 0 6px;
  display: inline-block;
  z-index: 2;
}

#head.admin .head_img {
	padding: 5px 20px;
}

.head_img img {

}

#head.admin .head_img img {
	height: 30px;
}

.head_wrap {
	position: unset;
	height: auto;
	padding: 0;
	text-align: left;
}

.head_menu {
	position: absolute;
	right: 0;
	bottom: 5px;
	width: calc(100% - 200px);
	text-align: right;
	white-space: nowrap;
	box-sizing: border-box;
}

#head.admin .head_menu {
	right: 20px;
}

.head_menu a, .head_menu li.parm > div {
	font-size: 18px;
	font-weight: 400;
}

.head_basket {
	position: absolute;
	top: 2px;
	right: 0;
}

.head_basket, .head_basket a {
	font-size: 18px;
	font-weight: 500;
}

.head_basket > i {
	margin-right: 8px;
  font-size: 0.8em;
  vertical-align: 2px;
}

.head_basket > a span {
  display: inline-block;
	width: 18px;
	padding: 0px 3px;
	margin-left: 8px;
  color: white;
  border-radius: 50%;
  text-align: center;
}


/* navigation menu */

ul.navmenu, ul.navmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.navmenu li {
	position: relative;
}

ul.navmenu > li {
	display: inline-block;
	padding: 5px 15px;
	border: 1px solid transparent;
}

ul.navmenu > li, ul.navmenu > li a {
}

ul.navmenu > li > a, ul.navmenu > li > div {
}

#head.admin ul.navmenu > li, #head.admin ul.navmenu > li a {
	color: white;
}

ul.navmenu > li:last-child {
	padding-right: 0;
}

ul.navmenu > li.parm {

}

ul.navmenu > li.parm:after {
	content: '\f078';
	margin-left: 5px;
	font-family: 'FontAwesome';
	vertical-align: 2px;
}

ul.navmenu > li:hover {
}

ul.navmenu ul.subm {
	display: none;
	position: absolute;
	left: 5px;
	top: 100%;
	min-width: 100%;
	text-align: left;
	background: white;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

ul.navmenu > li:last-child ul.subm {
	left: initial;
  right: 0;
}

ul.navmenu li:hover {
}

ul.navmenu li:hover a {
}

ul.navmenu li:hover > ul {
	display: block;
}

ul.navmenu li:hover > a, ul.navmenu li:hover > div, ul.navmenu li:hover:after {
	color: white;
}

ul.navmenu li.parm > div {
	display: inline-block;
	cursor: pointer;
}

.navmenu_icn {
	display: inline-block;
	margin-right: 8px;
	width: 20px;
  text-align: center;
}

ul.subm li {
	border-bottom: 1px solid #eee;
}

ul.subm li a {

}

#head .head_menu ul.subm a {
	display: block;
	padding: 8px 13px;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}

ul.subm li:last-child a {
	border-bottom: none;
}

@media only screen and (max-width: 1300px) {
  .head_basket, .head_menu {
		right: 20px;
	}
	.head_img {
		padding-left: 20px;
	}
}

@media only screen and (max-width: 768px) {
	#head {
		position: fixed;
		top: 0;
		left: 0;
		height: 52px;
		border: none;
	}
	#head.admin.smallmenuopen {
		z-index: 2;
	}
	.head_img {
		position: absolute;
    top: 7px;
    right: 6px;
    width: 40px;
    height: 35px;
    padding: 0;
		overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
	}
	.head_img img {
		opacity: 0.01;
		height: 100%;
	}
	#head.admin .head_img {
		padding: 0;
	}
	.nav-icon {
		position: absolute;
		top: 8px;
		left: 15px;
	  width: 32px;
	}
	.nav-icon:after,
	.nav-icon:before,
	.nav-icon div {
	  background-color: #fff;
	  border-radius: 3px;
	  content: '';
	  display: block;
	  height: 5px;
	  margin: 5px 0;
	  transition: all .2s ease-in-out;
	}
	#head.smallmenuopen .nav-icon:before {
		transform: translateY(10px) rotate(135deg);
	}
	#head.smallmenuopen .nav-icon:after {
	  transform: translateY(-10px) rotate(-135deg);
	}
	#head.smallmenuopen .nav-icon div {
	  transform: scale(0);
	}
	.head_wrap {
		position: fixed;
		top: 52px;
    left: 0;
    width: 100%;
    max-width: 400px;
		height: 0;
		background: white;
		overflow: auto;
		transition: height 300ms;
		-webkit-overflow-scrolling: touch;
	}
	#head.admin .head_wrap {
		background: #444;
	}
	#head.smallmenuopen .head_wrap {
    height: calc(100vh - 52px);
		box-shadow: 5px 6px 10px rgba(0,0,0,0.3);
	}
	#head.smallmenuopen .head_wrap:before {
		content: ' ';
		position: fixed;
    top: 52px;
    left: 400px;
    width: calc(100vw - 400px);
    height: calc(100% - 52px);
    background: rgba(0,0,0,0.4);
	}
	.head_basket {
		position: relative;
		right: unset;
    bottom: unset;
    padding: 10px 14px;
    border-bottom: 1px solid #ccc;
	}
	.head_menu {
		position: relative;
		right: unset;
    bottom: unset;
    width: 100%;
		padding-bottom: 50px;
    background: transparent;
	}
	#head.admin .head_menu {
		right: unset;
	}
	ul.navmenu > li {
		display: block;
    text-align: left;
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid #ccc;
	}
	ul.navmenu > li > a, ul.navmenu > li > div {
		font-weight: 500;
	}
	ul.navmenu ul.subm {
		display: block;
    position: relative;
    left: unset;
    top: unset;
    border-radius: 0;
		box-shadow: none;
	}
	#head.admin ul.navmenu ul.subm {
		background: transparent;
	}
	ul.navmenu > li.parm {
		padding: 10px 0 0 15px;
	}
	ul.navmenu > li.parm:after {
		content: none;
	}
	ul.subm li {
		display: block;
		padding: 10px 15px;
		border-bottom: 1px solid #ccc;
	}
	#head.admin ul.subm li {
		font-size: 18px;
		color: white;
	}
	ul.subm li:last-child {
		border-bottom: none;
	}
	#head.admin ul.subm.adminleftmenuwrap li:last-child {
		border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
	}
	#head .head_menu ul.subm a {
		padding: 0;
	}
}
@media (hover: none) {
	ul.navmenu > li:hover {
		border-color: transparent;
	}
	ul.navmenu li:hover {
		background: transparent;
	}
	ul.navmenu li:hover > a, ul.navmenu li:hover > div, ul.navmenu li:hover:after {
		color: white;
	}
}
