.navigation ul.menu>li:last-child {
	margin-right: 0px
}
/* .navigation ul.menu>li {
    margin-right: 50px;
} */
@media screen and (max-width: 1440px) {
	.navigation ul.menu>li {
		margin-right: 40px
	}
}
@media screen and (min-width: 1200px) {
	@keyframes nav-animation {
		0% {
			margin-top: 30px;
			opacity: 0
		}
		100% {
			margin-top: 0;
			opacity: 1
		}
	}
	.desktopDevice .navigation ul.menu li:hover,
	.touchDevice .navigation ul.menu li.hovered {
		overflow: visible
	}
	.desktopDevice .navigation ul.menu li:hover>ul,
	.touchDevice .navigation ul.menu li.hovered>ul {
		animation: nav-animation 300ms ease;
		display: block
	}
	.touchDevice .navigation ul.menu li.has-sub>a {
		pointer-events: none
	}
	.touchDevice .navigation ul.menu li.has-sub.hovered>a {
		pointer-events: auto
	}
	.menu-back,
	.menu>li>.toggle-submenu {
		display: none !important
	}
	.navigation .desk-hide {
		display: none
	}
	.navigation-open.btn,
	.navigation-close {
		display: none
	}
	.navigation {
		position: relative;
		height: auto !important;
	}
	.navigation ul {
		list-style: none;
		padding: 0;
		margin: 0
	}
	.navigation ul.menu {
		font-size: 18px;
		font-weight: 500;
		display: flex;
		flex-wrap: wrap;
		position: relative;
		z-index: 3;
	}
	.navigation ul.menu ul {
		display: none
	}
	.navigation ul.menu ul {
		position: absolute;
		background: #fff;
		z-index: 5;
		top: 100%;
		left: 0;
		display: block;
		pointer-events: auto;
		line-height: 24px;
		padding: 5px 0;
		border: 1px solid #ddd;
		border-radius: var(--radius-10);
		min-width: 250px;
		font-weight: 400;
		font-size: 14px
	}
	.navigation ul.menu li {
		position: relative;
		overflow: hidden;
		color: #fff
	}
	.navigation ul.menu>li {
		z-index: 2;
		text-align: left
	}
	.navigation ul.menu>li {
		margin-right: 50px
	}
	.navigation ul.menu>li>a {
		line-height: 22px;
		padding: 22px 0;
		color: var(--white-color);
		position: relative;
		z-index: 1;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		align-content: center;
		justify-content: center
	}
	.navigation ul.menu ul li {
		padding: 5px 10px;
	}
	.navigation ul.menu ul li a {
		display: block;
		padding: 5px 10px;
		color: var(--text-color);
		border-radius: 5px;
	}
	.navigation ul.menu ul li ul {
		left: 100%;
		top: -6px
	}
	.header.sticky .header-top ul.menu>li>a {
		padding: 19px 0;
	}
	.header-navigation ul.menu>li>a {
		padding-inline: 20px;
		position: relative;
		z-index: 1;
	}

	.header-navigation ul.menu>li {
		margin-right: 10px;
	}

	.header-navigation ul.menu>li>a:before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		top: 10px;
		right: 0;
		bottom: 10px;
		background: #fff;
		z-index: -1;
		opacity: 0;
		border-radius: 50px;
		transition: all 0.5s ease;
	}

	.header-navigation ul.menu>li.selected>a:before,
	.header-navigation ul.menu>li:hover>a:before {
		opacity: 0.2;
	}
	.header-top ul.menu>li>a {
		position: relative;
		z-index: 1;
	}

	.header-top ul.menu>li>a:before {
		content: "";
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 16px;
		height: 2px;
		background: currentColor;
		opacity: 0;
		transition: all 0.5s ease;
	}

	.header-top ul.menu>li:hover>a:before,
	.header-top ul.menu>li.selected>a:before {
		opacity: 1;
	}
	li:has(>.menu-back) {
		display: none;
	}
	.navigation ul.menu ul li:hover > a,
	.navigation ul.menu ul li.selected > a {
		background: var(--primary-color);
        color: #fff;
	}
}

@media screen and (min-width: 1200px)and (max-width: 1439px) {
	.navigation ul.menu {
		font-size: 16px
	}
	.navigation ul.menu>li {
		margin-right: 36px
	}
	.header-navigation ul.menu>li {
		margin-right: 0;
	}
	.header-navigation ul.menu>li>a {
		padding-inline: 18px;
	}
}

