/*
 Theme Name: AGES Events Theme
 Template: astra
 Version: 1.0.0
 Text-Domain: AGES Events
*/

/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Theme Overrides / Global
 * =====================================================================================================================
 */

body {
    background-color: #f4f4f4;
}

.ages-hero-text {
    background-color: #fff;
    padding: 1em;
    border-bottom: 2px solid #E3E3E3;
}
.ages-hero-text h1 {
    font-size: 2.705882352941176rem;
    font-weight: 700;
}
.ages-hero-text p {
    line-height: 1.4rem;
}
.menu-item .menu-text {
    font-family: Acme, Verdana, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.85rem;
}
.sub-menu .menu-text {
    text-transform: capitalize;
}
/*.sub-menu li {
    border-bottom: 1px dotted grey;
}*/
/*.sub-menu li:hover {
    background: #f7f7d8;
    transition-duration: 0.5s;
    transition-delay: 0.2s;
}*/

.menu-item a {
	background-color: #ffffff;
}

.ages-btn {

}

a.fl-button, a.fl-button:visited {
    color: #1B75BB;
}

.uabb-table-header .table-heading-1, .uabb-table-header .table-heading-2, .uabb-table-header .table-heading-3, .uabb-table-header .table-heading-3, .table-header-th {
    background-color: #1B75BB !important;
}

.ages-content {
    background-color: #fff;
}
.ages-content h2 {
    font-size: 2rem;
    font-weight: bold;
}

.ages-content ul {
    margin-top: -1.6em;
}
.ages-content ul ul {
    margin-top: 0;
}
.ages-content li ul {
    margin-top: 0;
}

.ages-content-grid-box h5 {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.6em;
    padding-left: 1em;
    margin-bottom: 0.4em;
}
.ages-content-grid-box p {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.4em;
    padding-left: 1.2em;
}
.ages-content-grid-box h3 {
    color: #1B75BB;
    margin-bottom: 0;
}

.ages-content-art-grid-spacing .fl-col-content {
    margin: 0 !important;
}


.ages-content-art-grid-spacing p {
    padding-left: 0;
}

.ages-grid-up .fl-row-content-wrap {
    /*margin-top: -13.2vh;*/
    background-color: #fff;
}
.ages-grid-more-up .fl-row-content-wrap {
    /*margin-top: -16.7vh;*/
    /*margin-top: -13.2vh;*/
    background-color: #fff;
}

.ages-content-row {
    padding-top: 2em;
}
.ages-content-sponsors-row {
    padding: 3em 0 7em 0;
}
.ages-content-sponsors-first-row {
    padding: 0 0 7em 0;
}
.ages-content-sponsors-first-row .fl-row-content-wrap {
    padding-top: 3em;
}
.ages-content-separator-row {
    padding: 3em 0;
}

.fl-icon i {
    color: #1B75BB !important;
}
.ages-home-btn-link .fl-module-content .fl-icon i::before {
    color: #1B75BB;
}

.uabb-table-inner-wrap .uabb-table-features .table-body-td {
    border: none !important;
}

.uabb-table-features .tbody-row:nth-child(2n) {
    background: #eeeeee;
}

.w3eden .btn-primary:not(:disabled):not(.disabled):active, .w3eden .btn-primary:not(:disabled):not(.disabled).active, .w3eden .show>.btn-primary.dropdown-toggle {
    background-color: #1b75bb !important;
}

.ages-content .fl-button-wrap a {
    background: #1b75bb !important;
}
.ages-content .fl-button-wrap a:hover {
    background: #00aedf !important;
}

.uabb-table-inner-wrap .uabb-table-header .table-header-th {
    border: 1px solid rgba(0,0,0, 0.1) !important;
}

.page-id-3390 .ages-content-mobile .fl-col-content {
    border: 2px solid #e2e2e2;
}

.page-id-3390 .ages-content-third-border {
    border: none !important;
}
h2.uabb-posted-on {
    color: #ffffff;
}

.search .ast-container {
    background: #ffffff;
}

.search .ast-container main {
    padding-left: 2em;
    padding-right: 2em;
}

.ages-fin-reports .w3eden .card {
    margin-bottom: 2em;
}

