/* ==========================================================================
   Footer: category list, news widget, copyright bar, socials, back-to-top
   ========================================================================== */

.foot-content {
  box-sizing: content-box;
  max-width: 1080px;
  margin: 0 auto;
}

/* Widget area */
.foot-widgets {
  background-color: #333;
  color: #cecdc1;
}
.foot-widgets .foot-content {
  display: flow-root;
  padding-top: 5px;
}

.foot-col {
  float: left;
  width: 31.3%;
  margin-left: 3%;
  padding-top: 30px;
  padding-bottom: 70px;
}
.foot-col:first-child {
  margin-left: 0;
}

.footer-widget {
  margin-top: 35px;
  font-size: 14px;
}
.footer-widget a {
  color: #fff;
  transition: background-color .3s, color .3s;
}
.footer-widget a:hover {
  color: #cecdc1;
}

.footer-widget__title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaea;
  color: #cecdc1;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

/* Recent news widget */
.footer-news__item {
  display: flow-root;
  min-height: 50px;
  margin-top: 15px;
}
.footer-news__thumb {
  float: left;
  width: 50px;
  height: 50px;
  margin: 0 15px 5px 0;
}
.footer-news__thumb img {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: all .3s ease;
}
.footer-news__item:hover .footer-news__thumb img {
  top: -4px;
  left: 4px;
  border-radius: 3px;
  box-shadow: -4px 4px 11px rgba(0, 0, 0, .3);
}
.footer-news__title {
  display: block;
  margin: 0;
  font-size: 13px;
}
.footer-news__item .fa,
.footer-news__date {
  color: #cecdc1;
}
.footer-news__date {
  margin-top: 3px;
  font-size: 11px;
}

/* Bottom bar */
.foot-items {
  background-color: #222;
}
.f-texts {
  display: flow-root;
  padding: 20px 0;
  border-top: 1px solid transparent;
  font-size: 14px;
}
.foot-text {
  float: left;
  max-width: 50%;
}
.f-links {
  float: right;
  max-width: 50%;
}

/* Social icons (theme sprite, circles on dark background) */
.socials {
  display: inline-block;
  line-height: 0;
  vertical-align: middle;
}
.social {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 1px 0 0 1px;
  background: url("../original/wp-content/themes/blame/images/socials_circle.png") no-repeat;
  background-size: 150px 1600px;
  transition: all .3s ease;
}
.social--facebook  { background-position: -110px -460px; }
.social--linkedin  { background-position: -110px -860px; }
.social--instagram { background-position: -110px -760px; }
.social--facebook:hover  { background-position: -60px -460px; }
.social--linkedin:hover  { background-position: -60px -860px; }
.social--instagram:hover { background-position: -60px -760px; }

/* Back to top. Same selector as the theme (#footer a.to-top): it has to outrank
   Font Awesome's ".fa { font: 14px/1 FontAwesome }", which would otherwise reset
   the size and line-height and push the arrow to the top of the box. */
#footer a.to-top {
  position: fixed;
  right: 20px;
  bottom: 37px;
  z-index: 1700;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, .2);
  outline: none;
  color: #252525;
  font-size: 13px;
  line-height: 40px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
}
#footer a.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
#footer a.to-top:hover {
  background-color: #252525;
  color: #fff;
}
#footer a.to-top:focus-visible {
  outline: thin dotted;
}

@media only screen and (max-width: 1120px) {
  .foot-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 680px) {
  .foot-content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .foot-col {
    width: 48.45%;
  }
  .f-texts {
    text-align: center;
  }
  .foot-text,
  .f-links {
    float: none;
    max-width: none;
  }
  .foot-text + .f-links {
    margin-top: 20px;
  }
  .f-texts .socials {
    display: block;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .foot-col {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}