@media screen and (max-width: 1199px) {
	.header:after {
		content: "";
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		top: 90px;
		height: calc(100% - 90px);
		background: rgba(0, 0, 0, .7);
		z-index: 9;
		cursor: pointer;
		opacity: 0;
		visibility: hidden;
		transition: all .5s ease;
		-webkit-transition: all .5s ease
	}

	.navigation {
		position: fixed;
		top: 90px;
		left: 100%;
		width: 316px;
		height: calc(100% - 90px);
		overflow: auto;
		background: #f6f6f3;
		-webkit-overflow-scrolling: touch;
		z-index: 10;
		display: block !important;
		transition: all .5s ease;
		-webkit-transition: all .5s ease;
		padding: 10px 0;
        border-top: 1px solid #ddd;
	}

	.navigation-open {
		line-height: 1;
		width: 24px;
		height: 24px;
		color: var(--text-color);
		margin-left: var(--gap);
		cursor: pointer;
		display: inline-flex;
		flex-wrap: wrap;
		vertical-align: top;
		align-items: center;
		justify-content: center;
		text-align: center
	}

	.navigation-open:before {
		opacity: 1
	}

	.navigation-open span {
		display: inline-block;
		vertical-align: middle;
		width: 100%;
		height: 3px;
		background: currentColor;
		margin: 0;
		position: relative;
		pointer-events: none;
		border-radius: 10px;
		-webkit-border-radius: 10px;
	}

	.navigation-open span:before,
	.navigation-open span:after {
		content: "";
		display: block;
		width: 100%;
		height: 100%;
		background: currentColor;
		position: absolute;
		left: 0;
		top: -7px;
		border-radius: 10px;
		-webkit-border-radius: 10px;
		transition: none;
		-webkit-transition: none
	}
	.navigation ul.menu>li {
        margin-left: 0;
    }
	.navigation-open span:after {
		top: 7px
	}

	.navigation ul {
		list-style: none;
		padding: 0;
		margin: 0
	}

	.navigation ul.menu {
		font-size: 16px;
		font-weight: 400;
		z-index: 6;
		text-align: left;
		width: 100%;
	}

	.navigation ul.menu>li {
		width: 100%;
	}

	.navigation ul.menu li {
		position: relative;
		padding: 5px 15px;
	}

	.navigation ul.menu li a,
	.navigation ul.menu li .menu-back {
		padding: 10px 35px 10px 15px;
		color: var(--text-color);
		display: block;
		line-height: 20px;
		border-radius: 5px;
	}

	.navigation ul.menu li .menu-back {
		padding-inline: 0;
		cursor: pointer;
		border-radius: 0;
		border-bottom: 1px solid #ddd;
		margin-bottom: 10px;
	}

	.navigation ul.menu li .menu-back:before {
		content: "";
		display: inline-block;
		vertical-align: middle;
		margin: -3px 5px 0 2px;
		line-height: 1;
		width: 8px;
		height: 8px;
		border: 2px solid #40424d;
		border-width: 0 0 2px 2px;
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg)
	}

	.navigation ul.menu li .btn {
		padding: 0;
		color: #fff;
		display: inline-flex;
		width: 100%;
		margin-top: 20px;
		position: static
	}

	.navigation ul.menu li.show-mobile {
		border-bottom: none
	}

	
	.navigation ul.menu li.selected > .toggle-submenu {
		color: #fff;
	}
	.navigation ul.menu li.selected>a {
		background: var(--primary-color);
        color: #fff;
	}

	.navigation ul.menu li ul {
		transition: all .5s ease;
		-webkit-transition: all .5s ease;
		background: #f6f6f3;
		position: fixed;
		right: 0;
		z-index: 1;
		margin-right: -316px;
		width: 316px;
		top: 90px;
		height: calc(100% - 90px);
		overflow: scroll;
		-webkit-overflow-scrolling: touch;
		padding: 0;
		border-top: 1px solid #ddd;
	}

	.navigation ul.menu li ul.show {
		margin-right: 0
	}

	.navigation-close {
		padding: 0;
		position: absolute;
		right: 15px;
		top: 15px;
		z-index: 11;
		width: 20px;
		height: 17px;
		background: none;
		border: none
	}

	.navigation-close:before,
	.navigation-close:after {
		content: "";
		display: block;
		width: 100%;
		height: 3px;
		background: var(--text-color);
		position: absolute;
		left: 0;
		top: 50%;
		margin-top: -2px;
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg)
	}

	.navigation-close:after {
		transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg)
	}

	body.menu-action {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh !important;
		max-height: 100vh !important;
		overflow: hidden
	}

	body.menu-action .navigation {
		margin-left: -316px;
		align-content: flex-start;
	}

	body.menu-action .navigation-open:before {
		opacity: 0
	}

	body.menu-action .header:after {
		opacity: 1;
		visibility: visible
	}

	.toggle-submenu {
		align-items: center;
		justify-content: flex-end;
		width: 24px;
		height: 24px;
		position: absolute;
		top: 14px;
		right: 30px;
		color: var(--text-color);
		margin-right: 2px;
		display: flex;
		flex-wrap: wrap;
		cursor: pointer;
	}

	.toggle-submenu:before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		border: 2px solid currentColor;
		border-width: 2px 2px 0 0;
		transform: rotate(45deg);
		-webkit-transform: rotate(45deg)
	}
	.menu-action .navigation-open span:before {
		top: 0;
		transform: rotate(45deg);
	}
	.menu-action .navigation-open span:after {
		top: 0;
		transform: rotate(-45deg);
	}
	.menu-action .navigation-open span {
		background: transparent;
	}
}
@media screen and (max-width: 767px) {
	.navigation ul.menu {
		font-size: 14px
	}

	.navigation-open span {
		height: 2px
	}

	.navigation-open span:before {
		top: -8px
	}

	.navigation-open span:after {
		top: 8px
	}
	.header:after {
		top: 80px;
		height: calc(100% - 80px);
	}
	.navigation {
		top: 80px;
		height: calc(100% - 80px);
	}
	.navigation ul.menu li ul {
		top: 80px;
		height: calc(100% - 80px);
	}
}
@media screen and (max-width: 359px) {
	.navigation {
		width: 100%;
	}
	body.menu-action .navigation {
		margin-left: -100%;
	}
	.navigation ul.menu li ul {
		width: 100%;
		margin-right: -100%;
	}
}