@media (max-width: 1399px) {
  .homeslider .gallery h1 {
    font-size: 2rem;
    line-height: 2rem;
    max-width: 350px;
    top: 81%;
  }
  .homeslider .gallery .subtitel {
    top: 75%;
  }
  .home .production {
    padding: 10px 10px 20px;
  }
  .home .linkbutton.rahmen.blau {
    padding: 10px 10px;
  }
  .footermenu > .seperator:first-of-type {
    display: none;
  }
  .header.px-4 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .home .linkbutton.rahmen.blau a p {
    padding: 0 10px;
  }
}

@media (max-width: 1200px) {
  nav .logo img {
    width: 450px;
    height: auto;
  }
  .navbar-nav a {
    font-size: 1.3rem;
  }
  .header_social img,
  .searchicon img {
    width: 25px;
    height: auto;
  }
  .search li {
    margin-left: 0px;
    margin-right: 0px;
  }
  header {
    padding-bottom: 0px;
	padding-top: 157px;
  }
  .linkbutton.rahmen {
    padding: 10px 30px;
  }
  #p4t header {
    padding-top: 7.5rem;
  }
  .productiondetail .gallery.pe-md-5,
  .productiondetail .synopsis.pe-md-5 {
    padding-right: 1rem !important;
  }
  #p34 .frame-blauer-hintergrund {
    margin-left: initial;
  }
  .header.px-4 {
    padding-right: 0.6rem !important;
    padding-left: 0.6rem !important;
  }
  .home .linkbutton.rahmen.blau a p {
    margin-top: 0px;
  }
  .castings .linkbutton-container {
    align-items: start;
  }
}

