.header-two {
	padding-top: 0;
	padding-bottom: 0;
}

nav.header-two ul {
	margin: 0;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
}

.header-menu>li {
	position: relative;
}

.header-menu>li>a {
	display: flex;
	padding: 24px;
}

.header-menu .current-menu-item>a,
.header-menu .current-menu-parent>a {
	color: #DC3545 !important;
}

.menu-item-has-children>a {
	display: flex !important;
	align-items: center;
	gap: 10px;
}

.header-menu .menu-item-has-children>a::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='%23555c66'%3E%3Cpath d='M169.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 274.7 54.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
	width: 12px;
	height: 12px;
	margin-top: -7px;
}

.header-menu .current-menu-parent>a::after,
.header-menu .menu-item-has-children>a:hover::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='%23DC3545'%3E%3Cpath d='M169.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 274.7 54.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
}

.header-menu>li:first-child>a {
	padding-left: 0px;
}

.header-menu>li:last-child>a {
	padding-right: 0px;
}

.header-menu>li>.sub-menu {
	margin-top: 0px;
}

.header-menu .fa,
.header-menu .sub-menu .fa {
	margin-left: 5px;
	color: inherit;
}

.header-menu .sub-menu {
	position: absolute;
	z-index: 5;
	min-width: 200px;
	width: max-content;
	background: white;
	border-top: 1px solid #CBCBCC;
	border-left: 1px solid #CBCBCC;
	border-right: 1px solid #CBCBCC;
	visibility: hidden;
	opacity: 0;
	transform-origin: 0% 0%;
	transform: rotateX(-90deg);
	transition: .3s linear;
}

.header-menu .sub-menu li {
	position: relative;
}

.header-menu .sub-menu li a {
	color: #282828;
	padding: 10px 20px;
	font-size: 16px;
	border-bottom: 1px solid #c1c1c1;
	display: block;
	margin: 0;
}

.header-menu .sub-menu li>a:hover {
	background-color: #fbfbfb;
}

.header-menu .sub-menu .sub-menu {
	position: absolute;
	left: 100%;
	top: -1px;
	transition: .3s linear;
}

.header-menu li:hover>.sub-menu {
	transform: rotateX(0deg);
	visibility: visible;
	opacity: 1;
}

.burger-menu {
	display: none;
	flex-direction: column;
	position: relative;
	width: 31px;
	height: 26px;
	/* border: 1px solid green; */
	cursor: pointer;
	justify-content: space-evenly;
	align-items: center;
}

.burger-line {
	width: 80%;
	height: 2px;
	background-color: #555c66;
	transition: all .3s ease;
}

.burger-line__middle {
	width: 100%;
}

.burger-menu__active .burger-line {
	position: absolute;
	width: 100%;
}

.burger-menu__active .burger-line__middle{
	opacity: 0;
}

.burger-menu__active .burger-line__top{
	transform: rotate(135deg);
}
.burger-menu__active .burger-line__bottom{
	transform: rotate(45deg);
}

@media(max-width:991px){
	.header-two {
		/* display: none; */
		flex-direction: column;
		align-items: center;
		position: fixed;
		inset: 0;
		max-width: 320px;
		margin: 0;
		background-color: #fff;
		box-shadow: 20px 0px 36px -10px rgba(0, 0, 0, 0.36);
		overflow-x: hidden;
		overflow-y: auto;
		gap: 25px;
		padding-top: 30px;
		padding-bottom: 30px;
		transform: translateX(-200%);
		transition: transform .5s ease;
	}

	.header-two > * {
		display: flex;
		flex-direction: column;
		width: 100%;
	}

	.header-two .header-logo,
	.header-two .header-phone {
		text-align: center;
	}

	.header-two .header-menu {
		justify-content: normal !important;
	}

	.header-two .header-menu > .menu-item {
		width: 100%;
	}

	.header-two .header-menu a {
		padding: 5px 10px !important;
		margin: 0;
		display: flex;
		/* align-items: center;
		justify-content: center; */
		border-bottom: 1px solid #e7e7e7;
	}

	.header-two .header-menu li>.sub-menu {
		position: relative;
		margin: 0;
		width: 100%;
		background: #f7f7f7;
		border-left: 0;
		border-right: 0;
		border-top: 0;
		transform: scaleY(0);
		height: 0;
		transition: all .5s ease;
		display: flex;
		flex-direction: column;
	}

	.header-two .header-menu li>.sub-menu__active {
		transform: scaleY(1);
		height: max-content;
		opacity: 1;
		visibility: visible;
	}

	.header-two__active {
		display: flex;
		transform: translateX(0);
	}

	.burger-menu {
		display: flex;
		z-index: 9;
	}
	
	.header-first .header-buttons,
	.header-first .header-phone {
		display: none !important;
	}
}