﻿/*------------------------------NAV-----------------------------*/


.mainMenu {
	position: sticky;
	width: 100%;
	top: 0;
	z-index: 300;
	background: var(--color-dark-bg);
	box-shadow: 0 2px 6px rgba(0,0,0,.18);
	background-position: center center;
	background-size: cover;
}

.menuInner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1900px;
	margin: 0 auto;
	padding: 12px 70px 10px;
}

.menulogo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.menulogo img {
	display: block;
	width: 360px;
	height: auto;
	top: -5px;
}

.navbar-custom {
	flex: 1 1 auto;
	margin: 0;
	border: 0;
	min-height: 0;
	padding-left: 40px;
}

.navbar-custom .navbar-inner {
	padding: 0;
}

.navbar-custom .nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	float: none;
	margin: 0;
}

.navbar-custom .nav:before,
.navbar-custom .nav:after {
	content: none;
	display: none;
}

.navbar-custom .nav > li {
	float: none;
	display: block;
}

.navbar-custom .nav > li > a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: var(--color-background-light);
	font-family: var(--font-main);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
	background: transparent;
}

.navbar-custom .nav > li > a:hover,
.navbar-custom .nav > li > a:focus,
.navbar-custom .nav > li.active > a {
	color: var(--color-light-accent);
	background: transparent;
	text-decoration: none;
}

.navbar-custom .nav > li > a:after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	background: var(--color-light-accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .2s ease;
}

.navbar-custom .nav > li > a:hover:after,
.navbar-custom .nav > li.active > a:after {
	transform: scaleX(1);
}

.navbar-custom .dropdown-menu {
	min-width: 190px;
	padding: 8px 0;
	border: 0;
	border-radius: 0;
	background: var(--color-background-light);
	box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.navbar-custom .dropdown-menu > li > a {
	padding: 9px 18px;
	color: var(--color-dark-bg);
	font-family: var(--font-main);
	font-size: 15px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.navbar-custom .dropdown-menu > li > a:hover,
.navbar-custom .dropdown-menu > li > a:focus {
	color: #fff;
	background: var(--color-accent);
}

.navbar-header {
	display: none;
	margin: 0;
}

.navbar-toggle {
	margin: 0;
	border: 2px solid var(--color-background-light);
	border-radius: 0;
	padding: 8px;
	background: transparent;
}

.navbar-header .icon-bar {
	background-color: var(--color-background-light);
}
.navbar-toggle:hover,
.navbar-toggle:focus {
	border-color: var(--color-light-accent);
	background: transparent !important;
}

.navbar-toggle:hover .icon-bar,
.navbar-toggle:focus .icon-bar {
	background-color: var(--color-light-accent);
}
.navbar-nav .btn {
	margin-left: 30px;
}
	#Subscribe {
	scroll-margin-top: 150px;
}
@media (min-width: 769px) and (max-width: 1250px) {
		#Subscribe {
	scroll-margin-top: 50px;
}
	.mainMenu {
	position:relative;
	}
		.menulogo img {
		width: 340px;
	}
.navbar-nav > li:has(.btn) {
		clear: both;
		float: none;
	display: block;
		width: 100%;
		margin: 10px 0px;
	}
	.navbar-nav .btn {
	margin: 0px 10%;
}
	.menuInner {
		flex-wrap: wrap;
		justify-content: center;
		padding: 14px 30px;
	}

	.menulogo {
		width: 100%;
		justify-content: center;
		margin-bottom: 8px;
	}

	.navbar-custom {
		width: 100%;
		flex: 0 0 100%;
		padding:0px;
	}

	.navbar-custom .nav {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}

	.navbar-custom .nav > li {
		flex: 0 0 auto;
	}

	.navbar-custom .nav > li > a {
		white-space: nowrap;
	}
}
@media(max-width: 768px) {
			#Subscribe {
	scroll-margin-top: 0px;
}
		.mainMenu {

	position:relative;
	}
	.menuInner {
		display: block;
		padding: 12px 18px;
	}

	.menulogo {
		width: 100%;
	}

	
		.menulogo img {
		display: block;
		width: 380px;
		max-width: calc(100vw - 100px);
		height: auto;
		margin: 0 auto;
	}

	.navbar-header {
		display: block;
	}

	.navbar-custom {
		width: 100%;
		margin-top: 15px;
	}

	.navbar-collapse {
		width: 100%;
		padding: 0;
		border: 0;
		box-shadow: none;
	}

	.navbar-custom .nav {
		display: block;
		width: 100%;
		margin: 0;
		text-align: center;
	}

	.navbar-custom .nav > li {
		display: block;
		width: 100%;
	}

	.navbar-custom .nav > li > a {
		padding: 13px 10px;
		font-size: 18px;
		text-align: center;
	}

	.navbar-custom .nav > li > a:after {
		display: none;
	}

	.navbar-custom .dropdown-menu {
		position: static;
		float: none;
		width: 100%;
		box-shadow: none;
		text-align: center;
		background: #f8f8f8;
	}

	.navbar-custom .dropdown-menu > li > a {
		text-align: center;
	}
		.navbar-custom {
		width: 100%;
		margin-top: 0;
			padding: 0px;
		
	}
		.navbar-nav .btn {
	margin: 0px 10%;
}
}