.menu {
  width: 150px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: white;
  z-index: 601;
  transition: none;
  /*&:before{
		content: '';
		width: 9px;
		height: 100%;
		position: absolute;
		top: 0;
		right: -9px;
		background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
		background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
		background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
		opacity: .5;
	}*/
}
.menu .middle {
  max-width: 100%;
  width: 100px;
  margin: 0 auto;
  padding-top: 25px;
}
.menu span {
  display: block;
}
.menu .logotype {
  margin: 0;
  display: block;
  height: 100px;
  width: 100px;
  /*background: url('@{imageDir}/logotype.gif') no-repeat center;*/
  -webkit-background-size: 100%;
  background-size: 100%;
  transition: none;
}
.menu .logotype img {
  width: 100%;
  height: 100%;
}
.menu .pages {
  padding-top: 40px;
  margin-left: -25px;
  margin-right: -25px;
}
.menu .pages a,
.menu .pages linkrep {
  height: 33px;
  display: block;
  text-transform: uppercase;
  padding-bottom: 8px;
  padding-left: 51px;
  padding-top: 8px;
  font-size: 12px;
  position: relative;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}
.menu .pages a:hover,
.menu .pages linkrep:hover {
  background-color: #f2f5f9;
}
.menu .pages a svg,
.menu .pages linkrep svg {
  margin-left: -26px;
  /*float: left;*/
  position: absolute;
  top: 50%;
}
.menu .pages a span,
.menu .pages linkrep span {
  -webkit-transition: all 0.4s ease-in;
  -moz-transition: all 0.4s ease-in;
  -ms-transition: all 0.4s ease-in;
  -o-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}
