.nav {
	margin: 0;
	padding: 0;
}

.nav__item, .menu-item {
	position: relative;
	text-align: left;
}

.topNav {
	flex: auto;
	padding: 0 var(--hSpace);
}

.nav--topNavLvl1, .topNav .menu {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	max-width: 40em;
	margin-left: auto;
	margin-right: auto;
}

.nav__item--topNavLvl1, .topNav .menu-item {
	display: flex;
	align-content: stretch;
}

.nav__link--topNavLvl1, .topNav .menu-item > a {
	display: flex;
	flex: auto;
	padding: 4px 25px;
	align-items: center;
	justify-content: center;
	height: 70px;
	line-height: 1.25em;
	color: white;
	text-align: center;
	text-decoration: none;
	min-width: 5em;
	border: 2px solid transparent;
	border-width: 2px 0;
}

.nav__itemBox {
	flex: auto;
}

.nav__link--topNavLvl1.nav__link--active, .nav__item--topNavLvl1:hover .nav__link--topNavLvl1, .nav__link--topNavLvl1:focus, .topNav .menu-item:hover > a {
	background: rgba(5, 37, 82, 0.9);
	text-decoration: none;
	color: #fff;
	outline: none;
	border-bottom-color: var(--primColor);
}

.topNav .current-menu-item > a, .topNav .current-menu-parent > a {
	border-bottom-color: var(--primColor);
}

.submenu--topNavLvl1, .topNav .sub-menu {
	position: absolute;
	left: 0;
	top: 70px;
	width: 240px;
	background: rgba(5, 37, 82, 0.9);
	z-index: 5000;
	min-width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease-out;
	line-height: 1.2em;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.nav__link--topNavLvl2:before, .nav__link--ftrNavLvl2:before, .topNav .sub-menu a:before {
	content: "\f105";
	font-family: 'Font Awesome 5 Pro';
	font-weight: 700;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	min-width: 1.5em;
	display: inline-block;
	vertical-align: middle;
	line-height: 1em;
	margin-top: -1px;
	position: absolute;
	left: 25px;
	top: calc(11px + .25em);
}

.nav__link--topNavLvl2, .topNav .sub-menu a {
	display: block;
	padding: 11px 25px 11px 45px;
	color: white;
	text-decoration: none;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	font-size: .9375rem;
	font-weight: var(--fwB);
	line-height: 1.2em;
	height: auto;
	text-align: left;
	border-color: transparent !important;
}

.nav__link--ftrNavLvl2, .footer .sub-menu a {
	color: white;
	text-decoration: none;
	font-size: .9375rem;
	line-height: 1.2em;
}

.nav__link--topNavLvl2:hover, .sub-menu a:hover {
	background: rgba(0, 0, 0, 0.1);
	text-decoration: none;
	color: white;
}

.nav__item--topNavLvl1:last-child .submenu--topNavLvl1, .nav__item--topNavLvl1:nth-last-child(2) .submenu--topNavLvl1 {
	left: auto;
	right: 0;
}

.hasSubmenu:hover .submenu--menuLvl1, .hasSubmenu:hover .submenu--topNavLvl1, .menu-item-has-children:hover .sub-menu {
	opacity: 1;
	visibility: visible;
}

.menuBtn, .respNav, #dark {
	display: none;
}


/* responsivni menu */

.menuBtn, .respNav, #dark, .nav__openBtn {
	display: none;
}

