@media only screen and (min-width:320px){
.wrapper
{
  max-width: 20em;
}
.wrappernurnav
{
  max-width: 20em;
}


/* Grid
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.grid_1
{
  width: 99%;
  margin-right: 0.5%;
  margin-left: 0.5%;
}
.grid_2
{
  width: 99%;
  margin-right: 0.5%;
  margin-left: 0.5%;
}
.grid_3
{
  width: 99%;
  margin-right: 0.5%;
  margin-left: 0.5%;
}
.grid_4
{
  width: 99%;
  margin-right: 0.5%;
  margin-left: 0.5%;
}
.grid_1.firstchild,
.grid_2.firstchild,
.grid_3.firstchild
{
  margin-left: 0;
}
.grid_1.lastchild,
.grid_2.lastchild,
.grid_3.lastchild
{
  margin-right: 0;
}

.grid_3 .grid_1.lonechild,
.grid_2 .grid_1.lonechild,
.grid_1 .grid_1.lonechild
{
  clear: both;
  float: none;
  margin-right: 0;
  margin-left: 0;
}

.grid_4 .grid_1.firstchild
{
  margin-left: 0.5%;
}
.grid_4 .grid_1.lastchild
{
  margin-right: 0.5%;
}
.grid_4 .grid_2.firstchild
{
  margin-left: 0.5%;
}
.grid_4 .grid_2.lastchild
{
  margin-right: 0.5%;
}

header #headeroben h1 a
{
  margin-top: 3px;
  width: 190px;
  height: 31px;
}
header #headeroben h1 a img
{
  width: 190px;
  height: 31px;
}
/* 0,1643835616438356 */

header #mainnav > ul > li > a
{
  /*font-size: 0.8em;*/
}

header #volltextsuche p input
{
  margin: 0;
  padding: 7px 4px 7px 4px;
}
header #volltextsuche button
{
  margin: 0;
}
header #volltextsuche button span
{
  display: block;
}

.buttonbottom ul.controls li
{
  width: 100%;
}
.buttonbottom ul.controls li a
{
  display: block;
  width: 100%;
}
.buttonbottom ul.content li article .inhalt
{
  padding: 4%;
  background-color: #ffffff;
}

.teaser
{
  margin-bottom: 12px
}
.teaser.grid_2 .grid_1
{
  width: 100%;
  margin: 0;
}
/* alle Bilder max. 75% bei 320 */
.teaser.grid_2 figure.grid_1
{
  /*width: 73.5%;*/
  width: 100%;
}
.teaser.grid_2 figure
{
  /*width: 73.5%;*/
  width: 100%;
}
.teaser.grid_1 figure
{
  /*width: 73.5%;*/
  width: 100%;
}

.teaser.grid_2 .inhalt.grid_1
{
  padding: 2%;
}
.topteaser.rahmen .inhalt
{
  padding: 10px;
}
.topteaser .grid_2
{
  width: 100%;
  margin: 0;
}
.topteaser .grid_1
{
  width: 100%;
  margin: 0;
}
.topteaser.rahmen .inhalt
{
  padding: 10px;
}

.kopfbereich article.teaser.nurtext,
.kopfbereich article.teaser.textbildoben,
.kopfbereich article.teaser.linkliste
{
  margin-bottom: 26px;
}

.teaser.listbox.grid_4 ul,
.grid_4 .teaser.listbox ul
{
  width: 106.75%;
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}
.teaser.listbox.grid_3 ul,
.grid_3 .teaser.listbox ul
{
  width: 104%;
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}
.teaser.listbox.grid_2 ul,
.grid_2 .teaser.listbox ul
{
  width: 106.5%;
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}
.grid_2 .teaser.listbox.grid_1 ul
{
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}
.teaser.listbox.grid_1 ul,
.grid_1 .teaser.listbox ul
{
  width: 106.5%;
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}

/*  Template Allgemein
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.articlehead
{
  font-size: 1.3em;
}
.kopfbereich h2.rot
{
  font-size: 1.1em;
}

/*  Template Produkt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.produkt section
{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  float: none;
  width: auto;
  margin: 0;
  border-right: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  padding: 15px;
}

.bewertung h2
{
  width: 70%;
}

/*  Accordion
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#produktinfocenter
{
  background-color: #EFEEEC;
}

#produktinfocenter .accordionhead
{
  display: block;
  margin: 0 -15px 19px -15px;
  padding: 5px 35px 4px 15px;
  border-bottom: 1px solid #D9D9D9;
  position: relative;
  min-height: 25px;
}
#produktinfocenter .accordionhead:first-child
{
  border-top: 1px solid #D9D9D9;
}


/* Tabbox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.tabbox .tabpanel .dottedlinklist
{
  -moz-column-count: 1;
  -webkit-column-count: 1;
  column-count: 1;
}

.tabbox .tabboxcontrols li a:hover,
.tabbox .tabboxcontrols li a:focus,
.tabbox .tabboxcontrols li a:active,
.tabbox .tabboxcontrols li.ui-state-active a
{
  text-decoration: none;
}
.greywrap .tabbox .tabboxcontrols li a:hover,
.greywrap .tabbox .tabboxcontrols li a:focus,
.greywrap .tabbox .tabboxcontrols li a:active,
.greywrap .tabbox .tabboxcontrols li.ui-state-active a
{
  text-decoration: none;
}


/*  Volltextsuche Detail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#volltextsuche_detail p.suchbox
{
  width: 100%;
}

#volltextsuche_detail .form50
{
  width: 100%;
  margin: 0;
}

/*  Multicontent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.multicontent > .grid_2.firstchild {
  width: 100%;
}

.multicontent > .grid_1.lastchild {
  width: 100%;
}

.multicontent .navlist {
  clear: both;
}

.multicontent a.acc-handle {
  display: block;
  margin: 0;
  padding: 12px 12px 12px 12px;
  font-family: 'OpenSansBold', sans-serif;
  font-weight: normal;
  font-size: 1em;
  line-height: 1;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px dotted #999999
}

.multicontent a.acc-handle.ui-state-active {
  outline: 1px solid #EFEEEC;
  background-color: #EFEEEC;
}

.multicontent a.acc-handle:focus,
.multicontent a.acc-handle:active,
.multicontent a.acc-handle:visited {
  outline: 1px dotted #EFEEEC;
}

/*  Service Block
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.service-abisz ul.abiszlist
{
  margin: 0 12px 12px 12px;
}

.service-abisz ul.abiszlist li
{
  min-width:14.59%;
}

.service-abisz ul.abiszlist li:first-child  {
  width: 28.8%;
  overflow: hidden;
}

/*  Veranstaltungskalender
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.mobilespringer
{
  display: block;
  margin: 0 0 16px 0;
  padding: 0 0 0 12px;
  font-weight: normal;
  font-size: 0.8em;
  line-height: 1.3;
  color: #000000;
  text-decoration: none;
  background-position: 0 6px;
}
.mobilespringer:hover,
.mobilespringer:focus,
.mobilespringer:active
{
  text-decoration: underline;
}

form.veranstaltungskalender .formgrid_1 {
  float: left;
  margin: 0 0.5% 1%;
}

form.veranstaltungskalender .formgrid_1.firstchild {
  width: 99%;
}

form.veranstaltungskalender .formgrid_1.middlechild {
  width: 99%;
}

form.veranstaltungskalender .formgrid_1.lastchild {
  width: 99%;
}

form.veranstaltungskalender .formgrid_1.marginright {
  margin-right: 0;
}

/*  Pagination
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.pagination .innerer_block1 {
  display: block;
  width: 100%;
  float: none;
  padding: 34px 0 10px 0;
  margin: 0;
  font-size: 0.8em;
}
.pagination .innerer_block2 {
  display: block;
  width: 100%;
  float: left;
  padding: 10px 0 10px 0;
}
.pagination .innerer_block2 ol {
  float: left;
  margin: 0;
  padding: 0;
}

/*  Adressen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* .adressen #fahrrad #fahrrad-ziel-adresse, */
.adressen #kvb #kvb-datum
{
  width: 65%;
}

html.js .adressen a.fahrradplanerlink {
  display: none;
}

/*  Bildergalerie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.bildergalerie .flex-direction-nav {
  bottom: 63%;
}

.bildergalerie figure {
  min-height: 241px;
}
.bildergalerie figure figcaption {
  padding: 3px;
  font-size: 0.65em;
}

/*  Tabellen
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.responsive-tables
{
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #E4E3DF;
}
.responsive-tables table
{
  margin: -1px;
}

/*** STEFAN ***/

/* Filterbox */

.btnbox
{
  float: left;
  width:100%;
}

.filterbox button
{
  width:100%;
  text-align:center;
  padding-left:0;
  padding-right:0;
}

/* Verkehrskalender */

.verkehrskalender_form ul
{
  float:left;
}

.verkehrskalender_form ul li
{
  display:block;
  margin-bottom:10px;
}

.tabbox.verkehrskalender h5
{
  margin:7px 0 10px 10px;
}
.verkehrskalender .datepicker_form input
{
  display: block;
}
.tabbox.verkehrskalender h5,
.tabbox.verkehrskalender form h5
{
  float:none;
}
.datepicker_form input
{
  margin:5px 0;
}


.verkehrskalenderdetail dt,
.verkehrskalenderdetail dd
{
  clear:both;
}
.verkehrskalenderdetail dd.grid_2
{
  width: 100%;
}

/*Kondolenzbuch*/
.filterbox input.breiter
{
  margin:0 0 0 0;
  padding: 7px 0 7px 4px;
  width: 98.5%;
}

} /* breakpoint 320px */


