﻿/* Copyright 2018-2024 Epic Systems Corporation */
.chipContainer {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
  white-space: nowrap;
  max-width: none;
  margin-left: 0;
  transition: margin-left 0.75s ease;
  width: calc(100% + 2.6rem);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chipContainer.defaultMargin {
  transition: none;
}
@media screen and (max-width: 768px) {
  .chipContainer {
    width: 100vw;
  }
  .chipContainer.easeCarousel {
    margin-left: -0.75rem;
  }
  .chipContainer.defaultMargin {
    margin-left: -0.8rem;
  }
}
.chipContainer::-webkit-scrollbar {
  display: none;
  width: 0px;
  background: transparent;
}
@media not all and (pointer: fine) {
  .chipContainer {
    display: inline-block;
  }
}

.chip {
  background-color: white;
  border-radius: 15vw;
  box-shadow: 0 3px 3px -1px rgba(0, 0, 0, 0.4);
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
  height: 2.4rem;
  margin: 0.3rem 0 0.5rem 0.7rem;
  top: 0.3rem;
  width: auto;
  vertical-align: bottom;
  z-index: 1;
}
.chip:first-child {
  margin-left: 0.8rem;
}
.chip:last-child {
  margin-right: 2rem;
}
.chip:focus-within {
  box-shadow: 0 0 0 2px #000000 !important;
}
.hasInvalidZipCode .chip:focus-within.hasInput {
  box-shadow: 0px 0px 0px 2px #d75e56 !important;
}
.chip:focus-within .legacyLabelledField input::placeholder {
  opacity: 0;
}
.chip.selected {
  background-color: #bfe1ff;
  box-shadow: 0px 0px 0px 2px #e56b79;
}
.hasInvalidZipCode .chip.selected {
  box-shadow: 0px 0px 0px 2px #d75e56;
}
.chip.hasInput input[type=button] {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: none;
  opacity: 1;
  background-image: url("../images/scheduling/geolocation/zip_search_button.svg");
  background-color: #e56b79;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 1.3rem;
  transform: rotate(180deg);
  margin: 0 0.7rem 0 0;
}
.chip * {
  cursor: inherit;
}
.chip input[type=radio] {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
}
.chip .legacyLabelledField {
  height: 2rem;
  margin: 0 0 0 0.7rem;
  width: 9rem;
}
.chip .legacyLabelledField input {
  cursor: text;
  height: 2rem;
  width: 100%;
  top: 0;
  position: absolute;
}
.chip .legacyLabelledField input::placeholder {
  opacity: 1;
}
.chip .legacyLabelledField label.zipInputLabel {
  padding-top: 0;
  margin-bottom: 0.2rem;
  overflow-x: hidden;
}
.chip .chipIcon {
  margin-left: 0.2rem;
  background-size: 80%;
  background-repeat: no-repeat;
  background-position: 50% 30%;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
}
.chip label.chipLabel {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 0 2rem 0 1rem;
  color: inherit;
  max-width: calc(100% - 3.5rem);
  overflow: hidden;
  pointer-events: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .chip .ghostInput input {
    padding-top: 0.5rem;
  }
}
