/*
Theme Name: YK Dene 2019
Theme URI: http://newharvest.ca/
Description: Version 3.1. Mostly unstyled responsive structure, now with CSS flexbox support.
Author: Karyl Gilbertson, New Harvest Media
Author URI: http://newharvest.ca/
Version: 3.1
License: GPLv2
License URI: https://wordpress.org/about/gpl/
Text Domain: new-harvest
Tags: light, responsive-layout
*/

/* ==== GENERAL ==== */

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font: 20px 'proxima-nova', sans-serif;
}

.row-wrapper>* {
    margin: 0 auto;
    overflow: auto;
}

.wp-block-image .alignleft {
    float: left;
    margin: .5em 1.5em 1em 0 !important;
}

.wp-block-image .aligncenter,
.wp-block-image .aligncenter img {
    text-align: center;
    margin: 0 auto;
}

.wp-block-image .alignright {
    float: right;
    margin: .5em 0 1em 1.5em !important;
}

.alignwide {
    max-width: 66.67%;
    margin: 0 auto;
    box-sizing: border-box;
}

img {
    border: 0;
    display: block;
    max-width: 100%;
    height: auto !important;
}

iframe {
    border: 0;
}

a,
a:link,
a:visited {
    color: #009fc9;
}

a:hover {
    color: #8ccadb;
}

hr {
    border: none;
    border-top: 1px solid #8ccadb;
    margin: 2em 0;
}

/* a.wp-block-button__link {color:#F1F1F1 !Important;} */
/* a.wp-block-button__link:hover {background-color:#000 !Important; color:#FFF !important;} */


/* Remove list styling where lists are usually navigational elements */

ul.sid,
ul.menu,
ul.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ==== HEADER ==== */

header.widget-area {
    background: url('images/bg_header@2x.png') 0 0 no-repeat;
    background-size: 100% 100%;
    padding: 0 0 2em;
    overflow: visible !important;
    z-index: 2;
}

.home header.widget-area {
    position: absolute;
    width: 100%;
}

header.widget-area ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

header.widget-area ul li.widget-container {
    display: block;
    margin: 1vw 0 1vw 1vw;
    color: #fff;
}

header.widget-area ul li.widget-container:last-child {
    margin-right: 3vw;
}

header.widget-area ul li.widget_text {
    flex-grow: 1;
}

header.widget-area ul li.widget_text a {
    color: inherit;
    text-decoration: none;
}

header.widget-area ul li.widget_text h1 {
    color: #fd0;
    font: 3em 'cortado';
    margin: 0;
    line-height: 1;
}

header.widget-area ul li.widget_text p {
    color: #fff;
    margin: .5em 0 0;
}

header.widget-area ul li.widget_nav_menu {
    /* width of logo + width of title + width of search button + computed margins of all */
    max-width: calc(100% - (156px + 387px + 20px + 11vw));
    margin: 0 1em 0 0;
}

/* ==== SEARCH ==== */

.search-toggle-button {
    color: #009fc9;
    cursor: pointer;
}

.search-toggle-button.active {
    color: #8ccadb;
}

.search-wrapper {
    display: none;
}

#search-form {
    position: absolute;
    right: 2em;
    display: flex;
    background: #009fc9;
    padding: 1em;
    margin: 1em 0;
    border-radius: .33em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .33);
}

#search-form i.fa-caret-up {
    position: absolute;
    top: -.6em;
    right: .45em;
    font-size: 2em;
    color: #009fc9;
}

#search-input,
#search-submit {
    margin: 0;
    padding: .25em .5em;
    font-size: 1em;
    line-height: 1;
}

#search-input {
    border: 1px solid #026;
    border-right: none;
}

#search-submit {
    color: #fff;
    background: #026;
    border: 1px solid #026;
}

/* ==== NAVIGATION ==== */

header.widget-area ul.menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

header.widget-area ul.menu li {
    margin: .33em 0;
}

header.widget-area ul.menu li a {
    color: #fff;
    display: inline-block;
    padding: .5em .75em;
    font-weight: bold;
    text-decoration: none;
    transition: color .2s ease-in-out;
}

header.widget-area ul.menu li a i {
    font: bold .6em 'Font Awesome 5 Free';
    color: #026;
    opacity: 0.67;
    position: relative;
    top: -2px;
    left: .25em;
}

