/* 06-18-25 */
div.main.loading::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: calc(50% - 1.5rem);
  left: calc(50% - 1.5rem);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, .2);
  border-top-color: var(--primary-brand-color);
  animation: loadSpinner .7s linear infinite;
}
.brand-top {
  display: grid;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
h1 {
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 30px;
}
.brand-top h1 {
  margin: 0;
  flex-grow: 1;
}
#fedex-main .brand-top h1 {
  display: none;
}
#sbb-main h2:not(#fedex-main #sbb-main h2) {
  text-transform: capitalize;
}
#itemListing div.main, div.main {
  padding: 30px 20px;
  background: #FFF;
  max-width: 980px;
  min-height: 460px;
}
#itemListing .listingRight {
  float: none;
  width: auto;
}
.brandsList {
  width: 100%;
  column-count: 4;
  column-gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.brandsList ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.125;
  margin-bottom: 8px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: .875rem;
  font-weight: normal;
}
li.sbb-index {
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 1rem;
  /* padding-bottom: .125rem; */
  /* border-bottom: 1px solid var(--rule-line-color); */
  break-after: avoid;
}
li.sbb-index:first-child {
  margin-top: 0;
}
.sbb-index ul {
  border-top: 1px solid var(--rule-line-color);
  margin: 0;
  padding: .625rem 0 0;
}
.totalBrands {
  margin-bottom: 30px;
}
.breadCrumbs, .listingLeft, form[name="compareSubmit"] {
  display: none;
}
@media only screen and (max-width : 800px) {
  .brandsList {
    column-count: 3;
  }
}
@media only screen and (max-width : 540px) {
  .brandsList {
    column-count: 2;
  }
}
@media only screen and (max-width : 350px) {
  .brandsList {
    column-count: 1;
  }
}
/*Tier One*/
.brandsTierOne, brandsTierOne li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.brandsTierOne {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.brandsTierOne li, .brandsTierTwo li {
  list-style: none;
  display: grid;
}
.brandsTierThree li {
  list-style: none;
}
.brandsTierOne a, .brandsTierTwo a, .brandsTierThree a {
  padding: 1% 2% calc(53% - 2%);
  position: relative;
  background: #f7f7f7;
  overflow: hidden;
  border-radius: 10px;
  display: grid;
  width: 100%;
  height: 100%;
}
/*.brandsTierOne img {
  display: block;
  width: 100%;
  border: none;
}*/
.brandsTierOne img, .brandsTierTwo img {
  object-fit: contain;
  height: calc(100% - 30%) !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 70%;
}
.brandsTierThree img {
  object-fit: contain;
  height: calc(100% - 30%) !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 70%;
}
.brandsTierOne a:focus-visible {
  outline-offset: -4px;
}
/*Tier Two Starts Here*/
.brandsTierTwo, brandsTierTwo li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.brandsTierTwo {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
/*Tier Three Starts Here*/
.brandsTierThree, brandsTierThree li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.brandsTierThree {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: .5rem;
}
.brandsTierThree li {
  list-style: none;
}
.brandsTierThree img {
  display: block;
  width: 100%;
  border: none;
}
/* type ahead search */
.search-tool {
  position: relative;
}
.search-tool-field {
  position: relative;
}
.search-tool-field button {
  appearance: none;
  color: inherit;
  border: none;
  background: transparent;
  position: absolute;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  top: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}
#page-search {
  width: 100%;
  margin: 0;
  padding-right: 2.5rem;
}
#page-search-results {
  position: absolute;
  z-index: 1;
  background: #FFF;
  width: 100%;
  border: 1px solid var(--input-border-color);
  border-radius: 6px;
  margin-top: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .15);
  overflow: hidden;
}
#brands-search {
  list-style: none;
  margin: 0;
  padding: 0;
  scroll-snap-type: y mandatory;
  overflow: auto;
  max-height: 17.5rem;
  scroll-behavior: smooth;
  scroll-padding: 0;
  scrollbar-width: thin;
}
#brands-search > li {
  font-size: 1em;
  padding: 0 1rem;
  border-bottom: 1px solid var(--input-border-color);
  animation: fadeIn 0.5s ease-in-out;
  display: none;
  scroll-snap-align: start;
  height: 2.5rem;
  align-items: center;
}
#brands-search > li a {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--body-txt-color);
  text-decoration: none;
}
/*#brands-search > li a:hover, #brands-search > li a:focus {
  background: #f5f5f5;
}*/
#brands-search > li:hover, #brands-search > li:focus, #brands-search > li[aria-selected] {
  background: #f5f5f5;
}
#brands-search > li.search-item {
  display: flex;
  cursor: pointer;
}
#brands-search > li:last-child {
  border-bottom: none;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media only screen and (max-width: 700px) {
  .brandsTierThree {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media only screen and (max-width: 570px) {
  .brand-top {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
  }
  .brandsTierThree, .brandsTierTwo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
}
