/***Overrides for div wrapper in base theme***/
/***This gets rid of styling that the new "slogan footer" block doesn't need***/
footer {
  background: none;
}

footer .footer {
box-shadow: none;
padding: 50px 0;
}  

@media (max-width: 660px) {
  footer {
    height: auto;
    position: relative;
  }
  footer .footer {
    display: block;
  }
  .home footer {
    height: auto;
  }
  body {
    padding-bottom: 0;
  }
}

/*** Overall Footer structure ***/
footer {
background-color: #222;
background-image: url("../images/mason_m_bk.png");
background-size: 750px;
background-repeat: no-repeat;
background-position: 45% 50%;
padding: 0px; 
}

@media (max-width: 767px) {
  footer {
    text-align: center; 
  }
}

/*** Mason logo: Branding 2 Block***/
footer .branding {
  width: auto;
  padding-bottom: 10px; 
}
footer .branding img {
  text-align: left;
  max-width: 200px;
  left: 0; 
}

@media (max-width: 767px) {
  footer .branding img {
    margin: 25px 0px; 
  }
  
  footer .branding {
    display: none;
  }
}

/***Slogan and contact/copyright lines***/
footer .slogan-and-copyright {
  float: right;
  right: 0;
  margin-top: 35px; 
}
@media (max-width: 767px) {
  footer .slogan-and-copyright {
    float: none;
    margin: 0; 
  }
}

/***Slogan***/
footer .slogan-and-copyright h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: normal;
  letter-spacing: 0.025em;
  color: #fc3;
  font-weight: bold;
  font-size: 28px;
  text-transform: uppercase; 
}
footer .slogan-and-copyright h2 a {
  transition: 300ms ease all;
  text-decoration: none;
  color: white; 
}
footer .slogan-and-copyright h2 a:hover {
  opacity: 0.7; 
}
@media (max-width: 767px) {
  footer .slogan-and-copyright h2 {
    font-size: 21px; 
  }
}

/***Contact / Copyright lines***/
footer .slogan-and-copyright span {
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 21px; 
}
footer .slogan-and-copyright span a {
  transition: 300ms ease all;
  text-decoration: none;
  color: white; 
}
footer .slogan-and-copyright span a:hover {
  opacity: 0.7; 
}
footer .slogan-and-copyright.mobile {
  display: none;
}
@media (max-width: 767px) {
  footer .slogan-and-copyright span {
    font-size: 12px; 
  }
  
  footer .slogan-and-copyright.desktop span {
    display: none;
  }
  
  footer .slogan-and-copyright.mobile {
    display: block;
  }
}

/***Links***/
footer #footer-links {
  clear: both;
  width: 100%;
  color: white;
  font-family: 'Open Sans', sans-serif; 
}
footer #footer-links a {
  transition: 300ms ease all;
  text-decoration: none;
  color: white; 
}
footer #footer-links a:hover {
  opacity: 0.7; 
}
footer #footer-links ul {
  text-align: center;
  padding-top: 20px; 
}
footer #footer-links ul li {
  display: inline-block; 
}
@media (max-width: 767px) {
  footer #footer-links ul li {
    display: block;
    padding-bottom: 25px; 
  }
  footer #footer-links ul li:after {
    display: none; 
  }
}
footer #footer-links ul li:after, 
footer #footer-links ul.sitemap-ul:after {
  content: '|';
  padding: 0px 12.5px;
  font-size: 18px;
  font-weight: normal !important; 
}
footer #footer-links ul li:last-child:after {
  display: none; 
}
footer #footer-links ul li a {
  color: white; 
}
footer #footer-links ul li a:hover {
  color: #fc3;
  opacity: 1; 
}

/*Override base styling for sitemap link*/
.js footer .sitemap-toggle {
  border: 0;
  color: inherit;
  text-transform: none;
  margin-left: inherit;
  margin-top: inherit;
  padding: 0;
  background-color: inherit;
}
a.sitemap-toggle {
  vertical-align: baseline;
}
footer .sitemap-toggle::after {
  display: none;
}

/*** Horizontal line separators ***/
footer #footer-links {
  clear: both;
  width: 100%;
  border-top: 1px solid #fff;
  padding-top: 8px;
}

footer .slogan-and-copyright.mobile {
  clear: both;
  width: 100%;
  border-top: 1px solid #fff;
  padding-top: 28px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  footer #footer-links {
    margin-top: 28px;
  }
}


footer hr {
  border-top: 1px solid #fff;
  clear: both;
}

@media (max-width: 767px) {
  footer hr {
    display: block;
    width: 100%; 
  }
}

#sitemap {
  display: none;
  clear: both;
  position: relative;
  margin-left: -50px;
  padding-top: 40px; 
}
#sitemap > ul {
  display: flex;
  flex-wrap: wrap; 
}
#sitemap > ul > li {
  float: left;
  width: 20%;
  padding-left: 50px;
  display: block;
  margin-bottom: 25px; 
}
#sitemap > ul > li > a {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 1px 0 #000000;
  color: white;
  display: block;
  margin-bottom: 12px; 
}
#sitemap li li a {
  font-size: 13px;
  color: #75c1c9; 
}
#sitemap li li + li {
  margin-top: 9px; 
}
#sitemap li a:hover {
  color: #d1e9eb; 
}
#sitemap li a:focus {
  color: white; 
}

