/* CSS Document */
@import 'bootstrap.min.css';

/*-------------
     Page
---------------*/
.header_top {
    display: flex;
    justify-content: flex-end;
    background: #cedfbc;
    /* padding: 0.8rem; */
    position: relative;
    z-index: 99999999999;
    padding-right: 1rem;
    height: 58px;
}

.homepage .hero__bg img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo img {
    max-width: 300px;
}

.logo-text {
    display: block;
    font-size: 1.5em;
    padding-left: 1em;
}

.logo-text span {
    display: block;
}

span.logo-text__line1 {
    font-size: 1.8em;
    font-weight: 900;
    line-height: 1;
}

span.logo-text__line2 {
    line-height: 1;
    font-size: 0.8em;
    font-weight: 900;
}

.header_top_inner {
    display: flex;
}

ul.navigation_extra.list-inline {
    margin: 0;
    list-style: none;
    padding-left: 0;
}

a.features_nav_item {
    color: #606060;
    /* padding: 1rem; */
    width: 3rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.features_nav_item:hover {
    color: black;
}

ul.features_nav {
    display: flex;
    list-style: none;
    padding-left: 0;
}

.page {
    display: flex;
    flex-direction: column;
    /* margin-top: 58px; */
    background: rgb(255 255 255);
}

.page main {
    order: unset;
}

.page #services {}

body#homepage,
.page-content.homepage {
    background: white;
}

.page footer {
    order: 5;
}


/*--------------
     Header
----------------*/
.logo_caption .pre {
    font-family: 'Satisfy';
    font-weight: 700;
    line-height: 1;
    font-size: clamp(12px, 1.5vw, 19px);
}

.logo_caption h1 {
    line-height: 1;
    margin: 0;
}

.logo_caption h1 span {
    font-family: 'muli';
    font-size: 1rem;
    margin-left: 0.6rem;
}

.logo {
    width: auto;
    position: relative;
    z-index: 9999999999;
    /* background: white; */
    overflow: hidden;
    /* margin: auto; */
}

header.stuck {
    position: fixed !important;
    top: 0em !important;
    width: 100% !important;
    left: 0 !important;
}

header {
    /* order: 1; */
    min-height: 58px;
    background: white;
    width: 100%;
    box-shadow: 0 2px 18px #0000003d;
    z-index: 999999999;
    top: 0;
}

header#home {
    top: 0em !important;
    width: 100%;
    left: 0;
    position: fixed !important;
}

/* Navigation color accents */
ul.level-0.mr-navbar-nav>li:not(.more-menu)>a {
    border-bottom: 6px solid transparent;
}

ul.level-0.mr-navbar-nav>li:not(.more-menu):nth-of-type(5n + 1)>a {
    background: rgba(58, 104, 143, 0.3);
    border-bottom-color: #3a688f;
}

ul.level-0.mr-navbar-nav>li:not(.more-menu):nth-of-type(5n + 2)>a {
    background: rgba(73, 138, 61, 0.3);
    border-bottom-color: #498a3d;
}

ul.level-0.mr-navbar-nav>li:not(.more-menu):nth-of-type(5n + 3)>a {
    background: rgba(168, 175, 69, 0.3);
    border-bottom-color: #a8af45;
}

ul.level-0.mr-navbar-nav>li:not(.more-menu):nth-of-type(5n + 4)>a {
    background: rgba(226, 187, 92, 0.3);
    border-bottom-color: #e2bb5c;
}

ul.level-0.mr-navbar-nav>li:not(.more-menu):nth-of-type(5n)>a {
    background: rgba(114, 181, 179, 0.3);
    border-bottom-color: #72b5b3;
}

.mr-header-wrap {
    padding: 0;
}

h1.logo {
    background: NONE;
    margin-left: 0 !important;
    width: calc(100% - 77px);
    height: 45px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    left: calc(50% + 30px);
    background: transparent;
    padding: 3px 5px;
    transform: translate(-50%, 0px);
    box-shadow: none;
    padding: 0;
    margin: 0;
}

h1.logo a {
    display: flex;
    height: 100%;
    color: #54534a;
    text-decoration: none;
    align-items: center;
    margin-right: 100px;
}

h1.logo a span {
    line-height: 1;
    margin-top: 3px;
}

#secondary header#home {
    height: 58px;
    background-image: none;
}


.mr-navbar-brand {
    width: calc(100% - 120px);
    padding-left: 58px;
    display: flex;
    height: 58px;
    align-items: center;
    /* background: white; */
    justify-content: center;
    position: fixed;
    top: 0;
}

img.logo_img {
    height: 100%;
}

img.mobile {
    display: block;
    height: 58px;
}

img.desktop {
    width: 132px !important;
    height: auto;
    display: block;
    max-width: calc(100vw - 180px);
}

.mr-navbar-subpanel {
    justify-content: space-between;
    padding-top: 0;
}

.header_extra {
    /* display: none; */
}


.mr-navbar-upper .list-inline {
    margin: 0;
    opacity: 1;
    visibility: visible;
    list-style: none;
    transition: .0s opacity ease;
}

.mr-upper-toggle {
    display: flex;
    align-items: center;
    background: transparent;
    cursor: pointer;
    width: 48px;
    height: 48px;
    text-align: center;
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 9999999999999;
    border: 1px solid transparent;
    border-radius: 3px;
    display: none;
}

.mr-upper-toggle span {
    width: 58px;
    padding: 0.1em;
    background: transparent;
}

.mr-upper-toggle span:before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 99999;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/ellipsis-vertical.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/ellipsis-vertical.svg') no-repeat center / contain;
}

.showupper .mr-upper-toggle span:before {
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/xmark.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/xmark.svg') no-repeat center / contain;
}

#sticky-wrapper {
    height: auto !important;
}

.mr-navbar-upper {}

.showupper .mr-navbar-upper {
    display: flex;
}

/*--------------
    Navigation
----------------*/


.mr-navbar-nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    margin: 0;
    background: var(--mr-color-light);
    /* z-index: 0; */
    /* display: none; */
    /* visibility: hidden; */
    transition: .3s all ease;
    width: 250px;
    margin-top: 58px;
    padding: 0;
    transform: translate(-100%, 0px);
    transition: .3s all ease;
    box-shadow: none !important;
    overflow: auto;
}

.mr-navbar-outer {
    position: fixed;
    z-index: 999;
}

.mr-navbar-inner {
    position: fixed;
    width: 100%;
    background: rgb(255, 255, 255);
    z-index: 9999;
    box-shadow: 0 5px 20px #0000003d;
    padding: 0;
    top: 0 !important;
    height: 58px !important;
}

ul.level-0.mr-navbar-nav {
    flex-direction: column;
    font-size: 6vw;
    min-height: 100%;
    justify-content: flex-start;
    padding: 0;
    /* opacity: 0; */
    /* transform: translate(0,100px); */
    transition: .0s all ease;
    overflow: auto;
    /* background: #eeeded; */
    margin: 0;
}

.showmenu ul.level-0.mr-navbar-nav {
    transition: .3s all .2s ease;
    opacity: 1;
    transform: translate(0, 0px);
}

.mr-navbar-brand nav {
    flex-grow: 1;
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 1)>a {
    background: var(--mr-color-primary-tint);
    border-bottom-color: var(--mr-color-primary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 2)>a {
    background: var(--mr-color-secondary-tint);
    border-bottom-color: var(--mr-color-secondary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 3)>a {
    background: var(--mr-color-tertiary-tint);
    border-bottom-color: var(--mr-color-tertiary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 4)>a {
    background: var(--mr-color-quaternary-tint);
    border-bottom-color: var(--mr-color-quaternary);
}

ul.level-1.rd-navbar-dropdown {
    position: relative;
    width: 100%;
    min-width: unset;
    color: black;
    opacity: 1;
    visibility: visible;
    background: rgba(251, 248, 229, 0.5);
    box-shadow: none;
    border-top: 0;
}

ul.level-0.mr-navbar-nav li {
    margin: 0 0;
    position: relative;
    /* width: 100%; */
    text-align: left;
    line-height: 1;
    padding: 0;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
}

ul.level-0.mr-navbar-nav li a {
    font-size: 0.85rem;
    font-weight: 900;
    display: flex;
    text-align: left;
    padding: 0 1.4rem;
    /* height: 100%; */
    align-items: center;
    color: #000000;
    font-family: var(--mr-font-heading);
    text-transform: none;
    justify-content: flex-start;
    text-decoration: none;
}

ul.level-0.mr-navbar-nav .current-parent>a {
    background: transparent;
    /* padding-left: 1em; */
}

ul.level-0.mr-navbar-nav .current-parent>.subnav_toggle {
    color: black;
}

span#nav_slide_hover_bg {
    display: none;
}

span#nav_slide_hover {
    display: none;
}

li.current.current-item:after {
    content: '';
    /* border-left: 6px solid rgb(71 71 63); */
    width: 0;
    height: 100%;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translate(0, 50%);
    z-index: 9;
}

.mr-navbar-toggle {
    display: flex;
    background: transparent;
    cursor: pointer;
    width: 60px;
    height: 58px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999999;
    color: #79ae5b;
}

.mr-navbar-toggle span:before {
    content: '';
    position: relative;
    z-index: 99999;
    width: 1.4rem;
    height: 1.4rem;
    background-color: rgb(12 61 99);
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/bars.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/bars.svg') no-repeat center / contain;
}

.showmenu .mr-navbar-toggle span:before {
    width: 1rem;
    height: 1rem;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/xmark.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/xmark.svg') no-repeat center / contain;
}

.mr-navbar-toggle span {
    width: 60px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

ul.level-1 {
    position: relative;
    /* background: var(--mr-color-secondary); */
    box-shadow: none;
    padding: 0 0 0 1rem;
    list-style: none;
}

ul.level-0.mr-navbar-nav .current-parent>a:before {
    content: none;

}

ul.level-0.mr-navbar-nav li.has_subnav:hover>a:after {
    /* color: white; */
}

.showmenu .mr-navbar-toggle {
    /* width: 100vw; */
    /* height: 100vh; */
    position: fixed;
    transform: translate(0px, 0px);
    top: 0;
    background: transparent;
    color: rgb(12 61 99);
}

ul.level-0.mr-navbar-nav a:hover {
    transition: .3s all ease;
}

.level-0 li span.subnav_toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 3.6rem;
    width: 3.6rem;
    background: #0000000f;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s all ease;
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--mr-color-accent);
}

