.site-footer {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.site-footer .primary-links {
  padding: 0.5rem 0;
  background-color: #ffffff;
}

.site-footer .secondary-links {
  padding: 0.5rem 0;
  border-bottom: 6px solid #d8d8d8;
  background-color: #f0f0f0;
}

.site-footer ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
}

.site-footer li {
  text-align: center;
}
.site-footer li.copyright {
  width: 100%;
}
.site-footer a[href^="https://twitter"]::after,
.site-footer a[href^="http://twitter"]::after {
  content: '';
  display: inline-block;
  margin: 0 0 -4px 5px;
  width: 18px;
  height: 18px;
  background-image: url('../img/mmc_icons.svg');
  background-position: -97px -220px;
  background-size: 860px 268px;
}

.site-footer a {
  display: block;
  margin: 0.25rem;
  padding: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.125;
  text-decoration: none;
  background-color: transparent;
}

.site-footer .primary-links a {
  color: #00778a;
}
.site-footer .primary-links a:hover,
.site-footer .primary-links a:focus {
  background-color: #dbedf4;
}

.site-footer .secondary-links a {
  color: #ababab;
}
.site-footer .secondary-links a:hover,
.site-footer .secondary-links a:focus {
  color: #666;
}



@media (min-width: 50em) {
  .site-footer {
    margin-top: 2rem;
  }
  .site-footer ul {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  /* reset copyright width */
  .site-footer li.copyright {
    width: auto;
  }
  .site-footer .primary-links li {
    width: 25%;
  }
}

@media (min-width: 60em) {
  .site-footer {
    margin-top: 4rem;
  }
}
