/* Header */

.header {
	margin-bottom: -1px;
}

header {
	background-color: #fff;
	display: flex;
	grid-template-columns: 1fr;
	height: 102px;
	width: 100%;
	justify-content: center;
	border-bottom: 1px solid rgba(9, 76, 105, 0.25);
	position: sticky;
	top: 0;
	z-index: 1000;
}

header * {
	font-size: var(--header-font-size) !important;
}

object {
	pointer-events: none;
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0px 20px;
	gap: 20px;
	max-width: var(--wrapper-width);
	background-color: #fff;
}

.header-side-content {
	display: flex;
	align-items: center;
	gap: 35px;
	/* padding-left: 20px; */
	opacity: 0;
}

.header-side-content > * {
	text-wrap: nowrap;
}

.header-side-content .btn-secondary {
	margin-left: 35px;
	color: #fff;
}

.header-side-content .nav-item {
	color: var(--text-gray);
	text-decoration: none;
	font-weight: 300;
}
.header-side-content .nav-item:hover,
.header-side-content .nav-item.active,
.dropdown.active,
.dropdown.active > svg {
	color: var(--color-secondary);
	fill: var(--color-secondary);
}

/* hamburger */

.header-inner .hamburger-btn {
	width: 24px;
	height: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-right: 10px;
	transition: 0.3s ease-in-out;
	cursor: pointer;
	margin-left: 40px;
}

.header-inner .hamburger-btn .bar {
	background-color: var(--color-primary);
	height: 3.5px;
	width: 100%;
	border-radius: 3px;
	transition: 0.3s ease-in-out;
}

.header-inner .hamburger-btn.open {
	transform: scale(1.2) rotate(90deg);
}
.header-inner .hamburger-btn.open .bar {
	height: 3px;
}

.header-inner .hamburger-btn.open .bar:nth-of-type(1) {
	transform: translateY(8.5px) rotate(45deg);
}

.header-inner .hamburger-btn.open .bar:nth-of-type(2) {
	opacity: 0;
	transform: rotate(30deg);
}

.header-inner .hamburger-btn.open .bar:nth-of-type(3) {
	transform: translateY(-8.5px) rotate(-45deg);
}

/* Hamburger content */
.header-side-content.hamburger {
	display: flex;
	flex-direction: column;
	background-color: #ffffff00;
	width: 100%;
	position: absolute;
	top: 72px;
	left: 0;
	gap: 0;
	margin: 0;
	pointer-events: none;
	transform: translateY(-100%);
	z-index: -1;
	transition: 0.4s;

	--header-font-size: 15px;
	--header-dropdown-font-size: 14px;
	overflow-y: scroll;
	height: 100vh;
	transition-delay: .1s !important;
}

.header-side-content.hamburger a {
	width: 100%;
}

.header-side-content.hamburger .only-show-in-hamburger, .touch-device .only-show-in-hamburger {
	display: block !important;
}

.header-side-content.hamburger.open {
	transform: translateY(0);
	z-index: -1;
	pointer-events: all;
	transition-delay: 0s !important;
}



.header-side-content.hamburger::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--hamburger-after-height, 0px);
	min-height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(2px);
	z-index: -1;
	opacity: 0;
	transition: .1s;
}

.header-side-content.hamburger.open::after {
	opacity: 1;
	transition-delay: .1s;
}

.header-side-content * {
	color: var(--text-gray);
}

.header-side-content.hamburger a {
	padding: 25px 30px;
	line-height: calc(var(--header-font-size) * 1.2);
	background-color: #fff;
	border-bottom: 1px solid #e6eaf7;
}

@media screen and (max-width: 1280px) {
	:root {
		/* --header-font-size: 12px;
		--font-size-text: 14px; */
	}
	header {
		height: 73px;
	}

	.header-inner {
		padding: 0 20px;
	}
	header img, header object, header svg:not(.chevron) {
		width: 205px;
	}
	header .header-side-content .btn-secondary {
		margin-left: 0;
	}
}

@media screen and (max-width: 380px) {
	header img, header object, header svg:not(.chevron) {
		width: 70%;
	}
	.header-inner .hamburger-btn {
		margin-left: 0px;
		min-width: 24px;
	}
}