ul.level-0.mr-navbar-nav li.has_subnav>a {
    /* padding-right: 4.25rem; */
    /* display: block; */
}

ul.level-1.mr-navbar-dropdown {
    height: 0;
    overflow: hidden;
}

.level-0>li>span.subnav_toggle:before {
    content: '';
    transition: .2s all ease;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/caret-down.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/caret-down.svg') no-repeat center / contain;
}



span.subnav_toggle.active:before {
    transform: rotate(-180deg);
}

ul.level-0.mr-navbar-nav li li a {
    font-size: clamp(16px, 1vw, 16px);
    font-family: var(--mr-font-main);
    font-weight: 400;
    color: var(--mr-color-dark);
}

li.navitemid-26.has_subnav {
    position: relative !important;
}

/*--------------
     Banner
----------------*/

section#banner {
    background-color: var(--mr-color-medium);
}

body#secondary #banner {}

/* Homepage hero */
.homepage .hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 30vw;
    width: 100%;
}

.homepage .hero__bg,
.homepage .hero__bg>div {
    position: absolute !important;
    inset: 0;
    /* background-size: cover; */
    /* background-position: center; */
    /* transform: scale(1.02); */
}

.homepage .hero__overlay {
    /* position: absolute; */
    /* inset: 0; */
    background: linear-gradient(180deg, rgba(7, 30, 51, 0.4) 0%, rgba(7, 30, 51, 0.75) 100%);
}

.homepage .hero__content {
    position: relative;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    color: white;
    /* max-width: 1000px; */
    width: 100%;
}

.homepage .hero .eyebrow {
    letter-spacing: 0.08em;
    font-weight: 700;
    margin: 0 0 1rem;
    font-size: 1rem;
}

.homepage .hero h1 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0;
    text-transform: uppercase;
}

.homepage .quick-links {
    position: relative;
    margin-top: -5em;
    z-index: 5;
}

.homepage .quick-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    width: min(1350px, 96%);
    margin: 0 auto;
    justify-items: center;
}

.homepage .quick-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    height: 10em;
    width: 10em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #0c3d63;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.homepage .quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.homepage .quick-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    /* background: #f1f7fb; */
    color: #0c3d63;
    margin-bottom: 0.5rem;
}

.homepage .quick-card__icon .icon {
    width: 3em;
    height: 3em;
}

.homepage .quick-card__label {
    line-height: 1;
    font-size: 1em;
}

.homepage .home-panels {
    width: min(1340px, 96%);
    margin: 3rem auto 2rem;
    display: grid;
    gap: 4%;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.home-panels__column {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.homepage .panel {
    background: white;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    /* border-radius: 10px; */
    /* padding: 1.75rem; */
    /* border-top: 4px solid var(--mr-color-secondary); */
}

.homepage .panel h2 {
    font-size: clamp(24px, 4vw, 32px);
    border-bottom: 4px solid #0c3d63;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.homepage .panel__image img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin-top: 1rem;
    max-height: 240px;
    margin: auto;
    object-fit: cover;
}

.homepage .updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    /* gap: 1rem; */
}

.homepage .updates-list li a {
    display: grid;
    grid-template-columns: 5em 1fr;
    gap: 1em;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 0.4rem 0.1rem;
    /* border-bottom: 1px solid #dce5ec; */
}

.homepage .updates-list li a.no-thumb {
    grid-template-columns: 1fr;
    gap: 0.4em;
}

.homepage .updates-list li:last-child a {
    border-bottom: none;
}

.homepage .updates-list__thumb {
    width: 5em;
    height: 5em;
    border-radius: 8px;
    overflow: hidden;
    background: #e6eef3;
}

.homepage .updates-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage .updates-list__meta strong {
    display: block;
    font-size: 1.5em;
    margin-bottom: 0.2em;
    color: #0c3d63;
    line-height: 1;
}

ul.updates-list li {
    padding: 1em 0;
    border-bottom: 1px solid #d6d6d6;
}

.homepage .updates-list__meta small {
    color: #4b4b4b;
    font-weight: 600;
    line-height: 1.2;
    display: block;
    font-size: 0.9em;
}

.homepage .panel__cta {
    text-align: center;
    margin-top: 1.8em;
}

/* News listing styling scoped to section 95 */
body.section-95 .mr-nav-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

body.section-95 .mr-nav-tiles>li {
    background: #fff;
    border: 1px solid #e1e6eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    width: 100%;
}

body.section-95 .mr-nav-tiles>li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

body.section-95 .mr-nav-tiles a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

body.section-95 .mr-nav-tiles .tile_image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eef3f6;
    overflow: hidden;
}

body.section-95 .mr-nav-tiles .tile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.section-95 .mr-nav-tiles .nav-item-details {
    padding: 1rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

body.section-95 .mr-nav-tiles .pagename {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0c3d63;
    line-height: 1.3;
}

body.section-95 .mr-nav-tiles .pagedescription {
    font-size: 0.95rem;
    color: #3c4a55;
}

body.section-95 .mr-nav-tiles>li.active,
body.section-95 .mr-nav-tiles>li.current-item {
    border-color: #0c3d63;
    box-shadow: 0 12px 30px rgba(12, 61, 99, 0.15);
}

body.section-95 .mr-nav-tiles>li.tile_spacer {
    display: none;
}

/* Resources: hide tile images */
body.section-102 .mr-nav-tiles .tile_image {
    display: none;
}

body.section-95 .nav_tiles .pagename::before {
    display: none;
}

.homepage .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    background: #0c3d63;
    color: white;
    /* border-radius: 30px; */
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.contact-links {
    background: #27364a;
    color: white;
    margin-top: 4rem;
    padding: 2.5rem 1rem;
}

.contact-links__inner {
    width: min(1200px, 96%);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    grid-template-columns: 2fr 1fr;
}

.contact-links h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: white;
    border-bottom: 3px solid white;
}

.contact-block__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-block__content {
    /* display: grid; */
    gap: 0.15rem;
    /* font-size: 0.95rem; */
}

.contact-block__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-block__content ul li {
    margin-bottom: 0.2rem;
}

.contact-block__content ul li:last-child {
    margin-bottom: 0;
}

.contact-block a {
    color: white;
    /* font-weight: 700; */
    text-decoration: none;
}

.contact-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-link .label,
.contact-link .value {
    display: none;
}

.contact-link:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--mr-color-primary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
    z-index: 1000;
}

/* Header contact icons as circles with tooltip */
header .header_buttons .phone_numbers,
header .header_buttons .email_address {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
}

header .header_buttons .phone_numbers li,
header .header_buttons .email_address li {
    position: relative;
    margin: 0;
    gap: 1.4em;
}

header .header_buttons .phone_numbers .label,
header .header_buttons .phone_numbers .value,
header .header_buttons .email_address .label,
header .header_buttons .email_address .value {
    display: none;
}

header .header_buttons .phone_numbers a,
header .header_buttons .email_address a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    position: relative;
}

header .header_buttons .phone_numbers .icon-circle,
header .header_buttons .email_address .icon-circle {
    display: none;
}

header .header_buttons .phone_numbers a::after,
header .header_buttons .email_address a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -0.4rem;
    left: 50%;
    transform: translate(-50%, 100%);
    background: var(--mr-color-primary);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 1000;
}

header .header_buttons .phone_numbers a:hover::after,
header .header_buttons .email_address a:hover::after {
    opacity: 1;
    visibility: visible;
}

header .header_buttons .header-icon-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    position: absolute;
    inset: 0;
    background: #0c3d63;
    border-radius: 50%;
}

.header_buttons {
    display: flex;
    position: relative;
    z-index: 999999999999999;
}

.header_buttons>div {
    padding: 0;
}

header .header_buttons .header-icon-placeholder::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #ffffff;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 60%;
    mask-size: 60%;
}

header .header_buttons .contact-block__item .header-icon-placeholder::before {
    -webkit-mask-image: url('https://static.mrwebsites.ca/icon/fa/solid/phone.svg');
    mask-image: url('https://static.mrwebsites.ca/icon/fa/solid/phone.svg');
}

header .header_buttons .email_address .header-icon-placeholder::before {
    -webkit-mask-image: url('https://static.mrwebsites.ca/icon/fa/solid/envelope.svg');
    mask-image: url('https://static.mrwebsites.ca/icon/fa/solid/envelope.svg');
}

