@import url(https://api.tiles.mapbox.com/mapbox-gl-js/v0.51.0/mapbox-gl.css);@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-bold-italic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-light-italic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Helveticaneue';
  src: url("../../../assets/fonts/helveticaneue.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Helveticaneue';
  src: url("../../../assets/fonts/helveticaneue-bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Helveticaneue';
  src: url("../../../assets/fonts/helveticaneue-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Simoncini';
  src: url("../../../assets/fonts/simoncinigaramond.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Simoncini';
  src: url("../../../assets/fonts/simoncinigaramond-italic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Simoncini';
  src: url("../../../fonts/simoncinigaramond-bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-bold-italic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Recta';
  src: url("../../../assets/fonts/recta-light-italic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Helveticaneue';
  src: url("../../../assets/fonts/helveticaneue.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Helveticaneue';
  src: url("../../../assets/fonts/helveticaneue-bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Helveticaneue';
  src: url("../../../assets/fonts/helveticaneue-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Simoncini';
  src: url("../../../assets/fonts/simoncinigaramond.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Simoncini';
  src: url("../../../assets/fonts/simoncinigaramond-italic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Simoncini';
  src: url("../../../fonts/simoncinigaramond-bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

.item {
  width: calc(100% - 40px);
  float: left;
  margin-left: 20px;
}

@media only screen and (min-width: 1024px) {
  .item {
    width: calc(50% - 30px);
    float: left;
    margin-left: 20px;
  }
}

.item ul {
  padding-left: 0.8em;
}

.item img {
  max-width: 100%;
  width: 100%;
}

.apply-wrapper {
  display: flex;
  justify-content: center;
}

.apply-button {
  background: #8c191c;
  border-radius: 2px;
  display: inline;
  font-family: "Helveticaneue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  margin-top: 10px;
  padding: 4px 15px;
  transition: all 0.3s ease;
}

.apply-button a {
  color: #fff;
}

.apply-button:hover {
  background: #F86666;
  cursor: pointer;
}

.item-table {
  margin: 20px 0;
}

.item-table table {
  width: 100%;
  font-family: "Helveticaneue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 14px;
  border-collapse: collapse;
  border: 1px solid;
  border-radius: 2px;
}

.item-table table td {
  border: 1px solid #8c191c;
  padding: 0.5em;
}

.item-table table p {
  margin: 0;
}

.text {
  width: calc(100% - 40px);
  float: left;
  margin-left: 20px;
}

@media only screen and (min-width: 768px) {
  .text {
    width: calc(100%);
    float: left;
    margin-left: 0;
  }
}

.text-item {
  margin-bottom: 30px;
}

@media only screen and (min-width: 768px) {
  .text-item {
    width: calc(50% - 30px);
    float: left;
    margin-left: 20px;
    padding-bottom: 30px;
    margin-bottom: 0;
    border-bottom: 1px solid #8c191c;
  }
}

.text-item > *:first-child {
  margin-top: 0;
}

@media only screen and (min-width: 768px) {
  .text-image {
    width: calc(50% - 30px);
    float: left;
    margin-left: 20px;
  }
}

.text-image img {
  width: 100%;
}

.apply-wrapper {
  display: flex;
  justify-content: flex-start;
}

.apply-button {
  background: #8c191c;
  border-radius: 2px;
  display: inline-block;
  font-family: "Helveticaneue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.apply-button a {
  color: #fff;
}

.apply-button:hover {
  background: #F86666;
  cursor: pointer;
}

.item-table {
  display: none;
}

.hero {
  width: calc(100% - 40px);
  float: left;
  margin-left: 20px;
  border-radius: 2px;
  color: #444;
  display: block;
  margin-top: 40px;
}

.hero svg,
.hero img {
  width: 100%;
}

.hero .small,
.hero .large {
  width: 100%;
}

.hero .large {
  display: none;
}

@media only screen and (min-width: 768px) {
  .hero .small {
    display: none;
  }
  .hero .large {
    display: block;
  }
}

.hero h2 {
  color: #111;
}

.hero-content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.hero-content-wrapper:not(:last-child) {
  margin-bottom: 40px;
}

.hero-content-wrapper:nth-child(3) {
  margin-bottom: 0;
}

.hero-content-wrapper > *:first-child {
  width: 100%;
}

.hero-content-wrapper--map {
  margin-bottom: 0 !important;
}

.hero-content-wrapper--map #map {
  height: 66vw;
  width: 100%;
}

@media only screen and (min-width: 1280px) {
  .hero-content-wrapper--map #map {
    height: 50vw;
    max-height: 820px;
  }
}

.hero-content-wrapper--map #map .marker {
  cursor: pointer;
  border-radius: 50%;
}

.hero-content-wrapper--map #map .marker:after {
  position: absolute;
  content: "";
  width: 40px;
  height: 40px;
}

.hero-content-wrapper--map #map .marker--low {
  background: #ff9a9a;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  width: 10px;
  height: 10px;
}

.hero-content-wrapper--map #map .marker--low:after {
  left: calc(-1 * (40px - 10px) / 2);
  top: calc(-1 * ((40px - 10px) / 2) - (10px / 2));
}

.hero-content-wrapper--map #map .marker--medium {
  background: #f86666;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  width: 14px;
  height: 14px;
}

.hero-content-wrapper--map #map .marker--medium:after {
  left: calc(-1 * (40px - 14px) / 2);
  top: calc(-1 * ((40px - 14px) / 2) - (14px / 2));
}

.hero-content-wrapper--map #map .marker--huge {
  background: #c63539;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  width: 18px;
  height: 18px;
}

.hero-content-wrapper--map #map .marker--huge:after {
  left: calc(-1 * (40px - 18px) / 2);
  top: calc(-1 * ((40px - 18px) / 2) - (18px / 2));
}

.hero-content-wrapper--map #map:after {
  content: "";
  display: block;
  position: absolute;
  height: 30px;
  background: white;
  bottom: 0;
  width: 100%;
  z-index: 2;
}

.hero__item {
  width: calc(100%);
  float: left;
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #111;
}

@media only screen and (min-width: 1024px) {
  .hero__item {
    width: calc(50%);
    float: left;
    margin-left: 0;
  }
  .hero__item:nth-of-type(odd):after {
    background: #8c191c;
    content: "";
    display: block;
    width: 1px;
    margin-left: auto;
    height: 200px;
  }
}

.hero__item__chart-wrapper {
  display: flex;
  flex-direction: column;
  width: calc(100%);
  float: left;
  margin-left: 0;
}

@media only screen and (min-width: 480px) {
  .hero__item__chart-wrapper {
    width: calc(33.33333333%);
    float: left;
    margin-left: 0;
  }
}

.hero__item__chart-wrapper__chart {
  position: relative;
  order: 2;
}

.hero__item__chart-wrapper__title {
  text-align: center;
  padding-top: 20px;
  order: 1;
}

@media only screen and (min-width: 480px) {
  .hero__item__chart-wrapper__title {
    order: 3;
  }
}

.hero__item__data {
  width: calc(100%);
  float: left;
  margin-left: 0;
}

@media only screen and (min-width: 480px) {
  .hero__item__data {
    width: calc(66.66666667% - 33.33333333px);
    float: left;
    margin-left: 20px;
  }
}

.hero__item__data__value {
  width: calc(50% - 30px);
  float: left;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}

.hero__rate {
  width: calc(50%);
  float: left;
  margin-left: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

@media only screen and (min-width: 480px) {
  .hero__rate {
    width: calc(25%);
    float: left;
    margin-left: 0;
  }
  .hero__rate:not(:last-child):after {
    content: "";
    display: block;
    background: #8c191c;
    width: 1px;
    height: 100px;
  }
}

.hero__rate h2 {
  margin-top: 0;
}

.hero__rate--map {
  margin-bottom: 2rem;
}

@media only screen and (min-width: 480px) {
  .hero__rate--map {
    flex: 1;
  }
}

.hero__rate--map .hero__rate__title {
  margin-bottom: 0;
}

.hero__rate--map .hero__rate__value {
  margin-top: 0;
}

.hero__rate__content {
  flex-grow: 1;
}

.hero__rate__value {
  margin-bottom: 0;
  color: #111;
}

.hero__rate__value .rates,
.hero__rate__value .rate-unit {
  font-size: 36px;
}

@media only screen and (min-width: 768px) {
  .hero__rate__value .rates,
  .hero__rate__value .rate-unit {
    font-size: 48px;
  }
}

.hero__rate__title {
  color: #111;
  margin-top: 0;
}

.hero__gender-split, .hero__age-range {
  width: calc(100%);
  float: left;
  margin-left: 0;
  margin-bottom: 2rem;
  color: #111;
}

@media only screen and (min-width: 768px) {
  .hero__gender-split, .hero__age-range {
    width: calc(50% - 30px);
    float: left;
    margin-left: 20px;
    margin-bottom: 0;
  }
}

.hero__gender-split__bar, .hero__age-range__bar {
  display: flex;
}

.hero__gender-split__title, .hero__age-range__title {
  padding-top: 1rem;
}

.hero__gender-split {
  margin-left: 0;
}

.hero__gender-split__bar {
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .hero__gender-split__bar {
    width: 90%;
  }
}

.hero__gender-split__bar > div {
  font-size: small;
}

.hero__gender-split__bar > div:after {
  content: "";
  display: block;
  height: 80px;
  background: #d2d7d3;
}

.hero__gender-split__bar > div:first-child:after {
  background: #F86666;
}

@media only screen and (min-width: 768px) {
  .hero__age-range {
    margin-top: -3vw;
  }
}

.hero__age-range__bar {
  align-items: center;
}

.hero__age-range__bar-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: small;
}

.hero__age-range__bar__average {
  text-align: left;
  margin: 0 0.5rem;
}

.hero__age-range__bar__oldest {
  text-align: end;
}

.mapboxgl-popup-tip {
  display: none;
}

.mapboxgl-popup-content {
  background: rgba(254, 254, 254, 0.7);
  box-shadow: none;
  border-radius: 0;
  border: 1px solid #8c191c;
  color: #111;
  font-size: small;
  padding: 15px;
  font-weight: 600;
}

.mapboxgl-popup-content .mapboxgl-popup-close-button {
  display: none;
}

@media only screen and (min-width: 1024px) {
  .hero-content-wrapper:first-child .hero__item:nth-child(3) {
    padding-left: 20px;
  }
}

.age-range-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.age-range-wrapper__line {
  width: calc(100% + 1px);
  position: absolute;
  height: 1px;
  z-index: -1;
  background: #8c191c;
  opacity: 0.7;
}

.age-range-wrapper:before {
  content: " ";
  height: 40px;
  border-left: 1px solid;
  width: 1px;
  position: absolute;
}

.age-range-wrapper:after {
  content: " ";
  height: 40px;
  border-right: 1px solid;
  width: 1px;
}

.hero__age-range__bar {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero__age-range__bar__average {
  padding-right: calc(4vw);
  font-size: 14px;
}

.hero__age-range__bar__average:before {
  content: " ";
  height: 40px;
  width: 1px;
  position: absolute;
  margin-top: 45px;
  border-left: 1px solid;
  z-index: -1;
}

.map_rates {
  font-size: 36px;
}

@media only screen and (min-width: 768px) {
  .map_rates {
    font-size: 48px;
  }
}
