.alert {
    padding: 0;
    margin: 0;
}

.alert_wrapper:before {
    content: '';
    /* text-shadow: 2px 2px 5px black; */
    color: black;
    transform: rotate(-20deg);
    display: block;
    width: 1em;
    height: 1em;
    line-height: 40px;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/bell.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/bell.svg') no-repeat center / contain;
}

.red.alert_wrapper:before {

    color: white;
}

.alert_wrapper {
    display: flex;
    padding: 0.3em 1em;
    /* position: absolute; */
    bottom: 0;
    /* max-width: 100vw; */
    width: 100%;
    background: #ffffff;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: inset 0 -5px 20px #0000001c;
    transition: .3s all ease;
}

a.alert_item {
    color: black;
    margin-left: 0.7em;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: calc(100% - 2rem);
}

.red a.alert_item {
    color: white
}

a.alert_item:hover {
    color: black;
}

.red a.alert_item:hover {
    color: white;
}

.alert_wrapper.yellow {
    background: var(--mr-color-yellow);
}

.alert_wrapper.green {
    background: #5ca16a;
}

.alert_wrapper.red {
    background: var(--mr-color-red);
}

a.alert_item p {
    margin: 0;
}

a.alert_item .alert_description {
    font-weight: 400;
    margin-left: 0.4rem;
    line-height: 1.1;
    text-decoration: none !important;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
}

a.alert_item .alert_title {
    font-size: 1.1em;
    margin: 0;
}

span.alert_readmore::after {
    content: '';
    font-size: 1rem;
    margin-left: 0.5rem;
    color: var(--mr-color-black);
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/arrow-right.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/arrow-right.svg') no-repeat center / contain;
}

.red span.alert_readmore::after {

    color: #ffffff;
}

span.alert_readmore {
    color: var(--mr-color-black);
}

.red span.alert_readmore {
    color: #ffffff;
}

a.alert_item .alert_text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 1rem;
    flex-grow: 1;
}
.alert_date {
    background: var(--mr-color-accent);
    color: var(--mr-color-light);
    text-decoration: none;
    padding: 0.2em 0.6em;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
    white-space: nowrap;
    /* margin-bottom: 1em; */
    display: inline-block;
    color: #ffffff;
}

.alert_date:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.3em;
    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;
}
.alert_details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}

.alert_details > div {
    margin-right: 1rem;
}

.alert_current {
    padding: 2rem;
    background: whitesmoke;
    border-radius: 1rem;
    box-shadow: 0 10px 20px #00000026;
    margin-bottom: 2rem;
}

.alert_previous {
    padding: 0 2rem 1rem;
}span.alert_type_color {
    padding: 0.3rem 2rem;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #333;
}
@media (max-width:991px) {
    .alert_wrapper {
        position: relative;
        top: 58px;
        z-index: -1;
        transform: translate(0, 0)
    }

    header.is_stuck .alert_wrapper {
        transform: translate(0, -101%);
    }

    body.has_alert .page {
        margin-top: 110px;
    }
}
form#contactform {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* background: red; */
    /* padding: 1.4em 2.6em 3em; */
    position: relative;
    margin-bottom: 1vw;
    border: 0;
    outline: 0;
}



form#contactform input:hover,
form#contactform textarea:hover,
form#contactform button:hover {
    border-color: var(--mr-color-accent);
}

form#contactform button {
    text-transform: none;
    font-weight: 400;
    border: 3px solid var(--mr-color-light);
    -webkit-transition: .3s all ease;
    transition: .3s all ease;
    width: 100%;
    background: var(--mr-color-primary);
    color: var(
    --mr-color-light);
    cursor: pointer;
    margin: 0;
    height: 78px;
    font-size: 1rem;
}

form#contactform button:hover {
    background: #292929;
    color: rgb(255 255 255);
    border: 0px solid transparent;
}

form#contactform *::-moz-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *:-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-webkit-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-moz-placeholder {
    color: var(--mr-color-light);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *:-ms-input-placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::placeholder {
    color: var(--mr-color-medium);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform:after {
    /* content: ''; */
    position: absolute;
    bottom: -4vw;
    left: 0;
    width: 100%;
    background: var(--mr-color-primary);
    ;
    -webkit-transform: skewY(5.5deg);
    transform: skewY(5.5deg);
    height: 8vw;
    z-index: 2;
}

.contact_header {
    margin-bottom: 1.6em;
    color: var(--mr-color-light);
    font-size: .8em;
    text-align: center;
}

.contact_col {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
}

.contact_col .g-recaptcha {
    margin: auto;
    margin-bottom: 1rem;
}

form#contactform .contact_col button:before {
    content: '';
    padding-right: 0.5em;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/paper-plane.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/paper-plane.svg') no-repeat center / contain;
}

.contact_input_group {
    padding: 0;
    flex-wrap: wrap;
    display: flex;
    margin: 0 -.5rem;
}

.contact_input_item label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    margin-bottom: .35rem;
    text-transform: none;
}

.contact_input_required label::after {
    content: '*';
    margin: 0 .25rem;
    color: red;
}

.contact_input_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-grow: 1;
    padding: .5rem;
}

form#contactform textarea {
    min-height: 160px;
    padding: 15px 9px;
    width: 100%;
    margin: 0;
}

@media (max-width: 991px) {
    form#contactform .contact_col .g-recaptcha {
        margin: 1em auto;
    }

    form#contactform .contact_col {
        display: flex;
        flex-direction: column;
    }

    form#contactform .contact_col button {
        padding: 1em;
        margin-left: 0;
        margin-top: 0.8em;
    }
}
.filterfolio_toolbar {
    position: relative;
    background: whitesmoke;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    /* padding: 0.3em 1em; */
    top: auto;
    display: flex;
    width: auto;
    flex-direction: row;
    padding-left: 75px;
    padding-right: 75px;
    border-radius: 0.6rem;
    padding: 1rem;
    flex-wrap: wrap;
}
.filterfolio_toolbar .form_item {
        flex-grow: 1;
    margin: .5rem 1rem;
    min-width: 220px;
}
section#homemap .filterfolio_toolbar .form_item {

    width: calc(100% - 2rem);
    pointer-events: all;
}

.filterfolio_toolbar .form_item input,
.filterfolio_toolbar .form_item select {
    width: 100%;
    background-color: #242424;
    border: 0;
    padding: 0.4rem;
    border-radius: 5px;
    color: white;
    border-color: #604b37;
    border-radius: 2rem;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    color: #000000;
    float: none;
    padding: 6px 12px;
    width: 100%;
    background: white;
    font-family: var(--mr-font-main);
    outline: 0;
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    opacity: 0;
    transition: .2s all ease;
    opacity: 1;
}

.filterfolio_toolbar .form_item input:focus,
.filterfolio_toolbar .form_item select:focus {
    /* border: 0; */
    box-shadow: none;
    outline: 1px solid #91d2f0;
}

.filterfolio_toolbar .form_item .label {
    margin-bottom: 0.3rem;
}


.filterfolio_results_item {
    background: #ffffff1f;
    background: whitesmoke;
    padding: 1rem 1rem .3rem 1rem;
    margin: 0.5rem;
    border-radius: 5px;
    /* box-shadow: inset 1px 1px 1px 0 #676767, inset -1px -1px 1px 0 #494949; */
    width: calc(33% - 1rem);
    flex-grow: 1;
    /* min-width: 245px; */
    float: left;
    z-index: 999;
}

.filterfolio_results_item:before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff1f;
}

.filterfolio_results {
    /* padding: 2rem 0; */
    display: flex;
    flex-wrap: wrap;
    /* overflow: hidden; */
    transition: none !important;
    position: relative;
}

.filterfolio_results_item h5 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin-right: 0.6rem;
    margin-bottom: 0.5rem;
}


.filterfolio_results_item_image {
    /* margin-right: 1rem; */
    /* box-shadow: inset 2px 2px 1rem #00000033; */
    position: relative;
    width: auto;
    margin-right: 1rem;
    max-width: 200px;
}

.filterfolio_results_item_image_frame>img {
    aspect-ratio: 1.5;
    /* object-fit: cover; */
    /* object-position: center; */
    /* max-width: 130px; */
    /* width: 100%; */
    /* height: 100%; */
    /* box-shadow: 2px 2px 1rem #00000033; */
    /* border-radius: 2px; */
    position: absolute;
    inset: 0;
    transition: 0.7s all ease;
    /* filter: blur(6px) brightness(0.2) contrast(0.8); */
    /* opacity: 1; */
    display: none;
}

.filterfolio_results_item_image img:hover {
    /* object-position: bottom; */
    /* transition: 3s all ease; */
}

.filterfolio_results_item_details {
    display: flex;
    margin: .5rem 0;
    align-items: flex-start;
    /* flex-direction: column; */
    min-height: 4rem;
    flex-wrap: wrap;
}

.filterfolio_results_item_logo {
    width: 1.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    background: #1e1e1e;
    border-radius: 50%;
    overflow: hidden;
    margin-right: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.filterfolio_view {
    margin: 0 !important;
    height: 3rem;
    width: 3rem;
    border: 0;
    background: #ffffff;
    border-radius: 50%;
    color: #b7b7b7;
    margin-bottom: 0 !important;
    border: 1px solid transparent;
    padding: 0;
}

.filterfolio_toolbar .form_item:last-of-type {
    flex-grow: 0;
    min-width: 0;
}

.filterfolio_results_item_image:before {
    content: '';
    background: #0000005c;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    inset: 0;
    z-index: 9;
    opacity: 0;
    transition: .3s all ease;
    display: none;
}

.filterfolio_item_url {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 99;
    font-family: 'Istok Web';
    display: flex;
    flex-direction: column;
    opacity: 0;
    font-size: .9rem;
    max-width: calc(100% - 2rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.filterfolio_item_url .label {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.filterfolio_results_item_image:hover .filterfolio_item_url {
    opacity: 1;
}

.filterfolio_results_item_image:hover:before {
    opacity: 1;
}

a.filterfolio_results_item_details_link {
    color: #9d9d9d;
    justify-self: flex-end;
    padding: 0.3rem 0.1rem 0.1rem 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    text-decoration: none;
    font-size: 1.7rem;
    padding: 0.3rem;
    z-index: 999;
    position: relative;
}

a.filterfolio_results_item_details_link:hover {
    color: #e1e1e1;
}

.filterfolio_results_summary {
    display: flex;
    align-items: center;
    padding: 1.3rem 1rem 1rem 1rem;
    flex-wrap: wrap;
}

.filterfolio_results_summary_facets ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    min-height: 42.58px;
    max-width: 100%;
    overflow: hidden;
}

.filterfolio_results_summary h4 {
    margin: .3rem 1rem 0.3rem 0.6rem;
    /* margin-bottom: 0; */
    text-align: center;
    white-space: nowrap;
}

.filterfolio_results_summary_facets {
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
    flex-grow: 1;
}

button.summary_facets_pill {
    background: var(--mr-color-primary);
    border-radius: 1rem;
    border: 0;
    font-family:
        'Montserrat';
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 2rem 0.5rem 1rem;
    color: white;
    border: 1px solid transparent;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    position: relative;
}

.filterfolio_results_summary_facets ul li {
    margin: 0.3rem;
    margin-right: 0.75rem;
    max-width: 100%;
    overflow: hidden;
    display: block;
}

span.facets_pill_label+i {
    margin-left: 0.5rem;
}

button.summary_facets_pill:hover {
    border: 1px solid var(--mr-color-secondary);
}

button.summary_facets_pill:hover i {
    color: white;
}

button.summary_facets_pill.pill_clear {
    background: #aaaaaa;
    border: 1px solid grey;
    color: #ffffff;
    margin: 0.3rem;
    width: fit-content;
    padding: 0.5rem 1rem 0.5rem 1rem;
}

button.summary_facets_pill.pill_clear:hover {
    color: #ffffff;
    border: 1px solid #85c0dc;
}

#searchterm button.summary_facets_pill .facets_pill_label:before,
#searchterm button.summary_facets_pill .facets_pill_label:after {
    content: '"';
}

a.filterfolio_item_url_link {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: #bbbbbb;
    opacity: 0;
    z-index: 999;
}

a.filterfolio_item_url_link i {
    transform: rotate(-45deg);
}

a.filterfolio_item_url_link:hover {
    color: white;
}

.filterfolio_item_url .value {
    color: #c5c5c5;
    text-decoration: none;
    margin-right: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filterfolio_item_url .value:hover {
    text-decoration: underline;
}

.filterfolio_results_item_image:hover .filterfolio_item_url_link {
    opacity: 1;
}

.filterfolio_results_item_image:hover img {
    /* object-position: bottom; */
    /* transition: 20s all 1.5s ease-out; */
}

.tiles .filterfolio_results_item_image:hover .filterfolio_results_item_image_frame_inner {
    /* top: 1.5rem; */
    /* bottom: 4.5rem; */
    z-index: 9;
}

.filterfolio_results_item_image_frame_inner {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: .3s all ease;
    overflow: hidden;
    /* box-shadow: 0 -0.5rem 3rem #00000038, 0 0.5rem 1rem #0000009c; */
}

.filterfolio_results_item_image_frame {
    position: relative;
    height: fit-content;
    overflow: hidden;
    /* box-shadow: inset 0 0 5rem #0000007d; */
    /* padding-bottom: 46%; */
}

.filterfolio_results_item_image_frame_inner>img {
    aspect-ratio: 1.5;
    object-fit: contain;
    object-position: center;
    max-width: unset;
    height: 100%;
    border-radius: 2px;
    position: relative;
    transition: 0.7s all ease;
    width: 100%;
    z-index: 9;
    display: block;
}

.btn.filterfolio_view.active {
    border: 1px solid var(--mr-color-primary);
    color: var(--mr-color-primary);
}

.list .filterfolio_results_item {
    width: calc(100% - 1rem);
    display: flex;
    padding: 0.5rem;
}

.list .filterfolio_results_item_image {
    width: 25%;
    min-width: 90px;
}

.list .filterfolio_results_item_image_frame {
    height: 100%;
}

.list .filterfolio_results_item_image:hover .filterfolio_results_item_image_frame_inner {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.filterfolio_results_item_details .filterfolio_results_item_url {
    display: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    z-index: 999999;
    text-decoration: none;
    width: 100%;
    margin-top: .5rem;
}

.filterfolio_results_item_details .filterfolio_results_item_name .label {
    display: none;
}

.tiles a.filterfolio_results_item_details_link {
    height: 2rem;
    width: 2rem;
}

.list .filterfolio_results_item_name {
    /* flex-grow: 1; */
    margin-right: 1rem;
    /* width: 50%; */
}

.list .filterfolio_results_item_details .filterfolio_results_item_name .label {
    /* display: block; */
    /* text-transform: uppercase; */
    /* font-size: 0.8rem; */
}

.list .filterfolio_results_item_details .filterfolio_results_item_name h5 {
    font-size: 1.6rem;
}

.list .filterfolio_results_item_logo {
    display: none;
}

.list .filterfolio_results_item_details {
    margin-left: 1rem;
    /* justify-content: space-between; */
    width: calc(100% - 1rem);
    flex-wrap: wrap;
    padding-right: 3rem;
    position: relative;
    max-width: calc(100% - 6rem);
}

.list .filterfolio_results_item_details .filterfolio_results_item_url {
    /* display: block; */
    /* flex-grow: 1; */
    /* margin-left: 1rem; */
    /* margin-top: .3rem; */
    max-width: 100%;
}

.filterfolio_results_item_url .label {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.filterfolio_results_item_url .value {
    font-family: 'Istok Web';
    font-size: 1.3rem;
    line-height: 1.9rem;
}

.list .filterfolio_results_item_image .filterfolio_item_url {
    display: none;
}

.list .filterfolio_results_item_image .filterfolio_item_url_link {
    bottom: auto;
    top: 0.2rem;
    right: 0.3rem;
    text-shadow: 0 0 8px black, 0 0 4px black;
}

.list .filterfolio_results_item_image:hover:before {
    background: #0000007d;
}

.list a.filterfolio_results_item_details_link {
    position: absolute;
    right: 0;
}

.tiles .filterfolio_results_item_name {
    /* flex-grow: 1; */
    width: 100%;
}

@media (max-width:991px) {
    .tiles .filterfolio_results_item {
        width: calc(50% - 1rem);
    }
}

@media (max-width:767px) {
    .tiles .filterfolio_results_item {
        width: calc(100% - 1rem);
    }
}



.filterfolio_results_summary_facets ul {
    list-style: none;
    padding: 0;
}

.tag-selected {
    /* list-style: none; */
    /* background-color: #e4e4e4; */
    /* border: 1px solid #aaa; */
    /* border-radius: 4px; */
    /* cursor: default; */
    /* float: left; */
    /* margin-right: 5px; */
    /* margin-top: 5px; */
    /* padding: 0 5px; */
}

.destroy-tag-selected {
    margin-left: 0.7rem;
    padding: 0.5rem 0.7rem;
    position: absolute;
    right: 0;
    top: 0;
    color: #82cf18;
}

.select2-selection__choice {
    display: none;
}

.select2-search.select2-search--inline {
    position: relative;
    width: 100%;
    display: block;
}

.select2-search.select2-search--inline input#instasearch {
    position: absolute;
    left: 0;
}

.filterfolio_toolbar .form_item+.form_item {
    flex-grow: 0;
}

span.facets_pill_label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 44px;
    height: 44px;
    margin: 13px;
    border: 8px solid #ffffff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #ffffff 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);
    }
}



.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--mr-color-accent);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.gallery_loading {
    width: 100%;
    text-align: center;
}

.gallery_loading span {
    font-family: var(--mr-font-heading);
    position: relative;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 900;
    line-height: 1.2;
    display: block;
}

.nologo {
    font-weight: 900;
    text-align: center;
    width: 100%;
    font-size: 0.9rem;
    text-shadow: 0 0 3px black;
}

.mediabox-img.ls-blur-up-is-loading,
.mediabox-img.lazyload:not([src]) {
    visibility: hidden;
}

.ls-blur-up-img,
.mediabox-img {
    position: absolute;
    inset: 0;
    display: block;

    /* only if you want to change the blur-up option from always to auto or want to use blur up effect without a lowsrc image. */
    font-family: "blur-up: auto", "object-fit: cover";
    aspect-ratio: 1.5;
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 9;
}

.ls-blur-up-img {
    filter: blur(10px);
    opacity: 1;
    transition: opacity 1000ms, filter 1500ms;
    z-index: 0;
}

.ls-blur-up-img.ls-inview.ls-original-loaded {
    opacity: 0;
    filter: blur(5px);
}


.filterfolio_details_header_details_name {
    font-family: 'Dosis';
    font-size: 2rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    line-height: 1;
}

.filterfolio_details_header_details {
    flex-grow: 1;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    width: calc(100% - 180px);
}

.filterfolio_details_header {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 2px solid grey;
    border-radius: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
    background: #0a0a0a4a;
}

.filterfolio_details_header_logo_wrapper {
    background: #00000099;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    max-width: 100%;
}

.filterfolio_details_header_logo_wrapper img {
    max-height: 5rem;
}

.filterfolio_screenshot_display {
    display: table;
    /* margin: auto; */
    position: relative;
}

.filterfolio_screenshot_display_screen {
    position: absolute;
    top: 5.7%;
    left: 12.4%;
    width: 75.4%;
    height: 78.5%;
    overflow-y: hidden;
    z-index: 1;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    cursor: grab;
}

.filterfolio_screenshot_display_screen::-webkit-scrollbar,
.filterfolio_screenshot_display_screen_mobile::-webkit-scrollbar {
    display: none;
}

.filterfolio_screenshot_display_screen img {
    /* object-fit: cover; */
    width: 100%;
    height: auto;
    pointer-events: none;
}

img.laptop_frame {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.filterfolio_screenshot_wrapper {
    display: flex;
    align-items: flex-end;
    margin: 2rem auto 2rem;
    width: fit-content;
}

img.phone_frame {
    max-width: 170px;
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
}

div#filterfolio_screenshot_display_screen_mobile {
    position: absolute;
    top: 3.6%;
    left: 7.8%;
    width: 83.8%;
    height: 87.5%;
    border-radius: 1%;
    z-index: 1;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    overflow: hidden;
    cursor: grab;
}

.filterfolio_screenshot_display+.filterfolio_screenshot_display.mobile_screen {
    margin-left: 3rem;
}

div#filterfolio_screenshot_display_screen_mobile img {
    pointer-events: none;
    width: 100%;
}


