/* Grund-Einstellungen */
:root {
	/* Sub-Navi-Icon für den Desktop */
	--desktop_subNaviIcon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /%3E%3C/svg%3E" );
	/* Schriftgröße in der Navigation */
	--desktop_font-size: 15px;
	/* Hintergrund Farbe beim HOVER */
	--desktop_hover_background-color: #d4d4d4;
}
/* Navi-Name soll keinen Umbruch haben*/

html:not(.touch) .main-nav-item.has-children.current-parent-hover > .sub-menu {
	visibility: visible;
	opacity: 1;
	display: flex;
	flex-direction: column;
}
html:not(.touch) .main-nav-item.has-children > .nav-text-wrapper > .nav-name-wrapper > .nav-name::after {
	content: " ";
	background-image: var( --desktop_subNaviIcon );
	position: relative;
	margin-left: 4px;
	width: 12px;
	height: 12px;
	display: inline-block;
	color: var(--navi_top_text_color) !important;
}
/* Desktop */
@media screen /* and ( min-width: 1400px ) */ {
	html:not(.touch) .sub-2:not(.hover-class) .sub-menu .sub-3 {
		display: none;
	}
	html:not(.touch) .btn-resp-nav {
		display: none;
	}
	html:not(.touch) #main-nav {
		cursor: pointer;
	}
	html:not(.touch) .main-nav-item.has-children > .nav-text-wrapper > .nav-name-wrapper > .nav-name::after {
		content: " ";
		background-image: var( --desktop_subNaviIcon );
		position: relative;
		margin-left: 4px;
		width: 12px;
		height: 12px;
		display: inline-block;
	}

	html:not(.touch) .sub-2 .sub-menu {
		position: absolute;
		box-shadow: 1px 1px 8px gray;
	}
	html:not(.touch) .current-parent-hover {
		background-color: var( --navi_top_hover_bg_color );
	}
	html:not(.touch) .main-nav .nav-item.has-children > .sub-menu {
		display: flex;
		flex-direction: column;
	}
	html:not(.touch) .sub-3 .sub-menu {
		border-top: 0;
	}
	html:not(.touch) .main-nav-item.has-children.current-parent-hover > .sub-menu {
		visibility: visible;
		opacity: 1;
		z-index: 100000;
	}
	html:not(.touch) .sub-menu .nav-name-wrapper {
		width: 100%;
		padding: .1rem .5rem;
	}
	html:not(.touch) .nav-name-wrapper .nav-name {
		text-decoration: none;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}
}

/* Mobile */
html.touch header.header .nav-item {
	width: 100%;
}

@media screen and ( max-width: 1399.9px ) {
	.btn-resp-nav {
		display: block;
		position: absolute;
		top: .5rem;
		right: -1rem;
		cursor: pointer !important;
		z-index: 2;
		border: 0;
		background-color: transparent;
	}

	.btn-resp-nav {
		display: block;
		height: 40px;
		width: 26px;
		margin: auto 0;
		border: none;
		background-color: transparent;
		z-index: 3;
	}
	.btn-bar {
		width: 100%;
		height: 3px;
		background-color: var( --text-color );
		border-radius: 10px;
		position: absolute;
		left: 5%;
		transition: all 0.5s;
	}
	.btn-bar:nth-child( 1 ) {
		top: 20%;
	}
	.btn-bar:nth-child( 2 ) {
		top: 40%;
	}
	.btn-bar:nth-child( 3 ) {
		top: 60%;
	}
	.btn-resp-nav.click .btn-bar:nth-child( 2 ) {
		width: 32px;
		height: 32px;
		top: 0%;
		left: 0%;
		border-radius: 5%;
		background-color: transparent;
		opacity: .3;
		top: 1.5rem;
	}
	.btn-resp-nav.click .btn-bar:nth-child( 1 ) {
		transform: rotate( -45deg );
		top: 40%;
		border-radius: 10px;
	}
	.btn-resp-nav.click .btn-bar:nth-child( 3 ) {
		transform: rotate( 45deg );
		top: 40%;
		border-radius: 10px;
	}
	.nav-name::after {
		content: none;
	}
}

