*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
}

:host {
  margin-right: 8px !important;
}

:host(:last-child),
:host(:last-of-type) {
  margin-right: 0 !important;
}

:host(.form-distribute:last-of-type:not(:last-child)) {
  margin-right: 8px !important;
}

:host {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  margin-bottom: 12px !important;
  display: inline-flex;
  width: 100%;
  vertical-align: bottom;
  -webkit-tap-highlight-color: transparent;
}

:host(:last-child:not(:only-child)) {
  margin-bottom: 0 !important;
}

:host(.duet-m-0) {
  margin: 0 !important;
}

.duet-label {
  position: relative;
  z-index: 100;
  display: inline;
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: top;
  color: rgb(8, 42, 77);
  cursor: pointer;
  background: transparent;
  transition: 300ms ease;
}
.duet-theme-turva .duet-label {
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: rgb(23, 28, 58);
}
.duet-label span {
  display: inline-block;
  width: calc(100% - 32px);
  font-size: 1rem;
  font-weight: 400;
  vertical-align: top;
}

.duet-checkbox-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.duet-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}
.duet-checkbox + label::before {
  z-index: 100;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 2px 10px 1px 1px;
  vertical-align: top;
  content: "";
  background: rgb(255, 255, 255);
  border: 1px solid rgb(8, 42, 77);
  border-radius: 4px;
}
.duet-theme-turva .duet-checkbox + label::before {
  border-color: rgb(23, 28, 58);
}
.duet-checkbox:checked + label::before {
  background: rgb(0, 119, 179);
  border: 1px solid rgb(0, 119, 179);
}
.duet-theme-turva .duet-checkbox:checked + label::before {
  background: rgb(23, 28, 58);
  border-color: rgb(23, 28, 58);
}
.duet-checkbox:focus + label::before {
  outline: 2px solid;
  outline-offset: 2px;
  outline-color: rgba(0, 119, 179, 0.8);
}
.duet-theme-turva .duet-checkbox:focus + label::before, .duet-checkbox:focus + label::before.duet-theme-turva, .duet-theme-turva2 .duet-checkbox:focus + label::before, .duet-checkbox:focus + label::before.duet-theme-turva2 {
  outline-color: rgba(53, 79, 101, 0.8);
}
.duet-theme-turva .duet-checkbox:focus + label::before {
  outline: 2px solid;
  outline-offset: 2px;
  outline-color: rgba(53, 79, 101, 0.8);
}
.duet-checkbox[aria-invalid=true] + label::before {
  background: #fdf4f6;
  border-color: rgb(214, 28, 82);
}
.duet-theme-turva .duet-checkbox[aria-invalid=true] + label::before {
  background: #fdf4f6;
  border-color: rgb(214, 28, 82);
}
.duet-checkbox + label {
  position: static;
}
.duet-checkbox:checked + label::after {
  position: absolute;
  top: 6px;
  left: 5px;
  z-index: 200;
  width: 12px;
  height: 12px;
  pointer-events: none;
  content: "";
  background: transparent url("data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E") no-repeat 0 0;
  background-size: 100% auto;
}
.duet-checkbox[disabled] {
  cursor: default;
}
.duet-checkbox[disabled] + label {
  color: rgb(98, 121, 138);
}
.duet-theme-turva .duet-checkbox[disabled] + label {
  color: rgb(143, 147, 158);
}
.duet-checkbox[disabled] + label::before {
  border-color: rgb(181, 198, 208);
}
.duet-theme-turva .duet-checkbox[disabled] + label::before {
  border-color: rgb(199, 202, 207);
}
.duet-checkbox[disabled]:checked + label::before {
  background: rgb(127, 150, 165);
  border: 1px solid rgb(127, 150, 165);
}
.duet-theme-turva .duet-checkbox[disabled]:checked + label::before {
  background: rgb(143, 147, 158);
  border-color: rgb(143, 147, 158);
}

.duet-after-label {
  position: relative;
  z-index: 3;
  padding-left: 31px;
  margin-top: 12px;
  cursor: default;
}

.duet-checkbox-error {
  position: relative;
  z-index: 3;
  padding-left: 31px;
  font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
  color: rgb(214, 28, 82);
  border-radius: 4px;
}
.duet-theme-turva .duet-checkbox-error {
  font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: rgb(214, 28, 82);
}

.duet-label-hidden .duet-label span,
.duet-label-hidden .duet-checkbox-error span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

:host(.duet-theme-turva2) .duet-theme-turva .duet-label {
  color: rgb(23, 42, 59);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-checkbox + label::before {
  border-color: rgb(23, 42, 59);
}
:host(.duet-theme-turva2) .duet-theme-turva .duet-checkbox:checked + label::before {
  background: rgb(23, 42, 59);
  border-color: rgb(23, 42, 59);
}