div#filterfolio_screenshot_display_screen_mobile:active {
    cursor: grabbing;
}

div#filterfolio_screenshot_display_screen:active {
    cursor: grabbing;
}

.filterfolio_details_header_details_url {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.entry_wrapper {
    border: 1px solid #91d2f0;
    padding: 1rem;
    margin: 0 0 1.5rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgb(0 0 0) 100%);
    box-shadow: 0 10px 1rem #00000038;
}

.entry_header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-family: 'Dosis';
    color: #91d2f0;
    align-items: center;
    padding: .5rem 1rem;
    background: var(--mr-background-dark);
    background-size: auto;
    background-repeat: repeat;
    box-shadow: 3px 3px 6px #00000078;
    margin-bottom: 4rem;
    transition: .2s all ease;
    position: relative;
}

.entry_header h3 {
    color: #91d2f0;
    margin: 0rem 1rem 0rem 0;
}

.live_date:before {
    content: '';
    background: black;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgb(0 0 0);
    margin-right: 0.7rem;
    height: .7rem;
    width: .7rem;
    transform: scale(1);
    animation: pulse-black 2s infinite;
    background: rgb(145 210 240);
    box-shadow: 0 0 0 0 rgb(52 172 224);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(52 172 224 / 70%);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgb(52 172 224 / 0%);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(52 172 224 / 0%);
    }
}

.live_date {
    display: flex;
    align-items: center;
    position: relative;
    margin: .3rem 0;
}

.entry_wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../images/bg-gray-1920.webp) center center repeat;
    background: url(/images/dark_leather.webp);
    opacity: 0.3;
    z-index: 0;
}

.entry_wrapper.previous_entry {
    height: 3.8rem;
    padding: 0.5rem 1rem;
    background: var(--mr-background-dark);
    transition: .2s all ease;
    border: 1px solid #707070;
}

.previous_entry .entry_header {
    background: transparent;
    box-shadow: none;
}

.previous_entry_expand {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    inset: 0;
}

.previous_entry_expand.active i {
    transform: rotate(180deg);
}

.previous_entry_expand i {
    transition: .2s all ease;
    width: 3rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    caret-color: transparent;
}

.entry_wrapper.previous_entry.expand {
    height: auto;
    padding: 1rem;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgb(0 0 0) 100%);
    border: 1px solid #91d2f0;
}

.entry_wrapper.previous_entry.expand .entry_header {
    background: var(--mr-background-dark);
    box-shadow: 3px 3px 6px #00000078;
}

.entry_wrapper.previous_entry:hover {
    border: 1px solid #91d2f0;
}

.filterfolio_details_wrapper h2 {
    margin-bottom: 2.5rem;
    margin-left: 1rem;
    margin-top: 2rem;
}

.filterfolio_details_details {
    position: relative;
    padding: 0 1rem 1rem;
}



.filterfolio_details_summary_facets ul {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    margin: 0;
    /* flex-wrap: wrap; */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0;
}

.filterfolio_details_summary_facets {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
    margin: 0;
    margin-left: 1rem;
    min-width: 0;
}

.filterfolio_details_summary_facets .back_filterfolio i {
    margin-right: 1rem;
}

.filterfolio_details_summary_facets a {
    text-decoration: none;
    color: white;
}

.filterfolio_details_summary {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filterfolio_details_summary_facets ul li {
    margin: .5rem;
    white-space: nowrap;
}

.filterfolio_details_summary_categories_title {
    margin-right: .5rem;
}

.filterfolio_details_wrapper button.summary_facets_pill {
    padding: 0.5rem 1rem;
}

.back_filterfolio a {
    text-decoration: none;
    white-space: nowrap;
    color: white;
}

.back_filterfolio i {
    margin-right: 0.5rem;
}

a.search_result_link:before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff1f;

}

.sitemap_pagetitle:after,
.search_result_link h2:after {
    display: none;
}

.filterfolio_entry_features_header {
    background: var(--mr-color-accent-shade);
    color: #1f1f1f;
    margin-bottom: .3rem;
    padding: 0.8rem 1rem;
    font-weight: 900;
    position: relative;
    filter: saturate(0.8);
    transition: 0.3s all ease;
}

a.filterfolio_entry_features_toggle {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

a.filterfolio_entry_features_toggle i {
    position: absolute;
    right: 0;
    color: black;
    padding: 0.9rem 1rem;
    transition: .2s all ease;
}

.filterfolio_entry_features+_header:hover {
    background: var(--mr-color-accent);
}

.filterfolio_entry_features_wrapper {
    margin-top: 2rem;
}

.filterfolio_entry_features_body {
    padding: 1rem;
    display: none;
}

.filterfolio_entry_features_body a.btn {
    margin: 2.1rem 0 !important;
    display: block;
    width: fit-content;
    font-size: 0.8rem;
    position: relative;
    display: flex;
    align-items: center;
}

.filterfolio_entry_features_body a.btn .icon {
    position: relative;
    left: 0;
    margin-right: 1rem;
    font-size: 1rem;
    line-height: 0;
}

.filterfolio_entry_features.expand .filterfolio_entry_features_body {
    display: block;
}

a.filterfolio_entry_features_toggle.active i {
    transform: rotate(180deg);
}

.filterfolio_entry_features_header:hover,
.filterfolio_entry_features.expand .filterfolio_entry_features_header {
    filter: saturate(1.2);
}

.bg-breadcrumbs .container {
    overflow: hidden;
    text-overflow: ellipsis;
}

.list .filterfolio_results_item_details .filterfolio_results_item_url .value {
    text-overflow: ellipsis;
    overflow: hidden;
}

.filterfolio_results_item_address {
    font-size: 1rem;
    line-height: 1;
}

.filterfolio_results_item_city_postal {
    font-size: 1rem;
    line-height: 1;
}

.filterfolio_results_item:hover {
    box-shadow: 0 0 10px #00000042;
    z-index: 9999999;
}

#section_business_tiles .filterfolio_results_item:hover {
    box-shadow: 0 0 10px #00000042;
    z-index: 1;
}

.filterfolio_results_item:hover .filterfolio_results_item_description {
    display: block;
}

.filterfolio_results_item_description {
    display: none;
    font-size: 1rem;
    width: 100%;
    margin-top: 0.6rem;
}

.filterfolio_results_item_description .label {
    font-weight: 700;
}

.filterfolio_results_item_description .value {
    line-height: 1.2;
}

.filterfolio_results_item:hover .filterfolio_results_item_url {
    display: block;
}

.filterfolio_results_item_details .filterfolio_results_item_url a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 900;
    color: #70a02d;
}

.filterfolio_results_item_details .filterfolio_results_item_url a::after {
    content: '';
    font-size: 0.8rem;
    margin-left: 0.4rem;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/arrow-right.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/arrow-right.svg') no-repeat center / contain;
}

.filterfolio_results_item_phone,
.filterfolio_results_item_email {
    display: flex;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    display: none;
    position: relative;
    z-index: 99999;
}

.filterfolio_results_item_phone .label,
.filterfolio_results_item_email .label {
    font-weight: 700;
}

.filterfolio_results_item_phone .label::after,
.filterfolio_results_item_email .label::after {
    content: ':';
    margin-right: 0.3rem;
}

.filterfolio_results_item:hover .filterfolio_results_item_phone,
.filterfolio_results_item:hover .filterfolio_results_item_email {
    display: flex;
}

.filterfolio_results_item.map_popover {
    background: transparent;
    width: 100%;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    /* flex-wrap: wrap; */
}

.filterfolio_results_item_display_wrapper>div:first-of-type {

    /* padding-bottom: 40%; */

    height: 100%;

    max-width: none;

    position: absolute !important;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;
}

.filterfolio_results_item_display_wrapper {
    position: relative;
    padding-bottom: 40%;
    overflow: hidden;
}

a.filterfolio_results_item_map_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #bfd69bba;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    z-index: 9;
    text-decoration: none;
}

a.filterfolio_results_item_map_overlay span {
    color: #6b5440;
    padding: 1rem;
    border: 1px solid #6b5440;
    border-radius: 3rem;
    font-size: 1rem;
    text-decoration: none;
}

.filterfolio_results_item_display_wrapper:hover .filterfolio_results_item_map_overlay {
    opacity: 1;
    transition: .2s all ease;
}

.list .filterfolio_results_item_display_wrapper {
    width: 15%;
    padding-bottom: 0;
}

.filterfolio_results_item.map_popover .filterfolio_results_item_phone,
.filterfolio_results_item.map_popover .filterfolio_results_item_email {
    display: flex !important;
}

.filterfolio_results_item.map_popover .filterfolio_results_item_description {
    display: block;
}

.filterfolio_results_item.map_popover .filterfolio_results_item_image_frame {
    height: 100%;
    width: 100%;
    /* position: absolute; */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.filterfolio_results_item.map_popover .filterfolio_results_item_details .filterfolio_results_item_url {
    display: block;
}

.filterfolio_results_item_details * {
    max-width: 100%;
}

.filterfolio_results_item_display_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1200px) {

    .filterfolio_screenshot_display.mobile_screen {
        width: 140px;
        margin-left: -123.8px !important;
        position: relative;
        z-index: 99;
        margin-bottom: 0rem;
    }
}


@media (max-width: 991px) {

    .list .filterfolio_results_item_name {
        flex-grow: 1;
        margin-right: 0rem;
        width: 100%;
    }
}


@media (max-width: 767px) {
    .filterfolio_details_header {
        margin-bottom: 1rem;
    }

    .filterfolio_details_wrapper h2 {
        margin-top: 0rem;
        margin-bottom: 1.5rem;
    }

    .filterfolio_screenshot_display {
        width: 100%;
    }

    .filterfolio_screenshot_display.mobile_screen {
        width: 20%;
        margin-left: -12% !important;
    }

    .filterfolio_details_summary {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.5rem;
    }

    .back_filterfolio {
        margin-bottom: 0.5rem;
    }

    .filterfolio_details_details {
        padding: 0 0 1rem;
    }

    .filterfolio_details_summary_facets {
        align-items: flex-start;
        width: 100%;
        max-width: calc(100% - 1rem);
        overflow: hidden;
        position: relative;
    }

    .filterfolio_details_summary_categories_title {
        margin: 1rem 1rem 0 0;
    }

    .bg-breadcrumbs {
        font-size: 12px
    }

    .bg-breadcrumbs h1 {
        font-size: 26px
    }
}


