/*
Theme Name: Blank Theme
Theme URI: 
Author: ecom Webservices
Author URI: 
Description: A blank Wordpress Theme
Tags: html5,css3,blank
*/


@font-face {
    font-family: 'Exo 2';
    src: url('fonts/exo2-variablefont_wght-webfont.eot');
    src: url('fonts/exo2-variablefont_wght-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/exo2-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/exo2-variablefont_wght-webfont.woff') format('woff'),
         url('fonts/exo2-variablefont_wght-webfont.ttf') format('truetype'),
         url('fonts/exo2-variablefont_wght-webfont.svg#exo_2regular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Exo 2 Light';
    src: url('fonts/Exo2-Light.eot');
    src: url('fonts/Exo2-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Exo2-Light.woff2') format('woff2'),
        url('fonts/Exo2-Light.woff') format('woff'),
        url('fonts/Exo2-Light.ttf') format('truetype'),
        url('fonts/Exo2-Light.svg#Exo2-Light') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Exo 2 Medium';
    src: url('fonts/Exo2-Medium.eot');
    src: url('fonts/Exo2-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Exo2-Medium.woff2') format('woff2'),
        url('fonts/Exo2-Medium.woff') format('woff'),
        url('fonts/Exo2-Medium.ttf') format('truetype'),
        url('fonts/Exo2-Medium.svg#Exo2-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Exo 2 Bold';
    src: url('fonts/Exo2-Bold.eot');
    src: url('fonts/Exo2-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/Exo2-Bold.woff2') format('woff2'),
        url('fonts/Exo2-Bold.woff') format('woff'),
        url('fonts/Exo2-Bold.ttf') format('truetype'),
        url('fonts/Exo2-Bold.svg#Exo2-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}





@font-face {
    font-family: 'Exo 2 italic';
    src: url('fonts/exo2-italic-variablefont_wght-webfont.eot');
    src: url('fonts/exo2-italic-variablefont_wght-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/exo2-italic-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/exo2-italic-variablefont_wght-webfont.woff') format('woff'),
         url('fonts/exo2-italic-variablefont_wght-webfont.ttf') format('truetype'),
         url('fonts/exo2-italic-variablefont_wght-webfont.svg#exo_2italic') format('svg');
    font-weight: normal;
    font-style: normal;

}

figure.thumbnail.close .intern, .text.close .intern {
    display: none;
}
/*group basics*/
* {
	margin: 0;
	padding: 0;
}

html {
	font-size: 14px;
	line-height: 1.3em;
}

body {
	font-family: 'Exo 2 Light', sans-serif;
/*	background: url(../../../wp-content/uploads/2016/04/video_preview.jpg) no-repeat left top #f4f4f4;
	background-size: 100% auto;
	background-attachment: fixed;*/
}

img {
	max-width: 100%;
	height: auto;
}

.wrapper {
	max-width: 100%;
	overflow: hidden;
}

a:focus {
	outline: 0;
}

#bg-video {
	height: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 0;
	pointer-events: none;
}

#bg-video video {
	min-width: 100%;
	width: auto;
	height: auto;
	min-height: 100%;
}

#main-section,
#teaser-wrapper,
#footer-wrapper,
#header-wrapper {
position: relative;
z-index: 100;
}
/*end  basics*/

/*group animation*/
#sub-navigation li:first-child {
	-webkit-animation: firstwave ease-out 0.8s  alternate;
	-ms-animation: firstwave ease-out 0.8s  alternate;
	animation: firstwave ease-out 0.8s  alternate;
}
#sub-navigation li:nth-child(2) {
	-webkit-animation: secondwave ease-out 0.8s 0.15s  alternate;
	-ms-animation: secondwave ease-out 0.8s 0.15s  alternate;
	animation: secondwave ease-out 0.8s 0.15s  alternate;
}
#sub-navigation li:nth-child(3) {
	-webkit-animation: firstwave ease-out 0.8s 0.3s  alternate;
	-ms-animation: firstwave ease-out 0.8s 0.3s  alternate;
	animation: firstwave ease-out 0.8s 0.3s  alternate;
}
#sub-navigation li:nth-child(4) {
	-webkit-animation: secondwave ease-out 0.8s 0.45s  alternate;
	-ms-animation: secondwave ease-out 0.8s 0.45s  alternate;
	animation: secondwave ease-out 0.8s 0.45s  alternate;
}
#sub-navigation li:nth-child(5) {
	-webkit-animation: firstwave ease-out 0.8s 0.6s  alternate;
	-ms-animation: firstwave ease-out 0.8s 0.6s  alternate;
	animation: firstwave ease-out 0.8s 0.6s  alternate;
}
#sub-navigation li:nth-child(6) {
	-webkit-animation: secondwave ease-out 0.8s 0.75s  alternate;
	-ms-animation: secondwave ease-out 0.8s 0.75s  alternate;
	animation: secondwave ease-out 0.8s 0.75s  alternate;
}

