/*временное правило*/
.menu-main img {
	width: 20px;
	max-height: 30px;
}
/*конец временное правило*/
/*.menu-main a:hover {
	color: #f54f00;
}*/
.relative {
	position: relative;
}

.button-open-wrapper {
	position: absolute;
}

.menu-main .menu-main-nav {
/*	display: none;*/
	display: flex;
	opacity: 0;
	visibility: hidden;
	transition: all .3s;
}

.open .menu-main-nav {
	display: flex;
	opacity: 1;
	transition: all .3s;
	visibility: visible;
	box-shadow: 0px 8px 20px #333;
}

.link-open-catalog {
	display: none;
}
.close-button {
	position: absolute;
	left: 20px;
  	top: 19px;
}
.close-button:before {
	content: '';
  position: absolute;
  width: 1.3vw;
  background-color: #fff;
  padding: 0.05vw;
  transform: rotate(0deg) scale(0);
  transition: transform .3s;

}
.close-button:after {
	content: '';
  position: absolute;
  width: 24px;
  background-color: #fff;
  padding: 1px;
  transform: rotate(0deg) scale(0);
  transition: transform .3s;
}
.opened .close-button:before {
	content: '';
  position: absolute;
  width: 18px;
  background-color: #fff;
  padding: 1px;
  transform: rotate(45deg) scale(1.0);
  transition: transform .3s;
}
.opened .close-button:after {
	content: '';
  position: absolute;
  width: 18px;
  background-color: #fff;
  padding: 1px;
  transform: rotate(-45deg) scale(1.0);
  transition: transform .3s;
}
img.desktop {
	transform: rotate(0deg) scale(1.0);
	transition: transform .3s;
}
.opened img.desktop {
	transform: rotate(90deg) scale(0);
	transition: transform .3s;	
}
div.close {
	position: absolute;
    right: 30px;
    width: 30px;
    height: 30px;
    background-color: #f54f00;
    z-index: 10;
    top: 30px;
    border-radius: 100%;
    cursor: pointer;
    opacity: 1;
    transition: all .3s ease-in-out;
}
div.close:hover {
	transform: scale(1.2);
	transition: all .3s ease-in-out;
	opacity: .7;
}
div.close:before {
	content: '';
  position: absolute;
  width: 20px;
  height: 3px;
  background-color: #fff;
  transform: rotate(45deg);
  top: 14px;
  right: 5px;
}
div.close:after {
	content: '';
  position: absolute;
  width: 20px;
  height: 3px;
  background-color: #fff;
  transform: rotate(-45deg);
  top: 14px;
  right: 5px;
}
.show-main-menu {
	background: #f54f00;
	color: #fff;
	border-radius: 4px;
	z-index: 4;
	font-size: 16px;
	display: flex;
	align-items: center;
	padding: 10px;
	position: relative;
}
@media (max-width: 1800px) {
	.show-main-menu {
		font-size: 14px;
	}
}
.show-main-menu img {
	width: 18px;
	margin: 0 10px;
}
@media (max-width: 1800px) {
	.show-main-menu img {
		width: 15px;
	}
}
.show-main-menu img.mobile {
	display: none;
}
.show-main-menu span {
	padding-right: 10px;
	font-weight: 700;
}

.menu-main {
	position: relative;
}
.menu-main-nav {
	display: flex;
	box-sizing: border-box;
	position: absolute;
	background-color: #ffffff;
	z-index: 10;
	width: 100%;
	min-height: 650px;
}

.menu-list {
	width: 316px;
	border-right: 1px solid #EAEEF1;
}

.menu-list-link {
	display: flex;
	align-items: center;
	padding: 18px 6px 18px 20px;
	font-size: 16px;
	gap: 10px;
	color: #333;
}
.menu-list-image-hover{
	display: none;
}
.menu-list .menu-list-image-dark {
	display: none;
}
.menu-list .active .menu-list-image-hover {
	display: block;
}
.menu-list .active .menu-list-image {
	display: none;
}
.main-nav-heading-mobile {
	display: none;
}
.item-child {
	display: none;
	position: absolute;
	top: 0;
	left: 316px;
    padding: 38px 20px 38px 38px;
    font-size: 16px;
	background-color: #fff;
}

.item-child a:hover {
	color: #999;
}

.item-child-wrapper {
	columns: 5;
}
.menu-level-three > .item-child-wrapper {
	display: flex;
	flex-direction: column;

}
.item-child-content {
	display: flex;
	flex-direction: column;
	break-inside: avoid;
	padding-right: 2px;
	margin-bottom: 26px;
}

.item-child-heading {
	font-weight: bold;
	font-size: 1vw;	
}

.child-content-heading {
	font-weight: bold;
	font-size: 16px;
	color: #333;
	padding: 0 0 20px 0;
}
.child-content-list {
	font-size: 16px;
}

.child-content-list-link {
	color:  #333333;
}

.child-content-list-item {
	padding:  5px 0;
}

.menu-list-item-wrap {
	margin-left: 38px;
}
.active .menu-list-item-wrap, .menu-list-item-wrap:hover {
	background-color: #f9f9f9;
}
.active .menu-list-link {
	color:  #f54f00;
}
.active .item-child {
	display: block;
	width: calc(100% - 316px);
}

.menu-main .icon-angle-right, #menu .icon-angle-right {
	display: none;
}
.item-child-content-wrapper {
	margin: 10px 0;
}