.screen-overlay {
	height: 100%;
	z-index: 30;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	background-color: rgba(34, 34, 34, 0.6);
	transition: opacity 0.2s linear, visibility 0.1s, width 1s ease-in;
}
.menu-active .screen-overlay {
	opacity: 1;
	width: 100%;
	visibility: visible;
}
html.touch .main-nav {
	position: fixed;
	top: 0;
	width: 80vw;
	height: 100vh;
	z-index: 1000;
	transition: all 0.6s ease;
	visibility: hidden;
}
html.touch .main-nav.active {
	visibility: visible;
	opacity: 1;
}

.navbar-collapse {
	display: none;
}
.show-menu {
	display: block;
	position: absolute;
	top: 3rem;
	z-index: 100000;
	background-color: var( --nav-bg-color );
}
.header.fixed-top.sticky-top {
	background-color: #fff;
	padding: .5rem 0;
	top: 0;
	transition: all 0.5s;
	width: 100%;
}
.nav-menu .toggle-btn {
	display: none;
}

.main-nav-list.float-end {
	flex-direction: row;
	display: flex;
}
.nav-item-referer span .ms-4.me-2 {
	margin-left: 0.2rem !important;
	margin-right: 0rem !important;
}
.nav-item.main-nav-item.sub-2.nav-item-referer {
	font-size: calc( var( --font-size ) * 1 );
	font-weight: 500;
	text-transform: uppercase;
	font-family: var( --font-family-body );
}
.nav-logo {
	position: relative !important;
	height: 100%;
}
.nav-menu {
	position:relative;
	display: flex;
	flex-direction: row-reverse;
	height:100%;
	z-index: 1000;
}
.js_shopbasket_icon a {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	padding-left: 0.75rem;
	font-size: 0.875rem;
	line-height: 1.5;
	margin-left: -8px;
	margin-right: 0px;
}
#shopbasket_button,
#member_button,
.nav-logo {
	display: grid;
	align-content: center;
}
.sub-2 .nav-name,
[data-id="member-menu-cms"] .sub-menu .nav-link {
	font-weight: 700;
	white-space: nowrap;
}
[data-id="member-menu-cms"] .sub-menu {
	text-decoration: none !important;
}
/* Individuale Search */
.search-wrapper button {
	width: auto;
}
.toggle-btn {
	top: 3px;
}
form.searchbox .btn {
	z-index: 2;
	padding: 3px 6px;
	transition: all .3s;
}
.fixed-header .searcharea.form-control.me-2 {
	z-index: 1;
}
.searchbox .searcharea {
	opacity: 1;
	visibility: visible;
	width: 200px;
	height: 37px;
	transition: all .7s;
}
.topbar {
	position: relative;
	height: auto;
	background-color: var( --body-bg-color );
	width: 100% !important;
	padding: 1rem;
	top: -10px;
}
.contacts-searchbox.d-flex {
	position: relative;
	float: right;
	margin-top: -3.5rem;
	transition: all .3s;
}
.search-wrapper form.searchbox svg path,
.fixed-header .search-wrapper form.searchbox svg path {
	fill: var( --button-text-color ) !important;
	transition: all .3s;
}
.form-control.me-2:focus-visible {
	width: 200px;
}
.form-control:focus{
	box-shadow: none;
}
.search-wrapper input {
	border-right: 0 !important;
	color: #273583 !important;
}
.search-wrapper input::placeholder {
	color: #273583 !important;
}
.col-12.col-sm-6.col-md-4.text-white.top-bar.d-flex {
	flex-direction: column;
}
.contacts-searchbox.d-flex {
	position: relative;
	transition: all .3s;
}
.search-wrapper {
	position: relative;
	transition: all .3s;
}
.contacts {
	position: relative;
	display: flex;
	flex-direction: row;
}
.contacts svg path {
	stroke: var( --secondary-color );
	stroke-width: 2px;
	fill: none;
}
.show-menu {
	width: 100vw;
	right: 0;
	visibility: visible;
	top: 0rem;
	z-index: -50;
}
@media screen and ( min-width:991px ) {
	span#user_name {
		display: inline-block;
		text-decoration: none;
	}
	.col-12.pt-3.pb-3.text-center {
		position: relative;
		margin-top: 0rem;
		top: 9rem;
	}
	.card.rounded-0.shadow-sm.product_list {
		position: relative;
		width: 100%;
		bottom: 0rem;
	}
}
@media screen and ( max-width: 540px ) {
	.col-12.col-sm-6.col-md-4.text-white.top-bar.d-flex {
		flex-direction: column-reverse !important;
		width: 100%;
		text-align: center;
	}
	.contacts-searchbox.d-flex {
		margin-top: -5.2rem !important;
	}
}
@media screen and ( max-width: 1400px ) {
	.show-menu {
		width: 100vw;
		right: 0;
		visibility: visible;
		top: 0rem;
		z-index: -50;
	}
	html.touch .main-nav {
		width: 40vw !important;
	}
}
@media screen and ( max-width: 800px ) {
	html.touch .main-nav {
		width: 50vw !important;
	}
}
@media screen and ( max-width: 645px ) {
	html.touch .main-nav {
		width: 87vw !important;
	}
	.topbar {
		top: 0px !important;
		padding: 0 1rem;
	}
	.search-wrapper {
		position: relative;
		top: 2px;
		transition: all .3s;
	}
	.nav-logo {
		position: relative !important;
		height: 100%;
	}
	header.header.fixed-top.sticky-top {
		height: 70%;
		top: 0;
		padding: 0 !important;
	}
	.show-menu {
		width: 100vw;
		right: 0;
		visibility: visible;
		top: 0rem;
		z-index: -50;
	}
}
@media screen and ( max-width: 910px ) {
	.search-wrapper form.searchbox svg path {
		fill: var( --primary-color );
	}
	form.searchbox.form-control,
	.fixed-header .searchbox.form-control {
		opacity: 1 !important;
		visibility: visible !important;
		width: 200px !important;
		border: 1px solid rgba( 0, 0, 0, .3 );
		border-right-color: transparent;
	}
	.form-control.me-2 {
		width: 200px;
		visibility: visible;
		opacity: 1;
		border: 1px solid rgba( 0, 0, 0, .3 );
	}
	#main-nav {
		font-size: var( --font-size );
	}
	.col-12.col-sm-6.col-md-4.text-white.top-bar.d-flex {
		flex-direction: row;
		width: 100%;
		justify-content: center;
	}
	.bg-gradiant.p-2.row.align-items-center.mx-auto .container {
		flex-direction: column;
	}
	.col-12.col-sm-6.text-center.order-sm-1.order-md-2 {
		width: 100%;
	}
	.col-12.text-white.top-bar.d-flex {
		flex-direction: row;
	}
}
@media screen and ( min-width: 450px ) and ( max-width: 645px ) {
	.contacts {
		top: -10px !important;
	}
	.search-wrapper {
		top: 3px !important;
	}
}
@media screen and ( max-width:450px ) {
	.form-control.me-2 {
		width: 150px !important;
	}
	.search-wrapper,
	.fixed-header .search-wrapper {
		/* right: 6rem !important; */
		max-width: 290px;
	}
	.contacts-searchbox.d-flex {
		top: -0.5em;
	}
	.search-wrapper {
		top: 3px !important;
		transition: all .3s;
	}
	.topbar {
		top: -3px !important;
	}
	header {
		position: absolute;
		left: 0;
		right: 0;
		z-index: 2;
		top: 0;
	}
}
.member-menu .d-block {
	top: 1px;
	position: relative;
}
.nav-item.main-nav-item.member-menu.sub-2.no-icon.has-children.border-start.ps-1.ms-1 {
	padding: 0rem 0;
	padding-left: 0px;
}
html.touch .main-nav {
	position: fixed;
	top: 0;
	width: 55vw;
	height: 100lvh;
	background: #ffffff;
	z-index: 1000;
	transition: all 0.6s ease;
	visibility: hidden;
	box-shadow: 0 0.5rem 1rem rgba( 0, 0, 0, .15 ) !important;
	overflow: hidden;
}