@-webkit-keyframes firstwave {
  0 {
    top: 0;
  }
  50% {
    top: -8px;
  }
  100% {
    top: 0;
  }
}

@-ms-keyframes firstwave {
  0 {
    top: 0;
  }
  50% {
    top: -8px;
  }
  100% {
    top: 0;
  }
}


@keyframes firstwave {
  0 {
    top: 0;
  }
  50% {
    top: -8px;
  }
  100% {
    top: 0;
  }
}

@-webkit-keyframes secondwave {
  0 {
    top: -6px;
  }
  50% {
    top: -9px;
  }
  100% {
    top: -6px;
  }
}

@-ms-keyframes secondwave {
  0 {
    top: -6px;
  }
  50% {
    top: -9px;
  }
  100% {
    top: -6px;
  }
}


@keyframes secondwave {
  0 {
    top: -6px;
  }
  50% {
    top: -9px;
  }
  100% {
    top: -6px;
  }
}


/*end animation*/

/*group header*/
#header-wrapper {
	background: rgb(245,245,245);
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxNyUiIHN0b3AtY29sb3I9IiNmNWY1ZjUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI3NyUiIHN0b3AtY29sb3I9IiNmMGYwZjAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(245,245,245,1) 17%, rgba(229,229,229,1) 50%, rgba(240,240,240,1) 77%);
	background: -webkit-gradient(linear, left top, right top, color-stop(17%,rgba(245,245,245,1)), color-stop(50%,rgba(229,229,229,1)), color-stop(77%,rgba(240,240,240,1)));
	background: -webkit-linear-gradient(left,  rgba(245,245,245,1) 17%,rgba(229,229,229,1) 50%,rgba(240,240,240,1) 77%);
	background: -o-linear-gradient(left,  rgba(245,245,245,1) 17%,rgba(229,229,229,1) 50%,rgba(240,240,240,1) 77%);
	background: -ms-linear-gradient(left,  rgba(245,245,245,1) 17%,rgba(229,229,229,1) 50%,rgba(240,240,240,1) 77%);
	background: linear-gradient(to right,  rgba(245,245,245,1) 17%,rgba(229,229,229,1) 50%,rgba(240,240,240,1) 77%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#f0f0f0',GradientType=1 );
	clear: both;
}

.logo-claim-group {
	text-align: center;
}

.colors {
	overflow: hidden;
}

.colors li {
	float: left;
	height: 5px;
	line-height: 0;
	list-style: outside none none;
	width: 16.6667%;
}

.lightblue {
	background-color: #009fe3;
}
.yellow {
	background-color: #fecc00;
}
.magenta {
	background-color: #e50051;
}
.green {
	background-color: #80a51b;
}
.darkblue {
	background-color: #006878;
}
.brown {
	background-color: #987d59;
}

#header-image-wrapper img {
	margin: 0 auto;
	display: block;
}


#header-image-wrapper > a {
	display: block;
	margin: 0 auto;
	max-width: 1154px;
}

.logo a {
	text-decoration: none;
}

.logo2 {
	margin-left: 90px;
}
/*end header*/

/*group content*/
#main {
	margin-bottom: 50px;
	display: block;
}

#main .slider-content {
	background-color: #611b43;
	color: #fff;
	position: relative;
	clear: both;
