.kl-footer {
  background-color: transparent !important;
}

.footer-container {
  background-color: #003C37 !important;
  color: #fff !important;
  border-radius: 24px 24px 0 0;
}

.kl-footer-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 34px;
  margin-bottom: 104px !important;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (max-width: 520px) {
    grid-template-columns: 1fr;
  }
}

.kl-footer-content {
  padding: 72px 20px 40px 20px !important;
  max-width: 1440px;
  margin: 0 auto;
}

.kl-footer__group {
  margin: 0;
  max-width: 212px;
}

.js-toggle-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kl-footer__group .title {
  color: #99B1AF;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0 !important;
}

.kl-footer__group ul {
  margin: 0;
  padding: 0;
}

.kl-footer__group li {
  list-style-type: none !important;
  margin-top: 12px;
}

.kl-footer__group li a {
  text-decoration: none !important;
  color: #fff;
  font-size: 16px;
  transition: all .3s ease-out;
}

.kl-footer__group li a:hover {
  color: #99B1AF !important;
}

.kl-footer__group .flag {
  width: fit-content;
  height: fit-content;
  border-radius: 4px;
  padding: 1px 5px 2px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #025858;
  font-size: 12px;
  word-break: auto-phrase;
  display: inline;
  margin-left: 4px;
}

.js-toggle-group .kl-menu-icon {
  display: none;
}

/* Footer content bottom (company info etc) */
.footer-content-bottom {
  padding-top: 44px;
  padding-bottom: 104px;
  border-top: 1px solid rgba(255, 255, 255, 0.50);
}

.footer-content-bottom .additional-info-wrapper {
  display: flex;
  justify-content: space-between;
  column-gap: 64px;
}

.additional-info-wrapper .logos-wrapper {
  display: flex;
  column-gap: 56px;
}

.additional-info-wrapper .logos-wrapper .logotype-wrapper {
  max-width: 340px;
  display: flex;
}

.additional-info-wrapper .logos-wrapper .logotype-wrapper img {
  margin: 0 !important;
  width: 100%;
}

.additional-info-wrapper .company-info {
  display: flex;
  justify-content: space-between;
  column-gap: 25px;
  flex: 1;
}

.footer-content-bottom .company-info.mobile {
  display: none;
}

.additional-info-wrapper .company-info div:not(:first-of-type) {
  min-width: 120px;
}

.additional-info-wrapper .company-info div:first-of-type {
  min-width: 95px;
}

.additional-info-wrapper .company-info div:nth-of-type(2) {
  min-width: 160px;
}

.additional-info-wrapper .company-info p {
  font-size: 12px;
  margin: 0;
  margin-bottom: 4px;
  color: #fff;
}

.additional-info-wrapper .made-by-dk-flag {
  display: flex;
  padding: 6px 12px 8px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: #025858;
  height: fit-content;
  width: fit-content;
}

.additional-info-wrapper .made-by-dk-flag p {
  font-size: 14px;
  margin: 0;
  color: #fff;
}
/* Legal content */
.terms-and-conditions-wrapper {
  display: flex;
  justify-content: space-between;
}

.terms-and-conditions-wrapper .info {
  display: flex;
  flex-direction: column;
  row-gap: 32px
}

.terms-and-conditions-wrapper .info .links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 10px;
  align-items: center;
  justify-content: center;
}

.terms-and-conditions-wrapper .info .links a, .terms-and-conditions-wrapper .info .links button {
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.70) !important;
  font-size: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.70) !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  transition: all .3s ease-out;
}

.terms-and-conditions-wrapper .info .links button {
  padding: 0 !important;
  transition: all .3s ease-out;
}

.terms-and-conditions-wrapper .info .links button:hover {
  transform: none !important;
  color: #fff !important;
}

.terms-and-conditions-wrapper .info .links button:focus {
  outline: none !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.70) !important;
}

.terms-and-conditions-wrapper .info .links button:active {
  transform: none !important;
}

.terms-and-conditions-wrapper .info .links a:last-of-type {
  margin-right: 0;
}

.terms-and-conditions-wrapper .info .links a:hover {
  color: #fff !important;
}

.terms-and-conditions-wrapper .info p, .terms-and-conditions-wrapper .info span {
  font-size: 12px !important;
  margin: 0 !important;
  color: rgba(230, 236, 235, 0.50);
}

.terms-and-conditions-wrapper #scroll-to-top {
  background-color: transparent !important;
  border: none !important;
  width: fit-content;
  height: fit-content;
  font-size: 10px !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  column-gap: 6px;
  font-weight: 400 !important;
  padding: 0 !important;
  margin-top: 4px;
  text-decoration: none !important;
}

