.mainFooterBox {
  padding: 0;
}

#footer {
  display: none;
}

.footerFormComponent {
  width: 583px;
  padding: 12px 114px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 5px 5px 10px 0px #00000017;
  border-top: 3px solid #3b006133;
  border-left: 3px solid #3b006133;
}

.linksAndFormWrapper {
  display: flex;
  justify-content: space-between;
}

.dFooterBottomWrapper {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

#d-footer {
  position: relative;
  width: 100vw;
  background-color: #42006c;
  margin-top: 86px;
  min-height: 526px;
  overflow: hidden;
}

#m-footer {
  display: none;
}

.dFooterUpper {
  color: white;
}

.footerUpper {
  color: white;
}

.footerUpper h3 {
  margin-bottom: 28px;
}

.dFooterTitle {
  margin-bottom: 33px;
}

.mobileFooterImg {
  width: 146px;
  height: 29px;
  margin-right: -12px;
}

.copyrights img {
  width: 13px;
  height: 24px;
}

.rightLeftWrapper {
  display: flex;
  padding: 0 10px 10px 10px;
  font-size: 18px;
  gap: 72px;
  justify-content: space-between;
}

.footerRight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dFooterLeft {
  display: flex;
  gap: 50px;
}

.dFooterLinks {
  font-size: 18px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.d-footer-top {
  width: 100%;
  padding-top: 19.5px;
  background-color: #350056;
  padding-bottom: 25px;
  display: flex;
  justify-content: space-between;
}

.d-footer-right-blob {
  position: absolute;
  right: -10vw;
  bottom: -12vh;
  width: 59.766vw;
  max-width: 765px;
}

.d-footer-left-blob {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 65.547vw;
  max-width: 839px;
}

.d-social-icons {
  display: flex;
  gap: 8px;
}

.d-footer-top-background {
  width: 100%;
}

.d-footer-contact-us-toggle-container {
  margin-inline-start: 6.25vw;
  color: #fff;
  gap: 8px;
  display: flex;
  align-items: center;
}

.d-footer-bottom {
  margin-inline-start: 6.25vw;
  margin-inline-end: 6.25vw;
  margin-top: 63px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.d-footer-logo {
  width: 254px;
}

#d-footer-contact-us-toggle {
  min-width: 150px;
  background-color: #f0cc4c;
  border-radius: 4px;
  min-height: 40px;
  border: 0;
  font-size: 22px;
}

#footerFormModal {
  display: none;
  position: fixed;
  z-index: 2;
  top: 50%;
  right: -6.5vw;
  transform: translate(-50%, -50%);
  overflow: auto;
  align-items: center;
}

#overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1;
}

.footer-social-media {
  display: flex;
  color: #fff;
  align-items: center;
}

.d-footer-links-column h4 {
  font-size: 18px;
  font-weight: 700;
}

.d-footer-links {
  color: #fff;
  margin-inline-start: 6.25vw;
  display: flex;
  gap: 67px;
}

.d-footer-container {
  position: relative;
  z-index: 1;
}

.d-footer-social-media {
  gap: 8px;
  justify-content: flex-end;
  margin-inline-end: 6.25vw;
}

.dFooterRight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.dFooterRightContent {
  display: flex;
  gap: 12px;
}

.dLowerFooterMid {
  border-left: 1px solid #ffffff80;
  border-right: 1px solid #ffffff80;
  padding: 0px 10px;
}

