﻿/*
Edelstahl-Mechanik GmbH
creation Date: 2018-06-08
Author: Sebastian Osinski
http://www.sebbi.net
*/

#topmenu-wrapper,
#topmenu-wrapper *{
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}
#top-menu,
#top-menu *{
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
}

img#logo{
	position: absolute;
	height: 95px;
	top: -20px;
	left: 0px;
	z-index: 5;
}
#topmenu-wrapper.smaller img#logo{
	height: 50px;
	top: 5px;
}

#topmenu-wrapper{
	position: fixed;
	width: 100%;
	top: 0px;
	height: auto;
	line-height: 60px;
	text-transform: uppercase;
	padding-top: 45px;
	padding-bottom: 45px;
}
#topmenu-wrapper.smaller{
	padding-top: 0px;
	padding-bottom: 0px;
}
#top-menu{
	display: block;
	position: relative;
	width: 80%;
	margin-right: 0px;
	margin-left: auto;
}

#topmenu-wrapper ul.nav,
#topmenu-wrapper ul.mod-menu{
	display: block;
	position: relative;
	z-index: 2;
}
#topmenu-wrapper .main-container{
	text-align: left;
}
#top-menu ul.nav li,
#topmenu-wrapper ul.mod-menu li{
	display: inline-block;
	position: relative;
	width: auto;
	padding-left: 45px;
	padding-right: 45px;
	font-size: 18px;
}
#top-menu ul.nav-child,
#top-menu ul.mod-menu__sub{
	position: absolute;
	top: 100%;
	left: 0px;
	overflow: hidden;
	height: 0px;
	background-color: white;
	padding-left: 5000px;
	padding-right: 5000px;
	width: 300px;
	left: -5000px;
	box-shadow: none;
	margin-top: 1px;
}
#top-menu ul.nav-child li,
#top-menu ul.mod-menu__sub li{
	display: block;
	min-width: 100%;
	line-height: 20px;
	position: relative;
	padding: 0px;
	font-size: 20px;
	padding-left: 50px;
	padding-top: 5px;
	padding-bottom: 5px;
}
#top-menu ul.nav-child li:before,
#top-menu ul.mod-menu__sub li:before{
	content: "> ";
	margin-right: 5px;
}
#top-menu ul.nav li.parent:hover ul.nav-child,
#top-menu ul.mod-menu li.nav-item:hover ul.mod-menu__sub{
	height: auto;
	padding-bottom: 20px;
	padding-top: 20px;
}
#top-menu:hover ul.nav-child,
#top-menu:hover ul.mod-menu__sub{
	-webkit-box-shadow: 0px 5px 5px -5px rgba(0,0,0,1);
	-moz-box-shadow: 0px 5px 5px -5px rgba(0,0,0,1);
	box-shadow: 0px 5px 5px -5px rgba(0,0,0,1);
}

/* LANGUAGE MENU */
#topmenu-wrapper .mod-languages{
	position: absolute;
	top: -35px;
	right: 0px;
	line-height: 25px;
}
#topmenu-wrapper .mod-languages p.visually-hidden{
	display: none;
}
#topmenu-wrapper ul.lang-block li,
#topmenu-wrapper ul.lang-block li{
	display: inline-block;
}

/* SEARCH */
#top-menu label.element-invisible,
#top-menu form .visually-hidden{
	display: none;
}
#top-menu input.search-query,
#top-menu input.js-finder-search-query{
	position: absolute;
	top: 0px;
	right: 0px;
	width: 375px;
	height: 100%;
	border: none;
	padding-left: 20px;
	z-index: 5;
	text-transform: uppercase;
}
#top-menu form{
	line-height: 0px;
}
fieldset.com-finder__search,
fieldset#advancedSearch{
	display: none;
}

/* BREADCRUMBS */
ul.breadcrumb,
.mod-breadcrumbs__wrapper ol{
	position: absolute;
	left: 0px;
	bottom: -45px;
	height: 45px;
	overflow: hidden;
}
ul.breadcrumb li:nth-child(1),
.mod-breadcrumbs__wrapper li:nth-child(1){
	display: none;
}
ul.breadcrumb li,
.mod-breadcrumbs__wrapper ol li{
	display: inline-block;
	list-style-type: none;
	vertical-align: top;
	line-height: 45px;
}
ul.breadcrumb li span.divider,
.mod-breadcrumbs__wrapper ol li span{
	padding-left: 10px;
	padding-right: 10px;
}
.mod-breadcrumbs__wrapper ol li:after{
	content: ">";
}
.mod-breadcrumbs__wrapper ol li:last-child:after{
	content: "";
}
#topmenu-wrapper.smaller ul.breadcrumb,
#topmenu-wrapper.smaller .mod-breadcrumbs__wrapper ol{
	height: 0px;
	bottom: 0px;
}
ul.breadcrumb li.active,
.mod-breadcrumbs__wrapper li.active{
	text-decoration: underline;
}