header.widget-area ul.menu li a:hover,
ul.menu>li:hover>a {
    color: #8ccadb;
}

header.widget-area ul.menu li.menu-item-has-children>a:after {
    content: '\f078';
    font: bold .6em 'Font Awesome 5 Free';
    color: #009fc9;
    margin: 0 0 0 .5vw;
    transition: opacity .2s ease-in-out;
}

header.widget-area ul.menu li.menu-item-has-children:hover>a:after {
    opacity: 0.67;
}

header.widget-area ul.sub-menu {
    display: none;
    position: absolute;
    background: #009fc9;
    margin: 0 0 0 -.75em;
    padding: .5em 0;
    border-radius: .33em;
    box-shadow: 0 .25em .5em rgba(0, 0, 0, .33);
    z-index: 9;
}

header.widget-area ul.sub-menu>li:first-child:before {
    content: '\f0d8';
    font: bold 1em 'Font Awesome 5 Free';
    color: #009fc9;
    position: absolute;
    top: -.6em;
    left: 2em;
}

header.widget-area ul.sub-menu li {
    margin: 0;
}

header.widget-area ul.sub-menu li.separator-after {
    border-bottom: 2px solid #007cad;
    padding-bottom: .5em;
    margin-bottom: .5em;
}

header.widget-area ul.sub-menu li.menu-item-has-children>a:after {
    content: '\f054';
    font: bold .8em 'Font Awesome 5 Free';
    color: #fff;
    margin: 0 0 0 .5em;
    transition: opacity .2s ease-in-out;
    opacity: 0.5;
}

header.widget-area ul.sub-menu li.menu-item-has-children:hover>a:after {
    opacity: 0.25;
}

header.widget-area ul.sub-menu li a {
    display: block;
    padding: .5em 1em;
}

header.widget-area ul.sub-menu li a:hover,
ul.sub-menu li:hover>a {
    color: #fd0;
}

header.widget-area ul.sub-menu ul.sub-menu {
    left: 100%;
    width: 100%;
    margin: -2.7em 0 0 0;
}

header.widget-area ul.sub-menu ul.sub-menu>li:first-child:before {
    content: '\f0d9';
    font: bold 1em 'Font Awesome 5 Free';
    color: #009fc9;
    position: absolute;
    top: 1em;
    left: -.3em;
    text-shadow: -3px 0px 5px rgba(0, 0, 0, 0.33);
}

/* COVID-19 */

header.widget-area ul.menu li#menu-item-1542 a {
    background: #c43;
    border-radius: .33em;
    margin: 0 .5em 0 0;
}

header.widget-area ul.menu li#menu-item-1542:hover>a {
    color: #fd0;
    border-radius: .33em .33em 0 0;
}

header.widget-area ul.menu li#menu-item-1542.menu-item-has-children>a:after {
    color: #910;
}

header.widget-area ul.menu li#menu-item-1542 ul.sub-menu {
    background: #c43;
}

header.widget-area ul.menu li#menu-item-1542 ul.sub-menu>li:first-child:before {
    color: #c43;
}

/* ==== BANNER ==== */

.banner .metaslider {
    overflow: hidden;
}

.banner .metaslider .caption-wrap {
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
    padding-top: 12%;
    opacity: 1.0;
    min-height: 12%;
}

.banner .metaslider .caption-wrap .caption {
    color: #000;
    font: 3em 'cortado';
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

span.red {
    color: #c43;
}

span.yellow {
    color: #fd0;
}

span.blue {
    color: #009fc9;
}

span.green {
    color: #393;
}

/* ==== MAIN CONTENT AREAS ==== */

main {
    display: flex;
    justify-content: space-between;
}

#content {
    line-height: 1.5;
    margin: 0 auto;
}

/* #content p {text-align:justify;} */

@media screen and (min-width: 1280px) {
    #content {
        width: 1200px;
        min-height: 740px;
    }

    .home #content {
        width: 100%;
    }
}

.breadcrumbs {
    margin: 2em 0;
    font-size: .8em;
}

.breadcrumbs .current-item {
    font-weight: bold;
    color: #c43;
}

.home .entry-content .alignfull {
    padding: 0 2em;
}

.wp-block-columns.features-row {
    background: url('images/bg_feature_row@2x.jpg') top center no-repeat;
    background-size: 110% 55%;
}

