html {
  font-size: 100%; }

* {
  font-family: "Open Sans"; }

* {
  box-sizing: border-box; }

body, html {
  padding: 0;
  margin: 0;
  background-color: #efefef; }

.page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 75px;
  margin-bottom: 100px;
  border-radius: 20px;
  overflow: hidden; }

.page-body {
  padding: 0.5rem 1rem; }
  @media only screen and (min-width: 600px) {
    .page-body {
      padding: 2rem 8rem; } }

.page-body {
  background-color: white;
  padding-top: 4rem;
  padding-bottom: 4rem; }

.route-node,
.route-node > * {
  display: flex; }

.route-node {
  margin-bottom: 0.25rem; }

.station-name {
  line-height: 1.5;
  font-size: 1.5rem;
  font-weight: 600; }

.station-divider {
  height: 0.5rem;
  margin-top: calc(( 2.25rem - 0.5rem)/2);
  width: 100px;
  background-color: #efefef;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px; }

.station-marker {
  height: 2.25rem;
  width: 2.25rem;
  background-color: white;
  border: 0.5rem solid black;
  border-radius: 100px;
  margin-right: 1rem; }

.transport-wrapper {
  display: flex; }

.transport-wrapper .rail-wrapper,
.transport-wrapper .r1-wrapper {
  display: flex; }

.r1-service,
.rail-service {
  width: 5px;
  margin-left: calc(( 25px - 5px)/2);
  margin-right: calc(( 25px - 5px)/2);
  height: 100px;
  background-color: black;
  border-radius: 5px;
  position: relative; }

.r1-service[data-service="false"] {
  opacity: 0; }

.r1-service[data-service="true"] {
  background-color: #03a9f4;
  color: #007ac1; }

.rail-service[data-service="true"] {
  background-color: #81c784;
  color: #005005; }

.rail-service[data-service=false] {
  background-color: #d32f2f;
  color: #9a0007; }

[data-service="delay"] {
  background-color: #ffeb3b;
  color: #c17900; }

.transport-wrapper .text-container {
  width: 25px;
  background-color: white;
  border-radius: 100px;
  text-align: center;
  margin-top: calc((100px/2) - 1rem/2);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1rem;
  margin-left: calc(-2*(5px)); }

[data-dir="east"]:after {
  display: block;
  content: '';
  width: 5px;
  height: 15px;
  transform: translate(4px) rotate(45deg);
  border-radius: 5px;
  background-color: inherit;
  position: absolute;
  bottom: -2px; }

[data-dir="east"]:before {
  display: block;
  content: '';
  width: 5px;
  height: 15px;
  transform: translate(-4px) rotate(-45deg);
  border-radius: 5px;
  background-color: inherit;
  position: absolute;
  bottom: -2px; }

[data-dir="west"]:after {
  display: block;
  content: '';
  width: 5px;
  height: 15px;
  transform: translate(4px) rotate(-45deg);
  border-radius: 5px;
  background-color: inherit;
  position: absolute;
  top: -2px; }

[data-dir="west"]:before {
  display: block;
  content: '';
  width: 5px;
  height: 15px;
  transform: translate(-4px) rotate(45deg);
  border-radius: 5px;
  background-color: inherit;
  position: absolute;
  top: -2px; }

[data-service="false"]:before,
[data-service="false"]:after {
  display: none; }

.simulator-wrapper {
  top: 0;
  width: 100%;
  background-color: black;
  z-index: 100;
  color: white; }

.simulator-container {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem; }

.simulator-controls {
  display: flex;
  flex-wrap: wrap; }

.simulator-controls .scenario {
  padding: 0.1rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  flex: 0 0 150px; }

.simulator-controls [data-scenario-selected="false"]:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white; }

.simulator-controls [data-scenario-selected="true"] {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  cursor: default; }

.scenario .header {
  font-size: 1rem;
  font-weight: 600; }

.scenario .body {
  font-size: 0.75rem;
  font-weight: 400;
  max-width: 150px; }

.page-header {
  width: 100%; }

.page-header .title {
  line-height: 1.5;
  font-size: 1.5rem;
  font-weight: 600; }

.page-header .header {
  display: flex; }

.page-header .icon-wrapper {
  width: 3rem;
  height: 2.25rem;
  display: flex;
  justify-content: flex-start;
  align-items: center; }

.icon-wrapper .icon {
  align-items: center; }

.page-header .body {
  margin-left: 3rem; }

.page-header [data-scenario] {
  padding: 0.5rem 1rem; }
  @media only screen and (min-width: 600px) {
    .page-header [data-scenario] {
      padding: 2rem 8rem; } }

.page-header [data-scenario-selected="false"] {
  display: none; }

.page-header [data-scenario-selected="true"] {
  display: block; }

.page-header [data-scenario="1"] {
  background-color: white;
  color: #005005;
  border-bottom: 4px solid #81c784; }

.page-header [data-scenario="2"] {
  background-color: white;
  color: #c17900;
  border-bottom: 4px solid #ffeb3b; }

.page-header [data-scenario="3"] {
  background-color: white;
  color: #9a0007;
  border-bottom: 4px solid #d32f2f; }

.page-header [data-scenario="4"] {
  background-color: white;
  color: #9a0007;
  border-bottom: 4px solid #d32f2f; }

.page-header .body {
  color: rgba(0, 0, 0, 0.8); }

.line-controller {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex; }

.line-control {
  flex: 1 1 200px;
  text-align: center;
  display: flex;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  line-height: 3rem;
  color: rgba(0, 0, 0, 0.5); }

.line-control[line-selected="true"] {
  background-color: white;
  color: rgba(0, 0, 0, 0.8); }

.line-control .icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem; }

.line-control .icon {
  background-color: rgba(0, 0, 0, 0);
  border-radius: 100px;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.5); }

[line-selected="true"] .icon {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 100px;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  line-height: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.8); }

.intro {
  position: fixed;
  display: flex;
  z-index: 500; }

.intro-modal {
  position: fixed;
  z-index: 500;
  background-color: white;
  border-radius: 20px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  max-height: 100vh;
  overflow: scroll;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 95vw;
  margin-left: 2.5vw; }
  @media only screen and (min-width: 600px) {
    .intro-modal {
      width: 40vw;
      margin-left: 30vw; } }

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); }

.modal-header {
  display: flex;
  justify-content: space-between; }

.modal-title {
  line-height: 1.5;
  font-size: 1.5rem;
  font-weight: 600; }

.modal-close {
  width: 2.25rem;
  height: 2.25rem;
  line-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.25rem; }

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 100px;
  cursor: pointer; }

[data-visible="false"] {
  display: none; }

/*# sourceMappingURL=main.css.map */
