/* Body */
body.page-id-15974 {
    background-color: white;
}

.page-id-15974 .footer-links {
    margin-top: 0;
}

/* Support Banner */

section.footer-links {
    background: #00593D;
}

/* New Resource banner */

.resource-tab-section {
    margin-top: 2rem;
}

.resource-tab-container {
    background-color: #818B95;
    padding: 2rem;
}

.resource-tab-container, .resource-tab-container p, .resource-tab-container a {
    color:white;
}

article#post-15974 {
    background-color: white;
}

@media only screen and (max-width: 768px) {
    .resource-tab-container .grid .text-left {
        flex-direction: column;
        margin-top: 2rem;
    }

    .resource-icon-container {
        margin-bottom: 1.5rem;
    }

    .resource-tab-container .grid .text-left .resource-text-container {
        width: 100%;
    }
}



@media only screen and (min-width: 768px) {
    .resource-tab-container .grid .span-6:first-of-type {
        border-right: 1px white solid;
        padding-right: 2rem;
    }
}

.resource-tab-container .grid .text-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-tab-container .grid .text-left .resource-icon-container {
    width: 15%;
    /* margin-right: 3rem; */
}

.resource-tab-container .grid .text-left .resource-text-container {
    width: 71%;
}

.resource-text-container h4 {
    margin-top: 0;
}

.resource-tab-section a:hover {
    text-decoration: underline;
}


/* Category cards */

.container .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.title-card {
    background: #00593D;
    display: flex;
    align-items: center;
    padding-left: 2rem;
}

.title-card h2 {
    color: white;
    margin-bottom: 0px;
}

.products-grid .product-image {
    margin-bottom: 0px;
    height: 25.5rem;
    padding: 3rem;
}

@media only screen and (min-width: 768px) {
    .products-grid .product-image {
        height: 28rem;
    }
}

@media only screen and (min-width: 1024px) {
    .products-grid .product-image {
        height: 25rem;
    }
}

@media only screen and (min-width: 1280px) {
    .products-grid .product-image {
        height: 21rem;
    }
}

.products-grid .product-image .product-title br {
    /* display: none; */
}

.products-grid .product-category-item .product-image .product-title {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: auto;
    width: 100%; 
    max-width: 100%;
}

.product-title .icon, .featured-products-cards-container .icon, .latest-story-text-container .icon {
    color: #00593D;
}


/* Featured products */

.featured-products-container a:hover h4 {
    text-decoration: underline;
}

.featured_products { 
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.featured-products-container {
    background-color: #ddd;
}

.featured-products-info-container {
    background-color: white;
    padding: 2.5rem;
    text-align: left;
    width: 36%;
}

.featured-products-info-container h4 {
    color: #00593D;
    margin-top: 0;

}

.featured-products-container, .featured-products-cards-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.featured-products-cards-container .featured-products-cards-container {
    justify-content: space-around;
    align-items: center;
}

.featured-products-container {
    padding: 1.125rem;
}

.featured-products-cards-container {
    width: 60%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.featured-products-cards-container h4 {
    color: black;
    text-align: center;
}

.featured-product-card img {
    margin: auto;
}

.relative { 
    position: relative;
}

.featured-product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-product-card small {
    position: absolute;
    top:-2rem;
    left:0;
    color: #00593D;
}

@media only screen and (max-width: 768px) {
    .featured-products-cards-container, .featured-products-info-container  {
        width: 100%;
    }

    .featured-product-card {
        width: 100%;
        margin-top: 2rem;
    }

}

/* Stories and news section */

.stories-section {
    background-color: #ddd;
    padding: 2rem; 
}

.stories-section a:hover h4, .latest-story-text-container a:hover h5 {
    text-decoration: underline;
}

.stories-header-container, .case-studies-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    flex-wrap: wrap;
}



.stories-section, .case-studies-section {
    margin-top: 2rem;
    
}

.case-studies-section {
    margin-bottom: 4rem;
}

.case-card p {
    font-size: 0.85rem;
}

.case-card p a:hover {
    text-decoration: underline;
}

.case-card strong {
    color: black

}

.case-studies-section {
    margin-bottom: 2rem;
}

.case-studies-section h2, .stories-section h2 {
    color: #00593D;
}


.case-card-containers {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.case-card {
    
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

@media only screen and (min-width: 768px) {
    .case-card {
        width: 31%;
        margin-top: 1rem;
    }

    

}

@media only screen and (max-width: 768px) {
    .case-card {
        margin-top: 1rem;
    }

    .case-studies-header-container {
        margin-bottom: 1rem;
    }

    .stories-header-container .button, .case-studies-header-container .button {
        width: 100%;
        text-align: center;
    }

}



.case-card h5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.case-card .case-link {
    background-color: #818B95;
}

.case-card-image {
    width: 100%;
    height: 21rem;
    background: no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.featured-story-container {
    width: 55%; 
    position: relative;
    height: auto;
    background: no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.featured-story-text-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    padding: 1.5rem;
}

.featured-story-text-container h4 {
    position: relative;
    z-index: 2;
    margin: 0;
    width: 60%;
}

.featured-story-text-container .background-filter {
    width: 100%;
    height: 100%;
    opacity: 0.8; 
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #00593D;

}

.stories-body-container {
    margin-top: 2rem;
    margin-bottom: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.latest-stories-container {
    display: flex;
    flex-direction: column;
    width: 38%;
}

.latest-story-container {
    display: flex;
    align-items: center;
}

.latest-story-container:not(:last-of-type) {
    margin-bottom: 1rem;
}

.latest-story-text-container {
    padding: 1.5rem;
}

.latest-story-text-container small {
    color: #00593D;
}

.latest-story-text-container h5 {
    margin-top: 0;
    color: #818B95;
}

.latest-story-image-container {
    width: 40%;
    height: 10rem;
    background: no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.latest-story-text-container {
    width: 60%;
}

@media only screen and (max-width: 768px) {
    .latest-stories-container, .featured-story-container {
        width: 100%;
    }

    .featured-story-container {
        height: 18rem;
    }
/* 
    .stories-container {
        padding: 2rem;
    } */

    .featured-story-container {
        margin-bottom: 1.5rem;
    }

    .latest-story-text-container {
        width: 100%;
    }
}

.case-studies-header-container .button, .stories-header-container .button {
    font-size: 1.25rem;
    padding: 0.5rem 4rem;
}

.product_categories .product-category-item:first-of-type {
    display: none;
}