/* MENU ACTIVATOR */
#menu-activator{
	position: absolute;
	height: 20px;
	width: 30px;
	cursor: pointer;
	top: 20px;
	right: -1000px;
	z-index: 3;
}
#menu-activator > div{
	width: 100%;
	height: 3px;
	margin-bottom: 6px;
	margin-left: 0px;
	margin-right: auto;
}

/* RESPONSIVE */
@media (max-width: 1660px){
}
@media (max-width: 1470px){
	#topmenu-wrapper img#logo,
	#topmenu-wrapper.smaller img#logo{
		left: 0px;
		top: 10px;
		height: 30px;
	}
	ul.breadcrumb,
	ol.breadcrumb{
		display: none;
	}
	#top-menu{
		width: 100%;
	}
	#top-menu input.search-query,
	#top-menu input.js-finder-search-query{
		display: none;
	}
	.mod-languages{
		display: none;
	}
	#menu-activator{
		right: 10px;
		top: 15px;
	}
	#topmenu-wrapper{
		height: 50px;
		padding-top: 0px;
		padding-bottom: 0px;
	}
	#top-menu ul.nav-child,
	#top-menu ul.nav li.parent:hover ul.nav-child,
	#top-menu ul.mod-menu__sub,
	#top-menu ul.nav li.parent:hover ul.mod-menu__sub{
		padding-left: 0px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	#topmenu-wrapper.res_act #menu-activator{
		top: -500px;
	}
	#topmenu-wrapper:not(.res_act) ul.nav{
		height: 0px;
		overflow: hidden;
	}
	#topmenu-wrapper.res_act img#logo{
		left: -500px;
	}
	#topmenu-wrapper.res_act ul.nav-child,
	#topmenu-wrapper.res_act ul.mod-menu__sub{
		left: 20px;
		top: 0px;
	}
	#topmenu-wrapper ul.nav li,
	#topmenu-wrapper ul.nav-child li,
	#topmenu-wrapper ul.mod-menu__sub li{
		width: 100%;
		text-align: left;
		left: 0px;
	}
	#topmenu-wrapper.res_act ul.nav li.deeper.parent:after{
		content: "+";
		position: absolute;
		left: 10px;
		top: 0px;
		cursor: pointer;
	}
	#topmenu-wrapper.res_act ul.nav li.deeper.parent.opened:after{
		content: "-";
		position: absolute;
		left: 10px;
		top: 0px;
		cursor: pointer;
	}
	#topmenu-wrapper.res_act ul.nav li.deeper.parent ul.nav-child,
	#topmenu-wrapper.res_act ul.nav li.deeper.parent ul.mod-menu__sub{
		display: none;
	}
	#topmenu-wrapper.res_act ul.nav li.deeper.parent.opened ul.nav-child,
	#topmenu-wrapper.res_act ul.nav li.deeper.parent.opened ul.mod-menu__sub{
		display: block;
	}
	#topmenu-wrapper.res_act ul.nav li,
	#topmenu-wrapper.res_act ul.nav-child li,
	#topmenu-wrapper.res_act ul.mod-menu__sub li{
		display: block;
		position: relative;
		padding: 0px;
		margin: 0px;
		line-height: 35px;
	}
	#topmenu-wrapper.res_act ul.nav li{
		padding-left: 30px;
	}
	#topmenu-wrapper.res_act ul.nav-child,
	#topmenu-wrapper.res_act ul.mod-menu__sub{
		position: relative;
		height: auto;
	}
	#topmenu-wrapper ul.nav-child li a,
	#topmenu-wrapper ul.mod-menu__sub li a{
		width: auto;
		font-size: 14px;
		font-weight: 500;
	}
	#topmenu-wrapper.res_act ul li:hover{
		text-decoration: none;
	}
	#topmenu-wrapper.res_act #top-menu{
		height: 100%;
	}
	#topmenu-wrapper.res_act{
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0px;
		left: 0px;
	}
	#topmenu-wrapper.res_act #top-menu-contact{
		width: 100%;
		height: 35px;
	}
	#topmenu-wrapper.res_act #top-menu-contact .tpm-contact-bot{
		left: 0px;
		width: 50%;
	}
	#topmenu-wrapper.res_act #top-menu-contact .tpm-contact-top{
		right: 0px;
		width: 50%;
		margin-top: -1px;
	}
	#topmenu-wrapper.res_act #top-menu{
		margin-top: 40px;
	}
	#topmenu-wrapper.res_act .mod-languages{
		display: block;
	}
	#topmenu-wrapper.res_act input.search-query{
		display: block;
		width: 100%;
		top: 100%;
		height: 30px;
		padding-left: 0px;
		margin-top: 20px;
	}
}