/*	display: table;*/
	border-radius: 0 0 25px 25px;
	margin: 0 auto;
	max-width: 1120px;
}

#main-section {
    margin: 0 auto;
    max-width: 1120px;
    padding-top: 94px;
}

.not-front #main section .inner {
	padding: 0 5% 50px;
}

#owl-content .owl-item  > div{
	padding: 0 5% 50px;
}

#main h2,
.subcontent h2,
h1 {
	font-size: 1.5em;
	line-height: 1.2em;
	font-weight: 300;
	margin-bottom: 25px;
	text-transform: uppercase;
}

#main h2 {
	font-size: 1.25em;
	margin-bottom: 15px;
}

#main h3

#main section p {
	font-size: 16px;
	line-height: 1.5em;
}

.content {
	padding: 15px 5% 0;
}

#main section .content a {
	color: #fff;
}

.not-front #main section {
	padding-top: 50px;
}

.not-front #main p,
.not-front #main ul {
	margin-bottom: 15px;
}

.not-front #main ul {
	padding-left: 15px;
}

#owl-content .owl-controls {
	display: none !important;
}

.owl-controls {
	position: absolute;
	z-index: 800;
	bottom: -19px;
	width: 100%;
}

#owl-example .owl-next,
#owl-example .owl-prev {
	background-color: rgba(255,255,255,0.8);
	color: #006878 !important;
	font-size: 30px !important;
	opacity: 1;
	border-radius: 50%;
	text-align: center;
}

#owl-example .owl-prev {
	float: left;
	padding: 5px 11px 4px 8px;
	margin: 0 0 0 10px;
}
#owl-example .owl-next {
	float: right;
	padding: 5px 8px 4px 11px;
	margin: 0 10px 0 0;
}

#main-section article {
	display: table;
}

#main-section .inner {
	width: 83%;
	margin: 0 auto;
	color: #611c43;
}

#main-section .inner h2,
#main-section .inner h3,
#main-section .inner h4,
#main-section .inner p {
	margin-bottom: 26px;
}

#main-section article > div {
	display: table-cell;
	vertical-align: top;
	width: 61%;
}	

.page-template-page-full-width #main-section article > div {
	width: 100%;
	padding-right: 0;
}

.alignleft {
	float: left;
	margin-right: 20px;
}

.alignright {
	float: right;
	margin-left: 20px;
}

/*.alignleft img,
.alignright img {
	width: 100%;
	height: auto;
}*/

#main-section article .img {
	width: 39%;
	text-align: center;
}

#main-section article .text {
	padding-right: 5%;
}

#main-section article .text a {
	color: #611c43;
}

#main-section article .img img {
	min-width: 200px;
}

#main .slider-content {
	height: 51px;
}

.home #main .slider-content {
	height: auto;
}

.owl-item {
	opacity: 0;
}

.owl-item.active {
	opacity: 1;
}

#main ul {
	padding-left: 15px;
}
/*end content*/

/*group subcontent*/
.subcontent {
	width: 95%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 30px 0 50px;
}

.subcontent .inner {
	text-align: center;
	color: #611b43;
	width: 50%;
	margin: 0 auto;
	font-size: 114.28%;
	line-height: 1.5em;
	font-weight: 300;
}

.subcontent .inner img,
.subcontent p {
	margin-bottom: 26px;
}
/*end subcontent*/

/*group sidebar*/
.sidebar {
	position: absolute;
	right: 14%;
	top: 338px;
	z-index: 800;
}

.sidebar li {
	list-style: none;
	margin-bottom: 15px;
	position: relative;
	top: 0;
	-webkit-transition: top 0.15s linear;
	-ms-transition: top 0.15s linear;
	-moz-transition: top 0.15s linear;
	-o-transition: top 0.15s linear;
	transition: top 0.15s linear;
}

/*.sidebar li:hover {
	top: -4px;
}*/

