/**
 * Mixin for fluid type.
 * Example usage: @include fluid-type(font-size, 320px, 1600px, 32px, 80px);
 */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.hy-checkbox {
  display: inline-block;
  position: relative;
  margin-right: 1rem;
}
.hy-checkbox:focus-within {
  -webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
  box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
  outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
  outline-offset: calc(var(--ds-borderWidth-thin) * 1);
}
.hy-checkbox__checkmark {
  border-color: var(--link-blue);
  border-style: solid inset solid solid;
  border-width: 2px;
  height: 20px;
  margin-right: 6px;
  min-width: 20px;
  min-height: 20px;
  position: relative;
  width: 20px;
}
.hy-checkbox__checkmark svg {
  bottom: 0;
  left: 0;
  position: absolute;
  visibility: hidden;
}
.hy-checkbox__checkmark::before {
  background-color: var(--grayscale-white);
  content: "";
  height: 10px;
  position: absolute;
  right: 0;
  -webkit-transform: rotate(40deg) translate(6%, -55%);
  transform: rotate(40deg) translate(6%, -55%);
  visibility: hidden;
  width: 8px;
}
.hy-checkbox__label {
  font-size: 0.875rem;
  line-height: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--grayscale-black);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-family: var(--main-font-family);
  letter-spacing: -0.4px;
  text-align: left;
}
@media (min-width: 30rem) {
  .hy-checkbox__label {
    font-size: 1rem;
    line-height: 20px;
  }
}
.hy-checkbox__checkbox {
  height: 100%;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 10;
}
.hy-checkbox__checkbox:checked + label {
  color: var(--grayscale-black);
}
.hy-checkbox__checkbox:checked + label .hy-checkbox__checkmark svg, .hy-checkbox__checkbox:checked + label .hy-checkbox__checkmark::before {
  visibility: visible;
}
.hy-checkbox__checkbox:hover {
  cursor: pointer;
}
.hy-checkbox__checkbox:hover + label {
  color: var(--brand-main);
}
.hy-checkbox--button {
  display: inline-block;
  margin-right: 4px;
  position: relative;
}
.hy-checkbox--button:focus-within {
  -webkit-box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
  box-shadow: 0 0 0 var(--ds-borderWidth-thin) var(--ds-borderColor-white);
  outline: var(--ds-borderWidth-thin) solid var(--ds-borderColor-black);
  outline-offset: calc(var(--ds-borderWidth-thin) * 1);
}
.hy-checkbox--button__label {
  font-size: 0.75rem;
  line-height: 14px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 0.5px solid var(--grayscale-medium-dark);
  color: var(--link-blue);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-family: var(--main-font-family);
  font-weight: 600;
  letter-spacing: -0.3px;
  padding: 12px 15px 12px 13px;
  z-index: 1;
}
@media (min-width: 60rem) {
  .hy-checkbox--button__label {
    font-size: 0.875rem;
    line-height: 18px;
    letter-spacing: -0.4px;
    padding: 9px 8px 9px 8px;
  }
}
.hy-checkbox--button__checkmark {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
}
@media (min-width: 60rem) {
  .hy-checkbox--button__checkmark {
    right: 10px;
    bottom: calc(50% + 10px);
  }
}
.hy-checkbox--button__checkmark svg {
  bottom: 0;
  left: 0;
  position: absolute;
  visibility: hidden;
}
.hy-checkbox--button__label-icon {
  height: 13px;
  position: absolute;
  width: 12px;
}
@media (min-width: 60rem) {
  .hy-checkbox--button__label-icon {
    padding: 10px;
    right: -6px;
    top: calc(50% + 5px);
  }
}
.hy-checkbox--button__label-icon svg {
  background: var(--grayscale-white);
  height: 12px;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 12px;
}
.hy-checkbox--button__checkbox {
  height: 100%;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 10;
}
.hy-checkbox--button__checkbox:checked + label {
  border: 1px solid var(--grayscale-black);
  color: var(--grayscale-black);
  padding: 12px 15px 12px 13px;
}
@media (min-width: 60rem) {
  .hy-checkbox--button__checkbox:checked + label {
    border: 2px solid var(--grayscale-black);
    padding: 8px 26px 8px 7px;
  }
}
.hy-checkbox--button__checkbox:checked + label .hy-checkbox--button__checkmark .hy-checkbox--button__label-icon {
  background: var(--grayscale-white);
}
.hy-checkbox--button__checkbox:checked + label .hy-checkbox--button__checkmark svg {
  visibility: visible;
}
.hy-checkbox--button__checkbox:hover {
  cursor: pointer;
}