
* {
  font-family: Lato, sans-serif;
  }

#content h1 {
    font-family:"Lato",sans-serif;
    color: #132843;
  }

.dummy {
  width: 12em;
}
 
.tabelle {
  width:auto;
  max-width:none;
  border: 0.2em solid #efefef;
  height:100%;
  margin-bottom: 0em;
}

.tabelle td {
  border-top: 0.1em solid #EFEFEF !important;
  border-bottom: 0.1em solid #EFEFEF !important;
  font-size: 1em;
font-family: Lato, sans-serif;
}

.tabelle td.frak {
  padding:0em;
  height: 1em;
}

.bregbebi .tabelle td.frak {
  height: 0em;
  border-bottom:0em;
}

.tabelle td.frak div {
  margin:0em;
}

.grid-item .tabelle td.table-responsive__header {
  height: 14em;
  background: white !important;
}

.grid-container {
  display: -moz-grid;
  display: -ms-grid;
  display:grid;
  grid-gap: 0.2em;
  grid-column-gap: 0.2em;
  grid-row-gap: 1em;
}

#contentplusteaser h2 {
	clear: both;
}
#contentplusteaser #content {
	float:none;
	width: unset;
}

div.contentBlock.h_1:not(.seite1) {
  display: none;
}

#content.ausschuss h2,#content.bebild h2 {
  margin-left: 0em;
  text-indent: unset;
}

#content.bebild div.contentBlock.page:not(.seite1) {
  margin-top: 0em;
  padding-top: 0em;
} 
/*
#content.bebild div.contentBlock.page:not(:last-child) {
  border-bottom: unset;
}
*/
#content.bebild div.pageAll:not(:last-child) div.contentBlock.page {
	border-bottom: unset;
}

.contentBlock .grid-item div.teaserPortraitLarge div.image-container img {
  margin-bottom: 0em !important;
  margin-right: 0em;
}

.name {
  text-align: center;
  height: 100%;
  vertical-align: top;
}

.tabelle span.frakn {
  display: inline-block;
  margin-bottom: 0.5em;
}

.tabelle span.nachname{
  font-weight: bold;
  color: black;
}

.tabelle span.vorname {}

.tabelle span.funkn {
  display: inline-block;
  margin-top: 0.5em;
}

.tabelle .bildContainer.copyright {
  text-align: center;
  line-height: 15px;
}

.tabelle .bildContainer.copyright div {
  font-size: 0.8em;
  margin: 0em 1em 0em 1em;
}

div.contentBlock.h_1 div.floatRight {
  display: none;
}

.printOnly {
  display: none;
}

.tabelle td.table-responsive__header {
  padding-bottom: 0.3em;
}

@media (min-width: 1025px) {
  .grid-container {
    grid-template-columns: auto auto auto auto auto auto;
  }
  .grid-item .bildContainer img {
    max-height: 18em;
    margin-bottom: 3px;
  }
  .grid-item .bildContainer {
    height: 14.05em;
  }
  .grid-item {
    max-width: 9.3em;
    min-width: 8em;
  }
  .grid-item.g1 {-ms-grid-column:1;-ms-grid-row:1;}
  .grid-item.g2 {-ms-grid-column:2;-ms-grid-row:1;}
  .grid-item.g3 {-ms-grid-column:3;-ms-grid-row:1;}
  .grid-item.g4 {-ms-grid-column:4;-ms-grid-row:1;}
  .grid-item.g5 {-ms-grid-column:5;-ms-grid-row:1;}
  .grid-item.g6 {-ms-grid-column:6;-ms-grid-row:1;}
  .grid-item.g7 {-ms-grid-column:1;-ms-grid-row:2;}
  .grid-item.g8 {-ms-grid-column:2;-ms-grid-row:2;}
  .grid-item.g9 {-ms-grid-column:3;-ms-grid-row:2;}
  .grid-item.g10 {-ms-grid-column:4;-ms-grid-row:2;}
  .grid-item.g11 {-ms-grid-column:5;-ms-grid-row:2;}
  .grid-item.g12 {-ms-grid-column:6;-ms-grid-row:2;}
  .grid-item.g13 {-ms-grid-column:1;-ms-grid-row:3;}
  .grid-item.g14 {-ms-grid-column:2;-ms-grid-row:3;}
  .grid-item.g15 {-ms-grid-column:3;-ms-grid-row:3;}
  .grid-item.g16 {-ms-grid-column:4;-ms-grid-row:3;}
  .grid-item.g17 {-ms-grid-column:5;-ms-grid-row:3;}
  .grid-item.g18 {-ms-grid-column:6;-ms-grid-row:3;}
  .grid-item.g19 {-ms-grid-column:1;-ms-grid-row:4;}
  .grid-item.g20 {-ms-grid-column:2;-ms-grid-row:4;}
  .grid-item.g21 {-ms-grid-column:3;-ms-grid-row:4;}
  .grid-item.g22 {-ms-grid-column:4;-ms-grid-row:4;}
  .grid-item.g23 {-ms-grid-column:5;-ms-grid-row:4;}
  .grid-item.g24 {-ms-grid-column:6;-ms-grid-row:4;}
}

