/**
 * Custom vendor cards
 *
 * This file is independent from the rest of the
 * design system and self-contained except for 
 * font files.
 */

body {
  margin: 0;
  padding: 0;
}

.flag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  background-color: white;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  max-height: 55px;
  overflow: hidden;
}

.market-logo img {
  display: block;
  height: 30px;
  max-width: 100%;
  margin: 0 auto;
}

.vendor-name {
  margin: 0;
  padding: 7px 9px 3px;
  font: 600 22px/1em "McClatchy Sans", sans-serif;;
  box-sizing: border-box;
  text-transform: uppercase;
}

@media(max-width: 660px) {
  .vendor-name {
    font-size: 3vw;
  }
}

.market-logo {
  flex: none;
  padding: 0 10px;
}

.market-logo:not(:first-child) {
  border-left: 2px solid #222;
  max-width: 50%;
}

.vendor-logo img {
  display: block;
  height: 30px;
  padding: 0 10px;
}

.footer {
  background-color: white;
  border-top: 1px solid #ddd;
  height: 99px;
}

.footer img {
  display: block;
  height: 24px;
  margin: 0 auto;
  padding: 15px;
}

.links {
  display: flex;
  justify-content: center;
  border-top: 1px solid #ddd;
}

.links a {
  padding: 15px;
  font: 600 14px/1em "McClatchy Sans", sans-serif;
  color: #222;
  text-decoration: none;
}

.links a:hover {
  color: #31409F;
}

@media(max-width: 660px) {
  .links a {
    font-size: 2vw;
  }
}
