@media
screen and (max-width: 1099px) {
	header {
		padding-left: 5%;
		padding-right: 5%;
	}
}

@media
screen and (max-width: 1024px) {
	header {
		padding-left: 2%;
		padding-right: 2%;
	}
}

@media screen and (max-width: 849px) {
	#main-menu li a {
		font-size: 14px;
	}
	
	li#menu-item-post-22,
	li#menu-item-post-22.current_page_item {
		width: 78px;
		height: 36px;
		margin-top: 8px;
	}
}

@media
screen and (max-width: 699px) {
	main.single .sideContent  {
		width: 100%;
	}
	
	main.single #sidebar {
		width: 100%;
	}

	section.entresol-front-page {
		padding-top: 48px;
	}
	
	form.search-form {
		position: absolute;
	}
	
	section.ueber-uns .subcontent {
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	header {
		padding: 0px;
		height: 48px;
		overflow: hidden;
		max-height: 100%;
	}
	
	/* Navigation */
	header .open-button {
		width: 48px;
		height: 48px;
		background-size: 48px 48px;
		display: block;
	}
	
	#main-menu {
		position: relative;
		width: 100%;
		padding-top: 48px;
		margin: 0px auto;
	}
	
	#main-menu.lfloat {
		float: none;
	}
	
	#main-menu li {
		width: 100%;
		margin: 0px;
		text-align: center;
		font-size: 24px;
		line-height: 36px;
	}
	
	#main-menu li a {
		font-size: 24px;
	}
	
	#main-menu li.menu-item#menu-item-post-11 {
		margin-right: 0px;
	}
	
	section.follow-us h2 {
		margin-top: 24px;
	}
	
	#main-menu li.current_page_item,
	#main-menu li#menu-item-post-22.current_page_item {
		left: 10%;
		right: 10%;
		top: 0px;
		width: auto;
		height: auto;
		position: absolute;
		display: block;
		text-align: center;
		margin-top: 6px;
	}
	
	#main-menu li.current_page_item a {
		text-align: center;
	}
	
	div.subcontent:first-child h2 {
		margin-top: 24px;
	}
	
	.subcontent h2 {
		margin-top: 0px;
	}
	
	#search span.input-decorator {
		position: absolute;
		top: 0px;
		right: 2%;
		width: 36px;
		height: 36px;
		margin-top: 6px;
	}
	
	#search span.input-decorator input {
		padding-left: 36px;
	}
	
	#search span.input-decorator:before,
	#search span.input-decorator:hover:before {
		width:  36px;
		height: 36px;
		background-size: 36px 78.4px;
	}
	
	div.widget_wysija_cont {
		text-align: center;
	}
	
	#form-wysija-2 {
		display: inline-block;
		margin: 0px;
		
	}
	
	header ul.social-list {
		display: none;
	}
		
	header.open ul.social-list {
		display: block;
		position: absolute;
		bottom: -42px;
		left: 0px;
		right: 0px;
		top: auto;
		height: 36px;
		text-align: center;
	}
	
	header.open ul.social-list li {
		display: inline-block;
		float: none;
	}
	
	section.willkommen-2 h1.post-title {display: none !important}
}

@media screen and (min-width: 700px) {
	#sidebar.sticky {
		position: relative;
	}
	
	#sidebar.sticky>div {
		position: fixed;
	}

	#main-menu li {
		font-size: 18px;
		float: left;
		margin-right: 24px;
		padding-left: 14px;
		margin: 15px 6px 0px 6px;
		position: relative;
	}


	#main-menu li:before {
		content: "";
		display: inline-block;
		position: absolute;
		left: -2px;
		top: 2px;
		width: 6px;
		height: 20px;
		background: url(../images/nav-separator-map.png) top center no-repeat;
	}

	#main-menu li:first-child:before {
		content: "";
		display: none;
	}
	
	li#menu-item-post-22,
	li#menu-item-post-22.current_page_item {
		color: transparent !important;
		width: 105px;
		height: 48px;
		background: url(../images/entresol-nav-logo-map.png) left top no-repeat;
		background-size: 105px 97px;
		margin: 2px 12px 0px 0px;
	}
	
	li#menu-item-post-22.current_page_item,
	li#menu-item-post-22:hover {
		background-position: left bottom;
		cursor: pointer;
	}
	
	li#menu-item-post-22 a:hover  {
		color: transparent;
	}
}


@media screen and (max-width: 749px) {
	#main-menu li {
		margin-right: 0px;
	}
	
	#main-menu li:before {
		padding-left: 6px;
	}
}

@media screen
	and (max-width: 1152px)
	and (min-width: 700px) {
	
	ul.social-list {
		position: absolute;
		width: 36px;
		height: 24px;
		display: block;
		padding-top: 24px;
		overflow: hidden;
		right: 24px;
	}
	
	ul.social-list:before {
		content: "";
		display: block;
		height: 24px;
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		background: url(../images/arrow-down-icon-map.png) top center no-repeat;
	}
	
	ul.social-list li,
	ul.social-list li:last-child {
		float: none;
		display: block;
		margin: 8px auto;
	}
	
	ul.social-list:hover,
	ul.social-list.open {
		height: auto;
		background-color: white;
		border-bottom-right-radius: 4px;
		border-bottom-left-radius: 4px;
		box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
	}
}