@media (max-width: 960px) {
	.menuBtn {
		position: absolute;
		height: 70px;
		display: flex;
		align-items: center;
		justify-content: center;
		right: 0;
		top: 0;
		line-height: 14px;
		font-size: 15px;
		text-transform: uppercase;
		cursor: pointer;
		z-index: 200;
		transition: color .2s ease-out;
		transition-delay: .4s;
		width: 100px;
		color: white;
	}
	.menuBtn:focus {}
	.menuBtn:after {
		content: 'MENU';
		padding-left: 10px;
		font-weight: var(--fwB);
	}
	/*barva ikony*/
	.menuBtn em, .menuBtn span:after, .menuBtn span:before {
		background-color: white;
		background-clip: border-box;
	}
	.respNav {
		background: var(--secColor);
		padding-top: 70px;
		position: fixed;
		z-index: 150;
		right: 0;
		top: 0;
		bottom: 0;
		height: 100%;
		width: 96%;
		max-width: 360px;
		margin: 0;
		float: none;
		margin: 0;
		display: block;
		box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
		transform: translateX(105%);
		transition: transform .25s;
	}
	.respNavIn {
		max-height: calc(100vh - 70px);
		overflow: auto;
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-width: 0 0 1px 0;
	}
	.menu {
		padding: 0;
		margin: 0;
	}
	.respNav .menu-item > a {
		display: block;
		text-align: left;
		text-decoration: none;
		padding: 0;
		color: white;
		font-weight: var(--fwB);
		padding: 10px 25px;
		font-size: 1rem;
	}
	.respNav .menu-item-has-children > a {
		margin-right: 45px;
	}
	.respNav .nav__link:hover {
		color: var(--primColor);
		text-decoration: none;
	}
	.respNav .menu-item {
		border: 1px solid rgba(255, 255, 255, 0.1);
		border-width: 1px 0 0 0;
	}
	.respNav .submenu {
		display: none;
		margin: 0;
		padding: 0 0 12px 15px;
	}
	.respNav .sub-menu .menu-item > a {
		font-weight: var(--fwN);
		padding-top: 7px;
		padding-bottom: 7px;
		font-size: .9375rem;
	}
	.respNav .sub-menu {
		margin: 0;
		padding: 0;
	}
	.respNav .submenu .nav__link {
		text-transform: none;
		font-weight: var(--fwL);
		padding: 10px;
	}
	.respNav .hasSubmenu > .nav__itemBox {
		position: relative;
		padding-right: 40px;
	}
	.nav__openBtn {
		position: absolute;
		z-index: 5;
		right: 0;
		top: 0;
		cursor: pointer;
		width: 40px;
		height: 47px;
		text-align: center;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.nav__openBtn:before {
		content: "\f107";
		font-family: Font Awesome\ 5 Pro;
		-moz-osx-font-smoothing: grayscale;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		font-style: normal;
		font-variant: normal;
		text-rendering: auto;
		line-height: 1;
		font-size: 14px;
		height: 36px;
		width: 36px;
		background: rgba(0, 0, 0, 0.25);
		color: white;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.respNav .showSubmenu > .nav__itemBox .nav__openBtn:before, .respNav .hasSubmenu .nav__openBtn:hover:before, .respNav .hasSubmenu .nav__openBtn:focus:before {
		color: white;
		background: var(--primColor);
	}
	.respNav .showSubmenu > .nav__itemBox .nav__openBtn:before {
		transform: rotate(180deg);
	}
	.respNav .showSubmenu > .nav__link {
		color: var(--primColor);
	}
	.respNav .showSubmenu > .submenu {
		display: block;
	}
	.nav__item--home {
		display: none;
	}
	#dark {
		position: fixed;
		z-index: -100;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, .4);
		visibility: hidden;
		opacity: 0;
		transition: opacity .5s ease-out;
	}
	/*MENU IKONA*/
	.menuBtn span {
		display: block;
		vertical-align: middle;
		width: 20px;
		position: relative;
		height: 16px;
		overflow: hidden;
	}
	.menuBtn em {
		display: block;
		height: 2px;
		margin: 7px 0 0 0;
		width: 16px;
		transition: width .2s, background-color .2s;
	}
	.menuBtn span:after, .menuBtn span:before {
		display: block;
		height: 2px;
		content: " ";
		width: 100%;
		position: absolute;
		left: 0;
		top: 0;
		transition: all .15s;
		transition-delay: .2s;
		transform-origin: 50% 50%;
	}
	.menuBtn span:before {
		top: auto;
		bottom: 0;
	}
	/* vysunuti menu */
	/* barva ikony*/
	/*
	.menuOn .menuBtn em, .menuOn .menuBtn span:after, .menuOn .menuBtn span:before {
		background-color: var(--primColor);
	}*/
	/*barva tlacitka*/
	/*
	.menuOn .menuBtn {
		background: transparent;
		border-color: transparent;
		color: var(--primColor);
	}
	*/
	.menuOn .menuBtn em {
		width: 0;
	}
	.menuOn .menuBtn span:after {
		top: 7px;
		transform: rotate(45deg);
	}
	.menuOn .menuBtn span:before {
		bottom: 7px;
		transform: rotate(-45deg);
	}
	.menuOn #dark {
		z-index: 101;
		display: block;
		visibility: visible;
		opacity: 1;
	}
	.menuOn .respNav, .respNav:focus, .respNav:focus-within {
		transform: translateX(0);
	}
}

@media (max-width: 374px) {
	.menuBtn {
		width: 50px;
	}
	.menuBtn:after {
		display: none;
	}
}