.img-sale {
	width: 25px;
}

@media screen and (max-width: 768px) {

	.menu-main {
		display: block;
		z-index: 100000;
	}
	.close-button {
		display: none;
	}
	.menu-list a:active, .menu-list a:hover {
		color: #fff;
	}
	.show-main-menu {
		font-size: 18px;
		background: none;
		text-transform: uppercase;
		margin-top: 8px;
		margin-left: 0;
		display: inline-flex;
	}
	.show-main-menu img.mobile {
		display: block;
	}
	.show-main-menu img.desktop {
		display: none;
	}
	.show-main-menu img {
		width: 21px;
		margin: 0 15px 0 0;
	}
	.open-m .menu-main .menu-main-nav {
		display: block;
		position: fixed;
		left: 100%;
		top: 57px;
		transition: left 0.3s;
		background-color: #333;
		color: #fff;
		padding: 15px;
		overflow-y: auto;
		height: calc(100% - 57px);
		min-height: unset;
		visibility: visible;
		opacity: 1;
	}
	.menu-list {
		width: 100%;
		max-width: 100%;
		font-size: 14px !important;
		border: none;
		height: calc(100% + 57px);
	}
	.active .menu-list-item-wrap {
		background-color: inherit;
		color: white;
	}
	.menu-list-link, .active .menu-list-link {
		display: inline-flex;
		font-size: 16.3px;
		width: 93%;
		color: #fff;
		padding: 5px 0;
	}
	.menu-list .active .menu-list-image-hover {
		display: none;
	}
	.menu-list .active .menu-list-image, .menu-list .menu-list-image {
		display: none;
	}

	.menu-list .menu-list-image-dark {
		display: block;
	}

	.menu-list-link img {
		width: 20px;
		max-height: 20px;
	}
	.menu-list-link span {
		width: 85%;
	}
	.menu-list-item {
		border-bottom: 1px solid #545454;
		padding: 7px 0;
	}
	.menu-list-item:last-child {
		border: none;
	}
	.menu-level-one .item-child {
		display: block;
		position: fixed;
		left: 100%;
		width: 100%;
		top: 57px;
		padding: 15px;
		height: calc(100% - 56px);
		color: #fff;
		background-color: #333;
		transition: left 0.3s;
		overflow: auto;

	}
	.main-nav-heading-mobile {
		display: inline-flex;
		align-items: center;
		width: 100%;
		padding: 10px 0 14px 0;
		margin-bottom: 6px;
		border-bottom: 1px solid #545454;
		color: #fff;
	}
	.main-nav-heading-mobile span {
		width: 80%;
		text-align: center;
		text-transform: uppercase;
		font-size: 18px;
	}
	.menu-main-nav .main-nav-arrow {
		font-size: 20px;
		width: 10%;
		text-align: center;
	}
	.item-child-wrapper {
		flex-direction: column;
		columns: unset;
	}
	.item-child-content {
		width: 100%;
		padding: 4px 0;
	}
	.item-child-content-wrapper {
		display: inline-flex;
		flex-direction: row;
		align-items: center;
		padding: 4px 0;
		border-bottom: 1px solid #545454;
		margin: 0;
	}
	.child-content-list {
		position: fixed;
		top: 57px;
		width: 100%;
		height: calc(100% - 56px);
		left: 100%;
		background-color: #333;
		padding: 15px;
		transition: left 0.3s;
		overflow: auto;
	}
	.icon-angle-right {
		padding: 0 5px;
		cursor: pointer;
		display: inline;
	}
	.child-content-heading {
		color: #fff;
		font-size: 16px;
		width: 95%;
		padding: 6px 0;
		font-weight: 400;
	}
	.child-content-list-item {
		padding: 4px 0;
		border-bottom: 1px solid #545454;
	}
	.child-content-list-link {
		font-size: 16px;
		color: #fff;
		display: block;
		padding: 6px 0;
	}
	/* .active > div > .icon-angle-right {
		color: #f54f00;
	} */

	.img-sale {
		width: 18px;
		margin-right: 5px;
	}

	.link-open-catalog {
		display: inline-block;
		padding: 0 5px;
		cursor: pointer;
		color: #fff;
		font-size: 21px;
		float: right;
		-webkit-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
		transform: translate(0, 10px);
	}

	.menu-level-two .menu-list-item {
		margin: 0;
	}

	.menu-level-two .item-child-content {
		margin: 0;
		padding: 0;
	}

	div.close {
		display: none;
	}

	/* Горизонтальное меню */

	header #menu .main-navigation>li .dropdown-menu {
		position: fixed;
		width: 100%;
		height: calc(100% - 56px);
		display: block;
		left: 100%;
		top: 56px;
		background-color: #333;
		margin: 0;
		padding: 15px;
		transition: left .3s ease-in-out;
		overflow-y: auto;
	}

	header #menu .main-navigation>li .dropdown-menu .main-nav-heading-mobile .icon-angle-left {
		width: 10%;
		text-align: center;
		font-size: 20px;
	}
	header #menu .main-navigation>li .dropdown-menu .main-nav-heading-mobile span {
		
	}
	header #menu .main-navigation>li .dropdown-menu>div.col-xs-12 {
		border-bottom: #545454 solid 1px;
	}
	header #menu .main-navigation>li .dropdown-menu>div.col-xs-12:last-child {
		border: none;
	}

}
