.nav-container {
	position: sticky;

	width: 100%;
	z-index: 1010;
	top: 0;
}

.nav {
}

.nav-desktop {
	display: block;
}

.nav-mobile {
	display: none;
}

.top-bar {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	background-color: var(--primary-color);
	top: 0;
}

.top-bar-content {
	max-width: 1200px;
	width: 100%;
	color: white;
	display: flex;
	flex-wrap: nowrap;
	padding: 0.5rem;
	align-items: center;
	justify-content: flex-end;
}

.top-bar-item {
	padding: 0 var(--padding);
}

.top-bar-item.search {
	display: flex;
	flex-wrap: nowrap;
}

.top-bar-item.search > .searchform {
	max-width: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.top-bar-item.search > .searchform.active {
	flex-wrap: nowrap;
	max-width: 200px;
}

.top-bar-item.search > .searchform > div {
	display: flex;
	flex-wrap: nowrap;
}

.top-bar-item.search > .searchform > div > input {
	width: 100%;

	padding: 0.5rem !important;
	border: none;
	border-radius: 5px 0 0 5px !important;
	margin: 0;
}

.top-bar-item.search > .searchform > div > input[type="submit"] {
	cursor: pointer;
	line-height:16px;
	width: fit-content;
	border-radius: 0 5px 5px 0 !important;
}

#search-icon {
	cursor: pointer;
	display: inline-flex;
	align-items:center;
}

.gradient-bar {
	background: linear-gradient(90deg, var(--grad1-color) 0%, var(--grad2-color) 100%);
	width: 100%;
	height: 5px;
}

.bottom-bar {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 100px;
	background-color: white;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.bottom-bar-menu {
	flex-grow: 1;
	height: 100%;
}

.bottom-bar-logo > a > img {
	height: 100%;
	max-height: 70px;
	margin-right: var(--padding);
}

.bottom-bar-content {
	width: 100%;
	max-width: 1200px;
	background-color: white;
	display: flex;
	flex-wrap: nowrap;
	padding-left: var(--padding);
	padding-right: var(--padding);
	align-items: center;
	justify-content: space-between;
}

.header-menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}

.header-menu > li {
	padding: 0 var(--padding);
	height: 100%;
}

.menu-item {
	width: 100%;
}

.menu-main-menu-container {
	height: 100%;
}
.menu-main-menu-container > ul,
.menu-main-menu-container > ul > li {
	display: flex;
	flex-wrap: nowrap;
	list-style: none;
	position: relative;
	height: 100%;
	margin: 0;
	cursor: pointer;
	justify-content: space-around;
}

.menu-main-menu-container > ul::marker {
	font-size: 0;
	width: 0;
	height: 0;
	overflow: hidden;
	display: none;
	color: white;
}

/* hide ul markers for iphone */
.menu-main-menu-container > ul {
	list-style: none;
	list-style-type: none;
}

.menu-main-menu-container > ul > li {
	list-style-type: none;
}

.menu-main-menu-container > ul > li::marker {
	font-size: 0;
	width: 0;
	height: 0;
	overflow: hidden;
	display: none;
	color: white;
}

.menu-main-menu-container > ul {
}
.menu-main-menu-container > ul > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	color: black;
	text-decoration: none;
	line-height: 4rem;
	white-space: nowrap;
}

.menu-main-menu-container > ul > li:not(:has(.sub-menu)) > a:hover {
	color: var(--secondary-color);
	/* text-decoration: underline; */
	cursor: pointer;
}

.menu-item:has(ul)::after {
	border-style: solid;
	border-width: 0.15em 0.15em 0 0;
	content: "";
	display: inline-block;
	height: 0.45em;
	left: 0.55em;
	position: relative;
	top: 1.55em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.45em;

	transform: rotate(135deg);
}

.sub-menu {
	display: none;
}

