/* normalize.css v3.0.1 | MIT License | git.io/normalize */
html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}
body {
  margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"] {
  -webkit-appearance: textfield; /* 1 */ /* 2 */
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
@media (min-width: 320px) {
  sup {
    hello: bro;
  }
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  padding: 0;
  margin: 0;
}
ul {
  padding: 0;
  margin: 0;
}
figure {
  margin: 0;
  padding: 0;
}
h1 {
  margin: 0;
}
.hidden {
  display: none;
}
.no-overflow {
  overflow: hidden;
}
.no-transitions * {
  transition: 0;
  transition-delay: 0;
}
.container {
  position: relative;
  min-height: 250px;
  padding-bottom: 20px;
  margin: 20px 10px;
  border: 1px solid #e7ebee;
  border-radius: 6px;
  background-color: #fafafa;
}
.loading .container:before {
  content: '';
  position: absolute;
  top: 80px;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("img/ajax-loader.gif");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  z-index: 0;
}
.container[data-table=ancestry] {
  background-image: url("img/ancestry-pattern.png");
}
.container[data-table=birthplace] {
  background-image: url("img/birthplace-pattern.png");
}
.container[data-table=age] {
  background-image: url("img/age-pattern.png");
}
.container[data-table=religion] {
  background-image: url("img/religion-pattern.png");
}
.container[data-table=food] {
  background-image: url("img/food-pattern.png");
}
.btn {
  display: block;
  margin: 40px auto;
  text-align: center;
  font-weight: bold;
}
.btn > a {
  padding: 8px 10px;
  border: 2px solid #00acff;
  text-decoration: none;
  color: #00acff;
}
body {
  color: #333;
  font-family: proxima-nova, sans-serif;
}
h1 {
  margin: 20px 0 50px;
  text-align: center;
}
p {
  padding: 20px;
  margin: 0;
}
a {
  text-decoration: none;
  color: #00acff;
}
body {
  background: url("img/pattern.gif");
}
.share {
  margin: 10px;
}
.share .fb-like {
  display: block;
}
.ie9-error {
  padding: 30px;
  margin: 0;
  font-size: 32px;
  color: #00acff;
}
footer {
  margin: 40px 10px;
  padding-bottom: 100px;
  font-size: 13px;
  text-align: center;
}
footer .source {
  max-width: 670px;
  margin: 0 auto 20px;
}
footer .source p {
  text-align: center;
  padding: 10px 0;
  font-size: 11px;
}
footer .logo {
  display: inline-block;
  width: 100px;
  margin-left: 10px;
  background: url("img/smallmultiples.png") no-repeat transparent;
  background-size: 100px auto;
  text-indent: -9999px;
}
[data-page-type=suburb].loading .container:before {
  top: -150px;
}
[data-page-type=suburb].no-data .suburb-vis,
[data-page-type=suburb].no-data .suburb-vis-legend,
[data-page-type=suburb].no-data .suburb-content,
[data-page-type=suburb].no-data .suburb-content-trigger {
  display: none !important;
}
[data-page-type=suburb] .autocomplete {
  display: inline-block;
}
[data-page-type=suburb] .suburb-vis-legend.hidden + .suburb-total {
  margin-top: 80px;
}
[data-page-type=suburb] .suburb-title {
  margin-top: 40px;
  text-align: center;
  font-size: 18px;
}
[data-page-type=suburb] .suburb-title b {
  font-size: 24px;
  color: #00acff;
}
[data-page-type=suburb] .suburb-rank {
  margin: 5px 0;
  font-style: italic;
  font-size: 14px;
  font-weight: normal;
  color: #00acff;
}
[data-page-type=suburb] .suburb-bucket {
  width: 220px;
  line-height: 30px;
  margin: 10px auto 30px;
  border-bottom: 2px solid #00acff;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  color: #00acff;
}
[data-page-type=suburb] .suburb-bucket.hidden {
  display: none;
}
[data-page-type=suburb] .suburb-bucket + .suburb-vis {
  margin-top: 30px;
}
[data-page-type=suburb] .suburb-vis {
  opacity: 0;
  -webkit-transform: scale(0.75);
          transform: scale(0.75);
}
[data-page-type=suburb] .suburb-vis.shown {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
[data-page-type=suburb] .suburb-vis-legend {
  max-width: 330px;
  height: 70px;
  margin: 0 auto;
  border: none;
  position: relative;
}
[data-page-type=suburb] .suburb-vis-legend .table-bucket-content-list {
  display: block;
  width: 100%;
  position: relative;
}
[data-page-type=suburb] .suburb-vis-legend .table-bucket-content-list.shown .table-bucket-content-list-item {
  opacity: 1;
}
[data-page-type=suburb] .suburb-vis-legend .table-bucket-content-list.shown .table-bucket-content-list-item.fade {
  opacity: 0;
}
[data-page-type=suburb] .suburb-vis-legend .table-bucket-content-list-item {
  display: block;
  width: 100%;
  opacity: 0;
  transition: opacity 0.2s;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
}
[data-page-type=suburb] .suburb-total,
[data-page-type=suburb] .suburb-zero {
  padding: 0 20px;
  margin: 10px 0;
  text-align: center;
  font-size: 20px;
}
[data-page-type=suburb] .suburb-content {
  display: none;
}
[data-page-type=suburb] .suburb-content.open {
  display: block;
}
[data-page-type=suburb] .suburb-content-trigger {
  position: relative;
  margin: 20px 0;
  text-align: center;
  color: #00acff;
  cursor: pointer;
  z-index: 1;
  transition: 0.2s;
}
[data-page-type=suburb] .suburb-content-trigger.open:before {
  content: 'Hide';
}
[data-page-type=suburb] .suburb-content-trigger:before {
  content: 'Show';
}
[data-page-type=suburb] .suburb-content-trigger:after {
  content: url("img/caret.png");
  display: inline-block;
  margin-left: 10px;
  transition: 0.2s;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}
[data-page-type=suburb] .suburb-content-trigger.open:after {
  -webkit-transform: scale(1);
          transform: scale(1);
}
[data-page-type=suburb] p {
  font-size: 12px;
}
[data-page-type=list].loading .container:before {
  top: 200px;
}
.header {
  position: relative;
  margin: 10px;
  z-index: 1;
}
.header nav {
  border-bottom: 5px solid #00acff;
}
.header .intro {
  padding: 20px 10px 10px;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}
.header a {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  width: 50%;
  padding: 16px 20px;
  background: #89cff3;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
  color: #fff;
}
.header a:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #7fbfe2;
}
.header a:first-child:before {
  right: 0;
}
.header a:last-child:before {
  left: 0;
}
.header a.active {
  background: #00acff;
  border-top: 5px solid #00acff;
}
.header a.active:before {
  content: none;
}
@media (max-width: 600px) {
  .header a {
    height: 68px;
  }
}
.suburb-autocomplete {
  position: relative;
  display: inline-block;
}
.suburb-autocomplete:after {
  content: url("img/search.png");
  position: absolute;
  right: 0;
}
.suburb-autocomplete input {
  width: 100%;
  height: 100%;
  padding-right: 40px;
  margin-left: 10px;
  border: 0;
  border-bottom: 2px solid;
  background: transparent;
}
.suburb-autocomplete input:focus {
  outline: 0;
}
@media (max-width: 600px) {
  .suburb-autocomplete {
    width: 80%;
  }
  .suburb-autocomplete input {
    margin-left: 0;
  }
}
.tt-menu {
  width: 100%;
  margin-left: 10px;
  background: #fff;
  text-align: left;
  box-shadow: 0 1px 1px rgba(0,0,0,0.2);
}
.tt-suggestion {
  padding: 8px 0;
  padding-left: 25px;
}
.tt-cursor {
  background: #f5f5f5;
}
@media (max-width: 600px) {
  .tt-menu {
    margin-left: 0;
  }
}
.tabs {
  background: #e7ebee;
}
.tabs .tabs-content {
  text-align: center;
  max-width: 670px;
  margin: 0 auto;
}
.tabs .tab {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 110px;
  padding: 7px;
  color: #515e6f;
  cursor: pointer;
}
.tabs .tab:before {
  position: relative;
  z-index: 1;
}
.tabs .tab.active {
  font-weight: bold;
  color: #fff;
  cursor: auto;
}
.tabs .tab-text {
  position: relative;
}
.tabs .tab-rank {
  position: relative;
  margin: 3px 0 5px;
  font-weight: bold;
  font-size: 13px;
}
.tabs .tab-ribbon {
  position: absolute;
  top: -10px;
  right: 0;
  bottom: -30px;
  left: 0;
  background: url("img/tab-active.png") no-repeat 50% 0;
  z-index: 0;
}
.tabs [data-table=ancestry]:before {
  content: url("img/ancestry.png");
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}
.tabs [data-table=ancestry].active:before {
  content: url("img/ancestry-active.png");
}
.tabs [data-table=birthplace]:before {
  content: url("img/birthplace.png");
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}
.tabs [data-table=birthplace].active:before {
  content: url("img/birthplace-active.png");
}
.tabs [data-table=age]:before {
  content: url("img/age.png");
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}
.tabs [data-table=age].active:before {
  content: url("img/age-active.png");
}
.tabs [data-table=religion]:before {
  content: url("img/religion.png");
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}
.tabs [data-table=religion].active:before {
  content: url("img/religion-active.png");
}
.tabs [data-table=food]:before {
  content: url("img/food.png");
  width: 24px;
  height: 24px;
  display: block;
  margin: 0 auto;
}
.tabs [data-table=food].active:before {
  content: url("img/food-active.png");
}
@media (max-width: 600px) {
  .tabs .tab {
    padding: 7px 0;
    width: 45px;
  }
  .tabs .tab.active {
    width: 100px;
  }
  .tabs .tab:not(.active) .tab-text {
    text-indent: -9999em;
  }
  .tabs .tab-rank {
    margin-top: 0;
    font-size: 11px;
  }
}
.vis {
  position: relative;
  text-align: center;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
}
.vis svg {
  position: relative;
  z-index: 1;
}
.vis svg circle {
  transition: opacity 0.2s;
}
.vis line {
  stroke-linecap: round;
  stroke-width: 14;
}
.table-bucket {
  padding: 20px 0;
  margin: 20px 0;
  border: solid #e7ebee;
  border-width: 1px 0;
}
.table-bucket-content {
  max-width: 960px;
  margin: 0 auto;
}
.table-bucket-content-list {
  display: inline-block;
  vertical-align: top;
  width: 50%;
}
.table-bucket-content-list-item {
  cursor: pointer;
  position: relative;
  display: block;
  padding: 5px 75px 5px 40px;
  font-size: 13px;
  transition: 0.2s;
}
.table-bucket-content-list-item-circle {
  position: absolute;
  top: 7px;
  left: 20px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 10px;
}
.table-bucket-content-list-item-pct {
  position: absolute;
  top: 5px;
  right: 20px;
}
@media (max-width: 600px) {
  .table-bucket-content-list {
    display: block;
    width: 100%;
  }
}
.table-full-thead-th,
.table-full li > span {
  display: inline-block;
  padding: 10px 8px;
}
.table-full-thead-th:first-child,
.table-full li > span:first-child {
  width: calc(100% - 240px);
  padding-left: 20px;
}
.table-full-thead-th:not(:first-child),
.table-full li > span:not(:first-child) {
  width: 120px;
  text-align: center;
}
@media (max-width: 600px) {
  .table-full-thead-th:first-child,
  .table-full li > span:first-child {
    width: calc(100% - 150px);
    padding-left: 20px;
  }
  .table-full-thead-th:not(:first-child),
  .table-full li > span:not(:first-child) {
    width: 75px;
    text-align: center;
    font-size: 12px;
  }
}
.table-full {
  max-width: 960px;
  margin: 20px auto;
}
.table-full-thead {
  padding-right: 15px;
}
.table-full-thead-th {
  display: inline-block;
  font-size: 14px;
}
.table-full-table {
  width: 100%;
  background: linear-gradient(#fff 30%, rgba(255,255,255,0)), linear-gradient(rgba(255,255,255,0), #fff 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0,0,0,0.1), rgba(0,0,0,0)), radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,0.1), rgba(0,0,0,0)) 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}
.table-full li {
  display: block;
}
.table-full li:nth-child(odd) {
  background: #e7ebee;
}
.table-full li > span {
  position: relative;
}
.table-full li > span:first-child {
  padding-left: 50px;
}
.table-full-rank {
  position: absolute;
  left: 14px;
  top: 7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  line-height: 22px;
  margin-right: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 11px;
  color: #fff;
}
.list {
  padding: 40px 0;
  text-align: center;
}
.list-hide-small {
  display: block;
  margin: 10px 0 30px;
  text-decoration: underline;
  font-size: 13px;
}
.list-content {
  min-height: 100px;
  opacity: 0;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}
.list-content.shown {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  transition: 0.2s;
}
.list-item {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  width: 250px;
  text-align: center;
  cursor: pointer;
}
.list-item .table-bucket-content-list-item {
  display: block;
}
[data-page-type=list] .list-item .table-bucket-content-list-item.fade {
  display: none;
}
.list-item-rank {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
  color: #00acff;
}
.list-item-legend {
  position: absolute;
  width: 100%;
  height: 70px;
  margin: 0 auto;
  border: none;
  text-align: left;
  pointer-events: none;
}
.list-item-legend .table-bucket-content-list {
  display: block;
  width: 100%;
}
.list-item-legend .table-bucket-content-list-item {
  margin: 0;
}
.list h3 {
  padding: 15px;
  margin: 0 0 40px;
  font-weight: normal;
}
.list .vis {
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  margin: -82.5px;
}
.list .vis .small circle {
  transition: opacity 0.2s;
}
.list-legend {
  max-width: 470px;
  margin: 0 auto 40px;
  text-align: left;
}
.list-legend-list {
  display: inline-block;
  vertical-align: top;
  width: 50%;
}
.list-legend-list-item {
  position: relative;
  display: block;
  padding: 5px 0 5px 40px;
  font-size: 13px;
  transition: 0.2s;
  cursor: pointer;
}
.list-legend-list-item-circle {
  position: absolute;
  top: 7px;
  left: 20px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 10px;
}