html.touch .main-nav-list.float-end {
	flex-direction: column;
	display: flex;
	float: left !important;
	transition: all.3s;
	position: absolute;
	display: block;
	height: 50px;
	width: 100%;
	margin: auto 0;
	margin-left: 0px;
	border: none;
	background-color: transparent;
	z-index: 3;
	padding: 5rem 1.5rem;
	height: auto;
	max-height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
}

html.touch .buttonDropdown {
	position:absolute;
	content: "";
	left: -25px;
	top: 2px;
	width: 1.3rem;
	height: 1.3rem;
	display: block !important;
	z-index: 2;
	cursor: pointer;
	background-position: center center;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23666666' d='M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z' /%3E%3C/svg%3E" );
	background-size: 15px 15px;
	background-repeat: no-repeat;
	border: 1.5px solid var( --primary-color );
	border-radius: 50px;
}
/*
html.touch .sub-3 .buttonDropdown {
	top: 10px;
}
*/
/*
html.touch .main-nav-item.sub-2 > .nav-text-wrapper > .nav-link-sub-2 .nav-name {
	color: var( --navi_top_text_color );
	font-weight: bold;
	font-size: calc( var( --font-size-h3 ) * .8 );
}
*/
html.touch .main-nav-item.sub-2 > .nav-text-wrapper > .navi-active.nav-link-sub-2 .nav-name {
	color: var( --button-text-color );
	font-weight: bold;
	font-size: calc( var( --font-size-h3 ) * .8 );
}