.widget_currinda_login_wid iframe {
    height: 40vh !important;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Above Header
 * =====================================================================================================================
 */

.ages-header-top .fl-row-content-wrap {
    max-height: auto;
}
.ages-header-top p {
    margin-bottom: 0;
    padding-top: 0.25em;
    padding-bottom: 0.5em;
    color: #ffffff;
}
.ages-header-top p a {
    font-weight: bold;
    color: #ffffff;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Mega Menu
 * =====================================================================================================================
 */

#hmenu_load_1 .hmenu_list_content span {
    font-family: 'Acme', Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    line-height: 1em;
}

.mm-column-hide .menu-text:first-child {
    display: none;
}

.mm-about .fl-photo-caption-hover {
    opacity: 1;
}
.mm-about .menu-text {
    display: none;
}

.ages-mm-btn-link {
    border: 1px solid #E3E3E3;
    margin-top: 1.15em;
    background: #ffffff;
}
.ages-mm-btn-link:hover {
    border: 1px solid #363636;
}

.ages-mm-btn-link .fl-module-content {
    margin: 0.69em 1em;
}

.mm-training h3 a {
    color: #ffffff !important;
}
.mm-training .uabb-infobox-title, .mm-training .uabb-infobox-text {
    color: #ffffff !important;
}



.sub-menu {
    background: url(/wp-content/uploads/2019/10/ages-mm-bg-001.jpg) no-repeat !important;
}
.sub-menu li a {
    color: #ffffff;
}
.sub-menu li a:hover {
    color: #ffbe18;
}

.ages-mm-resources .sub-menu a {
    padding: 0.5em 1em;
}
.ages-mm-resources ul.sub-menu:not(:first-child) {
    background: none !important;
}

.ages-mm-resources .sub-menu a.menu-link .menu-text {
    color: #ffffff;
}

.ages-mm-resources-parent>a.menu-link .menu-text {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: bold;
}

.main-header-menu .current_page_item > a {
    color: #ffbe18 !important;
}


/* Events */
.mm-ages-events .tribe-events-title-bar, .mm-ages-events #tribe-events-bar, .mm-ages-events .tribe-events-list-separator-month,
.mm-ages-events .tribe-events-venue-details, .mm-ages-events .tribe-events-event-image, .mm-ages-events .tribe-events-list-event-description,
.mm-ages-events a.tribe-events-ical, .mm-ages-events .tribe-event-image, .mm-ages-events .list-date, .mm-ages-events .tribe-events-widget-link {
    display: none !important;
}
.mm-ages-events .tribe-events-list .type-tribe_events:first-of-type {
    margin-top: 8em;
}
.mm-ages-events .tribe-event-featured {
    background: none !important;
    margin-bottom: 2em !important;
    padding: 0 !important;

}
.mm-ages-events .tribe-events-list-event-title {
    margin-top: 0 !important;
}
.mm-ages-events .tribe-events-event-meta {
    font-weight: 700 !important;
}

h3.tribe-events-list-event-title a, .tribe-event-schedule-details, .mm-ages-events .tribe-events-duration {
    color: #ffffff;
}


.mm-ages-events .col-lg-6 {
    -ms-flex: 0 0 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
.mm-ages-events .ages-event-box {
    border: none !important;
    margin: -3.4em 0 5em 0 !important;
    background-color: transparent !important;
}
h2.tribe-events-title a {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4em;
    /*color: #ffffff;*/
}
.mm-ages-events .tribe-events-duration {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin: 5px 0 1px;
}

.ages-mm-hide>a.menu-link span.menu-text:first-child {
    opacity: 0;
}

.main-header-bar-navigation.toggle-on .ages-mm-hide>a.menu-link span.menu-text:first-child {
    opacity: 1;
}

.tribe-events-widget-link {
    display: none;
}



/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Home
 * =====================================================================================================================
 */

.ages-home-sm-tile {
    border: 2px solid #E3E3E3;
    margin-left: 1em;
    margin-bottom: 1em;
    min-height: 121px;
}
.ages-home-sm-tile .uabb-ultb3-box {
    background-color: #fff;
}
.ages-home-sm-tile .uabb-ultb3-img {
    position: relative;
}
.ages-home-sm-tile .uabb-ultb3-img.uabb-ultb3-img-center-left {
    top: inherit !important;
    -webkit-transform: inherit !important;
    transform: inherit !important;
}
.ages-home-sm-tile:hover {
    border: 2px solid #1B75BB;
    box-shadow: 0 4px 8px 0 rgba(0, 155, 221, 0.2), 0 6px 20px 0 rgba(0, 155, 221, 0.19);
}
.ages-home-sm-tile p {
    /*padding-left: 8em;*/
    line-height: 1.26rem !important;
}
.ages-home-sm-tile h3 {
    /*padding-left: 11em;*/
}
.ages-home-sm-tile .fl-module-content {
    margin: 0;
}

.ages-home-lg-tile {
    border: 2px solid #E3E3E3;
    min-height: 407px;
    margin-left: 1em;
}
.ages-home-lg-tile:hover {
    border: 2px solid #1B75BB;
    box-shadow: 0 4px 8px 0 rgba(0, 155, 221, 0.2), 0 6px 20px 0 rgba(0, 155, 221, 0.19);
}
.ages-home-lg-tile .fl-module-content {
    margin: 0;
}

.ages-rhs-he .uabb-post-heading {
    font-size: 1.1176rem;
}
.ages-rhs-he .uabb-meta-date {
    font-size: 0.8235rem;
    color: #2793FF;
    text-transform: uppercase;
}
.ages-rhs-he .uabb-blog-post-section {
    margin-bottom: 0 !important;
}

/*.home .type-tribe_events {
    width: 45%;
    float: left;
    padding-right: 1em;
}*/

.home .tribe-mini-calendar-event {
    border-bottom: none;
}

.home .ages-event-box {
    border: 1px solid #E3E3E3;
    margin: 0 0.5em 1em 0.5em;
    background-color: #ffffff;
}

.home .col-lg-6 {
    -ms-flex: 0 0 45%;
    flex: 0 0 45%;
    max-width: 45%;
}

.ages-home-btn-link {
    border: 1px solid #E3E3E3;
    margin-top: 1.15em;
    background: #ffffff;
}
.ages-home-btn-link:hover {
    border: 1px solid #2793FF;
}

.ages-home-btn-link .fl-module-content {
    margin: 0.69em 1em;
}
.page-id-2647 .tribe-mini-calendar-event .list-date {
    width: 25%;
}

.upcoming-events-datebox {
    background: #1B75BB;
    color: #fff;
}

/* Upcoming AGES Meetings & Conferences page */
.ages-upcoming-events .tribe-mini-calendar-event .list-date span.list-dayname, .ages-upcoming-events .tribe-events-duration, .ages-upcoming-events .tribe-events-widget-link {
    display: none;
}
.ages-upcoming-events .tribe-mini-calendar-event .list-date {
    background: #1B75BB;
}
.ages-upcoming-events .uabb-date-month, .ages-upcoming-events .uabb-date-year {
    font-weight: normal;
    font-size: 0.8rem;
    line-height: 1.45em;
    display: block;
    text-align: center;
}
.ages-upcoming-events .uabb-date-month {
    padding-top: 0.5em;
}
.ages-upcoming-events .uabb-date-year {
    padding-bottom: 0.5em;
}
.ages-upcoming-events .uabb-date-day {
    font-size: 1.5rem;
    line-height: 1em;
    display: block;
    text-align: center;
}
.ages-upcoming-events .tribe-mini-calendar-event .list-info h2 {
    font-size: 1.4705882352941rem;
    line-height: 1em;
    text-align: center;
}
.ages-upcoming-events .tribe-mini-calendar-event .list-info h2 a {
    color: #363636;
}
.ages-upcoming-events .tribe-mini-calendar-event {
    border-bottom: none;
}

.ages-upcoming-events .type-tribe_events {
    position: relative;
}
.ages-upcoming-events .list-date {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.ages-upcoming-events .ages-event-box {
    margin-bottom: 5em;
}
/*.ages-upcoming-events .ages-event-box {
    background: #f7f7f7;
}*/
.ages-upcoming-events .tribe-mini-calendar-event .list-info {
    width: 100%;
    padding: 0 1em;
}



.other-soc-events .col-lg-4, .other-society-events .col-md-4 {
    flex: 0 0 45%;
    max-width: 45%;
}
.other-soc-events .ages-event-box {
    min-height: 14em;
    border: 1px solid #f7f7f7;
    margin: 0 2.5% 5% 2.5%;
}
.other-soc-events .tribe-event-image {
    display: none;
}
.other-soc-events .tribe-mini-calendar-event {
    border-bottom: none;
}

.other-soc-events .tribe-mini-calendar-event .list-date {
    background: #1B75BB;
}
.other-soc-events .uabb-date-month, .other-soc-events .uabb-date-year {
    font-weight: normal;
    font-size: 0.8rem;
    line-height: 1.45em;
    display: block;
    text-align: center;
}
.other-soc-events .uabb-date-month {
    padding-top: 0.5em;
}
.other-soc-events .uabb-date-year {
    padding-bottom: 0.5em;
}
.other-soc-events .uabb-date-day {
    font-size: 1.5rem;
    line-height: 1em;
    display: block;
    text-align: center;
}
.other-soc-events .tribe-mini-calendar-event .list-info h2 {
    font-size: 1.4705882352941rem;
    line-height: 1em;
    text-align: left;
}
.other-soc-events .tribe-mini-calendar-event .list-info h2 a {
    color: #363636;
}


.ages-home-btn .fl-button-icon {
    color: #1b75bb !important;
}

.ages-home-btn:first-of-type {
    margin-top: 0.65em !important;
}
.ages-home-btn {
    margin: 1.6em 0;
}
.ages-home-btn .fl-module-content {
    margin: 0 !important;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Content
 * =====================================================================================================================
 */

.ages-content-cta-text p {
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
    line-height: 1.53rem;
    padding: 0 2em;
    margin-bottom: 0;
}

.ages-content-third-text p, .ages-content-third-text ul, .ages-content-third-text h5 {
    padding: 1em;
    margin-bottom: 0;
}
.ages-content-third-text ul {
    margin-top: 0;
}
.ages-content-third-text h4 {
    padding: 0 1em 0 0;
}
.ages-content-third-border {
    border: 2px solid #E3E3E3;
}

.ages-content-grid-spacing {
    margin-bottom: 3vh;
}
.ages-content-art-grid-spacing {
    /*margin-bottom: 0.5vh;*/
}

.ages-content-half-text p, .ages-content-half-text ul, .ages-content-half-text h5 {
    padding: 1em;
    margin-bottom: 0;
}
.ages-content-half-text ul {
    margin-top: 0;
}
.ages-content-half-text h4 {
    padding: 0 1em 0 0;
}

.bb-tmlabel p {
    font-size: 1rem;
}
.bb-tmlabel a {
    background: #ffffff;
    padding: 0.8em 0.8em;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
}
/*.bb-tmlabel {
    background: #00a2e3 !important;
}
.bb-tmlabel::after {
    border-left-color: #00a2e3 !important;
}*/


.ages-row-empty-grid {
    min-height: 15em;
}


.page-id-3495 .ages-content-third-text .fl-module-content, .page-id-3390 .ages-content-third-text .fl-module-content {
    margin-top: 30%;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Sponsors
 * =====================================================================================================================
 */

.ages-sponsor-plat {
    background-image: url(/wp-content/uploads/2019/07/sponsors-platinum-001.png);
    background-repeat: no-repeat;
    background-position: 0 160%;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Board Bio Pages
 * =====================================================================================================================
 */

.ages-bio-desc {
    border: solid 2px #E3E3E3;
    padding: 0 1em;
}
.ages-bio-desc p {

}

.ages-bio-pic {
    margin-right: 2em;
}





/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Video Pages
 * =====================================================================================================================
 */

.video-template-default .fluid-width-video-wrapper {
    padding-top: 56.125% !important;
}





/*
 * ---------------------------------------------------------------------------------------------------------------------
 * The Events Calendar Pro - Single Gutenberg
 * =====================================================================================================================
 */

.ages-event-single {
    padding: 2em 2em 0 2em;
}
.ages-event-single-map {
    padding: 0 2em 2em 2em;
}

.ages-event-title-block {
    background: #fff;
    color: #363636;
    border-bottom: 2px solid #E3E3E3;
    min-height: 13.3em;
}

.ages-event-header {
    min-height: 52vh;
    background: red;
}

.single-tribe_events .tribe-events-single-event-title {
    font-size: 2.705882352941176rem;
    font-weight: 700;
    margin: 20px;
}

.ages-event-content-block {
    /*margin-top: -14.3em;*/
    margin-top: -2em;
}

.tribe-events-schedule, .tribe-block__organizer__details, .tribe-block__venue .tribe-block__venue--has-map, .single-tribe_events .tribe-block__events-link,
.single-tribe_events .tribe-block__related-events__title, .single-tribe_events .tribe-related-events {
    display: none;
}
.wp-block-column .tribe-block__event-website, .wp-block-column .tribe-block__events-link {
    display: none;
}

.ages-event-active-btn {
    border: 2px solid #1B75BB;
    color: #1B75BB;
    padding: 0.25em 2em;
    display: block;
    margin-bottom: 0.5em;
}
.ages-event-inactive-btn {
    border: 2px solid #C1C1C1;
    color: #C1C1C1;
    padding: 0.25em 2em;
    display: block;
    margin-bottom: 0.5em;
}

.single-tribe_events .post-navigation, .single-tribe_events .tribe-block__venue {
    display: none;
}
.single-tribe_events .container, .post-type-archive-tribe_events .container {
    max-width: 1330px;
}
.single-tribe_events #tribe-events-content {
    margin-bottom: 1em;
}
#tribe-events-content .ages-event-single {
    padding-bottom: 1em;
}

.ages-venue-org {
    background-color: #F2F2F2;
    padding: 1em 1em 0 1em;
}
.ages-venue-org h4 {
    margin-bottom: 0;
}

.ages-event-title-block .tribe-events-page-title {
    text-align: left;
    padding: 1em;
}

#tribe-events-photo-events .tribe-events-photo-event {
    width: 100%;
}
.type-tribe_events.tribe-events-photo-event .tribe-events-photo-event-wrap {
    border: 2px solid #E3E3E3;
    background: #fff;
    min-height: 25em;
    max-height: 25em;
    overflow: hidden;
}

.ages-event-archive-date {
    font-family: 'PT Sans', "Verdana", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: bold;
    font-size: 0.82rem;
    color: #2793FF;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}

.post-type-archive-tribe_events .tribe-event-url {
    font-family: 'PT Sans', Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.294rem;
    color: #363636;
}
.post-type-archive-tribe_events .tribe-event-schedule-details {
    display: none;
}

.tribe-bar-views {
    display: none;
    visibility: hidden;
    width: 0 !important;
}

#tribe-bar-form.tribe-bar-full.tribe-events-bar--has-views #tribe-bar-filters-wrap, #tribe-bar-form.tribe-bar-mini.tribe-events-bar--has-views #tribe-bar-filters-wrap {
    width: 100%;
}
#tribe-bar-form .tribe-bar-submit input[type="submit"] {
    background: #1B75BB;
}
#tribe-bar-form {
    background: #F2F2F2;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
}

#tribe-events-footer {
    display: none;
    visibility: hidden;
}
.events-archive .entry-content, .events-archive .entry-header {
    width: inherit;
}

