* {
  box-sizing: border-box;
}

html {
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: black;
  font-size: 100%;
}

body {
  margin: 0;
  padding: 0;
}

main {
  display: block;
}

mark {
  padding: 0.1rem 0.4rem;
  border-radius: 0.4rem;
  transition: background 100ms ease;
}

.l-content {
  padding: 2rem 0;
}

@media (max-width: 800px) {
  .l-content {
    padding: 1rem 0;
  }
}
.splash-grid__left {
  grid-column: 2/4;
}

code {
  font-size: 0.8em;
  background-color: #e0e0e0;
  padding: 2px;
}

h1 {
  font-size: 3rem;
  line-height: 2;
  margin: 0 0 0.5rem;
  color: black;
}

.headline {
  font-size: 4rem;
  line-height: 1.5;
}

.headline--light {
  font-weight: normal;
}

h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

h3 {
  line-height: 1.25;
  margin: 0;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.section__heading {
  font-size: 2.5rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: black;
}

@media (max-width: 700px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .headline {
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .section__heading {
    font-size: 2rem;
    line-height: 1.25;
    margin: 1rem 0;
  }
}
h5 {
  font-size: 1em;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

a {
  transition: color 100ms, background 100ms;
}

a,
a:visited {
  font-weight: 600;
  text-decoration: none;
  color: #006b9c;
}
a.districtr-name,
a:visited.districtr-name {
  color: #fff !important;
}

a:hover,
a:active {
  color: #004464;
}

.link--no-style {
  font-weight: unset;
  color: unset;
  display: flex;
}
.link--no-style:hover, .link--no-style:active, .link--no-style:visited {
  color: unset;
}

.sepia {
  background-color: #f7f1ee;
}

.sepia a,
.sepia a:visited {
  color: #806463;
}

.sepia a:hover,
.sepia a:active {
  color: #503f3e;
}

.sepia mark {
  background: #bdaaa8;
  color: white;
}

.sepia mark:hover {
  background: #ff4f49;
}

.sepia .button,
.sepia .button:visited,
.sepia .button:hover,
.sepia .button:active {
  color: white;
}

.dark {
  background: #111;
  color: white;
}
.dark h1,
.dark h2,
.dark h3 {
  color: white;
}
.dark a,
.dark a:visited {
  color: #0099cd;
}
.dark a:active,
.dark a:hover {
  text-decoration: inherit;
  color: #006b9c;
}
.dark mark {
  background: #ff4f49;
  color: white;
}
.dark mark:hover {
  background: #e44944;
}

.technologies {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  margin: 0;
  width: 100%;
  flex-wrap: wrap;
  border-bottom: 1px solid #444;
}

.technologies__item {
  list-style: none;
  margin: 0.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  transition: all 100ms ease;
  box-shadow: 20 0 2px 8px rgba(12, 12, 12, 0.1);
}

.technologies__item:hover {
  transform: scale(1.05);
  box-shadow: 30 0 2px 8px rgba(12, 12, 12, 0.1);
}

.technologies__item a {
  padding: 1rem;
  display: block;
}

.github-logo {
  width: 64px;
  height: 64px;
  margin: 0 1rem;
  display: block;
}

.github-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.github-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.lit-html-link {
  color: #f9f9f9;
  background: #ff2f2f;
  font-size: 1.75rem;
  border-radius: 0.5rem;
}

.lit-html-link a,
.lit-html-link a:visited {
  color: #f9f9f9;
}

.lit-html-link a:hover {
  color: white;
}

.mapbox-logo {
  display: block;
  margin: auto;
  width: 200px;
}

.sass-logo {
  width: 120px;
}

p {
  line-height: 1.75;
  margin: 0 0 1rem;
}

.l-major-section {
  padding-top: 1rem;
  padding-bottom: 4rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 800px) {
  .l-major-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}
.landing-page {
  color: #444;
  font-size: 1.5rem;
  overflow: hidden;
  display: block;
}

.splash-text {
  z-index: 1;
  min-width: 250px;
  width: 53.3%;
  margin: 0;
  margin-left: 13.3%;
}

.details .splash-text {
  margin-left: 33.3%;
}

.takeaway {
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.75;
}

.districtr-name {
  background: #ff4f49;
  color: white;
  border-radius: 0.4rem;
  padding: 0.1rem 0.4rem;
  font-weight: 400;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  outline: 0;
  border: none;
}

.details {
  padding: 2rem 0;
  justify-content: right;
  min-height: 0;
}

.splash-code-details {
  justify-content: center;
  display: flex;
}

.splash-code-text {
  text-align: center;
  min-width: 250px;
  margin: 2rem 0;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
}

.code-title {
  width: 60%;
  font-weight: 300;
  line-height: 1.25;
  font-size: 2rem;
  margin: 1rem auto;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  grid-column: 2/3;
}

.splash-text p:last-child {
  margin-bottom: 0;
}

.team {
  background: #222;
  border-radius: 1rem;
  padding: 1rem 2rem;
  margin: 0 auto;
  text-align: left;
  font-size: 1.25rem;
  color: #ccc;
}

.team__title {
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
}

.team-list {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: top;
}

.team-list__item {
  margin: 1rem;
}

.team-members {
  padding: 0;
  margin: 0;
}

.team-member {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.5;
}

.team dt {
  font-weight: 600;
  color: white;
  line-height: 1.5;
}

.team dt::after {
  content: ":";
}

.team dd {
  margin: 0;
}

@media (max-width: 800px) {
  .hello {
    padding-top: 4rem;
    background: rgba(255, 255, 255, 0.5);
  }

  .team-list {
    justify-content: left;
  }

  .code-title {
    width: auto;
    margin: 0.5rem;
    text-align: left;
  }
}
@media (max-width: 800px) {
  .landing-page {
    font-size: 1.25rem;
  }
}
@supports (display: grid) {
  .splash-grid {
    display: grid;
    grid-template-columns: 2fr 3fr 5fr 3fr 2fr;
    width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .splash-text,
.details .splash-text {
    margin-left: 0;
    margin-right: 0;
  }

  .splash-text {
    width: auto;
    grid-column: 3/5;
  }

  .hello .splash-text {
    grid-column: 2/5;
    padding: 0;
  }

  .splash-code-text {
    grid-column: 2/-1;
  }

  @media (max-width: 800px) {
    .splash-grid {
      grid-template-columns: 1fr;
    }
  }
}
.u-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.places-list-container {
  margin: 0 auto;
  width: 65%;
  max-width: 72rem;
  padding: 0;
}

.places-list {
  list-style: none;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.places-list--columns {
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.places-list__item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0.5rem 0.5rem;
  padding: 0.5rem;
  font-weight: bold;
  transition: all ease 100ms;
  border-radius: 0.5rem;
  background-color: #b445b6;
  color: white;
  cursor: pointer;
}
.places-list__item:focus {
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.5);
}
.places-list__item:hover {
  background-color: #9c2eb8;
}
.places-list__item.choice {
  cursor: default;
  background-color: #b445b6;
}
.places-list__item.choice button {
  cursor: pointer;
  background-color: #fff;
  color: #b445b6;
  padding: 0.2rem 0.6rem;
  margin: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 100%;
}
.places-list__item.choice button:hover {
  background-color: #eee;
}
.places-list__item.choice:hover {
  background-color: #b445b6;
}

.custom-input {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0.5rem 0.5rem;
  padding: 0.5rem;
  font-weight: bold;
  transition: all ease 100ms;
  border-radius: 0.5rem;
  background-color: #b445b6;
  color: white;
  cursor: pointer;
}
.custom-input:focus {
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.5);
}
.custom-input:hover {
  background-color: #9c2eb8;
}
.custom-input.choice {
  cursor: default;
  background-color: #b445b6;
}
.custom-input.choice button {
  cursor: pointer;
  background-color: #fff;
  color: #b445b6;
  padding: 0.2rem 0.6rem;
  margin: 0.2rem 0.5rem;
  border-radius: 0.2rem;
  font-size: 100%;
}
.custom-input.choice button:hover {
  background-color: #eee;
}
.custom-input.choice:hover {
  background-color: #b445b6;
}

.communities {
  /*
      .learn__more,
      .learn__more:visited {
          background: $mggg-blue;
      }

      .learn__more:hover,
      .learn__more:active {
          background: $mggg-dark-blue;
      }
  */
}
.communities .state--available {
  fill: #ff4f49;
}
.communities .state--available:hover {
  fill: #e44944;
}
.communities .state--available:active {
  fill: #9e2925;
}
.communities .places-list__item {
  background-color: #ff4f49;
}
.communities .places-list__item:hover {
  background-color: #e44944;
}
.communities .place-map__search {
  color: #444;
  border-bottom-color: #444;
  caret-color: #444;
}
.communities .media__title--primary,
.communities .button--transparent {
  color: #444;
}

.card .places-list__item {
  background-color: #006b9c;
}
.card .places-list__item:hover {
  background-color: #004464;
}

.places-list__item--small {
  max-width: 14rem;
  margin: 0.5rem;
}

.place-info {
  margin: 0.25rem 0;
  font-weight: normal;
}

.plan-loader {
  margin: 1rem auto;
  text-align: center;
  color: #444;
}

.places-list-container {
  width: 100%;
}

.places-list__item {
  height: auto;
  width: auto;
}

.start-districting {
  display: grid;
  width: 100%;
  grid-template-areas: "form form form form" "map map map map";
  grid-template-columns: auto 1fr 1fr auto;
  height: 700px;
  height: 110vh;
  min-height: 600px;
  overflow: hidden;
}

.start-districting--alone {
  padding: 1rem 0;
}

.start-districting__title {
  text-align: center;
  margin: 0;
  grid-area: title;
  color: black;
}

.request-new-place {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 auto;
  align-items: center;
  padding: 3rem 0;
}

.call-to-request {
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.5;
  margin: 0 0.5rem;
}

@media (max-width: 800px) {
  .call-to-request {
    font-size: 1.5rem;
  }
}
/*
.learn__more,
.learn__more:visited {
    background: $districtr-red;
    color: white;

    border-radius: 0.5rem;
    // padding: 0.2rem 0.4rem;
    padding: 0.1rem 0.4rem;

    font-weight: 600;
    font-family: $font-family;

    margin-top: 0.5rem;
    outline: 0;
    border: none;

    line-height: 1.5;
    display: block;
    text-align: center;
}

.learn__more:hover,
.learn__more:active {
    cursor: pointer;
    color: white;
    background: $districtr-red-dark;
}

.learn__more:active {
    outline: 0;
}

.learn__more:focus {
    box-shadow: $focus-shadow;
    outline: 0;
}
*/
.media {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(12, 12, 13, 0.1);
  padding: 1rem;
  color: #666;
  border: 1px solid #00446444;
  max-width: 30rem;
}

.media--interactive {
  transition: 100ms all ease;
}
.media--interactive:hover {
  box-shadow: 0 4px 16px rgba(12, 12, 13, 0.2);
}

.media__title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: normal;
  margin: 0 0 0.5rem;
}

.media--bold {
  color: black;
}

.media__title--primary {
  color: #0099cd;
}

.media__title--bold {
  font-weight: bold;
}

.media__img {
  float: right;
  max-width: 12rem;
  margin: 0.5rem;
  border-radius: 0.5rem;
}

.media__subtitle {
  font-weight: normal;
  font-size: 1.41rem;
  color: #666666;
  margin: 0 0 0.5rem;
}

.media__close {
  height: 32px;
  width: 32px;
  float: right;
}

.media__body {
  overflow: auto;
  max-height: 400px;
}

.media-list {
  margin: 1rem 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.media-list__item {
  margin: 1rem 2rem;
  max-width: 30rem;
}

@media (max-width: 400px) {
  .media__img {
    float: none;
    margin: 1rem auto;
    display: block;
  }

  .media-list__item {
    margin: 1rem 0rem;
  }

  .media-list {
    margin: 0;
    padding: 0;
  }
}
.state {
  transition: all 100ms ease;
  fill: #dddddd;
}

.state:hover {
  fill: #aaaaaa;
  cursor: pointer;
}

.state--available {
  fill: #0099cd;
}

.state--available:hover {
  fill: #006b9c;
}

.state--available:active {
  fill: #004464;
}

.state--zoomed,
.state--zoomed:hover,
.state--zoomed:active {
  opacity: 0;
  cursor: auto;
}

.state--selected,
.state--selected:hover,
.state--selected:active {
  opacity: 1;
}

.dc-annotation {
  fill: none;
  stroke: #004464;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.place-map {
  display: flex;
  min-width: 375px;
  max-height: 80vh;
  min-height: 400px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  grid-area: map;
  width: 960px;
  height: 450px;
  margin: 4rem auto 0;
  overflow: hidden;
}

@supports (display: grid) {
  .place-map {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}
.place-map__search {
  font-size: 2rem;
  color: #0099cd;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  border: none;
  border-bottom: 0.125rem solid #0099cd;
  transition: all 100ms ease;
  background: none;
  outline: none;
  caret-color: #0099cd;
  text-align: center;
  margin: 0 0.5rem;
  border-radius: 0;
  padding: 4px 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

.place-map__search::selection {
  background-color: #0099cd;
  color: white;
}

.place-map__search--unavailable {
  color: #aaa;
  border-bottom-color: #aaa;
  caret-color: #aaa;
}

.place-map__form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  grid-area: form;
}

.place-map__state-modules {
  width: 50%;
  position: absolute;
  height: auto;
  right: 0;
  grid-column: 3/4;
  grid-row: 3/4;
  z-index: 1000;
}

.place-map__state-modules--hidden {
  display: none;
}

.local {
  fill: #fff;
  display: none;
  opacity: 1;
}
.local:hover {
  fill: #aaa;
  opacity: 1;
}
.local:target {
  fill: #aaa;
  opacity: 1;
}

@supports (display: grid) {
  .place-map__form {
    position: static;
  }

  .place-map__state-modules {
    width: auto;
    position: static;
    right: unset;
  }
}
@media (max-width: 400px) {
  .place-map__state-modules {
    grid-column: 2/4;
  }
}
.button,
.button:visited {
  background: #ff4f49;
  color: white;
  border-radius: 0.25rem;
  padding: 0.1rem 0.4rem;
  font-weight: 400;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  outline: 0;
  border: none;
}

.button:hover,
.button:active {
  cursor: pointer;
  color: white;
  background: #e44944;
}

.button:active {
  outline: 0;
}

.button:focus {
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.5);
  outline: 0;
}

.button--alternate {
  border: 2px solid #ffffff;
  background: #0099cd;
  border-radius: 0.25rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  margin: 0.25rem;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.button--alternate:hover {
  background-color: #006b9c;
  border: 2px solid #ff4f49;
}

.button--alternate--clicked {
  background-color: #006b9c;
  border: 2px solid #ff4f49;
  border-radius: 0.25rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  margin: 0.25rem;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.button--blank {
  background: #f9f9f9;
  border: 1px solid #666;
}

.button--blank[disabled] i {
  color: #ccc !important;
}

.button--blank:hover,
.button--blank:active {
  background: #aaa;
}

.button--transparent {
  background: none;
  color: #0099cd;
}
.button--transparent:hover {
  background-color: #f0f0f0;
  color: #0099cd;
}
.button--transparent:active {
  background-color: #e0e0e0;
  color: #0099cd;
  box-shadow: none;
}

.button--subtle {
  background: white;
  color: #444;
}
.button--subtle:hover, .button--subtle:focus {
  background-color: #f0f0f0;
}
.button--subtle:active {
  background-color: #e0e0e0;
}
.button--subtle:hover, .button--subtle:active, .button--subtlefocus {
  color: #444;
}

.button--no-shadow:focus {
  box-shadow: none;
}

.button[disabled] {
  background: #f9f9f9;
  color: #444;
  cursor: auto;
}
.button[disabled]:hover {
  background: #f9f9f9;
  color: #444;
}
.button[disabled]:active {
  background: #f9f9f9;
  color: #444;
  box-shadow: none;
}

.button--icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;
  line-height: 1;
}

.button--submit {
  line-height: 2;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
}

.square-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #f9f9f9;
  color: #444;
  font-weight: normal;
  outline: none;
  border: none;
  border-radius: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0;
  margin: 0.1rem;
  transition: all ease 100ms;
  cursor: pointer;
}
.square-button:hover, .square-button:focus {
  background-color: #f0f0f0;
}
.square-button:active {
  background-color: #e0e0e0;
}

.sign-in__link {
  line-height: 1.75;
  margin: 0 0.5rem;
  font-weight: 400;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1.25rem;
}

.sign-in {
  position: absolute;
  min-width: 40%;
  right: 0;
  margin: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 450px) {
  .sign-in {
    display: none;
  }
}
a {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.decorated-section {
  background-color: #f9f9f9;
}

.landing-page .place-map__search[value=""] {
  display: none;
}

ul#nav {
  display: block;
  width: 100%;
  border: none;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
ul#nav hr {
  border-top: 1px solid #ddd;
}
ul#nav img {
  display: inline-block;
  max-width: 180px;
}
ul#nav button {
  float: right;
}
ul#nav button .material-icons {
  font-size: 34px;
}
ul#nav li {
  display: inline-block;
  list-style-type: none;
  float: right;
  background: #006b9c;
  margin-left: 7px;
  border-radius: 10px;
}
ul#nav li a {
  display: block;
  color: #fff;
  font-size: 16px;
  padding: 10px 10px;
}
ul#nav li a:hover {
  text-decoration: underline;
}
@media (min-width: 800px) {
  ul#nav button {
    display: none;
  }
}
@media (max-width: 800px) {
  ul#nav li {
    display: none;
  }
}