.cards a:hover {
  text-decoration: none;
}

.cards .scrolling-wrapper-flexbox  {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
  grid-auto-flow: row;
  -webkit-overflow-scrolling: touch;
}

.cards .scrolling-wrapper-flexbox ::-webkit-scrollbar {
  display: none;
}

a .card .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a:hover .card .content {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
}

a .card .content {
  color: #0E1443
}

a .card .action {
  opacity: 0;
  color: #1980e7;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a:hover .card .action {
  opacity: 1;
}

@media (max-width: 739px) {
  .card {
    width: 70vw;
    margin-right: 20px;
  }

  a .card .action {
    opacity: 1;
  }

  .cards .scrolling-wrapper-flexbox  {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .cards .scrolling-wrapper-flexbox .card {
    flex: 0 0 auto;
  }  
}

.card {
  border: 1px solid #EEE;
  background: #FFF;
  border-radius: 5px;
  height: 190px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card .icon {
  margin-bottom: 10px;
}
.card .circle {
  border-radius: 40px;
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .icon .circle {
  border-radius: 64px;
  height: 64px;
  width: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .right-top {
  position: absolute;
  top: 15px;
  right: 15px;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

main {
  color: #7E8399;
}

h1,h2,h3,h4 {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

p {
 line-height: 23px;
 font-size: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color)
}

a:hover {
  text-decoration: underline;
}

a.button:hover {
  text-decoration: none;
}

.badge {
  margin-top: 12px;
  background-color: #e8f3ff;
  color: #1980e7;
  border-radius: 15px;
  padding: 5px 10px;
  font-size: 0.7rem;
}

.sidebar a {
  color: #0E1443
}

/* Table */

table {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: #F5F7FD;
  border-spacing: 0;
  border-collapse: separate;
  font-size: 14px;
}

thead {
border-radius: var(--border-radius) var(--border-radius) 0 0;
}

td, th{
border-bottom: 1px solid var(--border-color);
}

th {
text-align: left;
padding: 15px 20px;
text-transform: uppercase;
font-size: 14px;
}
tr:last-child td{
border-bottom: 0;
}
tr:last-child td:nth-child(1){
border-radius: var(--border-radius) 0px 0px var(--border-radius);
}
tr:last-child td:nth-last-child(1){
border-radius: 0px var(--border-radius) var(--border-radius) 0px;
}
tr:first-child td:nth-child(1){
border-radius: 0;
}
tr:first-child td:nth-last-child(1){
border-radius: 0;
}
td {
padding: 10px 20px;
background-color: #FFF;
}

td img.icon {
  width: 32px;
}

p.disclaimer {
  padding: 15px 20px;
  background: #e8f3ff;
  border-radius: 5px;
}

.flex-wrapper {
  display: flex
}

.button{
  text-align: center;
  padding: 20px 60px;
  border-radius: 5px;
}

.button.medium{
  padding: 15px 30px;
}

.button.center {
  display: block;
  margin: 0 auto;
  max-width: 150px;
}

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

.button.white {
  background-color: #FFF;
}

.button.bordered {
  border: 1px solid #EEE;
  color: #999;
}

.fr {
  float: right;
}

main {
  padding: 40px 0;
}

.container {
  padding: 0 20px;
  margin: 0 auto;
}

/* LARGE DOWN */
@media (max-width: 739px) {
  .flex-wrapper {
    display: block;
  }

  main.scroll-container .container {
    padding: 0;
  }

  .card:nth-of-type(1) {
    padding-left: 20px;
  }
  
  /* Force table to not be like tables anymore */
  table,
  thead,
  tbody,
  th,
  td,
  tr {
      display: block;
  }

  /* tr:hover {
      background-color: transparent;
  } */

/* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
  }

  td.companyLogo {
      padding-right: 0;
      padding-left: 0;
      width: 100%;
  }

  th:first-child,
  td:first-child {
      padding-left: 0;
  }

  th:last-child,
  td:last-child {
      padding-right: 0;
  }

  td:last-child,
  tr {
      border-bottom: 15px solid #FFF;
  }

td {
      /* Behave like a "row" */
      border: none;
      border-bottom: 1px solid #eee;
      position: relative;
      padding-left: 50%;
      padding-top: 15px;
      padding-bottom: 15px;
  }

  td:before {
      /* Now like a table header */
      position: absolute;
      /* Top/left values mimic padding */
      left: 20px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      top: 50%;
      transform: translateY(-50%);
  }

  td img.icon {
      display: block;
      width: 64px;
      margin: 0 auto;
  }

/* Label the data */
  td:nth-of-type(2),
  td:nth-of-type(3),
  td:nth-of-type(4) {   
      background-color: #FFF;
      line-height: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
  }
  td:nth-of-type(1) {
      padding-bottom: 20px;
  }
  td:nth-of-type(2):before { content: "Entity Name"; }
  td:nth-of-type(3):before { content: "Location"; }
  td:nth-of-type(4):before { content: "Purpose"; }
}


/* Pace */

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #29d;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 4px;
}