.menu-main-menu-container > ul > li:hover > .sub-menu > li {
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.menu-main-menu-container > ul > li:hover > .sub-menu > li:last-child {
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.menu-main-menu-container > ul > li:hover .sub-menu > li:hover {
	color: var(--secondary-color);
	cursor: pointer;
}

.menu-main-menu-container > ul > li:hover .sub-menu > li:not(:last-child) {
	border-bottom: 1px solid var(--primary-color);
}

.hamburger {
	display: none;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
	transition-delay: 10ms;
}

@media screen and (min-width: 920px) {
	.menu-main-menu-container > ul > li:hover .sub-menu {
		display: block;
		position: absolute;
		background-color: white;
		top: 100%;
		width: 100%;
		padding: 0;
		left: 0;
		transform: translate(-25%, 0);
	}

	.menu-main-menu-container > ul > li:hover .sub-menu > li {
		background-color: white;

		padding: 0rem 2rem;
		width: 100%;
		list-style: none;
		text-align: center;

		transition: all 0.3s ease;
		cursor: pointer;
	}

	.menu-main-menu-container > ul > li:hover .sub-menu > li > a {
		display: block;
		padding: 1rem 0;
	}
}

@media screen and (max-width: 1280px) {
	.header-menu {
		padding-left: 0;
	}
	.bottom-bar-content {
		padding-left: 0;
		padding-right: 0;
		justify-content: space-around;
	}

	.bottom-bar-logo > a > img {
		margin-right: 0;
	}

	.header-menu > li {
		padding: 0 1rem;
	}

	.bottom-bar-menu {
		flex-grow: 0;
	}
}

@media screen and (max-width: 968px) {
	.nav-desktop {
		display: none;
	}

	.nav-mobile {
		display: block;
	}

	.nav-container {
		position: sticky;
		top: 0 !important;
	}

	.hamburger {
		display: block;
	}

	.hamburger-line {
		width: 30px;
		height: 3px;
		background-color: var(--primary-color);
		margin: 5px;
	}

	.hamburger-line:first-child {
		margin-top: 0;
	}

	.hamburger-line:last-child {
		margin-bottom: 0;
	}

	.top-bar-content {
		flex-wrap: wrap;
		padding: 0;
	}

	.mobile-menu {
		display: none;
	}

	.mobile-menu.active {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: calc(100vh - 90px);
		background-color: white;
		/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); */
		z-index: 1100;
	}

	.bottom-bar-menu {
		overflow: scroll;
	}

	.header-menu {
		flex-wrap: wrap;
		justify-content: center;
		padding: 0;
	}

	.menu-main-menu-container > ul {
		flex-wrap: wrap;
		justify-content: center;
		align-content: space-around;
	}

	.menu-mobile-menu-container {
		height: 100%;
	}

	.menu-mobile-menu-container > ul {
		list-style: none;
	}

	.header-menu {
		height: 100%;
		list-style: none;
		align-content: flex-start;
	}

	.header-menu > li {
		width: 100%;
		flex-grow: 1;
		max-height: calc((100vh - 110px) / 6);
		justify-content: center;
		flex-direction: column;
		align-items: center;

		border-bottom: 1px solid var(--primary-color);
		overflow: hidden;
		padding: 0;
		transition: all 0.5s ease;
	}

	.header-menu > li > a {
		width: 100%;
		height: 100%;
		max-height: calc((100vh - 110px) / 6);
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
	}
	.menu-item:has(ul)::after {
		display: none;
	}

	.menu-item:has(ul) > a {
		position: relative;
	}

	.menu-item:has(ul) > a::after {
		border-style: solid;
		border-width: 0.15em 0.15em 0 0;
		content: "";
		display: inline-block;
		height: 0.45em;
		left: 0.55em;
		position: relative;
		top: -0.2rem;
		transform: rotate(-45deg);
		vertical-align: top;
		width: 0.45em;

		transform: rotate(135deg);
	}

	.sub-menu {
		background-color: #f1f1f1;
	}

	.header-menu > li:last-child {
		border-bottom: none;
	}

	.header-menu > li.active {
		max-height: fit-content;
	}

	.header-menu > li .sub-menu {
		max-height: 0;
		transition: all 0.5s ease;
	}

	.menu-item-has-children.active > .sub-menu {
		max-height: 100vh;
		transition: all 0.5s ease;
	}

	.menu-main-menu-container > ul > li {
		width: 100%;
		height: fit-content;
		justify-content: center;
		flex-direction: column;
		align-items: center;

		border-bottom: 1px solid var(--primary-color);
	}

	.menu-main-menu-container > ul > li:last-child {
		border-bottom: none;
	}

	.sub-menu {
		display: block;
		position: relative;
		list-style: none;
		padding-left: 0;
	}

	.sub-menu > li {
		width: 100%;
		padding: 2rem 0;
		text-align: center;
		text-decoration: none;
		border-bottom: 1px solid var(--primary-color);
	}

	.sub-menu > li:last-child {
		border-bottom: none;
	}

	.menu-item {
		width: 100%;
	}
}