.menu .pages a:hover span,
.menu .pages linkrep:hover span {
  /*text-decoration: underline;*/
}
.menu .pages linkrep {
  background-color: #f2f5f9;
}
.menu .pages linkrep:hover span {
  text-decoration: none;
}
.menu a,
.menu linkrep {
  display: block;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  color: #1f232e;
  background-position: 25px 50%;
  background-repeat: no-repeat;
  line-height: 15px;
  /*&.company, &.portfolio{
			svg{
				margin-top: -7px;
			}
		}
		&.service, &.blog, &.contacts{
			svg{
				margin-top: -8px;
			}
		}

		&.news{
			svg{
				margin-top: -6px;
			}
		}*/
}
.menu a.company,
.menu linkrep.company {
  background-position-y: 8px;
}
.menu a.service,
.menu linkrep.service {
  background-position-y: 7px;
}
.menu a.portfolio,
.menu linkrep.portfolio {
  background-position-y: 7px;
}
.menu a.news,
.menu linkrep.news {
  background-position-y: 7px;
}
.menu a.blog,
.menu linkrep.blog {
  background-position-y: 7px;
}
.menu a.contacts,
.menu linkrep.contacts {
  background-position-y: 6px;
}
.menu .helpers {
  bottom: 20px;
  position: absolute;
  width: 100%;
  left: 0;
}
.menu .helpers a {
  display: block;
  text-align: center;
  text-decoration: none;
}
.menu .helpers a:hover [data-fill] {
  fill: #FD5D2C;
}
@media only screen and (min-width: 1px) and (max-width: 999px) {
  .row.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 50px !important;
    border-bottom: 1px solid #ccc;
    background: white;
  }
  .row.menu:after {
    display: none;
  }
  .row.menu:before {
    content: "";
    width: auto;
  }
  .row.menu.active {
    border-bottom: 2px solid #d9dadc;
  }
  .row.menu.active .pages,
  .row.menu.active .helpers {
    display: block;
  }
  .row.menu .pages {
    display: none;
    margin: 0;
    margin-bottom: 85px;
  }
  .row.menu .pages a,
  .row.menu .pages linkrep {
    background-position: 30px 50%;
    border-bottom: 1px solid #dde3eb;
    font-size: 16px;
    /*height: 50px;*/
    height: auto;
    line-height: 24px;
    margin-bottom: 0;
    padding-bottom: 15px;
    padding-left: 70px;
    padding-top: 13px;
    position: relative;
    text-indent: 0;
    text-transform: uppercase;
  }
  .row.menu .pages a.company,
  .row.menu .pages linkrep.company {
    background-position-y: 18px;
  }
  .row.menu .pages a.service,
  .row.menu .pages linkrep.service {
    background-position-y: 17px;
  }
  .row.menu .pages a.portfolio,
  .row.menu .pages linkrep.portfolio {
    background-position-y: 17px;
  }
  .row.menu .pages a.news,
  .row.menu .pages linkrep.news {
    background-position-y: 17px;
  }
  .row.menu .pages a.blog,
  .row.menu .pages linkrep.blog {
    background-position-y: 17px;
  }
  .row.menu .pages a.contacts,
  .row.menu .pages linkrep.contacts {
    background-position-y: 16px;
  }
  .row.menu > a:first-of-type {
    width: 50px;
    display: inline-block;
  }
  .row.menu > div:first-of-type {
    margin-top: 50px;
    padding: 0;
    background: white;
  }
  .row.menu > div:first-of-type img {
    width: 50px;
    margin: 0;
  }
  .row.menu .logotype {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px !important;
    height: 50px !important;
    margin: 0;
  }
  .row.menu .helpers-inner {
    height: 40px;
    border-top: 1px solid #d1d5d8;
  }
  .row.menu .helpers {
    display: none;
    position: static;
  }
  .row.menu .helpers a {
    background: none;
    margin-bottom: 0;
    text-decoration: none;
  }
  .row.menu .helpers:after {
    content: '';
    clear: both;
    display: block;
  }
  .row.menu .clients {
    width: 50%;
    float: left;
    line-height: 40px;
    position: relative;
    border-right: 1px solid #d1d5d8;
  }
  .row.menu .clients:before {
    position: absolute;
    top: 8px;
    left: 33px;
    content: '';
    width: 19px;
    height: 19px;
    background-position-y: -24px;
  }
  .row.menu .lang {
    width: 50%;
    float: left;
    line-height: 40px;
    position: relative;
  }
  .row.menu .lang:before {
    position: absolute;
    top: 12px;
    left: 33px;
    content: '';
    width: 19px;
    height: 19px;
    background-position-y: -56px;
  }
  .row.menu .lang:last-of-type {
    display: none;
  }
  .row.menu .middle {
    height: auto;
    margin-left: auto;
    margin-right: 0;
    min-height: 0;
    width: 0;
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -ms-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
  }
  .row.menu .middle .small-bg {
    width: 0;
    height: calc(100vh - 50px);
    position: relative;
    z-index: 2;
  }
  .row.menu .middle:before {
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -ms-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
  }
  .row.menu .middle.opened {
    width: 320px;
  }
  .row.menu .middle.opened bg {
    background: #000000 none repeat scroll 0 0;
    content: "";
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 1;
    left: 0;
    opacity: 0.5;
  }
  .row.menu .middle.opened .small-bg {
    background: #fff none repeat scroll 0 0;
    width: auto;
    position: relative;
    border-left: 1px solid #d9dadc;
  }
  .row.menu .middle.opened .small-bg .pages {
    display: block;
    padding-top: 0;
    margin-bottom: 30px;
  }
  .row.menu .middle.opened .small-bg .pages a:before {
    left: auto;
    right: 7px;
    top: 7px;
  }
  .row.menu .middle.opened .small-bg .pages a span {
    color: unset;
  }
  .row.menu .middle.opened .small-bg .helpers {
    bottom: 40px;
    display: block;
    position: absolute;
    width: 320px;
    opacity: 1;
  }
  .row.menu .middle.opened .small-bg .helpers .helpers-inner {
    border: 0;
  }
  .row.menu .middle.opened .small-bg .helpers a span {
    color: unset;
    opacity: 1;
  }
  .row.menu .middle.opened .small-bg .helpers .clients {
    border-right: 1px solid #d1d5d8;
    float: left;
    line-height: 40px;
    padding-left: 34px;
    position: relative;
    width: 33%;
  }
  .row.menu .middle.opened .small-bg .helpers .clients:before {
    left: 10px;
  }
  .row.menu .middle.opened .small-bg .helpers .lang {
    display: block;
    border-right: 1px solid #d1d5d8;
    float: left;
    line-height: 40px;
    position: relative;
    width: 100%;
  }
  .row.menu .middle.opened .small-bg .helpers .lang .inenglish {
    color: #757e8a;
    font-size: 13px;
    height: 13px;
    letter-spacing: 0.5px;
    text-align: center;
    text-transform: uppercase;
    line-height: 13px;
  }
  .row.menu .middle.opened .burger {
    height: 25px;
    top: 13px;
    background: none;
    right: 0;
  }
  .row.menu .middle.opened .burger svg {
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 6px;
  }
  .row.menu .middle.opened .burger:after,
  .row.menu .middle.opened .burger:before {
    display: none;
  }
  .row.menu .burger-menu {
    position: absolute;
    top: 3px;
    right: 15px;
    width: 15px;
    height: 100%;
    cursor: pointer;
  }
  .row.menu .burger-menu svg {
    display: none;
  }
  .row.menu .burger-menu .burger {
    position: absolute;
    background: #aaaaaa;
    width: 100%;
    height: 2px;
    top: 50%;
    right: 0;
    margin-top: -5px;
    opacity: 1;
  }
  .row.menu .burger-menu .burger:before {
    position: absolute;
    background: #aaaaaa;
    width: 15px;
    height: 2px;
    top: 6px;
    content: "";
    display: block;
  }
  .row.menu .burger-menu .burger:after {
    position: absolute;
    background: #aaaaaa;
    width: 15px;
    height: 2px;
    bottom: 6px;
    content: "";
    display: block;
  }
}
