.alert_wrapper {
    background: #fffe0e;
    /* box-shadow: inset 0 -5px 20px #00000075; */
}


#alert_banner {
    background: #fffe0e;
    /* box-shadow: inset 0 -5px 20px #00000075; */
}

.alert_wrapper:before {
    content: '\f0f3';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    /* text-shadow: 2px 2px 5px black; */
    color: black;
    transform: rotate(-20deg);
    display: block;
    width: 1.3em;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert_wrapper {
    display: flex;
    padding: 0.3em 0.5em;
    box-shadow: inset 0 3px 5px #0000009c;
    align-items: center;
    transition: 0.5s height ease;
}

a.alert_item {
    font-style: italic;
    color: black;
    margin-left: 0.7em;
    font-weight: 600;
    font-family: var(--mr-font-default);
    margin-top: 0;
    flex-grow: 1;
    text-decoration: none;
}

a.alert_item:hover {
    color: black;
    text-decoration: underline;
}

.alert_wrapper.green {
    background: #85d33c;
}

.alert_wrapper.red {
    background: #ff3838c2;
}

.alert_wrapper .close_button {
    width: 1.25rem;
    cursor: pointer;
}


.alert_wrapper.hidden {
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    overflow: hidden;
    transition: 0.5s height ease;
}

@media (max-width:767px) {
    .alert_wrapper {
        position: absolute;
        top: 58px;
        width: 100%;
    }
}
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,
form#contactform textarea,
form#contactform button {
    margin: 0.2em;
    background: transparent;
    border: 0;
    padding: .3em;
    color: rgb(0, 0, 0);
    outline-color: var(--mr-color-accent);
    z-index: 3;
    border-bottom: 2px solid black;
    /* border-width: 3px; */
    /* border-style: solid; */
    /* border-color: transparent; */
    flex-grow: 1;
}

form#contactform input:hover,
form#contactform textarea:hover,
form#contactform button:hover {
    /* border: 3px solid var(--mr-color-accent); */
    background: whitesmoke;
}

form#contactform button {
    text-transform: uppercase;
    font-weight: 900;
    /* 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;
    margin: 0 1rem;
}

form#contactform button:hover {
    background: var(--mr-color-primary-tint);
    color: var(--mr-color-accent);
}

form#contactform *::-moz-placeholder {
    color: var(--mr-color-dark);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *:-ms-input-placeholder {
    color: var(--mr-color-dark);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-ms-input-placeholder {
    color: var(--mr-color-dark);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-webkit-input-placeholder {
    color: var(--mr-color-dark);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::-moz-placeholder {
    color: var(--mr-color-dark);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *:-ms-input-placeholder {
    color: var(--mr-color-dark);
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

form#contactform *::placeholder {
    color: var(--mr-color-dark);
    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;
    padding: .5em;
    border: 0;
}

.contact_col .g-recaptcha {
    margin: auto;
}

form#contactform .contact_col button:before {
    content: '\f1d8';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    padding-right: 0.5em;
}

.contact_input_group {
    padding: 0;
    flex-wrap: wrap;
    border: 0;
}

@media (max-width: 767px) {
    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;
    }
}
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;
}

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: #f6c13d;
    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: #ffffff;
}

.event_pager .back:before,
.event_pager .prev:before {
    content: '\f0a8';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-right: .3em;
}

.event_pager .next:after {
    content: '\f0a9';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding-left: .3em;
}

.event_content {
    padding: 1em 0 2em;
}

a.prevnext {
    font-size: 1.5em;
    color: var(--mr-color-primary);
}

@media (max-width: 767px) {

    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 {
    /* border: 2px solid #20361e; */
    display: flex;
    margin-top: 0.5rem;
    /* border-radius: 5px; */
    /* box-shadow: 0 5px 10px #00000024; */
    color: black;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    /* background: var(--mr-color-tertiary-shade); */
    width: 100%;
    overflow: hidden;
}

.events_description {
    padding: 1.2em 1em;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #20361e;
    background: var(--mr-color-tertiary-shade);
    overflow: hidden;
    width: 100%;
}

.events_date {
    width: 6em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* border-right: 2px solid #20361e; */
    background: #f6c13d;
    margin-right: .5rem;
    min-width: 80px;
}

.events_date_month {
    display: block;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 700;
    color: #20361e;
    font-size: 1.1em;
}

.events_date_day {
    font-size: 3em;
    line-height: 1;
    color: #20361e;
    font-weight: 700;
    font-family: 'Montserrat';
}

.events_details {
    display: flex;
    width: 100%;
    flex-grow: 1;
    font-size: .9em;
    flex-wrap: wrap;
    color: #b0b0b0;
    font-weight: 700;
    text-transform: uppercase;
}

.events_title {
    line-height: 1;
    margin-bottom: .75rem;
    font-size: 1.1em;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
    padding-bottom: .25rem;
    display: inline;
    max-width: 100%;
    width: fit-content;
}

