.collapse {
  display: block;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.collapse.show {
  max-height: 99em;
  transition: max-height 0.5s ease-in-out;
}

.d-none {
  display: none !important;
}

body:has(.mda-cookies-consent:not(.is-hidden)) {
  overflow: hidden;
}

.mda-cookies-consent::before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: var(--cookies-bg-color);
  opacity: 0.35;
  z-index: 1000;
  transition: all 300ms ease-out;
}

.mda-cookies-consent.is-hidden::before {
  opacity: 0;
  visibility: hidden;
}

.mda-cookies-consent__content {
  position: fixed;
  width: 568px;
  max-width: calc(100% - 62px);
  left: 36px;
  bottom: 0;
  z-index: 1049;
  background: #fff;
  padding: 32px;
  transition: all 400ms ease-out;
}

.mda-cookies-consent.is-hidden .mda-cookies-consent__content {
  transform: translateY(200%);
  opacity: 0;
  visibility: hidden;
}

.mda-cookies-consent__loader {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;

  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease-in-out;
  transition-delay: 0;
}

.mda-cookies-consent__spinner {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.mda-cookies-consent__spinner:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid var(--cookies-main-color);
  border-color: var(--cookies-main-color) transparent;
  animation: spinner 1.2s linear infinite;
}

@keyframes spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mda-cookies-consent.loading .mda-cookies-consent__loader {
  opacity: 1;
  visibility: visible;
}

.mda-cookies-consent__container {
  overflow-y: auto;
  max-height: 90vh;
}

.mda-cookies-consent__heading {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.16;
  text-align: center;
  margin-bottom: 16px;
}

.mda-cookies-consent__text {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  color: #5f5f5f;
  margin-bottom: 8px;
}

.mda-cookies-consent__text p {
  margin: 0 0 16px;
}

.mda-cookies-consent__text a {
  color: #898989;
  transition: 300ms;
  transition: 300ms;
}

.mda-cookies-consent__text a:hover {
  color: var(--cookies-main-color);
  filter: brightness(90%);
}

.mda-cookies-consent__button {
  flex: 0 0 100%;
  margin-right: 0;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  margin-top: 12px;

  background: var(--cookies-main-color);
  color: #fff;
  height: 46px;
  font-size: 14px;
  line-height: 1;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: 300ms;
}

.mda-cookies-consent__button:hover{
  background: var(--cookies-main-color);
  filter: brightness(90%);
}

.mda-cookies-consent__close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 24px;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
}

.mda-cookies-consent.loading .button {
  pointer-events: none;
}

.mda-cookies-consent__buttons {
  display: flex;
  flex-wrap: wrap;
}

.mda-cookies-consent__error-message {
  color: rgb(169, 45, 14);
  font-size: 14px;
  margin-top: 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 100ms ease-in-out;
}

.mda-cookies-consent__error-message.visible {
  max-height: 2em;
}

.mda-cookies-consent__consent-info {
  display: flex;
  flex-flow: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  background: #f7f7f7;
  border-radius: 4px;
}

.mda-cookies-consent__consent-info-header {
  font-size: 14px;
  font-weight: 700;
}

.mda-cookies-consent__consent-info-text {
  font-size: 12px;
}

.mda-cookies-consent__consent-info-accordion-header {
  width: 100%;
  padding: 8px 0;
  margin-top: 14px;
  text-align: left;
  text-decoration: underline;
  color: #5f5f5f;
  font-weight: 400;
  font-size: 12px;
  cursor: pointer;
  transition: 300ms;
}

.mda-cookies-consent__consent-info-accordion-header:hover{
  filter: brightness(0.95);
}

.cookies-accordion {
  margin-bottom: 24px;
  border-bottom: 1px solid #e3e5ee;
}

.cookies-accordion__header {
  font-size: 14px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  padding: 16px 24px;
  border-top: 1px solid #e3e5ee;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.cookies-accordion__header--full-width {
  padding: 16px 0;
}

.cookies-accordion__header-icon {
  width: 18px;
  height: auto;
  transition: 300ms;
}

.cookies-accordion__header[aria-expanded="true"]
  .cookies-accordion__header-icon {
  transform: rotate(-180deg);
}

.cookies-accordion__switcher {
  padding: 8px 24px 16px;
  display: flex;
}

.cookies-accordion__switcher-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: #5f5f5f;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.cookies-accordion__switcher-text p a {
  color: #898989;
}

.cookies-accordion__switcher-text a {
  color: #898989;
  transition: 300ms;
}

@media (max-width: 767px) {
  .mda-cookies-consent .button {
    font-size: 12px;
    height: 36px;
  }

  .mda-cookies-consent__content {
    max-width: calc(100% - (20px + 2 * 12px));
    left: 10px;
    bottom: 10px;
    padding: 32px 12px 0px;
  }
}

/* checkbox */

.cookie__checkbox-wrapper .cookie__checkbox {
  appearance: none;
  background-color: #dfe1e4;
  border-radius: 72px;
  border-style: none;
  flex-shrink: 0;
  height: 20px;
  margin: 0;
  position: relative;
  width: 30px;
  cursor: pointer;
}

.cookie__checkbox-wrapper .cookie__checkbox,
.cookie__checkbox-wrapper .cookie__checkbox::after {
  transition: all 100ms ease-out;
}

.cookie__checkbox-wrapper .cookie__checkbox::after {
  background-color: #fff;
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 14px;
}

.cookie__checkbox-wrapper input[type="checkbox"] {
  cursor: default;
}

.cookie__checkbox-wrapper .cookie__checkbox:hover {
  background-color: #c9cbcd;
  transition-duration: 100ms;
}

.cookie__checkbox-wrapper .cookie__checkbox:checked[disabled] {
  filter: opacity(.6);
  cursor: inherit;
}

.cookie__checkbox-wrapper .cookie__checkbox:checked {
  background-color: var(--cookies-main-color);
}

.cookie__checkbox-wrapper .cookie__checkbox:checked::after {
  background-color: #fff;
  left: 13px;
}

.cookie__checkbox-wrapper .cookie__checkbox:checked::before {
  display: none;
}

.cookie__checkbox-wrapper :focus:not(.focus-visible) {
  outline: 0;
}

.cookie__checkbox-wrapper .cookie__checkbox:checked:not([disabled]):hover {
  background-color: var(--cookies-main-color);
  filter: brightness(95%);
}

.floating-button {
  position: fixed;
  bottom: 28px;
  left: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--cookies-main-color);
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 30px;
  line-height: 130%;
  cursor: pointer;
  z-index: 11111;
}

.floating-button.-hide{
  display: none;
}

.floating-button__icon {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  .floating-button {
    bottom: 96px;
    left: 28px;
  }
}