:root {
  --lid-mid-fg: #AFAFAF;
  --lid-mid-fg-rgb: 175, 175, 175;
  --lid-spid-orange: #F0743C;
  --lid-spid-orange-rgb: 240, 116, 60;
  --lid-dark-bg-footer: #333333;
  --lid-dark-bg-footer-rgb: 51, 51, 51;
  --lid-light-fg-footer: #9B9B9B;
  --lid-light-fg-footer-rgb: 155, 155, 155;
  --lid-bg-opacity: 1;
  --lid-text-opacity: 1;
}

.footer-logo > a > img:hover {
  opacity: .5;
}

.d-flex {
  display: -moz-box !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}
.justify-content-left {
  -moz-box-pack: start !important;
  -webkit-box-pack: start !important;
  -ms-flex-pack: start !important;
  justify-content: flex-start !important;
}
.justify-content-center {
  -moz-box-pack: center !important;
  -webkit-box-pack: center !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}
.justify-content-right {
  -moz-box-pack: end !important;
  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}
.align-items-top {
  -moz-box-align: start !important;
  -webkit-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: start !important;
}
.align-items-middle {
  -moz-box-align: center !important;
  -webkit-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}
.align-items-bottom {
  -moz-box-align: end !important;
  -webkit-box-align: end !important;
  -ms-flex-align: end !important;
  align-items: end !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  word-wrap: normal !important;
}

#block-contatti.contextual-region,
#block-copyright.contextual-region,
#block-footerlogo.contextual-region,
#block-footerlogo-2.contextual-region {
  position: relative !important;
}