.events_details_location:before,
.event_location:before {
    content: '\f3c5';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
}

.result_events_date:before,
.event_date:before {
    content: '\f073';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
}

.events_details>* {
    flex-grow: 1;
    /* width: 100%; */
    margin-bottom: .25rem;
}

.events_details_time:before,
.event_time:before {
    content: '\f017';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-right: 0.3em;
    transition: .3s all ease;
}


a.events_icon::before {
    content: '\f073';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}

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: 1rem;
    margin: 0 0.4rem;
}

.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-primary);
    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-primary);
    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: '\f0d7';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    margin-left: 1rem;
}

.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-family: var(--mr-fontawesome);
    font-weight: 900;
    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;
}

.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: whitesmoke;
    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: white;
    padding: 0.1em;
    position: relative;
    width: 14.7%;
    height: 145px;
}

.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: 900;
}

.fc-dayGridMonth-view td,
.fc-dayGridMonth-view th {
    border: 0;
}


.fc-dayGridMonth-view .fc-daygrid-day-top {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.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;
}

.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;
    background: var(--mr-color-accent);
    text-decoration: none;
    border: 0;
    border-radius: 0;
    color: black;
}

.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: #91d2f03d !important;
    border: 2px solid var(--mr-color-accent);
}

.fc-h-event .fc-event-title {
    text-overflow: ellipsis;
}

.fc .fc-daygrid-day-number {
    padding: 2px;
}

@media (max-width: 767px) {
    .fc-header-toolbar.fc-toolbar {
        font-size: 2.75vw;
    }
}

.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;
    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;
}

.fc .fc-daygrid-event-harness {
    height: 1.5rem;
    margin-bottom: 2px;
}

.day_event {
    max-width: 100%;
}

.fc .fc-daygrid-event {
    z-index: 999;
}

.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 #f6c13d;
}

.fc-list-event.google_event {
    background: transparent;
}

.fc .google_event .fc-list-event-dot {
    border-color: salmon;
}

.calendar_wrapper {
    position: relative;
}

.calendar_wrapper div#loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.fc-daygrid-event:hover {
    position: absolute;
    min-width: fit-content;
    width: calc(100% - 4px);
    box-shadow: 2px 2px 6px #0000002b;
}

.google_event.holiday_events {
    background: #4cb577;
    border-color: #4cb577;
}

a.events_link {
    text-align: right;
    font-family: 'muli';
    color: #f5c03c;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: block;
    padding-right: 2rem;
    position: relative;
}

a.events_link:after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: .3s all ease;
}

a.events_link:hover:after {
    right: 0;
}

.events_wrapper {
    width: 100%;
}

.events_item:hover .events_title:after {
    width: 100%;
    opacity: 1;
}

.events_item .events_title:after {
    content: '';
    width: 25%;
    height: 2px;
    background: black;
    position: absolute;
    bottom: 0px;
    left: 0;
    transition: .5s all ease;
    opacity: 0;
}
.events_details_time {
    max-width: fit-content;
    margin-right: 1.5rem;
}
@media (max-width: 767px) {
    .events_item {
        font-size: 14px;
    }
}
.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: #f6c13d;
    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;
    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 {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    background: rgb(132 129 66 / 46%);
}

.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;
    margin-bottom: 30px;
    /*    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;
    white-space: nowrap;
    color: rgb(84 83 74);
    border-bottom: 1px solid transparent;
    border-radius: 1rem;
    font-family: 'Muli';
    font-size: 0.9em;
    font-weight: 900;
    border: 0;
    padding: .5rem 1rem;
    border-bottom: 5px solid rgb(198 157 57 / 0%) !important;
}

.filter-button-group button.btn:not(.is-checked):hover {
    cursor: pointer;
    border-bottom: 1px solid rgb(84 83 74);
    color: rgb(84 83 74);
    background: #f6c13d75;
    border-bottom: 5px solid rgb(198 157 57 / 37%) !important;
}

.filter-button-group .btn.is-checked {
    background-color: rgb(246 193 61);
    /* font-weight: bold; */
    color: rgb(0 0 0) !important;
    border-bottom: 5px solid rgb(198 157 57) !important;
}

.filter-btn {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0px 10px 0.5rem;
    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: '\f054';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
}

#prevArrow:before {
    content: '\f053';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white;
}

.gallery_caption {
    background: white;
    font-size: 16px;
    padding: 9px 9px 12px;
}

.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: '\f03e';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
}

.gallerywidget_wrapper {
    width: 100%;
    background: #f6c13d;
    height: 680px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 0 4rem #00000082;
}

section#gallery {
    background-image: url('/images/bg_grey.jpg');
    background-size: cover;
    padding: 2vw 0 4vw;
}

span.media_overlay:after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.3rem;
    text-shadow: 0 0 11px black;
    color: #f6c13d;
}