@media only screen and (max-width: 1290px) {
	#header .inside, #header_small .inside {
		padding-left: 5px;
		padding-right: 25px;
	}
}


@media only screen and (max-width: 1200px) {
	.mobile_menu_icon {
		display: block;
	}
	.mobile_menu_icon {
		position: fixed !important;
		top: 35px !important;
		left: 90% !important;
	}
	#header .mod_navigation, #header .mod_customnav, #header_small .mod_customnav {
		display: none;
	}
	
	#header .logo, #header_small .logo {
		float: none;
		clear: both;
		margin-left: 50px;
	}
}



@media only screen and (max-width: 1023px) {
	
	
	#hero h1, #hero p:nth-child(1) {
		
	}
	
	.startseite h1 {
		font-weight: 700 !important;
		font-size: 45px !important;
		line-height: 50px !important;
		}
	
	h1 {
		font-size: 35px !important;
		line-height: 45px !important;
		font-weight: 700 !important;
	}
	.firstblock h2 {
		font-size: 35px !important;
		line-height: 45px !important;
	}
	body {
		font-size: 18px;
		line-height: 26px;
	}
	
	.fontsize_22px {
		font-size: 20px;
		line-height: 32px;
		}

	
	.padding_top_120 {
		padding-top: 80px;
	}
	

}

@media only screen and (max-width: 950px) {
	
	
	div.hero_first_line {
		font-size: 80px;
		font-weight: 900;
		padding-bottom: 30px;
	}
	div.hero_second_line {
		font-size: 30px;
		line-height: 40px;
		font-weight: 400;
	}
	
	#hero div.buttonlink a {
		font-size: 20px;
	}
	
	
	#hero {
		margin-top: 90px;
		height: 70vh;
	}
	
	#container {
		margin-top: 30px;
	}
	
	#hero .responsive-background-image {
		height: 70vh;
	}
	#header_small {
		display: none;
	}
	

	
	#header {
		width: 100vw;
		height: 90px;
		position: fixed;
		top: 0px;
	}
	#header .logo a, #header_small .logo a {
		width: 200px;
		height: 70px;
	}
	
	#header .logo, #header_small .logo {
		margin-left: 20px;
		top: 10px;
		
	}
	
	.startseite h1 {
		font-weight: 700 !important;
		font-size: 35px !important;
		line-height: 45px !important;
	}
	
	.firstblock h2 {
		font-size: 30px !important;
		line-height: 40px !important;
	}
	
	.padding_top_100 {
		padding-top:50px
	}
	.padding_bottom_100 {
		padding-bottom: 50px;
	}
	h2 {
		font-size: 28px;
		line-height: 34px;
	}
	
	#container .mod_article .maxwidth {
		padding-left: 40px;
		padding-right: 40px;
	}
	
	#cards .rs-column.-large-col-3-1 {
		width: auto;
		margin-bottom: 20px;
		margin-right: 0px;
	}
	
	.rs-column.-medium-col-5-3,
	.rs-column.-medium-col-5-2	{
		width: auto
	}
	
	.ce_textimageblock {
		flex-direction:column !important;
	}
	
	.ce_textimageblock .responsive-background-image {
		order: 1;
		width: 100%;
		height: 50vh;
	}
	
	.ce_textimageblock .textblock {
		order: 2;
		width: 100%;
		padding-bottom: 0px;
	}
	
	.ce_textimageblock .textblock .inside {
		max-width: auto;
		padding: 0
	}
	
	.ce_textimageblock .textblock.left .inside {
		float: initial;
	}
	
	#footer .rs-column.-large-col-4-1:nth-child(1){
		width: 100%;
	}
	#footer .rs-column.-large-col-4-1:nth-child(2),
	#footer .rs-column.-large-col-4-1:nth-child(3),
	#footer .rs-column.-large-col-4-1:nth-child(4){
		width: 31%;
	}
	
	.card img {
		width: auto;
		height: auto;
	}
	.card .text_container {
		padding-top: 0px;
	}
	.card h3 {
		padding-top: 0px;
		margin-top: 0px;
	}

}

@media only screen and (max-width: 768px) {
	.mobile_content {
		display: block !important;
	}
	.desktop_content {
		display: none !important;
	}
	.rs-column.-medium-col-2-1 {
		width: 100%;
	}
	#footer .rs-column.-large-col-4-1:nth-child(2), #footer .rs-column.-large-col-4-1:nth-child(3), #footer .rs-column.-large-col-4-1:nth-child(4) {
		width: 100%;
	}
	
	.logos_netzwerk {
		padding-top: 30px;
		justify-content: flex-start;
	}
	
	.logos_netzwerk img {
		padding-left: 0px;
	}
	.card.quer {
		display: block;
	}
	
	.card.quer .image_container,
	.card.quer .text_container {
		width: 100%;
	}
	
}