.mt-auto {
  margin-top: auto !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.p-0 {
  padding: 0 !important;
}
.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.bg-dark-footer {
    background-color: rgba(var(--lid-dark-bg-footer-rgb),var(--lid-bg-opacity)) !important;
}
.text-light-footer {
    color: rgba(var(--lid-light-fg-footer-rgb),var(--lid-text-opacity)) !important;
}

.ft-low-band {
    height: 21.875rem;
    position: relative;
}
footer {
    padding: 2rem 0;
    display: block;
}
.container-fluid.footer-top {
    position: absolute;
    top: 0px;
}
.container-fluid.footer-bottom {
  position: absolute;
  bottom: 0px;
}
.container.footer-narrow-top {
  padding-top: 4.375rem;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}
.container.footer-narrow-bottom {
  padding-right: 2.5rem;
  padding-bottom: 2.75rem;
  padding-left: 2.5rem;
}
.container-fluid.footer-bottom > .container.footer-narrow-bottom > .row.justify-content-center {
  display: flex;
  flex-wrap: wrap;
}

#inside-footer-sinistra {
  visibility: hidden;
}
.footer-logo-top {
  width: 7.375rem;
}
.footer-logo-left {
  width: 11.0rem;
}
.footer-contatti {
  color: var(--lid-mid-fg) !important;
  font-family: 'Poppins', Arial, sans-serif, system-ui, -apple-system !important;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.2 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 0.375rem;
  height: 1.25rem;
}
.footer-copyright {
  color: var(--lid-mid-fg) !important;
  font-family: 'Poppins', Arial, sans-serif, system-ui, -apple-system !important;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.2 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-bottom: 0rem;
}
.footer-copyright > a {
  display: inline-block !important;
  color: #FFFFFF !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}
.footer-copyright > a:after {
  display: block !important;
  content: '' !important;
  border-bottom: 2px solid #FFFFFF !important;
  transform: scaleX(0) !important;
  transform-origin: 100% 50% !important;
  transition: transform 450ms ease-in-out !important;
}
.footer-copyright > a:hover:after {
  transform: scaleX(1) !important;
  transform-origin: 0% 50% !important;
}

.btn-subfooter {
  display: inline-block;
  font-size: 0.9375rem;
  line-height: 1.2;
  font-family: 'Poppins', Arial, sans-serif, system-ui, -apple-system !important;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border-right: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-radius: 0rem;
  padding: 0 0.65rem;
}
.btn-subfooter-link {
  text-decoration: none !important;
}
.btn-subfooter:first-child {
  padding-left: 0;
  padding-right: 0.325rem;
  border-right: none;
  border-left: none;
}
.btn-subfooter:last-child {
  padding-left: 0.325rem;
  padding-right: 0;
  border-right: none;
  border-left: none;
}

.btn-subfooter > a {
  color: #FFFFFF !important;
  text-decoration: none !important;
}
.btn-subfooter > a:after {
  display: block !important;
  content: '' !important;
  border-bottom: 3px solid #FFFFFF !important;
  transform: scaleX(0) !important;
  transform-origin: 100% 50% !important;
  transition: transform 450ms ease-in-out !important;
}
.btn-subfooter > a:hover:after {
  transform: scaleX(1) !important;
  transform-origin: 0% 50% !important;
}
.btn-subfooter > a.is-active:hover:after {
  transform: scaleX(1) !important;
  transition: none !important;
}
.btn-subfooter > a.is-active:after {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transform: scaleX(1) !important;
  transition: none !important;
  border-bottom: 3px solid var(--lid-spid-orange) !important;
}

@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
  .footer-logo-left {
    width: 16.5rem;
  }
  .pf-note {
    font-size: 0.825rem;
  }
  .btn-subfooter,
  .footer-contatti,
  .footer-copyright {
    font-size: 0.825rem !important;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .pf-low-band {
    height: 25rem;
  }
  .pf-note {
    font-size: 0.825rem;
  }
  .ft-low-band {
    height: 25rem;
  }
  #inside-footer-sinistra {
    visibility: visible;
    justify-content: center !important;
    margin-bottom: 1.5rem;
  }
  #post-footer-sinistra {
    display: none !important;
  }
  #post-footer-destra {
    justify-content: center !important;
    margin-top: 1rem;
  }
  .btn-subfooter,
  .footer-contatti,
  .footer-copyright {
    font-size: 0.825rem !important;
  }
}
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
  .pf-low-band {
    height: 25rem;
  }
  .pf-note {
    font-size: 0.75rem;
  }
  .ft-low-band {
    height: 25rem;
  }
  #inside-footer-sinistra {
    visibility: visible;
    justify-content: center !important;
    margin-bottom: 1.5rem;
  }
  #post-footer-sinistra {
    display: none !important;
  }
  #post-footer-destra {
    justify-content: center !important;
    margin-top: 1rem;
  }
  .btn-subfooter,
  .footer-contatti,
  .footer-copyright {
    font-size: 0.75rem !important;
  }
}
@media only screen and (min-width: 320px) and (max-width: 575.98px) {
  .pf-low-band {
    height: 35.625rem;
  }
  .pf-note {
    font-size: calc(12px + 2 * ((100vw - 320px) / 255.98)) !important;
  }
  .ft-low-band {
    height: 28.125rem;
  }
  .container.footer-narrow-top {
    padding-top: 4.375rem;
    padding-right: 0rem;
    padding-left: 0rem;
  }
  .container.footer-narrow-bottom {
    padding-right: 0rem;
    padding-bottom: 2.75rem;
    padding-left: 0rem;
  }
  #inside-footer-sinistra {
    visibility: visible;
    justify-content: center !important;
    margin-bottom: 1.5rem;
  }
  #post-footer-sinistra {
    display: none !important;
  }
  #post-footer-destra {
    justify-content: center !important;
    margin-top: 1rem;
  }
  .btn-subfooter,
  .footer-contatti,
  .footer-copyright {
    font-size: calc(12px + 2 * ((100vw - 320px) / 255.98)) !important;
  }
}
@media only screen and (max-width: 319.98px) {
  .pf-low-band {
    height: 33.75rem;
  }
  .pf-note {
    font-size: 0.625rem;
  }
  .ft-low-band {
    height: 26.25rem;
  }
  .container.footer-narrow-top {
    padding-top: 4.375rem;
    padding-right: 0rem;
    padding-left: 0rem;
  }
  .container.footer-narrow-bottom {
    padding-right: 0rem;
    padding-bottom: 2.75rem;
    padding-left: 0rem;
  }
  #inside-footer-sinistra {
    visibility: visible;
    justify-content: center !important;
    margin-bottom: 1.5rem;
  }
  #post-footer-sinistra {
    display: none !important;
  }
  #post-footer-destra {
    justify-content: center !important;
    margin-top: 1rem;
  }
  .btn-subfooter,
  .footer-contatti,
  .footer-copyright {
    font-size: 0.625rem !important;
  }
  .btn {
    font-size: 0.875rem !important;
  }
}