.page-title,
.entry-title {
    font: 3em 'cortado';
    margin: 0 0 .5em;
    line-height: 1;
    color: #c43;
}

.single .entry-title {
    margin: 0;
}

.category .entry-title,
.archive .entry-title,
.tag .entry-title {
    font-size: 2.5em;
    line-height: 0.8;
    margin: .5em 0 0;
}

.category .entry-title a,
.archive .entry-title a,
.tag .entry-title a {
    text-decoration: none;
}

.entry-meta {
    font-size: .8em;
    color: #666;
}

.single .entry-meta {
    margin: 0 0 2em;
}

.entry-utility {
    background: #e0f0f5;
    margin: 1em 0;
    padding: .5em;
    display: flex;
    justify-content: space-around;
    border-radius: .33em;
}

h2 {
    font: normal 2.5em 'cortado';
    margin: .5em 0 0;
    color: #c43;
    line-height: 0.8;
}

abbr {
    text-decoration: none;
}

.sticky,
.bypostauthor {
    background: #eee;
    padding: 1em;
}

.wp-block-columns .wp-block-column {
    flex-basis: calc(50% - 2em);
}

.wp-block-columns .wp-block-column:not(:first-child) {
    margin-left: 4em;
}

.wp-block-columns .wp-block-column .wp-block-heading {
	margin: .5em 0;
}

.wp-block-button a {
    padding: .25em 1em;
    border-radius: .33em;
    text-decoration: none;
}

a.post-edit-link {
    color: #fff;
    background: #009fc9;
    display: inline-block;
    margin: .5em 0;
    padding: .25em 1em;
    border-radius: .33em;
    text-decoration: none;
}

.home a.post-edit-link {
    margin: .5em 1em;
}

table {
    margin: 30px 0;
    font-size: .9em;
    border-collapse: collapse;
}

table.no-borders {
    margin: 15px 0;
}

table thead tr {
    color: #fd0;
    background-color: #026;
    border-radius: .5em .5em 0 0;
}

table tr:nth-child(even) {
    background-color: #e0f0f5;
}

table.no-borders tr:nth-child(even) {
    background: none;
}

table td {
    padding: .5em .75em;
    border: 1px solid #026;
}

table.no-borders td {
    padding: .25em 0;
    border: none;
}

#content .mtli_attachment {
    background-position: right center;
}

#content .wp-block-file .wp-block-file__button {
    background: #fd0;
    color: #026;
    border-radius: .33em;
}

.accordion {
    background: #8ccadb;
    padding: .25em .5em;
    border-radius: .33em;
    cursor: pointer;
}

.accordion:after {
    content: '\f078';
    font: bold .8em 'Font Awesome 5 Free';
    color: #fff;
    float: right;
    margin: .5em 0;
    transition: transform .2s ease-in-out;
}

.accordion.active:after {
    transform: rotate(180deg);
}

.max-width-33-percent {
    max-width: 33%;
}

.max-width-50-percent {
    max-width: 50%;
}

.max-width-67-percent {
    max-width: 67%;
}

.max-width-75-percent {
    max-width: 75%;
}

aside,
.wp-block-uagb-google-map {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .33);
    margin: 0 0 2em;
}

aside h1,
aside h2,
aside h3,
aside h4 {
    margin-top: 0;
}

/* ==== UAGB TABLE OF CONTENTS BLOCK ==== */

#content .wp-block-uagb-table-of-contents .uagb-toc__wrap {
    background: #fff5ab;
    box-sizing: border-box;
    width: 50%;
    padding: 2em 2em 1em;
}

#content .wp-block-uagb-table-of-contents .uagb-toc__title-wrap {
    margin: -2em -2em 1em;
    padding: 1em 2em;
    background: #fd0;
    color: #c43;
    font-weight: bold;
    text-transform: uppercase;
}

#content .wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul.uagb-toc__list {
    padding: 0 0 0 1em;
}

#content .wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul.uagb-toc__list a {
    text-decoration: none;
}

#content .wp-block-uagb-table-of-contents .uagb-toc__list-wrap ul.uagb-toc__list a:hover {
    color: #009fc9;
    text-decoration: underline;
}

/* ==== DISPLAY POSTS PLUGIN ==== */

.home ul.display-posts-listing {
    padding: 0;
    list-style: none;
}

.home ul.display-posts-listing li {
    margin: 1.67em 0 0;
}

