/**
 * Kevin's custom CSS for use alongside Academic theme.
 */

/* Table captions to match figure captions. */

table > caption {
  /*display: block;*/
  margin-top: 0.75em;
  line-height: 1.25;
  font-size: 1rem;
  margin-bottom: 1.65rem;
  font-family: 'Montserrat', sans-serif; /* FIXME hard-coded font instead of '{{ .Get "heading_font" }}'. */
  color: rgba(0, 0, 0, 0.8);
}

table > caption.numbered:before {
  font-weight: 700;
  text-transform: uppercase;
  content: attr(data-pre) counter(table-captions) attr(data-post);
  display: block; /* only because the table shortcode places the caption text with a <p> tag */
}

table > caption.numbered {
  counter-increment: table-captions;
}

table > caption h4 {
  /*display: inline;*/
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
}


/* Table and image styling for subfigures. */

table.subfigures > tbody > tr:nth-child(odd) > td,
table.subfigures > tbody > tr:nth-child(odd) > th {
  background-color: rgba(0.0, 0.0, 0.0, 0.0);
}

/* Table Hover */
table.subfigures > tbody > tr:hover > td,
table.subfigures > tbody > tr:hover > th {
  background-color: rgba(0.0, 0.0, 0.0, 0.0);
}

table.subfigures {
}

table.subfigures > tbody > tr > td {
  text-align: center;
}

table.subfigures > tbody > tr > td > img {
  margin: 0px;
}

