@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

.slmr--InputError {
  border: border-_-states-error;
}

.puft--InputError {
  border: border-_-states-error;
}

a {
  @apply text-sky-700;
  transition: var(--transition);
}

a:hover {
  color: var(--cta-links);
}

/* banner hovers */
#AmericanFreightLogo,
#Hero--cmpt a:hover,
.cms-pack-zone a:hover,
#SubscribeAndSave--cmpt a:hover,
#FinancingBanner--cmpt a:hover,
#SubscribeAndSave--cmpt a:hover,
.marketing--banner a:hover {
  opacity: 100;
}

.SkuTypeToggles a:hover {
  opacity: 100;
  z-index: 9999;
}

.ContainerCheckBox {
  display: block;
  position: relative;
  padding-left: 27px;
  cursor: pointer;
  font-size: 1.125rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.ContainerCheckBox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 8px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #fff;
  border-radius: 3px;
}

/* On mouse-over, add a grey background color */
.ContainerCheckBox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.ContainerCheckBox input:checked ~ .checkmark {
  background-color: #2c2c2c;
  border-color: #000 !important;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.ContainerCheckBox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.ContainerCheckBox .checkmark:after {
  left: 0.375rem;
  top: 0.175rem;
  width: 0.3125rem;
  height: 0.625rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

a:focus,
button:focus,
button:active {
  border: 1px dashed black !important;
  opacity: 0.8;
}

.rtl {
  direction: rtl;
}

.content p {
  @apply my-6;
}

.content ul {
  @apply my-6;
}

::-webkit-scrollbar {
  /* display: none; */
}

/* Loading Helpers */
.af--placeholder > * {
  opacity: 0;
}

/* Tooltip hover helpers */
#MatrixOptionSizeListing--cmpt a:hover {
  opacity: 1 !important;
}
