/* ReBoat presentation for the Klaro consent manager. */
.klaro.klaro-theme-reboat {
  --font-size: 18px;
  --klaro-primary-color: #003399;
  --klaro-link-color: #003399;
  --klaro-link-color-hover: #003399;
  --klaro-button-bg: transparent;
  --klaro-button-text-color: #1d1d1b;
  --klaro-button-border: 1px solid #1d1d1b;
  --klaro-button-border-radius: 45px;
  --klaro-button-padding: 10px 18px;
  --klaro-button-font-size: 16px;
  --klaro-button-font-weight: 400;
  --klaro-button-line-height: 22px;
  --klaro-button-bg-hover: #003399;
  --klaro-button-text-color-hover: #f8f8f8;
  --klaro-button-border-hover: 1px solid #003399;
  --klaro-button-focus-outline: none;
  --klaro-button-focus-outline-offset: 0;
  --klaro-button-focus-box-shadow: none;
  --klaro-slider-bg: #d9dee9;
  --klaro-slider-bg-active: #003399;
  --klaro-slider-bg-required: #003399;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-header,
.klaro.klaro-theme-reboat .cookie-notice .cn-body {
  line-height: 1.5;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-modal .cm-header .title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-title {
  font-size: 20px;
  line-height: 1.4;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-description {
  font-size: 18px;
  line-height: 1.5;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-btn,
.klaro.klaro-theme-reboat .cookie-notice .cm-btn {
  min-height: 44px;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-label .slider {
  box-sizing: border-box;
  border: 2px solid transparent;
  box-shadow: none;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-label .slider::before {
  top: 50%;
  bottom: auto;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: #f8f8f8;
  transform: translate(0, -50%);
  box-shadow: none;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-input:checked + .cm-list-label .slider::before {
  transform: translate(20px, -50%);
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-input:focus + .cm-list-label .slider {
  outline: none;
  box-shadow: none;
  border-color: #003399;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-list-input:checked:focus + .cm-list-label .slider {
  border-color: #1d1d1b;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-btn:focus,
.klaro.klaro-theme-reboat .cookie-notice .cm-btn:focus,
.klaro.klaro-theme-reboat .cookie-modal .cm-modal .hide:focus,
.klaro.klaro-theme-reboat .cookie-modal .cm-modal button.klaro-close:focus {
  outline: none;
  box-shadow: none;
  border-color: #003399;
}

.klaro.klaro-theme-reboat .cookie-modal a:focus,
.klaro.klaro-theme-reboat .cookie-notice a:focus {
  outline: none;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/*
 * Each service remains independently selectable. The global switch is
 * intentionally omitted because it does not explain what is being accepted.
 */
.klaro.klaro-theme-reboat .cookie-modal .cm-service.cm-toggle-all {
  display: none;
}

/* Accept all belongs to the notice; the detailed dialog saves selections. */
.klaro.klaro-theme-reboat .cookie-modal .cm-btn-accept-all {
  display: none;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-modal .hide,
.klaro.klaro-theme-reboat .cookie-modal .cm-modal button.klaro-close {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #1d1d1b;
  border-radius: 50%;
  background: transparent;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-modal .hide:hover,
.klaro.klaro-theme-reboat .cookie-modal .cm-modal button.klaro-close:hover {
  border-color: #003399;
  background: #003399;
  color: #f8f8f8;
}

.klaro.klaro-theme-reboat .cookie-modal .cm-modal .hide svg line,
.klaro.klaro-theme-reboat .cookie-modal .cm-modal button.klaro-close svg line {
  stroke: currentColor;
}

.klaro_toggle_dialog {
  width: 42px;
  height: 42px;
  border: 1px solid #003399;
  background-color: #f8f8f8;
  box-shadow: none;
}

@media only screen and (width <= 480px) {
  .klaro.klaro-theme-reboat {
    --klaro-button-padding: 10px 16px;
    --klaro-button-font-size: 15px;
  }

  .klaro.klaro-theme-reboat .cookie-modal .cm-header .title {
    width: calc(100% - 58px);
  }
}
