.lang-switch {
	position: relative;
	width: 58px;
	height: 29px;
	border-radius: 14px;
	background-color: white;
	line-height: 29px;
	cursor: pointer;
	font-size: 13px;
	font-weight: bold;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.lang-selector-wrapper {
	position: absolute;
	width: 29px;
	left: 2px;
}
.lang-selector-wrapper .lang-selector {
	display: block;
	background-color: red;
	border-radius: 50%;
	transition: .25s;
	width: 25px;
	height: 25px;
	margin-top: 2px;
}

.lang-selector.ru {
	margin-left: 0;
}
.lang-selector.en {
	margin-left: 29px;
}

.lang-switch span.lang {
	position: absolute;
	text-align: center;
	width: 29px;
}
.lang-switch span.lang.lang-selected {
	color: #fff;
}

.lang-switch span#lang-ru {
	left: 0;
}

.lang-switch span#lang-en {
	left: 29px;
}
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 96px;
    box-shadow:  0px 0px 16px rgba(0, 0, 0, 0);
    transition-property: height, box-shadow;
    transition-duration: .15s;
    transition-timing-function: ease;
}
.header.fixed {
    box-shadow: 0px 0px 16px rgba(0, 0, 0, .15);
    position: fixed;
}
.header.fixed.scroll-top,
.page.page--products .header {
    height: calc(96px + 60px);
}
.header.fixed.scroll-bottom.header-search {
    height: calc(96px + 42px);
}
.header.fixed.scroll-top.header-search {
    height: calc(96px + 60px + 42px);
}
.header .header-overlay {
	display: inline-block;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.header.black .search-opener button {
	color: #fff;
}
.header.white .search-opener button {
	color: #000;
}
.header .header__wrapper {
    box-shadow: unset;
    transition-property: background-color, border-radius, box-shadow;
    transition-duration: .15s;
    transition-timing-function: ease;
}
.page--main .header.black .header__wrapper, .page--progress .header.black .header__wrapper {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 20px 20px;
}
.page--progress .header.black .header__wrapper, .page--progress .header.black .header__wrapper {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 20px 20px;
}
.header.white .header__wrapper {
    background-color: #fff;
    border-radius: 0;
}
.header .header .menu > ul > a,
.header .search-opener button {
    transition-property: color;
    transition-duration: .15s;
    transition-timing-function: ease;
}
.page:not(.page--inner) .header.black .header .menu > ul > li > a {
    color: #fff;
}
.header.black.header-search .header .menu > ul a,
.header.black.header-search .search-opener button {
    color: #000;
}
.header.white .header .menu > ul > li > a {
    color: #000;
}
.header.white .header .menu > ul li:nth-child(2).selected > a {
    color: #fff;
}
.header .header .menu > ul li.selected > a {
    font-weight: 700;
}
.header.fixed.scroll-top .top-sections-wrapper,
.page.page--products .header .top-sections-wrapper {
	pointer-events: all;
    opacity: 1;
}
.page--inner .header .menu > ul > li > ul a {
    color: #fff;
}
.page:not(.page--inner) .header .menu > ul > li > ul a {
    color: #000;
}
.header .top-sections-wrapper {
    position: absolute;
    top: 96px;
    width: 100%;
    opacity: 0;
	pointer-events: none;
    background-color: #da251c;
    transition: opacity .15s ease;
}
.header .top-sections-wrapper a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}
.header .top-sections-wrapper a:hover,
.header .top-sections-wrapper a.selected {
    color: #fff;
    font-weight: 700;
}
.header .search-bar {
    position: absolute;
    width: 100%;
    top: 96px;
}
.header.fixed.scroll-top .search-bar {
    top: calc(96px + 60px);
}

.header .top {
	display: flex;
	justify-content: space-around;
	align-items: center;
}
.header .top .logo {
	flex: 105px;
}
.header .top .menu {
	flex: 14;
}
.header .top .lang {
	flex: 1;
	display:none;
}
.header .top .search-opener {
	flex: 1;
}
.menu-opener {
	background-color: unset;
	border: none;
	display: none;
	transition: .2s;
}
.menu-opener:focus {
	outline: 0;
	color: #969696;
}
.header .menu > ul {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0 35px;
	max-width: 1060px;
	margin: 0 auto;
	font-family: Montserrat;
	font-size: 14px;
}