.footerLeft {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.footerBorder {
  height: 2px;
  width: 1px;
  background-color: white;
  height: 100%;
  align-self: center;
}

.termsWrapper {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.dTermsWrapper {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
}

.dLowerFooterWrapper {
  color: white;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 3.5px;
}

.lowerFooterWrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footerLink {
  width: fit-content;
  border: 1px solid transparent;
  line-height: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
}

.dLowerFooterWrapper .footerLink,
.dCopyrights {
  font-size: 14px;
  line-height: 20px;
}

.dSocialLink:hover {
  height: 110%;
}

.midFooterLink {
  padding: 0px 10px;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

.footerWrapper {
  margin: 24px 40px;
}

.dCopyrights {
  display: flex;
  color: white;
  margin-bottom: 0;
  gap: 8px;
  align-items: center;
}

.dCopyrights img {
  max-width: 13px;
}

.copyrights {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dFooterLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.dFooterLinksColumn {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .dFooterLinks {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  #d-footer {
    display: none;
  }

  .rightLeftWrapper {
    gap: 0;
    padding: 0;
  }

  #footer {
    width: 100vw;
    display: block;
  }

  .footer-right-content-icon {
    width: 25px;
  }

  .footer-right-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 16px;
  }

  .footerLinks {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .footerUpper {
    padding: 16px 8px;
  }
  .lowerFooter .footerLink {
    font-size: 14px;
    line-height: 21px;
  }
  .lowerFooter .footerLink:hover {
    color: unset;
    text-decoration: underline;
    border-bottom: 0px solid transparent;
  }
  .copyrights {
    font-size: 14px;
    display: flex;
    align-items: center;
  }

  #m-footer {
    display: flex;
    width: 100%;
    min-height: 368px;
    background-color: #42006c;
    position: relative;
    overflow: hidden;
  }

  .m-footer-top-background {
    width: 100%;
    position: absolute;
    top: 0;
  }

  .m-footer-content {
    padding-top: 3vh;
    padding-right: 3.2vw;
    padding-left: 3.2vw;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    flex-grow: 1;
    padding-bottom: 12px;
  }

  .m-footer-links {
    color: #fff;
    margin-top: 23px;
  }

  .footer-dropdown:not(:first-child) {
    margin-top: 8px;
  }

  .footer-dropdown .toggle-title {
    border-bottom: 1px dashed;
    border-image-source: url("../media/footer-link-item-border.png");
    border-image-slice: 1;
    border-image-width: 1;
    border-image-outset: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 26.46px;
    position: relative;
    padding-bottom: 5px;
  }

  .footer-dropdown .dropdown-content {
    padding-right: 42px;
  }

  .footerLink {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 12px;
    margin-top: 12px;
  }

  .lowerFooter .footerLink {
    margin-top: 0;
  }

  .m-footer-logo {
    width: 146px;
  }

  .m-footer-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
  }

  .footer-social-media {
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    gap: 8px;
    padding-bottom: 18px;
  }

  .m-footer-links details summary::marker {
    content: "";
  }

  .m-footer-links details summary::before {
    content: "";
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    padding: 4px;
    margin-bottom: 6px;
  }

  .m-footer-links details[open] summary::before {
    content: "";
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    padding: 4px;
    margin-top: 10px;
  }

  .m-footer-links details[open] summary::marker {
    content: "";
  }

  .footer-dropdown .toggle-title {
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    padding-right: 8px;
  }

  .footer-dropdown .toggle-title span {
    padding-right: 24px;
  }

  .footerWrapper {
    margin: 0;
  }

  .copyrights {
    margin-top: 6px;
    margin-bottom: 0;
    color: #fff;
  }

  .m-footer-mobile-blob {
    position: absolute;
    right: -18vw;
    bottom: -10vh;
    width: 80vw;
  }
}

@media (max-width: 1024px) {
  .footerFormComponent {
    width: 45vw;
    padding: 26px;
  }
  .footerFormComponent .formWrapper {
    gap: 0;
  }
  .footerFormComponent .formButton {
    margin-top: 24px;
  }
  .nav-link.footerLink:hover {
    border-bottom: 1px solid transparent;
    color: unset;
  }
}

@media (min-width: 1024px) {
  .nav-link.footerLink:hover {
    border-bottom: 1px solid white;
    color: white;
    font-weight: 700;
  }
}
