/*!
* Airship Styles · CARTO · https://carto.com
* 2020-08-31T12:27:53.567Z
*/
.as-checkbox {
  --as--checkbox--background--disabled: var(--as--color--ui-02, #F5F5F5);
  --as--checkbox--background--error: var(--as--color--error-alpha, #F3522B1F);
  --as--checkbox--border-color--focus: var(--as--color--primary, #1785FB);
  --as--checkbox--border-color--hover: var(--as--color--complementary, #47DB99);
  --as--checkbox--border-color: var(--as--color--ui-03, #E2E6E3);
  --as--checkbox--color--checked: var(--as--color--primary, #1785FB);
  --as--checkbox--color--disabled: var(--as--color--ui-03, #E2E6E3);
  --as--checkbox--color--error--disabled: var(--as--color--error-alpha, #F3522B1F);
  --as--checkbox--color--error: var(--as--color--error, #F3522B);
  display: flex;
  position: relative;
  align-items: center;
  margin-bottom: 8px;
  transition: all 0.3s;
}
.as-checkbox .as-checkbox-decoration {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
  overflow: hidden;
  border: 1px solid var(--as--checkbox--border-color);
  border-radius: 3px;
  pointer-events: none;
}
.as-checkbox .as-checkbox-check {
  transform-origin: 50% 50%;
  stroke-width: 2;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}
.as-checkbox .as-checkbox-media {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateX(1.5px) translateY(2.5px);
  fill: none;
}
.as-checkbox .as-checkbox-input {
  -webkit-appearance: none;
  position: absolute;
  appearance: none;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 3px;
  outline: none;
  background: none;
  cursor: pointer;
}
.as-checkbox .as-checkbox-input:disabled {
  background: var(--as--checkbox--background--disabled);
  cursor: not-allowed;
  pointer-events: none;
}
.as-checkbox .as-checkbox-input:focus:not(:hover) {
  border: 2px solid var(--as--checkbox--border-color--focus);
}
.as-checkbox .as-checkbox-input:focus.as-checkbox-input--error {
  border: 2px solid var(--as--checkbox--color--error);
}
.as-checkbox .as-checkbox-input--error + .as-checkbox-decoration {
  border-color: var(--as--checkbox--color--error);
  stroke: var(--as--checkbox--color--error);
  background: var(--as--checkbox--background--error);
}
.as-checkbox .as-checkbox-input:checked + .as-checkbox-decoration::before {
  content: "";
  display: block;
  position: absolute;
  top: calc(50% - 8px);
  left: calc(50% - 8px);
  width: 16px;
  height: 16px;
  animation: radioIn 300ms;
  border-radius: 3px;
  opacity: 1;
  animation-fill-mode: forwards;
}
.as-checkbox .as-checkbox-input:checked + .as-checkbox-decoration .as-checkbox-check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 300ms forwards;
  animation-delay: -20ms;
}
.as-checkbox .as-checkbox-input:checked:not(.as-checkbox-input--error) + .as-checkbox-decoration {
  border: 1px solid var(--as--checkbox--color--checked);
  stroke: var(--as--checkbox--color--checked);
}
.as-checkbox .as-checkbox-input:disabled:checked + {
  background: var(--as--color--ui-02);
  cursor: not-allowed;
  pointer-events: none;
}
.as-checkbox .as-checkbox-input:disabled:checked + .as-checkbox-decoration {
  border-color: var(--as--checkbox--color--disabled);
  stroke: var(--as--checkbox--color--disabled);
}
.as-checkbox .as-checkbox-input:enabled:not(:checked):not(.as-checkbox-input--error):hover + .as-checkbox-decoration {
  border: 1px solid var(--as--checkbox--border-color--hover);
}
.as-checkbox label {
  margin-left: 8px;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes radioIn {
  from {
    transform: scale3d(0.3, 0.3, 0.3);
    transform-origin: 50% 50%;
    opacity: 0;
  }
  to {
    transform: scale3d(1, 1, 1);
    opacity: 1;
  }
}

/*# sourceMappingURL=checkbox.css.map */