.sidebar h3 {
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.overlay-content {
	background-color: #006878;
	border-radius: 10px;
	bottom: -70px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	position: absolute;
	right: 84px;
	width: 615px;
	z-index: 700;
	opacity: 0;
	color: #fff;
	pointer-events: none;
	-webkit-transition: opacity 0.25s ease;
	-ms-transition: opacity 0.25s ease;
	-o-transition: opacity 0.25s ease;
	-moz-transition: opacity 0.25s ease;
	transition: opacity 0.25s ease;
}
	
.phone .overlay-content {
	width: 240px;
	bottom: -21px;
}

.overlay-content .inner p {
	font-weight: 300;
}

.overlay-content.active {
	opacity: 1;
} 

.overlay-content:after {
	content: "\f0da";
	font-family: "FontAwesome";
	bottom: 44%;
	color: #006878;
	font-size: 59px;
	position: absolute;
	right: -18px;
}

.overlay-content .inner {
	overflow: hidden;
	padding: 30px !important;
}	

.overlay-content .inner > article {
	display: inline-block;
	float: left;
	margin-right: 30px;
}

.overlay-content .inner > article:last-child {
	margin-right: 0;
	margin-top: 0px;
}

.not-front .sidebar {
	top: auto;
}
/*end sidebar*/

/*group teaser*/
#teaser-wrapper {
	margin: 0 auto;
	max-width: 1120px;
	color: #671d47;
	width: 95%;
	overflow: hidden;
	margin-bottom: 60px;
}

#teaser-wrapper article {
	background-color: #dfd5da;
	overflow: hidden;
	border-radius: 20px;
	margin-bottom: 20px;
}

#teaser-wrapper article .thumbnail {
	line-height: 0;
}

#teaser-wrapper article .thumbnail img {
	border-radius: 20px 20px 0 0;
	width: 100%;
	height: auto;
}

#teaser-wrapper article .text {
	padding: 15px 0 20px;
	text-align: center;
	border-top: 5px solid #671d47;
}

#teaser-wrapper article span {
    display: block;
    font-weight: 300;
}


#teaser-wrapper article h2 {
	font-weight: 500;
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 13px;
}

footer h2 {
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	margin-bottom: 0;
}

#teaser-wrapper article h2 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5em;
    margin-bottom: 13px;
    text-transform: uppercase;
    font-family: 'Exo 2';
} 
.read-more {
	color: #fff;
	text-align: center;
	text-decoration: none;
	display: block;
}

.read-more:hover {
	text-decoration: underline;
}

.read-more .fa {
    background-color: #671d47;
    border-radius: 50%;
    font-size: 24px;
    padding: 0 7px 2px 11px;
    position: relative;
    top: 2px;
}
/*end teaser*/

/*group footer*/
#footer-wrapper {
	background-color: #611b43;
	color: #fff;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.5em;
}

.footer {
	max-width: 1120px;
	width: 95%;
	margin: 0 auto;
	padding: 45px 0 60px;
	overflow: hidden;
} 

.footer p,
.footer > div {
	margin-bottom: 20px;
}

.footer ul {
	list-style: none;
}

.footer a {
	color: #fff;
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}
/*end footer*/

.popup-outer {
	position: absolute;
	max-width: 540px;
	margin: 0 auto;
	left: 0;
	right: 0;
	top: 18%;
}
.popup {
	position: absolute;
	left: auto;
	right: auto;
	background: #006878;
	max-width: 540px;
	z-index: 9999;
	top: 0%;
	text-align: center;
	color: #fff;
	font-size: 16px;
	padding: 20px 30px 30px 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border-radius: 20px 20px 20px 20px;
	-moz-border-radius: 20px 20px 20px 20px;
	-webkit-border-radius: 20px 20px 20px 20px;
	line-height: 1.3em;
	animation: fadein 0.5s;
	-moz-animation: fadein 0.5s; /* Firefox */
	-webkit-animation: fadein 0.5s; /* Safari and Chrome */
	-o-animation: fadein 0.5s; /* Opera */
	margin: 10px;
}
.close-popup {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}
.popup p {
	padding: 10px 0px 10px 0px;
}
.popup a {
	color: #fff;
	text-decoration: none;
}

@keyframes fadein {
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}
@-moz-keyframes fadein { /* Firefox */
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}
@-webkit-keyframes fadein { /* Safari and Chrome */
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}
@-o-keyframes fadein { /* Opera */
	from {
		opacity:0;
	}
	to {
		opacity: 1;
	}
}



