div.page {
    column-count: auto;
    background-color: white!important;
}

div.gc-container,ul.products{
    background-color:white!important;
}

/* Products */
ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

ul.products li.type-product {
    padding: 0 !important;
}

.product_cat-business-gift-certificates {
  width: 260px !important;
  height: 395px !important;
  margin-right: 30px !important;
  margin-top: 30px !important;
  position: relative;
  overflow: auto;
  float: left;
  text-align: center;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
  display: block;
  object-fit: cover;
  background-color: #fff;
}

.product_cat-business-gift-certificates a.woocommerce-LoopProduct-link {
  display: block;
  height: 330px;
  padding-top: 5px;
}

.product_cat-business-gift-certificates a.woocommerce-LoopProduct-link img {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 10px !important;
    height: 184px !important;
    width: auto !important;
}

.woocommerce ul.products li.product {
    width:350px !important;
    margin-bottom: 20px !important;
    padding: 20px 10px 30px 10px !important; margin-left: 1.9%;
    margin-right: 1.9%;
    text-align: left !important;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.4);
}

.woocommerce ul.products li.product a img {
    width: auto!important;
    height: 205px;
    margin: auto;
    padding:0!important;
}

h2.woocommerce-loop-product__title {
    text-transform: none !important;
    margin-left: 15px !important;
    text-align: left;
    font-family: "Roboto Slab",serif!important;
    font-size: 24px!important;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #272e5e;
}

.gift-card-desc {
  display: none;
}

div#gift-cards ul.products li.type-product a.button {
    margin-left: 15px;
    font-weight: bold;
    border: solid 2px #c5258f !important;
    bottom: 15px !important;
    display: inline-block !important;
    position:absolute;

    background-color: #fff;
}


/* Header */
header.woocommerce-products-header {
    background-image: url(/wp-content/themes/intentionalist-vantage-custom/assets/images/giftcertificates/gift-certificates-header.jpg) !important;
    height: 285px;
    width: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

header.woocommerce-products-header h1::before {
    content: "Intentionalist";
    color: #fff;
    top: -20px;
    margin-bottom: 5px;
    font-family: "Roboto Slab", serif;
    font-size: 24px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
}

header.woocommerce-products-header h1 {
    left:0;
    top:0;
    border-radius:0;
    bottom: -30px;
    height: 140px;
    max-width: 750px;
    width: 80% !important;
    text-align: center;
    padding: 10px 10px 10px 10px;
    background-color: rgba(39, 46, 94, 0.95);

    font-family: "Roboto Slab", serif;
    font-size: 26px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: 3.75px;
    text-transform: uppercase;
    color: #f8993a;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 210px;
}

header.woocommerce-products-header h1::after {
    margin-top: 20px;
    width: 600px;
    content: " ";
    height: 2px;
    border-width: 1.5px;
    background: linear-gradient(to right, #ff9933 0%, #f5e930 21%, #339933 39%, #330099 58%, #663399 77%, #cc0099 100%);
}

/* Intro text */
div.gift-certificates-intro {
    padding:0 80px 0 80px !important;
    margin-bottom:0;
}

div.gift-certificates-intro div.gc-inner {
    padding: 0;
    box-shadow: none;
    background-color: transparent;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    color: #272e5e;
}

div.gift-certificates-intro div.gc-inner a {
    color: #c5258f;
}
#buttonSpacing {
    height:35px;
}

/* Tags */
ul.b-tags{
    padding-left:10px!important;
}
ul.b-tags li{
    margin-bottom:7px;
}

/* neighborhood */
.gc-neighborhood{
    padding-left:10px!important;
    font-family:"Roboto", sans-serif;
    font-size: 15px;
    color: #000000;
}

/* categories */
ul.b-categories{
    padding:10px!important;
    margin:0!important;

}
li.listing-categories a:any-link {
    font-family:"Roboto", sans-serif;
    font-size: 15px;
    color: #000000;
}

li.listing-categories {
    margin:0!important;
}

#gcert-tandc{
    text-align: center;
    font-family:"Roboto", sans-serif;
    font-size: 15px;
    color: #000000;
}



/* Mobile Support */
@media only screen and (max-width: 640px) {

    ul.products
    { display:flex!important;}

    div#gift-cards ul.products li.type-product {
        margin:10px auto !important;
        width:100% !important;
        max-width: 320px!important;
    }

    div.gift-certificates-intro {
        padding:0 10px 0 10px !important;
    }

    div.gift-certificates-intro div.gc-inner {
        text-align: center;
    }

    header.woocommerce-products-header {
        height: 170px !important;
        position: relative !important;
        margin-bottom: 140px !important;
    }

    header.woocommerce-products-header h1 {
        position: absolute;
        top: -40px;
        width: 100% !important;
    }

    .product_cat-business-gift-certificates {
        float: none !important;
    }

    header.woocommerce-products-header h1::after {
        width: 350px !important;
    }
}
