:root{
	--light-grey: #efefef;
	--winter: #074c71;
	--summer: #137049;
	--gastspiel: orange;
	--premiere: #da4576;
}

body{
	padding:0;
	margin:0;
	font-family: "Rubik";
	font-style: normal;
	font-size:18px;
}
main{
	padding:0 1rem;
}
.var_background { background-color:var(--summer); }
.ticket_list_title.var_text { color: var(--summer); }
.summer .ticket_list_title.var_text { color: var(--summer); }
.summer .var_background { background-color:var(--summer); }
.winter .ticket_list_title.var_text { color: var(--winter); }
.winter .var_background { background-color:var(--winter); }
.gastspiel .ticket_list_title.var_text { color: var(--gastspiel); }
.gastspiel .var_background { background-color:var(--gastspiel); }

.premiere_event .ticket_list_title.var_text { color: var(--premiere); }
.premiere_event .var_background { background-color:var(--premiere); }

.container {
	position: relative;
	display:flex;
	padding:0px;
	height:auto;
	gap:1rem;
	container-type: inline-size;
}
.container.event_liste {
	container-name: event_liste_container;
	margin:0px!important;
	padding:0px!important;
	gap:0rem;
}
.container.grid.event_liste .container_grid_wrapper {
	width:100%;
	gap:0;
}

.event_liste .ticket_list {
	display: flex;
	width:100%;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: .5rem;
}
.ticket_list_item {

	display:flex;
	flex-direction: row;

	align-items: stretch;
	justify-content: space-between;
	gap:.5rem;
}
.ticket_main {
	display:flex;
	flex-direction: row;
	width:100%;
}
.ticket_image {
	aspect-ratio: 16/9;
	border-radius: .5rem;
	overflow: clip;
	margin-right: .5rem;
	position: relative;
	/* min-width: 60px; */
	display: flex;
	justify-content: center;
	/* max-height: 160px; */
	/* height: 100%; */

}
.ticket_image .list_image{
	_width:auto;
	_height:100%;
	_display:flex;
	_max-width: none;
	_height:100%;
}

.ticket_list_item  .ticket_list_datum {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	/* grid-auto-rows: clamp(.8rem, 3vw, 1.1rem); */
	margin-right: .5rem;
	color: white;
	border-radius: .5rem;
	--nav_padding: .5rem 2rem;
	min-width: 50px;
	align-content: center;
	justify-content: center;
	_width: auto;

	padding: .3rem 2rem;
	height:100%;
	
	/*   Datum elemente 	*/
	.premiere_date {
		grid-column: 1 / span 1 ;
		grid-row: 1 / span 1;
		color: var(--premiere);
		font-size:.8rem;
		line-height: 1;
		padding: .1rem .4rem;
		border-radius:100em;
		background-color:white;
		width:fit-content;
	}
	.day {
		grid-column: 1 /span 1;
		grid-row: 2 / span 2;
		display: flex;	
		align-items: center;
		justify-content: center;
		font-weight:900;
		text-align:center;
		margin:0;
		line-height:1em;
		font-size:clamp(1.2rem, 4vw, 2rem);
	}
	.month {
		grid-column: 1 /span 1;
		grid-row: 4 / span 1;	
		display: flex;	
		align-items: center;
		justify-content: center;
		font-weight:900;
		text-align:center;
		line-height:1em;
		font-size:clamp(.8rem, 3vw, 1.1rem);
	}
	.year {
		grid-column: 1 / span 1 ;
		grid-row: 5 / span 1;
		align-items: center;
		justify-content: center;
		text-align:center;
		line-height:1;
		font-weight:900;
		font-size:.9em;
		font-size:clamp(.8rem, 2vw, .9rem);
	}
	.weekday {
		grid-column: 1 /span 1;
		grid-row: 2 / span 1;
		display:none;
	}
	.zeit {
		grid-column: 2 / span 1 ;
		grid-row: 2 / span 1;
		display:none;
	}
	
}

.ticket_list_title {
	font-weight: 900;
	font-size: clamp(1.1em, 1.7vw, 1.7em);
	background-color: var(--light-grey);
	_padding: clamp(.5rem, .5vh, 1.2rem);
	border-radius: .5rem;
	width: 100%;
	line-height: clamp(1em, .5vh, 1.2em);
	display: flex;
	flex: 1;
	flex-shrink:0;
	flex-direction: column;
}
.eventinfo {
	color:#000;
	font-weight:300;
	font-size:.9rem;
	margin-top:.3rem;
	color: #666;
	line-height:1.3;
}
.eventinfo > div {
	margin-right:1rem;
}

