@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%;
	}
}
@media all and (max-width: 943px){
	#header nav li{
		padding: 20px 15px;
	}
}
@media all and (max-width: 900px) {
    .left,
    .right,
	.right2 {
        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;
	}
	#thirdfooter{
		text-align: left!important;
		padding-left: 15px;
	}
}
@media all and (max-width: 1900px) {
	#fourth{
		margin-right: 80px;
	  }
}
@media all and (max-width: 1870px) {
	#fourth{
		margin-right: 90px;
	  }
}
@media all and (max-width: 1800px) {
	#fourth{
		margin-right: 120px;
	  }
}
@media all and (max-width: 800px) {
	#fourth{
		margin-right: 80px;
	  }
}
@media all and (max-width: 750px) {
    .teaser-inner .teaser-inner-left {
        width: 25%;
    }

    .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;
	}
	.top-nav{
		transition: all .5s;
		transition-timing-function: ease;
	}
	.icon-nav{
		position: absolute;
		right: 25px;
		top: 9px;
		display: block;
		float: right;
		font-size: 60px!important;
	}
	.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: 25px;
	}
	#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: 750px) {
#fourth{
	margin-right: 0;
  }
}

@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: 9px;
		display: block;
		float: right;
		font-size: 50px!important;
	}
}
@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: 15px;
		font-size: 35px!important;
	}
}