/* ------------------- FOOTER GLOBAL STYLING -------------------- */
.site-footer {
  background: #545454;
}
.site-footer .content,
.site-footer .content a,
.site-footer .content a.is-active {
  color: #C9C9C9;
}
.site-footer .content a:hover,
.site-footer .content a:focus {
  color: #fefefe;
}

.region-footer-fifth {
  display: flex;
  justify-content: space-between;
}




/* ------------------ Footer Top Styling ---------------------- */
.footer-grid {
  display: flex;
  justify-content: space-between;
}
.site-footer__top .divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.70);
  margin-top: 1rem;
}
.site-footer__top section.footer-menu .footer-menu-title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}
.site-footer__top .block .content {
  margin-top: 1.5rem;
}
.site-footer__top .block .content p {
  padding: 0 0 0.563rem;
}


/* ----- LOGO SOCIAL ------- */
.footer-logo {
  background: url("/themes/loyverse8/images/logo-help-footer.svg") no-repeat 0 0;
  height: 60px;
  width: 189px;
}
.footer-soc {
  display: flex;
  align-self: center;
}
#block-socialmedia {
  margin: 16px 0;
}

/* ----- animate soc icons ------- */
.foo-so a {
  display: inline-flex;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 50%;
}

.foo-so a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #0093d9;
}
/* ----- END animate soc icons ------- */




/* ----------- Footer Bottom Styling ----------------- */

.site-footer__bottom {
  margin-top: 0;
}
.site-footer__bottom .block {
  margin: 0.5rem 0;
}
.site-footer__bottom .content {
  font-size: 0.813rem;
}
.site-footer__bottom .content a {
  display: block;
  margin-bottom: 0.563rem;
  font-size: 0.813rem;
}
.site-footer__bottom .content .menu {
  padding: 0;
  margin: auto;
}






/* -------------- MOBILE VERSION --------------------------- */

@media screen and (max-width: 960px) {
  .footer-menu > .footer-grid {
    flex-direction: column;
  }

  .footer-menu .footer-column:nth-child(3) {
    border-top: 1px solid hsla(0, 0%, 100%, 0.12);
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.12);
  }

  .footer-menu .footer-column:not(.footer-column:nth-child(2)) {
    padding: 16px 0;
  }

  /* TITLE ROW */
  .site-footer__top section.footer-menu p {
    font-size: 1rem;
  }
  .site-footer__top section.footer-menu p.footer-menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    color: #c9c9c9;
    font-weight: 400;
    cursor: pointer;
  }
  .site-footer__top .block .content .footer-menu p.footer-menu-title {
    padding: 0;
  }
  .site-footer__top .block .content .footer-menu .selected p.footer-menu-title {
    margin-bottom: 12px;
  }
  .footer-menu .divider {
    margin-top: 0;
  }

  /* EXPAND ICON */
  .footer-menu .footer-menu-title::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url(/themes/loyverse8/images/expand.svg) no-repeat center;
    transition: transform 0.3s ease;
  }

  /* ROTATE WHEN OPEN */
  .footer-menu .footer-column.selected .footer-menu-title::after {
    transform: rotate(180deg);
  }

  /* HIDE LINKS */
  .footer-menu .footer-column p:not(.footer-menu-title) {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: unset;
    transition: max-height 0.35s ease, opacity 0.25s ease;
  }

  /* SHOW LINKS */
  .footer-menu .footer-column.selected p:not(.footer-menu-title) {
    max-height: 40px;
    opacity: 1;
    padding: 8px 0;
  }
  .footer-menu .footer-column.selected:nth-child(1) {
    padding-bottom: 0;
  }
  .footer-menu .footer-column.selected:nth-child(2) {
    padding-bottom: 1rem;
  }

  /* VISIBILITY EMPTY COLUMN */
  .foo-empty-row {
    display: none;
  }
  .footer-menu .footer-column:nth-child(2) {
    display: none;
  }
  .footer-menu .footer-column.selected:nth-child(2) {
    display: block;
  }
}





@media screen and (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
  }
  .footer-logo {
    margin: 0 auto;
  }
  .footer-soc {
    justify-self: center;
  }
  .region-footer-fifth {
    display: block;
  }
  .region-footer-fifth .menu li.menu-item,
  .site-footer__bottom #block-loyverse8-copyright {
    text-align: center;
  }
}
