/* FACET WP */

input[type="text"].facetwp-search {
    border: 1px solid #aaa;
    padding: 8px 12px;
}
select.facetwp-dropdown {
    padding: 8px 12px;
    border-radius: 0;
    border: 1px solid #aaa;
}
header.entry-header h1.entry-title {
  display: none;
}
.facetwp-autocomplete.fcomplete-enabled, .facetwp-autocomplete-update {
  border:1px solid rgb(170, 170, 170); padding:6px 10px;
}

.facetwp-autocomplete-update {
  margin-left: 5px;
}

select.facetwp-dropdown {
  width: auto;
  max-width: 100%;
}

/* WORDPRESS OVERRIDES */

.image-list .wp-block-columns .wp-block-column > a {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  background-size: cover !important;
  min-height: 250px;
}
.image-list .wp-block-columns .wp-block-column > a ul {
  position: absolute;
  display: block;
  width: 100%;
  padding: 10px;
  background-color: rgba(0,0,0,0.8);
  color: #FFF;
  left: 0;
  bottom: 0;
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
}
.image-list .wp-block-columns .wp-block-column > a ul li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}
.image-list .wp-block-columns .wp-block-column > a ul li strong {
  font-weight: 500;
  color: #008269;
}
img.zoom.radius {
  float: right;
  margin-top: 10px;
  margin-right: 10px;
  background-color: rgba(0,0,0,0.6);
}

/* PRODUCT GALLERY / GLIGHTBOX OVERRIDES */

.glightbox-clean .gslide-title {
  color: white !important;
  margin-top: 19px;
}
.gslide-desc strong, .gslide-title strong {
  color: #008269;
  width: 100px;
}
.gdesc-inner { 
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.glightbox-clean .gnext.gbtn {
  top: 35% !important;
}
.gslide-description.description-bottom  {
  white-space: wrap;
  background-color: rgba(0, 0, 0, .7) !important;
  display: none;
  width: auto;
  bottom:0;
  position: absolute; 
  color: white;
}

@media screen and (max-width: 768px) {
  .glightbox-mobile .glightbox-container .gslide-description {
    overflow-x: hidden !important;
  }

  .glightbox-clean .gprev.gbtn,
  .glightbox-clean .gnext.gbtn {
    top: 45% !important;
  }
  .glightbox-mobile .glightbox-container .gslide-description {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }
  .gslide-description.description-bottom {
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 100%;
    width: 100%;
  }
  .gcontainer {
    padding-bottom: 20px;
  }
  .ginner-container.desc-bottom {
    padding-bottom: 20px;
  }
  .gdesc-inner {
    margin-left: -20px;
    padding-left: 30px !important;
    margin-right: -20px;
    padding-right: 30px !important;
  }
}

/* See https://staging.swensongranite.com/products/walkways-patios/ */
.ibf-store-and-warranty .wp-block-buttons {
  position: absolute;
  bottom: 20px;
}
.ibf-store-and-warranty div.wp-block-cover {
  padding: 40px;
  justify-content: flex-start;
  align-items: flex-start;
}
.ibf-store-and-warranty div.wp-block-cover p {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}
.ibf-store-and-warranty div.wp-block-cover a.wp-block-button__link {
  border: 1px solid #008269;
  color: #008269;
  background-color: transparent;
  text-decoration: none;
  transition: background-color .3s ease-in-out, color .3s ease-in-out;
}
.ibf-store-and-warranty div.wp-block-cover a.wp-block-button__link:hover,
.ibf-store-and-warranty div.wp-block-cover a.wp-block-button__link:focus {
  background-color: #008269;
  color: white;
  text-decoration: none;
}
.ibf-store-and-warranty div.wp-block-cover a.wp-block-button__link:after {
  content: "\00BB";
  margin-left: 10px;
}
.ibf-store-and-warranty div.wp-block-cover.has-white-background-color {
  border: 1px solid #008269;
} 

/*
 * THEME OVERRIDES
 */

