/*-------------------
This theme uses Bootstrap v5.1.

It is highly recommended to check out Bootstrap's guiding principles,
strategies, and techniques at https://getbootstrap.com/docs/5.1/extend/approach/
before adding custom styling.

To learn more about Bootstrap v5.1, please check
out https://getbootstrap.com/docs/5.1/getting-started/introduction/.
/*-------------------*/

/*-------------------*/
/* GENERAL */
/*-------------------*/

/*-------------------*/
/* TOP NAV */
/*-------------------*/

/*-------------------*/
/* HEADER */
/*-------------------*/

/*-------------------*/
/* CATEGORY NAV */
/*-------------------*/

/*-------------------*/
/* CONTENT */
/*-------------------*/

/*-------------------*/
/* DEPARTMENTS - By Departments page */
/*-------------------*/
.by-department-container {
  padding: 0 0 15px;
  margin: 70px 0 0;
}
.by-department-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  align-items: center;
  gap: 15px;
}
.by-department-inner .box {
  width: calc((100% - 45px) / 4);
  text-align: center;
  align-items: start;
  display: flex;
  margin-bottom: 10px;
  flex-direction: column;
}
.by-department-inner a {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 50px 15px;
  border-radius: 12px;
  overflow: hidden;
}
.by-department-inner img {
  max-width: 100%;
  max-height: 64px;
}
.by-department-inner span {
  z-index: 1;
  font-size: 20px;
  color: #000;
  font-weight: bold;
  padding: 10px 0;
  background-color: #FFF;
  width: 100%;
  text-align: left;
}


.by-department-container-dropdown {
  display: none;
  max-width: 84%;
  margin: auto;
  margin-bottom: 40px;
}
.by-department-container-dropdown h3 {
  margin-bottom: 40px;
}
#departmentSelect {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}
#goToDepartment {
  padding: 15px 10px;
  border-radius: 10px;
  border: none;
  font-size: 22px;
  font-weight: bold;
}
/*-------------------*/
/* SLIDESHOW */
/*-------------------*/
.homepage-carousel-container {
  position: relative;
}
.carousel-custom-div {
  position: absolute;
  z-index: 1;
  top: 60px;
  left: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  transform: translateX(-50%);
  padding: 0 32px;
}
.carousel-category-links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}
.carousel-category-link {
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 3px solid #0059a2;
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
  background: #fff;
}
.carousel-category-link-mobile {
  width: 90%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  background: #0059a2;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.3;
  padding: 20px 40px;
  font-size: 32px;
  border-radius: 14px;
}
.carousel-category-link:hover {
  color: #0059a2;
}
.carousel-category-link img {
  width: 100%;
  height: auto;
  max-width: 90px;
}
.carousel-category-links-mobile {
  display: none;
}
.carousel-category-link-mobile img {
  width: auto;
  height: 100%;
  max-height: 70px;
}
.carousel-custom-logo img {
  max-width: 95%;
}

/*-------------------*/
/* PRODUCT THUMBS */
/*-------------------*/

/*-------------------*/
/* PRODUCT */
/*-------------------*/
.virtual-logo-container button, div.view-logos div.view-logo-dialog-content div.logo-images.logos {
  background: #727b84;
}

/*-------------------*/
/* CART/CHECKOUT */
/*-------------------*/
.cart-item .img-thumbnail {
  background: #727b84;
}

/*-------------------*/
/* FOOTER */
/*-------------------*/


/*-------------------*/
/* MEDIA QUERIES */
/*-------------------*/
@media screen and (min-width: 661px){

}

@media screen and (max-width: 1400px){
  .carousel-custom-div {
    top: 40px;
    gap: 30px;
  }
  .carousel-custom-logo img {
    max-width: 80%;
  }
  .carousel-category-link {
    width: 140px;
    height: 140px;
  }
  .carousel-category-link img {
    max-width: 50px;
  }
}

@media screen and (max-width: 1000px){
  .carousel-category-links {
    gap: 20px;
  }
  .carousel-custom-div {
    top: 20px;
    padding: 0 20px;
    max-width: unset;
    gap: 20px;
  }
  .carousel-custom-logo img {
    max-width: 65%;
  }
  .carousel-category-link {
    width: 120px;
    height: 120px;
    font-size: 14px;
  }
  .carousel-category-link img {
    max-width: 50px;
  }
  .footer-container {
    display: none;
  }
}
@media screen and (max-width: 991.99px){
  .by-department-inner .box {
    width: calc((100% - 30px) / 3);
  }
  .by-department-inner img {
    max-height: 54px;
  }
}
@media screen and (max-width: 840px){
  .carousel-custom-div {
    position: relative;
  }
  .carousel-category-links {
    display: none;
  }
  .carousel-category-links-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 24px;
    margin: 24px auto;
  }
  .carousel-custom-logo {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
  }
}
@media screen and (max-width: 767px){
  .by-department-inner img {
    max-height: 54px;
  }
  .by-department-inner .box {
    width: calc((100% - 15px) / 2);
  }
}
@media screen and (max-width: 480px){
  .carousel-category-link-mobile {
    height: 80px;
    gap: 16px;
    padding: 20px;
    font-size: 24px;
  }
  .by-department-container-dropdown {
    display: block;
  }
  .by-department-container {
    display: none;
  }
}

@media screen and (max-width: 340px){

}