* {
  box-sizing: border-box;
}

a {
  color: #007db1;
}

a:hover, a:focus {
  color: #006c98;
}

body {
  color: #333333;
  font-family: 'Red Hat Text', sans-serif;
  margin: 0;
  text-align: center;
}

header::before {
  content: '';
  background: linear-gradient(45deg, #c5050c, #007db1);
  display: block;
  height: 5px;
}

header > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 .5rem;
}

#logo {
  display: block;
  margin-right: .8rem;
}

#logo img {
  height: 3.878125rem;
  width: 3.878125rem;
}

#title {
  color: #494949;
  text-align: left;
}

#title h1 {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 0.1rem;
}

#title div {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  margin: -0.1rem 0 0 0.2rem;
}

#plotter {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 8px;
  width: 100%;
}

body.embedded #plotter {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 0;
}

#plotter-nav {
  color: #282728;
  font-family: 'Red Hat Display', sans-serif;
  width: 100%;
  border: solid #cfcfcf;
  border-width: 1px 0;
}

body.embedded #plotter-nav {
  border-top-width: 0;
}

#plotter-nav ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

#plotter-nav li {
  display: table-cell;
  padding: 0 .95rem;
  max-width: calc(100% - 16px);
}

#plotter-nav li > * {
  background: none;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  margin: .8rem 0;
  padding: .3rem 0 .1rem;
  border: none;
  border-bottom: .2rem solid transparent;
  text-decoration: none;
}

#plotter-nav li.current > *,
#plotter-nav li > *:hover,
#plotter-nav li > *:focus {
  border-bottom-color: #c5050c;
}

#selections {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0;
  padding: 4px 0;
}

#selections li {
  display: block;
  margin: 4px 8px;
  width: 224px;
  max-width: 224px;
}

#selections label,
#selections select {
  display: block;
  width: 100%;
}

#selections label {
  line-height: 2;
}

select {
  appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%2873, 73, 73%29'></polygon></svg>");
  background-origin: content-box;
  background-position: right -1rem center;
  background-repeat: no-repeat;
  background-size: 9px 6px;
  border: 1px solid #cccccc;
  border-radius: 0;
  color: black;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  line-height: normal;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
}

select:focus {
  border: 1px solid #494949;
  box-shadow: 0 0 5px #646569;
  outline: 0;
}

select:disabled {
  background-color: #cfcfcf;
  cursor: not-allowed;
}

#visualize {
  background: #007db1;
  border: 2px solid #007db1;
  border-radius: 2px;
  box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: 620;
  font-family: inherit;
  line-height: 1;
  margin: 8px;
  padding: 0.75rem 1.25rem;
  position: relative;
  text-align: center;
  transition-duration: 0.25s;
  transition-property: background-color, color;
  transition-timing-function: ease-out;
}

#visualize:focus,
#visualize:hover {
  background-color: white;
  color: #007db1;
  outline: 0;
  transition-timing-function: ease-in-out;
}

#visualization {
  margin-top: 8px;
  width: 100%;
}

#plot {
  width: 100%;
}

#plot > img,
#plot > div {
  aspect-ratio: 1200 / 600;
  background: white;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzODQgMTkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogPHJlY3QgeD0iMzIiIHk9IjE2IiB3aWR0aD0iMzIwIiBoZWlnaHQ9IjE2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjgiLz4KIDxnIGZpbGw9IiNlMGUwZTAiPgogIDxjaXJjbGUgY3g9IjE1MiIgY3k9Ijk2IiByPSI4Ii8+CiAgPGNpcmNsZSBjeD0iMTkyIiBjeT0iOTYiIHI9IjgiLz4KICA8Y2lyY2xlIGN4PSIyMzIiIGN5PSI5NiIgcj0iOCIvPgogPC9nPgo8L3N2Zz4K');
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  margin: 0 auto;
  width: 1200px;
  max-width: 100%;
}

#visualization.placeholder #plot > img,
#visualization.placeholder #plot > div {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzODQgMTkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIiBzdHJva2Utd2lkdGg9IjgiPgogIDxyZWN0IHg9IjMyIiB5PSIxNiIgd2lkdGg9IjMyMCIgaGVpZ2h0PSIxNjAiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KICA8cGF0aCBkPSJtMTIwIDEzMiA0OC00OCA0OCAyNCA0OC00OCIvPgogIDxnIGZpbGw9IndoaXRlIj4KICAgPGNpcmNsZSBjeD0iMTIwIiBjeT0iMTMyIiByPSIxMiIvPgogICA8Y2lyY2xlIGN4PSIxNjgiIGN5PSI4NCIgcj0iMTIiLz4KICAgPGNpcmNsZSBjeD0iMjE2IiBjeT0iMTA4IiByPSIxMiIvPgogICA8Y2lyY2xlIGN4PSIyNjQiIGN5PSI2MCIgcj0iMTIiLz4KICA8L2c+CiA8L2c+Cjwvc3ZnPgo=');
}

#sources {
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

#visualization.placeholder #sources {
  visibility: hidden;
}

#sources li {
  display: block;
}