@media (max-width: 540px) {
    .filterfolio_details_header_logo_wrapper {
        display: none
    }

    .filterfolio_details_header_details {
        max-width: 100%
    }

    .list .filterfolio_results_item_details .filterfolio_results_item_name h5 {
        font-size: 1.2rem;
    }

    .list .filterfolio_results_item_details .filterfolio_results_item_name .label {

        font-size: 0.6rem;
    }

    .list .filterfolio_results_item_url .label {

        font-size: 0.6rem;
    }

    .list .filterfolio_results_item_url .value {

        font-size: 1rem;
    }

    .list .filterfolio_results_item_name {
        width: calc(100% - 1rem);
        margin: 0;
    }

    .list .filterfolio_results_item_details {
        margin-bottom: 0
    }

    .filterfolio_toolbar {
        padding: .5rem;
    }

    .filterfolio_toolbar .form_item {
        margin: 0.5rem;
    }
}

.list .filterfolio_results_item_display_image img {
    /* object-fit: contain; */
    /* object-position: top; */
}

.list .filterfolio_results_item:hover .filterfolio_results_item_display_image img {
    object-fit: contain;
    object-position: top;
}

ul#select2-filterfolio_el-container {
    display: none;
}

.value {
    display: flex;
}

.btn.filterfolio_view+.btn.filterfolio_view {
    margin-left: 1rem !important;
}

.business_tiles_list .filterfolio_results_item {
    position: relative;
    width: 100%;
    display: flex;
    gap: 2rem;
}

.business_tiles_list {
    display: flex;
    flex-direction: column;
    padding: 0 4vw;
    margin-bottom: 2rem;
}

.business_tiles_list .filterfolio_results_item .filterfolio_results_item_display_wrapper {
    padding-bottom: 9rem;
    min-width: 280px;
}

.business_tiles_list .filterfolio_results_item .filterfolio_results_item_details .filterfolio_results_item_url,
.business_tiles_list .filterfolio_results_item .filterfolio_results_item_details .filterfolio_results_item_phone,
.business_tiles_list .filterfolio_results_item .filterfolio_results_item_details .filterfolio_results_item_email,
.business_tiles_list .filterfolio_results_item .filterfolio_results_item_details .filterfolio_results_item_description {
    display: block;
    width: 100%;
}

.business_tiles_list .filterfolio_results_item_details {
    flex-grow: 1;
}

.business_tiles_list .filterfolio_results_item .filterfolio_results_item_details .filterfolio_results_item_phone,
.business_tiles_list .filterfolio_results_item .filterfolio_results_item_details .filterfolio_results_item_email {
    width: auto;
    margin-right: 2rem;
}

.business_tiles_list .filterfolio_results_item_name {
    width: 100%;
    display: block;
}

.business_tiles_list .filterfolio_results_item_details * {
    width: 100%;
}

.business_tiles_list .filterfolio_results_item_name h5 {
    font-size: 1.2em;
    font-weight: 900;
    color: #1c410f;
}

.business_tiles_list .filterfolio_results_item:hover {
    box-shadow: none;
}

.filterfolio_results_item_name {
    width: 100%;
}

section#homemap {
    position: relative;
}

section#homemap .filterfolio_wrapper {
    /* position: absolute !important; */
    /* top: 0; */
    /* width: calc(100% - 0rem); */
    position: static !important;
}

section#homemap .filterfolio_wrapper .filterfolio_toolbar {
    background: transparent;
    position: absolute !important;
    top: 0.75rem;
    width: calc(100% - 0rem);
    flex-direction: column;
    pointer-events: none;
}

section#homemap .filterfolio_wrapper .filterfolio_toolbar .label {
    display: none;
}

section#homemap .filterfolio_wrapper .filterfolio_toolbar .form_item+.form_item {
    display: none;
}

.filterfolio_results_item_address .value::after {
    content: ', ';
    display: inline;
}

.filterfolio_results_item_phone {
    width: 100%;
}

section#homemap .filterfolio_wrapper .filterfolio_results_summary {
    position: absolute;
    bottom: 0;
    flex-wrap: nowrap;
    width: fit-content;
    padding: 1.3rem 2rem 1rem 2rem;
}

section#homemap div#map_canvas {
    margin: 0
}

.business_map_titlebar {
    width: 100%;
    display: flex;
    padding: 0 2.25rem;
    align-items: center;
    pointer-events: all;
}

.business_map_titlebar h2 {
    flex-grow: 1;
    padding: 0;
}

.business_map_titlebar a {
    font-size: 1.5rem;
    color: #265a15;
}

section#homemap .filterfolio_toolbar .form_item input {
    background: #ffffff9c;
}.gm-style-iw-chr {

    z-index: 99999;
}
.photogallery_widget {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: stretch;
    justify-content: center;
    padding: 0.5em 0;
    flex-basis: fit-content;


}

.photogallery_widget_item_photo:hover {
    transform: scale(1) !important;
}

.photogallery_widget_item {
    width: calc(33.3% - 30px);
    border: 1px solid #54534a;
    padding: .3em;
    margin: 0 15px 15px;
    /* flex-grow: 1; */
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.photogallery_widget_item_photo {
    padding-bottom: 50%;
    background-size: cover;
    background-position: center;
    flex-grow: 1;
    display: block;
    margin-bottom: 0 !important;
}

.photogallery_widget_item_description {
    font-size: 16px;
    margin-top: 0.6em;
    flex-grow: 1;
}

.gallery_home.photogallery_widget .photogallery_widget_item_description {
    margin-top: 0.4em;
}

.photogallery_widget_item_category {
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 0.6em 0 0.3em;
}

.gallery_home.photogallery_widget .photogallery_widget_item {
    width: calc(50% - 3em);
    background: #e5e3db;
    text-decoration: none;
}

.gallery_home.photogallery_widget .photogallery_widget_item h3 {
    font-size: 2em !important;
    color: #54534a;
    text-align: center;
}

.gallery_home.photogallery_widget .photogallery_widget_item h3 i {
    font-size: .9em;
    color: #54534a;
    text-align: center;
    margin-right: 0.2em;
}

main a {
    text-decoration: underline;
}

.photogallery_widget_item_category .label {
    margin-right: 0.3em;
}

ul.media {
    max-height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-transition: 1s all ease;
    transition: 1s all ease;
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
}

span.media_overlay {}

span.media_overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #ffffff;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 10px;
}

.media li {
    display: inline-block;
    /* position: relative; */
    overflow: hidden;
    /* width: 33.3%; */
    height: 200px;
    max-height: 200px;
    /* background-size: cover; */
    /* background-position: 50% 50%; */
    margin: 10px;
    box-shadow: 0 5px 5px #00000042;
    flex-grow: 1;
}

.media li .thumb {
    display: block;
    position: relative;
    /* overflow: hidden; */
    width: 100%;
    /* padding-bottom: 100%; */
    -webkit-transition: .5s all ease;
    transition: .5s all ease;
    height: 100%;
    margin: 0;
    padding: 0;
}

.media li:hover .media_overlay,
.thumb:hover .media_overlay {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    background: rgb(121 174 91 / 33%);
}

.thumb:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    cursor: pointer;
}

.grid .thumb:hover {
    /* -webkit-transform: scale(1.05); */
    /* transform: scale(1.01); */
    cursor: pointer;
    color: #0b9444;
    text-decoration: none;
}

.gallery_link {
    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;
    height: 100%;
    background: var(--mr-color-primary);
}

.media-wrapper {
    -ms-flex-item-align: end;
    align-self: flex-end;
    -webkit-box-flex: 2;
    -ms-flex-positive: 2;
    flex-grow: 2;
    width: 100%;
}

.main-about {
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: 50px;
}

.main-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn {
    margin-bottom: 50px;
}

.media .btn {
    margin: 0;
    background: transparent;
}

@media (max-width: 991px) {
    .headline {
        font-size: 20px;
        line-height: 22px;
    }
}

@media (max-width: 380px) {
    .media li {
        width: 50%;
    }

    .media li:last-of-type {
        width: 100%;
    }

    .media li:last-of-type .btn {
        width: 100%;
    }
}

/*==================   Thumbnail    ======================*/
.thumb-wrap {
    display: block;
    position: relative;
    border-radius: 50%;
}

.thumb-wrap img {
    width: 100%;
    height: auto;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
}

.thumb-wrap .thumb_overlay {
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    bottom: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #fff;
    background: #02c6bc;
    text-align: center;
    height: 74px;
    margin-top: -37px;
    display: block;
    background: #02c6bc;
    padding: 10px 5px;
}

.lt-ie9 .thumb-wrap .thumb_overlay {
    background: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC')";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC');
    zoom: 1;
}

.lt-ie9 .thumb-wrap .thumb_overlay {
    background: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC')";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC');
    zoom: 1;
}

@media (max-width: 1499px) {
    .thumb-wrap .thumb_overlay h4 {
        font-size: 20px;
        line-height: 24px;
    }

    .thumb-wrap .thumb_overlay h4+* {
        margin-top: 0;
    }
}

@media (min-width: 1499px) {
    .thumb-wrap .thumb_overlay {
        height: 140px;
        margin-top: -70px;
        padding: 40px 10px;
    }
}

.thumb-wrap .thumb_overlay h2,
.thumb-wrap .thumb_overlay h3,
.thumb-wrap .thumb_overlay h4,
.thumb-wrap .thumb_overlay h5,
.thumb-wrap .thumb_overlay h6,
.thumb-wrap .thumb_overlay .link {
    color: #fff;
}

.thumb-wrap .thumb_overlay h2 a:hover,
.thumb-wrap .thumb_overlay h3 a:hover,
.thumb-wrap .thumb_overlay h4 a:hover,
.thumb-wrap .thumb_overlay h5 a:hover,
.thumb-wrap .thumb_overlay h6 a:hover,
.thumb-wrap .thumb_overlay .link a:hover {
    color: #191c1c;
}

.thumb-wrap:hover .thumb_overlay {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.lt-ie9 .thumb-wrap:hover .thumb_overlay:before {
    display: block;
}

.thumb {
    display: block;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    /* box-shadow: 0 10px 10px #00000021; */
    /* margin-bottom: 1em; */
    text-decoration: none;
    /* border: 1px solid #54534a; */
    /* padding: 0.3em; */
    background: #f3f3f3;
    overflow: hidden;
}

.thumb.video .thumb_overlay {
    display: none;
}

.filter-button-group {
    padding: 2vw 0;
    /*    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
     white-space:nowrap; 
    -webkit-box-pack:  center;
        -ms-flex-pack:  center;
            justify-content:  center;*/
    /* flex-wrap: wrap; */
}

.filter-button-group button.btn {
    /* padding: 1em 2em; */
    background: transparent;
    outline: 0;
    /* max-width: 100px; */
    width: 100%;
    /* height: 60px; */
    margin-bottom: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    font-size: 1rem;
    border: 0;
    /* padding: .5rem 1rem; */
    vertical-align: middle;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    transform: translateY(0.15rem);
    color: grey;
}

.filter-button-group button.btn:not(.is-checked):hover {
    cursor: pointer;
    border-bottom: 1px solid rgb(84 83 74);
    color: black;
    /* background: #f6c13d75; */
    border-bottom: 1px solid black;
}

.filter-button-group .btn.is-checked {
    /* background-color: rgb(246 193 61); */
    /* font-weight: bold; */
    color: rgb(0 0 0) !important;
    border-bottom: 1px solid black;
}

.filter-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0px 10px;
    display: inline-block;
}

.thumbnail {
    display: block;
    /* padding: 4px; */
    /* margin-bottom: 25px; */
    line-height: 1.42857143;
    /* background-color: #fff; */
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    /* width: 100%; */
    margin: auto;
    overflow: hidden;
}

.grid-item {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding: 15px;
    overflow: hidden;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 4px;
    margin-bottom: 29px;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* The gallery overlay */
#galleryOverlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 100000;
    background-color: #222;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: none;
    -moz-transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

/* This class will trigger the animation */
#galleryOverlay.visible {
    opacity: 1;
}

#gallerySlider {
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    white-space: nowrap;
    position: absolute;
    -moz-transition: left 0.4s ease;
    -webkit-transition: left 0.4s ease;
    transition: left 0.4s ease;
}

#gallerySlider .placeholder {
    background: url("../images/preloader.gif") no-repeat center center;
    height: 100%;
    line-height: 1px;
    text-align: center;
    width: 100%;
    display: inline-block;
    position: relative;
}

/* The before element moves the
 * image halfway from the top */
#gallerySlider .placeholder:before {
    content: "";
    display: inline-block;
    height: 50%;
    width: 1px;
    margin-right: -1px;
}

#gallerySlider .placeholder .iframe-wrap,
#gallerySlider .placeholder .img_caption {
    display: inline-block;
    /* max-height: 100%; */
    /* max-width: 100%; */
    vertical-align: middle;
    text-align: center;
}

#gallerySlider .placeholder .iframe-wrap {
    width: 1280px;
}

#gallerySlider .placeholder .iframe-wrap .iframe {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

#gallerySlider .placeholder .iframe-wrap .iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#gallerySlider.rightSpring {
    -moz-animation: rightSpring 0.3s;
    -webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring {
    -moz-animation: leftSpring 0.3s;
    -webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */
@-moz-keyframes rightSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: -30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-moz-keyframes leftSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0px;
    }
}

/* Safari and Chrome Keyframe Animations */
@-webkit-keyframes rightSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: -30px;
    }

    100% {
        margin-left: 0px;
    }
}

@-webkit-keyframes leftSpring {
    0% {
        margin-left: 0px;
    }

    50% {
        margin-left: 30px;
    }

    100% {
        margin-left: 0px;
    }
}

/* Arrows */
#prevArrow,
#nextArrow {
    border: none;
    text-decoration: none;
    background: url("../images/arrows.png") no-repeat;
    opacity: 0.5;
    cursor: pointer;
    position: absolute;
    width: 43px;
    height: 58px;
    top: 50%;
    margin-top: -29px;
    -moz-transition: opacity 0.2s ease;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

#prevArrow:hover,
#nextArrow:hover {
    opacity: 1;
}

#prevArrow {
    background-position: left top;
    left: 40px;
}

#nextArrow {
    background-position: right top;
    right: 40px;
}

#nextArrow:before {
    content: '';
    color: white;
    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;
}

#prevArrow:before {
    content: '';
    color: white;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/chevron-left.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/chevron-left.svg') no-repeat center / contain;
}

.gallery_caption {
    background: #ffffffbd;
    font-size: 16px;
    padding: 9px 9px 12px;
    transform: translate(0px, 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
    color: black;
    transition: .3s all ease;
    max-height: 50%;
    z-index: 9;
}

.filter-button-group button.btn:focus {
    /* box-shadow: 0 10px 10px #00000026; */
}

#gallerySlider .placeholder .img_caption img {
    max-height: calc(100vh - 3em);
    /* height: 90%; */
    max-width: 100vw;
    display: flex;
    margin: auto;
}

.slideshow_caption span {
    display: inline-block;
    position: relative;
    min-height: 2em;
    line-height: 2em;
    font-size: 0.9em;
    width: -webkit-fill-available;
    white-space: normal;
}

#gallerySlider .placeholder .img_caption img {
    max-height: calc(100vh - 3em);
    /* height: 90%; */
    max-width: 100vw;
    display: flex;
    margin: auto;
}

.media li .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 200px;
    transition: .5s all ease;
}

.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;
}