.header .menu > ul,
.header .menu > ul li {
	list-style: none;
}
.header .menu > ul>li {
	height: 96px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 15px;
	width: 157px;
}
.header .menu > ul>li {
	position: relative;
}
.header .menu > ul>li.selected>a {
	font-weight: 700;
}
.header .menu > ul>li:nth-child(2).selected {
	background-color: #da251c;
	color: #fff;
}
.header.black .menu > ul a:not([href]):not([tabindex]):focus,
.header.black .menu > ul a:not([href]):not([tabindex]):focus,
.header.black .menu > ul a:not([href]):not([tabindex]):hover,
.header.black .menu > ul>li.selected a:not([href]):not([tabindex]):focus,
.header.black .menu > ul>li.selected a:not([href]):not([tabindex]):focus,
.header.black .menu > ul>li.selected a:not([href]):not([tabindex]):hover {
	color: #fff;
}

.header.white .menu > ul>li>a {
	color: #000;
}
.header.black .menu > ul>li.selected>a {
	color: #fff;
}
.header.white .menu > ul>li:nth-child(2).selected>a {
	color: #fff;
}

.header .menu > ul>li>a:hover {
	font-weight: 700;
	text-decoration: none;
}
.header .menu > ul a:hover {
	cursor: pointer;
}

.header .menu > ul > li > a {
	text-transform: uppercase;
	color: #fff;
	font-weight: 500;
}

.page--inner .header .menu > ul > li > ul {
    background-color: #da251c;
}
.header .menu > ul > li > ul {
	background-color: #fff; /* #da251c */
	color: #000;
	border-radius: 14px;
	padding: 15px 20px;
	min-width: 200px;
	position: absolute;
	top: 70%;
	left: 18px;
	box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.2);
	z-index: 100;
}
.header .menu > ul > li > ul li {
	padding-bottom: 8px;
}
.header .menu > ul > li > ul li:last-child {
	padding-bottom: 0;
}
.header .menu > ul > li > ul a {
	color: #fff;
	text-transform: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
}
.header .menu > ul > li > ul a {
	color: #000;
}
.header .menu > ul>li>a>i::after {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}
.header .menu > ul > li > ul {
	display: none;
}
.header .menu > ul>li.open-submenu>a,
.header .menu > ul>li>a:hover {
	font-weight: 700;
}
.header .menu > ul>li.open-submenu ul {
	display: block;
}

.search-opener button {
	background-color: transparent;
	border: none;
	cursor: pointer;
}

.search-bar {
	visibility: hidden;
	opacity: 0;
	background-color: #da251c;
	padding: 5px 0;
	transition: .2s;
}
.search-bar.open {
	visibility: visible;
	opacity: 1;
}

.search-form form {
	display: flex;
	max-width: 1090px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 18px;
}
.search-form__input {
	border-radius: 5px;
	border: none;
	background-color: #ff5047;
	flex: 1;
	color: #fff;
	margin-right: 20px;
	padding: 0 10px;
}
.search-form__submit {
	font-family: Montserrat;
	font-weight: bold;
	text-transform: uppercase;
	padding: 5px 40px;
	background-color: #da251c;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 19px;
}

.logo img {
	max-width: 100%;
	height: auto;
}

.top-sections {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    height: 60px;
}

