@media screen and (max-width: 1700px){
	.slider_wrap {
	  margin-top: 20%;
	}
}
@media screen and (max-width: 1400px){
	.nav {
	  justify-content: end;
	}

	h1{
		hyphens: auto;
	}
	#wrapper{
		padding-left: 11%;
	}
	.default_wrapper{
		margin-top: 0;
	}
	.home_galtxt {
	  margin-top: -22px;
	}
	.rahel img {
	  width: 100%;
	  height: 600px;
	  object-fit: cover;
	}
	.mobilewidthteam{
		/*width: 50%;
		max-width: 50%;*/
		width: 65%;
		max-width: 65%;
	}
	.noelino_slider .slick-dots {
		  left: -15%;
	}
	#send{
		width: 100%;
	}
	.slider_wrap{
		margin-top: 230px;
	}
	.slider_wrap {
	  margin-top: 10%;
	}
	footer{
		margin-left: 11%;
		/*font-size: 22px;*/
	}
	footer a {
	  margin-left: 20px;
	}
}
@media screen and (max-width: 1200px){
	.nav li {
	  padding: 0 20px;
	}
	.home_video img, .home_galtxt {
	  width: 100%;
		padding-right: 0;
	}
	.home_galtxt {
	  margin-top: -30px;
	}
	.home_row{
		display: flex;
	}
	.home_row .middle, .rahel{
		display: flex;
		flex-direction: column;
	}
	.home_row > div{
		max-width: inherit !important;
	}
	.home_row .middle{
		margin-right: 0;
	}
	.default .videoouter .embed-container {
	  top: 14px;
	}
    .home_row .right{
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: start;
	}
	.rahel img {
	  width: 100%;
	  height: auto;
	  object-fit: unset;
	}
	.slider_wrap{
		margin-top: 0;
	}
	.flushbelow_right{
		position: relative;
	}
	.noelino_slider .slick-dots {
		  left: -5%;
	}
	.simpli_mod_snippets .grey, .button {
		width: 100%;
		min-width: 100%;
	}
	td {
	  vertical-align: top;
	}
	footer .legals{
		display: block;
		width: 50%;
	}
	footer .icon_n_up {
	  width: 50%;
	  display: inline-block;
	  float: right;
	  margin-top: -25px;
	}
}
@media screen and (max-width: 992px){
	#logo,.afterscroll #logo{
		display: inherit;
		height: 110px;
		transition: ease 0.5s !important;
		margin-left: 50px;
		width: inherit;
	}

	.logo {
	  height: 43px;
		display: none;
	}
	/*#rah{
		top: 41px;
	}
	#el{
		top: 85px;
	}
	#schne{
		top: 128px;
	}
	#ider{
		top: 172px;
	}*/
	.nav{
		display: none;
	}
	#btn_nav{
		float: right;
		display: flex;
		right: 20px;
		top: 30px;
		width: 50px;
		height: 50px;

	}
	.mobnav{
		display:none;
		position:absolute;
		width:81%;
		right:0px;
		top:160px;
		z-index:9999;
		padding:10px 0;
		height:100vh;
		overflow: scroll;
	}
	.afterscroll .mobnav{
		top:90px;
	}
	.mobnav > li{
		margin-bottom:15px;
	}
	.mobnav li{
		display:block;
		height:70px;
		width:100%;
		overflow:hidden;
		background:#ffffffbf;
	}
	.mobnav li a:hover, .mobnav a:active{
		font-weight: 700;
	}
	.mobnav li a{
		padding-top: 20px;
		position: absolute;
		right: 20px;
		text-decoration: none;
	}
	.mobnav li a::after{
		content: " >";
	}
	.mobnav ul li{
		margin-bottom:10px;
		padding-left:15px;
	}
	.c-hamburger span::before, .c-hamburger span::after,.c-hamburger span{
		background-color: #000;
		height: 5px;
	}
	.c-hamburger--htx.is-active span::before, .c-hamburger--htx.is-active span::after {
	  background: #000;
	}
	.mobileonly{
		display: block;
		filter: invert(1);
		position: absolute;
		top: 100px;
		right: 20px;
	}
	.mobileonly img{
		height: 40px;
		margin-left: 10px;
	}
	.afterscroll .mobileonly{
		display: none;
	}
	header{
		height:160px;
	}
	a,h1{
		hyphens: auto !important;
		-moz-hyphens: auto;
	    -webkit-hyphens: auto;
	    -ms-hyphens: auto;
	}
	.afterscroll {
		height: 100px;
	}
	#wrapper {
	  padding-top: 160px;
	}
	.homewrap,.home_row > div,.home_row .middle,.home_row .grey,.default_wrapper .boxtxt,.noelmodellwrap,.teamright .button,.defaultright img ,.nothing,.team,.noelino_slider,input.button,.addmargin{
		margin-bottom: 20px !important;
	}
	.home_galtxt {
	  margin-top: -20px;
	}
	.home_row .middle{
		margin: 0;
		width: 100%;
	}
	.rahel .embed-container {
		width: 100% !important;
		background: url('/img/playbutton_weiss50prozent.png')  center center  no-repeat ;
	}
	.defaultsmalimg,.trigger.boxtxt,.toggle_container.boxtxt  {
		margin-bottom: 0 !important;
	}
	.nopadl, .nopadr,.defaultright{
		padding:0;
	}
	/*.top .slick-slide {
		min-height: 145px;
		height: auto;
		object-fit: cover;
		object-position: -90px;
	}*/
	.top .slick-track::before {
	    right: 150px;
	}
	.top .slick-track::after {
	    right: 30px;
	}
	.default_wrapper {
	    margin-top: 25px;
	}
	.bottom{
		margin-top: 20px;
	}
	.slider_wrap{
		margin-top: 0;
		width:100%;
		max-width:100%;
		margin-bottom: 20px;
		min-height: 300px;
	}
	.slider_wrap .slick-next {
	  bottom: -40px;
	}
	.therapieintens, .mobilewidthteam{
		margin-left: 0;
		width: 100%;
		max-width: 100%;
	}
	.nothing {
		padding-right: 20px;
	}
	.team img{
		width: 100%;
	}
	.teamgalwrap,.noelino_slider {
		overflow: hidden;
	}
	.thumb_slider img {
	    width: 200px;
	    margin-bottom: 5px;
	    padding-right: 0;
	    overflow: hidden;
	}
	.noelino_slider .slick-dots {
		  right:  20px;
	}
	.noelino_slider .slick-dots {
		  right: -80%;
	}
	.grundbeisteine, .grundbeisteine.boxtxt {
		margin-bottom: 0 !important;
	}
	#icons{
		display: none;
	}
	.videoouter .embed-container {
	  top: -10px;
	  width: 100%;
	}

}
@media screen and (max-width: 768px){
	.gallery_label{
		max-width: calc(100vw - 110px);
	}
	.teamwrapper{
		 margin-bottom: 20px;
	}
	.anfahrt {
	    display: inline-block;
		height: auto;
		margin-bottom: 20px;
	}
	.anfahrtimg{
		height: auto;
	}
	.home_video .slick-track, .slider_wrap {
		overflow-x: hidden !important;
	}
	.slider_wrap{
		margin-right: 0;
	}
	footer {
	  max-height: 125px;
	}
	footer .icon_n_up{
		width: 15%;
		/*margin-top: -70px;*/
	}
	footer .legals {
	  width: 100%;
	  margin-left: -20px;
	}
	.footerinner{
		width: 70%;
		display: inherit;
	}
	.popup-content {
	  width: 400px;
	  height: 77%;
	  top: 56%;
	}
	.home_video .embed-container {
	  position: relative;
	  padding-bottom: 0px;
	}
}
@media screen and (max-width: 576px){
	.afterscroll #logo {
	  height: 131px;
	  width: auto;
	  margin-top: -11px;
	}
	.mobnav {
	  width: 82%;
	}
	.homewrap {
		min-width: calc(100% + 20px) !important;
		padding-right: 15px;
		margin-top: 100px;
	}
	.home_video {
	  margin-top: -100px;
	}
	.home_video img {
	  width: 85%;
	}
	.home_galtxt{
		width: calc(100% - 20px);
		margin-top: -15px;
	}
	/*.top .defgaltxt,.top .slick-slide, .top .slick-list {
		margin-right: -20px;
	}*/
	/*.top .slick-list,.top .slick-slide{
		min-width: calc(100% + 20px) !important;
	}*/
	.defgaltxt {
	    width: calc(100% - 70px);
	    height: calc(100% - 30px);
	    margin-top: 30px;
	}
	.button{
		width: 100%;
	}
	.mail::before {
	    margin-bottom: 30%;
	}
	#wrapper{
		padding-left: 20px;
		padding-right: 20px;
	}
	.thumb_slider img {
	  width: 133px;
	}
	.default .videoouter .embed-container {
	  top: 23px;
	}
	.grundbeisteine:first-of-type{
		padding-top: 120px;
	}
	#logo{
		margin-left: 20px;
	}
	.noelino_slider .slick-dots {
	    right: -70%;
		top: 100%;
	}
	footer{
		margin: 0;
		padding-right: 20px;
	}
	.footerinner {
	  width: 95%;
	}
	.slider_wrap {
	  min-height: 370px;
	}
	#cookie_wrapper{
        top: inherit;
        bottom:0px;
        width:100%;
        padding:20px;
        z-index: 100000;
    }
}
@media screen and (max-width: 376px){
	/*h1, h2, .button {
		font-size: 30px;
	}
	.gallery_label{
		font-size: 27px;
	}*/
	*{
		hyphens: auto;
	}
	.mail::before {
	    margin-bottom: 58%;
	}
	.defgaltxt {
	  width: calc(100% - 100px);
	}
	.noelino_slider .slick-dots {
	    right: -60%;
	}
	.popup-content {
	  width: 320px;
	  height: 77%;
	  top: 56%;
	}
	.default .videoouter .embed-container {
	  top: 37px;
	}
	/*footer{
		font-size: 19px;
	}*/
}