.links-block h3 {
    /* font-size: 24px; */
    margin: 0 0 0.5em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.links-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-block li+li {
    /* margin-top: 0.75rem; */
}

.links-block a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.links-block a:hover,
.contact-block a:hover {
    text-decoration: underline;
}

.links-block .links-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* width: 36px; */
    /* height: 36px; */
    border-radius: 50%;
    /* background: #0c3d63; */
    color: #fff;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
    font-size: 0.8rem;
    font-weight: 400;
    gap: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
}

.links-block .links-more .icon {
    min-width: 0.7em;
    min-height: 0.8em;
    height: 0.8em;
}

.links-block .links-more:hover svg {
    transform: translateX(2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .homepage .hero {
        min-height: 360px;
    }

    .contact-links__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .homepage .quick-links {
        margin-top: -2rem;
    }

    .homepage .home-panels {
        margin-top: 2rem;
    }

    .homepage .hero__content {
        padding: 3rem 1rem 2rem;
    }
}

img.background_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
}

h2.banner_caption {
    border: 0;
    text-align: center;
    font-family: var(--mr-font-heading);
    text-transform: uppercase;
    color: white;
    font-size: clamp(20px, 3vw, 50px);
    margin: 0;
    padding: 1rem;
}

/* -------------- 
    4. Contacts
 ---------------- */

.contact-block {
    display: flex;
    flex-wrap: wrap;
}

.contact-block h3 {
    width: 100%;
    color: white;
}

.contact-block__items {
    flex-grow: 1;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #ffffff;
    color: #27364a;
    flex-shrink: 0;
    padding: 0.6em;
    align-self: flex-start;
}

.contact_address:before {
    content: '';
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/location-dot.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/location-dot.svg') no-repeat center / contain;
}

.contact_mail:before {
    content: '';
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/envelope.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/envelope.svg') no-repeat center / contain;
}

.contact_phone:before {
    /* content: '\f095'; */
    font-weight: 900;
}

.contact_facebook:before {
    content: '';
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/brands/facebook-f.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/brands/facebook-f.svg') no-repeat center / contain;
}

.contact_email:before {
    content: '';
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/envelope-open-text.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/envelope-open-text.svg') no-repeat center / contain;
}

.contact_cell:before {
    content: '';
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/mobile-screen-button.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/mobile-screen-button.svg') no-repeat center / contain;
}

.contact_fax:before {
    content: '';
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/fax.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/fax.svg') no-repeat center / contain;
}

.contact_fax {
    display: flex;
    margin-bottom: .5em;
}

.inline *[class^="contact_"]+*[class^="contact_"] {
    margin-left: 2em;
}

section#contactbar {
    background: #8cc83a;
    color: white;
    font-family: var(--mr-font-main);
    font-weight: 700;
}

.contactbar_item {
    display: flex;
    align-items: center;
}

.contactbar_item .icon {
    font-size: 3.2em;
}

.contactbar_item .info {
    padding: 1em;
    text-transform: uppercase;
    font-size: .8em;
    white-space: nowrap;
}

.contactbar_item .info a {
    color: white;
    text-transform: none;
    font-size: 1.5em;
}








/* --------------------
    5. Social media 
 ---------------------- */

.social_links a {
    text-decoration: none;
}

.social_links {
    display: flex;
}

.social_links a {
    text-decoration: none;
    min-width: 1.6rem;
    min-height: 1.6rem;
    /* background: rgb(255, 255, 255); */
    /* border-radius: 50%; */
    /* margin: 0 0.5em; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-decoration: none !important;
    color: #005ba1;
    font-size: 1.2em;
}

.social_links a.link_btn i {
    color: #5b9dba;
    font-size: 1em;
    margin: 0;
}







/* ----------------
    6. Headings 
 ------------------ */

h2 {
    font-size: 2vw;
    color: var(--mr-color-primary);
    /* margin-top: 1em; */
    border-bottom-width: 0;
    border-color: var(--mr-color-primary) !important;
    border-bottom-style: solid;
    text-align: left;
    text-transform: none;
}

h3 {
    font-size: 1.4vw;
    color: var(--mr-color-accent);
}

h4 {
    font-size: clamp(1.2rem, 1.5vw, 22px);
    text-transform: none;
    font-weight: 700;
}


.heading_withlink {
    display: flex;
    align-items: center;
    /* margin-top: 0; */
    border: 0;
    white-space: nowrap;
    /* flex-wrap: wrap; */
    background: #79ae5b;
    padding: 0.6rem;
    color: white;
    text-transform: uppercase;
    font-size: 1.4rem;
}


.heading_withlink .header_link {
    text-decoration: none;
    font-weight: 600;
    margin-left: auto;
    margin-top: 0;
}

.heading_withlink span {
    flex-grow: 1;
}

main.page-content h1:after,
main.page-content .about_mission h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    /* border-bottom: 3px solid; */
}

.aboutus h1 {
    color: black;
}

main.page-content h1 span.small {
    display: block;
    font-size: 0.4em;
    line-height: 1;
    margin-top: .3em;
}

main.page-content h1 {
    padding-bottom: 0.3em;
    line-height: 1;
    /* margin-bottom: 0.7em; */
    margin-top: .5rem;
    /* text-transform: uppercase; */
}

.heading_withsubhead span::before {
    content: '';
    height: 2rem;
    border-left: 1px solid var(--mr-color-accent);
    margin-left: 2rem;
    padding-left: 2rem;
}

.heading_withsubhead span {
    font-weight: 400;
    color: var(--mr-color-accent);
    font-size: 0.6em;
    flex-grow: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.heading_withsubhead {
    display: flex;
    align-items: center;
    overflow: hidden;
}





/* ------------ 
    7. Footer
--------------- */

.footer_logo_wrapper {
    background: #e5e3db;
    border-radius: 50%;
    width: clamp(120px, 10vw, 200px);
    height: clamp(120px, 10vw, 200px);
    margin: 1em auto 1em;
}

.footer_copyright p {
    margin: 0;
    font-size: 0.8em;
}

footer.page-footer {
    color: black;
    font-family: var(--mr-font-main);
    /* font-size: 0.93em; */
}

footer.page-footer .navigation_extra {
    /* border-top: 3px solid #999999; */
    /* border-bottom: 3px solid #999999; */
    padding: 0;
    list-style: none;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

footer.page-footer ul li {
    /* border-bottom: 1px solid #999999; */
    /* padding: .4em 0; */
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
    width: 100%;
}

footer.page-footer ul li span+span {
    justify-self: flex-end;
    text-align: right;
}

.footer_social {
    padding-top: 1em;
}

.footer_hours header {}

.footer_contact .logo {
    max-width: 100%;
    padding: 1em 0;
}

section.footer_content a .value {
    text-decoration: underline;
}

section.footer_content a .label {
    color: black;
    font-family: var(--mr-font-accent);
    /* margin-left: 0.5em; */
}

.footer_contact .logo img {
    max-width: 70%;
}

section.footer_copyright {
    background: #c2cedb;
    text-align: left;
    color: var(--mr-color-contrast);
    padding: 1rem;
    font-family: var(--mr-font-main);
    font-size: 1.1rem;
    /* border-top: 1px solid var(--mr-color-accent); */
    text-align: center;
}

footer.page-footer header {
    font-size: 1.6em;
    font-weight: 400;
    line-height: 1;
    padding-bottom: .2em;
    margin-bottom: 0.6em;
    color: rgb(255 255 255);
    text-transform: uppercase;
    font-family: var(--mr-font-accent);
    position: relative;
}

section.footer_content div[class*="col"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* max-width: 320px; */
    /* min-width: 300px; */
}

.footer_hours li {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.footer_content a {
    /* display: inline-flex; */
    /* text-decoration: none; */
    /* white-space: nowrap; */
    /* color: var(--mr-color-accent); */
    /* font-family: var(--mr-font-main); */
    /* padding: 0; */
}

.footer_content_inner h2 {
    border: 0;
}

section.footer_content .navigation_extra a::before {

    font-size: 1.5rem;

    margin-right: 0.5rem;
}

section.footer_copyright a {
    color: var(--mr-color-dark);
    text-decoration: underline;
}

.footer_contact .contact_item:first-of-type {
    padding-top: 1em;
}

.footer_contact .contact_address {
    margin-bottom: 1em;
    padding-left: 2.4em;
    position: relative;
}

.footer_hours .hours_item {
    padding-top: 1em;
}

.footer_hours .hours_item:first-of-type .label {
    display: block;
}

.footer_hours .hours_item .label {
    font-weight: 700;
}

footer.page-footer header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    border-bottom: 3px solid;
    display: none;
}

img.footer_logo {
    width: 100%;
    max-width: 340px;
    margin: 2rem auto 2rem;
    /* display: block; */
    /* background: #e5e3db; */
    /* border-radius: 50%; */
    /* margin: -12% 0 0 -1%; */
}

.footer_logo_txt {
    font-family: var(--mr-font-accent);
    text-align: center;
    width: 100%;
}

.footer_map {
    padding-top: 1em;
    height: 100%;
    width: 100%;
    position: relative;
}

.footer_contact {
    margin-top: 1em;
}

.footer_copyright_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


.footer_info {
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

footer.page-footer .navigation_extra a {
    padding: 1rem 1.5rem;
    font-weight: 700;
}



/* -------------------------
    8. Section: Services 
---------------------------- */


section#services {
    color: white;
    background: #9e9e9e;
    /* padding: 3em 3em 1em 3em; */
    text-align: center;
}

.services_wrapper {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.services_item {
    min-width: 400px;
    margin: 2rem;
    text-decoration: none;
    text-align: center;
    flex-grow: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.services_img {
    background: #444141;
    border-radius: 2rem;
    padding: 2rem;
    width: 100%;
    height: clamp(130px, 9em, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    /* box-shadow: 0 2px 10px black; */
    transition: .3s all ease-in;
    backface-visibility: hidden;
    position: relative;
}

.services_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

h5.services_title {
    color: var(--mr-color-light);
    margin: 0;
    font-size: 1em;
    line-height: 1;
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

p.services_description {
    font-size: 1rem;
    color: black;
    line-height: 1;
}

.services_wrapper a:hover .services_img {
    /* transform: scale(1.3); */
    /* box-shadow: 5px 5px 20px rgb(0 0 0 / 32%); */
    /* transition: 4.2s all cubic-bezier(0.03, 0, 0, 0.21); */
}

section#services .large_btn {
    color: white;
    display: inline-block;
    margin: 0 0 3em;
    padding: 1.2em 3em;
    width: auto;
}

.services_info {
    padding-top: 2em;
}

.mceContentBody .services_list a {
    color: black;
}

section#secondary-content .services_list a {
    color: black;
}












/* ------------- 
    9. Buttons 
 --------------- */

a.btn {
    font-family:
        var(--mr-font-accent);
    margin-top: 1em;
    text-transform: uppercase;
    width: 100%;
    font-weight: 600;
    font-style: normal;
    z-index: 1;
    font-size: 1rem;
    background: transparent;
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    border-radius: 0;
    padding: 1rem 3.5rem;
    max-width: 30rem;
    border: 1px solid var(--mr-color-primary);
    color: var(--mr-color-primary);
    transition: .25s;
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin-bottom: 0;
}

.large_btn {
    color: #8cc83a;
    padding: 1.5em 1.9em;
    display: block;
    font-family: var(--mr-font-main);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.1em;
    letter-spacing: 0.2em;
    transition: .3s all ease;
}

.large_btn:hover {
    text-decoration: none;
    opacity: .9;
}

.outline {
    border: .2em solid;
}

a.link_btn {
    color: white;
    /* font-weight: 900; */
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1.2em;
    margin: 0 .5em;
}

a.link_btn i {
    border-radius: 50%;
    color: white;
    font-size: 0.65em;
    margin-right: 0.5em;
}












/* -----------------
    10. Secondary 
 ------------------- */


#secondary header#home {}


#secondary .mr-navbar-inner {
    /* height: 12vw; */
}

#secondary .mr-navbar-inner {
    /* background-image: url(/images/headerbackground.jpg); */
    /* background-size: cover; */
    /* background-attachment: fixed; */
    /* background-repeat: repeat; */
}

#secondary h1.logo .desktop {
    /* padding-top: 10%; */
    /* width: 10vw; */
}

body#secondary #banner h1 {
    color: white;
    font-size: 1em;
    font-weight: 400;
}

