.checkout-index-index:has(#shipping.checkout-shipping-address[style*='display:none']) aside.opc-summary-wrapper,
.checkout-index-index:has(#shipping.checkout-shipping-address[style*='display: none']) aside.opc-summary-wrapper {
  margin-bottom: 0;
}
  
.page-footer .widget.block {
  margin-top: 0 !important;
  width: 100%;
}

.page-footer {
  background-color: white !important;
}


.checkout-cart-index:has(.cart-container) .stripe-badge,
.checkout-index-index .stripe-badge {
  display: block;
}


.stripe-badge {
  display: none;
  
  width: fit-content;
  margin-left: auto;
  margin-right: 25px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .stripe-badge {
    margin-right: 22px;
    margin-bottom: 19px;
  }
}

@media (min-width: 769px) and (max-width: 1000px) {
  .stripe-badge {
    margin-left: 30px;
  }
}

@media (max-width: 1000px) {
  .stripe-badge {
    margin-top: 20px;
  }
}
  
.stripe-badge img {
  height: 33px;
}

@media (max-width: 769px) {
  .stripe-badge img {
    height: 35px;
  }
}

.footer.content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0px !important;
}

.tio-footer #copyright {
  margin-left: 21.6px;
  bottom: auto;
}

.tio-footer .footer-element {
  margin-right: 21.6px;
}

.tio-footer button {
  font-weight: 300 !important;
  background-color: var(--grayLightBckg);
}



@media (max-width: 1000px) {
  .tio-footer #copyright, .tio-footer .footer-contact {
    margin-top: 21px;
  }
  
  .tio-footer .footer-center-mobile {
    margin-bottom: 10.37px;
  }
  
  .tio-footer .ds-up {
    height: 14px;
  }
  
  .tio-footer .dropup-menu #legal-dropup-content {
    padding-right: 0;
  }

  .dropbtn {
    padding-bottom: 9px;
  }
}


.tio-footer {
  --blue-hue: 215;
  --black-on-blue: hsl(var(--blue-hue), 50%, 17.5%);
  --footer-height: 60.75px;
  --link-blue:            hsl(var(--blue-hue), 92%, 35%);
  --hoovered-link-blue:   hsl(var(--blue-hue), 72%, 53%);
  --app-bar-full-height: 69px;
  --grayBckg:      hsl(205, 20%, 90%);
  --body-line-height: 1.35em;
  --footer-padding: 20.4px !important;
  --footer-corner-radius: 8.5px !important;

  font-size: 13px;
  font-weight: 300;
  padding: 0 !important;
  /*DELETE ME top: calc(100vh - var(--footer-height)); */



 /* below are old definitions */
  
  

  --footer-padding: 1.2rem;
  --footer-btn-y-padding: 7px;
  --footer-corner-radius: .5rem;

  display: flex;
  justify-content: space-between;

  padding: var(--footer-padding);

  color: var(--black-on-blue);
  /* background-color: var(--blueLightBckg); */
  background-color: var(--grayLightBckg);

  position: absolute;                               /* These four lines put the footer to the bottom of the screen, even on short pages */
  bottom: 0;
  width: 100%;
  height: var(--footer-height);

  line-height: var(--body-line-height);
}

.tio-footer a, .tio-footer button {
  color: var(--link-blue);
}

.tio-footer a:hover {
  color: var(--hoovered-link-blue);
}

@media (max-width: 651px) {
  .tio-footer {
    bottom: var(--app-bar-full-height);
  }
}

@media (max-width: 1000px) {
  .tio-footer {
    padding-top:    0;
    padding-bottom: 0;
  }
}

.tio-footer .footer-element {
  margin-top: auto;
  margin-bottom: auto;
}

.tio-footer .footer-center {
  display: flex;
}

.tio-footer .footer-center div {
  margin-left:  15px;
  margin-right: 15px;
}

@media (max-width: 1000px) {
  .tio-footer .footer-center { 
    display: none;
  }
}

.tio-footer .footer-center-mobile {
  display: none;
}
  
@media (max-width: 1000px) {
  .tio-footer .footer-center-mobile {
    display: block;
  }
}


.tio-footer .dropup-menu {
  position: relative;
  display: inline-block;
}

.tio-footer .dropup-menu .dropbtn-section {
  display: flex;
  flex-direction: column;
}

.tio-footer .dropup-menu .dropbtn-section .ds-down,.ds-up {
  height: calc(var(--footer-padding) - var(--footer-btn-y-padding));
}
  
.tio-footer .dropup-menu .dropbtn-section .dropbtn {
  padding: var(--footer-btn-y-padding);
  padding-left:  calc(var(--footer-btn-y-padding) + 4px);
  padding-right: calc(var(--footer-btn-y-padding) + 4px);
  border-radius: var(--footer-corner-radius);
  border: none;
  cursor: pointer;
}   


.tio-footer .dropup-menu #legal-dropup-content {
  display: none;
  position: absolute;
  top: -180px;
  z-index: 1;

  min-width: 160px;
  padding-bottom: var(--footer-corner-radius);
  padding-top: var(--footer-corner-radius);
  border-radius: var(--footer-corner-radius);
  background-color: var(--grayLightBckg);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.tio-footer .dropup-menu #legal-dropup-content li {
  margin: 0;
}

.tio-footer .dropup-menu #legal-dropup-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.tio-footer .dropup-menu #legal-dropup-content a:hover {
  color: var(--link-blue);    /* light blue looks not clear at the gray background */
  background-color: var(--grayBckg);
}



.tio-footer .dropup-menu .dbs-hoovering .dropbtn.hovered {
  color: var(--hoovered-link-blue);
  background-color: var(--grayBckg);
}   


@media (min-width: 601px) {
  .tio-footer .footer-contact {
    margin-left: 128px;
  }
}


@media (max-width: 769px) {
  .footer.content {
    padding-top: 0;
  }
}


.page-footer .copyright 
{
  color: inherit;
}


.page-footer .footer.content {
  margin-top: 0;
  border-top: none;
}

@media (max-width: 390px) {
  .tio-footer .footer-element {
    margin-left: 0;
    margin-right: 0;
  }

  .tio-footer #copyright {
    margin-left: 15px
  }

  .tio-footer .footer-contact {
    margin-right: 15px
  }
}



.page-footer .footer.links .item:nth-child(2),
.page-footer .footer.links .item:nth-child(3) {
  display: none !important;
}

