@import url('bootstrap-custom-override.css');
/* =============================================
   University of Melbourne - Footer Styles
   ============================================= */

/* Base */
footer {
  border: none;
  font-family: var(--site-paragraphs-font-family);
  background-color: var(--site-primary-color);
  color: var(--site-footer-color);
}

footer section {
  padding: 10px;
}

footer h2 {
  font-size: 1.5rem;
  line-height: 2.2rem;
}

footer p {
  text-align: left;
}

footer ul {
  list-style: none;
  padding: 0;
}

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

footer a:hover {
  text-decoration: underline;
}

/* Logo Row */
.footer-logo-row {
  display: block;
  width: 100%;
  max-width: 1200px;
  max-height: 90px;
  margin: 0 auto;
  background-color: rgb(0, 15, 70);
}

.logo img {
  max-height: 75px;
  max-width: 320px;
}

/* Grid Layout */
.footer-grid {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgb(0, 15, 70);
  color: white;
}

.footer-grid-left {
  flex-basis: 35%;
}

.footer-grid-middle {
  flex-basis: 35%;
  font-size: 1.15em;
  color: white;
}

.footer-grid-middle ul li {
  padding-bottom: 10px;
}

.footer-grid-right {
  flex-basis: 30%;
}

/* Social Icons */
.social-float {
  float: right;
  padding-left: 10px;
  display: inline;
}

#social li {
  display: inline;
  font-size: 35px;
  padding: 7px;
}

#social li a svg {
  width: 40px;
  filter: invert(83%) sepia(100%) saturate(0%) hue-rotate(164deg) brightness(112%) contrast(102%);
}

#social li a:hover {
  text-decoration: none;
}

/* Explicit link color overrides */
#iu2fn,
#igp64,
#ip3z1,
#i9w0j,
#ir2y3,
#idp5d,
#iioy2 {
  color: white;
}

/* SVG sizing */
#i0zw1,
#ihkf9 {
  width: 40px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
  }

  .social-float {
    float: left;
  }
}