body#secondary #banner {}

body#secondary h1,
body#secondary h2,
body#secondary h3,
body#secondary h4,
body#secondary h5,
body#secondary h6 {
    /* color: rgb(0, 0, 0); */
}

#secondary main.page-content {
    /* padding-top: 12vw; */
}


/* --------------------
    11. Page Listings 
 ---------------------- */


ul.sitemap li>a,
.search_result_link {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    text-decoration: none;
    background: #f0f0f0;
    box-shadow: 3px 3px 10px #00000029;
    padding: 0.5em;
    border: 3px solid transparent;
    position: relative;
    /* align-items: center; */
    text-decoration: none !important;
    position: relative;
}

.sitemap_pagetitle,
.search_result_link h2 {
    display: block;
    font-size: 1.5em;
    font-family: var(--mr-font-heading);
    color: black;
    line-height: 1;
    margin-bottom: 0.25em;
    margin-top: 0.5rem;
    border: 0;
    font-weight: 700;
    text-align: left;
    padding: 0;
}

ul.sitemap,
ul.sitemap ul {
    list-style: none;
    position: relative;
    margin-top: 1em;
}

.sitemap_pagedescription,
.search_result_link p {
    font-weight: 400;
    color: #4c4c4c;
    font-size: 0.8em;
    margin: 0;
    /* flex-grow: 1; */
}

ul.sitemap li>a:hover,
.search_result_link:hover {
    border: 3px solid var(--mr-color-accent);
}

ul.sitemap ul li:before {
    content: '';
    border-left: 2px solid var(--mr-color-accent);
    position: absolute;
    left: -0.7em;
    height: calc(100% + 2em);
}

ul.sitemap ul li:after {
    content: '';
    border-bottom: 2px solid var(--mr-color-accent);
    position: absolute;
    left: -0.7em;
    height: 1px;
    width: 0.7em;
    top: 50%;
}

ul.sitemap ul li {
    position: relative;
    margin-bottom: 0.6em;
}

ul.sitemap li,
.search_result_link {
    margin-bottom: 1em;
}

ul.sitemap ul li:last-of-type:before {
    height: calc(50%);
}

ul.sitemap {
    padding: 0;
}

ul.sitemap ul li ul li:last-of-type {
    margin-bottom: 1.2em;
}

ul.sitemap ul li.has_subnav:after {
    display: none;
}

ul.sitemap ul li.has_subnav>a:before {
    content: '';
    border-bottom: 2px solid var(--mr-color-accent);
    position: absolute;
    left: calc(-0.7em - 3px);
    height: 1px;
    width: 0.7em;
    top: 50%;
}

ul.sitemap li.has_subnav ul li:first-of-type:before {
    height: calc(50% + 0.75em);
    top: -1em;
    height: calc(100% + 2em);
}


ul.sitemap ul li.has_subnav ul li+li:last-of-type:before {
    height: calc(50% + 0em);
}

ul.sitemap ul li.has_subnav ul li+li:before {
    top: 0;
}

ul.sitemap ul li.has_subnav ul li:last-of-type:before {
    height: calc(50% + 1em);
}

.search_result_details time {
    color: black;
    font-size: .9rem;
}

.result_events_details {
    display: flex;
    margin-top: 0.4rem;
}

.result_events_date:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/calendar-days.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/calendar-days.svg') no-repeat center / contain;
    margin-right: 0.3em;
}

.result_events_details>div {
    margin-right: 2rem;
    color: var(--mr-color-contrast);
    font-size: 1rem;
}

/* --------------------
    12. Additional 
 ---------------------- */








/* ----------------
    13. Custom 
 ------------------ */




footer.page-footer header {
    margin-top: 1em;
}

.social_links li a:before {
    margin-right: .5rem;
    font-weight: 900;
}



.contactbar_item {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.contactbar_item .info {
    font-size: 1em;
    padding: 0 0 1em 0;
}

.contactbar_item .info a {
    font-size: 1.8em;
}

.services_list {
    font-size: 1.2em;
}

.logo_caption h1 {
    white-space: nowrap;
}

h2 {
    font-size: clamp(24px, 3vw, 2.5rem);
    line-height: 1;
    padding-bottom: 1.3rem;
}

h2 span.smaller {
    display: block;
    line-height: 1;
    font-size: 0.57em;
}

h3 {
    font-size: clamp(1.6rem, 2vw, 30px);
    font-family: var(--mr-font-heading);
    margin: 0.5rem 0 1rem;
    text-transform: none;
}



main.page-content {
    display: flex;
    flex-direction: column;
}

#secondary main.page-content {
    padding-top: 0 !important;
}

.services_list li {
    padding-top: 1em;
}

section#services .services_info .large_btn {
    width: 100%;
}

.mr-navbar-contact {
    display: none;
}

.footer_hours {
    margin: 2em 0;
}

.footer_copyright p {
    font-size: .9em;
    flex-grow: 1;
}

.mr-contact-bar {
    width: 58px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    height: 58px;
    z-index: 3;
}

.mr-contact-bar a span {
    display: none;
}

a.mr_phone i {
    padding: .8em 0.9em;
    font-size: 1.4em;
}

#homemain .largeimage,
#missionstatment .largeimage {
    display: none;
}

.stuck h1.logo {
    height: 45px;
}



.services_list a {
    width: 43%;
    min-width: 280px;
}

.new_dropdown {
    right: -50%;
}

.rd-navbar-nav-wrap .uppernav {
    padding-bottom: 30px;
}


.facebook_dropdown .new_dropdown {
    min-width: 280px;
    width: auto;
}

.calendar_dropdown .new_dropdown,
.facebook_dropdown .new_dropdown {
    display: none;
}

.calendar_dropdown:hover,
.facebook_dropdown:hover {
    /* background:#da9c60; */
    color: black;
}

.calendar_dropdown:hover .new_dropdown,
.facebook_dropdown:hover .new_dropdown {
    display: block;
}


.header_social {
    display: none;
}

.logo a {
    display: flex;
    width: 100%;
    transform: translate(0, 0%);
    text-decoration: none;
    /* color: black !important; */
    align-items: center;
    justify-content: center;
    text-overflow: ellipsis;
}

.mr-navbar-upper {
    position: fixed;
    width: 280px;
    right: 0;
    top: 58px;
    flex-direction: column;
    font-size: 1em;
    display: none;
    top: 58px;
    right: 0;
    height: auto;
    justify-content: stretch;
    /* border: 1px solid #272764; */
    background: white;
    box-shadow: 0 1rem 2rem 0 #00000026;
    z-index: 888888888888;
}

.contact-info.inline {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    vertical-align: middle;
    flex-direction: row;
    flex-direction: column;
    /* align-items: flex-start; */
}