.gallerywidget_wrapper {
    /* width: calc(100% + 40px); */
    background: transparent;
    height: 680px;
    padding: 10px;
    overflow: hidden;
    /* box-shadow: 0 0 4rem #00000082; */
    /* margin: -20px; */
}

section#gallery {
    background: #d0dfbd;
    /* background-image: url('/images/bg_sky.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* padding: 2vw 0 4vw; */
}

span.media_overlay:after {
    content: '';
    font-size: 1.3rem;
    text-shadow: 0 0 11px black;
    color: rgb(208 223 189);
    display: inline-block;
    width: 1em;
    height: 1em;
    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;
}

/*
* @subsection   Thumb
*/
.thumb {
    position: relative;
    display: block;
    overflow: hidden;
}

.thumb>img {
    width: 100%;
}

.thumb__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 90px;
    text-align: center;
    font-size: 40px;
    border-radius: 50%;
    color: #fff;
    background: rgba(33, 150, 243, 0.95);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    transition: .3s all ease;
    opacity: 0;
    -webkit-transform: translate(-50%, 100%);
    transform: translate(-50%, 100%);
}

.thumb:hover .thumb__overlay {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 1;
}

/*==================   Thumbnail    ======================*/
.thumb-wrap {
    display: block;
    position: relative;
    border-radius: 50%;
}

.thumb-wrap img {
    width: 100%;
    height: auto;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
}

.thumb-wrap .thumb_overlay {
    position: absolute;
    left: 0;
    top: 50%;
    right: 0;
    bottom: 0;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #fff;
    background: #02c6bc;
    text-align: center;
    height: 74px;
    margin-top: -37px;
    display: block;
    background: #02c6bc;
    padding: 10px 5px;
}

.lt-ie9 .thumb-wrap .thumb_overlay {
    background: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC')";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC');
    zoom: 1;
}

.lt-ie9 .thumb-wrap .thumb_overlay {
    background: none;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC')";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF02C6BC', endColorstr='#FF02C6BC');
    zoom: 1;
}

@media (max-width: 1499px) {
    .thumb-wrap .thumb_overlay h4 {
        font-size: 20px;
        line-height: 24px;
    }

    .thumb-wrap .thumb_overlay h4+* {
        margin-top: 0;
    }
}

@media (min-width: 1499px) {
    .thumb-wrap .thumb_overlay {
        height: 140px;
        margin-top: -70px;
        padding: 40px 10px;
    }
}

.thumb-wrap .thumb_overlay h2,
.thumb-wrap .thumb_overlay h3,
.thumb-wrap .thumb_overlay h4,
.thumb-wrap .thumb_overlay h5,
.thumb-wrap .thumb_overlay h6,
.thumb-wrap .thumb_overlay .link {
    color: #fff;
}

.thumb-wrap .thumb_overlay h2 a:hover,
.thumb-wrap .thumb_overlay h3 a:hover,
.thumb-wrap .thumb_overlay h4 a:hover,
.thumb-wrap .thumb_overlay h5 a:hover,
.thumb-wrap .thumb_overlay h6 a:hover,
.thumb-wrap .thumb_overlay .link a:hover {
    color: #191c1c;
}

.thumb-wrap:hover .thumb_overlay {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.gallery_categories_inner h3 {
    margin: 0 0 0.15em;
    text-transform: uppercase;
    font-size: 1em;
}

.lt-ie9 .thumb-wrap:hover .thumb_overlay:before {
    display: block;
}

.thumb {
    display: block;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.thumb.video .thumb_overlay {
    display: none;
}

.filter-button-group {
    padding: 0;
    /*    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
     white-space:nowrap; 
    -webkit-box-pack:  center;
        -ms-flex-pack:  center;
            justify-content:  center;*/
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    margin: 0 2em;
    flex-grow: 1;
}

.filter-button-group button.btn {
    padding: 0;
    background: transparent;
    outline: 0;
    /* max-width: 100px; */
    width: 100%;
    /* height: 60px; */
    margin-bottom: 0;
    /* white-space: nowrap; */
    margin-bottom: 1rem;
    border-bottom: 1px solid transparent;
    text-align: left;
    white-space: nowrap;
}

.filter-button-group button.btn:hover {
    cursor: pointer;
    opacity: .9;
}

.filter-button-group .btn.is-checked {
    font-weight: bold;
    color: #ffffff;
    /* background: #017c36; */
}

.filter-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0;
    display: inline-block;
}

.thumbnail {
    display: block;
    /* padding: 4px; */
    /* margin-bottom: 25px; */
    line-height: 1.42857143;
    background-color: #fff;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    width: 100%;
}

.grid-item {
    margin-top: 0 !important;
    margin-bottom: 0;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 4px;
    margin-bottom: 29px;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.thumb:hover .gallery_caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: black;
    transform: translate(0px, 0%);
}

.gallery_caption p:last-of-type {
    margin-bottom: 0;
}

.pswp__dynamic-caption {
    font-size: 1.2rem !important;
}

.gallery_wrapper {
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
}

.gallery_categories {
    width: 100%;
    min-width: 210px;
    flex-grow: 1;
    position: sticky;
    top: 123px;
    z-index: 9999;
    background: white;
    padding-top: 1rem;
}

.gallery_wrapper .gallery {
    width: 100%;
    flex-grow: 1;
}

.gallery_categories_inner {
    position: sticky;
    top: calc(120px);
    display: flex;
    align-items: center;
    border-bottom: 2px solid #cddcb7;
    /* overflow: hidden; */
}

.gallerywidget .gallery_caption * {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallerywidget_wrapper>.media {
    height: auto !important;
}

@media (max-width: 991px) {
    .gallery_categories {
    top: 50px;
    }

}

@media (max-width: 767px) {
    .gallery_wrapper {
        flex-direction: column;
    }

    .gallery_wrapper .gallery {
        width: 100%;
    }

    .filter-button-group {

/* flex-direction: row; */

}

    .filter-btn {
        /* padding: .3rem 1rem; */
    }

    .gallery_categories {
        width: 100%;
        max-width: none;
    }

    .filter-button-group button.btn {
        /* margin: 0; */
    }
}
/* ------------- 
 Section: News 
------------- */

section#news {
    background: transparent;
    /* background: linear-gradient(318deg, rgba(71, 167, 183, 1) 0%, rgba(55, 156, 214, 1) 100%); */
    padding: 0;
    display: flex;
    flex-direction: column;
}

.news_widget {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    color: var(--mr-color-light);
    margin: 0 -15px;
}

.news_widget .news_item {
    width: 100%;
}

.news_more {
    width: calc(40% - 2em);
    min-width: 234px;
    flex-grow: 1;
    margin: 0 1em;
}

.news_widget .news_item {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0 15px;
    flex-grow: 1;
    /* flex-wrap: wrap; */
    background: #f5f5f5;
    margin-bottom: .5rem;
    color: black;
    align-items: center;
}

.news_widget .news_item .news_img {
    /* background-size: cover; */
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* margin: 0 1em 1em; */
    /* width: 200px; */
    /* min-width: 30px; */
    flex-grow: 0;
    /* min-height: auto; */
    /* height: auto; */
}

.news_listings .news_item {
    position: relative;
    background: rgb(237 237 237);
    padding: 1em;
    margin-bottom: 1em;
}

.news_item h2 {
    margin-top: 0;
}

.news_details {
    /* width: calc(100% - 280px); */
    /* padding: 0 0.5em; */
    flex-grow: 1;
    min-width: 65%;
    margin: 0;
    padding: 1rem 2rem;
}

.news_title {
    color: grey;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(22px, 2vw, 1.7rem);
    line-height: 1.1;
    /* margin-bottom: 0.5em; */
    display: block;
    text-transform: none;
    text-transform: uppercase;
}

.news_more .news_item .news_img,
.news_more .news_item .news_description {
    display: none;
}

.news_more .news_details {
    width: 100%;
    margin: 0;
}

.news_more .news_item {
    border-bottom: 3px solid white;
    margin-bottom: 1em;
}

.news_more .news_title {
    font-size: 1.4em;
}

.news_title:hover {
    /* color: black; */
    text-decoration: underline;
}

.news_story {
    /* flex-direction: column; */
    background: #fff;
    display: flex;
    width: calc(100% - 14em);
    margin: auto;
    position: relative;
    padding: 0;
    text-align: left;
    color: #000000;
    box-shadow: 1px 1px 20px #00000085;
    width: calc(100% - 14em);
    height: 100%;
    border-radius: 1.6em;
    overflow: hidden;
    text-decoration: none;
}

.news_date {
    color: #8b8b8b;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--mr-color-contrast);
    /* width: 100%; */
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 1rem;
}

.news_content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2em;
    justify-content: center;
    width: 74%;
    position: relative;
    letter-spacing: .06em;
}

.news_photo {
    /* width: 26%; */
    /* padding-bottom: 13%; */
    /* padding-bottom: 27%; */
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;
}

.news_summary {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    font-size: 1.2em;
}

.news_readmore {
    justify-self: self-end;
    align-self: flex-end;
    background: black;
    color: white;
    font-weight: 900;
    padding: .25em 2em;
    border-top-left-radius: 2em;
    position: absolute;
    bottom: 0;
    right: 0;
    text-transform: uppercase;
    margin-bottom: 0;
}

.news_headline {
    font-size: 2em;
    font-weight: 900;
    text-decoration: none;
    margin-bottom: .25em;
}

.news_story:hover {
    color: black;
}

.news_readmore:after {
    content: '';
    margin-left: .5em;
    font-size: .9em;
    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;
}

.single_news .news_date,
.news_item .news_date {
    border-bottom: none;
    margin-bottom: .25rem;
    display: block;
}

.news_icon::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;
}

.search_results_section.showall a:nth-of-type(n + 4) {
    display: flex;
}

.news_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-primary);
    border-bottom-width: 5px;
}

.news_widget .news_item .news_img img {
    margin: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.news_widget .flex_holder {
    min-width: 280px;
    width: calc(33.3% - 30px);
    margin: 0 15px;
    flex-grow: 1;
}

.news_source {
    color: grey;
    order: 3;
    font-size: 1em;
}
.poll_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-secondary);
    border-bottom-width: 5px;
}

div[id^="poll"] h3 {
    font-family: var(--mr-font-main);
    margin: 1rem 0;
}



div[id^="poll"] form label input {
    opacity: 0;
    position: absolute;
    inset: 0;
    z-index: 999;
}

.poll_widget h2 {
    width: 100%;
    border-bottom-color: var(--mr-color-secondary);
    border-bottom-width: 5px;
}

div[id^="poll"] h3 {
    font-family: var(--mr-font-main);
    margin: 1rem 0;
}

div[id^="poll"] form label {
    display: block;
    margin-bottom: .5rem;
    position: relative;
    background: #eaeaea;
}


div[id^="poll"] form label span,
div[id^="poll"] #poll-results li {
    padding: 0.8rem 1.1rem;
    display: block;
    background: #eeeded;
    font-weight: 700;
    border: 3px solid transparent;
}


div[id^="poll"] form label input:checked+span,
div[id^="poll"] form label.active input+span {
    border: 3px solid #436b40;
}

div[id^="poll"] form label.active>span::before {
    content: '';
    position: relative;
    z-index: 9;
    color: var(--mr-color-accent);
    background-color: currentColor;
    border-radius: 50%;
    margin-right: .75rem;
    display: inline-block;
    width: 1em;
    height: 1em;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/circle-check.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/circle-check.svg') no-repeat center / contain;
}

div[id^="poll"] button {
    background: var(--mr-color-secondary);
    width: 100%;
    padding: 1rem;
    color: white;
    font-family: var(--mr-font-heading);
    font-weight: 900;
    border: 0;
    margin-top: 1rem;
}

div#poll-results ul {
    list-style: none;
    padding: 0;
}

div#poll-results ul li {
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
}


#poll-results {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 999999999;
    width: 100%;
    height: 100%;
}

.bar-container {
    height: 20px;
    background-color: #ddd;
    position: relative;
}

.bar {
    height: 100%;
    background-color: #d0dfbd;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    z-index: 1;
    transition: width 0.5s ease-in-out;
    opacity: 0.3;
}

.percentage {
    position: absolute;
    inset: 0;
    display: flex;
    line-height: 20px;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    z-index: 99999;
}

.result-item {
    position: relative;
}

div[id^="poll"] {
    position: relative;
}


#vote-button {
    margin-top: 20px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

#results {
    margin-top: 20px;
    display: none;
}

.result-bar {
    background-color: #4CAF50;
    height: 20px;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
}

.result-label {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.answer {
    position: relative;
    padding: 0.8rem 1.1rem;
    display: flex;
    background: #eeeded;
    font-weight: 700;
    border: 3px solid transparent;
    margin-bottom: .5rem;
    align-items: center;
}

.answer>span {
    position: relative;
    z-index: 99999;
}




div[id^="poll"] button {
    background: #97b691;
    width: 100%;
    padding: 1rem;
    color: white;
    font-family: var(--mr-font-heading);
    font-weight: 900;
    border: 0;
    margin-top: 1rem;
    font-size: 1rem;
}

div#poll-results ul {
    list-style: none;
    padding: 0;
}

div#poll-results ul li {
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
}


#poll-results {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 999999999;
    width: 100%;
    height: 100%;
}

.bar-container {
    height: 20px;
    background-color: #ddd;
    position: relative;
}




.result-item {
    position: relative;
}

#vote-button {
    margin-top: 20px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

#results {
    margin-top: 20px;
    display: none;
}

.result-bar {
    background-color: #4CAF50;
    height: 20px;
    border-radius: 5px;
    margin-bottom: 5px;
    position: relative;
}

.result-label {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.answer {
    position: relative;
    padding: 0.8rem 1.1rem;
    display: flex;
    background: #eeeded;
    font-weight: 700;
    border: 3px solid transparent;
    margin-bottom: .5rem;
    align-items: center;
}

.answer>span {
    position: relative;
    z-index: 99999;
}

.votecount {
    font-size: clamp(1rem, 1.5vw, 22px);
    margin-bottom: 1rem;
    color: grey;
}

div.poll_widget {
    width: 100%;
    max-width: 550px;
}
body#secondary .page-content {
    z-index: 9;
}

table.calendar td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 14.2%;
    height: 130px;
    background: whitesmoke;
    padding: 0.2em;
    position: relative;
    vertical-align: initial;
    padding-top: 1.6rem;
}

form#public_event_form .row {
    margin: 0;
}

table.calendar {
    border-collapse: separate;
    width: 100%;
    overflow: hidden;
}

a.calevent {
    display: block;
    background: var(--mr-color-primary);
    color: white;
    text-decoration: none !important;
    font-size: 0.7em;
    padding: .2em;
    border-radius: .2em;
    margin-bottom: 0.2em;
    overflow: hidden;
}

span.caleventname {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0em;
}

span.caleventtime {
    font-size: 10px;
    line-height: 1.5;
    display: block;
}

.caldaynum {
    font-size: 0.7em;
    padding: 0.35em;
    position: absolute;
    top: 0;
    font-weight: 900;
}

td.calnodates {
    background: white !important;
}

table.calendar th {
    font-size: 0.7em;
    text-align: center;
}

.calendar-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: grey;
    margin-bottom: 2rem;
}

.monthdropdown_options_inner {
    display: flex;
    flex-direction: column;
    position: relative;
    text-align: center;
    background: white;
    overflow: hidden;
    border-radius: .5em;
}

.monthdropdown_options_inner a {
    padding: 0.4em 1.9em;
    font-size: 1rem;
    text-transform: uppercase;
    color: black;
    text-decoration: none !important;
    font-weight: 900;
}

