﻿
/* |<----------->|               */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 991px) {
    .resources-header {
        flex-direction: column;
        gap: 0;
    }

    .resources-heading {
        font-size: 1.5rem;
    }

    .resource-listings .listing .listing-body h3 {
        font-size: 1.25rem;
    }
}

/* |<---->|                      */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 767px) {
    .resources-header .resources-options .btn {
        display: block;
        white-space: pre-wrap;
    }

        .resources-header .resources-options .btn + .btn {
            margin: 5px 0 0;
        }

    .resource-filter {
        margin: 15px 0;
    }

        .resource-filter .resource-filter-search {
            flex-direction: column;
        }

            .resource-filter .resource-filter-search > .form-group,
            .resource-filter .resource-filter-search > .btn {
                width: 100%;
            }

        .resource-filter .resource-filter-group-options {
            flex-direction: column;
        }

    .resource-listings .listing {
        flex-direction: column;
    }

        .resource-listings .listing .listing-image {
            max-width: 100%;
        }
}

/*-----------------------------------------------------------------------------------------------*/
/* Jamie Responsive styling */

/*xs*/
@media screen and (min-width: 0px) {
    .resources-options {
        display: grid;
        /*grid-template-columns: 1fr 1fr;*/
        grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
        gap: 5px;
    }
}

/*sm*/
@media screen and (min-width: 576px) {
}

/*md*/
@media screen and (min-width: 768px) {
}

/*lg*/
@media screen and (min-width: 992px) {
    .resources-options {
        grid-template-columns: 1fr 1fr;
    }
}

/*xl*/
@media screen and (min-width: 1200px) {
    .resources-options {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

/*xxl*/
@media screen and (min-width: 1400px) {
    .resources-options {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