.inline *[class^="contact_"]+*[class^="contact_"] {
    margin: 0;
}



@media (max-width: 566px) {
    .services_list a {
        /* width: 100%; */
        /* display: flex; */
        /* align-items: center; */
        text-align: left;
        justify-content: flex-start;
        margin-bottom: 2em;
    }

    .services_list a span.services_img {
        /* max-width: 60px; */
        /* max-height: 60px; */
        margin: 0;
        /* margin-right: 1em; */
    }

    section#services {
        color: white;
        /* padding: 3em 1.6em 1em 1.6em; */
    }

    ul.sitemap li>a,
    .search_result_link {
        flex-direction: column;
    }

    .search_result_img {
        width: 100% !important;
        margin-right: 0 !important;
        max-width: none !important;
    }

    .search_result_details {
        flex-grow: 1;
        width: 100%;

    }

    .search_result_img {
        position: relative !important;
        height: 8rem !important;
    }

    .search_result_img::before {
        display: none;
    }

    .heading_withsubhead span {
        margin-top: 0.4rem;
    }

    .heading_withsubhead span::before {
        display: none;
    }

    .heading_withsubhead {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .heading_withlink {
        align-items: center;
    }

    .heading_withlink .header_link {
        font-size: 0.3em;
        padding: 0.5rem;
    }
}

.footer_map {
    position: relative;
    height: 100%;
    width: 100%;
}

div#map_canvas {
    min-height: 480px;
    width: 600px;
    position: relative !important;
    /* inset: 0; */
    width: 100%;
    margin-bottom: 2rem;
}




.sitemap_pageurl {
    color: darkgray;
    font-size: .8rem;
    line-height: 1;
    margin-bottom: 0.3rem;
    /* font-style: italic; */
    /* margin-top: 1rem; */
}

.search_result_img+.search_result_details .sitemap_pageurl {
    /* margin-top: 1rem; */
}

/* Loading spinner */


.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid var(--mr-color-accent);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--mr-color-accent) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}








/* REMOVE WHEN GALLEY GETS ADDED */
.images_icon::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/image.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/image.svg') no-repeat center / contain;
}

.image_results_swiper {
    height: auto;
}

.image_results_swiper .swiper-slide {
    max-width: 15rem;
}

.swiper-slide.gallery_link {
    height: auto;
    background: transparent;
    width: 10rem;
}

.swiper-slide.gallery_link a i {
    background-color: var(--mr-color-accent);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 2rem;
}

.swiper-slide.gallery_link a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
}

.swiper-slide.gallery_link a span {
    text-decoration: underline;
    margin-top: .3rem;
}

.search_results_section.image_results {
    position: relative;
}

.image_results .swiper-button-next,
.image_results .swiper-button-prev {
    background: #ededed;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    box-shadow: 0rem 0.2rem 0.4rem #00000054;
}

.image_results .swiper-button-prev,
.image_results .swiper-rtl .swiper-button-next {
    left: -1.5rem;
    right: auto
}

.image_results .swiper-button-prev:after,
.image_results .swiper-rtl .swiper-button-next:after {
    content: 'prev'
}

.image_results .swiper-button-next,
.image_results .swiper-rtl .swiper-button-prev {
    right: -1.5rem;
    left: auto
}

.image_results .swiper-button-next:after,
.image_results .swiper-rtl .swiper-button-prev:after {
    content: 'next'
}

.image_results_wrapper {
    position: relative;
}

.image_results .swiper-button-next.swiper-button-disabled,
.image_results .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
    cursor: auto;
    pointer-events: none
}

.image_results .swiper-button-next:after,
.image_results .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 1rem;
    text-transform: none !important;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 1
}

header .social_links li a:before {
    font-size: 1.3rem;
}


a.more_link {
    text-align: right;
    display: block;
    width: 100%;
    color: black;
    font-family: var(--mr-font-heading);
    font-weight: 900;
    text-decoration: none;
}

footer .social_links a {
    color: black;
    margin: 0 2rem 2rem;
    font-size: 2.5rem;
}

a.more_link::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/chevron-right.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/chevron-right.svg') no-repeat center / contain;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

footer .social_links.list-inline {
    margin: 0;
}

section.footer_content a:hover {
    text-decoration: unset;
}

header ul.navigation_extra li {
    /* margin-left: 1.5rem; */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

header ul.navigation_extra li a::before {
    margin-right: 0;
    font-size: 1.4rem;
}

@media(max-width:415px) {
    .logo_caption h1 span {
        font-size: 10px;
        margin: 5px;
    }
}

@media(max-width:365px) {
    .logo_caption h1 span {
        display: none;
    }
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 1) {
    border-bottom-color: var(--mr-color-primary);
    border-bottom-width: 5px;
    border-bottom-style: solid;
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 2) {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-secondary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 3) {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-tertiary);
}

.color_theme .level-0.mr-navbar-nav>li:nth-of-type(4n + 4) {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-quaternary);
}

ul.level-1.mr-navbar-dropdown {
    background: var(--mr-color-accent);
}



h3.nav_header {
    font-family: var(--mr-font-heading);
    border-bottom: 3px solid #000000;
    font-size: 1.5rem;
}

.nav_tiles .mr-nav-tiles {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto;
    gap: 1rem;
}

.nav_tiles .mr-nav-tiles li a {
    display: flex;
    text-decoration: none;
    width: 100%;
    padding: 2rem 3rem 2rem 2rem;
    background: whitesmoke;
    border-radius: 1rem;
    box-shadow: 0 10px 20px #00000024;
    gap: 2rem;
    height: 100%;
    align-items: center;
}

.nav_tiles .mr-nav-tiles li {
    display: flex;
    /* margin-top: 0.9em; */
    flex-direction: column;
    border-radius: 0;
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    /* margin: 1rem; */
    flex-grow: 1;
    width: 30%;
    min-width: 280px;
}

.nav_tiles .mr-nav-tiles .pagename {
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
}

.nav_tiles .mr-nav-tiles li.tile_spacer {
    box-shadow: none;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    min-width: 280px;
    min-height: unset;
}

.nav_tiles .mr-nav-tiles li:hover {
    /* border: 3px solid var(--mr-color-accent); */
}

.nav_tiles .mr-nav-tiles li.active.current-item {
    display: none;
}

/* Override nav tiles layout for news listing (section 95) */
body.section-95 .nav_tiles .mr-nav-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 0;
}

body.section-95 .nav_tiles .mr-nav-tiles li {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
}

body.section-95 .nav_tiles .mr-nav-tiles li.tile_spacer {
    display: none;
}

.nav-item-details {
    flex-grow: 1;
    width: 100%;
    text-align: left;
    display: block;
}

span.pagedescription {
    font-size: 1rem;
    text-transform: none;
    font-weight: 400;
    margin: 0;
    /* text-align: center; */
    /* display: -webkit-box; */
    /* -webkit-line-clamp: 3; */
    /* -webkit-box-orient: vertical; */
    /* overflow: hidden; */
    line-height: 1.1;
    position: relative;
    z-index: 9;
    width: 100%;
    display: block;
    color: grey;
    margin-top: 0.5rem;
}

.nav_tiles .mr-nav-tiles li a .pagedescription {
    /* height: 0; */
    /* overflow: hidden; */
    /* color: black; */
}

#homesections .nav_tiles .mr-nav-tiles li a .pagedescription {

    padding: 0 1rem 0 3.5rem;
}

.nav_tiles .mr-nav-tiles li:hover a .pagedescription {
    /* height: 6rem; */
    /* transition: .3s all ease; */
    /* margin: 0.5rem; */
    /* flex-grow: 1; */
    /* width: 100%; */
    /* text-align: center; */
    /* margin: 0; */
    /* color: black; */
}

#homesections .nav_tiles .mr-nav-tiles li:hover a .pagedescription {

    padding: 0 1rem 0 3.5rem;

}

.nav_tiles .mr-nav-tiles li:hover a::before {
    /* content: ''; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* background: var(--mr-color-secondary-murky); */
    /* z-index: 1; */
}

.nav_tiles .mr-nav-tiles li:hover::before {
    opacity: .5;
    transition: .7s opacity ease;
}

.nav_tiles .mr-nav-tiles li:hover a .pagename {
    background: transparent;
    /* flex-grow: 1; */
    /* display: flex; */
    /* align-items: flex-end; */
}

ul.level-0.mr-navbar-nav>li>a span {
    /* vertical-align: middle; */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* background: white; */
    position: relative;
    z-index: 1;
    padding: 2px;
}


li li.has_subnav>a>span {
    position: relative;
    padding-right: 1.4rem;
    width: 100%;
    display: block;
}

li.products_item a img {
    width: 300px;
    height: 300px;
    flex-grow: 1;
    padding-bottom: 2rem;
    flex-grow: 1;
    object-fit: contain;
    object-position: center;
    transition: .3s all ease;
    margin: auto;
}

ul.products_wrapper {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--mr-color-accent);
    margin-bottom: 2rem;
}

li.products_item {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 2rem;
}

li.products_item a {
    /* flex-grow: 1; */
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.products_item .detail_style {
    background: var(--mr-color-primary);
    width: fit-content;
    margin: auto;
    border-radius: 1rem;
    padding: 0 1rem;
    color: black;
    font-family: var(--mr-font-accent);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.products_item .detail_name {
    color: black;
}

li.products_item a:hover img {
    transform: scale(1.05);
}

footer.page-footer .navigation_extra a span {
    text-decoration: underline;
    font-weight: 400;
}

section#homemain {
    padding-bottom: 0;
}

section#productlistings {
    padding-bottom: 0;
}

