.header {
	padding: 1.2rem 2rem;
	position: fixed;
	top: 10px;
	left: 20px;
	width: calc(100% - 40px);
	background: #444750;
	z-index: 99;
	border-radius: 40px;
	-webkit-box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
	@include transition(300ms);

	@media (max-width: 380px) {
		padding: 1.2rem 0rem;
	}

	@media (min-width: $lg) {
		width: 100%;
		top: 0;
		left: 0;
		padding: 1.6rem 0;
		border-radius: 0;
	}

	&__call {
		float: right;
		margin-right: 30px;
		margin-top: 9px;

		@media (max-width: 380px) {
			margin-right: 15px;
		}

		@media (min-width: $lg) {
			display: none;
		}
	}

	&.sticky {
		background: #444750;
	}

	&__logo {
		object-fit: contain;
		object-position: left center;
		float: left;
		height: 56px;
		width: auto;
		mix-blend-mode: lighten;

		@media (min-width: $lg) {
			height: 48px;
		}
	}

	&__burger {
		background-color: transparent;
		border: none;
		cursor: pointer;
		display: flex;
		padding: 0;
		float: right;
		position: relative;
		z-index: 10;

		@media (min-width: $lg) {
			display: none;
		}

		.line {
			fill: none;
			stroke: $white;
			stroke-width: 6;
			transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
				stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
		}
		.line1 {
			stroke-dasharray: 60 207;
			stroke-width: 6;
		}
		.line2 {
			stroke-dasharray: 60 60;
			stroke-width: 6;
		}
		.line3 {
			stroke-dasharray: 60 207;
			stroke-width: 6;
		}

		&.opened .line1 {
			stroke-dasharray: 90 207;
			stroke-dashoffset: -134;
			stroke-width: 6;
		}

		&.opened .line2 {
			stroke-dasharray: 1 60;
			stroke-dashoffset: -30;
			stroke-width: 6;
		}

		&.opened .line3 {
			stroke-dasharray: 90 207;
			stroke-dashoffset: -134;
			stroke-width: 6;
		}
	}

	.nav-main {
		float: right;
		display: none;
		position: fixed;
		right: 0;
		padding: 80px 15px 30px;
		max-width: 280px;
		top: 0;
		background: $primary;
		height: 100vh;

		@media (min-width: $lg) {
			height: auto;
			position: static;
			background: none;
			padding: 0;
			max-width: none;
			display: block !important;
		}

		.menu {
			float: left;
			margin: 0;
			padding: 0;

			&-item {
				float: left;
				padding: 0 0;
				width: 100%;
				margin-bottom: 0;

				@media (min-width: $lg) {
					width: auto;
					margin-bottom: 0;
					padding: 0 8px;
				}

				@media (min-width: $xl) {
					padding: 0 12px;
				}

				i.dropdown-arv {
					position: absolute;
					right: 15px;
					width: 12px;
					height: 12px;
					text-align: center;
					top: 43%;
					z-index: 5;
					border-top: 2px solid #d9d9d9;
					border-right: 2px solid #d9d9d9;
					transform: translateY(-50%) rotate(135deg);

					&.active {
						transform: rotate(-45deg);
					}
				}

				.dropdown-arv-cont {
					position: absolute;
					top: 0;
					right: 0;
					z-index: 5;
					width: 44px;
					height: 100%;

					@media (min-width: $lg) {
						display: none;
					}
				}

				&:before {
					display: none;
				}

				&:first-child {
					margin-left: 0;
				}

				&:last-child {
					margin-right: 0;
				}

				&.header__btn {
					a {
						font-size: 14px;
						padding: 9px 16px;
						line-height: 20px;
						background: $secondary;
						border: 1px solid $secondary;
						border-radius: 20px;

						&:hover {
							background: transparent;
							color: $secondary;
						}

						&:before {
							display: none;
						}
					}

					&.call {
						a {
							display: none;
							position: relative;
							padding: 9px 16px 9px 22px;
							border-color: rgba(255, 255, 255, 0.18);
							background: transparent;
							overflow: hidden;

							@media (min-width: $lg) {
								display: block;
								text-indent: -500px;
							}

							@media (min-width: $xl) {
								padding: 9px 16px 9px 48px;
								text-indent: 0;
							}

							&:before {
								display: block !important;
								content: ' ';
								width: 24px;
								height: 24px;
								position: absolute;
								left: 7px;
								top: 7px;
								background: url(./assets/icons/call.svg) no-repeat scroll center;

								@media (min-width: $xl) {
									left: 16px;
								}
							}

							&:hover {
								background: $white;
								color: $black;

								&:before {
									filter: invert(1);
								}
							}
						}
					}
				}

				a {
					font-family: $Lao;
					text-transform: uppercase;
					position: relative;
					font-weight: $normal;
					font-size: 1.5rem;
					float: left;
					color: $white;
					width: 100%;
					padding: 9px 0px;
					line-height: 2.2rem;

					@media (min-width: $lg) {
						color: $white;
						width: auto;
						font-size: 1.4rem;
					}

					@media (min-width: $xl) {
						font-size: 1.6rem;
					}

					&:before {
						content: ' ';
						width: 0;
						height: 2px;
						background: $white;
						position: absolute;
						bottom: 0;
						left: 0;
						@include transition(300ms);
					}

					&:hover {
						//background: $primary;
						color: $white;
						//font-weight: $bold;

						.dropdown-arv {
							border-color: $white;
						}

						&:before {
							width: 100%;
						}
					}
				}

				&.current-menu-item a,
				&.current-menu-parent > a {
					background: $primary;
					color: $white;
					//font-weight: $bold;

					&:before {
						width: 100%;
					}

					.dropdown-arv {
						border-color: $white;
					}
				}

				.sub-menu {
					display: none;
					width: 100%;
					padding-bottom: 10px;

					@media (min-width: $lg) {
						width: 240px;
						position: absolute;
						top: 100%;
						left: 0;
						background: $white;
						border-top: 2px solid $green;
						padding: 10px 0;
						box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.4);
					}

					&.active {
						@media (max-width: 991px) {
							display: block;
							float: left;
							width: 100%;
						}
					}

					.menu-item {
						margin: 0;

						a {
							color: $gray;
							width: 100%;
							padding: 3px 15px;
							font-weight: $normal;

							@media (min-width: $lg) {
								padding: 5px 15px;
							}

							&:hover {
								color: $green;
								background: transparent;
							}

							&:before {
								content: '-';
								display: none;
								padding-right: 5px;

								@media (max-width: 991px) {
									display: inline-block;
								}
							}
						}

						&.current-menu-item a {
							color: $green;
							background: transparent;
						}
					}
				}

				&:hover {
					.sub-menu {
						@media (min-width: $lg) {
							display: block;
						}
					}
				}
			}
		}
	}

	&__nav-col {
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}

	&__calling {
		display: inline-flex;
		align-items: center;
		background: $white;
		padding: 0.9rem;
		gap: 20px;
		border-radius: 10px;
		margin-right: 15px;

		@media (min-width: $lg) {
			margin-left: 10px;
			margin-right: 0px;
		}

		@media (min-width: $xl) {
			padding: 0.9rem 2rem;
		}

		@media (min-width: $xxl) {
			margin-left: 15px;
			padding: 0.9rem 3rem;
		}

		&-text {
			margin-bottom: 0;
			color: $dblue;
			font-family: $Inter;
			font-size: 18px;
			font-weight: 700;
			line-height: 26px;
			display: none;

			@media (min-width: $xl) {
				display: inline-block;
			}

			small {
				color: $dblue;
				font-family: $Inter;
				font-size: 13px;
				font-weight: 400;
				line-height: 19px;
				display: inline-block;
				margin-bottom: 5px;
				float: left;
				clear: both;
			}

			span {
				float: left;
				clear: both;
			}
		}
	}
}
