/* This should be removed after react-markdown is updated to version 6 and working as intended. */

.infobox table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.infobox td,
.infobox th {
  padding: 6px 24px 6px 16px;
  border-bottom: 1px solid rgba(224, 224, 224, 1);
}

.infobox tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.04);
}

.solkarta-table.solkarta-table-v1 td {
  font-size: 12px;
}
.solkarta-table td {
  font-size: 10px;
  padding-left: 3px;
  padding-right: 3px;
}
.solkarta-table th {
  padding-left: 3px;
  padding-right: 3px;
  font-size: 10px;
  padding-top: 0px;
  padding-bottom: 0px;
  line-height: 0.95rem;
  text-align: left;
}
.solkarta-table td.bg1,
.solkarta-table td.bg2,
.solkarta-table td.bg3 {
  font-size: 11px;
  white-space: nowrap;
  font-weight: bold;
  background-size: cover;
}
.solkarta-table td.bg1 {
  background-image: url(/assets/legend/solkarta_legend_gt1000.png);
}
.solkarta-table td.bg2 {
  background-image: url(/assets/legend/solkarta_legend_950-1000.png);
}
.solkarta-table td.bg3 {
  background-image: url(/assets/legend/solkarta_legend_lt950.png);
}

/* Fix for markdown lists in infoClick from attributes. */
section ul > li {
  font-size: 14px;
  margin-bottom: 0;
} 

/* For React markdown 6.0 */
/* <style>.solkarta-table.solkarta-table-v1 .MuiTableCell-body{  font-size:12px;}.solkarta-table .MuiTableCell-body{  font-size:10px;  padding-left: 3px;  padding-right: 3px;}.solkarta-table .MuiTableCell-head{  padding-left: 3px;  padding-right: 3px;  font-size:10px;  padding-top: 0px;  padding-bottom: 0px;  line-height: 0.95rem;}.solkarta-table td.bg1{  font-size:11px;  white-space: nowrap;  font-weight: bold;  background: url(/assets/legend/solkarta_legend_gt1000.png);}.solkarta-table td.bg2{  font-size:11px;  white-space: nowrap;  font-weight: bold;  background: url(/assets/legend/solkarta_legend_950-1000.png);}.solkarta-table td.bg3{  font-size:11px;  white-space: nowrap;  font-weight: bold;  background: url(/assets/legend/solkarta_legend_lt950.png);}</style> */
