a {
  text-decoration: none !important;
}

.subhed {
  font-weight: 900;
  font-size: 1.4rem;
}

.chart-title {
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  padding-top: 15px;
}

.legend {
  margin: 25px 0;
}

.promo-desc {
  line-height: 1.3;
  font-size: 1.1rem;
}

@media (max-width: 740px) {
  .promo-desc {
    padding: 0 10px;
  }
}

.read-more-cta {
  background-color: #212121;
  color: #fff;
  padding: 7px;
  clear: both;
  display: inline;
  font-weight: 800;
}

.read-more-cta > a {
  cursor: pointer;
}

.read-more-cta:hover {
  cursor: pointer;
  background-color: #898989;
}

@media (max-width: 740px) {
  .read-more-cta {
    margin: 0 10px 30px 10px;
  }
}

.rg-container {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  padding: 1em 0.5em;
  color: #222;
}

.rg-header {
  margin-bottom: 1em;
  text-align: left;
}

.rg-header > * {
  display: block;
}

/* table */
table.rg-table {
  width: 100%;
  margin-bottom: 0.5em;
  font-size: 1em;
  border-collapse: collapse;
  border-spacing: 0;
}

table.rg-table tr {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-align: left;
  color: #333;
}

table.rg-table thead {
  border-bottom: 3px solid #ddd;
}

table.rg-table tr {
  border-bottom: 1px solid #ddd;
  color: #222;
}

table.rg-table tr.highlight {
  background-color: #dcf1f0 !important;
}

table.rg-table.zebra tr:nth-child(even) {
  background-color: #f6f6f6;
}

table.rg-table th {
  font-weight: bold;
  padding: 0.35em;
  font-size: 0.9em;
}

table.rg-table td {
  padding: 0.35em;
  font-size: 0.9em;
}

table.rg-table .highlight td {
  font-weight: bold;
}

table.rg-table th.number {
  text-align: right;
}

td.number {
  text-align: right;
}

/* media queries */
@media screen and (max-width: 600px) {
  .rg-container {
    max-width: 600px;
    margin: 0 auto;
  }
  table.rg-table {
    width: 100%;
  }
  table.rg-table tr.hide-mobile, table.rg-table th.hide-mobile, table.rg-table td.hide-mobile, table.rg-table thead {
    display: none;
  }
  table.rg-table tbody {
    width: 100%;
  }
  table.rg-table tr, table.rg-table th, table.rg-table td {
    display: block;
    padding: 0;
  }
  table.rg-table tr {
    border-bottom: none;
    margin: 0 0 1em 0;
    padding: 0.5em;
  }
  table.rg-table tr.highlight {
    background-color: inherit !important;
  }
  table.rg-table.zebra tr:nth-child(even) {
    background-color: transparent;
  }
  table.rg-table.zebra td:nth-child(even) {
    background-color: #f6f6f6;
  }
  table.rg-table tr:nth-child(even) {
    background-color: transparent;
  }
  table.rg-table td {
    padding: 0.5em 0 0.25em 0;
    border-bottom: 1px dotted #ccc;
    text-align: right;
  }
  table.rg-table td[data-title]:before {
    content: attr(data-title);
    font-weight: bold;
    display: inline-block;
    content: attr(data-title);
    float: left;
    margin-right: 0.5em;
    font-size: 0.95em;
  }
  table.rg-table td:last-child {
    padding-right: 0;
    border-bottom: 2px solid #ccc;
  }
  table.rg-table td:empty {
    display: none;
  }
  table.rg-table .highlight td {
    background-color: inherit;
    font-weight: normal;
  }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 3px;
  float: left;
  margin-top: 5px;
}

.live-alone-dot, .live-alone, .kids-dot, .no-limits-dot, .no-limits {
  background-color: #47acb1;
}

.nonfamily-dot, .nonfamily, .adults-dot, .one-limit-dot, .one-limit {
  background-color: #ffcd34;
}

.family-dot, .family {
  background-color: #add5d7;
}

.spouse-dot, .spouse, .seniors-dot, .two-more-limits-dot, .two-more-limits {
  background-color: #f26522;
}

.bar-group {
  margin-bottom: 45px;
}

.bar-container {
  max-width: 600px;
  padding: 20px 0 25px 0;
  display: list-item;
  list-style: none;
}

.stacked-bar {
  height: 30px;
  float: left;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  padding-top: 3px;
}

.bar-label {
  font-weight: 800;
  font-size: 1.1rem;
  padding-bottom: 8px;
}

.line-chart {
  margin: 15px 0;
}

svg {
  font-family: "Open Sans", Arial, sans-serif;
}

svg text {
  font-size: 0.8rem;
}

.line {
  stroke-width: 5;
  fill: none;
}

.axis path {
  stroke: #212121;
}

#ages-small-multiples {
  margin: 35px 0 15px 0;
}