@media (max-width: 992px) {
  .responsive {
    display: block;
  }
  .desktop,
  .header .social,
  .header .search {
    display: none;
  }
  .logo-wrapper {
    text-align: center;
  }
  .navbar {
    padding-bottom: 1.2rem;
  }
  .nav-link {
	  padding: 0.2rem 1rem;
	}
  .navbar-nav .dropdown-menu {
	  position: relative;
	  display: inline-block;
	}
	.navbar-nav .dropdown-menu a {
	  text-align: right;
	  line-height: 1rem;
	  padding-right: 0;
	}
  header .row {
	  width: 105%;
	}
  nav .header {
    float: left;
    width: 100%;
    display: block !important;
    max-width: none;
  }
  a.logo {
    padding: 0 80px;
    width: 100%;
    display: block;
  }
  nav .navigation {
    float: right;
    margin-top: -60px;
    display: block !important;
    max-width: 500px;
  }
  .navbar-toggler {
    border: 0px solid transparent;
    position: absolute;
    right: 5px;
  }
  .navbar-toggler:focus {
    box-shadow: none !important;
  }
  .navbar-toggler-icon {
    width: 2em;
    height: 2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  #navbarResponsive {
    margin-right: 0 !important;
    padding-bottom: 30px;
  }
  .navigation .search {
    margin-top: 80px;
    position: absolute;
    bottom: 10px;
    right: 15px;
  }
  .navigation .collapsing .search {
    display: none;
  }
  .navigation .social {
    clear: both;
    display: block;
    margin-top: 80px;
    float: right !important;
  }
  .navbar-nav {
    display: block;
    margin-top: 20px;
    display: inline-block;
    padding-bottom: 50px;
    padding-right: 15px;
    max-height: calc(100vh - 280px);
    overflow-y: scroll;
    webkit-overflow-scrolling: auto;
  }
  .navbar-nav::-webkit-scrollbar-track {
    border: 1px solid #000;
    padding: 2px 0;
    background-color: #cdd0d7;
  }
  .navbar-nav::-webkit-scrollbar {
    width: 10px;
  }
  .navbar-nav::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.55);
    background-color: #344267;
    border: 1px solid #000;
  }
  ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
} 


  .nav-fill > .nav-link,
  .nav-fill .nav-item {
    text-align: right;
  }
  footer .container {
    max-width: 100%;
  }
  footer .container p,
  footer .container a {
    font-size: 1rem;
  }
  header {  
	padding-top: 117px;
    padding-bottom: 0rem;
  }
  .home .gallery.pe-md-4 {
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
  }
  .home .linkbutton.rahmen.blau a p {
    margin-top: 10px;
  }
  h1 {
    font-size: 2rem;
    text-align: center;
  }
  h1:after {
    margin-top: -20px;
  }
  h1 {
    font-size: 2rem;
    text-align: center;
  }
  .productiondetail .gallery h1 {
    font-size: 2rem;
    line-height: 2rem;
    bottom: 70px;
}
  #p26 h1 {
    text-align: left;
  }
  .pe-lg-5 {
    margin-bottom: 40px;
  }

  #p6 .col-lg-12 > .row > .col-lg-6 div:nth-of-type(2) {
    text-align: center;
    margin-top: 50px;
  }
  .linkbutton-container {
    max-width: fit-content;
    margin: auto;
  }
  .timelinerow {
    flex-direction: column-reverse;
    margin-top: 0px;
    height: auto;
  }
  #timelinecontainer {
    position: relative;
    left: auto;
    transform: none;
  }
  .timelinerow .linkbutton-container {
    margin: 50px auto 0;
  }
  .timelinerow .linkbutton {
    padding: 20px 10px;
  }
  .linkbutton.rahmen {
    padding: 10px 20px;
  }

  #p24 #content .col-lg-12 .row {
    flex-direction: column-reverse;
  }
  #p24 .pe-lg-5 {
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .home .production {
    margin-top: 10px;
  }
  .home .production:nth-child(2) {
    margin-top: 10px;
  }
  #p15 #content .col-lg-12 .row,
  #p6 .col-lg-12 .heading .row,
  #p5 #content .col-lg-12 .row {
    flex-direction: column-reverse;
  }
  #p15 .pe-lg-5,
  #p6 .col-lg-12 .heading .row .pe-lg-5,
  #p5 #content .col-lg-12 .row .pe-lg-5 {
    margin-top: 40px;
    margin-bottom: 0px;
  }
  #p5 .frame-type-table {
    overflow: auto;
  }
  #p5 .ce-table th,
  #p5 .ce-table td {
    white-space: nowrap;
  }
  #p7 .col-lg-12 .col-lg-4 {
    margin-top: 20px;
  }
  #p21 [data-ce-columns="4"] .ce-row {
    flex-wrap: wrap;
  }
  #p21 [data-ce-columns="4"] .ce-column {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-right: 0;
    margin-bottom: 20px;
    height: auto;
  }
  #p21 [data-ce-columns="4"] .ce-column figure img {
    max-width: unset;
  }
  #p22 .col-lg-12 .col-lg-3 {
    margin-top: 20px;
  }
  #p19 .col-md-6,
  #p20 .col-md-6 {
    margin-bottom: 20px;
  }
  #p8 #carouselSlides {
    margin-bottom: 0px;
  }
  #p8 .tx-dce-container {
    margin-top: 20px;
  }
  #p8 .col-lg-7 .tx-dce-container {
    margin-top: 0px;
    margin-bottom: 20px;
  }
  #p9 .text-start {
    order: 2;
    text-align: center !important;
    margin-top: 30px;
  }
  #p9 .text-start.col-lg-7 {
    margin-top: 0px;
  }
  #p9 .column-lg-6 {
    order: 1;
  }
  #p9 .text-end {
    order: 3;
    text-align: center !important;
  }
  #p23 .frame-space-before-extra-large {
    margin-top: 2em;
  }
  #p4t header {
    padding-top: 4.5rem;
  }
  #p4t #tickets {
    flex-direction: column;
  }
  #p4t .linkbutton {
    min-width: 450px;
  }
  #p37 .frame-blauer-hintergrund > .row {
    flex-direction: column-reverse;
  }
  #p37 .saalplan {
    padding-top: 0;
  }
  #p38 .subscription.formular img {
    max-width: 50%;
    margin: auto;
    margin-bottom: 30px;
  }
  #p38 form {
    padding: 2rem;
  }
  .production .text {
    padding: 30px 0 30px 20px;
  }
  .production .datum .date {
    font-size: 1.4rem;
  }
	.production:hover img {
	  opacity: 0.2;
	}
  .linkbutton p {
    padding: 0 0px;
  }
  .production {
    margin-bottom: 20px;
    background-color: #475371;
  }
  .production div > div {
    background-color: transparent;
  }
  .productiondetail .buttons .linkbutton-container {
    max-width: 100%;
    margin: 0;
  }
  .productiondetail .right.col-md-4 {
    padding: 0;
  }
  .productiondetail:first-child {
    margin-bottom: 10px;
  }
  #p4 .frame-space-before-extra-large {
    margin-top: 2em;
  }
  #p40 .frame-type-table,
  #p43 .frame-type-table {
    overflow: auto;
  }
  #p40 .ce-table th,
  #p40 .ce-table td,
  #p43 .ce-table th,
  #p43 .ce-table td {
    white-space: nowrap;
  }
  #p40 .easy,
  #p43.easy {
    margin-bottom: 20px;
  }
  #p40 .easy span,
  #p43 .easy span {
    display: block;
  }
  #p41 input[type="text"] {
    width: 100%;
  }
  .home .col-lg-8 .tx-dce-container {
    padding-right: 0;
  }
  .home .col-lg-8 .tx-dce-container .linkbutton-container {
    max-width: 100%;
  }
  .home .col-lg-8 .tx-dce-container {
    padding-right: 0 !important;
    margin-bottom: 20px;
  }
  .timeline .details {
    width: 350px;
  }
  .timeline.vertical .details img {
    float: none;
    margin-left: 0px;
    display: block;
    margin-bottom: 10px;
  }
  .timeline li:nth-child(2n) .details {
    left: -390px;
  }
  #p6 #c53,
  #p6 #c213 {
    margin-top: 0;
  }
  .productiondetail .buttons {
    margin-top: 80px;
  }
  table.ce-table-pricingTable {
    border: 0;
  }


	/* Force table to not be like tables anymore */
	table.ce-table-pricingTable, table.ce-table-pricingTable thead,  table.ce-table-pricingTable tbody, table.ce-table-pricingTable th, table.ce-table-pricingTable td, table.ce-table-pricingTable tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.ce-table-pricingTable thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.ce-table-pricingTable tr { 
		border: 1px solid #ccc; 
		margin-bottom: 20px;
	}
	table.ce-table-pricingTable  td:nth-of-type(1) {
	  background-color: #ffe485;
	}
	
	table.ce-table-pricingTable td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	table.ce-table-pricingTable td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
  
	td:nth-of-type(1):before { content: "Category"; }
	td:nth-of-type(2):before { content: "Row"; }
	td:nth-of-type(3):before { content: "Comfort"; }
	td:nth-of-type(4):before { content: "Classic"; }
	td:nth-of-type(5):before { content: "Easy"; }
	td:nth-of-type(6):before { content: "Youth"; }
	
	.castings .foto {
    min-width: unset;
  }
  .castings .linkbutton-container {
    max-width: unset;
  }
  #p4 .verticalcenter .tx-dce-container {
    position: relative;
    top: unset;
    transform: unset;
  }
  #p174 .col-lg-5 > .tx-dce-container {
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
    margin-top: 50px;
  }
}
/* END max-width: 992px */



