* {
  box-sizing: border-box; }

body {
  padding: 0;
  margin: 0;
  color: rgba(12, 18, 28, 0.87);
  font-size: 16px;
  line-height: 1.5rem;
  letter-spacing: 0.125px;
  font-family: "urw-din", sans-serif;
  font-weight: 400;
  font-style: normal; }

ol {
  list-style: none;
  margin: 0;
  padding: 0; }

button {
  padding: 0;
  font-family: inherit; }

a {
  color: inherit;
  text-decoration: none; }

h1 {
  font-size: 28px;
  line-height: 42px; }

h2 {
  font-size: 24px;
  line-height: 36px;
  margin: 0;
  padding: 0; }

p {
  margin: 0; }

.lead {
  font-size: 18px; }

header {
  height: 56px;
  padding: 0 16px 0 24px;
  background: #fff;
  display: flex;
  align-items: center; }
  header img {
    width: 161px; }
  header ol {
    display: flex;
    margin-left: 16px; }
  header li {
    font-size: 0.8rem;
    color: rgba(12, 18, 28, 0.6);
    letter-spacing: 0.02em;
    display: inline-flex;
    justify-content: center;
    align-items: center; }
    header li.on {
      color: #F54336; }
  header .primary {
    flex: 1;
    font-weight: 700;
    text-transform: uppercase; }
    header .primary li {
      padding: 0 8px; }
  header .secondary li {
    min-width: 48px;
    padding: 2px 8px; }

#search {
  height: 64px;
  width: 100%;
  background: #fff;
  display: flex;
  padding: 8px 24px; }
  #search .search_bar {
    min-height: 48px;
    display: flex;
    flex: 1;
    margin-right: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px 0 rgba(12, 18, 28, 0.12); }
  #search input {
    height: 48px;
    flex: 1;
    border-radius: 6px 0 0 6px;
    border: solid rgba(12, 18, 28, 0.38);
    border-width: 1px 0 1px 1px;
    font-family: inherit;
    font-size: 100%;
    padding: 14px 16px; }
  #search ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(12, 18, 28, 0.38); }
  #search button {
    min-width: 48px;
    border-radius: 0 6px 6px 0;
    background: #F54336;
    color: #fff;
    border: none;
    padding: 0; }
  #search .secondary {
    min-height: 48px;
    line-height: 40px;
    padding: 0 16px 0 8px;
    border: 1px solid rgba(12, 18, 28, 0.12);
    border-radius: 6px;
    background: #fff;
    font-size: 1rem; }

.card {
  margin-bottom: 24px;
  border-radius: 4px;
  flex-grow: 1; }

.card_primary {
  border: 1px solid rgba(12, 18, 28, 0.12);
  border-radius: 4px;
  padding: 16px 96px 16px 16px; }
  .card_primary h1 {
    margin: 0; }
  .card_primary p {
    margin-bottom: 8px;
    line-height: 30px; }

.card_secondary {
  background-color: rgba(12, 18, 28, 0.12);
  max-width: 400px;
  min-width: 400px;
  margin-left: 1rem; }

.tabs {
  border-bottom: 1px solid rgba(12, 18, 28, 0.12);
  text-align: center;
  margin: 0 -24px; }
  .tabs li {
    display: inline-block;
    padding: 15px 12px; }
  .tabs li:nth-child(1) {
    font-weight: bold;
    border-bottom: 3px solid rgba(12, 18, 28, 0.87); }

main {
  padding: 8px 24px 48px 24px; }

.welcome {
  display: flex;
  flex-direction: row;
  align-items: stretch; }
  .welcome h1 {
    transition: color 0.6s ease-in; }
  .welcome p {
    transition: color 0.6s ease-in; }
  .welcome button.primary {
    transition: background-color 0.6s ease-in; }

.loading {
  max-height: 108px;
  overflow: hidden; }
  .loading h1 {
    position: relative;
    color: #fff; }
    .loading h1:after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      background: #f3f4f5;
      height: 40px;
      width: 224px;
      border-radius: 4px; }
  .loading p {
    position: relative;
    color: #fff; }
    .loading p:after {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      background: #f3f4f5;
      height: 30px;
      width: 100%;
      border-radius: 4px; }
  .loading button.primary {
    background: #fff; }

.tab-content {
  margin: 0 auto; }

.tab-content.constrained {
  max-width: 1600px; }
  .tab-content.constrained .grid div {
    max-height: 300px; }

.module {
  margin-top: 48px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column; }
  .module .header {
    margin-bottom: 16px; }
  .module button {
    align-self: center;
    margin-top: 16px; }

.mosaic {
  margin: 0 -5px; }
  .mosaic img {
    display: block; }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem; }
  .grid div {
    background: rgba(12, 18, 28, 0.12);
    border-radius: 4px;
    overflow: hidden;
    max-height: 18vw;
    position: relative; }
    .grid div:before {
      background: rgba(0, 0, 0, 0.2);
      content: "";
      height: 100%;
      position: absolute;
      pointer-events: none;
      width: 100%;
      z-index: 0; }
  .grid h3 {
    position: absolute;
    left: 50%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: inherit;
    margin: 0;
    padding: 0 24px;
    color: #fff; }
  .grid img {
    width: 100%; }

button {
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 40px; }

button.primary {
  background: #F54336;
  border: 0;
  color: #fff; }

button.secondary {
  background: #fff;
  border: 1px solid rgba(12, 18, 28, 0.87); }
  button.secondary:hover {
    background: rgba(12, 18, 28, 0.87);
    color: #fff; }

button.small {
  padding: 10px 14px; }

footer {
  background: #16191e;
  height: 565px; }

.anim {
  animation: skeletonAnim 1.2s infinite; }

.animPseudo::after {
  animation: skeletonAnim 1.2s infinite;
  animation-timing-function: ease-in-out; }

@keyframes skeletonAnim {
  0% {
    background: #f3f4f5; }
  50% {
    background: rgba(12, 18, 28, 0.12); }
  100% {
    background: #f3f4f5; } }
