/* MOBILE STYLINGS GO HERE */

/* MOBILE */
/*
@media (max-width: 420px){
	.container {
		width: 100%;
		padding: 20px !important;
	}

	main {
		margin-top: 0px !important;
	}

	.block-text-down h2 {
		font-size: 30px;
		padding: 0px !important;
	}	

	.block-text-down .ce-bodytext {
		font-family: 'Open Sans', sans-serif;
		padding: 0px;
		font-size: 15px;
		font-weight: 200;
		line-height: 28px;
		position: absolute;
		bottom: 80px !important;
	}	

	.block-text-down h2, .block-text-down .ce-bodytext, .block-text-up h2, .block-text-up .ce-bodytext {
		z-index: 9;
		padding: 10px;
		color:#000;
		transform: rotate(0deg);
	}	

	.block-text-up h2 {
		font-size: 30px;
		padding: 0px;
	}		

	.block-text-up .ce-bodytext {
		font-family: 'Open Sans', sans-serif;
		padding: 20px !important;
		font-size: 15px;
		font-weight: 200;
		line-height: 28px;
		position: absolute;
		top: 10px;
	}	
	
	footer {
		background-color: #000;
		background-image: none;
		height: auto;
		padding: 10px;
	}
	
	.footer-inner {
		padding: 10px;
	}
	
	.footer-inner p {
		line-height: 20px;
	}
	
	.header-headline {
		display: none;
	}
	
	.header-headline-mobile {
		display: block;
		font-size: 100%;
	}
	
	.m-l-100 {
		margin-left: 0px;
		text-align: center;
	}
}

@media only screen and (max-width: 600px ) {
	.container {
		display: none;
	}
}

/* TABLET */
/*
@media (max-width: 767px){
	.container {
		width: 100%;
		padding: 20px;
	}
	
	main {
		margin-top: 40px;
	}
	
	footer {
		background-color: #000;
		background-image: none;
		height: auto;
		padding: 10px;
	}
	
	.footer-inner {
		padding: 10px;
	}
	
	.footer-inner p {
		line-height: 20px;
	}
	
	.header-headline {
		display: none;
	}
	
	.header-headline-mobile {
		display: block;
		font-size: 100%;
	}
	
	.m-l-100 {
		margin-left: 0px;
		text-align: center;
	}
}
*/

@media (min-width: 769px) {
  .pink-stripes-top {
    min-height: 700px;
  }
  .heading-offset #c147 h2 {
    position: absolute;
    left: -40px;
    margin-top: 10px;
  }
  #c148 {
    padding-top: 150px;
  }
  .pink-stripes-top:nth-child(1) .heading-offset {
    padding-top: 80px;
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media (min-width: 320px) and (max-width: 768px) {
  .pink-stripes-top:nth-child(1) .heading-offset {
    padding-top: 80px;
  }
  #site-28 .wrapper {
    margin-top: 140px !important;
  }
  #site-29 .wrapper {
    margin-top: 120px !important;
  }

  #site-9 .wrapper,
  #site-8 .wrapper {
    margin-top: 115px !important;
  }

  .single {
    margin-bottom: 10px;
  }

  .container {
    width: 100%;
    padding: 20px;
  }

  main {
    margin-top: 0px;
  }

  .block-text-down h2 {
    font-size: 30px;
    padding: 0px;
  }

  .block-text-down .ce-bodytext {
    font-family: "Open Sans", sans-serif;
    padding: 20px;
    font-size: 15px;
    font-weight: 200;
    line-height: 28px;
    position: absolute;
    bottom: 80px;
  }

  .block-text-down h2,
  .block-text-down .ce-bodytext,
  .block-text-up h2,
  .block-text-up .ce-bodytext {
    z-index: 9;
    color: #000;
    transform: rotate(0deg);
  }

  .block-text-up h2 {
    font-size: 30px;
    padding: 0px;
  }

  .block-text-up .ce-bodytext {
    font-family: "Open Sans", sans-serif;
    padding: 20px;
    font-size: 15px;
    font-weight: 200;
    line-height: 28px;
    position: absolute;
    top: 10px;
  }

  footer {
    background-color: #000;
    background-image: none;
    height: auto;
    padding: 10px;
  }

  .footer-inner {
    padding: 10px;
  }

  .footer-inner p {
    line-height: 20px;
  }

  .header-headline {
    background-color: #9e2a96;
    width: 100% !important;
    margin-top: 0px !important;
    height: 165px !important;
    /*height: 80px !important;*/
	margin-bottom: 2.5rem;
	
	background: url(/fileadmin/user_upload/freiheit/Header-bg.png) no-repeat top left;
	background-size: cover;
    padding-left: 38px;
  }

  .header-headline h1 {
    font-size: 30px;
    /*font-size: 100%;*/
    padding-left: 20px;
    transform: rotate(0deg);
    z-index: 2;
    padding-top: 20px;
  }

  .header-headline h1 br {
    display: inline !important;
  }

  .header-headline img {
    display: none;
  }

  .header-headline-mobile {
    display: block;
    font-size: 100%;
  }

  .m-l-100 {
    margin-left: 0px;
    text-align: center;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .pink-stripes-top {
    background-image: url(../assets/Kachel3_Fragen.jpg);
    background-size: cover;
    /* background-position: bottom; */
    background-repeat: no-repeat;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .container {
    width: 100%;
    padding: 20px;
  }

  main {
    margin-top: 0px;
  }

  .block-text-down h2 {
    font-size: 30px;
    padding: 0px;
  }

  .block-text-down .ce-bodytext {
    font-family: "Open Sans", sans-serif;
    padding: 20px;
    font-size: 15px;
    font-weight: 200;
    line-height: 28px;
    position: absolute;
    bottom: 80px;
  }

  .block-text-down h2,
  .block-text-down .ce-bodytext,
  .block-text-up h2,
  .block-text-up .ce-bodytext {
    z-index: 9;
    color: #000;
    transform: rotate(0deg);
  }

  .block-text-up h2 {
    font-size: 30px;
    padding: 0px;
  }

  .block-text-up .ce-bodytext {
    font-family: "Open Sans", sans-serif;
    padding: 20px;
    font-size: 15px;
    font-weight: 200;
    line-height: 28px;
    position: absolute;
    top: 10px;
  }

  footer {
    background-color: #000;
    background-image: none;
    height: auto;
    padding: 10px;
  }

  .footer-inner {
    padding: 10px;
  }

  .footer-inner p {
    line-height: 20px;
  }

  .header-headline {
    display: none;
  }

  .header-headline-mobile {
    display: block;
    font-size: 100%;
  }

  .m-l-100 {
    margin-left: 0px;
    text-align: center;
  }
}



@media (max-width: 440px) {
	
	.header-headline h1 {
	font-size: 25px;
	}
	
	.header-headline {
    height: 135px !important;
	}
	
}

@media (max-width: 360px) {
	
	.header-headline h1 {
	font-size: 22px;
	}
	
	.header-headline {
    height: 120px !important;
	padding-left: 25px;
	}
	
}