.flex-row-spaced {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 76vw;
	padding-bottom: 1em;
	align-items: center;
	flex: 1 1 auto;
}



.tx-bbao-termin {
	display: block;
	box-sizing: border-box;
	overflow: auto;
	max-height: calc( 90vh - var( --header-height ) );
	padding-top: 0em;
	padding-bottom: 1em;
}

.tx-bbao-termin h1 {
	padding-top: 1em;
}

.tx-bbao-termin-grid-row {
  width: 100%;
  display:grid;
  grid-template-columns: 8em 13em  auto;
	margin: 0 auto 0 auto;
	padding-bottom: 0.5em;
}
.tx-bbao-termin-grid-row img {
        min-height: 100%;
	max-height: 100%;
	margin-right: 0.5em;
        vertical-align: middle;
 
}

.tx-bbao-termin-grid-row div {
	text-overflow: ellipsis;
	white-space: nowrap;
	margin: auto 0 auto 0;
}

.tx-bbao-terminListe table {
	clear: all;
}

.tx-bbao-termin-grid-termin {
	width: 100%;
	display:grid;
	max-height: 3em:
	grid-template-columns: 6em min-content auto;
	grid-template-columns: 6em 13em  auto;
	margin: 0 auto 0 auto;
	padding-bottom: 0.5em;
	overflow: hidden;
}
.tx-bbao-termin-grid-termin > a > img {
	height: 3em:
	max-width: 100%;
	fit-content(2em);
}

termin {
	width: 100%;
	display:grid;
	grid-template-columns: 6em 13em  auto;
	grid-template-lines: 4em;
	margin: 0 auto 0 auto;
	padding-bottom: 0.5em;
}

termin {
	width: 100%;
	display:grid;
	grid-template-columns: 6em 13em  auto;
	grid-template-lines: 4em;
	margin: 0 auto 0 auto;
	padding-bottom: 0.5em;
}


termin-2 img,
termin-2 > img,
termin img,
termin a > img {
	margin-top: 0.8em;
	max-width: 8em;
	max-height: 5em;
	min-height: 5em;
	object-fit: contain;
	padding: 0.2em;
}
termin.datum {

}

termin div:nth-child(2)  {
        height: 3.6em;
        font-weight: bold;
        word-spacing: 0.5em;
        line-height: 1.8em;
}
termin div:nth-child(2)  {
        background-color: #aceca8;
        text-align: center;
	border-radius: 1em;
	margin: auto;
        width: 11em;
}

termin div:nth-child(3)  {
	margin: 1%;
	width: 97%;
	position: relative;
        width: 100%;
}

termin div:nth-child(3)  {
	grid-column: 3;
	height: 4em;
	overflow-y: scroll;
}

termin-2 info div > a:nth-child(1),
termin div:nth-child(3) > a {
	padding-left: 0.5em;
        padding-right: 0.5em;
        top: 2.8em;
	float: right;
        right: 0.5em;
        background-color: #aceca8;
        position: sticky;
        z-index: 10;
}

table.veranstalter,
table.terminedit {
	clear: both;
	border: none;
	display: block;
	height: 50vh;
	overflow: auto;
	border-collapse: separate;
	border-spacing: 0;
	padding-bottom: 2em;
}
table.veranstalter thead,
table.terminedit thead {
	background: var( --table-header-bgcolor );
	color: var( --table-header-color );
	position: sticky;
	top: 0;
	z-index: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
table.veranstalter tbody,
table.terminedit tbody {
}

table.veranstalter th, 
table.terminedit th 
{ 
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: 3px solid #ffffff; 
}

table.terminedit td,
table.veranstalter td 
{ 
	border: none ;
	width: 50%;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
};
table.terminedit td { border: none };

table.veranstalter th ,
table.veranstalter td ,
table.terminedit th ,
table.terminedit td {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
      	padding-left: 1em;
	border: none;
}
table.terminedit td:nth-child(3),
table.terminedit td:nth-child(4),
table.terminedit td:nth-child(7) {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: clip;
        word-spacing: 0.5em;
	max-width: 4444em;
}

table.terminedit th:nth-child(5),
table.terminedit td:nth-child(5) {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	min-width: 20vw;
	max-width: 20vw;
}
table.terminedit tr 
{
	max-height: 1.5em;
	min-height: 1.5em;
	width: calc( 100% - 1em);
}
table.terminedit tr:nth-child( even )
{
	background: #cccccc;
	background: var( --table-bgcolor-even );
	right: 1em;
}
table.veranstalter th:nth-child( 4 ),
table.veranstalter td:nth-child( 4 ),
table.terminedit th:nth-child( 9 ),
table.terminedit td:nth-child( 9 )
{
	position: sticky;
	right:0em;
	background: var( --table-header-bgcolor );
	border-right: 15px solid #ffffff; 
}

table.veranstalter td:nth-child( 4 ),
table.terminedit td:nth-child( 9 )
{ 
	border-left: 3px solid #ffffff; 
	white-space: nowrap;
	min-width: 50px;
	max-width: 150px;
}

termin-2 {
	width: 100%;
	display:grid;
	column-gap: 1em;
	text-align: left;
	grid-template-columns: 8em  auto;
	grid-template-lines: 4em;
}


.resize {
	grid-column: 2;
	height: 5em;
	overflow: hidden;
        font-weight: bold;
        word-spacing: 0.5em;
	width:  70vw;
	padding-right: 2em;
	padding-top: 1em;
}
termin-2 info div:nth-child(1) 
{
	font-size: 1em;
	padding-left: 0.3em;
	font-weight: bold;
	text-align: center;
	width: fit-content;
	word-spacing: 0.5em;
}

xtermin-2 info div
{
        font-weight: normal;
        word-spacing: normal;
}

termin-2 info {
	display: block;
	overflow: visible;
	border-top: 0.2em solid blue;
	padding-top: 0.5em;
	width: calc( 100% - 2em);
}
termin-2 label {
  display: inline-block;
}

termin-2 label input {
	display: none;
	opacity: 0;
}

.resize {
        font-weight: normal;
        word-spacing: normal;
	display: block;
	position: relative;
	clear: both;
}
.resize::before
{
	content: '';
	background-image: url('/typo3conf/ext/bbao_termin/Resources/Public/Icons/down.svg');
	float: inline-start;;
	z-index: 1;
        position: absolute;
	top: -0.03em;
        width: 1em;
	height: 1em;
	padding-right: 0.5em;
	overflow: visible;
        background-size: 1em;
        background-repeat: no-repeat;
}

input:checked ~ .resize {
	block-size: fit-content;
	width: 70vw;
}