.terms-and-conditions-wrapper #scroll-to-top:hover {
  transform: none !important;
}

.terms-and-conditions-wrapper #scroll-to-top:focus {
  outline: none !important;
  transform: none !important;
}

/* Hide cookies settings button if it's active */
#cookie-button-container {
  display: none !important;
}

@media (max-width: 1300px) { 
  .logos-wrapper {
    column-gap: 40px;
  }
  
  .logos-wrapper .logotype-wrapper {
    max-width: 300px;
  }

}

/* Responsive menu */
@media (max-width: 520px) {
  .kl-footer__group {
    max-width: unset;
    width: 100%;
  }
  
  .kl-footer-content {
    padding: 40px 20px 32px !important; 
  }
  
  .kl-footer-menu {
    gap: 0px;
  }
  
  .js-group-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease !important;
    padding: 0 8px 16px 8px !important;
  }

  .js-group-links:not(.is-open) {
    padding: 0 8px 0 8px !important;
  }
  
  .kl-footer__group li:first-of-type {
    margin-top: 0;
  }
  
  .js-group-links li p {
    margin-bottom: 0 !important;
  }
  
  .js-toggle-group {
    cursor: pointer;
    border-top: 1px solid rgba(230, 236, 235, 0.50);
    padding: 16px 8px !important;
  }

  .kl-footer__group:last-of-type {
    border-bottom: 1px solid rgba(230, 236, 235, 0.50);
  }
  
  .js-toggle-group .title {
    color: #fff !important;
    transition: all 0.3s ease !important;
  }
  
  .kl-footer__group:has(.js-group-links.is-open) .js-toggle-group .title {
    color: #99B1AF !important;
  }
  
  .kl-footer__group:has(.js-group-links.is-open) .js-toggle-group .kl-menu-icon {
    transform: rotate(180deg);
  }
  
  .js-toggle-group .kl-menu-icon {
    display: block !important;
    transition: all 0.3s ease !important;
    width: unset !important;
  }
}

/* Footer content bottom */
@media (max-width: 840px) {
  .kl-footer-menu {
    margin-bottom: 0 !important;
  }
  .footer-content-bottom {
    border-top: none;
    padding-bottom: 32px;
  }
  
  .additional-info-wrapper {
    flex-direction: column;
    align-items: center;
    row-gap: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.50);
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
  
  .additional-info-wrapper .company-info.desktop {
    display: none;
  }
  
  .footer-content-bottom .company-info.mobile {
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
    column-gap: 20px;
    width: 100%;
  }
  
  .footer-content-bottom .company-info.mobile div:not(.first-row-wrapper) {
    min-width: 130px;
    flex: 1;
  }
  
  .footer-content-bottom .company-info.mobile .first-row-wrapper div:first-of-type {
    min-width: 85px;
  }
  
  .footer-content-bottom .company-info.mobile .first-row-wrapper div:nth-of-type(2) {
    min-width: 160px;
  }
  
  .footer-content-bottom .company-info.mobile .first-row-wrapper {
    display: flex;
    column-gap: 20px;
    min-width: none;
  }
  
  .footer-content-bottom .company-info.mobile p {
    font-size: 12px;
    margin-bottom: 4px !important;
    color: #fff;
  }
  
  #hs_show_banner_button {
    bottom: 0px !important; 
    display: inline-block; !important;
    left: auto !important; 
    margin: 0 !important; 
    position: unset !important;

}
@media (max-width: 520px) {
  .footer-container {
    border-radius: 16px 16px 0 0;
  }
  
  .additional-info-wrapper .logos-wrapper .logotype-wrapper {
    max-width: 200px;
  }
  
  .footer-content-bottom .company-info.mobile {
    align-items: center;
    justify-content: center;
  }
  
  .footer-content-bottom .company-info.mobile .company-contact {
    display: flex;
    column-gap: 16px;
  }
  
  .footer-content-bottom .company-info.mobile .company-contact a {
    color: #fff !important;
    text-decoration: none !important;
  }
  
  .footer-content-bottom .company-info.mobile div {
    min-width: none;
    flex: none !important; 
  }
  
  .footer-content-bottom .company-info.mobile .first-row-wrapper {
    justify-content: space-around;
    width: 100%;
  }
  
  .terms-and-conditions-wrapper {
    flex-direction: column;
    row-gap: 24px;
    align-items: center;
  }
  
  .terms-and-conditions-wrapper .info {
    align-items: center;
  }
}

/* Chatbot style overwrites */

.widget div div {
  padding: 16px 16px 8px !important;
}
[class*="WidgetWrapper__Wrapper"] {
  padding: 16px 16px 8px !important;
}


