.language-select {
  display: inline-block;
  position: relative;
  margin-right: 24px;
}
.language-select__icon {
	position: absolute; top: 0; left: 0;
	width: 24px; height: 16px;
}
.language-select__title {
  font-size: 12px;
  line-height: 24px;
}
.language-select__anchor {
  display: block;
  position: relative;
  padding-right: 24px; padding-left: 32px;
}
.language-select__anchor::before {
  content: '';
  display: block;
  position: absolute; top: 4px; right: 0;
  width: 16px; height: 16px;
  background: url('../img/icons.png') no-repeat 0 -144px;
  background-image: none, url('../img/icons.svg');
  background-size: 16px auto;
}
.language-select__anchor .language-select__icon { top: 4px; }
.language-select__label {
  display: block;
  position: relative;
  padding: 8px 18px 8px 50px;
  cursor: pointer;
}
.language-select__label:hover {
	text-decoration: underline;
}
.language-select__label .language-select__icon { top: 9px; left: 18px; }
.language-select__input {
	position: absolute;
	opacity: 0;
}
.language-select__dropdown {
  position: absolute; top: 27px; right: -27px; z-index: 10;
  text-align: left;
  font-size: 14px;
}
.language-select__dropdown::before {
  content: '';
  display: block;
  height: 8px;
}
.language-select__list {
  padding: 10px 0;
  min-width: 120px;
  background: rgba(66, 69, 90, .96);
  color: #FFF;

  -webkit-box-shadow: 0 6px 8px rgba(0, 0, 0, .3);
          box-shadow: 0 6px 8px rgba(0, 0, 0, .3);
}
.language-select__list::after {
  content: '';
  display: block;
  position: absolute; top: -8px; right: 28px; z-index: 2;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-bottom: 8px solid rgba(66, 69, 90, .96);
}
.language-select__item { padding: 2px 0; }

.header-language {
	background: #353842;
	color: #FFF;
	font-size: 12px;
	text-align: center;
}
.header-language__title {
	display: inline-block;
	vertical-align: middle;
}
.header-language .button-s {
  padding: 4px 16px;
  font-size: 12px;
}

/*
 * All without mobile
 */
@media only screen and (min-width: 768px) {
	.header-language { height: 32px; }
	.header-language__bar {
		position: absolute; top: 0; left: 0; width: 100%;
		background: #353842;
	}
	.header-language__bar > .w {
		padding: 4px 16px;
	}
	.header-language__title { margin-right: 16px; }
	.header-language .language-select { margin-right: 16px; }
}

/*
 * Desktop
 */
@media only screen and (min-width: 1025px) {
	body.sticky .header-language__bar {
		top: 32px;
		z-index: 10;
	}
	body.sticky-up .header-language__bar { top: 0; }
}

/*
 * Tablet
 */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.header-language ~ .header-nav .nav-bar { top: 48px; }
}

/*
 * Mobile
 */
@media only screen and (max-width: 767px) {
	body.with-header_language::before { height: 118px; }

	.header-language {
		height: 62px;
		padding: 8px 0;
	}
	.header-language__title {
		display: block;
  	padding-bottom: 6px;
  	white-space: nowrap;
  	overflow: hidden;
	}
	.header-language ~ .header-nav {
		top: 118px;
    height: calc(100vh - 118px);
	}
}