/************************* responsive Tables BETA *****************************/

@media only screen and (min-width:320px) and (max-width:767px)  {
  .xs_wrapper_order  {
      display: flex;
  }
  .xs_wrapper_order_column {
      flex-direction: column;
  }
  .xs_wrapper_order_column_reverse {
      flex-direction: column-reverse;
  }
	/* Force table to not be like tables anymore */
	table.data-table table,
    table.data-table thead,
    table.data-table tbody,
    table.data-table th,
    table.data-table td,
    table.data-table tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	table.data-table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	table.data-table td {
		/* Behave  like a "row" */
		border: none!important;
		position: relative;
		padding-left: 35% !important;
	}

	table.data-table td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 32%;
		padding-right: 10px;
		white-space: nowrap;
    text-align:right;
	}

	/* Label the data */

  .datatable-head td:nth-of-type(1):before,
  .datatable-head td:nth-of-type(2):before,
  .datatable-head td:nth-of-type(3):before,
  .datatable-head td:nth-of-type(4):before,
  .datatable-head td:nth-of-type(5):before,
  .datatable-head td:nth-of-type(6):before,
  .datatable-head td:nth-of-type(7):before,
  .datatable-head td:nth-of-type(8):before,
  .datatable-head td:nth-of-type(9):before,
  .datatable-head td:nth-of-type(10):before
  {
    content: attr(data-tablehead) ": ";
    font-weight: bold;
    white-space: normal;
  }

/* teamseiten */
#inhalt article.teaser.textbildlinks.teamseiten .inhalt {
    padding: 0 0 65px 0;
  }

  #inhalt article.teaser.textbildlinks.teamseiten .inhalt .teamseiten_links a.download.pdf {
    float: none;
    border: 0;
  }

  #inhalt article.teaser.textbildlinks.teamseiten .inhalt .teamseiten_links a.standardlink {
    float: none;
    border: 0;
  }
  #inhalt article.teaser.textbildlinks.teamseiten .inhalt .teamseiten_links.border_teamseiten {
    display: block;
    position: absolute;
    bottom: 0;
    width: 96%;
    padding: 3px 0 2px 0;
    border: 0;
  }

} /* breakpoint 320px to 479px */