.home ul.display-posts-listing li a.title {
    display: block;
    color: #026;
    font-size: 1.25em;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.home ul.display-posts-listing li a.title:hover {
    color: #009fc9;
    text-decoration: underline;
}

/* ==== CONTENT COLOURS ==== */

.has-royal-blue-full-color {
    color: #026 !important;
}

.has-light-blue-full-color {
    color: #009fc9 !important;
}

.has-light-blue-tint-color {
    color: #8ccadb !important;
}

.has-red-shade-color {
    color: #810 !important;
}

.has-red-full-color {
    color: #c43 !important;
}

.has-red-tint-color {
    color: #E4A097 !important;
}

.has-yellow-full-color {
    color: #fd0 !important;
}

.has-yellow-tint-color {
    color: #fff5ab !important;
}

.has-green-full-color {
    color: #393 !important;
}

.has-green-tint-color {
    color: #c6e0c6 !important;
}

.has-black-color {
    color: #000 !important;
}

.has-light-grey-color {
    color: #ccc !important;
}

.has-royal-blue-full-background-color {
    background-color: #026 !important;
}

.has-light-blue-full-background-color {
    background-color: #009fc9 !important;
}

.has-light-blue-tint-background-color {
    background-color: #8ccadb !important;
}

.has-red-shade-background-color {
    background-color: #810 !important;
}

.has-red-full-background-color {
    background-color: #c43 !important;
}

.has-red-tint-background-color {
    background-color: #E4A097 !important;
}

.has-yellow-full-background-color {
    background-color: #fd0 !important;
}

.has-yellow-tint-background-color {
    background-color: #fff5ab !important;
}

.has-green-full-background-color {
    background-color: #393 !important;
}

.has-green-tint-background-color {
    background-color: #c6e0c6 !important;
}

.has-black-background-color {
    background-color: #000 !important;
}

.has-light-grey-background-color {
    background-color: #ccc !important;
}

/* ==== HOMEPAGE ==== */

.home .entry-title {
    display: none;
}

.blue-background .uagb-section__inner-wrap {
    padding: 1em 0 3em;
}

.blue-background h2 {
    margin-top: 1em;
    color: #fd0;
}

.programs-services {
    font-size: .9em;
}

.programs-services img {
    transition: transform .2s ease-in-out;
}

.programs-services img:hover {
    transform: scale(1.1);
}

.blue-background {
    background-size: 101% 100% !important;
}

.blue-background a {
    color: #fff;
    text-decoration: none;
}

.blue-background a:hover {
    text-decoration: underline;
}

.chiefs-councillors .uagb-section__inner-wrap {
    max-width: 1200px;
}

.chiefs-councillors .wp-block-image:not(.is-style-rounded) img {
    border-radius: 10px;
}

#findOnPageForm {
    text-align: right;
}

#findOnPageForm * {
    display: inline-block;
}

#findOnPageForm p {
    color: #cc4433;
    font-weight: bold;
}

#findOnPageForm input {
    font: normal 1em 'proxima-nova', sans-serif;
    padding: .25em .75em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#findOnPageForm input[type="submit"] {
    color: #fff;
    background-color: #029fc9;
    border-color: #029fc9;
    cursor: pointer;
    transition: all .2s ease;
}

#findOnPageForm input[type="submit"]:hover {
    background-color: #8ccadb;
    border-color: #8ccadb;
}

/* ==== THE EVENTS CALENDAR ==== */

/* Homepage Shortcode */

.tribe-events.tribe-events-view--shortcode .tribe-events-l-container {
    padding: 0;
    min-height: unset;
}

.tribe-events.tribe-events-view--shortcode .tribe-events-calendar-month__day {
    aspect-ratio: unset;
    min-height: unset;
    padding-top: 3em;
}

.tribe-events.tribe-events-view--shortcode .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date-daynum,
.tribe-events.tribe-events-view--shortcode .tribe-events-calendar-month__day-cell--selected:focus .tribe-events-calendar-month__day-date-daynum,
.tribe-events.tribe-events-view--shortcode .tribe-events-calendar-month__day-cell--selected:hover .tribe-events-calendar-month__day-date-daynum {
    color: #fff;
}

.tribe-events.tribe-events-view--shortcode .tribe-events-calendar-month-nav,
.tribe-events.tribe-events-view--shortcode .tribe-events-c-subscribe-dropdown__container {
    display: none;
}

