@media screen and (max-width: 1450px) {
	.sx-button-previous {
		left: 0;
	}
	.sx-button-next {
		right: 0;
	}
}

@media screen and (max-width: 1308px){
    .picture img {
        width: 100%;
    }
    .page-header .pattern {
        margin-top: -7px;
    }
    .page.btnlink {
        top: 22%;
    }
    .home.page .spacer {
        padding-left: 180px;
    }
    .home.page form.auschreibungs .uploadinput {
        margin: 100px auto 25px auto;
    }
}

@media screen and (min-width: 1308px) and (max-width: 1903px) {
    .page-header .pattern {
        margin-top: -7px;
    }
}

@media screen and (max-width: 1260px){
	.home.page .content nav.main ul li {
		display: inline-block;
		width: auto;
		margin-right: 0;
	}
	.home.page .content nav.main ul li a span {
		background-color: transparent;
		content: "";
		display: inline-block;
		height: 1px;
		top: 35px;
		position: absolute;
		left: 0;
		right: 0;
		width: 0;
		transition: none;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1260px){
    .home.page .content nav.main ul li:last-child {
        padding-top: 20px;
    }
	header.main img {
		width: 130px;
		margin-left: 45px;
	}
	header.main nav.main ul li.facebook {
		padding-right: 10px;
	}
	.home.page .content nav.main ul li {
		margin-right: 75px;
	}
}

@media screen and (max-width: 1024px){
    .slider span h1 {
        font-size: 35px;
    }
    .slider span p {
        font-size: 25px;
    }
    .home.page .content .team ul li {
        height: 350px;
    }
    .home {
        margin-top: 100px;
    }
}

@media screen and (max-width: 1023px) {
	a.phone-button {
		display: block;
		right: 20px;
	}
    .home.page .content .ref {
        width: 100%;
    }
    .page-header {
        margin-top: 115px;
    }
    .home.page .content nav.main ul li {
        width: calc(100% / 2 - 4px);
        padding: 20px 0;
    }
    header.main nav.main ul li {
        padding-right: 15px;
    }

    header.main {
        height: 60px;
        top: 0;
        background-color: #0c121c;
    }
    header.main img {
        width: 80px;
        margin-left: 40px;
        margin-top: 12px;
    }
    header.main nav.main ul li {
        display: none;
    }
    .btnlink,
    .page-btnlink {
        display: none;
    }
    .slider img {
        max-height: 865px;
        height: 865px;
        width: auto;
    }
    .slider .pattern {
        max-height: 905px;
    }
    .slider span h1 {
        font-size: 35px;
    }
    .slider span p {
        font-size: 25px;
    }
    .news {
        height: auto;
    }
    .news h1 {
        float: none;
    }
    .news strong {
        padding-top: 0;
    }
    .news a.right {
        float: none;
        display: block;
        padding: 10px 0;
		padding-top: 0;
        text-align: right;
    }
	.news .home .container {
		position: relative;
		height: 80px;
	}
    .content-wrapper {
        margin-top: -55px;
    }
    .home .content .left,
    .home .content .right {
        width: 100% !important;
        float: none;
    }
	.home .content .rightLink {
		position: absolute;
		right: 0;
		width: auto !important;
		z-index: 2;
	}
    .home .content .right.text-left,
    .home .content .left.text-left {
        width: 100%;
        float:none;
        position: relative;
        padding: 0;
        background: transparent;
    }
    .home .content .picture.clearfix {
        width: 100%;
        margin: 0 auto 60px auto;
    }
    .home .content .picture.clearfix .left img {
        width: 100%;
    }
    .home.page .spacer {
        padding: 0;
    }
    .home.page .content ul.ref li {
        width: calc(100% / 2);
        display: inline-block;
        margin-left: -4px;
        border: 0;
    }
    .home.page .content ul.ref li img {
        padding: 15% 0;
    }
    .home.page .content ul.ref li {
        height: auto;
    }

    header.main nav.main ul li.phone {
        display: block;
		padding: 0;
    }
    header.main nav.open {
        background-color: #0c121c;
        margin-right: 0;
		height: calc(100vh - 40px);
    }
    header.main nav.open .phone-button {
        position: absolute;
        top: 7px;
        right: 45px;
    }
    header.main nav.open ul {
        padding-top: 30px;
    }
    header.main nav.open ul li {
        display: block;
        padding: 10px 0;
    }
    header.main nav.open ul li.btn {
        display: block;
    }
    header.main nav.open ul li a:hover {
        color: #bcbcbc;
    }
    header.main nav.open ul li.active a {
        color: #bcbcbc;
    }
    header.main nav.open.right {
        float: none;
        text-align: center;
    }
    .home.page .content .team ul li {
        width: calc(100% / 2 - 40px);
        height: 400px;
    }
    .home.page {
        margin-top: 25px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .news h1 {
        padding-left: 125px;
    }
    .news a.right {
        margin-top: 0;
        padding-right: 125px;
    }
}

@media screen and (max-width: 900px) {
    .home.page .content .team ul li {
        height: 330px;
    }
}

@media screen and (max-width: 768px) {
	.home.page .content nav.main ul li a span {
		display: none;
	}
    .home.page form.auschreibungs .check {
        width: 100%;
    }
    .home.page .content .team ul li {
        height: 400px;
    }
	.slider span {
		top: 30%;
	}
    .news a.right {
        padding-top: 20px;
		margin-top: 0;
    }
    html {
        line-height: 1.4;
    }
    .page-header .pattern {
        margin-top: -4px;
    }
    .home .container {
        padding: 0 25px;
    }
    h1 {
        font-size: 25px;
        color: #1d1d1b;
        font-weight: 700;
    }

    h2 {
        font-size: 18px;
        color: #1d1d1b;
        font-weight: 700;
    }

    h3, h4, h5 {
        font-weight: 700;
        color: #1d1d1b;
    }
    .slider span h1 {
        font-size: 20px;
    }
    .slider span p {
        font-size: 15px;
    }
    .slider img {
        width:auto;
    }
    header.main img {
        margin-left: 25px;
        margin-top: 15px;
    }
    .news p {
        padding-top: 10px;
    }
    .home .content .picture.clearfix {
        width: 100%;
        margin: 0 0 50px 0;
    }
    .home .content .picture.clearfix .left img,
    .home .content .picture.clearfix .right img {
        width: 100%;
    }
    .home .content .text-right {
        margin-bottom: 50px;
    }
    .referenzen ul {
        padding-left: 0;
    }
    footer.main .right {
        margin-top: 15px;
    }
	.news a.right {
		padding-right: 5px;
	}
	.news h1 {
		padding-left: 5px;
	}
    .home .container {
        padding: 0 5px;
    }
    .home.page .content nav.main ul li {
        padding: 15px 0;
    }
    .home.page .content nav.main {
        margin-bottom: 0;
    }
    footer.main .left span {
        font-size: 9px;
    }
    .text-right table.honorarberechnung {
        text-align: left;
        margin-top: 20px;
    }
    table.honorarberechnung td:first-child {
        display: block;
        width: 100%;
    }
    table.honorarberechnung td {
        display: inline-block;
        width: 85%;
    }
    table.honorarberechnung td.last {
        width: 5%;
        display: inline-block;
        padding-left: 0;
    }
    .home.page form.honorarberechnung input,
    .home.page form.honorarberechnung textarea {
        width: 100%;
    }
    .home.page form.honorarberechnung input.first {
        width: 100%;
    }
    .home.page .content span h2 {
        display: block;
        margin: 0;
    }
    .home.page .right.formular {
        width: 100%;
    }
    .home.page .right.formular textarea,
    .home.page form.auschreibungs textarea,
    .home.page form.honorarberechnung textarea {
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .home.page .right.formular button,
    .home.page form.auschreibungs button,
    .home.page form.honorarberechnung button {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {
	.home.page .content nav.main ul li {
		margin-right: 0;
		display: block;
	}
    .home.page .content .team ul li {
        height: 330px;
    }
}

@media screen and (max-width: 360px) {
	a.phone-button {
		top: 0;
		right: 20px;
	}
	.news a.right {
		padding-right: 0;
	}
	.news h1 {
		padding-left: 0;
	}
    .news h1 {
        font-size: 25px;
        padding-top: 20px;
    }
    .news .home .container {
        padding: 0;
    }
    .page-header {
        margin-top: 95px;
    }
    .phone-button span {
        margin-top: 18px;
    }
    header.main nav.open .phone-button {
        top: 0;
    }
    header.main img {
        margin-left: 20px;
        margin-top: 7px;
        width: 70px;
    }
    header.main nav.main ul {
        margin-top: 0;
    }
    header.main {
        height: 40px;
    }
    .home.page .content .team ul li {
        width: 100%;
        margin: 0;
        height: 410px;
    }
    .home.page .content .team ul {
        width: 100%;
        margin: 0 auto;
    }
    .home.page .content ul.ref li {
        width: 100%;
        display: inline-block;
        border: 0;
    }
    .phone-button span,
    .phone-button span::before,
    .phone-button span::after {
        cursor: pointer;
        height: 1px;
        width: 14px;
        background: white;
        position: absolute;
        display: block;
        content: '';
    }
    .phone-button span::before {
        top: -5px;
    }
    .phone-button span::after {
        bottom: -5px;
    }
    li.phone {
        margin-right: -16px;
    }
    header.main nav.open .phone-button {
        right: 30px;
    }
    .home.page .content ul.ref li a img {
        padding-top: 10%;
    }
    footer.main .links {
        margin-top: 15px;
    }
}