/* Nur Tablet */
@media (min-width: 767px) and (max-width: 992px) {
	#p37 .text > .row, #p38 .text > .row{
		max-width: 450px;
		margin: auto;
	}
}
/* END Nur Tablet */


@media (max-width: 767px) {
  section {
    padding-bottom: 4rem;
  }
  header {
    padding-top: 15vw;
    padding-bottom: 0rem;
  }
  .homeslider .gallery .linkbutton-container {
    display: none;
  }
  .homeslider .gallery h1 {
    top: unset;
    bottom: 5%;
  }
  .homeslider .gallery .subtitel {
    top: unset;
    bottom: 25%;
  }
  .homeslider .gallery .balken .balkenleft {
	  float: none;
	  max-width: 100%;
	}
  #p26 .row .col-lg-12 .ce-bodytext h1 {
    line-height: 10px;
  }
  #p27 [data-ce-columns="3"] .ce-column {
    flex: 0 0 50%;
    max-width: 50%;
  }
  #p27 [data-ce-columns="3"] .ce-column figure img {
    max-width: 200px;
  }
  #p23 .right img {
    position: absolute;
    top: 0;
    right: 0;
  }
  #p23 .text .row {
    position: relative;
  }
  #p23 #spalte_mitte .right {
    margin-top: 20px;
  }
  #p4t #tickets {
    height: 700px;
  }
  #p4t #tickets::before {
    background-position: center center;
  }
  input[type="text"] {
    width: 100%;
  }
  #p38 .text-start.right p {
    margin-top: 30px;
  }
  .productioncontent {
	  display: block;
	}
  .production .datum {
    border-right: 0px #7a87a5 dashed;
    border-bottom: 2px #7a87a5 dashed;
    padding-bottom: 20px;
	float: none;
  }
  .production .text h2 {
    text-align: center;
	hyphens: auto;
  }
  .production .text p {
    text-align: center;
  }
  .production .text {
    padding: 20px;
	float: none;
  }
  .production .text .kopfzeile {
    text-align: center;
  }
  .production .linkbutton-container {
	  align-items: center;
	  width: 100%;
	  max-width: unset;
	}
  .productiondetail .gallery.pe-md-5,
  .productiondetail .synopsis.pe-md-5 {
    padding: 0rem 0rem 1rem !important;
  }
  .productiondetail .synopsis {
    margin-top: 50px;
  }
  .productiondetail .cast .row .col-md-6 {
    margin-bottom: 50px;
  }
  .productiondetail:last-child {
    margin-bottom: 0px;
  }
  .productiondetail .cast .row {
    margin-bottom: 0px;
  }
  .production img {
	  height: 100%;
	}
  .productiondetail .fastfacts .frame-blauer-hintergrund {
    padding: 35px 0 35px;
  }
  .castingcontent {
    display: block;
  }
  .castings .text {  
    padding: 30px 30px 30px 30px;
  }
  .casting .text .kopfzeile {
    text-align: center;
	  hyphens: none;
  }
  .casting .text h2 {
    text-align: center;
	  hyphens: auto;
  }
  .casting .text p {
    text-align: center;
  }
  .castings .linkbutton-container {
    align-items: center;
  }
  #p28 .col-md-6.right {
    margin-top: 30px;
  }
  #p44 img {
    max-width: 90%;
    margin: auto;
  }
  .home .linkbutton.rahmen.blau a p {
    margin-top: 5px;
  }
  
  .timeline li {
    display: block;
    position: relative;
    height: unset;
    top: unset;
    bottom: unset;
  }
  .timeline li .event {
    top: unset !important;
    left: unset !important;
  }
  .timeline .details {
    width: 450px;
    display: block;
    top: unset;
  }
  .timeline li:nth-child(2n) .details {
    left: unset;
  }
  .timeline li:nth-child(2n) .details h4 {
    text-align: left;
  }
  .productiondetail .buttons {
    margin-top: 20px;
  }
  .nowplaying .balken .balkenleft {
	  float: none;
	  max-width: 100%;
	  padding: 20px 0 10px;
	}
	.nowplaying .balken .balkenright {
	  float: none;
	  padding: 10px 0 30px;
	}
	.nowplaying .text {
	  margin-left: 0;
	}
	.nowplaying .button {
	  margin-right: 0;
	}
	.cast-container .castdetail img {
	  float: none;
	  margin-left: 0;
	  margin-bottom: 2rem;
	}
}
/* END max-width: 767px */


