/*category styles*/
.page-layout-2columns-left .column.main {
    width: 100%!important;
    float: none!important;
  }
  .page-layout-2columns-left .main {
    padding-left: 0px!important;
  }

  
  .page-layout-pg-subcategories .page-title-wrapper, 
  .page-layout-pg-subcategories .breadcrumbs,
  .page-layout-pg-subcategories .toolbar.toolbar-products,
  .page-layout-pg-subcategories .category-view
   {
    display:none;
  }

  .page-layout-pg-subcategories .hero-wrapper {
    margin-bottom: 2vw;
  }

  .page-layout-pg-subcategories .hero {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    display: none; /* JS shows correct img */
  }

  .page-layout-pg-subcategories .hero .content-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    background: #00558ecd;
    text-align: center;
    padding: 2em;
    max-width: 500px;
  }

  .page-layout-pg-subcategories .hero .content {
    color: #ffffff;
    font-size: 1em;
  }

  .page-layout-pg-subcategories .hero .content h1 {
    font-size: clamp(20px, 2vw, 30px);
    margin-bottom: 1.5vw;
    font-weight: 500;
  }
  .page-layout-pg-subcategories .hero .content p {
    max-width: 80%;
    margin: 0 auto;
  }

  .page-layout-pg-subcategories .hero .content .button {
    padding: .75em 2em;
    background: #918c77;
    display: inline-block;
    margin-top: 1.5vw;
    border: 3px solid #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: .8em;
    font-weight: 500;
    color:#fff;
  }


  .category-view .category-description p{

    font-size:18px;
  }

  .product-item .minimal-price .price-container {
    display: inline-block!important;
  }

  .product-item .price-box .price-label::after {
    content: ''!important;
  }
  .product-item .price-box .price-label {
    font-size: 1.6rem!important;
  }
  
  .message.info {
    
    background: #f9f9f9 !important;
    color: #40392e !important;
    
  }
  .message.info > :first-child::before{
    color:  rgb(51 79 180)!important;
  }


  /*products grid*/


  /* workaround til I fig out why market-list.phtml (item.phtml?) is outputting a whole extra product grid */
  .page-layout-pg-subcategories .products.wrapper.grid.products-grid {
    display: none;
  }
  .page-layout-pg-subcategories .products.wrapper.grid.products-grid.valid {
    display: block;
  }

  .page-layout-pg-subcategories.series-categories-wrapper2 {
    margin-top: 5em;
  }

  .page-layout-pg-subcategories .series-category {
    position: relative;
    margin-top: -87px;
  }

  .page-layout-pg-subcategories .series-category:first-child {
    margin-top: 0;
  }

  .page-layout-pg-subcategories .products.wrapper.grid.products-grid {
    margin-top: 0;
    position: relative;
    width: auto;
    padding: 3em 0;
  }

  .page-layout-pg-subcategories .products.wrapper.grid.products-grid::before, .page-layout-pg-subcategories .prefooter::before {
    content: "";
    position: absolute;
    top: -3px;
    right: 0;
    /* height: 1px; */
    background-color: #00558e;
    z-index: 10;
    border-top: 3px solid #00558e;
    width: auto;
    left: 2em;
  }

  .page-layout-pg-subcategories .prefooter::before {
    left: 0;
  }

  .page-layout-pg-subcategories .products.wrapper.grid.products-grid,
  .page-layout-pg-subcategories .series-category h2 {
    background: #ededed;
  }

  .page-layout-pg-subcategories .series-category.lite .products.wrapper.grid.products-grid,
  .page-layout-pg-subcategories .series-category.lite h2 {
    background: #f9f9f9;
  }

  .page-layout-pg-subcategories .series-category h2 {
    color:#4b4b4b;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    padding: .7em 1em .5em;
    display: inline-block;
    position: relative;
    z-index: 15;
  }

  .page-layout-pg-subcategories .series-category h2 a {
    color: inherit;
  }

  .page-layout-pg-subcategories .products.wrapper.grid.products-grid .category-icon {
    position: absolute;
    top: -55px;
    right: 0;
    padding-right: 2em;
    height: 138px;
    width: 122px;
    text-align: right;
    z-index: 20;
  }

  .page-layout-pg-subcategories.mining .products.wrapper.grid.products-grid .category-icon {

    background: url(https://polygem.com/pub/media/mining-icon.png) no-repeat;
    background-size: 60%;
    background-position: top;
  }

  .page-layout-pg-subcategories.waterproofing .products.wrapper.grid.products-grid .category-icon {

    background: url(https://polygem.com/pub/media/waterprf-icon.png) no-repeat;
    background-size: 60%;
    background-position: top;
  }

  .page-layout-pg-subcategories.zoopoxy .products.wrapper.grid.products-grid .category-icon {

    background: url(https://polygem.com/pub/media/zoopoxy-icon.png) no-repeat;
    background-size: 60%;
    background-position: top;
  }

/*background-image: url('image1.png'), url('image2.png');
  background-repeat: no-repeat, no-repeat;
  background-position: top left, bottom right;
  background-size: 50px 50px, 70px 70px; */

  ol.products{
    margin-top: 0;
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: wrap;
  }


  @media (min-width: 1200px), print {

    .page-layout-pg-subcategories.page-products .products-grid .product-item {
        padding: 2em;
        width: calc((100% - 6%) / 3);
    }

    .page-layout-pg-subcategories .page-products .products-grid .product-item:nth-child(3n + 1) {
      margin-left: 2%; 
    }
  }

  .page-layout-pg-subcategories .product-item-description {
      margin: 0; 
  }

  .page-layout-pg-subcategories .product-item-description a.action.more {
    text-transform: uppercase;
    font-weight: 600;
    color: #ff8500;
    font-size: 120%;
    float: right;
    margin-right: 1em;
    padding: .2em .5em;
    margin-top: .5em;

  }

  .page-layout-pg-subcategories .product-item-description a.action.more:hover {
      color: #1979c3;
      transistion: 200ms;
  }

  .products-grid .product-item-info {
      min-width: 350px;
     
    }
  .page-layout-pg-subcategories .product-image-container {
      display: block;
      max-width: 100%;
  }
  .products-grid .product-item-info:hover img{
    opacity: 0.85;
    transition: 200ms;
  }

  .products-grid .product-item-info img {
    width: 100%;
    height: 19vw;
    object-fit: contain;
}

  .products-grid .product-item-name{
      margin:0;
      font-size: 18px;
      text-transform: uppercase;
  }

  .page-layout-pg-subcategories .product-item-description .product-page {
      display: none; 
  }

  .page-layout-pg-subcategories ul.tech-specs {
    list-style: none;
    margin: 0;
  }

  .page-layout-pg-subcategories ul.tech-specs li.spec {
    margin:0;
    padding:0;
  }


  .abs-product-link, .product-item-name, .product.name a {
    font-weight: 500;
  }

  .product-item-details .brand {
    text-transform: uppercase;
  color: #646464;
  font-size: 12px;
  letter-spacing: 1px;
  }

  .products-grid .rating-summary .rating-result {
    margin-left: 0px;
  }
 .products-grid .rating-summary .rating-result > span::before{

    color:#1e4edd;

 }

 .product-reviews-summary .reviews-actions a {
  margin-right: 5px;
  color:#1e4edd;
}

.products-grid .product-item .price-box .price {
  font-size: 20px;
  font-weight: 300;
}

.call-for-price{
  font-size: 14px;
  background-color: #777;
  padding: 10px;
  text-align: center;
  color: #fff;

}

.catalog-category-view .call-for-price{
  display: none;
}

@media screen and (max-width: 480px) {

  .products-grid .product-item {
    width: 100%;
    margin-bottom: 30px;
}
  .products-grid .product-item-info {
    width: 100%;
    overflow: hidden;
  }
 
.products-grid .product-image-container {
    overflow: hidden;
    height: auto;
    display: block;
    width: 300px;
    margin: auto;
}
  .products-grid .product-item-link{

    font-size: 24px;
  }

}


/* Markets form */

  .page-layout-pg-subcategories .prefooter {
      position: relative;
      display: none; /* JS shows correct img */
      margin-top: -2.2em;
    }

  .page-layout-pg-subcategories .prefooter img {
    width: 100%;
  }  

  .page-layout-pg-subcategories .prefooter .content-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    text-align: center;
  }