.monthdropdown_options_inner a:hover {
    background: var(--mr-color-accent);
}

.monthdropdown_options:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #ffffff transparent;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, 0);
}

.monthdropdown_options {
    position: absolute;
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    border-radius: .5em;
    height: auto;
    width: auto;
    top: calc(100% + 0px);
    visibility: hidden;
    z-index: 1;
    left: 50%;
    transform: translate(-50%, 0px);
}

.monthdropdown_selection,
.calendar-pager h1 {
    font-weight: 600;
    position: relative;
    text-transform: uppercase;
    font-size: 1.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monthdropdown,
.calendar-pager {
    position: relative;
    margin-bottom: 1rem;
}

.monthdropdown:hover .monthdropdown_options {
    visibility: visible;
}

.event_pager a {
    background: var(--mr-color-primary);
    text-decoration: none;
    padding: 0.2em 0.6em;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin-bottom: 1em;
    display: inline-block;
    color: #000000;
}

.event_pager .back:before,
.event_pager .prev:before {
    content: '';
    padding-right: .3em;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/circle-arrow-left.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/circle-arrow-left.svg') no-repeat center / contain;
}

.event_pager .next:after {
    content: '';
    padding-left: .3em;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/circle-arrow-right.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/circle-arrow-right.svg') no-repeat center / contain;
}

.event_content {
    padding: 1em 0 2em;
}

a.prevnext {
    font-size: 1.5em;
    color: var(--mr-color-primary);
}

@media (max-width: 991px) {

    table.calendar,
    table.calendar tbody,
    table.calendar tr {
        display: block
    }

    .monthdropdown {
        font-size: 20px
    }

    table.calendar td {
        display:
            block;
        width: 100%;
        max-width: none;
        margin-bottom: .5em;
        height: auto;
        padding: 0.6em;
        padding-top: 2em;
    }

    td.calnodates {
        display: none !important;
    }

    table.calendar th {
        display: none;
    }

    .caldaynum {
        font-size: .9em;
        padding-bottom: 1em;
    }

    a.caleventwrap {
        font-size: 18px;
        line-height: 1
    }

    span.caleventname {
        font-size: 1em;
        line-height: 1.2
    }

    span.caleventtime {
        font-size: .7em;
        line-height: 1.2
    }
}


/* Widget */


.events_item {
    display: flex;
    margin-top: 0.9em;
    flex-direction: row;
    border-radius: 0;
    box-shadow: 0 5px 10px #00000024;
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    background: white;
    /* margin: 10px 10px; */
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    /* overflow: hidden; */
}

.events_description {
    /* flex-grow: 1; */
    color: #656565;
    margin-bottom: 1rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    font-size: 0.8em;
}

.events_date {
    /* width: fit-content; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* margin-left: 5%; */
    padding: 1rem;
    color: #656565;
    /* margin-bottom: 15%; */
    position: relative;
    font-size: 1.8em;
}

.events_date_month {
    display: block;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 700;
    font-family: var(--mr-font-accent);
    font-size: 0.8em;
}

.events_date_day {
    font-size: 2em;
    line-height: 1;
    font-family: var(--mr-font-heading);
    font-weight: 900;
}

.events_details {
    display: flex;
    width: 100%;
    flex-grow: 0;
    font-size: 0.8em;
    flex-wrap: wrap;
    font-weight: 700;
    color: grey;
}

.events_title {
    line-height: 1;
    margin-bottom: 0.6em;
    font-size: 1.5rem;
    /* text-decoration: underline; */
    font-weight: 900;
    text-transform: uppercase;
    color: #656565;
}

.events_details_location:before,
.event_location:before {
    content: '';
    margin-right: 0.3em;
    display: inline-block;
    width: 1em;
    height: 1em;
    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;
}

.result_events_date:before,
.event_date:before {
    content: '';
    margin-right: 0.3em;
    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;
}

.events_details>* {
    /* flex-grow: 1; */
    /* width: 100%; */
    min-width: auto;
    margin-right: 1rem;
}

.events_details_time:before,
.event_time:before {
    content: '';
    margin-right: 0.3em;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/clock.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/clock.svg') no-repeat center / contain;
}
a.events_icon::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;
}


span.calhead_month {
    margin-right: 0.5rem;
}

.event_details {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    margin: 0 0.4rem;
}

.single_event_details .event_details {
    margin: 0;
}

.event_details>div {
    margin-right: 1.5rem;
}

.calendar-month .prevnext,
.calendar-pager .prevnext {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mr-color-accent);
    text-decoration: none;
}

.monthdropdown_selection i,
.calendar-pager i {
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event_date {
    background: var(--mr-color-accent);
    color: var(--mr-color-light);
    text-decoration: none;
    padding: 0.2em 0.6em;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 20%);
    white-space: nowrap;
    /* margin-bottom: 1em; */
    display: inline-block;
    color: #ffffff;
}


.event_date a {
    /* background: var(--mr-color-accent); */
    color: var(--mr-color-light);
    text-decoration: none;
    border-radius: 5px;
    /* box-shadow: 1px 1px 5px rgb(0 0 0 / 20%); */
    white-space: nowrap;
    /* margin-bottom: 1em; */
    display: inline-block;
      color: #ffffff;
}

.event_list .event,
.schedule_events .event {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    background: #f0f0f0;
    box-shadow: 3px 3px 10px #00000029;
    padding: 0.5em;
    border: 3px solid transparent;
    position: relative;
    color: var(--mr-color-contrast);
    margin-bottom: 1rem;
}


.event_list .event:hover,
.schedule_events .event:hover {
    border: 3px solid var(--mr-color-accent);
}

.event_result_details {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.event_result_img {
    /* width: 7.4em; */
    /* height: 100%; */
    /* overflow: hidden; */
    position: relative;
    /* margin-right: 1rem; */
}

.event_result_img img {
    width: 7.4em;
    height: 4.5em;
    object-fit: cover;
    object-position: center center;
    display: block;
}

table.calendar td:hover {
    background: var(--mr-color-accent-tint);
    cursor: pointer;
}

.event_description {
    font-size: 1rem;
    margin-left: 0.4rem;
}

.events_day_timetable_hour {
    border-bottom: 1px solid #e3e3e3;
    position: relative;
    font-size: 1rem;
    height: 4rem;
    min-height: 1rem;
}

.events_day_timetable_hour .label {
    font-size: 0.9rem;
    position: absolute;
    right: calc(100% + 0.5rem);
    bottom: calc(100% - .6rem);
    color: #c7c7c7;
    white-space: nowrap;
}

.events_day_timetable {
    padding-left: 6rem;
}

.events_day_timetable_hour_inner {
    position: relative;
    height: 4rem;
    z-index: 999;
}

.day_event {
    background: var(--mr-color-accent-tint);
    display: flex;
    position: relative;
    width: calc(100% - 4px);
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color:
        var(--mr-color-contrast);
    height:
        calc(100% - 0rem);
    box-shadow: 0.3rem 0.3rem 0.6rem #0000001a;
    border: 3px solid transparent;
    cursor: pointer;
}

.events_day_timetable_hour .event_result_details {
    padding: 0rem;
    font-size: 1rem;
}

.events_day_timetable_hour .event_details {
    font-size: 0.9rem;
    line-height: 1;
}

.events_day_timetable_hour.active {
    border-bottom: 1px solid grey;
    height: 4rem;
}

.events_day_timetable_hour.active .label {
    color: #303030;
}

.day_event .event_result_img img {
    height: 100%;
}

.event_day_wrapper {
    padding: 1px 2px 4px 2px;
    position: absolute;
    width: 100%;
}

.events_day_timetable_hour.active::first-of-type {}



.fc-dayGridMonth-view .day_event:hover {
    border: 3px solid var(--mr-color-accent);
    width: fit-content;
    height: auto;
    position: absolute;
    background: var(--mr-color-accent);
    z-index: 9999999;
    top: 0;
    right: auto;
    max-width: none;
}

.day_event h3 {
    line-height: 1.3;
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* margin-bottom: 0.3rem; */
    margin: 0 0.4rem;
}

.event_day_wrapper .event_result_details {
    height: 100%;
    /* flex-wrap: wrap; */
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    color: var(--mr-color-contrast);
}

.events_day_timetable_hour:first-of-type {
    border-top: 1px solid grey;
}

.calendar-pager {
    display: flex;
}

.calendar_viewoptions_dropdown {
    display: none;
    flex-direction: column;
    box-shadow: 0.2rem 0.2rem 0.6rem #00000054;
    border-radius: 0.5rem;
    padding: .2rem;
    position: absolute;
    z-index: 99999999;
    background: white;
    width: auto;
    min-width: 140px;
    top: calc(100% + .3rem);
}

a.calendar_viewoptions_current {
    height: 3rem;
    padding: 0 1rem;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--mr-color-contrast);
    background: var(--mr-color-accent);
    cursor: pointer;
}

.calendar-pager h1 {
    flex-grow: 1;
    text-align: left;
    justify-content: flex-start;
    padding-left: 1rem;
    text-transform: none;
    margin: 0 !important;
}

a.calendar_viewoptions_current:after {
    content: '';
    margin-left: 1rem;
    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;
}

.calendar-pager h1:after {
    display: none;
}

.calendar_viewoptions_dropdown.show {
    display: flex;
}

.calendar_viewoptions_dropdown>a {
    text-decoration: none;
    padding: 0.3rem;
    color: var(--mr-color-contrast);
}

.calendar_viewoptions_dropdown hr {
    margin: 0.3rem;
}

.calendar_viewoptions_dropdown>a:hover {
    background: var(--mr-color-accent-tint);
}

.events_day_timetable_header {
    height: 5rem;
    border-bottom: 1px solid #e3e3e3;
    padding: .5rem;
}

.events_day_timetable_hour:first-of-type {
    border-top: 1px solid #e3e3e3;
}

.events_day_timetable_labels {
    position: absolute;
}

.events_day_timetable_labels .events_day_timetable_hour,
.events_day_timetable_labels .events_day_timetable_header {
    border: none;
}

.events_week_timetable {
    display: flex;
    flex-direction: row;
    padding-left: 6rem;
}

span.events_day_timetable_header_weekday {
    text-transform: uppercase;
    display: block;
}

span.events_day_timetable_header_date {
    font-size: 2rem;
    line-height: 1;
}

.events_week_timetable .events_day_timetable {
    width: 14.285%;
    padding-left: 0;
    border-left: 1px solid #e3e3e3;
}

.events_week_timetable .event_result_img {
    display: none;
}

.events_week_timetable .event_time {
    display: none;
}

.events_week_timetable .event_description {
    display: none;
}

