/* Footer */

.footer-top::after {
  content: '';
  background-image: url(/sites/default/files/frieze-bot.png);
  display: block;
  width: 100%;
  height: 31px;
  background-repeat: repeat-x;
  background-color: white;
}

#footer {
  background-color: #3b4447;
  letter-spacing: .03rem;
}

#footer .footer-bottom {
  background-color: #3b4447;
}

#footer .footer-top {
  padding: 0;
  background-color: transparent;
  color: white;
  text-align: center;
}

#footer .footer-top:has(.glossary-ribbon){
  padding: 0;
  background-image: linear-gradient(#004e57,#005b64);
  color: white;
  text-align: center;
}

#footer .footer-top .glossary-ribbon a {
  letter-spacing: .07rem;
}

#footer .footer-top p {
  margin-bottom: 0px;
  padding: 15px;
}

#footer .footer-top a {
  color: white;
  text-decoration: underline;
}

#footer .footer-top a:hover {
  text-decoration: underline;
}

#footer .footer-center .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 5px;
}

#footer .footer-column {
  max-width: 100%;
}

@media (max-width: 576px) {
  #footer .footer-column {
    flex: 1 1 100%;
  }
}

@media (max-width: 991.98px) {
  #footer .footer-column {
      margin-bottom: 0;
  }

  #footer .footer-center .row .footer-third {
    margin-top:45px;
    margin-left: -40px;
  }
}

@media (max-width: 1220px) {
  #footer .footer-center .row {
    display: flex;
    flex-flow: row wrap;
  }

  #footer .footer-four {
    flex: 0;
    width: max-content
  }
}

#footer .footer-center {
  padding: 20px 0 20px;
}

.footer-center .container:before {
  content: 'Quick Links';
  padding-left: 30px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  margin-bottom: 10px;
  letter-spacing: .08rem;
}

#footer .footer-center .row li {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
}

#footer .footer-center .row a {
  color: #ced0d1;
  font-weight: 300;
}

#footer .footer-center .row a>svg {
  padding-right: .75rem;
  vertical-align: middle;
}

#footer .footer-center .row svg {
  color: white;
}

#footer .footer-center .row .footer-third img {
  max-width: 50%;
  margin-left: 75px;
  padding-bottom: 30px;
}

#footer .footer-center .row .footer-third p {
  vertical-align: top;
  color:#ced0d1;
  padding: 0;
  margin-left: 70px;
}

#footer .footer-center .row .footer-third .footer-socials {
  letter-spacing: .5rem;
  color: white;
}

.after-footer>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: center;
  height: 110px;
}

@media (max-width: 576px) {
  .after-footer>div {
    grid-template-columns: 1fr;
  }
  .after-footer>div>a {
    width: 275px;
  }
}

.after-footer p {
  margin: unset;
  color: white;
}

/* Social Media Links */
.social-media-links {
  font-size: 4em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  padding: unset;
  column-gap: 20px;
}

#footer .footer-center .row .social-media-links li a {
  color: #b9bfc4;
}

#footer .footer-center .row .social-media-links li a:hover {
  color: #005c66;
}
