/***Styleanpassungen neues Cookie Popup***/
@media all and (max-width: 1250px){
	#popup .content-inner-text{
		flex-wrap: wrap;
	}
	#popup button{
		top: 0;
		margin-bottom:15px; 
	}
	#close-popup{
		margin-left: 0%;
	}
	#text-popup{
		width: 100%;
	}
}
/***Ende Styleanpassungen neues Cookie Popup***/
@media all and (max-width: 943px){
	#header nav li{
		padding: 20px 15px;
	}
}
@media all and (max-width: 900px) {
    .left,
    .right {
        width: 100%;
    }
    .one,
    .three,
    .two {
        width: 100%;
        flex: inherit;
        padding: 0 15px 30px;
    }

    .content-inner {
        padding: 50px 0 30px;
    }

    .content-inner li {
        font-size: 16px;
        line-height: 26px;
    }

    .content-inner li:before {
        margin: 0 8px 0 -22px;
        font-size: 16px;
    }

    .teaser-inner .teaser-inner-left {
        padding: 20px 0 0 20px;
    }
	.extra-padding{
		padding-left: 0;
	}
	.top-footer .three .footerbox{
	float: left;
	}
	.top-footer #logo{
		padding: 0!important;
	}
}

@media all and (max-width: 1500px) {
	#video {
		margin-left: -200px !important;
	}
}

@media all and (max-width: 1400px) {
	#video {
		margin-left: -225px !important;
	}
}

@media all and (max-width: 1300px) {
    .teaser-inner .teaser-inner-left {
        width: 25%;
    }

	#video {
		margin-left: -300px !important;
	}

    .teaser-inner .teaser-inner-middle {
        width: 75%;
        padding: 20px 20px 0 0;
    }

    .teaser-inner .teaser-inner-right {
        width: 100%;
        padding: 0 65px;
        text-align: center;
    }
	#header{
		position: absolute;
		top: 0;
	}
    .teaser-inner .teaser-inner-right button[type=submit] {
        width: 100%;
    }
	#header nav{
		display: block;
	}
	#header nav li{
		display: none;
	}

	video {
		max-width: 160% !important;
	}

	#logo img {
		width: 31% !important;
		margin-top: -18px;
		padding: 3px 0px 3px 0px !important;
	}

	#contentwrapper{
		z-index: 1;
		position: absolute;
		top: 500px;
	}

	.subnav-vertical {
		display: none;
	}

	.top-nav{
		transition: all .5s;
		transition-timing-function: ease;
	}
	.icon-nav{
		position: absolute;
		right: 25px;
		top: 7px;
		display: block;
		float: right;
		font-size: 52px!important;
		color: #575155;
	}

	.head-center{
		display: block;
	}
	#toprow{
		display:inline-block;
	}
	
	.responsive li {
		display: block!important;
	}
	.responsive li a{
		display: block;
		text-align: center;
	}
	#logo,
	#topmenubar{
		padding-left: 11px;
	}
	#header .dropdown:hover > .subnav-vertical,
	#header .horizontal:hover > .subnav-horizontal{
		visibility: visible;
		position: relative;
		padding: 0;
		background-color: inherit;
		box-shadow: none;
		margin: 0;
	}
	.horizontal:hover ~ .background-horizontal,
	.subnav-horizontal:hover ~ .background-horizontal{
		display: none;;
	}
	.subnav-horizontal{
		flex-wrap: wrap;
	}
	.subnav-horizontal li{
		width: 100%
	}
	#main-nav .subnav-vertical a,
	#main-nav .subnav-horizontal a{
		color: #000;
	}
	#header nav li{
		padding:10px 0;
	}
	#header .subnav-vertical li,
	#header .subnav-horizontal li{
		padding: 2px 0;
	}
	#header .subnav-horizontal li:first-child{
			padding-left: 0;
	}
	#headerbild{
		padding-top:150px;
	}
	#popup .content-inner-text{
		flex-wrap: wrap;
	}
	#popup button{
		top: 0;
		margin-bottom:15px; 
	}
}

@media all and (max-width: 1100px) {
	#logo img {
		width: 31% !important;
	}

	.icon-nav{
		position: absolute;
		right: 25px;
		top: 3px;
		display: block;
		float: right;
		font-size: 48px!important;
		color: #575155;
	}

	#video {
		margin-left: -276px !important;
	}
}

@media all and (max-width: 800px) {
	#logo img {
		width: 40% !important;
	}

	.icon-nav{
		position: absolute;
		right: 25px;
		top: 3px;
		display: block;
		float: right;
		font-size: 45px!important;
		color: #575155;
	}

	#video {
		margin-left: -210px !important;
	}
}

@media all and (max-width: 740px) {

	#pagetitle h1 {
		font-size: 35px;
	}

	#video {
		margin-left: -187px !important;
	}
}

@media all and (max-width: 620px) {

#contentwrapper{
	z-index: 1;
	position: absolute;
	top: 400px;
	}
#pagetitle h1 {
	font-size: 30px;
}

#video {
	margin-left: -133px !important;
}

.icon-nav{
	position: absolute;
	right: 25px;
	top: 3px;
	display: block;
	float: right;
	font-size: 38px!important;
	color: #575155;
}

#logo img {
	width: 55% !important;
}

}

@media all and (max-width: 580px) {

	#contentwrapper{
		z-index: 1;
		position: absolute;
		top: 300px;
		}
	}

@media all and (max-width: 420px) {
    .teaser-inner .teaser-inner-left {
        width: 30%;
    }

    .teaser-inner .teaser-inner-middle {
        width: 70%;
        padding: 20px 20px 0 0
    }

    .teaser-inner .teaser-inner-right {
        padding: 0 35px;
    }

    .teaserbox-inner {
        padding: 0;
    }

    .teaserbox-inner button[type=submit] {
        padding: 15px;
    }

    .boxform-inner {
        padding: 0;
    }

    .boxform-inner button[type=submit] {
        padding: 15px;
    }
	#logo img{
		max-width: 65%;
	}
	.icon-nav{
		position: absolute;
		right: 25px;
		top: 0px;
		display: block;
		float: right;
		font-size: 38px!important;
		color: #575155;
	}
	
}

@media all and (max-width: 370px) {
    .teaser-inner .teaser-inner-left {
        width: 35%;
    }

    .teaser-inner .teaser-inner-middle {
        width: 65%;
    }
	.icon-nav{
		right: 20px;
		top: 0px;
		font-size: 35px!important;
		color: #575155;
	}
}