section#productlistings .products_wrapper {
    margin-bottom: 0;
}



/* BREADCRUMBS */


.breadcrumbs a {
    font-size: 1rem;
    text-decoration: none;
    text-transform: none;
    color: #000000;
}

.breadcrumbs li::after {
    content: '/';
    margin: 0 0.8rem;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    display: block;
}

.breadcrumbs ul li {
    display: inline-block;
}

.breadcrumbs ul li:last-of-type::after {
    content: '';
}

.breadcrumbs {
    /* display: none; */
    background-color: #f7f7f7;
    padding: 1.9rem 4vw 0.9rem;
    color: #434343;
    text-transform: none;
    font-weight: 800;
}

@media (min-width: 768px) {
    .breadcrumbs {
        display: block;
    }

}


.links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 1vw;
    margin-top: 1vw;
    text-align: center;
    font-family: var(--mr-font-accent);
    font-weight: 900;
}

.links a {
    background: black;
    padding: 1vw;
    margin: 1vw;
    border-radius: 3em;
    color: #ff6600;
    text-decoration: none;
    -webkit-box-shadow: 0px 0px 0px rgb(0 0 0);
    box-shadow: 0px 0px 0px rgb(0 0 0);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    text-align: center;
    flex-grow: 1;
    text-transform: uppercase;
}

.links a:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0px 7px 10px rgb(0 0 0 / 27%);
    box-shadow: 0px 7px 10px rgb(0 0 0 / 27%);
}

a.custom-branded {
    display: block;
    margin: auto;
    text-align: center;
    max-width: 480px;
    width: 100%;
    background: lightgray;
    padding: 1vw;
    border-radius: 3em;
    margin-top: 1vw;
    margin-bottom: 2vw;
    text-decoration: none;
    color: #ff6600;
    -webkit-box-shadow: 0px 0px 0px rgb(0 0 0 / 72%);
    box-shadow: 0px 0px 0px rgb(0 0 0 / 72%);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--mr-font-accent);
}

.links a.custom-branded {
    margin: 1vw;
}

.decoration-pics {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.decoration-pics img {
    margin: .25rem;
    width: calc(33.3% - .5rem);
    max-width: max-content;
}

.search_style {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.banner_caption {
    color: white;
    text-align: left;
    position: relative;
    padding: 4vw;
    max-width: 70%;
    min-width: 320px;
    font-size: clamp(13px, 2vw, 1.75rem);
    line-height: 1.2;
}

.banner_caption h2 {
    text-align: left;
    color: white;
    text-transform: none;
    font-size: clamp(22px, 4vw, 3.5rem);
    border: 0;
}

a.btn:hover {
    color: white;
    background: var(--mr-color-accent);
}

.header_inner {
    z-index: 99999999999999;
    /* position: relative; */
    display: flex;
}

.subscribe_wrapper {
    background: #e7e7e7;
}

.form_item.checkbox label input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 9;
}

.form_item.checkbox {
    position: relative;
    font-size: 1.3rem;
}

.form_item.checkbox label span.label {
    padding-left: 3rem;
    display: block;
}

.form_item.checkbox label input+span::before {
    content: '';
    width: 2rem;
    height: 2rem;
    background: #b8b8b8;
    position: absolute;
    left: 0;
    border: 7px solid #b8b8b8;
}


button {
    background: var(--mr-color-primary);
    padding: 1.5rem;
    width: 100%;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    border: 0;
    outline: 0;
    position: relative;
}

button #loading,
.loading_spinner {
    padding: 0;
}

.form_item.checkbox label input:checked+span::before {
    background: var(--mr-color-tertiary);
}

.footer_links {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem 1.5vw;
}

.footer_links a {
    /* width: 300px; */
    font-size: 20px;
    /* background: #e7e7e7; */
    /* margin: .5rem 1rem; */
    display: flex;
    align-items: center;
    /* color: grey !important; */
    flex-grow: 1;
    font-weight: 500;
    gap: 0.6rem;
}

.footer_links a::before {
    font-size: 2.4rem;
    /* padding: 1rem; */
    color: var(--mr-color-primary);
    /* border-right: 1px solid grey; */
    /* margin-right: 1rem; */
    /* min-width: 72px; */
    /* text-align: center; */
}

.footer_links a:hover span {
    text-decoration: underline;
}

.videopopup .overlay_ico {
    position: absolute;
    inset: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videopopup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videopopup .overlay_ico::before {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--mr-color-yellow);
    border-radius: 50%;
    color: var(--mr-color-yellow);
    text-shadow: 0 0 10px black;
    box-shadow: 0 0 10px black;
    background: #0000008c;
}

.videopopup:hover .overlay_ico {
    transform: scale(1.1);
    transition: .1s all ease;
}

.home_aside {
    border-left: 5px solid var(--mr-color-accent);
    padding-left: 2vw;
    margin-left: 0vw;
}

.tile_image {
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* width: 100%; */
    height: 100%;
    width: 200px;
    height: 200px;
    flex-grow: 1;
}

.tile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.opportunities_comp {
    color: grey;
    font-size: 0.8em;
}

.opportunities_title {
    color: var(--mr-color-accent);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.opportunities_pos {
    color: grey;
    font-size: .9em;
}

a.opportunities_more {
    background-color: var(--mr-color-accent);
    color: white;
    text-transform: uppercase;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.3rem 1rem;
    border-radius: .3rem;
    margin: 0.4rem 0 1.5rem;
    display: flex;
    width: fit-content;
}

.opportunities_widget_wrapper {
    border-bottom: 1px solid #e6e5e5;
}

a.opportunities_viewall {
    display: block;
    text-align: right;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

a.opportunities_viewall i {
    font-size: 0.8em;
}

.sections_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: -0.5rem;
}

a.sections_item {
    width: calc(30% - .5rem);
    min-width: 295px;
    margin: 0.5rem;
    flex-grow: 1;
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.sections_item.nations {
    background: var(--mr-color-primary);
}

a.sections_item.programs {
    background: var(--mr-color-tertiary);
}

a.sections_item.entities {
    background: var(--mr-color-secondary);
}

.sections_details h5 {
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    font-size: clamp(14px, 1.3vw, 24px);
}

.sections_img {
    width: clamp(80px, 14vw, 130px);
    padding: 2vw .5rem;
    position: relative;
}

.sections_img img {
    width: 85%;
    height: auto;
    margin: auto;
    display: block;
}

p.sections_description {
    margin: 0;
    line-height: 1.1;
    font-size: clamp(14px, 1vw, 1.2rem);
}

.sections_details {
    padding: 1rem;
    position: relative;
}

.sections_img::before {
    content: '';
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    display: block;
    background: #ffffff40;
}

section#sections {
    padding: 4vw 4vw 2vw;
}

.sections_item:hover .sections_title::after {
    content: '';
    width: 100%;
}

.sections_item .sections_title::after {
    content: '';
    width: 0;
    height: 1px;
    background: white;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: .3s all ease;
}

.sections_item:hover .sections_img img {
    transition: .3s all ease;
    transform: scale(1.05);
}

a.opportunities_more:hover i {
    transition: .3s all ease;
    transform: translate(50%, 0px);
    display: block;
    margin-left: 0.4rem;
}

a.opportunities_more i {
    display: block;
    margin-left: 0.4rem;
}

.banner_caption p {
    /* max-width: 70%; */
}

.news_description {
    font-size: clamp(16px, 1.5vw, 1.3rem);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.columns_wrapper {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
}

.columns_side {
    width: 300px;
    min-width: 210px;
    max-width: 320px;
    flex-grow: 1;
    /* position: sticky; */
    /* top: 0; */
    margin-right: 2vw;
    border-right: 5px solid var(--mr-color-accent);
    padding-right: 2vw;
}

.columns_side_inner {
    /* position: sticky; */
    /* top: 120px; */
}

.columns_wrapper .columns_main {
    width: 75%;
    flex-grow: 1;
    padding: 0 2vw 2vw;
    /* margin-left: 2vw; */
    /* border-left: 5px solid var(--mr-color-accent); */
}



.accordion_header {
    background: var(--mr-color-accent);
    color: white;
    padding: 0.5rem 3.3rem 0.5rem 1rem;
    margin-bottom: .5rem;
    position: relative;
    cursor: pointer;
}

.accordion_header::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/plus.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/plus.svg') no-repeat center / contain;
    position: absolute;
    right: 1rem;
}

.accordion_body {
    display: none;
}

.accordion_header.active::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/minus.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/minus.svg') no-repeat center / contain;
}

.program_item .label {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--mr-color-accent);
    line-height: 1;
}

.program_item {
    margin-bottom: 1rem;
    line-height: 1.1;
}

.program_map {
    position: relative;
    /* padding-bottom: 100%; */
    height: 250px;
}

.program_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

img.programs_headphoto {
    margin-bottom: 1rem;
    max-width: 450px;
    width: 100%;
}

/* .accordion_body {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem; 
}

.accordion_body .accordion_readmore {
    display: block;
}

a.accordion_readmore {
    margin-bottom: 1rem;
    display: block;
    color: grey;
    cursor: pointer;
}

.accordion_body_outer.expanded .accordion_body {
    display: block !important;
}

.accordion_body_outer.expanded a.accordion_readmore {
    display: none;
} */
.accordion_header {
    background: var(--mr-color-accent);
    color: #fff;
    padding: .5rem 3.3rem .5rem 1rem;
    margin-bottom: .5rem;
    position: relative;
    cursor: pointer;
}

