/* Footer layout previously embedded in the template. */
@media (max-width: 781px) {
  .jolly-footer-contact-list .jolly-footer-contact-row--address {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
    width: 100% !important;
  }
  .jm-ftabs .jolly-footer-contact-list .jolly-footer-contact-row--address {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
    padding-inline: 1rem !important;
    text-align: left !important;
    width: 100vw !important;
  }
  .jm-ftabs .jolly-footer-contact-list .jolly-footer-contact-row--address br { display: none; }
}
.jolly-footer-main h2 {
  font-size:var(--jm-s,var(--wp--preset--font-size--compact-heading));
  line-height:1;
  margin:0 0 2rem;
  text-transform:uppercase;
}
.jolly-footer-badges {
  max-width:21.5rem!important;
}
.jolly-footer-badge {
  padding-inline:.45rem!important;
}
@media(max-width:1200px) {
  .jolly-footer-copy,.jolly-footer-trust {
    max-width:none!important;
  }
  .jolly-footer-badges {
    max-width:none!important;
    width:100%;
  }
}
@media(max-width:781px) {
  .jolly-footer-main {
    padding-inline:0!important;
  }
  .jolly-footer-shell {
    margin-inline:0!important;
    max-width:none!important;
    padding-inline:1rem!important;
    text-align:left!important;
    width:100%!important;
  }
  .jolly-footer-grid {
    gap:0!important;
    justify-items:start!important;
    text-align:left!important;
  }
  .jolly-footer-column,.jolly-footer-legal,.jm-ftabs,.jolly-footer-contact-list {
    align-items:flex-start!important;
    justify-items:start!important;
    text-align:left!important;
    width:100%!important;
  }
  .jolly-footer-brand-column {
    display:grid!important;
    grid-template-columns:7.5rem minmax(0,1fr)!important;
    column-gap:1rem!important;
    align-items:start!important;
  }
  .jolly-footer-brandmark {
    grid-column:1!important;
    grid-row:1!important;
  }
  .jolly-footer-copy {
    grid-column:2!important;
    grid-row:1!important;
  }
  .jolly-footer-trust,.jolly-footer-badges {
    grid-column:1/-1!important;
  }
  .jolly-legal-navigation {
    justify-content:flex-start!important;
  }
  .jolly-footer-badges {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    margin-inline:-1rem!important;
    row-gap:0!important;
    width:calc(100% + 2rem)!important;
  }
  .jolly-footer-badge {
    padding-block:.75rem!important;
  }
  .jolly-footer-badge:nth-child(n) {
    border-left:1px solid var(--line)!important;
    border-top:0!important;
  }
  .jolly-footer-badge:first-child {
    border-left:0!important;
  }
  .jm-ftabs {
    display:block!important;
    margin-top:1rem;
  }
  .jm-fdesk {
    display:none!important;
  }
  .jm-ftabs details {
    border-top:1px solid var(--line);
    display:block!important;
    margin-inline:-1rem!important;
    padding-inline:1rem!important;
    width:calc(100% + 2rem)!important;
  }
  .jm-ftabs details:last-child {
    border-bottom:1px solid var(--line);
  }
  .jm-ftabs summary {
    font-weight:700;
    padding:1rem 0;
    text-transform:uppercase;
  }
  .jm-ftabs nav {
    display:grid;
    gap:.75rem;
    padding-bottom:1rem;
  }
  .jm-ftabs .jolly-footer-contact-row:nth-child(4) {
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    max-width:none!important;
    overflow-wrap:anywhere;
    padding-inline:1rem!important;
    text-align:left!important;
    white-space:normal!important;
    width:100vw!important;
  }
  .jm-ftabs .jolly-footer-contact-row:nth-child(4) br {
    display:none;
  }
  .jm-ftabs .jolly-footer-contact-row:last-child {
    padding-bottom:1rem!important;
  }
  .jolly-footer-presence-column {
    padding-top:1rem!important;
  }
}
@media(max-width:1200px) and (min-width:782px),(max-width:1100px) and (max-height:560px) {
  .jolly-footer-badges {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .jolly-footer-badges .jolly-footer-badge:nth-child(n) {
    border-left:1px solid var(--line)!important;
  }
  .jolly-footer-badges .jolly-footer-badge:first-child {
    border-left:0!important;
  }
}
@media(min-width:782px) {
  .jolly-presence-lists {
    align-items:start!important;
    column-gap:clamp(1rem,2vw,1.5rem)!important;
    display:grid!important;
    grid-template-columns:max-content minmax(6rem,7rem);
    justify-content:start!important;
    row-gap:0!important;
  }
  .jolly-presence-list {
    min-width:0;
    white-space:normal;
  }
  .jolly-presence-list li {
    overflow-wrap:normal;
  }
}
@media(max-width:1100px) and (max-height:560px) {
  .jolly-footer-brand-column {
    align-items:start!important;
    column-gap:1rem!important;
    display:grid!important;
    grid-template-columns:7.5rem minmax(0,1fr)!important;
    width:100%!important;
  }
  .jolly-footer-brandmark {
    grid-column:1!important;
    grid-row:1!important;
  }
  .jolly-footer-copy {
    grid-column:2!important;
    grid-row:1!important;
    max-width:none!important;
  }
  .jolly-footer-trust,.jolly-footer-badges {
    grid-column:1/-1!important;
  }
}
@media(min-width:782px) and (max-width:1100px) {
  .jolly-footer-brand-column {
    align-items:center!important;
    column-gap:1.25rem!important;
    display:grid!important;
    grid-template-columns:7.5rem minmax(0,1fr)!important;
    width:100%!important;
  }
  .jolly-footer-brandmark {
    grid-column:1!important;
    grid-row:1!important;
  }
  .jolly-footer-copy {
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
    max-width:none!important;
    text-align:center!important;
  }
  .jolly-footer-trust,.jolly-footer-badges {
    grid-column:1/-1!important;
  }
}
@media(max-width:900px) {
  .jolly-footer-legal {
    gap:.75rem!important;
    margin-top:1.5rem!important;
    padding-bottom:2.75rem!important;
  }
  .jolly-legal-navigation {
    display:flex!important;
    flex-wrap:wrap!important;
    gap:.45rem 1rem!important;
  }
  .jolly-legal-navigation .wp-block-navigation__container {
    gap:.45rem 1rem!important;
  }
  .jolly-legal-navigation .wp-block-navigation-item__content {
    color:#a8a8a8!important;
    line-height:1.4!important;
  }
}
@media(max-width:900px) and (max-height:560px) {
  .jolly-footer-legal {
    padding-bottom:2rem!important;
  }
}
@media(min-width:620px) and (max-width:781px) {
  .jolly-footer-grid {
    display:grid!important;
    gap:0!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .jolly-footer-brand-column {
    grid-column:1/-1!important;
  }
  .jm-ftabs {
    display:none!important;
  }
  .jm-fdesk {
    display:block!important;
  }
  .jolly-footer-products-column,.jolly-footer-company-column,.jolly-footer-connect-column,.jolly-footer-presence-column {
    border-left:0!important;
    border-top:1px solid var(--line)!important;
    min-height:0!important;
    padding:1.5rem 1rem 1.25rem!important;
    width:100%!important;
  }
  .jolly-footer-products-column {
    grid-column:1!important;
    grid-row:2!important;
  }
  .jolly-footer-company-column {
    grid-column:2!important;
    grid-row:2!important;
  }
  .jolly-footer-connect-column {
    grid-column:1!important;
    grid-row:3!important;
  }
  .jolly-footer-presence-column {
    grid-column:2!important;
    grid-row:3!important;
  }
  .jolly-footer-main h2 {
    margin-bottom:1rem!important;
  }
  .jolly-footer-connect-column .jolly-footer-contact-row {
    overflow-wrap:anywhere;
    width:100%!important;
  }
  .jolly-footer-map {
    height:auto!important;
    max-width:100%!important;
    width:100%!important;
  }
  .jolly-presence-lists {
    align-items:start!important;
    column-gap:1rem!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    row-gap:0!important;
    width:100%!important;
  }
  .jolly-presence-list {
    white-space:normal!important;
  }
}
@media(min-width:620px) and (max-width:781px) {
  .jolly-footer-legal {
    align-items:start!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-content:stretch!important;
    justify-items:stretch!important;
    text-align:left!important;
    width:100%!important;
  }
  .jolly-footer-legal-copy {
    align-items:center!important;
    box-sizing:border-box!important;
    column-gap:.6rem!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    grid-column:1/-1!important;
    justify-content:center!important;
    margin-inline:-1rem!important;
    max-width:none!important;
    min-width:calc(100% + 2rem)!important;
    padding-inline:1rem!important;
    text-align:center!important;
    width:calc(100% + 2rem)!important;
  }
  .jolly-footer-legal-copy p {
    display:inline!important;
    flex:0 0 auto!important;
    white-space:nowrap!important;
    width:auto!important;
  }
  .jolly-legal-navigation {
    display:flex!important;
    grid-column:1/-1!important;
    justify-content:center!important;
    justify-self:center!important;
    margin-inline:auto!important;
    text-align:center!important;
    width:100%!important;
  }
  .jolly-legal-navigation .wp-block-navigation__container {
    justify-content:center!important;
    width:100%!important;
  }
}