/* ==== BUSINESS DIRECTORY ==== */

.business-directory .entry-content {
    width: 100%;
}

.business-directory .wpbdp-main-box,
.business-directory .wpbdp-bar {
    background: #e0f0f5;
    font: 500 1em proxima-nova, sans-serif;
    border-radius: .5em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .33);
    padding: 1em;
}

.business-directory .wpbdp-main-box .advanced-search-link {
    font-size: 1em;
    margin: .5em 0 1em;
}

.business-directory input,
.business-directory textarea,
.business-directory button,
.business-directory .button,
.business-directory select,
.business-directory .select2 .select2-selection .business-directory .listing-actions a.button {
    font: 500 1em proxima-nova, sans-serif !important;
    background: #fff;
    height: auto;
    padding: .25em .5em;
    border-radius: .33em !important;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.business-directory .select2-container--open .select2-selection {
    border-radius: .33em .33em 0 0;
}

.business-directory button,
.business-directory .button,
.business-directory input[type="button"],
.business-directory input[type="submit"],
.business-directory .listing-actions a.button {
    display: inline-block;
    color: #fff;
    background-color: #029fc9;
    border-color: #029fc9;
    margin: 0;
    padding: .25em 1em .25em 1em;
    cursor: pointer;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
}

.business-directory button:hover,
.business-directory .button:hover,
.business-directory input[type="button"]:hover,
.business-directory .listing-actions a.button:hover {
    color: #fff;
    background: #007cad;
    border-color: #007cad;
}

.business-directory input[type="submit"] {
    background-color: #393;
    border-color: #393;
}

.business-directory input[type="submit"]:hover {
    background-color: #282;
    border-color: #282;
}

.business-directory #wpbdp-submit-listing .wpbdp-submit-listing-form-actions {
    margin: 2em 0;
}

.business-directory #wpbdp-submit-listing .wpbdp-submit-listing-form-actions input[type="submit"] {
    float: none;
}

.business-directory .select2-container .select2-results {
    font-size: 1em;
}

.business-directory .select2-container .select2-dropdown {
    border-color: #ccc;
}

.business-directory .wpbdp-button-icon {
    display: none;
}

.business-directory .submit-btn .wpbdp-button-icon {
    margin-left: 2.75em;
}

.business-directory .listing-actions a.delete-listing,
.business-directory .listing-actions input.delete-listing {
    color: #fff !important;
    background-color: #c43 !important;
    border-color: #c43 !important;
}

.business-directory .listing-actions a.delete-listing:hover,
.business-directory .listing-actions input.delete-listing:hover {
    background-color: #a21 !important;
    border-color: #a21 !important;
}

.business-directory ul.wpbdp-categories {
    margin: 2em 0 !important;
}

.business-directory ul.wpbdp-categories li.cat-item {
    margin: .5em 0 0 2.5%;
    width: calc(33.3333% - 2.5%);
    font-size: .9em;
}

.business-directory ul.wpbdp-categories li.cat-item:nth-child(2n+1) {
    clear: none !important;
}

.business-directory ul.wpbdp-categories li.cat-item:nth-child(3n+1) {
    clear: left;
}

.business-directory .wpbdp-listing a:not(.wpbdp-button) {
    border-bottom: none;
}

.business-directory .wpbdp-listing a:not(.wpbdp-button):hover {
    text-decoration: underline;
}

.business-directory .wpbdp-listing .listing-thumbnail {
    margin: 0 1em 0 0;
}

.business-directory .wpbdp-listing .listing-details {
    margin: 0;
    overflow: auto;
}

.business-directory .wpbdp-listing-excerpt {
    padding: 1em 2em;
    border-bottom: solid 1px #ccc;
}

.business-directory .wpbdp-listing-excerpt.odd {
    background: #f1f1f1;
}

.business-directory .wpbdp-pagination {
    margin: 2em 0;
    padding: 1em 0;
    border-top: 1px dotted #ccc;
}

.business-directory .wpbdp-listing-contact-form {
	display: none;
    margin: 0;
    padding: 1em 0 0;
    border-top: dotted 1px #ccc;
}

.business-directory .wpbdp-listing-contact-form h3 {
    color: #c43;
    margin: 1em 0;
    font-size: 1.25em;
    text-transform: capitalize;
}