.accordion_header::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/plus.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/plus.svg') no-repeat center / contain;
    position: absolute;
    right: 1rem;
}

.accordion_body {
    height: 6em;
    overflow: hidden;
    display: block !important;
    position: relative;
    /*    padding-right: 1rem; space for ellipsis */
}

/* .accordion_body::after {
    content: "..."; 
    position: absolute;
    bottom: 0;
    right: 0;
    display: n;
} */

.accordion_readmore {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
    color: gray;
    cursor: pointer;
    height: 8rem;
    margin-top: -6rem;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    position: relative;
}

.accordion_readmore.expanded {
    background: transparent;
    height: auto;
    margin: 0;
    margin-bottom: 2rem;
}


.program_item a {
    color: black;
    text-decoration: none;
}

.program_item a:hover {
    color: var(--mr-color-accent);
    text-decoration: underline;
}

a.videopopup.search_result_link {
    justify-content: flex-start;
}

.footer_content_inner {
    display: flex;
    flex-wrap: wrap-reverse;
}

@media (max-width: 767px) {
    .columns_wrapper {
        flex-direction: column;
    }

    .columns_side {
        width: 100%;
        max-width: none;
    }

    .columns_wrapper .columns_main {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
        border-left: 0;
    }
}

.program_map #map-canvas {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
}

.accordion_wrapper {
    margin-top: 2rem;
}

.external_link::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/up-right-from-square.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/up-right-from-square.svg') no-repeat center / contain;
    margin-right: .5rem;
    font-size: 1rem;
    text-decoration: none;
}

a.external_link {
    text-decoration: none;
}

a.external_link span {
    text-decoration: underline;
}




#banner img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 40vw;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.breadcrumbs li:not(:last-child):after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--mr-color-accent);
    border-right: 2px solid var(--mr-color-accent);
    margin: 0 1rem;
    transform: rotate(45deg);
    position: relative;
    top: -1px;
}

.breadcrumbs h2 {
    padding: 0;
    color: var(--mr-color-accent);
}



section#homesections {
    padding: 4vw;
}

#homepage .nav_tiles {
    margin: 1rem;
}

.footer_content_inner>div {
    padding: 4vw;
    width: 50%;
    min-width: 320px;
    flex-grow: 1;
}

.footer_content_right {
    display: flex;
    align-items: center;
}

.easyedit_editable h2 {
    border-bottom: 3px solid var(--mr-color-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

section#homesections .pagename {
    text-align: left;
    padding-left: 3.5rem;
}

.nav_tiles .pagename::before {
    position: absolute !important;
    top: 50%;
    transform: translate(0px, -50%);
    right: 1rem;
    width: 1rem;
    text-align: center;
    margin-left: .5rem;
    content: '';
    display: inline-block;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/chevron-right.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/chevron-right.svg') no-repeat center / contain;
}


section#homesections .pagedescription {
    text-align: left;
    width: 100%;
}

section#slideshow {
    position: relative;
    /* height: 37.5vw; */
    min-height: calc(458px + 1vw);
}

.edit_slideshow {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999999;
    background: #77b9e5;
    border-radius: 2rem;
    padding: 1rem;
    border: 3px solid;
    color: white;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10rem black;
    cursor: pointer;
}

.edit_slideshow::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/pen.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/pen.svg') no-repeat center / contain;
    margin-right: 1rem;
}

.nav_tiles {
    /* margin-top: 2vw; */
    padding: 0 4vw 2vw;
}

.public_eventinfo>div {
    position: relative;
}

.public_eventbody {
    margin-top: 1em;
    margin-bottom: 1em;
}

.rb_group {
    padding-bottom: 1em;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    z-index: 9;
}

.rb_group .rb_button input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 999;
    cursor: pointer;
}

.rb_group .rb_button span {
    font-size: .9em;
    padding: 0 1em 0 1.8em;
    background: rgb(235, 235, 235);
    border-radius: 2em;
    margin-right: 1em;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    z-index: -1;
}

.rb_group .rb_button span:before {
    content: '';
    position: absolute;
    left: .5em;
    top: 50%;
    width: 1em;
    height: 1em;
    transform: translateY(-50%);
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/regular/circle.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/regular/circle.svg') no-repeat center / contain;
}

.rb_group .rb_button input+span:after {
    content: '';
    position: absolute;
    left: .7em;
    font-size: 0.6em;
    padding-top: .5em;
    padding-left: .45em;
    overflow: hidden;
    width: 0;
    opacity: 0;
    -webkit-transition: .2s width linear;
    -o-transition: .2s width linear;
    transition: .2s width linear;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/check.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/check.svg') no-repeat center / contain;
}

.rb_group .rb_button input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 999;
    cursor: pointer
}

.rb_group .rb_button span {
    font-size: .9em;
    padding: 0.2em 1em 0.2em 1.8em;
    background: #ebebeb;
    border-radius: 2em;
    margin-right: 0.4em;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    z-index: -1;
    color: black;
}

.rb_group .rb_button span:before {
    content: '';
    position: absolute;
    left: .5em;
    opacity: 0.3;
    top: 50%;
    width: 1em;
    height: 1em;
    transform: translateY(-50%);
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/regular/circle.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/regular/circle.svg') no-repeat center / contain;
}

.rb_group .rb_button input:hover+span {
    background: #d8d8d8
}

.rb_group .rb_button input:checked+span {
    background: rgb(197 198 128);
    color: black;
}

.rb_group .rb_button input+span:after {
    content: '';
    position: absolute;
    left: 0.7em;
    top: 0.4em;
    font-size: 0.6em;
    padding-top: 0.4em;
    padding-left: .45em;
    overflow: hidden;
    width: 0;
    opacity: 0;
    -webkit-transition: .2s width linear;
    -o-transition: .2s width linear;
    transition: .2s width linear;
    color: #feffd4;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/check.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/check.svg') no-repeat center / contain;
}

.rb_group .rb_button input:checked+span:after {
    width: 2em;
    opacity: 1;
}

label.rb_button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    position: relative;
    margin-bottom: .3rem;
}

.public_eventinfo input,
.public_eventinfo textarea,
.public_eventbody input,
.public_eventbody textarea,
.public_eventinfo select {
    width: 100%;
    margin-bottom: 1.2em;
}

.translate_button,
button.translate_button {
    background: transparent;
    color: var(--mr-color-accent);
    border: 0;
    font-family:
        'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.05rem;
    margin-left: auto;
    display: block;
    cursor: pointer;
    padding: 0;
}

.translate_button::before,
button.translate_button::before {
    content: '';
    margin-right: 0.3rem;
    font-weight: 900;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/language.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/language.svg') no-repeat center / contain;
}

.public_eventinfo.contact_col {
    width: 100%;
}

.datepickwrap input {
    width: calc(100% - 3em);
    margin-bottom: 1.2em;
}

.datepickwrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

span.formnote {
    position: absolute;
    bottom: 0em;
    font-size: 0.7em;
    /* font-style: italic; */
    color: rgb(186, 186, 186);
    left: 15px;
}

.datepickwrap i {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 1.65em;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 2em;
    cursor: pointer;
    font-size: 1em;
}

article.news_item.featured {
    width: 100%;
    position: relative;
    padding-bottom: 45%;
}

article.news_item.featured img {
    width: 100%;
}

article.news_item.featured .news_details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    background: black;
    background: linear-gradient(0deg, rgb(39 38 38) 0%, rgba(0, 0, 0, 0) 100%);
    margin: 0;
    padding: 2rem;
    justify-content: flex-end;
    z-index: 99999;
    color: white;
}

article.news_item.featured a.news_img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

article.news_item {}

.news_description p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin: 0.4em 0;
    color: grey;
}

.featured a.news_title {
    color: white;
    margin: 0;
}

.featured span.news_date {
    color: white;
}

.featured .news_description p {
    color: #d1d0d0;
}

.featured a.news_title {
    font-size: 1.5em;
}

a.news_title:hover {
    color: grey;
}

.featured a.news_title:hover {
    color: white;
}

section#news .heading_withlink::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/newspaper.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/newspaper.svg') no-repeat center / contain;
    margin: 0 0.3em;
}

section#events .heading_withlink::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/calendar-days.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/calendar-days.svg') no-repeat center / contain;
    margin: 0 0.3em;
}

section#events {
    padding: 0;
}


.news_item>a {
    width: 9em;
    height: 7em;
    position: relative;
}

.news_item>a img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a.header_link.btn {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background-color: #79ae5b;
    border: 0;
    color: white;
    text-align: right;
}

a.header_link.btn::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/share-nodes.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/share-nodes.svg') no-repeat center / contain;
    position: absolute;
    right: 2em;
    transition: .3s all ease;
}

a.header_link.btn:hover::after {
    right: 1.5em
}

section#gallery .header_link.btn {
    width: auto;
    background: transparent;
    color: grey;
    text-transform: none;
    padding-right: 2em;
    font-size: 0.6em;
}

section#gallery .heading_withlink {
    background: transparent;
    color: grey;
    font-size: 1.5em;
}

section#gallery .header_link.btn::after {
    display: none;
}

section#events .container-fluid,
section#events .container-fluid .row,
section#events .container-fluid .row>div {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer_link::before {
    background-color: var(--mr-color-primary);
    color: white;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0.4rem;
    font-size: 1rem;
    margin-top: -0.2rem;
    content: '';
    width: 2rem;
    height: 2rem;

}

