header {
    /* box-shadow: 0 2px 18px #0000003d; */
    /* position: fixed !important; */
}

.mr-navbar-brand {
    width: 200px;
    background: white;
    top: 0;
    /* box-shadow: 0 2px 18px #0000003d; */
    z-index: 9;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

ul.level-0.mr-navbar-nav li a {
    font-size: 0.9rem;
    height: 58px;
    text-transform: uppercase;
}

span.subnav_toggle {
    background: #000000b0;
}

ul.level-1.mr-navbar-dropdown {
    background: #ffffff;
    padding: 0;
}

.span.subnav_toggle {
    background: #b0b0b02b;
}

ul.level-0.mr-navbar-nav li.has_subnav>a {
    padding-right: 4.25rem;
    /* display: block; */
}

ul.level-0.mr-navbar-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    height: 100%;
    /* box-shadow: 0 0 10px black; */
}

.mr-navbar-upper_left {
    padding: 1rem;
    display: none;
}

.contact_phone {
    /* display: block; */
    /* padding: 0.4rem; */
    /* background: #01977c; */
    /* width: 100%; */
    /* text-align: center; */
    /* color: white; */
    /* font-size: 1rem; */
}

.header_inner {
    background: white;
    height: 58px;
    position: absolute;
    z-index: 999999999999999999;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contact_phone a {
    display: block;
    text-align: center;
    color: white;
    font-size: 1.1rem;
}

.contact_phone::before {
    position: relative;
    display: inline;
    margin: 1.1px;
}

header ul.navigation_extra a {
    padding: 0.9rem 2rem;
    display: block;
    color: black;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 900;
}

header ul.navigation_extra a.features_nav_item {
    padding: 1rem;
}

header ul.navigation_extra a i {
    margin-right: 0.7rem;
}

header ul.navigation_extra a::before {
    color: #604b37;
}

.social_links {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

header .social_links li a:before {
    font-size: 3rem;
}

ul.level-0.mr-navbar-nav li {
    position: relative;
    width: 100%;
}

span.alert_readmore span {
    display: none
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    background-color: white;
}

.swiper-slide>img {
    position: relative !important;
    height: auto;
    max-height: 300px;
    flex-grow: 1;
}

.slideshow_caption {
    min-width: auto !important;
    width: 100% !important;
    height: auto !important;
    background: #d0dfbd !important;
}

.slideshow_caption p {
    font-size: 1rem !important;
}

.swiper {
    width: 100%;
    padding-bottom: 2.2rem !important;
}

ul.level-0.mr-navbar-nav li li a {
    color: var(--mr-color-accent-contrast);
}

.services_title_wrapper>div h2 {
    font-size: 7.7vw;
}

.services_tabs_wrapper .services_tab {
    font-size: 0.85rem;
}

.mr-navbar-dropdown.show .mr-navbar-dropdown.show {
    background: #dddddd;
}

.mr-navbar-dropdown {
    height: 0;
    overflow: hidden;
}

span.subnav_toggle:before {
    content: '';
    transition: .2s all ease;
    display: inline-block;
    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;
}

.mr-navbar-dropdown.show {
    display: block !important;
    height: auto !important;
    padding-left: 0 !important;
    box-shadow: inset 0 0px 20px 0 #0000002b;
    padding: 0rem 0;
}

span.subnav_toggle.active:before {
    transform: rotate(-180deg);
}

ul.level-0.mr-navbar-nav li li a {
    font-size: clamp(14px, 1vw, 16px);
    font-family: var(--mr-font-main);
    font-weight: 400;
    color: var(--mr-color-dark);
}

li.navitemid-26.has_subnav {
    position: relative !important;
}

@media (max-width: 546px) {


    section#events {
        order: 3;
    }

    section#homemain {
        order: 4;
    }

    section#banner {
        /* order: 1; */
    }

    section#sections {
        order: 2;
    }

    section#gallery {
        order: 5;
    }

    .news_item>a {
        width: 140px;
        height: 100%;
    }

    .news_details {
        padding: 1rem !important;
    }

    .logo img {
        display: none
    }

    .logo-text {
        padding: 0
    }
}

@media (max-width: 385px) {
    .logo-text {
        font-size: 0.65em !important;
    }
}

ul.level-0.mr-navbar-nav li li a {
    color: #000000;
}

.showmenu .mr-navbar-nav-wrap {
    /* display: block; */
    /* background: rgb(251, 248, 229); */
    /* visibility: visible; */
    transform: translate(0%, 0px);
    transition: .3s all ease;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.15) !important;
}


.logo img {
    max-width: 138px;
}

.logo-text {
    font-size: 0.8em;
}

.contact-block__item {
    gap: 0.5em !important;
}

.homepage .quick-links {
    margin: 0;
    padding-top: 1.5em;
}

.homepage .quick-links__grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.homepage .quick-card {
    font-size: 0.9em;
}.mr-navbar-upper_right.sticky {
    position: relative;
    z-index: 99;
}