.business-directory .wpbdp-listing-contact-form label,
.business-directory .wpbdp-listing-contact-form .wpbdp-contact-listing-title {
    display: inline-block;
    font-weight: bold;
    margin: 0 .5em .5em 0;
}

.business-directory .wpbdp-listing-contact-form label[for="wpbdp-contact-form-message"]:after {
    content: ':';
}

/* ==== IMAGES / CAPTIONS ==== */

.wp-block-image figure figcaption {
    display: block !important;
    background: #026;
    color: #fff;
    font-size: .8em;
    text-align: center;
    margin: 0;
    padding: .5em;
}

.wp-block-gallery .blocks-gallery-image img,
.wp-block-gallery .blocks-gallery-item img {
    display: flex !important;
    height: 100% !important;
}

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    box-sizing: border-box;
}

/* ==== SIDEBAR ==== */

#sidebar {
    display: none;
}

#sidebar .widget-container {
    background: #eee;
    margin: 0 0 1em;
    padding: 1em;
}

#sidebar .widget-title {
    line-height: 1;
    margin: 0 0 1em;
}

#sidebar .widget_meta ul {
    list-style-type: disc;
}

/* ==== FOOTER ==== */

.footer-wrapper {
    background: url('images/bg_footer@2x.png') 0 0 no-repeat;
    background-size: 100% 100%;
}

#footer {
    background: none;
    padding: 1em 0 0;
    color: #fff;
    font-size: .8em;
}

#footer-widget-area ul.sid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#footer-widget-area .widget-container {
    padding: 1em;
    box-sizing: border-box;
}

#footer-widget-area .widget-title {
    margin: 0 0 1em;
}

a.back-to-top {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: .5em 1em;
    border: 1px solid #fd0;
    border-radius: .33em;
}

@media screen and (max-width: 1680px) {
    header ul li.widget-container.widget_nav_menu {
        max-width: none;
        margin: 0;
    }

    header ul li.widget-container:last-child {
        margin-right: 1vw;
    }

    #search-form {
        right: 0;
    }

    .wp-block-columns.features-row {
        background-size: 110% 48%;
    }
}

@media screen and (max-width: 1400px) {
    header ul li.widget-container.widget_nav_menu {
        max-width: 50%;
    }

    header ul li.widget-container:last-child {
        margin-right: 2vw;
    }

    #search-form {
        right: .5em;
    }

    .wp-block-columns .wp-block-column:not(:first-child) {
        margin-left: 2em;
    }

    .wp-block-columns.features-row {
        background-size: 110% 45%;
    }
}

@media screen and (max-width: 1280px) {
    .alignwide {
        max-width: calc(100% - 4em);
    }

    .banner .metaslider .caption-wrap .caption {
        font-size: 4vw;
    }

    .wp-block-columns.features-row {
        background-size: 110% 40%;
    }
}

@media screen and (max-width: 1024px) {
    body {
        font-size: 16px;
    }

    header ul li.widget-container.widget_nav_menu {
        max-width: 45%;
    }

    .wp-block-columns.features-row {
        background-size: 110% 44%;
    }

    .wp-block-columns.features-row p br {
        display: none;
    }

    .wp-block-columns.features-row p a {
        display: block;
    }

    #content {
        padding: 0 1em;
        min-width: calc(100% - 2em);
    }

    .home #content {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 0 0 4em;
    }

    header ul {
        justify-content: center;
    }

    header ul li.widget_text {
        flex-grow: 0;
    }

    header ul li.widget-container.widget_nav_menu {
        max-width: 87%;
    }

    ul.menu li a {
        font-size: 1.2em;
    }

    header ul li.widget-container:last-child {
        margin-right: 1vw;
    }

    .banner {
        padding-top: 15em;
    }

    .banner .metaslider .caption-wrap .caption {
        font-size: 4.25vw;
    }

    #content .wp-block-columns.features-row {
        background-image: none;
    }

    #content .wp-block-columns .wp-block-column {
        margin-left: 0;
        flex-basis: calc(50% - 1em);
    }

    #content .wp-block-columns.has-3-columns .wp-block-column {
        flex-basis: calc(33.3% - 1em);
    }

    #content .wp-block-columns .wp-block-column:nth-child(2n) {
        margin-left: 2em;
    }

    .home #content .news-events-columns .wp-block-column {
        flex-basis: 100%;
    }

    .home #content .news-events-columns .wp-block-column:nth-child(2n) {
        margin-left: 0;
    }

    .home #content div#tribe-events {
        max-width: 99%;
        /* Allows for borders */
    }

    #content .tribe-events-calendar td div[id*=tribe-events-daynum-],
    #content .tribe-events-calendar td div[id*=tribe-events-daynum-] a {
        text-align: left;
        overflow: hidden;
        margin: 0;
        padding: .25em;
    }

    #content .tribe-events-calendar .tribe-events-has-events:after {
        display: none;
    }

}

