﻿/* Main Product Grid Mods */

@media (max-width: 600px) {
  .woocommerce-orderby-wrapper .woocommerce-ordering select {
    height: 36px;
  }
}

.woocommerce .product .subtitle,
.woocommerce .product .woocommerce-loop-product__subtitle {
  padding-top: 0;
  color: #696969;
  font-size: 18px;
}

.woocommerce .product .summary .subtitle {
  font-size: 20px;
}

/* -- Product Page Mods -- */

.w-tabs .w-tabs-section-header > h3 {
  font-size: 36px;
}

@media (max-width: 600px) {
  .w-tabs .w-tabs-section-header > h3 {
    font-size: 30px;
  }
}

.w-tabs.accordion.title_center .w-tabs-section-control {
  position: absolute;
  margin: -1rem 0 0 !important;
}

.w-tabs.accordion .w-tabs-section {
  border-style: solid;
  border-width: 1px 0 0 0;
  border-color: #ebebeb !important;
}

.l-section.for_shop .l-section-h {
  padding: 3rem 0;
}

.l-section.product-page-top-wrapper {
  padding-left: 0;
  padding-right: 0;
}

.breadcrumbs,
.breadcrumbs span a {
  font-size: 14px !important;
}

.woocommerce .related,
.woocommerce .upsells,
.woocommerce .cross-sells {
  border-top: 0px !important;
}

.woocommerce .related > h2,
.woocommerce .upsells > h2,
.woocommerce .cross-sells > h2 {
  display: none;
}

.woocommerce div.product .images,
.woocommerce div.product .summary {
  width: 100% !important;
  margin-bottom: 0 !important;
  float: none !important;
}

.product-summary-meta {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: wrap;
  align-items: flex-start;
  position: relative;
}
.product-meta-item {
  margin-right: 1.2rem;
  font-size: 0.9rem;
}

.product-meta-item p { margin-bottom: 0px !important; }

.related-products-title {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.related-products-title h3 {
  margin: 0;
  padding: 0 .8em 0 0;
  line-height: 1em;
  word-wrap: break-word;
  flex: 0 1 auto;
}

.title-sep {
  min-width: 10%;
  height: 1px;
  position: relative;
  flex: 1 1 auto;
}

.title-sep-line {
  width: 100%;
  height: 1px;
  border-top: 1px solid #ececec;
  position: relative;
  top: 1px;
  display: block;
}

/* -- FacetWP Mods -- */

.facetwp-pager {
  width: auto;
  line-height: 40px;
  display: inline-block;
  float: left;
}

@media (max-width: 767px) {
  .facetwp-pager {
    margin: 0 auto 1.5rem;
    text-align: center;
    float: none;
    display: table;
  }
}

/* -- Product Installs Gallery -- */

.woocommerce-product-gallery__wrapper img { width: 100%; }

.woocommerce .product_meta { margin-bottom: 20px; }
.woocommerce .product_meta .sku_wrapper { font-weight: 700; }
.woocommerce .product_meta .sku_wrapper .sku { font-weight: 400; }

#content-product-showcase-gallery {
	padding: 0 0.25rem !important;
}

#content-product-showcase-gallery .w-grid-list {
	margin: 0 !important;
}

.install-photo-gallery .owl-carousel .owl-nav .owl-prev span,
.install-photo-gallery .owl-carousel .owl-nav .owl-next span,
.install-photo-gallery .owl-carousel .owl-nav .owl-prev:before,
.install-photo-gallery .owl-carousel .owl-nav .owl-next:before {
  display: none;
}

.install-photo-gallery .owl-carousel > .owl-nav .owl-prev,
.install-photo-gallery .owl-carousel > .owl-nav .owl-next {
  background-color: rgba(0,0,0,0.4);
  width: 4rem;
  height: 4rem;
  color: #ffffff;
  line-height: 4rem;
  text-align: center;
  position: absolute;
  top: 50%;
  text-shadow: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 9999999;
}

.install-photo-gallery .owl-carousel .owl-nav .owl-prev { left: -4.5rem; }
.install-photo-gallery .owl-carousel .owl-nav .owl-next { right: -4.5rem; }

.install-photo-gallery .owl-carousel:hover .owl-nav .owl-prev { left: -0.5rem; }
.install-photo-gallery .owl-carousel:hover .owl-nav .owl-next { right: -0.5rem; }

.install-photo-gallery .owl-carousel .owl-nav .owl-prev:hover,
.install-photo-gallery .owl-carousel .owl-nav .owl-next:hover {
  background-color: rgba(0,0,0,0.8);
  cursor: pointer;
}

/* -- Product Grid -- */