#tribe-events-content.tribe-events-list {
    margin-bottom: 0;
}
.post-type-archive-tribe_events .ast-article-post {
    margin-bottom: 0 !important;
}

.ages-society-events {
    margin-bottom: 1.3em;
}
.ages-society-events .ages-content-third-text {
    min-height: 16em;
}





/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Events - Upcoming Conferences
 * =====================================================================================================================
 */

.ages-upcoming-conferences .tribe-mini-calendar-event {
    border-bottom: none;
}
.ages-upcoming-conferences .tribe-mini-calendar-event .list-date {
    position: absolute;
    top: 0;
    left: 0;
}
.ages-upcoming-conferences .tribe-mini-calendar-event .list-date .list-dayname {
    display: none;
}
.ages-upcoming-conferences .tribe-mini-calendar-event .list-date {
    background: #1B75BB;
}
.ages-upcoming-conferences span.uabb-date-day {
    font-size: 2rem;
    display: block;
    line-height: 1em;
}
.ages-upcoming-conference .uabb-posted-on span {
    display: block;
}
.ages-upcoming-conferences span.uabb-date-month, .ages-upcoming-conferences span.uabb-date-year {
    font-weight: normal;
    font-size: 0.8rem;
    line-height: 1.45em;
    display: block;
}

.tribe-events-duration {
    display: none;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Past Events
 * =====================================================================================================================
 */

.past_events-template-default article header {
    display: none;
}

.past_events-template-default .wpdm-download-link {
    display: none;
}
.w3eden .well .text-muted {
    display: none;
}
.w3eden .media-body {
    color: #f5f5f5; /* Remove this if client adds descriptive text for downloadable files */
}

/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Past Events
 * =====================================================================================================================
 */

.other-society-events .tribe-events-page-title {
    display: none;
}

.other-society-events .tribe-events-list-separator-month::after {
    border-bottom: none;
}
.other-society-events .tribe-events-list-separator-month {
    text-align: left;
    color: #009cdd;
}
.other-society-events .tribe-events-list-separator-month span {
    padding: 0;
}
.other-society-events h3.tribe-events-list-event-title a, .other-society-events .tribe-event-schedule-details, .other-society-events .tribe-events-duration {
    color: #363636;
}



/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Forms
 * =====================================================================================================================
 */

.uabb-gf-style form .gform_body .gfield_label {
    text-transform: uppercase;
    font-size: 1.1rem;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Members Only login screen
 * =====================================================================================================================
 */

.container.members-only {
    max-width: 1330px;
    background: #ffffff;
    padding: 3em 1em;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Timeline of significance
 * =====================================================================================================================
 */

.bb-tmtimeline-container .bb-tmicon i {
    font-size: 1em;
}


.bb-timeline-both .bb-tmtimeline:before {
    width: 1px !important;
    border-left-width: 1px !important;
}


/*
 * ---------------------------------------------------------------------------------------------------------------------
 * Footer
 * =====================================================================================================================
 */

footer p {
    color: #ffffff;
}
footer p a {
    color: #ffffff;
}




/*
 * ---------------------------------------------------------------------------------------------------------------------
 * ---------------------------------------------------------------------------------------------------------------------
 * Media Queries
 * =====================================================================================================================
 * =====================================================================================================================
 */

/* Small Phone (iPhone 5/S ~320px) */
@media only screen and (min-width: 20em)
{
    .ages-mm-resources-parent>a.menu-link .menu-text {
        font-size: 0.85rem;
        font-weight: bold;
        text-transform: uppercase !important;
    }

    .ages-hero-text {
        margin: 0 1em 0 1em;
    }

    .ages-content-hero-row {
        min-height: unset;
        height: 70vh;
    }

    .ages-home-btn {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }

    .cta-desktop {
        display: none !important;
    }

    .ages-content-row .fl-row-content-wrap {
        background-image: none;
    }

    .ages-content-grid-box .fl-col-content {
        margin: 1em 1em !important;
    }
    .ages-content-grid-box .fl-rich-text {
        margin-top: 15vh;
    }

    .ages-content-mobile .fl-col-content {
        margin: 0 1em !important;
    }
    .ages-content-mobile-cta .fl-col-content {
        margin: 0 1em !important;
    }
    /*.ages-content-mobile-second .fl-col-content {
        margin-top: 3em !important;
    }*/

    .page-id-377 .ages-content-bg-img .fl-col-content, .page-id-401 .ages-content-bg-img .fl-col-content {
        height: auto !important;
    }

    .page-id-3390 .ages-content-mobile-thirds {
        margin-bottom: 5em;
    }
    .ages-mobile-blank {
        display: none;
    }

    .ages-mobile-grid-spacer {
        margin-top: 4em;
    }

    .ages-content-bg-img .fl-col-content {
        min-height: 25vh;
    }

    .ages-content-mobile-hide {
        display: none !important;
    }

    .ages-content-third-text ul, .ages-content-third-text ol {
        margin: 0;
    }

    .ages-content-cta-text p {
        padding: 0 1em;
    }

    .ages-content-third-border.ages-content-mobile {
        border: none;
    }
    .ages-content-third-border .fl-col-content {
        border: 2px solid #E3E3E3;
    }

    .ages-content-third-text h5 {
        padding: 0 1em;
    }

    .fl-col-small {
        max-width: inherit;
    }

    .ages-home-btn-link {
        margin: 1em 1em;
    }

    /* Upcoming events on homepage */
    .home .col-lg-6 {
        -ms-flex: 0 0 95%;
        flex: 0 0 95%;
        max-width: 95%;
    }

    .ages-content-hero-row {
        height: auto;
    }

    .ages-content-sponsors-first-row {
        padding: 0;
    }
}




/* Portrait Tablet (iPad ~768px) */
@media only screen and (min-width: 48em)
{
    .ages-home-btn {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }

    .cta-desktop {
        display: block !important;
    }

    .ages-content-third-text ul, .ages-content-third-text ol {
        margin: 0 0 1.5em 3em;
    }

    .ages-content-cta-text p {
        padding: 0 2em;
    }

    .ages-grid-up .fl-row-content-wrap {
        /*margin-top: -16vh !important;*/
    }

    .ages-content-grid-box .fl-rich-text {
        margin-top: 20vh;
    }

    /* Upcoming events on homepage */
    .home .col-lg-6 {
        -ms-flex: 0 0 45%;
        flex: 0 0 45%;
        max-width: 45%;
    }

    .fl-col-small:not(.fl-col-small-full-width) {
        max-width: 95vw;
    }

    .ages-home-btn-link {
        margin: 1em 0;
    }

    .home-upcoming-events {
        margin: 0 auto;
    }
    .home .home-upcoming-events .ages-event-box {
        margin: 0 1em 2em 1em;
    }
}




/* Large Tablet (iPad Pro ~1024px) */
@media only screen and (min-width: 64em)
{

    .ages-home-hero .fl-row-content-wrap {
        background-position: right center;
    }

    .ages-home-btn {
        margin-left: 0;
        margin-right: 0;
    }

    .ages-hero-text {
        margin: inherit;
    }

    .ages-content-hero-row {
        min-height: 52vh;
        height: auto;
    }

    .ages-content-grid-box .fl-col-content {
        margin-right: 2.5% !important;
    }
    .ages-content-grid-box .fl-rich-text {
        margin-top: unset;
    }

    .ages-content-mobile .fl-col-content {
        margin-right: 2.5% !important;
    }
    .ages-content-mobile-cta .fl-col-content {
        margin: 0 !important;
    }
    .ages-content-mobile-second .fl-col-content {
        margin-top: 0 !important;
    }

    .ages-content-mobile-hide {
        display: block !important;
    }

    .ages-content-third-border {
        border: 2px solid #E3E3E3;
    }

    .home .home-upcoming-events .ages-event-box {
        margin: 0 0.5em 1em 0.5em;
    }
}




/* Older Laptop (~1366px) */
@media only screen and (min-width: 85.375em)
{

    .ages-mm-resources-parent>a.menu-link .menu-text {
        font-size: 1.4rem;
        color: #ffffff !important;
        font-weight: bold;
        text-transform: capitalize !important;
    }

    .ages-home-hero .fl-row-content-wrap {
        background-position: center center;
    }

    .ages-content-bg-img .fl-col-content {
        height: auto;
    }

    .ages-grid-up .fl-row-content-wrap {
        /*margin-top: -10vh !important;*/
    }

    .ages-mobile-grid-spacer {
        margin-top: 0;
    }

    .ages-content-sponsors-first-row {
        /*padding: 0 0 7em 0;*/
        padding: 0;
    }
}





/* MacBook Air (~1440px) */
@media only screen and (min-width: 90em)
{
    /*.ages-grid-up .fl-row-content-wrap {
        margin-top: -10.4vh !important;
    }*/
}





/* HD (~1920px) */
@media only screen and (min-width: 119em)
{
    /*.ages-grid-up .fl-row-content-wrap {
        margin-top: -13.2vh !important;
    }*/
}




/* HD (vertical height beyond 1080px) */
@media only screen and (min-height: 67.5em)
{
    /*.ages-grid-up .fl-row-content-wrap {
        margin-top: -13.4vh !important;
    }*/
}




/* QHD (vertical height beyond 1320px) */
@media only screen and (min-height: 82.5em)
{
    /*.ages-grid-up .fl-row-content-wrap {
        margin-top: -16.7vh !important;
    }*/
}