
/* |<------------------>|        */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 1199px) {

    .page_home .cycle_banner_container {
        height: 600px !important;
    }
}

/*               |<---->|        */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 1199px) and (min-width: 992px) {

    .cycle_banner_container .banner_pager {
        margin-top: 10px;
    }
}

/* |<---->|                      */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 767px) {

    .page_home .banner_item_description_column {
        width: auto !important;
    }

    .banner_item_description_column {
        left: 0;
        margin: 0 auto;
        min-width: unset;
        right: 0;
    }

    .banner_item_description h1 {
        font-size: 1.2em;
        margin-top: 10px;
    }

    .banner_btn {
        font-size: 0.9em;
        margin: 30px 0 0;
        padding: 2px 20px;
    }

    .page_home .cycle_banner_container {
        height: 500px !important;
    }

    .cycle_banner_container .banner_pager {
        margin-top: 20px;
    }

    .cycle_banner_container .banner_pager a {
        width: 15px;
        height: 15px;
    }

    .cycle_banner_container .banner_pager_previous,
    .cycle_banner_container .banner_pager_next {
        display: none;
    }

    a.edit_banner {
        display: none;
    }
}

/* |<-->|500                     */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 500px) {

    .page_home .cycle_banner_container {
        height: 600px !important;
    }

    .banner_item_description h1 {
        font-size: 2em;
    }

    .banner_item_description h1 strong {
        display: inline;
        font-size: 1em;
    }

    .banner_btn {
        margin: 0;
    }

    .cycle_banner_container .banner_pager a {
        width: 20px;
        height: 20px;
    }
}
/* |<---->|                      */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 767px) {

    .event_resource_grid,
    .event_grid {
        grid-template-columns: repeat(1, 1fr);
    }

    a.calendar_event {
        margin-right: 0;
        margin-left: 27px;
    }

    .sidebar_box {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* |<----------->|               */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (min-width: 768px) and (max-width: 991px) {

    .event_resource_grid,
    .event_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events_view_filters {
        font-size: 0.9em;
    }

    .ticket_container {
        padding: var(--pl) var(--p) var(--p) var(--p);
    }

    .ticket {
        flex-flow: column;
    }

        .ticket .flex {
            flex-flow: column;
        }

        .ticket .details {
            width: 100%;
        }
}

@media screen and (max-width: 991px) {
    .event-template-hero,
    .event-template-layout {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .event-template-summary {
        grid-template-columns: 1fr;
    }

    .event-template-hero-copy {
        padding: 22px;
    }

    .event-template-link-row,
    .event-template-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

        .event-template-link-row .btn-pri,
        .event-template-hero-actions .btn-pri {
            text-align: center;
            width: 100%;
        }
}


/*-----------------------------------------------------------------------------------------------*/
/* Jamie Responsive styling */

/*xs*/
@media screen and (min-width: 0px) {
    .latest-events .events-inline-row {
        flex-direction: column;
    }

    /*.latest-events .events-inline-card:last-child {
        display: none;
    }*/
}

/*sm*/
@media screen and (min-width: 576px) {
}

/*md*/
@media screen and (min-width: 768px) {
    .latest-events .events-inline-row {
        flex-direction: row;
    }

    /*.latest-events .events-inline-card:last-child {
        display: flex;
        flex-direction: column;
    }*/
}

/*lg*/
@media screen and (min-width: 992px) {
}

/*xl*/
@media screen and (min-width: 1200px) {
}

/*xxl*/
@media screen and (min-width: 1400px) {
}

/* |<---->|                      */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 767px) {

    .filter_date_column {
        border-left: 0;
        padding: 0;
    }

    .modNewsFilterBar {
        margin-bottom: 30px;
    }

    .modNewsFilterBar .btn-group {
        display: block;
    }

    .modNewsFilterBar .dropdown-menu {
        width: 100%;
    }

    .news_row .img-responsive {
        margin-bottom: 15px;
    }

    .modNewsMetaData small {
        display: block;
    }

    .news_row .link_block_xs .glyphicon {
        float: right;
    }
}

/* |<---->|                      */
/* |  xs  |  sm  |  md  |  lg  | */
@media screen and (max-width: 767px) {
    .post .headlines,
    .newsletter_grid {
        display: block;
    }

    .page_newsletter .page_banner {
        min-height: 250px;
    }

    .newsletter .newsletter_title {
        margin-bottom: 1em;
    }

    .newsletter .card {
        width: 100%;
        min-height: 0;
    }

        .newsletter .card.grid {
            display: block;
        }

            .newsletter .card.grid .has_image {
                min-height: 200px;
            }

        .newsletter .card.post .newsletter_side {
            display: none;
        }

        .newsletter .card.grid .card_content {
            padding: 20px 17px;
        }

    .newsletter .events_highlight {
        flex-flow: column;
        padding: 0;
    }

    .newsletter_block .newsletter-event-item {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .newsletter_block .newsletter-event-title,
    .newsletter_block .newsletter-event-description {
        min-height: 0 !important;
    }
}
/* |<----------->|               */
/* |  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;
    }
}

/* Mobiles Portrait */
@media screen and (max-width : 767px) {

    .search-overlay .closebtn {
        top: 15px;
        right: 15px;
        font-size: 50px;
    }

    .search-overlay-content {
        width: 95%;
    }

    .search-overlay input[type=text] {
        font-size: 1em;
        width: 75%;
    }

    .search-overlay button {
        padding: 14.5px 20px;
    }

    .quicksearch_results ul {
        max-height: 120px;
    }
}