.events_year_timetable {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.events_year_timetable .calendar,
.events_year_timetable .flex_holder {
    width: 16.6%;
    padding: 1rem;
    min-width: 254px;
}

.events_year_timetable .calendar td {
    height: 1rem;
}

.events_year_timetable .caleventwrap {
    display:
        flex;
    overflow: hidden;
    position: absolute;
    bottom: 0.15rem;
}

.events_year_timetable .calevent {
    max-width: 0.3rem;
    max-height: 0.3rem;
    min-width: 0.3rem;
    min-height: 0.3rem;
    margin: 0.03rem;
    border-radius: 50% !important;
    background: var(--mr-color-accent);
    padding: 0;
}

.events_year_timetable .calevent>* {
    display: none;
}

.events_year_timetable .flex_holder {
    padding-top: 0;
    padding-bottom: 0;
}

.events_year_timetable .caldaynum {
    width: 100%;
    text-align: center;
    left: 0;
}

.event_day_wrapper.small h3,
.event_day_wrapper.xsmall h3 {
    font-size: 1rem;
    margin: 0;
    width: auto;
    overflow: visible;
    margin-left: 1rem;
    line-height: 1.2;
}

.event_day_wrapper.small .event_result_details,
.event_day_wrapper.xsmall .event_result_details {
    padding: 0;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.event_day_wrapper.small .event_description,
.event_day_wrapper.xsmall .event_description {
    display: none;
}

.event_day_wrapper:hover {
    min-height: 2rem;
}

.event_day_wrapper.xsmall a>* {
    opacity: 0;
}

.event_day_wrapper.xsmall:hover a>* {
    opacity: 1;
}

.event_day_wrapper.xsmall a:before {
    content: '...';
    opacity: 1;
    font-size: 1.5rem;
    color: black;
    line-height: 0;
    position: absolute;
    top: -5px;
    left: 0;
    height: calc(100% + 6px);
}

.event_day_wrapper.medium .event_description {
    display: none;
}

.overlap_1 {
    width: 50%;
}

.overlap_2 {
    width: 50%;
    margin-left: 50%;
}

.day_event.no_events {
    background: whitesmoke;
}

a.day_event.no_events:hover {
    border: 3px solid #dddddd;
}

.event_day_wrapper.xsmall:hover a:before {
    opacity: 0;
}

.events_week_timetable h3,
.events_week_timetable .event_details,
.events_week_timetable .event_description {
    margin-left: 0.3rem !important;
    width: calc(100% - .3rem) !important;
}

.event_day_wrapper.small .event_details,
.event_day_wrapper.xsmall .event_details {
    margin-bottom: 0;
    font-size: 0.8rem;
}


.event_list .event_result_details {
    flex-direction: column;
}

.event_list .event_details,
.event_list .event_description {
    margin-left: 0;
}

.monthdropdown {
    margin: 0;
}


/* NEW */

.fc-dayGridMonth-view .fc-day-other {
    /* visibility: collapse; */
    /* visibility: hidden; */
    /* height: 0 !important; */
    background: #f5f5f52b;
    opacity: .5;
}

.fc-dayGridMonth-view table.fc-scrollgrid {
    /* border: 0 !important; */
}

.fc-dayGridMonth-view a.fc-col-header-cell-cushion {
    text-decoration: none;
    color: black;
}

.fc-dayGridMonth-view .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    background: grey;
    white-space: nowrap;
    background: transparent;
    padding: 0.2em;
    position: relative;
    /* border: 2px solid transparent; */
}

.fc-dayGridMonth-view td.fc-daygrid-day.fc-day {
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #ffffff6e;
    /* padding: 0.1em; */
    position: relative;
    width: 14.7%;
    height: 145px;
    /* border: 1px solid #dddddd; */
}

.fc-dayGridMonth-view table.fc-scrollgrid-sync-table {
    /* border-collapse: separate; */
    /* overflow: hidden; */
}

.fc-dayGridMonth-view .fc-daygrid-day-number {
    text-decoration: none;
    color: black;
    font-weight: 400;
}

.fc-dayGridMonth-view td,
.fc-dayGridMonth-view th {
    /* border: 0; */
}


.fc-dayGridMonth-view .fc-daygrid-day-top {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0.25rem .5rem;
}

.fc-dayGridMonth-view .fc-day-other .fc-daygrid-day-frame {
    display: none;
}

h2.fc-toolbar-title {
    display: inline-block;
    padding-left: clamp(5px, 2.75vw, 1rem);
    border-bottom: none;
    white-space: nowrap;
    padding-bottom: 0;
}

.fc-toolbar-chunk>div {
    display: flex;
    align-items: center;
}

/* scrollbar fix
.fc-scroller {
    position: relative !important;
}
 */

button.fc-button.fc-button-primary {
    /* width: 3rem; */
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    border-radius: 0;
    color: white;
    background-color: var(--mr-color-primary);
}

.fc-toolbar-chunk button:first-of-type {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.fc-toolbar-chunk button:last-of-type {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.fc .fc-button-primary:focus,
.fc .fc-button-primary:not(:disabled).fc-button-active:focus,
.fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: inset 0 0 0.9rem rgb(5 52 100 / 50%);
}

.fc-h-event {
    border: 1px solid var(--mr-color-accent);
    border: 1pxsolidvar(--fc-event-border-color, #3788d8);
    background-color: #3788d8;
    background-color: var(--mr-color-accent);
}

.fc .fc-list-event-dot {

    border: 5px solid --mr-color-accent;
    border: calc(var(--fc-list-event-dot-width, 10px)/ 2) solid var(--mr-color-accent, #3788d8);
}

td.fc-daygrid-day.fc-day.fc-day-today>div {
    background: #ffed8338;
    border: 2px solid #fffdd7;
}

.fc-h-event .fc-event-title {
    text-overflow: ellipsis;
}

.fc .fc-daygrid-day-number {
    padding: 2px;
    text-decoration: none;
    color: grey;
}

.fc-header-toolbar.fc-toolbar {

    display: flex;
    flex-wrap: wrap;
}

.fc-header-toolbar.fc-toolbar .fc-toolbar-chunk {
    /* flex-grow: 1; */
    margin: 0 .5rem 1rem;
    font-family: var(--mr-font-heading);
}

.fc-header-toolbar.fc-toolbar .fc-toolbar-chunk .fc-button-group {
    /* width: 100%; */
}

@media (max-width: 991px) {
    .fc-header-toolbar.fc-toolbar {
        font-size: 2.75vw;
        display: flex;
        flex-wrap: wrap;
    }

    .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk {
        flex-grow: 1;
        margin-bottom: 1rem
    }

    .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk .fc-button-group {
        width: 100%;
    }
}

.fc-dayGridMonth-view .event_description {
    display: none;
}

.fc-daygrid-dot-event.fc-event-mirror,
.fc-daygrid-dot-event:hover {
    background: rgba(0, 0, 0, .1);
    background: transparent;
    /* position: absolute; */
    min-width: fit-content;
    width: calc(100% - 4px);
    /* background: whitesmoke !important; */
    background-color: var(--mr-color-secondary-tint);
    box-shadow: 2px 2px 6px #0000002b;
    /* padding: 2px 4px 2px 0; */
}

.fc .fc-scroller-harness {
    overflow: visible;
}

.fc-dayGridMonth-view .day_event .event_details {
    display: none;
    font-size: .85rem;
}

.fc-dayGridMonth-view .day_event:hover .event_details {
    display: flex;
    margin-top: .3rem;
    margin-bottom: 0.3rem;
    color: black;
}

.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    position: relative;
    min-height: 2.6em;
    margin-bottom: 0;
    padding-top: 1px;
}

.fc .fc-daygrid-event-harness {
    /* height: 1.2em; */
    /* margin-bottom: 2px; */
    /* margin-top: 0 !important; */
    padding-bottom: 2px;
}

.day_event {
    max-width: 100%;
}

.fc .fc-daygrid-event {
    /* z-index: 999; */
    /* border: 1px solid transparent; */
    color: #51504a;
}

.fc .fc-daygrid-event-harness:hover {
    z-index: 9999999;
}

.fc .fc-list-event:hover td {
    background: transparent;
}

.day_event:hover {
    border-color: var(--mr-color-accent);
}

.fc-direction-ltr .fc-list-table .fc-list-event-graphic {
    /* display: none; */
}

.fc-list .event_time {
    display: none;
}

.fc-list .event_details {
    order: 3;
    font-size: .85rem;
    margin-top: 0.25rem;
}

.fc-list .day_event {
    padding: 0.4rem 0.8rem;
}

.fc-list-day-text,
.fc-list-day-side-text {
    font-family: var(--mr-font-heading);
    position: relative;
    margin-top: 0;
    font-weight: 900;
    line-height: 1.2;
    color: black !important;
    font-size: calc(1.2rem + 0.5vw);
    text-decoration: none;
}

.fc-daygrid-more-link.fc-more-link {
    margin-left: 0.5rem;
    padding-top: 0.2rem;
    display: block;
    line-height: 1;
    text-overflow: ellipsis;
    overflow: hidden;
}

.google_event {
    background-color: salmon;
    border-color: salmon;
}

.fc-daygrid-dot-event.google_event .fc-daygrid-event-dot {
    border-color: salmon;
}

.fc-daygrid-dot-event.google_event {
    background: transparent;
    color: salmon;
}

.fc-daygrid-event-dot {
    border: 4px solid;
}

.fc-list-event.google_event,
.fc-list-event.google_event.holiday_events {
    background-color: transparent !important;
}

.fc .google_event .fc-list-event-dot {
    border-color: salmon;
}

.fc .holiday_events .fc-list-event-dot {
    border-color: #4cb577;
}

.calendar_wrapper {
    position: relative;
    min-height: 150px;
}



.fc-daygrid-event:hover {
    /* position: absolute; */
    min-width: fit-content;
    width: calc(100% - 4px);
    box-shadow: none;
}

.google_event.holiday_events {
    background-color: #4cb577;
    border-color: #4cb577;
}

.events_wrapper {
    display: flex;
    /* margin: 0 -10px; */
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    flex-grow: 1;
    align-items: center;
}

.media {
    /* height: 6rem; */
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #d0dfbd;
    display: flex;
    min-width: 120px;
    justify-content: center;
}

div#monthly_select_day select {
    margin-bottom: 0;
    margin-top: 1.54em;
}

div#monthly_select_day .label {
    margin-bottom: 1.2em;
}

@media(max-width:991px) {

    .events_item {
        width: calc(50% - 20px);
        min-width: 250px;
    }
}

.events_body {
    padding: 0 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-grow: 1;
    color: var(--mr-color-primary-shade);
    max-width: 100%;
    width: calc(100% - 300px);
}

.fc .fc-button-primary:hover,
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {}

.fc-daygrid-event:before {
    content: attr(data-time);
    position: absolute;
    top: 100%;
    border-radius: 5px;
    margin-top: 0.5rem;
    background: var(--mr-color-primary);
    transform: translateY(-1rem);
    color: #eeeeee;
    padding: 0.3rem .5rem 0.1rem;
    opacity: 0;
    visibility: hidden;
    transition: none;
    visibility: hidden;
    min-width: 3rem;
    min-height: 1rem;
    pointer-events: none;
    display: none;
}

.fc-daygrid-event:after {
    content: "";
    position: absolute;

    /* position tooltip correctly */
    bottom: calc(100% + 3px);
    left: 2rem;
    /* margin-left: 1rem; */

    /* vertically center */
    transform: translateY(-1rem);
    opacity: 0;
    /* the arrow */
    /* z-index: 9; */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.4rem 0.4rem 0 0.4rem;
    border-color: white transparent transparent transparent;
    transition: none;
    pointer-events: none;
    z-index: 999999999;
}

.fc-daygrid-event:hover:before,
.fc-daygrid-event:hover:after {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0%);
    transition: .0s all .0s ease-in;
}

.fc .fc-daygrid-more-link:hover {
    background-color: transparent;
    font-weight: 900;
}

a.fc-col-header-cell-cushion {
    text-decoration: none;
}

.single_event_details .events_photo {
    margin-bottom: 1rem;
    display: block;
    width: 100%;
}

.fc-daygrid-dot-event.fc-event-mirror,
.fc-daygrid-dot-event:hover {
    background: rgb(201 197 181);
    color: black;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    background-color: var(--mr-color-primary-shade);
}

.fc .fc-button-primary:hover {
    color: #fff;
    color: var(--fc-button-text-color, #fff);
    border-color: var(--mr-color-accent) !important;
    border-color: var(--mr-color-accent) !important;
    background-color: var(--mr-color-primary-shade);
}

.fc-multimonth-daygrid .fc-daygrid-day-events {
    pointer-events: none;
}

.fc-multimonth-daygrid .fc-daygrid-day-events {
    display: flex;
    /* flex-wrap: wrap; */
    /* min-height: 20px; */
    justify-content: space-evenly;
    flex-direction: column;
    max-height: 100%;
}

.fc-multimonth-daygrid .fc-daygrid-event-harness {
    height: 11px;
    width: 100%;
}

.fc-multimonth-daygrid .fc-daygrid-day-bottom {
    height: 14px;
    width: 10px;
    position: relative;
    margin: 0 !important;
}

.fc-multimonth-daygrid .fc-daygrid-event {
    margin: 0 !important;
    width: calc(100% - 10px);
}

.fc-multimonth-daygrid .fc-daygrid-event-dot {
    margin: 0;
    width: 100% !important;
    height: 6px !important;
    border: 0 !important;
    background: #70a02d;
}

.fc-multimonth-daygrid .fc-daygrid-event .fc-event-time {
    display: none;
}

.fc-multimonth-daygrid .fc-daygrid-dot-event .fc-event-title {
    display: none;
}

.fc-multimonth-daygrid .fc-daygrid-event-harness {
    height: 5px;
    margin-bottom: 2px;
}

.fc-multimonth-daygrid .fc-event {
    pointer-events: none;
    margin: 0 5px !important;
    padding: 0 !important;
    height: 4px;
    overflow: hidden;
}

.fc-multimonth-daygrid .mr_bookings {
    background: #a09d91;
}

.fc-multimonth-daygrid .mr_bookings svg {
    display: none
}

.fc .fc-multimonth {
    overflow: visible !important;
}

.fc-multimonth-daygrid .fc-daygrid-day-frame:hover {
    cursor: pointer;
    background: #f8f4c259 !important;
}

.fc-multimonth-daygrid .fc-day-disabled .fc-daygrid-day-frame:hover {
    background: transparent !important;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: rgb(31 125 190 / 6%);
}

.fc .fc-multimonth-multicol .fc-multimonth-month {
    padding-left: 0 !important;
}

.fc-multimonth-month[style*="33"]:nth-of-type(3n) {
    padding-right: 0 !important;
}

.fc-multimonth-month[style*="50"]:nth-of-type(2n) {
    padding-right: 0 !important;
}

.fc-multimonth-month[style*="100"] {}

.fc .fc-multimonth-multicol .fc-col-header-cell-cushion {
    font-size: .9rem;
    color: grey;
}

.fc .fc-daygrid-day.fc-day-today {
    background: transparent !important
}

.fc .fc-multimonth {
    border: 0 !important;
}

.fc-multiMonthYear-view .fc-daygrid-day-number {
    font-size: .9rem;
    color: grey;
}

.fc .fc-cell-shaded,
.fc .fc-day-disabled {
    pointer-events: none !important;
}




a.events_item .media img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: none;
}

a.events_item:hover {
    text-decoration: none;
}

.fc .fc-daygrid-day-frame {
    position: relative;
    /* min-height: 54px !important; */
}

@media (max-width: 576px) {
    .fc-dayGridMonth-view td.fc-daygrid-day.fc-day {
        height: 20px;
    }

    .fc .fc-daygrid-day-events {
        max-height: 26px;
    }

    .fc .fc-daygrid-day-frame:hover {
        background: #90d9f840;
        cursor: pointer;
    }

    .fc-direction-ltr .fc-daygrid-event .fc-event-time {
        display: none;
    }

    .fc-daygrid-dot-event .fc-event-title {
        display: none;
    }

    .fc .fc-daygrid-event-harness {
        height: 5px;
        width: 100%;
    }

    .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
        display: flex;
        /* flex-wrap: wrap; */
        min-height: 20px;
        justify-content: space-evenly;
        flex-direction: column;
        padding: 0 !important;
    }

    .fc .fc-toolbar {
        flex-direction: column;
    }

    .fc .fc-toolbar .fc-toolbar-chunk {
        flex-grow: 1;
        width: calc(100% - 1rem);
        margin-bottom: 0.5rem;
    }

    .fc .fc-button-group {
        width: 100%
    }

    .fc-button-group button.fc-button.fc-button-primary {
        min-height: 0;
        padding: 0.6rem;
    }

    .fc-prev-button,
    .fc-next-button {
        width: 3rem;
    }

    .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
        pointer-events: none;
        margin: 0 !important;
    }

    .single_event_details .event_details {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        border-bottom: 3px solid black;
    }

    .event_details>div {
        margin-bottom: 0.75rem;
    }

    .fc .fc-daygrid-day-bottom {
        height: 13px;
        width: 10px;
        position: relative;
        margin: 0 0 0 1px !important;
    }


    a.fc-daygrid-more-link.fc-more-link {
        width: 11px;
        text-decoration: none;
        font-weight: bold;
        /* height: 1.2rem; */
        /* height: 14px; */
        /* width: 13px; */
        margin: 0 !important;
        overflow: hidden;
        position: absolute;
        /* left: -1px; */
        top: 0;
        font-size: 0.8rem;
        line-height: 0.3;
    }

    .fc .fc-daygrid-event {
        margin: 0 !important;
        width: 100%;
    }

    .fc-daygrid-event-dot,
    .fc-h-event {
        margin: 0;
        width: calc(100% - 5px) !important;
        height: 4px !important;
        border: 0 !important;
        border-radius: calc(var(--fc-daygrid-event-dot-width, 8px)/ 2);
        background: var(--mr-color-accent);
    }

    .fc-h-event * {
        display: none
    }


}


.filterbuttons_item label {
    padding: 0.7rem 1rem 0.7rem 3rem;
}

.filterbuttons_wrapper {
    display: flex;
    margin-bottom: 1rem;
    overflow: hidden;
    opacity: 1 !important;
}