@media (max-width: 567px) {
  h1, h2, h3, p {
	hyphens: auto;
  }
  nav .logo img {
    width: 100%;
  }
  #p4t #tickets {
    height: 600px;
  }
  #p4t .linkbutton {
    min-width: 80%;
  }
  #p4t header {
    padding-bottom: 0rem;
  }
  .px-4 {
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
  }
  #p40 .easy > div,
  #p43 .easy > div {
    display: block;
    width: 100px;
    text-align: left;
    margin: auto;
  }
  #p43 .easy {
    margin: 0 0 30px;
    padding-top: 0rem !important;
  }
  #p40 .text select,
  #p43 .text select {
    display: block;
    margin: auto;
  }
  #p41 .formular .col-lg-12 span {
    display: block;
  }
  #p41 .formular .col-lg-12 label {
    padding-right: 0px;
  }
  .timeline .details {
    width: 390px;
  }
  .homeslider .gallery .subtitel {
	  margin-left: 15px;
	  font-size: 1.1rem;
	}
	.homeslider .gallery h1 {
	  font-size: 1.3rem;
	    margin-left: 15px;
	}
	.homeslider .gallery .balken .balkenleft {
	  padding: 10px 0;
	}
	#p40 .frame-blauer-hintergrund {
	  padding: 3rem 1rem;
	}
  .productiondetail .gallery .balken {
    position: relative;
    background-color: #475371;
  }
  .carousel-control-prev, .carousel-control-next {
    max-height: 360px;
  }
}
/* END max-width: 567px */


