/*

RESPONSTABLE 2.0 by jordyvanraaij
  Designed mobile first!

If you like this solution, you might also want to check out the 1.0 version:
  https://gist.github.com/jordyvanraaij/9069194

*/

table {
 border-collapse: separate;
 border-spacing:0;
}
.responstable {
  margin: 1em 0;
  width: 100%;
  overflow: hidden;
  background: #FFF;
  color: #000;
  border-radius: 10px;
  border: 1px solid #A7D9F4;
}
.responstable tr {
  /* border: 1px solid #D9E4E6; */
  border: 1px solid #A7D9F4;
}
.responstable tr:nth-child(odd) {
  background-color: #f2f2f2;
}
.responstable th {
  display: none;
  border: 1px solid #A7D9F4;
  background-color: #559dc4; 
  /* background-color: rgba(142,127,25,.3); */
  
  color: #595959;
  padding: 1em;
}
.responstable th:first-child {
  display: table-cell;
  text-align: left;
}
.responstable th:nth-child(2) {
  display: table-cell;
}
.responstable th:nth-child(2) span {
  display: none;
}
.responstable th:nth-child(2):after {
  content: attr(data-th);
}
.responstable td p {
  font-family: sans-serif;
  font-size: 100%;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
}
.responstable td p a {
  font-weight: 300;
}
@media (min-width: 680px) {
  .responstable th:nth-child(2) span {
    display: block;
  }
  .responstable th:nth-child(2):after {
    display: none;
  }
}
.responstable td {
  display: block;
  word-wrap: break-word;
  max-width: 7em;
}
.responstable td:first-child {
  display: table-cell;
  text-align: left;
  border-right: 1px solid #A7D9F4;
}
@media (min-width: 680px) {
  .responstable td {
    border: 1px solid #A7D9F4;
  }
}
.responstable th, .responstable td {
  text-align: left;
  margin: .5em 1em;
}
.responstable td {
  text-align: left;
}

@media (min-width: 680px) {
  .responstable th, .responstable td {
    display: table-cell;
    padding: 1em;
    vertical-align: top;
  }
}


/*
Typo3 eigene Tabelleeigenschaften
mschimmel
.contenttable thead th {

  border-collapse: collapse;
}

.contenttable td {
  padding: 4px;
}

*/

.contenttable {
  border-collapse: unset !important;
  border: 1px solid #A7D9F4 !important;
}

.contenttable {
  margin: 1em 0;
  width: 470px;
  overflow: hidden;
  background: #FFF;
  color: #000;
  border-radius: 10px;
  /*border: 1px solid #A7D9F4;*/
}
.contenttable thead {
  border: 1px solid #A7D9F4;
  background-color: #559dc4; 
  border-collapse: collapse;
  color: #595959;
  padding: 1em;
}

.contenttable tr {
  /* border: 1px solid #D9E4E6; */
  border: 1px solid #A7D9F4;
}
.contenttable tr:nth-child(odd) {
  background-color: #f2f2f2;
}
.contenttable th {
  display: none;
  border: 1px solid #A7D9F4;
  background-color: #559dc4; 
  color: #595959;
  padding: 1em;
}
.contenttable th:first-child {
  display: table-cell;
  text-align: left;
}
.contenttable th:nth-child(2) {
  display: table-cell;
}
.contenttable th:nth-child(2) span {
  display: none;
}
.contenttable th:nth-child(2):after {
  content: attr(data-th);
}
.contenttable td p {
  font-family: sans-serif;
  font-size: 100%;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
}
.contenttable td p a {
  font-weight: 300;
}

.Xcontenttable td {
  display: block;
  word-wrap: break-word;
  max-width: 7em;
}
.contenttable td:first-child {
  display: table-cell;
  text-align: left;
  border-right: 0px solid #A7D9F4;
}

.contenttable th, .contenttable td {
  text-align: left;
  margin: .5em 1em;
}
.contenttable td {
  text-align: left;
}
.contenttable tbody tr td {
	border-bottom: 0px solid #A7D9F4 !important;
	border-left: 0px solid black !important;
	border-right: 1px solid #A7D9F4 !important;
	border-top: 1px solid #A7D9F4 !important;
    padding: 10px;
}
.contenttable thead tr th {
	border-bottom: 0px solid #A7D9F4 !important;
	border-left: 0px solid black !important;
	border-right: 1px solid #A7D9F4 !important;
	border-top: 1px solid #A7D9F4 !important;
}

@media (min-width: 680px) {
  .contenttable {
    width: 100%;
  }
  .contenttable th:nth-child(2) span {
    display: block;
  }
  .contenttable th:nth-child(2):after {
    display: none;
  }
  .contenttable td {
    border: 1px solid #A7D9F4;
  }
  .contenttable th, .contenttable td {
    display: table-cell;
    padding: 1em;
    vertical-align: top;
  }
}