@media only screen and (max-width: 1680px){
	.sidebar {
		right: 7%;
	}	
}

@media only screen and (max-width: 1445px){
	.sidebar {
		right: 25px;
	}
}

@media only screen and (max-width: 1200px){	
	#header-image-wrapper,
	main section  {
		width: 95%;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 1060px){	
	.sidebar {
			right: 5px;
			top: 224px;
	}
}

@media only screen and (max-width: 800px){
	.subcontent .inner {
		width: 100%;
	}
	
	.overlay-content .inner > article {
		width: 46%;
		margin-right: 2%;
	}
	
	.phone .overlay-content .inner > article {
		width: 48%;
	}
	
	.overlay-content {
		width: 540px;
	}

	.logo {
		overflow: hidden;
	}

	
	.logo-img {
		width: 40%;
		height: auto;
		float: left;
		margin: 10px 5%;
	}

	.popup {
		top: 20%;
	}


}	


@media only screen and (min-width: 530px) and (max-width: 900px ){	
	#teaser-wrapper article {
		float: left;
		margin-right: 4%;
		width: 48%;
	}
	
	#teaser-wrapper article:nth-child(2n+2) {
		margin-right: 0;
	}
	
	
	.footer > div {
    float: left;
    width: 50%;
	}
}

@media only screen and (min-width: 900px ){	
	#teaser-wrapper article {
    float: left;
    margin-right: 2%;
    /*width: 23.5%;*/
    width: 22.5%;
    min-height: 360px;
	}
	
	#teaser-wrapper article:last-child {
		margin-right: 0;
	}
	article.post-1644 {min-width: 800px}
	.owl-carousel .owl-wrapper-outer {
		overflow: visible;
	}
	
	.footer > div {
    float: left;
    width: 25%;
	}
	
	.footer .widget_nav_menu .menu-footer-navigation-container {
		overflow: hidden;
	}
	
	.footer .widget_nav_menu #menu-footer-navigation {
	    line-height: 16px;
	    margin-top: 7px;
	    margin-bottom: 9px;
	    overflow: hidden;
	    padding-left: 5%;
	}

	.footer .widget_nav_menu #menu-footer-navigation li {
		border-left: 2px dotted #fff;
		float: left;
		margin-bottom: 0;
		padding-left: 5%;
		width: 44%;
		line-height: 20px;
	}
	
	.footer .widget_nav_menu #menu-footer-navigation li:last-child {
		margin-bottom: 0;
	}
}

@media only screen and (min-width: 720px) {	
	.logo-claim-group {
		display: table;
		/*padding: 25px 0 35px;*/
		padding: 10px 0 10px;
		margin: 0 auto;
		max-width: 700px;
		width: 100%;
		box-sizing: border-box
	}
	
	.stoerer {
    padding-right: 55px;
	}
	
	.stoerer,
	.logo,
	.claim {
    display: table-cell;
		vertical-align: middle;
	}
	
	.claim {
    padding-left: 30px;
	}
}

@media only screen and (min-width: 665px) {
	.content-image-wrapper {
		position: relative;
		top: 71px;
		display: table-cell;
		vertical-align: bottom;
	}
	
	.offer .content {
		vertical-align: middle;
	}
	
	.content {
		display: table-cell;
		vertical-align: bottom;
		width: 75%;
	}
	
	.content h1,
	.content > article {
		margin-left: 5%;
    width: 76%;
	}
}	