html.touch .main-nav-item.sub-2 > .nav-text-wrapper > .navi-active.nav-link-sub-2 .nav-name {
	color: var( --primary-color ) !important;
}

html.touch .sub-2 > .sub-menu {
	left: 0;
	width: 75%;
	margin-left: .5em;
	flex-direction: row;
	margin-bottom: .5rem;
}
html.touch .sub-2 > .sub-menu {
	width: 20rem !important;
}
html.touch .sub-2 > .sub-menu.open {
	position: relative;
}
html.touch .sub-3 > .sub-menu {
	display: none !important;
	transition: all .3s;
	margin-left: .5em;
}
html.touch .sub-3 > .sub-menu.open {
	display: block !important;
	position: relative;
}
html.touch .nav-item.main-nav-item.sub-3.no-icon.has-children.current-parent-hover .sub-menu.row.open {
	top: -1.5rem;
}
html.touch a.nav-link-sub-3 span span {
	font-weight: bold;
}
html.touch .sub-2 .sub-menu {
	display: none;
}
html.touch .sub-menu.open {
 display: block;
}
html.touch .nav-item.has-children {
	position: relative;
}

@media screen and ( max-width:1399px ) {
	.contacts-searchbox.d-flex {
		position: relative;
		float: left;
		margin-top: -4.5rem;
		transition: all .3s;
		top: 5.5rem;
		right: -16rem;
		flex-direction: row-reverse;
		z-index: 1;
	}
	.contacts {
		position: relative;
		display: flex;
		flex-direction: row;
		float: left;
		left: -16.5rem;
	}
	.topbar {
		top: -13px;
	}
	.contacts svg path {
		stroke: var( --button-text-color );
		stroke-width: 2px;
		fill: none;
	}
	.font-400.text-uppercase.d-inline-block {
		padding-top: 10px !important;
	}
	.fixed-header .search-wrapper svg path {
		fill: var( --primary-color );
	}
	.search-wrapper svg path {
		fill: var( --primary-color );
	}
	.search-wrapper,
	.fixed-header .search-wrapper {
		position: absolute;
		float: right;
		right: 2.5rem;
		z-index: 1;
	}
	.nav-item.has-children.sub-2:nth-last-child( 2 ) .sub-3 > .sub-menu,
	.nav-item.has-children.sub-2:nth-last-child( 3 ) .sub-3 > .sub-menu {
		top: -16px;
		line-height: .8;
		left: 1em;
	}
	.sub-2 > .buttonDropdown {
		top: 16px;
	}
	i.buttonDropdown.open ~ div ~ div ~ .show-list {
		left: 5rem;
	}
	.buttonDropdown.open,
	.nav-name-height>.buttonDropdown {
		transform: rotate( 180deg );
	}
	.sub-3 .sub-menu.open {
		margin-left: 2px;
	}
	#member_button .buttonDropdown {
		display: none !important;
	}
	.main-nav-item.sub-3 .nav-link {
		line-height: inherit;
		font-weight: 400;
	}
	/*
	a.nav-link.nav-link-sub-4 {
		margin-left: 1.5rem;
	}
	*/
	.border-start {
		border-left: 0px transparent !important;
	}
	/* Dropdown */
	.ul-item-height {
		margin-top: -1.5rem;
	}
	.show-menu,
	.show-list {
		opacity: 1;
	}
	.show-menu {
		width: 25rem;
		right: 0;
		visibility: visible;
		top: 0rem;
		z-index: -50;
	}
	.show-list {
		width: auto;
		margin-left: 3rem;
		margin-top: -1rem;
	}
	.nav-item.main-nav-item.member-menu.sub-2.no-icon.border-start.ps-1.ms-1 {
		border-left: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	.touch .main-nav-list.float-end {
		padding: 2.5rem 3rem;
	}
	/* Toggle-Button */
	.toggle-btn {
		position: relative;
		display: block;
		height: 40px;
		width: 26px;
		margin: auto 0;
		border: none;
		background-color: transparent;
		z-index: 3;
	}
	.btn-bar {
		width: 100%;
		height: 3px;
		background-color: var( --text-color );
		border-radius: 10px;
		position: absolute;
		left: 5%;
		transition: all 0.5s;
	}
	.btn-bar:nth-child( 1 ) {
		top: 20%;
	}
	.btn-bar:nth-child( 2 ) {
		top: 40%;
	}
	.btn-bar:nth-child( 3 ) {
		top: 60%;
	}
	.toggle-btn.click .btn-bar:nth-child( 2 ) {
		width: 32px;
		height: 32px;
		top: 0%;
		left: 0%;
		border-radius: 5%;
		background-color: transparent;
		opacity: .3;
		top: 1.5rem;
	}
	.toggle-btn.click .btn-bar:nth-child( 1 ) {
		transform: rotate( -45deg );
		top: 40%;
		border-radius: 10px;
	}
	.toggle-btn.click .btn-bar:nth-child( 3 ) {
		transform: rotate( 45deg );
		top: 40%;
		border-radius: 10px;
	}
	span#user_name {
		display: none;
	}
	.show-menu,
	.show-list {
		opacity: 1 !important;
	}
	.show-menu {
		width: 25rem;
		right: 0;
		visibility: visible !important;
		top: 0rem;
		z-index: -50;
	}
	.show-list {
		width: auto;
		margin-left: 3rem;
		margin-top: -1rem;
	}
	.ul-height {
		padding-bottom: 160px;
	}
}
@media screen and ( min-width: 1400px ) {
	span#user_name {
		display: inline-block;
		text-decoration: none;
		top: 1px;
		position: relative;
	}
	.member-menu .nav-link.nav-link-sub-1 {
		padding: 8.2px !important;
		position: relative;
	}
	html:not(.touch) .main-nav-item.has-children > .nav-text-wrapper > .nav-link .nav-name::after {
		color: var(--navi_top_text_color) !important;
		content: '';
		background-image: var( --desktop_subNaviIcon );
		position: relative;
		margin-left: 4px;
		width: 12px;
		height: 12px;
		display: inline-block;
	}

	html:not(.touch) .main-nav .sub-menu {
		position: absolute;
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		-webkit-transition: all .35s;
		transition: all .35s;
	}
	.main-nav-item.sub-3 .nav-link {
		white-space: nowrap;
	}
	.main-nav-item.current-parent > .nav-text-wrapper > .nav-link,
	.main-nav-item .nav-link.navi-active {
		font-weight: 600 !important;
		color: var( --primary-color );
		text-decoration: none !important;
	}
	.main-nav-item.current-parent > .nav-text-wrapper > .nav-link,
	.main-nav-item .nav-link.navi-active {
		font-weight: 600 !important;
		color: var( --navi_top_active_text_color );
	}
}
/* -- nav main menu -- */
.main-nav-list {
	margin: 0;
}
.main-nav-item {
	display: inline-block;
	position: relative;
}

@media screen and ( max-width: 1399px ) {
	.search-wrapper {
		padding-left: 1rem;
	}
	.nav-top-resp-info {
		display: none !important;
	}
}
.navbar-container {
	position: relative;
}
#main-nav .nav-text-wrapper .nav-link:has( img ) .nav-name-wrapper {
	display: none;
}