.products.columns-4 .product-h,
.also-see-tab-content .products.columns-4 .product .woocommerce-LoopProduct-link,
.products.columns-3 .product .woocommerce-LoopProduct-link {
  padding: 0.8rem 0.8rem 1.2rem;
  text-align: center;
  border: 1px solid #eeeeee;
  box-shadow: 0 1px 1px 0 rgb(0 0 0 / 5%), 0 1px 3px 0 rgb(0 0 0 / 25%);
  transition: box-shadow 0.3s;
}

.products.columns-4 .product:hover .product-h,
.also-see-tab-content .products.columns-4 .product:hover .woocommerce-LoopProduct-link,
.products.columns-3 .product:hover .woocommerce-LoopProduct-link {
  box-shadow: 0 2px 3px rgb(0 0 0 / 10%), 0 4px 8px rgb(0 0 0 / 30%);
}

.product-h .post-meta {
  min-height: 40px;
}

.l-section.for_shop .l-section-h {
  padding: 1.4rem 0 !important;
}

@media (max-width: 480px) {
  body.woocommerce .products.columns-3>.product {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

/* -- Product Invetory -- */

.invt-filter-wrapper {
  padding: 0 0 3rem;
}

.invt-filter-wrapper label {
  margin-bottom: 0.8rem;
  font-weight: 400;
  display: block;
}

.invt-filter-wrapper input[type="text"] {
  background: #ffffff;
  border: 1px solid #ececec;
  box-shadow: none !important;
  border-radius: 0px !important;
}

.invt-filter-wrapper input[type="text"]:focus {
  border-color: #000000;
}

/* -- Responsive Tables -- */

.responsive-table {
  overflow-x: auto;
  min-height: 0.01%;
  margin-bottom: 30px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #000000;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-top: 0px;
  text-indent: 0px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 200;
  display: table;
}

.table td ul li {
  text-align: left;
}

.table > thead > tr > th {
    border-color: #000000 !important;
    vertical-align: bottom;
}

th {
  background-color: #000000;
  width: 25%;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  font-weight: 200;
  text-align: center !important;
  text-transform: uppercase;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
}

tr {
  display: table-row;
  vertical-align: inherit;
}

td {
  width: 25%;
  display: table-cell;
  color: #000000;
  text-align: center;
  border: 1px solid;
  border-color: #000000 !important;
  border-collapse: collapse;
}

td.t-upper {
  text-transform: uppercase;
}

.t-upperinventory {
  text-transform: uppercase;
  background-color: rgb(167, 167, 167) !important;
}

td:nth-child(even) {
  background-color: #f3f3f3;
}

tbody td {
  padding: 1rem;
  line-height: 1.2;
  vertical-align: middle;
}

.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    border-top: 0 none;
}

.table > thead > tr > th, .table > tbody > tr > th,
.table > tfoot > tr > th, .table > thead > tr > td,
.table > tbody > tr > td, .table > tfoot > tr > td {
    border-top: 1px solid #000000;
    line-height: 1.42857;
    padding: 8px;
    vertical-align: top;
}

.bordered-table {
  border: 1px solid #e0e0e0;
}
.bordered-table > thead > tr > th,
.bordered-table > thead > tr > td,
.bordered-table > tbody > tr > th,
.bordered-table > tbody > tr > td,
.bordered-table > tfoot > tr > th,
.bordered-table > tfoot > tr > td {
  border: 1px solid #000000;
}
.bordered-table > thead > tr > th,
.bordered-table > thead > tr > td {
  border-bottom-width: 1px;
}

.striped-table > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

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

  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    overflow-x: scroll;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #000000;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }

  .responsive-table > .table-bordered {
    border: 0;
  }
  .responsive-table > .table-bordered > thead > tr > th:first-child,
  .responsive-table > .table-bordered > thead > tr > td:first-child,
  .responsive-table > .table-bordered > tbody > tr > th:first-child,
  .responsive-table > .table-bordered > tbody > tr > td:first-child,
  .responsive-table > .table-bordered > tfoot > tr > th:first-child,
  .responsive-table > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .responsive-table > .table-bordered > thead > tr > th:last-child,
  .responsive-table > .table-bordered > thead > tr > td:last-child,
  .responsive-table > .table-bordered > tbody > tr > th:last-child,
  .responsive-table > .table-bordered > tbody > tr > td:last-child,
  .responsive-table > .table-bordered > tfoot > tr > th:last-child,
  .responsive-table > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .responsive-table > .table-bordered > tbody > tr:last-child > th,
  .responsive-table > .table-bordered > tbody > tr:last-child > td,
  .responsive-table > .table-bordered > tfoot > tr:last-child > th,
  .responsive-table > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}
