﻿div.product-tiles-block.flex{
    gap: 50px;
}

.course-image {
    object-fit: contain !important;
    padding: 20px !important;
}

.course-title {
    margin-bottom: 40px;
}
.state {
    position: absolute;
    bottom: 40px;
    font-family: 'futura-pt';
    font-size: 14px;
    text-transform: uppercase;
}

@media screen and (min-width: 581px) and (max-width: 767px) {
    div.product-tiles-block.flex {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    div.product-item {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        margin-right: 0 !important;
    }

    div.product-item > a {
        width: 30% !important;
    }

    div.product-item > div.product-content{
        padding: 0 !important;
    }

    div.product-item > div.product-content {
        width: 70% !important;
    }

    div.product-content > a > span.event-cat {
        padding-top: 10px !important;
    }

    div.product-content > span.state {
        position: unset !important;
    }

    div.product-content > span.content-date {
        position: unset !important;
    }

    a.filter-view-toggle {
        display: flex;
        justify-content: center;
        max-width: 100% !important;
    }

}

@media screen and (max-width: 580px) {

    div.product-tiles-block.flex {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    div.product-item {
        display: flex !important;
        flex-direction: row !important;
    }

    div.product-item > a {
        width: 30% !important;
    }

    div.product-item > a > div.image-block {
        width: 100% !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
        height: 100% !important;
    }

    div.product-content
    {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px;
        width: 70% !important;
    }

    div.product-content > span.state{
        position : unset !important;
    }

    div.product-content > span.content-date {
        position: unset !important;
    }

    a.filter-view-toggle{
        display: flex;
        justify-content: center;
        max-width: 100% !important;
    }
}