@media only screen and (max-width: 665px) {
	main section .inner {
    position: relative;
	}
	
	.content-image-wrapper {
		bottom: -17px;
		position: absolute;
	}
	
	.content {
    padding: 0 0 235px;
	}
	

	
	.phone .overlay-content .inner > article,
	.overlay-content .inner > article {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
	}
	
	.overlay-content {
		width: auto !important;
		bottom: -177px;
		min-width: 200px;
	}
	
	.phone .overlay-content {
    bottom: -52px;
	}
	
	.overlay-content .inner {
    padding: 15px !important;
	}
	
	.sidebar {
    position: relative;
    right: 0;
    top: 0;
    z-index: 999;
	}
	
	.sidebar li {
    float: left;
    margin-bottom: 1px;
    padding-top: 4px;
    text-align: center;
    width: 25%;
		position: static;
	}
	
	.overlay-content {
    bottom: auto !important;
    left: 2%;
    top: 80px;
    width: 96% !important;
	}
	
	.overlay-content::after {
		content: "\f0de";
		left: 23%;
    top: 0;
	}
	
	.phone .overlay-content::after {
		left: -81%;
	}
	
}

@media only screen and (max-width: 1030px){
	.content h1, .content > article {
		width: 100%;
	}
}

@media only screen and (max-width: 960px) {
	#main #sub-navigation {
		top: -18px;
	}

	#main-section article {
		display: block;
	}

	#main-section article .img,
	#main-section article > div {
		width: 100%;
		padding-right: 0 !important;
		display: block;
	}

	#bg-video {
		display: none;
	}
}

@media only screen and (min-width: 550px) {
	#main-navigation {
		background-color: #fff;
	}
	
	#main-navigation .menu-hauptnavigation-container {
		display: table;
		margin: 0 auto;
	}
	
	#main-navigation ul {
		overflow: hidden;
	}
	
	#main-navigation ul li {
		display: block;
		lists-style: none;
		float: left;
		margin: 0 45px;
	}
	
	#main-navigation ul li a {
		color: #671d47;
		font-family: 'Exo 2 Medium';
		text-decoration: none;
		font-size: 18px;
		text-transform: uppercase;
		padding: 14px 0;
		display: block;
		-webkit-transition: color 0.25s ease;
		-moz-transition: color 0.25s ease;
		-ms-transition: color 0.25s ease;
		-o-transition: color 0.25s ease;
		transition: color 0.25s ease;
	}
	
	#main-navigation ul li a:hover {
		color: #e50051;
	}
	
	.open-nav {
		display: none;
	}
}

@media only screen and (min-width: 550px) {
	#sub-navigation {
    margin: 0 auto -60px;
    /*max-width: 770px*/
    max-width: 1054px;
    position: relative;
    top: -27px;
	}
	
	#sub-navigation ul {
		overflow: hidden;
		position: relative;
		left: 55px;
		padding-top: 8px;
	}
	
	#sub-navigation li {
		float: left;
		list-style: none;
		/*width: 16.6667%;*/
		/*width: 24%*/
		width: 14%;
		position: relative;
		z-index: 100;
		top: 0;
		-webkit-transition: top 0.25s ease !important;
		-ms-transition: top 0.25s ease !important;
		-moz-transition: top 0.25s ease !important;
		-o-transition: top 0.25s ease !important;
		transition: top 0.25s ease !important;
	}
	
	#sub-navigation li:nth-child(2),
	#sub-navigation li:nth-child(4),
	#sub-navigation li:nth-child(6) {
		z-index: 50;
		top: -6px;
	}
	
	#sub-navigation li:hover {
		top: -8px !important;
	}
	
	#sub-navigation li:nth-child(2) {
    left: -23px;
    
	}
	#sub-navigation li:nth-child(3) {
    left: -43px;
	}
	#sub-navigation li:nth-child(4) {
    left: -65px;
	}
	#sub-navigation li:nth-child(5) {
    left: -86px;
    /*left: 0px;*/
	}
	#sub-navigation li:nth-child(6) {
    left: -110px;
    /*left: -25px;*/
	}
	#sub-navigation li:nth-child(7) {
    left: -130px;
    /*left: -43px;*/
	}
	/*#sub-navigation li:nth-child(7) {
	left: -60px;
	}*/
	
	#sub-navigation li:first-child a {
		background: url(img/backgrounds/buttons/Logo_unten_1.png) no-repeat;
	}
	#sub-navigation li:nth-child(2) a {
		background: url(img/backgrounds/buttons/Logo_unten_3.png) no-repeat;
	}
	#sub-navigation li:nth-child(3) a {
		background: url(img/backgrounds/buttons/Logo_unten_2.png) no-repeat;
	}
	#sub-navigation li:nth-child(4) a {
		background: url(img/backgrounds/buttons/Logo_unten_4.png) no-repeat;
	}

	/*#sub-navigation li:nth-child(5) a {
		background: url(img/backgrounds/buttons/schlafsysteme.png) no-repeat;
	}
	#sub-navigation li:nth-child(6) a {
		background: url(img/backgrounds/buttons/bettgestelle.png) no-repeat;
	}*/

	#sub-navigation li:nth-child(5) a {
		background: url(img/backgrounds/buttons/Logo_unten_5.png) no-repeat;
	}
	#sub-navigation li:nth-child(6) a {
		background: url(img/backgrounds/buttons/Logo_unten_6.png) no-repeat;
	}
	#sub-navigation li:nth-child(7) a {
		background: url(img/backgrounds/buttons/Logo_unten_7_neu.png) no-repeat;
	}
	/*#sub-navigation li:nth-child(8) a {
		background: url(img/backgrounds/buttons/Logo_unten_8.png) no-repeat;
	}*/

	
	#sub-navigation li a {
		text-indent: -7000em;
		background-size: contain !important;
		display: block;
		width: 100%;
		height: 92px;
	}
	
	#menu-item-45 {
		display: none !important;
	}
	
	#header-image-wrapper .owl-controls {
		display: none !important;
	}
}

