
/* 
 Theme Name:     Divi Child for Shasta Produce
 Author:         BConverse Consulting
 Author URI:     http://www.bconverseconsulting.com 
 Template:       Divi
 Version:        1.0 (042524) 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

.shasta-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shasta-product-grid .shasta-product-item {
    position: relative;
    flex: 0 0 calc(25% - 20px);
    height: 0;
    padding-bottom: 15.55%;
    overflow: hidden;
}

.shasta-product-grid .shasta-product-item div.thumbnail {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1);
    transition: all .2s ease-in-out;
}

.shasta-product-grid .shasta-product-item:hover div.thumbnail {
    transform: scale(1.2);
}  

.shasta-product-grid .shasta-product-item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
.shasta-product-grid .shasta-product-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.1);
    z-index: 2;
}

.shasta-product-grid .shasta-product-item h5 {
    position: relative;
    z-index: 3;
    padding: 10px 8px;
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
}

.shasta-product-grid .shasta-product-item:nth-child(5n + 1) div.thumbnail {
    background-image: url('https://tristanmichelemarketing.com/shastaproduce/wp-content/uploads/2024/05/organic-farming-17.jpg')!important;
}

.shasta-product-grid .shasta-product-item:nth-child(3n +2) div.thumbnail {
    background-image: url('https://tristanmichelemarketing.com/shastaproduce/wp-content/uploads/2024/05/organic-farming-15.jpg');
}

.shasta-product-grid .shasta-product-item:nth-child(3n + 3) div.thumbnail {
    background-image: url('https://tristanmichelemarketing.com/shastaproduce/wp-content/uploads/2024/05/organic-farming-06.jpg');
}

.shasta-product-grid .shasta-product-item:nth-child(3n + 4) div.thumbnail {
    background-image: url('https://tristanmichelemarketing.com/shastaproduce/wp-content/uploads/2024/05/organic-farming-02.jpg');
}

.events-grid-table .table-wrapper {
    display: flex;
}

.events-grid-table .table-wrapper > div.stores {
    display: flex;
    flex-direction: column;
    flex: 0 0 10%;
    padding-top: 26px;
}

.events-grid-table .table-wrapper > div.stores > div {
    flex: 1 1 calc(50% - 13px);
}

.events-grid-table .table-wrapper > div.inner-table {
    display: flex;
    flex: 0 0 90%;
}

.events-grid-table .table-wrapper > div.inner-table > div.col-events {
    display: flex;
    flex: 0 0 250px;
    flex-direction: column;
}

.events-grid-table .table-wrapper > div.inner-table > div.col-events > div.events-date {
    flex: 0 1 26px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.4;
}

.events-grid-table .table-wrapper > div.inner-table > div.col-events > div {
    flex: 0 1 20px;
    text-align: center;color: #000;
}

.events-grid-table .table-wrapper > div.inner-table > div.col-events > div:empty {
    min-height: 10px;
}

.events-grid-table .table-wrapper > div.inner-table > div.col-events > div.events-location {
    font-size: 16px;
    font-weight: bold;
}