:root {
  --cc-background-color: white;
  --cc-border-color: #ededed;
  --cc-shadow: 0 0.625em 1.875em rgb(2 2 3 / 30%);
  --cc-btn-primary-color: #253b48;
  --cc-btn-primary-hover-color: #1d2e38;
  --cc-btn-secondary-color: #e5ebef;
  --cc-btn-secondary-hover-color: #d8e0e6;
  --cc-toggle-on-background: #253b48;
  --cc-toggle-off-background: #919ea6;
  --cc-toggle-disabled-background: #d5dee2;
  --cc-toggle-knob-color: white;
  --cc-modal-background-color: rgb(0 0 0 / 80%);
}
.cc-modal *,
.cc-modal ::after,
.cc-modal ::before {
  box-sizing: border-box;
  float: none;
  font-style: inherit;
  font-variant: normal;
  font-weight: inherit;
  font-family: inherit;
  line-height: inherit;
  font-size: inherit;
  transition: none;
  animation: none;
  margin: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
  background: 0 0;
  border: none;
  box-shadow: none;
  text-decoration: none;
  text-align: left;
  visibility: unset;
  content: none;
  overflow: unset;
  display: unset;
  position: unset;
}
.cc-modal-title {
  display: block;
  margin: 0 0 12px;
  font-weight: 600;
}
.cc-modal-text {
  display: block;
}
.cc-modal-link {
  color: var(--cc-btn-primary-color);
  border-bottom: 1px solid var(--cc-btn-primary-color);
  display: inline;
  padding-bottom: 0;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  appearance: none;
}
.cc-modal-link:hover {
  border-bottom: none;
}
.cc-modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.cc-modal-button {
  width: 100%;
  max-width: 180px;
  padding: 12px 0;
  color: var(--cc-btn-primary-color);
  background: var(--cc-btn-secondary-color);
  cursor: pointer;
  font-size: 0.9em;
  user-select: none;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.25s ease !important;
  font-weight: 600;
  appearance: none;
}
.cc-modal-button:hover {
  background: var(--cc-btn-secondary-hover-color);
}
.cc-modal-buttons button:last-child {
  color: var(--cc-btn-secondary-color);
  background: var(--cc-btn-primary-color);
}
.cc-modal-buttons button:last-child:hover {
  background: var(--cc-btn-primary-hover-color);
}
#cc-modal-save-prefs {
  display: none;
}
.cc-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000001;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  overflow: auto;
  background-color: var(--cc-modal-background-color);
  transition:
    visibility 0.25s linear,
    opacity 0.25s ease,
    transform 0.25s ease;
}
.cc-modal.is-open {
  display: flex;
  animation: cc-backdrop-fade 0.25s ease-out forwards;
}
.cc-modal-window {
  position: fixed;
  top: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width: 600px;
  max-height: 600px;
  padding: 20px 0;
  background-color: var(--cc-background-color);
  border: 1px solid var(--cc-border-color);
  border-radius: 0 0 5px 5px;
  box-shadow: var(--cc-shadow);
}
.cc-modal.is-open .cc-modal-window {
  animation: cc-modal-slide-down 0.25s ease-out forwards;
}
@keyframes cc-backdrop-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes cc-modal-slide-down {
  from {
    transform: translate(-50%, -600px);
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
.cc-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 35px 20px;
  border-bottom: 1px solid var(--cc-border-color);
}
.cc-modal-body-category-title .cc-modal-title,
.cc-modal-header .cc-modal-title {
  margin: 0;
}
#cc-modal-body-categorys {
  display: none;
}
.cc-modal-body {
  display: block;
  height: 100%;
  width: 100%;
  padding: 20px 35px;
  overflow: hidden overlay;
}
.cc-modal-body-category {
  display: block;
  margin: 25px 0 10px;
  border-radius: 5px;
  padding: 0;
  background: var(--cc-btn-secondary-color);
  transition: none;
}
.cc-modal-body-category:hover {
  background: var(--cc-btn-secondary-hover-color);
}
.cc-modal-body-category .cc-modal-title {
  font-weight: 500;
}
.cc-modal-body-category-panel {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cc-modal-body-category-title {
  display: block;
  width: auto;
  cursor: pointer;
  padding: 18px 5px 18px 40px;
  border-radius: 5px;
  transition: background-color 0.25s ease;
  appearance: none;
}
.cc-modal-body-category-title::before {
  content: "";
  display: inline-block;
  padding: 3px;
  margin-right: 15px;
  position: absolute;
  left: 18px;
  top: 46%;
  border: solid var(--cc-btn-primary-color);
  border-width: 0 2px 2px 0;
  transform: translateY(-50%) rotate(45deg);
}
.cc-modal-body-category.active .cc-modal-body-category-title::before {
  transform: translateY(-20%) rotate(225deg);
}
.cc-modal-checkbox,
.cc-modal-checkbox * {
  width: 50px;
  height: 25px;
  border-radius: 56px;
}
.cc-modal-checkbox {
  position: relative;
  display: inline-block;
  top: 0;
  bottom: 0;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  min-width: 50px;
  height: 25px;
  margin-right: 18px;
}
.cc-modal-checkbox-input {
  position: absolute;
  cursor: pointer;
  display: block;
  top: 0;
  left: 0;
  appearance: none;
}
.cc-modal-checkbox-input:disabled,
.cc-modal-checkbox-input:disabled ~ span,
.cc-modal-checkbox-input:disabled ~ span * {
  cursor: not-allowed;
}
.cc-modal-checkbox-content {
  position: absolute;
  overflow: hidden;
  background: var(--cc-toggle-off-background);
  transition: background-color 0.25s ease;
  pointer-events: none;
}
.cc-modal-checkbox-content::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 16px;
  height: 16px;
  border: none;
  box-sizing: content-box;
  background: var(--cc-toggle-knob-color);
  transition: transform 0.25s ease;
  border-radius: 100%;
  box-shadow: none;
}
.cc-modal-checkbox-input:checked ~ .cc-modal-checkbox-content::after {
  transform: translateX(24px);
}
.cc-modal-checkbox-input:checked ~ .cc-modal-checkbox-content {
  background: var(--cc-toggle-on-background);
}
.cc-modal-checkbox-input:disabled ~ .cc-modal-checkbox-content {
  background: var(--cc-toggle-disabled-background);
}
.cc-modal-checkbox-off-icon,
.cc-modal-checkbox-on-icon {
  height: 100%;
  width: 50%;
  position: absolute;
  right: 0;
  display: block;
  text-align: center;
  transition: opacity 0.25s ease;
}
.cc-modal-checkbox-on-icon {
  left: 0;
  opacity: 0;
}
.cc-modal-checkbox-input:checked ~ span .cc-modal-checkbox-on-icon {
  opacity: 1;
}
.cc-modal-checkbox-input:checked ~ span .cc-modal-checkbox-off-icon {
  opacity: 0;
}
.cc-modal-checkbox-on-icon::before {
  border: solid var(--cc-toggle-knob-color);
  border-width: 0 2px 2px 0;
  padding: 2px;
  display: inline-block;
  padding-bottom: 0.55em;
  content: "";
  margin: 0 auto;
  transform: rotate(45deg);
  margin-top: 5px;
  margin-left: 1px;
}
.cc-modal-checkbox-off-icon::after,
.cc-modal-checkbox-off-icon::before {
  right: 12px;
  top: 6px;
  content: " ";
  height: 13px;
  width: 2px;
  display: block;
  background: #cdd6dc;
  margin: 0 auto;
  position: absolute;
  transform-origin: center;
}
.cc-modal-checkbox-off-icon::before {
  transform: rotate(45deg);
}
.cc-modal-checkbox-off-icon::after {
  transform: rotate(-45deg);
}
.cc-modal-body-category-desc {
  display: none;
  max-height: 0;
}
.cc-modal-body-category.active .cc-modal-body-category-desc {
  display: block;
  max-height: 100%;
}
.cc-modal-body-category-desc .cc-modal-text {
  padding: 18px;
}
.cc-modal-footer {
  padding: 20px 35px 0;
  border-top: 1px solid var(--cc-border-color);
}
@media (width <= 688px) {
  .cc-modal-buttons {
    flex-direction: column;
  }
  .cc-modal-button {
    max-width: 100%;
  }
  .cc-modal-window {
    width: 90%;
    top: 50%;
    border-radius: 5px;
  }
  @keyframes cc-modal-slide-down {
    from {
      transform: translate(-50%, -600px);
    }
    to {
      transform: translate(-50%, -50%);
      opacity: 1;
    }
  }
}