@media (min-width: 0px) and (max-width: 1024px) {
  .table-responsive--tabled tbody tr:not(:last-child) {
	  border-bottom: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid-container {
    grid-template-columns: auto auto auto auto auto auto;
  }
  .grid-item {
	width: 8.8em;
  }
  .grid-item .bildContainer {
    height: 14em;
	overflow: hidden;
  }
  .grid-item .bildContainer img {
/*    max-height: 20em; */
  }
  .grid-item.g1 {-ms-grid-column:1;-ms-grid-row:1;}
  .grid-item.g2 {-ms-grid-column:2;-ms-grid-row:1;}
  .grid-item.g3 {-ms-grid-column:3;-ms-grid-row:1;}
  .grid-item.g4 {-ms-grid-column:4;-ms-grid-row:1;}
  .grid-item.g5 {-ms-grid-column:5;-ms-grid-row:1;}
  .grid-item.g6 {-ms-grid-column:6;-ms-grid-row:1;}
  .grid-item.g7 {-ms-grid-column:7;-ms-grid-row:1;}
  .grid-item.g8 {-ms-grid-column:8;-ms-grid-row:1;}
  .grid-item.g9 {-ms-grid-column:1;-ms-grid-row:2;}
  .grid-item.g10 {-ms-grid-column:2;-ms-grid-row:2;}
  .grid-item.g11 {-ms-grid-column:3;-ms-grid-row:2;}
  .grid-item.g12 {-ms-grid-column:4;-ms-grid-row:2;}
  .grid-item.g13 {-ms-grid-column:5;-ms-grid-row:2;}
  .grid-item.g14 {-ms-grid-column:6;-ms-grid-row:2;}
  .grid-item.g15 {-ms-grid-column:7;-ms-grid-row:2;}
  .grid-item.g16 {-ms-grid-column:8;-ms-grid-row:2;}
  .grid-item.g17 {-ms-grid-column:1;-ms-grid-row:3;}
  .grid-item.g18 {-ms-grid-column:2;-ms-grid-row:3;}
  .grid-item.g19 {-ms-grid-column:3;-ms-grid-row:3;}
  .grid-item.g20 {-ms-grid-column:4;-ms-grid-row:3;}
  .grid-item.g21 {-ms-grid-column:5;-ms-grid-row:3;}
  .grid-item.g22 {-ms-grid-column:6;-ms-grid-row:3;}
  .grid-item.g23 {-ms-grid-column:7;-ms-grid-row:3;}
  .grid-item.g24 {-ms-grid-column:8;-ms-grid-row:3;}
}

@media (min-width: 0) and (max-width: 767px) {
  .grid-container {
    grid-template-columns: auto auto auto auto;
  }
  .grid-item {
	width: 8.8em;
  }
  .grid-item .bildContainer {
    height: 13em;
	overflow: hidden;
  }
  .printOnly {
    display: none !important;
  }
  .grid-item.g1 {-ms-grid-column:1;-ms-grid-row:1;}
  .grid-item.g2 {-ms-grid-column:2;-ms-grid-row:1;}
  .grid-item.g3 {-ms-grid-column:1;-ms-grid-row:1;}
  .grid-item.g4 {-ms-grid-column:2;-ms-grid-row:2;}
  .grid-item.g5 {-ms-grid-column:1;-ms-grid-row:2;}
  .grid-item.g6 {-ms-grid-column:2;-ms-grid-row:3;}
  .grid-item.g7 {-ms-grid-column:1;-ms-grid-row:3;}
  .grid-item.g8 {-ms-grid-column:2;-ms-grid-row:4;}
  .grid-item.g9 {-ms-grid-column:1;-ms-grid-row:4;}
  .grid-item.g10 {-ms-grid-column:2;-ms-grid-row:5;}
  .grid-item.g11 {-ms-grid-column:1;-ms-grid-row:5;}
  .grid-item.g12 {-ms-grid-column:2;-ms-grid-row:6;}
  .grid-item.g13 {-ms-grid-column:1;-ms-grid-row:6;}
  .grid-item.g14 {-ms-grid-column:2;-ms-grid-row:7;}
  .grid-item.g15 {-ms-grid-column:1;-ms-grid-row:7;}
  .grid-item.g16 {-ms-grid-column:2;-ms-grid-row:8;}
  .grid-item.g17 {-ms-grid-column:1;-ms-grid-row:8;}
  .grid-item.g18 {-ms-grid-column:2;-ms-grid-row:9;}
  .grid-item.g19 {-ms-grid-column:1;-ms-grid-row:9;}
  .grid-item.g20 {-ms-grid-column:2;-ms-grid-row:10;}
  .grid-item.g21 {-ms-grid-column:1;-ms-grid-row:10;}
  .grid-item.g22 {-ms-grid-column:2;-ms-grid-row:11;}
  .grid-item.g23 {-ms-grid-column:1;-ms-grid-row:11;}
  .grid-item.g24 {-ms-grid-column:2;-ms-grid-row:12;}
}

@media (max-width: 550px) {
  .grid-container {
    grid-template-columns: auto auto;
  }
  .grid-item {
	width: 14em;
  }
  .grid-item .bildContainer {
    height: 22.5em;
	overflow: hidden;
  }
  .grid-item .tabelle td.table-responsive__header {
	  height: unset;
  }
}


@page {
  size: A4 landscape;
  margin: 10mm 10mm 10mm 10mm;
}

@media print {
  @page {
    size: A4 landscape;
    margin: 7mm 5mm 7mm 5mm;
  }
  body {
    width: 297mm;
    /* height: 205mm; */
    height: 202mm;
    background: none;
  }
  .grid-container {
    grid-template-columns: auto auto auto auto auto auto auto auto;
	margin-top: 1em;
  }
  .grid-item {
	max-width: unset;
	min-width: unset;
  }
  .contentBlock .grid-item .bildContainer {
    height: unset;
    width: 95%;
  }
  .contentBlock .grid-item .bildContainer img {
    max-height: unset;
    max-width: unset;
    height: unset;
    width: unset;
    font-size: unset;
  }
  .contentBlock .grid-item div.teaserPortraitLarge div.image-container img {
	  width: 100px;
  }
  .bregbebi .contentBlock .grid-item div.teaserPortraitLarge div.image-container img {
    width: 80px;
  }
  #header {
    display: none;
  }
  #container {
    max-width: none;
    padding-left: 0em;
  }
  .breadcrumb {
    display: none;
  }
  .contentBlock {
    padding: 0em;
    margin-top: 0em;
    margin-bottom: 0em;
  }
  .contentBlock.h_1 {
    /*margin-bottom: 1em;*/
  }
  .contentBlock.page {
    display: contents;
  }
  div.contentBlock.h_1:not(.seite1) {
    display: block;
  }

  div.contentBlock.page h2.ausueb {
    display:none;
  }
  .bildContainer, .image-container {
    font-size: 0em !important;
  }
  .page {
    /*height: 670px;*/
  }
  .pageAll {
    /*height: 775px;*/
    height: 76.3em;
}
  div#content{
    float: none;
  }
  div.contentBlock.h_1 div.floatRight {
    display: block;
  }
  div.contentBlock.h_1 a.floatRight {
    display: none;
  }
  #container, #main, #contentplusteaser, #content {
    width: 100%;
  }
  .printOnly {
    display: block;
  }
  p.printOnly {
    margin-bottom:0em;
  }
  .tabelle {
    margin-bottom:0em;
  }
  .tabelle td.table-responsive__header {
    padding-top:0em;
    padding-bottom:0em;
    padding-left:0em;
    padding-right:0.5em;
  }
  .grid-item .tabelle td.table-responsive__header {
    height:10em;
  }
  .tabelle .rotate {
    padding: 0.5em !important;
    writing-mode: vertical-rl;
    text-orientation: unset;
    font-size: 0.6em;
    width: 1.9em;
    margin: auto;
    /*height: 14em;*/
	height: 20em;
  }
  .bregbebi .tabelle .rotate {
    height: 15em;
  }
  a.zeigeTooltip {
    display:none;
  }
  .tabelle td {
    border: none;
  }
  .name {
    font-size:1em !important;
    height: 100%;
	padding: 0.5em !important;
  }

  /* only for FF */
  @-moz-document url-prefix() {
    .contentBlock.h_1 {
      margin-top: 2em;
    }
    .page {
      height: 720px;
    }
  }
}

/* Portal NEU */

.contentBlock.page {
	margin-bottom: 2em;
}

.bildContainer img {
  padding: 5px;
}