@media only screen and (max-width: 575px) {
	
	.logos_netzwerk {
		padding-top: 30px;
		justify-content: flex-start;
		*align-items: center;
		flex-direction: column;
	}
	
	.ce_gallery li {
		width: 50vw !important;
	}
	#header .logo, #header_small .logo {
		margin-left: 12px;
		top: 10px;
		
	}
	
	.teaser {
		padding-bottom: 40px;
	}
	
	.programm #hero div.hero_first_line {
		font-size: 35px !important;
		line-height: 40px !important;
	}
	
	.programm #hero div.hero_second_line {
		font-size: 22px !important;
		line-height: 40px !important;
	}
	
	div.hero_first_line {
		font-size: 70px;
		line-height: 70px;
		font-weight: 900;
		padding-bottom: 20px;
	}
	div.hero_second_line {
		font-size: 25px;
		line-height: 30px;
		font-weight: 400;
	}
	
	#hero div.buttonlink a {
		font-size: 16px;
	}
	
	#hero {
		margin-top: 55px;
	}
	
	#hero,
	#hero .responsive-background-image,
	#hero .textblock
	{
		height: 50vh;
	}
	
	#hero .textblock {
		padding-top: 20px;
	}
	
	#wrapper {
		top: 30px;
	}
	
	#main .rs-columns .ce_text {
		padding-bottom: 0px;
	}
	#main .rs-columns {
		padding-bottom: 45px;
	}
	
	ul {
		padding-left:10px
	}
	.ce_text li:before {
		font-size: 15px;
		content: "●";
		color: #DFAC33;
		position: absolute;
		left: -10px;
		top: 0px;
	}
	#hero h1, #hero p:nth-child(1) {
		
	}
	
	#hero,
	p.boxclaim {
		font-size: 15px;
		line-height: 20px;
	}
	#container .mod_article .maxwidth	{
		padding-left: 20px;
		padding-right: 20px;
	}
	.mobile_menu_icon {
		left: initial !important;
		right: 20px !important;
	}
	
	.rs-column.-medium-col-2-1 {
		width: 100%;
	}
	#footer .rs-column.-large-col-4-1:nth-child(2), #footer .rs-column.-large-col-4-1:nth-child(3), #footer .rs-column.-large-col-4-1:nth-child(4) {
		width: 100%;
	}
	
	.card.quer {
		flex-direction: column;
	}
	.card.quer .image_container {
		width: 100%;
		padding-bottom: 30px;
	}
	.card.quer .text_container {
		width: 100%;
	}
	
	h1 {
		font-size: 30px !important;
		line-height: 40px !important;
		font-weight: 700 !important;
	}
	.firstblock h2,
	h2 	{
		font-size: 25px !important;
		line-height: 35px !important;
		padding: 0;
		margin: 0;
		}
	h3 {
		font-size: 20px !important;
		line-height: 30px !important;
		padding: 0;
		margin: 0;
		padding-top: 10px;
	}
	.welcomeblock .ce_text:nth-child(2) {
		position: relative;
		font-size: 20px;
		line-height: 32px;
		}
	.ce_text li:not(.mod_navigation .ce_text li) {
		position: relative;
		font-size: 18px;
		max-width: 100%;
		list-style: none;
		padding-left: 10px;
		padding-bottom: 10px;
		}
	#main .ce_text {
		padding-bottom: 45px;
	}
	#main .welcomeblock .ce_text,
	#main .blauer_balken .ce_text,
	#main .cardsquer .ce_text,
	#cards .ce_text {
		padding-bottom: 0px;
	}
	.blauer_balken {
		margin-top: 20px;
		margin-bottom: 60px;
	}
	.rs-column.-medium-first-row {
		margin-top: 0px !important;
	}
	.welcomeblock {
		padding-bottom: 50px !important;
	}
	#footer .inside {
		padding-left: 20px;
		padding-right: 20px;
	}
	.footer_logo_subline {
		font-size: 18px;
		line-height: 22px;
	}
	
	select {
		max-width: calc(100vw - 40px);
	}
}

@media only screen and (max-width: 500px) {
	.image_container.float_right {
		padding-top: 10px;
		padding-left: 0px;
	}
	.float_right {
		float: none;
		clear: both;
	}
}
