.footer-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 900;
  height: 100vh;
  width: 100vw;
  padding: 0 10px;
  box-sizing: border-box;
}

.footer-modal *{
  box-sizing: border-box;
}

.footer-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-modal__overlay{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #0000008c;
  z-index: 49;
}

.footer-modal__inner{
  display: flex;
  flex-direction: column;
  background-color: var(--color-dark);
  border: 1px solid var(--color-primary);
  padding: 10px 20px 20px 20px;
  max-width: 360px;
  height: fit-content;
  min-height: 485px;
  max-height: 485px;
  margin: 0 auto;
  overflow-y: scroll;
  position: relative;
  z-index: 50;
}
@media screen and (min-width: 990px) {
  .footer-modal__inner {
      width: 60vw;
      max-width: 800px;
  }
}

.footer-modal__header{
  margin-bottom: 25px;
}

.footer-modal__header h3{
  margin: 0;
  font-family: "Helvetica--Neue--75";
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: -0.4px;
  font-style: normal;
}
@media screen and (min-width: 600px) {
  .footer-modal__header h3{
    margin: 0;
    font-family: "Helvetica--Neue--75";
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -0.4px;
    font-style: normal;
  }
}
@media screen and (min-width: 990px) {
  .footer-modal__header h3{
    margin: 0;
    font-family: "Helvetica--Neue--75";
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.4px;
    font-style: normal;
  }
}


.footer-modal__close-button{
  margin-left: auto;
  display: block;
  text-align: end;
}
.footer-modal__close-button:hover{
  cursor: pointer;
}

.footer-modal__content .txtpopup > ul > li:not(:last-child){
  margin-bottom: 8px;
}

.footer-modal__content  ul:first-child {
  list-style-type: none; 
  padding-left: 1.2em;   
}

.footer-modal__content ul:first-child li::before {
  content: "•";          
  color: var(--color-primary);           
  display: inline-block;
  width: 1em;            
  margin-left: -1em; 
}

.footer-modal__content img{
  margin: 8px 0;
}

.footer-modal__content ul li ul{
  list-style-type: none; 
  padding-left: 1.2em;
  margin-top: 8px;
}

.footer-modal__content ul:first-child li ul li::before {
  content: "•";          
  color: var(--color-light);           
  display: inline-block;
  width: 1em;            
  margin-left: -1em; 
}

.footer-legal-button{
  margin-left: 10px;
  font-family: 'Helvetica--Neue--55';
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  line-height: 25px;
  letter-spacing: normal;
}
@media screen and (min-width: 990px) {
  .footer-legal-button{
    margin-left: 16px;
    font-family: 'Helvetica--Neue--55';
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 25px;
    letter-spacing: normal;
  }
}

.footer-legal-button:hover{
  cursor:pointer;
}