@media (max-width: 1200px) {
	.header .menu > ul {
		flex-wrap: wrap;
	}
	.header .menu > ul>li {
		flex: 29%;
		height: 60px;
	}

    .header {
        height: 120px;
    }
    .header .menu > ul>li:nth-child(1) {
        order: 1;
    }
    .header .menu > ul>li:nth-child(2) {
        order: 4;
    }
    .header .menu > ul>li:nth-child(3) {
        order: 2;
    }
    .header .menu > ul>li:nth-child(4) {
        order: 3;
    }
    .header .menu > ul>li:nth-child(5) {
        order: 5;
    }
    .header .menu > ul>li:nth-child(6) {
        order: 6;
    }
    .header.fixed.scroll-top,
    .page.page--products .header {
        height: calc(120px + 60px);
    }
    .header.fixed.scroll-bottom.header-search {
        height: calc(120px + 42px);
    }
    .header.fixed.scroll-top.header-search {
        height: calc(120px + 60px + 42px);
    }
    .header .top-sections-wrapper,
    .header .search-bar {
        top: 120px;
    }
    .header.fixed.scroll-top .search-bar {
        top: calc(120px + 60px);
    }
}
@media (max-width: 767px) {

	.header .top .logo {
		-webkit-order: 1;
		-moz-order: 1;
		-ms-order: 1;
		-o-order: 1;
		order: 1;
	}
	.search-opener {
		-webkit-order: 2;
		-moz-order: 2;
		-ms-order: 2;
		-o-order: 2;
		order: 2;
		text-align: right;
		flex: 2;
	}
	.search-opener button {
		color: #000 !important;
	}

    .header.fixed.scroll-top .top-sections-wrapper,
    .page.page--products .header .top-sections-wrapper {
        opacity: 0;
		pointer-events: none;
    }

    .header,
    .header.fixed.scroll-top,
    .header.fixed.scroll-bottom.header-search,
    .header.fixed.scroll-top.header-search,
    .page.page--products .header {
        height: 60px;
    }
    .header.fixed.scroll-top .top-sections-wrapper {
        display: none;
    }
    .header .top-sections-wrapper,
    .header .search-bar {
        top: 60px;
    }
    .header.fixed.scroll-top .search-bar {
        top: 60px;
    }
    .header.black .menu > ul a {
        color: #000;
    }

    .header .top {
		background-color: #fff;
		padding-top: 10px;
		padding-bottom: 10px
	}

	.lang {
		display: none;
	}

	.header .top .menu {
		-webkit-order: 3;
		-moz-order: 3;
		-ms-order: 3;
		-o-order: 3;
		order: 3;
		flex: 2;
	}

	.header .menu > ul a {
		color: #000;
	}
	.header .menu > ul>li>a {
		flex: 100%;
		padding: 10px 0;
	}
	.top .menu > ul>li>a::after {
		border-top: .3em solid #000;
	}
	.header .menu > ul>li.selected {
		background-color: #da251c;
	}
	.header .menu > ul>li.selected a:not([href]):not([tabindex]):focus,
	.header .menu > ul>li.selected a:not([href]):not([tabindex]),
	.header .menu > ul>li.selected a:not([href]):not([tabindex]):focus,
	.header .menu > ul>li.selected a:not([href]):not([tabindex]):hover {
		color: #fff;
	}
	.header .menu > ul>li.selected a i::after {
		border-top: .3em solid #fff;
	}
	.page:not(.page--inner) .header .menu > ul > li.selected > ul a {
		color: #fff;
	}

	.selected > ul > li > ul a {
		color: #fff;
	}
	.header .menu > ul>li {
		flex-wrap: wrap;
	}
	.header .menu > ul > li > ul {
		position: relative;
		top: 0;
		left: 0;
		border-radius: 0;
		background-color: unset !important;
		box-shadow: unset;
	}
	.menu-opener {
		display: inline-block;
	}
	.header .menu > ul {
		display: none;
		position: absolute;
		width: 100%;
		left: 0;
		padding: 0;
		top: 60px;
		box-shadow: 0px 0px 90px 0px rgba(0, 0, 0, 0.14);
	}
	.menu {
		text-align: right;
	}
	.header .menu > ul li {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.header .menu > ul.open {
		display: flex;
		z-index: 90;
	}
	.header .menu > ul>li {
		flex: 100%;
		justify-content: flex-end;
		background-color: #fff;
		border-top: 1px solid #afafaf30;
		height: unset;
	}

	.search-form form {
		font-size: 12px;
		line-height: 12px;
	}
	.search-form__submit {
		padding: 5px 10px;
	}
}

@media (max-width: 575px) {
    .header {
		height: unset;
	}
}