.footer_link {
    padding-left: 3rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-bottom: 1.2rem;
}

.contact_address span.streetaddress::after,
.contact_address span.city::after {
    content: ', ';
    margin-right: 0.3rem;
}

.contact_address span::after {
    content: ' ';
    margin-right: 0.3rem;
}

.phone_numbers li a .icon,
.social-links li a .icon {
    position: absolute;
    left: 0.4rem;
    background-color: var(--mr-color-primary);
    color: white;
    min-width: 2rem;
    min-height: 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: -0.2rem;
}

ul.phone_numbers,
ul.social-links {
    position: relative;
    /* padding-left: 3rem; */
    margin: 0;
}

ul.phone_numbers a {
    white-space: nowrap;
    display: flex;
    flex-direction: row-reverse;
    text-align: left;
    justify-content: flex-end;
}

ul.phone_numbers .value {
    margin-right: 0.4rem;
}

ul.phone_numbers .label::before {
    content: '(';
}

ul.phone_numbers .label::after {
    content: ')';
}

.contact_phone {
    padding-bottom: 1.2rem;
}

ul.social-links a {
    color: var(--mr-color-primary) !important;
}

.slideshow_caption h2 {
    color: #3b3e3c;
}

.slideshow_caption a.btn {
    border-color: black;
    color: black;
}

.is_stuck .easy-autocomplete-container {
    bottom: calc(100% + 1rem);
    top: auto;
}

.cmsmasters_profile_vertical .profile_inner {
    display: block;
    width: 100%;
}

.cmsmasters_profile_vertical .pl_img_wrap+.cmsmasters_profile_header_wrap {
    padding: 0 0 0 7.5%;
    width: 29%;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap {
    display: inline-block;
    width: 47.8%;
    vertical-align: middle;
    position: relative;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_contact_info {
    padding-top: 20px;
    white-space: nowrap;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_contact_info>span {
    display: block;
    padding: 1px 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_contact_info>span>a span,
.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_contact_info>span>span span {
    margin-left: 10px;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_contact_info>span>a:before,
.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_contact_info>span>span:before {
    font-size: 12px;
    vertical-align: middle;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .cmsmasters_profile_header {
    padding: 0;
    position: relative;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .cmsmasters_profile_header .cmsmasters_profile_subtitle {
    margin: -3px 0 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .cmsmasters_profile_header .cmsmasters_profile_title {
    margin: 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons {
    position: relative;
    overflow: hidden;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .cmsmasters_profile_header+.profile_social_icons {
    margin: 10px 0 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list li {
    display: inline-block;
    margin: 0 7px;
    padding: 0;
    position: relative;
    vertical-align: middle;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list li:first-child {
    margin: 0 7px 0 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list li:last-child {
    margin: 0 0 0 7px;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list li:before {
    display: none;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list a {
    font-size: 17px;
    line-height: 20px;
    display: block;
    width: 1em;
    height: 1em;
    position: relative;
}

.cmsmasters_profile_vertical .cmsmasters_profile_header_wrap .profile_social_icons_list a:before {
    width: 1em;
    height: 1em;
    margin: auto !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.cmsmasters_profile_vertical .cmsmasters_profile_content {
    display: inline-block;
    width: 52.2%;
    vertical-align: middle;
    position: relative;
    padding: 0 0 0 8.9%;
    overflow: hidden;
}

.cmsmasters_profile_vertical .cmsmasters_profile_content p {
    margin: 0;
    padding: 0;
}

.section-31 .nav_tiles .mr-nav-tiles li {
    width: 300px;
    flex-direction: column;
    flex-grow: 0;
}

.section-31 .nav_tiles .mr-nav-tiles li a {
    flex-direction: column;
    gap: 1rem;
}

.section-31 .nav_tiles .mr-nav-tiles .pagename {
    font-size: 1em;
}

.section-31 .tile_image {
    width: 100%;
    height: 340px;
}

.section-31 .nav_tiles .mr-nav-tiles {
    justify-content: center;
    align-items: center;
}

.section-31 .nav_tiles .mr-nav-tiles li.tile_spacer {
    display: none;
}

.nav_tiles.nav_31 h3.nav_header {
    font-size: clamp(24px, 3vw, 2.5rem);
    line-height: 1;
    padding-bottom: 1.3rem;
    border-bottom: 3px solid var(--mr-color-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.section-31 h2 {
    margin-bottom: 0;
}

.section-31 h4 {
    margin-bottom: 2em;
}

a.weatherwidget-io {
    margin-top: 1rem;
    width: 230px;
}

.file-browser {
    padding: 2rem;
    padding: 2vw 4vw;
}

div#file-browser-search-wrapper {
    padding: 0 4vw 0;
}

.file-browser>ul>li>div>i {
    display: none;
}

.file-browser ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.file-browser>ul>li>div>.folder-name {
    width: 100%;
    border-bottom-color: var(--mr-color-primary);
    border-bottom-width: 5px;
    border-bottom-style: solid;
    display: block;
    font-size: 2.3rem;
    line-height: 1;
    padding-bottom: 0.3rem;
    font-family: var(--mr-font-heading);
    position: relative;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.file-browser ul ul {
    padding: 0.3rem 1.3rem 0.7rem;
}

.file-browser ul ul>li>div>.folder-name {
    /* font-size: 1.3rem; */
}

.file-browser ul ul>li>div>i {
    /* font-size: 1.7rem; */
    /* margin-right: 1rem; */
    /* color: #2a9481; */
}

.file-browser ul ul ul.hidden {
    /* visibility: collapse; */
    /* height: 0; */
    /* padding: 0; */
}

.file-browser ul ul>li .file {
    /* font-size: 1.2rem; */
    /* margin-right: 1rem; */
    /* color: #1f5aa0; */
    /* background: whitesmoke; */
    /* padding: 0.6rem; */
    /* margin-bottom: .5rem; */
    position: relative;
    /* border-radius: .5rem; */
    /* height: 2.6rem; */
}

.file-browser ul ul>li .file a {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* padding-left: 2.5rem; */
    /* text-decoration: none; */
    /* color: #1f5aa0; */
}

.file-browser ul ul>li .file>i {
    /* position: absolute; */
    /* left: 0.85rem; */
}

.file-browser ul ul>li .file a span {
    /* align-self: center; */
    /* display: block; */
    /* padding: 0.5rem; */
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
}

.file-browser ul ul>li .file a:hover span {
    text-decoration: underline;
}

.file-browser ul ul>li>div.folder-name {
    cursor: pointer;
}

.file-browser ul ul>li>div.folder-name:hover {
    font-weight: 900;
}

input#search_document_keywords {
    display: block;
    position: relative;
    z-index: 9;
    font-size: 22px;
    line-height: 31px;
    padding: 8px 24px;
    padding-left: 2.5em;
    margin-top: -2px;
    margin-bottom: -4px;
    /*color: #FFFFFF;*/
    background: #ebeae8;
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 1em;
    font-weight: 400;
    outline: 0;
    width: 100%;
    margin-right: 0;
    font-family: 'Poppins', Arial, sans-serif, "Helvetica Neue";
    box-shadow: inset 1px 1px 5px rgb(0 0 0 / 19%);
    color: black;
}

form#file-browser-search::before {
    content: '';
    transition: .3s all ease;
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
    text-shadow: none;
    font-size: 0.8em;
    width: 43px !important;
    height: 45px;
    z-index: 88;
    position: absolute;
    color: rgb(0 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    left: 8px;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/magnifying-glass.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/magnifying-glass.svg') no-repeat center / contain;
}

form#file-browser-search {
    position: relative;
}

li>div.folder-name+ul.hidden {
    display: none;
}

li>div.folder-name span.folder-name {
    border: 0;
    /* background: #2e3183; */
    color: white;
    padding: 0.9rem;
    font-size: 1.6rem;
    margin-left: 3rem;
    box-sizing: border-box;
    display: block;
    font-weight: 900;
}

.folder-name>i {
    display: block !important;
    position: absolute;
    z-index: 999;
    padding: 1rem;
    color: white;
}

li>div.folder-name {
    background: #65a243;
    cursor: pointer;
}

li.file {
    background: whitesmoke;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px 0 #00000029;
    margin: .25rem 0 0.75rem;
}

.file_title {
    color: #65a243;
    font-weight: 700;
}

.file_description {
    font-size: 1.2rem;
}

li.file a {
    margin-top: 1rem;
    display: inline-block;
    font-size: 1rem;
    text-decoration: underline;
}

li.file .file-size {
    font-size: 1rem;
}

li.file i {
    font-size: 1rem;
    margin-right: 0.3rem;
}

div#file_browser_search_results ul {
    list-style: none;
    padding: 0 0 2rem;
}

div#file_browser_search_results {
    padding-top: 2rem;
}

.file-browser-search.showingresults+.file-browser {
    display: none;
}

footer ul.social-links li {
    margin-bottom: 1.2rem;
}

span.streetaddress {
    display: block !important;
}

.contact-block__content span {
    /* display: inline; */
}

.contact-block__content {
    line-height: 1.7;
}


.links-block .links-more:hover {
    opacity: 1;
}

table.img_tiles,
table.img_tiles tbody,
table.img_tiles tbody tr {
    display: flex;
    flex-wrap: wrap;
    /* gap: 10%; */
    justify-content: space-around;
    border: 0;
}

table.img_tiles td {
    width: 22%;
    max-width: 520px;
    min-width: 280px;
}