/**
 * @file
 * Visual styles for Confea Theme tables.
 */
table {
  border-collapse: collapse;
  width: 100%;
  color: #000000;
  margin: 25px 0 40px;
}
table th {
  font-size: 1.14rem;
  text-transform: uppercase;
  border: 1px solid #fff;
  background: #3f3f3f;
  color: #ffffff;
}
table th,
table td {
  vertical-align: top;
  padding: 10px 20px;
  text-align: left;
}
table th a {
  color: #ffffff;
}
table td {
  border: 1px solid #fff;
}
table tr.even,
table tr.odd {
  border-bottom: 1px solid #fff;
  background: #e4e4e4;
  font-size: 1rem;
}
.colored-region table {
  color: #ffffff;
}
.colored-region table th {
  background-color: transparent;
}
.colored-region table td {
  border-color: #ffffff;
}
.colored-region table tr.even,
.colored-region table tr.odd {
  background: transparent;
}
.footer-area table th,
.footer-area table td {
  padding: 10px;
}

/* user generated table */
.node--content .field--name-body table {
  border: none;
}
.node--content .field--name-body table tr:nth-child(even) {
  background-color: #f5f5f5;
}
.node--content .field--name-body table tr {
  height: 55px;
  -webkit-transition: background-color .3s ease, color .3s ease;
  -moz-transition: background-color .3s ease, color .3s ease;
  -ms-transition: background-color .3s ease, color .3s ease;
  -o-transition: background-color .3s ease, color .3s ease;
  transition: background-color .3s ease, color .3s ease;
  border: 1px solid #dddddd;
  border-left: none;
  border-right: none;
}
.node--content .field--name-body table td {
  vertical-align: middle !important;
  border: none;
}
.node--content .field--name-body table tbody tr:first-child td {
  font-weight: bold;
  vertical-align: bottom !important;
}
.node--content .field--name-body table tbody tr:first-child {
  border-top: none;
}