/* Styling for the "Enterprise Security Risk Category Table" */
/* Separates the colors for easier readability */
table.security-risk-summary tbody td.severity {
  border-top: 2px solid white;
}

div.table-caption {
  text-align: center;
}

div.table-caption > span.table-number, figcaption > span.figure-number {
  font-weight: bold;
}

/* Styling for tables generated by markdown editor */
div.generated-table { 
  margin-left: auto;
  margin-right: auto;
}

div.generated-table > table {
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.2);
  margin-bottom: 8px;
  font-size: 11pt;
  filter: opacity(100%);
}

div.generated-table th {
  background-color: #6d7ae0;
  font-weight: bold;
  color: white;
  padding: 12px 8px 12px 8px;
  text-align: left;
}

div.generated-table tr td:first-child, div.generated-table tr th:first-child {
  padding-left: 24px;
}

div.generated-table tr td:last-child, div.generated-table tr th:last-child {
  padding-right: 24px;
}

div.generated-table tr:first-child th:first-child { border-top-left-radius: 8px; } 
div.generated-table tr:first-child th:last-child { border-top-right-radius: 8px; } 
div.generated-table tr:last-child td:first-child { border-bottom-left-radius: 8px; }
div.generated-table tr:last-child td:last-child { border-bottom-right-radius: 8px; }

div.generated-table tr:nth-child(even) { 
  background-color: #f8f8ff;

}

div.generated-table tr {
  break-inside: avoid;
}

div.generated-table td {
  padding: 8px;
  break-inside: avoid;
  overflow-wrap: anywhere; 
}

div.generated-table td strong {
  break-inside: avoid;
}

table.security-risk-summary td.severity {
    background-color: var(--severity-color);
}