@media (max-width: 480px) {
  header {
    padding-top: 15vw;
  }
  .homeslider .gallery .subtitel {
    bottom: 29%;
  }
  .homeslider .gallery h1 {
    max-width: none;
    padding-right: 40px;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
  nav .navigation {
    margin-top: -50px;
  }
  h1 {
    margin-bottom: 1rem;
  }
  .frame-space-before-extra-large {
    margin-top: 3em;
  }
  .frame-space-after-extra-large {
    margin-bottom: 3em;
  }
  #p21 [data-ce-columns="4"] .ce-row {
    display: block;
  }
  #p21 [data-ce-columns="4"] .ce-column {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  #p21 [data-ce-columns="4"] .ce-column figure img {
    max-width: 100%;
  }
  #p26 h1 {
    text-align: center;
  }
  #p26 .ce-left .ce-gallery,
  #p26 .ce-column {
    float: none;
  }
  #p26 .row .col-lg-12 .frame {
    text-align: center;
  }
  #p26 .row .col-lg-12 .ce-intext.ce-left .ce-gallery {
    margin-right: 0px;
  }
  #p26 .ce-gallery figure {
    margin: auto;
  }
  #p27 [data-ce-columns="3"] .ce-column {
    height: 100px;
  }
  #p27 [data-ce-columns="3"] .ce-column figure img {
    max-height: 100px;
    max-width: 150px;
  }
  #p23 .right img {
    width: 100px;
  }
  #p38 .subscription.formular img {
    margin-bottom: 0px;
  }
  .timeline .details {
    width: 300px;
  }
  .homeslider .gallery .subtitel {
	  font-size: 1rem;
	}
	.homeslider .gallery h1 {
	  font-size: 1rem;
	}
	.px-4 {
	  padding-right: 1.5rem !important;
	  padding-left: 1.5rem !important;
	}
	.p-5 {
	  padding: 2rem !important;
	}
	.frame-blauer-hintergrund h3::after {
	  content: none;
	}
	.frame-blauer-hintergrund h3 {
	  margin-bottom: 3rem;
	  border-bottom: 2px solid white;
	  padding-bottom: 0.4rem;
	}
	.px-5 {
	  padding-right: 1rem !important;
	  padding-left: 1rem !important;
	}
  #p165 section#centered > .container {
    position: relative;
    top: inherit;
    left: inherit;
    width: 100%;
    -webkit-transform: inherit;
    -ms-transform: inherit;
    transform: inherit;
  }
  .carousel-control-prev, .carousel-control-next {
    max-height: 320px;
  }
}


@media (max-width: 390px) {
	#p23 .right img {
	  display: none;
	}
	#p8 .frame-blauer-hintergrund {
	  padding: 20px;
	}
  .carousel-control-prev, .carousel-control-next {
    max-height: 260px;
  }
}