.ticket_buy {
	position: relative;
	display: flex;

	align-items: center;
	justify-items: center;


	min-width:100px;
	width:14vw;
}
.ticket_list_verfuegbarkeit{
	font-size: clamp(.7rem, 1vw,.8rem);
	line-height:1;
	position:relative;

	flex-direction: column;
	padding:0px!important;
	color:#fff;
}
.ticket_list_verfuegbarkeit .counter_text {
	display:flex;
	font-weight:300!important;
	padding:.2rem .4rem;
	border-radius:.5rem;
	background-color:#fff;
	color:#000;
	margin:.5rem;
}
.ticket_list_verfuegbarkeit.ticket-ok .counter_text,
.ticket_list_verfuegbarkeit.wenige .counter_text {
  animation: fadeIn 1s ease forwards;
  color:#000;
  text-align: center;
  line-height:1;
}

.ticket_buy > .ticket_list_button {

	border-radius:.5rem!important;
	justify-content: center!important;
	align-items: center!important;
	display: flex!important;
	flex-direction: column;
	border:0px!important;
	margin:0px!important;
	height:100%;
	width:100%;
	min-width:none!important;
}
.ticket_list_button {
	color:white!important;
	font-weight:900;
	text-decoration: none!important;
	line-height:1rem!important;
	font-size: clamp(.9rem, 3vw, 1.2rem);
	margin:0px!important;
	text-align: center;
}
.ticket_list_button .ticket-button {
	color: #fff !important;
	background: none!important;
	background: url('');
	margin: 0px 10px;
	border: 0 !important;
	padding:0px!important;
}
.theater_winter .ticket_list_button a.ticket-button {
	background:none!important;
	max-height: 100%;
	color: #fff !important;
	background: none !important;
}

.ticket_preis {
	font-size: clamp(12px, 2vw,.85rem);
	font-style: italic;
	font-weight:300;
	text-align:center;
	width:100%;
}
.container_grid_wrapper.ticket_list .ticket-button:hover {
	background-image: none!important;
	color: #fff !important;
}

.ticket_list_item {
	transition: all .4s ease-in-out;
	cursor: pointer;
}

.ticket_list_item:hover {
	transform-box: content-box;
	transform: scale(.96);
	transform-origin: center;	
	transition: all .1s ease-in-out;
}

.ticket_list_item:hover .ticket_list_title {
	
}

.ticket_list_item:hover .ticket_buy {
	opacity: .8;
	transition: all .2s ease-in-out;
}

.ticket_list_item:hover .ticket_list_title .eventinfo {
	text-decoration: none!important;
}
.container.event_liste {
	width:100%!important;
}

.eventinfo .term_child,
.eventinfo .term_erwachsene{ display:none!important;}

@container event_liste_container (min-width: 100px) {
  	.ticket_image {
		  display:none;
	 }  
	 .year{
		 display:none;
	 }
	 .eventinfo .ort {
		 display:none;
	 }
	 .premiere_date{
		  display:none;
	  }
	.ticket_list_verfuegbarkeit:before {
		display: flex;
	}
	 .ticket_list_verfuegbarkeit {
		/* display:none;*/
	 }
	 .ticket_list_datum {
		 /*width: unset!important;*/
	 }
	 .ticket_list_item  .ticket_list_datum {
		 padding:0rem;
	 }
	 .ticket_list_title {
		 padding:10px;
	 }
	
	 .ticket_list_datum .day {
		 font-size:1.1rem!important;
	 }
	 .ticket_list_datum .month {
		  font-size:.7rem;
	  }
	.ticket_list_title {
		font-size: .9em;
	}
	.ticket_list_button a {
		font-size: .7rem;
	}

		.ticket_tickets_abstand {
		padding-top: 10px;
	}

}


@container event_liste_container (min-width: 700px) {
	.ticket_image {
		display: flex;
		width: 220px;
    	height: auto;
	}

	.year {
		display: flex;
	}

    .premiere_date {
		display: flex!important;
	}

	.eventinfo .ort {
		display: flex;
	}

	.ticket_list_verfuegbarkeit {
		display: flex;
	}



	.ticket_list_item .ticket_list_datum {
		width: 85px;
		padding: .5rem 3rem;
	}

	.ticket_list_title {
		padding: 1rem;
	}

	.ticket_list_datum .day {
		font-size: clamp(1.2rem, 4vw, 2rem) !important;
	}

	.ticket_list_datum .month {
		font-size: clamp(.8rem, 3vw, 1.1rem) !important;
	}

	.ticket_list_title {
		font-size: clamp(1.2em, 2vw, 1.7em);
	}

	.ticket_list_button a {
		font-size: clamp(.7rem, 3vw, 1.2rem);
	}

}

.ticket_list_item.customLineBottom {
	margin:0px!important;
	padding:0px!important;
	background:none!important;
}

.avada_portfolio .ticket_image {
	  display:none!important;
 } 