.filterbuttons_item input {
    opacity: 0;
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.filterbuttons_item {
    position: relative;
    color: #afafaf;
    margin-left: 1rem;
    white-space: nowrap;
}

.filterbuttons_item:first-of-type label {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.filterbuttons_item:last-of-type label {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}


.filterbuttons_item label:before {
    content: '';
    display: block;
    width: 1rem;
    height: 1rem;
    position: absolute;
    margin: 1rem;
    left: 0;
    top: 0;
    background: #0000005e;
    cursor: pointer;
}

.item_events input+label:before {}

.item_section_2 input:checked+label:before {
    background: #5b8fa5;
    box-shadow: 0px 0px 1.2rem #67a8c35c;
}

.item_section_2:hover input:checked+label:before {
    background: #67a8c3;
}

.item_section_2:hover input+label:before {
    box-shadow: inset 0 0 0 1px #67a8c37d, 0px 0px 1.2rem #67a8c35c, inset 0px 0px 1.2rem #67a8c35c;
}

.item_section_1 input:checked+label:before {
    background: #9d9d9d;
    box-shadow: 0px 0px 1.2rem #c3c3c35c;
}

.item_section_1:hover input:checked+label:before {
    background: #c3c3c3;
}

.item_section_1:hover input+label:before {
    box-shadow: inset 0 0 0 1px #c3c3c37d, 0px 0px 1.2rem #c3c3c35c, inset 0px 0px 1.2rem #c3c3c35c;
}

.item_section_3 input:checked+label:before {
    background: #499833;
    box-shadow: 0px 0px 1.2rem #55af3b5c;
}

.item_section_3:hover input:checked+label:before {
    background: #55af3b;
}

.item_section_3:hover input+label:before {
    box-shadow: inset 0 0 0 1px #55af3b7d, 0px 0px 1.2rem #55af3b5c, inset 0px 0px 1.2rem #55af3b5c;
}

.item_quaternary input:checked+label:before {
    background: #1a9389;
    box-shadow: 0px 0px 1.2rem #1fb7ab5c;
}

.item_quaternary:hover input:checked+label:before {
    background: #1fb7ab;
}

.item_quaternary:hover input+label:before {
    box-shadow: inset 0 0 0 1px #1fb7ab7d, 0px 0px 1.2rem #1fb7ab5c, inset 0px 0px 1.2rem #1fb7ab5c;
}

.item_quinary input:checked+label:before {
    background: #805eae;
    box-shadow: 0px 0px 1.2rem #984cff5c;
}

.item_quinary:hover input:checked+label:before {
    background: #984cff;
}

.item_quinary:hover input+label:before {
    box-shadow: inset 0 0 0 1px #984cff7d, 0px 0px 1.2rem #984cff5c, inset 0px 0px 1.2rem #984cff5c;
}

.item_senary input:checked+label:before {
    background: #940000;
    box-shadow: 0px 0px 1.2rem #ff00005c;
}

.item_senary:hover input:checked+label:before {
    background: #c40808;
}

.item_senary:hover input+label:before {
    box-shadow: inset 0 0 0 1px #c408087d, 0px 0px 1.2rem #c408085c, inset 0px 0px 1.2rem #c408085c;
}

.fc-daygrid-day-events .fc-event.mr_events.fc-daygrid-event:hover {
    /* background: white !important; */
    /* border: 1px solid var(--mr-color-primary); */
}

.fc .fc-list-event-dot {
    border-color: #73a134;
}

button.fc-button.fc-button-primary {
    white-space: nowrap;
}

.fc-header-toolbar.fc-toolbar .fc-toolbar-chunk+.fc-toolbar-chunk {
    display: flex;
    justify-content: flex-end;
    text-align: right;
    margin: 0;
}

.fc-submitEventButton-button::before {
    content: '';
    font-size: 0.7em;
    margin-right: 0.5rem;
    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;
}

.submitevent_shadow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #0000003d;
    align-items: center;
    justify-content: center;
    z-index: 999999999999999;
}

.submitevent_container {
    width: 90%;
    height: 90%;
    background: white;
    padding: 2vw;
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 5px 10px #00000057;
    max-width: 980px;
}

.submitevent_container_inner {
    overflow: auto;
    height: 100%;
    width: 100%;
    padding: 1rem 2vw;
    font-size: 1rem;
}

a.submitevent_close {
    position: absolute;
    top: -1.2rem;
    right: -1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--mr-color-accent);
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 5px 10px #00000057;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: white !important;
    padding-top: .1rem;
    cursor: pointer;
}

a.submitevent_close::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -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;
}

.fc .fc-scroller-harness {
    overflow: visible !important;
}

#public_event_form .label {
    display: flex;
}

#public_event_form .label label {
    flex-grow: 1;
    width: 100%;
}

#public_event_form .label button.translate_button {
    text-align: right;
    font-size: 0.8em;
}

.added_skip_date .value {
    display: flex;
    align-items: center;
}



.added_skip_date .value .delete_icon_wrapper {
    margin-bottom: 1.2em;
    margin-left: 0.6rem;
}

button#submit_event_button {
    position: relative;
    min-height: 72px;
}

.submitevent_container.submitted #submit_header {
    display: none;
}

.submitevent_container.submitted {
    height: auto;
}

.fc-h-event {
    background-color: #c5c680;
    color: var(--mr-color-primary-shade)
}

@media (max-width: 574px) {
    .fc-list-table .fc-event {
        display: flex !important;
        flex-wrap: wrap !important;
        border-bottom: 1px solid var(--fc-border-color);

    }

    .fc-list-event-time {
        flex-grow: 1;
        font-size: 1rem;
        padding-bottom: 0 !important;
        order: 2;
        padding-left: .25rem !important;

    }

    .fc-list-table .fc-event>td {
        display: block !important;
        position: relative !important;
        border: none;
        line-height: 1.2;
    }

    .fc-list-table .fc-event .fc-list-event-title {
        width: 100%;
        padding: .25rem 0.75rem !important;
        order: 3
    }

    .fc-list-table .fc-event .fc-list-event-graphic {
        width: 20px;
        padding: 0.15rem 1rem !important;
        order: 1
    }
}

.fc-next-button,
.fc-prev-button {
    max-width: 4rem;
}

.event-popover-content {
    position: absolute;
    background-color: #fff;
    /* border: 1px solid #ccc; */
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    width: auto;
    margin-bottom: 0.5rem;
    max-width: 380px;
    min-width: 320px;
    z-index: 99999999;
}

.event-popover-main {
    display: flex;
    gap: 1rem;
    min-width: 270px;
    width: 100%;
    margin-top: 0.3rem;
}

.event-popover-photo {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    max-width: 120px;
    max-height: 7em;
    object-fit: cover;
    object-position: center;
}

.event-popover-details {
    text-align: left;
}

.event-popover-title {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    /* margin-bottom: 0.4em; */
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-popover-time,
.event-popover-location {
    font-size: 14px;
    margin: 5px 0;
}

.event-popover-content.popover-visible {
    display: flex;
    flex-direction: column;
    bottom: 100%;
    left: 0;
    transform: translate(0%, 0px);
}

.event-popover-description {
    display: -webkit-box;
    font-size: 14px;
    white-space: normal;
    color: black;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    overflow: hidden;
    /* max-height: 7.3em; */
    /* min-width: 200px; */
    -webkit-box-pack: end;
    word-wrap: break-word;
    visibility: visible;
}

.event-popover-details {
    display: flex;
    gap: 1rem;
}


.single_event_details .events_photo img {
    height: 100%;
    width: auto !important;
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: left;
    height: 30vw;
    max-height: 300px;
}

.fc-openfullcalendarbutton-button::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;
}

.thismonthcal_wrapper {
    position: relative;
}

#thismonthcal .fc-daygrid-day-bottom {
    display: none;
}

#thismonthcal .fc-dayGridMonth-view td.fc-daygrid-day.fc-day:hover .fc-daygrid-day-frame {
    background: #87d0200f;
    box-shadow: inset 0 0 2px grey;
    cursor: pointer;
}

#thismonthcal .fc-header-toolbar.fc-toolbar {
    /* display: none; */
    margin: 0;
}

#thismonthcal {
    font-size: 1rem;
    font-weight: 400;
    min-height: 410px;
}

#thismonthcal a.fc-col-header-cell-cushion {
    font-weight: 400;
    padding: 0px 4px;
}

#thismonthcal .fc-dayGridMonth-view td.fc-daygrid-day.fc-day {
    height: 5em;
}

#thismonthcal .fc-daygrid-event-harness {
    height: 10px;
    width: 100%;
    margin-bottom: 0;
    /* overflow: hidden; */
    pointer-events: none;
    box-sizing: border-box;
}

#thismonthcal .fc-daygrid-event {
    margin: 0;
    position: relative;
    z-index: 99;
    border: 0;
    width: 100%;
    display: block;
    box-sizing: border-box;
    pointer-events: all;
    padding: 0;
    font-size: 1.1rem;
}

#thismonthcal .fc-daygrid-event-dot {
    height: 2px;
    width: 96%;
    margin: 0;
    border: 2px solid green !important;
    border-radius: 8px;
    background: #1f8113;
}

#thismonthcal .fc-event-time {
    display: none;
}

#thismonthcal .fc-event-title {
    display: none;
}

#thismonthcal .fc-daygrid-day-events {
    margin: 0;
    /* display: flex; */
    /* flex-wrap: wrap; */
    padding: 0.2rem;
}


#thismonthcal .fc-daygrid-day-number {
    padding: 0;
}

div#thismonthcal .fc-dayGridMonth-view table.fc-scrollgrid {
    box-shadow: 0 0 0 1px #dddddd;
}

#thismonthcal .fc-header-toolbar button {
    background: transparent !important;
    color: #2b5b1a;
    min-height: 0rem;
    line-height: 1;
    width: auto;
}

#thismonthcal .fc-header-toolbar button:hover {
    color: #70a02d;
}

#thismonthcal .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk:nth-of-type(1)::before {
    content: 'Upcoming Events';
    font-family: var(--mr-font-heading);
    position: relative;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 900;
    line-height: 1.2;
    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;
    font-size: clamp(1.75rem, 2.5vw, 2rem);
    line-height: 1;
}

.fc-event:hover .event-popover-content {
    display: block;
}

.fc-daygrid-event {
    pointer-events: all
}

.fc-daygrid-event:hover .event-popover-content {
    display: block;
}

.fc .fc-daygrid-body {
    z-index: unset !important;
}

.fc-daygrid-dot-event {
    align-items: center;
    display: flex;
    padding: 0;
}

.calendar-filters {
    font-size: 1em;
    display: flex;
}

.calendar-filters fieldset {
    display: flex;
}

.calendar-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* make each fieldset look like a closed dropdown */
.multiselect {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    padding: 0.5em 1.5em 0.5em 0.75em;
    cursor: pointer;
    user-select: none;
    width: 200px;
    height: 1.5em;
    box-sizing: border-box;
    padding-right: 2em;
}

/* hide the native legend */
.multiselect legend {
    position: absolute;
    top: -9999px;
    left: -9999px;
}

/* badge on the right showing count */
.multiselect::after {
    content: attr(data-count);
    position: absolute;
    top: 50%;
    left: 0.75em;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: #555;
    pointer-events: none;
}

/* caret icon before the count */
.multiselect::before {
    content: "";
    /* Unicode for fa-caret-down */
    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;
    position: absolute;
    top: 50%;
    right: .5em;
    /* sits between text and count */
    transform: translateY(-50%);
    pointer-events: none;
}

/* the checkbox list (options) hidden by default */
.multiselect .options {
    display: none;
    position: absolute;
    top: calc(100% + 0.2em);
    left: 0;
    min-width: fit-content;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    padding: 0.2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* show options when you add .open */
.multiselect.open .options {
    display: flex;
    flex-direction: column;
}

/* make clicking labels easier */
.multiselect .options label {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5em;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
    margin: 0;
    padding: 0.7rem 0;
}


/* Hide the native checkbox */
.options label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 1em;
    height: 1em;
    min-width: 1em;
    display: inline-block;
    margin-right: 0.4em;
    margin-left: .4em;
    border: 2px solid;
    border-radius: 3px;
    background: transparent;
    transition: background 0.2s, border-color 0.2s;
}

.options label input[type="checkbox"]:not(:checked)+.checkbox-custom {
    background: transparent !important;
}

/* Assign each type its color via its wrapper class */
.type-meeting .checkbox-custom {
    --type-color: #ff7043;
}

.type-workshop .checkbox-custom {
    --type-color: #42a5f5;
}

.type-social .checkbox-custom {
    --type-color: #66bb6a;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦and so onÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ */
/* When checked, fill the square */
.options label input:checked+.checkbox-custom {
    background: var(--type-color);
    border-color: var(--type-color);
}

/* 2. Facility icons */
.icon-wrapper {
    position: relative;
    display: inline-block;
    width: 2em;
    height: 1.2em;
    margin-right: 0.2em;
    vertical-align: middle;
    transition: opacity 0.2s;
}

/* Default (checked) state: full opacity */
.options label input:checked+.icon-wrapper {
    opacity: 1;
}

/* Unchecked: fade & grayscale */
.options label input:not(:checked)+.icon-wrapper {
    opacity: 0.3;
    filter: grayscale(100%);
}

/* CrossÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âout overlay when unchecked */
.options label input:not(:checked)+.icon-wrapper::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 7px;
    width: 1.6em;
    height: 0.15em;
    transform: rotate(-45deg) translate(-0.65em, 0.25em);
    transform-origin: center;
    pointer-events: none;
    background: #000000;
}

svg.icon {
    width: 100%;
    height: 100%;
}

fieldset#filter-type .options label {
    font-size: 1.2rem;
}

fieldset#filter-type .options {
    width: 240px;
}

.multiselect .options label:hover {
    background: whitesmoke;
}

.calendar-filters-wrapper {
    display: flex;
    gap: 1rem;
    background: #a09d91;
    padding: 0.7rem 1.2rem;
    align-items: center;
    border-radius: 8px;
    flex-wrap: wrap;
    /* flex-direction: column; */
}

.calendar-filters>label {
    font-weight: 900;
    margin: 0;
}

.calendar-filters-wrapper>label {
    margin: 0;
}

.calendar-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.calendar-top-right .btn i {
    margin-right: .5rem;
}

.calendar-top-right .btn {
    padding: 0.55em;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 8px;
}

.fc-daygrid-day-events:after,
.fc-daygrid-day-events:before,
.fc-daygrid-day-frame:after,
.fc-daygrid-day-frame:before,
.fc-daygrid-event-harness:after,
.fc-daygrid-event-harness:before {
    display: none !important;
}

@media (max-width: 767px) {
    h2 {
        font-size: 1.75em !important;
    }

    .calendar-top-right .btn {
        position: fixed;
        bottom: 2em;
        right: 2em;
        z-index: 9999999999999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        border-radius: 2em;
        border: 3px solid #ece4ca;
    }

    .fc-dayGridMonth-view .fc-daygrid-day-top {

        padding: 0
    }
}

/*========================================
  Popover styles for ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œBook FacilityÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â modal
==========================================*/

/* hide by default */
/* Centered fixed popover */
.popover-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    max-width: 326px;
    width: 90%;
}

/* show when JS adds .open */
.popover-container.open {
    display: block;
    /* // transform: none; */
}

/* ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“Step 2ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â mode: make it roomy for a big form */
.popover-container.step2 {
    width: 800px;
    /* or whatever you need */
    max-width: 95%;
    max-height: 95vh;
}

.popover-container .popover-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popover-container .close-popover {
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #666;
}

.popover-container label,
.popover-container select {
    font-size: 0.9rem;
}

/* Header (drag handle) */
.popover-header {
    cursor: move;
    background: #f5f5f5;
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popover-header .popover-title {
    font-weight: 600;
    font-size: 1rem;
}

.popover-header .close-popover {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #666;
}

/* Body */
.popover-body {
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
    /* header/footer ~60px */
}

/* Optional: you can tweak padding or font-size in step2 */
.popover-container.step2 .popover-body {
    padding: 1.5rem;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦plus your existing #mini-calendar rulesÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¦ */
#mini-calendar {
    width: 280px;
    font-size: .8em;
}

#mini-calendar .fc-toolbar {
    /* display: none; */
}

#mini-calendar .fc-event {
    display: none;
}

#mini-calendar .disabled-date .fc-daygrid-day-number {
    color: #ccc;
    /* text-decoration: line-through; */
    pointer-events: none;
}

#mini-calendar .available-date {
    cursor: pointer;
}

/*========================================
      Mini-calendar sizing & state styling
  ==========================================*/

/* target by ID rather than a special class */
#mini-calendar {
    width: 298px;
    height: 332px !important;
    font-size: .8em;
}

/* hide the toolbar & any events */
#mini-calendar .fc-toolbar {
    /* display: none; */
    margin: 0;
}

#mini-calendar .fc-event {
    display: none;
}

/* greyÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âout + strike dates that have events */
#mini-calendar .disabled-date .fc-daygrid-day-number {
    color: #ccc;
    /* text-decoration: line-through; */
    pointer-events: none;
}

/* cursor pointer on clickable days */
#mini-calendar .available-date {
    cursor: pointer;
}


div#mini-calendar .fc-dayGridMonth-view td.fc-daygrid-day.fc-day {
    height: 1rem;
}


div#mini-calendar.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 0;
    display: none;
}

#mini-calendar table.fc-scrollgrid-sync-table {
    width: 290px !important;
}

#mini-calendar table.fc-col-header {
    width: 290px !important;
}