@media screen and (max-width: 425px) {
    header.widget-area,
    .home header.widget-area {
        position: static;
        background: #026;
        padding: 0 0 .5em;
    }

    header.widget-area ul {
        position: relative;
        justify-content: space-between;
        align-items: flex-end;
    }

    header.widget-area ul li.widget-container {
        margin: 1vw;
    }

    header.widget-area ul li.widget-container:first-child {
        max-width: 30%;
    }

    header.widget-area ul li.widget-container.widget_text {
        max-width: 70%;
        margin-left: 0;
    }

    header.widget-area ul li.widget-container.widget_text h1 {
        font-size: 2.5em;
    }

    header.widget-area ul li.widget-container.widget_nav_menu {
        max-width: 87%;
    }

    header.widget-area ul li.widget-container.widget_search {
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 2.5vw 5vw;
    }

    header.widget-area ul.menu li {
        margin: 0;
    }

    header.widget-area ul.menu li a {
        padding: .25em .67em;
    }

    header.widget-area ul.menu li.menu-item-has-children>a:after {
        margin: 0 0 0 1vw;
    }

    header.widget-area ul.sub-menu {
        left: 0;
        width: 100%;
        margin: .5em 0;
    }

    header.widget-area ul.sub-menu li.menu-item-has-children>a:after {
        content: '\f078';
    }

    header.widget-area ul.sub-menu ul.sub-menu {
        left: 0;
        margin: 0;
        position: static;
        box-shadow: none;
        background: #007cad;
        border-radius: 0;
        padding-left: 1em;
        box-sizing: border-box;
    }

    ul.sub-menu>li:first-child:before {
        display: none;
    }

    .banner {
        padding-top: 0;
    }

    .banner .metaslider .caption-wrap .caption {
        font-size: 1.8em;
        line-height: 1;
        padding: 0;
    }

    .banner .metaslider .caption-wrap .caption span.blue {
        display: inline-block;
        clear: left;
    }

    .banner .flex-control-paging li a {
        width: 8px;
        height: 8px;
    }

    #content .wp-block-columns .wp-block-column {
        margin-left: 0;
        flex-basis: 100%
    }

    #content .wp-block-columns .wp-block-column:not(:first-child),
    .home #content .news-events-columns .wp-block-column:nth-child(2n) {
        margin-left: 0;
    }

    #content .blue-background {
        background: #026 !important;
        padding: 1px 0 !important;
    }

    #content .uagb-columns__inner-wrap {
        display: flex !important;
        flex-wrap: wrap;
    }

    .programs-services .uagb-section__inner-wrap {
        padding: 1em 0;
    }

    .programs-services .wp-block-columns:not(.is-not-stacked-on-mobile) {
        gap: 1em;
        margin: 0 1em 2em;
        justify-content: space-around;
    }

    .programs-services .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 40% !important;
        flex-grow: 0;
    }

    .home #content div#tribe-events {
        max-width: 98%;
        /* Allows for borders */
    }

    #content .wp-block-columns.has-3-columns .wp-block-column {
        flex-basis: 100%;
    }

    #content .wp-block-image .alignleft,
    #content .wp-block-image .alignright {
        float: none;
        margin: 1em 0 !important;
    }

    .footer-wrapper {
        background: #000;
    }

    #footer-widget-area ul.sid {
        display: block;
    }

    #footer-widget-area ul.sid li.widget-container {
        text-align: center;
    }

    #footer-widget-area ul.sid li.widget-container a.back-to-top {
        display: inline-block;
    }

    #footer-widget-area ul.sid li.widget-container img.alignright {
        float: none;
        display: inline-block;
        margin: 1em 0 !important;
    }
}

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: .33em;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}