@media only screen and (max-width: 550px) {
	#main-navigation {
		background-color: #611b43;
		box-shadow: -30px 0 11px -23px rgba(0, 0, 0, 0.4) inset;
		height: 100%;
		position: fixed;
		top: 0;
		left: -60%;
		width: 60%;
		z-index: 999;
		-webkit-transition: all 0.25s linear;
		-ms-transition: all 0.25s linear;
		-moz-transition: all 0.25s linear;
		-o-transition: all 0.25s linear;
		transition: all 0.25s linear;
	}
	
	.nav-open #main-navigation {
		left: 0;
	}
	
	#header-wrapper,
	#main-wrapper,
	#footer-wrapper {
		position: relative;
		left: 0;
		-webkit-transition: all 0.25s linear;
		-ms-transition: all 0.25s linear;
		-moz-transition: all 0.25s linear;
		-o-transition: all 0.25s linear;
		transition: all 0.25s linear;
	}
	
	.nav-open #header-wrapper,
	.nav-open #main-wrapper,
	.nav-open #footer-wrapper  {
		left: 60%;
	}
	
	#main-navigation a {
		border-bottom: 1px solid #fff;
		color: #fff;
		display: block;
		font-size: 18px;
		padding: 15px 10%;
		text-decoration: none;
		text-transform: uppercase;
	}
	
	.open-nav {
		position: fixed;
		top: 0;
		width: 100%;
		left: 0;
		padding: 5px 0;
		background-color: #fff;
		z-index: 999;
	}

	#main-section {
	    padding-top: 35px;
	}

	#header-wrapper {
	    padding-top: 35px;
	}
	
	.open-nav i {
    color: #611b43;
    float: right;
    font-size: 31px;
    padding: 0 2.5%;
	}

	#sub-navigation {
		display: none;
	}
	
	.content {
    padding-top: 30px;
	}
	
	.logo-claim-group {
    /*margin-top: 44px;*/
		margin-top: 0;
    padding-top: 15px;
	}
	
	.sub-menu {
		display: none;
	}
	
	
	#main-navigation .sub-menu li a {
    font-size: 15px;
    padding-left: 18%;
	}
	
	#main-navigation li a .fa-chevron-right {
    float: right;
		transition: transform 0.25s linear;
	}
	
	#main-navigation li.open a .fa-chevron-right {
		-webkit-transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-o-transform: rotate(90deg);
		transform: rotate(90deg);
	}
	
	.overlay-content::after {
		left: 22%;
	}
	
	.phone .overlay-content::after {
		left: -82%;
	}
}

@media only screen and (max-width: 420px) {
	.overlay-content::after {
		left: 20%;
	}
	
	.phone .overlay-content::after {
		left: -85%;
	}
}