#mini-calendar.fc .fc-col-header-cell-cushion {
    font-family: 'Open Sans';
    font-size: 0.9rem;
}

#mini-calendar .fc-dayGridMonth-view .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    background: whitesmoke;
    border-radius: 50%;
}

#mini-calendar.fc .fc-daygrid-day-number {
    font-family: 'Open Sans';
    padding: 0;
    padding-top: 2px;
    color: grey;
    font-size: 1rem;
}

#mini-calendar .fc-daygrid-day-top {
    padding: 0;
    justify-content: center;
}


#mini-calendar .fc-daygrid-day.fc-day-other {
    opacity: 1 !important;
    pointer-events: auto;
}

#mini-calendar.fc .fc-day-other .fc-daygrid-day-top {
    opacity: 1 !important;
    pointer-events: auto;
}

#mini-calendar.fc .fc-toolbar-title {
    color: grey;
    font-size: 1rem;
    text-align: left;
    margin: 0;
    padding: 0;
}

#mini-calendar.fc .fc-button-primary {
    background-color: transparent;
    color: grey;
    padding: 0;
    min-height: 1rem;
    min-width: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    border-radius: 50%;
}

#mini-calendar.fc .fc-button .fc-icon {
    height: 2rem;
    width: 2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mini-calendar .fc-header-toolbar.fc-toolbar .fc-toolbar-chunk {
    margin: 0;
    gap: 10px;
}

#mini-calendar.fc .fc-button-primary:hover {
    background-color: whitesmoke;
    border-radius: 50%;
}

select#facility-select {
    width: 100%;
    padding: 4px;
    margin-bottom: 1rem;
}

#mini-calendar .available-date .fc-daygrid-day-frame {
    cursor: pointer !important;
}

/* keep ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œnot-allowedÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â on booked days, too */
#mini-calendar .fc-dayGridMonth-view .disabled-date .fc-daygrid-day-frame {
    cursor: not-allowed !important;
    background: transparent;
    opacity: .3;
}

.minibookingcal.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.available-date:hover .fc-daygrid-day-frame {
    outline: 2px solid grey;
}

/* Disable past/booked days with a big red slash across the entire cell */
.fc-daygrid-day.disabled-date {
    position: relative;
    /* establish stacking context */
    background: #f8f9fa;
    /* keep your ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“disabledÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â bg */
    color: #6c757d;
    /* grey text */
    pointer-events: none;
    /* block clicks */
}

/* Draw the diagonal line on the TD */
.fc-daygrid-day.disabled-date::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 15%;
    width: 80%;
    height: 2px;
    background-color: rgb(219 219 219);
    transform: rotate(-45deg);
    transform-origin: center;
    pointer-events: none;
    z-index: 5;
    /* above everything in the cell */
}

.form-group.special-date #rental-date-display {
    border: 0;
}

.form-group.special-date {
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid black;
    padding: 0 0 14px;
    flex-direction: row;
    justify-content: space-between;
}

.form-group.special-date label {
    margin: 0;
}

.form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.form-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group.cbox .form-item {
    flex-grow: 0;
}

div#booking-details-form .btn {
    color: white;
}

span#facility-display {
    font-weight: 900;
    font-size: 1.1em;
}

table.costs-table {
    font-size: 1rem;
    margin-bottom: 1em;
}

table.costs-table thead th {
    background: #d2d2d2;
}

table.costs-table tbody tr:nth-of-type(even) {
    background: whitesmoke;
}

/* Hide the Terms & Conditions modal when aria-hidden is true */
.terms-popover {
    display: none;
    max-width: 420px;
}

/* Show it when aria-hidden is false */
.terms-popover.visible {
    display: block;
    /* add your centering/backdrop styles here */
}

.terms-content h3,
.terms-content h2 {
    color: black;
    font-size: 1rem;
}

.terms-content {
    font-size: 1rem;
}

div#terms-popover .popover-body {
    max-height: calc(80vh - 160px);
}

.fc-multimonth-month .fc-daygrid-day-frame {
    background: #efeadd5c;
    overflow: hidden;
}

.fc-multimonth-month .fc-day.fc-day-disabled {
    opacity: .4;
}

.ics-event .event-popover-content,
.google-event .event-popover-content,
.ics-event::after,
.google-event::after {
    display: none !important;
}

.fc-daygrid-block-event {
    padding-left: 0.3rem;
}

.fc-daygrid-day-events>.fc-daygrid-event-harness:first-child {
    padding-bottom: 2px;
}

.mr_bookings svg {
    width: 1.2rem;
    height: 1.2rem;
    min-height: 1.2rem;
    min-width: 1.2rem;
    margin-left: -0.1rem;
    margin-right: 0.1rem;
}

.mr_bookings .fc-daygrid-event-dot {
    display: none;
}

.fc-list-table .event-popover-content {
    display: none !important;
}


@media (min-width: 991px) {

    /* Make the wrapper look like a simple container */
    .multiselect {
        cursor: default;
        /* no dropdown behavior */
        background: transparent;
        border: none;
        padding: 0;
        width: auto;
        height: auto;
        width: 100%;
        font-size: 1.3em;
    }

    /* Hide the caret icon and count badge */
    .multiselect::before,
    .multiselect::after {
        display: none;
    }

    /* Show the options panel inline, remove dropdown positioning */
    .multiselect .options {
        display: flex !important;
        flex-direction: row !important;
        position: static;
        flex-wrap: wrap;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        width: auto;
        z-index: auto;
        width: 100% !important;
    }

    /* Tweak individual labels for a tight inline legend */
    .multiselect .options label {
        margin: 0 1rem 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        border-radius: 4px;
    }

    /* If youÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢d like smaller text or a lighter font at desktop size */
    .multiselect .options label {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
        padding: 0.2rem .5rem 0.2rem 0;
    }

    .multiselect .options label:hover {
        background: #a09d911f;
    }

    .calendar-filters {
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
        margin: 0;
        gap: 0;
        align-items: flex-start;
    }

    .calendar-filters-wrapper {
        width: 100%;
        background: transparent;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        /* margin-bottom: 0.7rem; */
    }

    .calendar-filters-wrapper>label {
        text-align: left;
        width: fit-content;
        display: none;
    }

    .calendar-filters>label {
        margin-bottom: .7rem;
    }

    .calendar-top {
        flex-wrap: nowrap;
        align-items: flex-end;
    }

    .btn-book-facility {
        white-space: nowrap;
    }
}

span.cat-badge {
    width: 0.7rem;
    height: 0.7rem;
    display: inline-block;
    margin-right: 0.5rem;
}

p.event-popover-eventcategory {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin: 0.2rem 0 0;
}

.event_category span.category_swatch {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    margin-right: 0.6rem;
}

.event_category {
    display: flex;
    align-items: center;
}

.single_event_details h1 {
    font-size: 2em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.fc-list .facility_community_centre .fc-list-event-dot::before {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNDQuODQgMjk1LjU4Ij4KICA8cGF0aCBkPSJNMjEyLjAyLDI3OS4yNXYtODQuNWMwLTIuODUtNC00LjMxLTYuNDQtNC41Ni0xOS40OS0xLjk3LTQyLjI1LDEuNjMtNjIuMTEsMC0xLjk3LS43LTUuNDUsMy4zNC01LjQ1LDQuNTV2ODQuNUg1Mi41MmMtNy4zOCwwLTExLjgzLTcuOTQtMTIuNDktMTQuNTEtMy44Ny0zOC43NSwyLjktODMuNjMtLjA1LTEyMy4wMy0uMDItNy4zNSw1LjY1LTExLjg4LDEwLjU3LTE2LjQzLDM1Ljk1LTMzLjI5LDc4LjYxLTYyLjkxLDExNS40Mi05NS41OCw5LjExLTQuODIsMTQuOTItMS44OCwyMi41MywzLjU3LDM5LjU4LDI4LjMzLDc1Ljg4LDY2LjYsMTE1LjU0LDk1LjQ2LDMuNDcsMi44LDQuNjQsNi42NCw1LjAyLDEwLjk4LDMuNTcsNDAuNDMtMi43Niw4Ni4wNi0uMDQsMTI3LjA0LjE4LDYuMDUtNi44MSwxMi41LTEyLjUsMTIuNWgtODQuNVoiLz4KPC9zdmc+");

}

.fc-list .facility_community_gathering_place .fc-list-event-dot::before {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNDQuODQgMjk1LjU4Ij4KICA8cGF0aCBkPSJNMTIwLjI0LDI3MC41Yy0xLjU3LDEuNi05LjksMy0xMi41NiwzLjIyLTEzLjQxLDEuMTItMzcuMDYsMS4xOC01MC40MywwLTE0LjgxLTEuMzEtMTUuNTctNy40My0xNC4yMi0yMi4xMSwzLjYyLTM5LjI3LDcwLjQ4LTM4LjQyLDc4LjI0LTYuNDYsMS4wNSw0LjMyLDEuNiwyMi42Ny0xLjAzLDI1LjM1WiIvPgogIDxwYXRoIGQ9Ik0yNTcuNSwyMjIuNzRjMjguMDYtNC41NSw1Ni40LDcuNSw1Mi4xMiw0MS43NC0uOTgsNy44LTcuOTEsOC42Ni0xNC4zMSw5LjIzLTEzLjIzLDEuMTgtMzcuMTgsMS4xNi01MC40MywwLTEwLjE3LS44OS0xMy41OC0yLjI5LTE0LjI5LTEzLjUyLTEuMTktMTguNjcsOC44LTM0LjUyLDI2LjkxLTM3LjQ1WiIvPgogIDxwYXRoIGQ9Ik0xNjUuNzUsMjIyLjc3YzI4Ljg2LTQuMzcsNTMuNTksNy41Myw0OS4zNyw0MS43MS0uOTcsNy44Mi03Ljk4LDguNjctMTQuMzEsOS4yMy0xMi43NSwxLjEzLTM0Ljg4LDEuMDMtNDcuNzEsMC0xMi4zLS45OS0xNS45LTIuNjgtMTUuNjktMTYuNDUuMjYtMTcuMTgsMTEuOTYtMzIuMDIsMjguMzQtMzQuNVoiLz4KICA8cGF0aCBkPSJNMTcwLjQ5LDE1Ni45OWMzNy4wMy02LjM3LDQyLjU3LDQ1LjI3LDExLjU5LDUwLjU0LTM2LjA2LDYuMTMtNDEuMTItNDUuNDUtMTEuNTktNTAuNTRaIi8+CiAgPHBhdGggZD0iTTI2My44MiwxNTYuOTljNDIuMDMtNy4xNSw0MS4wNCw1Ny4zOCwxLjIxLDUwLjU0LTI3Ljg1LTQuNzgtMjYuOTUtNDYuMTYtMS4yMS01MC41NFoiLz4KICA8cGF0aCBkPSJNNzcuMTYsMTU2Ljk5YzM3LjI4LTYuMzcsNDIuNDksNDUuMjYsMTEuNTksNTAuNTMtMzUuNyw2LjA5LTQwLjYtNDUuNTgtMTEuNTktNTAuNTNaIi8+CiAgPHBhdGggZD0iTTMyOC40NSwxMTguNDNMMTc5LjgsMjQuNDdjLTEuMi0xLjA4LTIuNjktMS42Ny00LjIzLTEuNjgtLjA1LDAtLjEsMC0uMTUsMC0uMDUsMC0uMSwwLS4xNSwwLTEuNTMuMDItMy4wMy42LTQuMjMsMS42OEwyMi4zOSwxMTguNDNjLTMuMjIsMi4wNC00LjMzLDYuNTUtMi40NywxMC4wOGw4LDE1LjE4YzEuODYsMy41Myw1Ljk4LDQuNzQsOS4yMSwyLjdMMTc1LjQyLDU4Ljk4bDEzOC4yOCw4Ny40MWMzLjIyLDIuMDQsNy4zNS44Myw5LjIxLTIuN2w4LTE1LjE4YzEuODYtMy41My43Ni04LjA0LTIuNDctMTAuMDhaIi8+Cjwvc3ZnPg==");
}

.fc-list .facility_community_complex .fc-list-event-dot::before {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNDQuODQgMjk1LjU4Ij4KICA8cGF0aCBkPSJNMjMyLjc5LDEyNS45NWg4OC41Yy40NSwwLDQuMTYsMi43NSw0LjU3LDMuNDNsLjk4LDE0NC4xMmMtLjYyLDQuOTEtNS45Miw3LjUxLTEwLjUxLDcuNDlsLTI4OS45NS0uMTJjLTUuOC0xLTkuNjItNC4xNS05LjY0LTEwLjM2VjEwNC40MWMtLjU4LTIuOTIsMi42Mi05LjQ2LDUuNTUtOS40Nmg4NS41VjI2LjQ1YzAtMy45Myw3LjE2LTYuMjMsMTAuNDYtNi41NCwzMy41OC0zLjEyLDcxLjk1LDIuNDEsMTA2LjA0LjA0LDIuNjktLjM5LDguNSwyLjkxLDguNSw1LjV2MTAwLjVaIi8+CiAgPHBhdGggZD0iTTIzMi43OSwxMjEuNGg4OC41Yy40NSwwLDQuMTYsMi43NSw0LjU3LDMuNDNsLjk4LDE0NC4xMmMtLjYyLDQuOTEtNS45Miw3LjUxLTEwLjUxLDcuNDlsLTI4OS45NS0uMTJjLTUuOC0xLTkuNjItNC4xNS05LjY0LTEwLjM2Vjk5Ljg2Yy0uNTgtMi45MiwyLjYyLTkuNDYsNS41NS05LjQ2aDg1LjVWMjEuOWMwLTMuOTMsNy4xNi02LjIzLDEwLjQ2LTYuNTQsMzMuNTgtMy4xMiw3MS45NSwyLjQxLDEwNi4wNC4wNCwyLjY5LS4zOSw4LjUsMi45MSw4LjUsNS41djEwMC41WiIvPgo8L3N2Zz4=");
}

.fc-list .mr_bookings .fc-list-event-dot::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
}

.fc-list .facility_community_centre .fc-list-event-dot,
.fc-list .facility_community_gathering_place .fc-list-event-dot,
.fc-list .facility_community_complex .fc-list-event-dot {
    width: 2rem;
    height: 1.6rem;
    border: 0;
    position: relative;
}

.fc-list .facility_community_centre .fc-list-event-graphic,
.fc-list .facility_community_gathering_place .fc-list-event-graphic,
.fc-list .facility_community_complex .fc-list-event-graphic {
    padding: 0.7rem 0.3rem 0;
}

button.fc-submitEventButton-button.fc-button.fc-button-primary::before {
    content: '';
    font-size: 1.2em;
    margin: -.5rem 0.8rem -.5rem 0.2rem;
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/calendar-check.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/calendar-check.svg') no-repeat center / contain;
}

button.fc-submitEventButton-button.fc-button.fc-button-primary {
    color: black;
}

.event-popover-content .event-popover-title {
    white-space: normal;
}

div#popover-thankyou {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem 1.5rem 2rem;
    background: #f5f4f1;
    z-index: 999999;
    box-shadow: 0 10px 30px #00000070;
}

div#popover-thankyou::before {
    content: '';
    display: block;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 0.5rem;
    color: #9f9e91;
    width: 1.5em;
    height: 1.5em;
    margin-left: auto;
    margin-right: auto;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/thumbs-up.svg') no-repeat center / contain;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/thumbs-up.svg') no-repeat center / contain;
}
